mstask: Implement ClassFactory, DllGetClassObject, and DllCanUnloadNow.
diff --git a/dlls/mstask/task_scheduler.c b/dlls/mstask/task_scheduler.c
index 5d4768e..a1d52a8 100644
--- a/dlls/mstask/task_scheduler.c
+++ b/dlls/mstask/task_scheduler.c
@@ -25,6 +25,7 @@
{
TRACE("%p\n", This);
HeapFree(GetProcessHeap(), 0, This);
+ InterlockedDecrement(&dll_ref);
}
static HRESULT WINAPI MSTASK_ITaskScheduler_QueryInterface(
@@ -170,5 +171,6 @@
This->ref = 1;
*ppObj = &This->lpVtbl;
+ InterlockedIncrement(&dll_ref);
return S_OK;
}