diff --git a/dlls/mstask/mstask.spec b/dlls/mstask/mstask.spec index 5c4f208f35e..0b6c23b79de 100644 --- a/dlls/mstask/mstask.spec +++ b/dlls/mstask/mstask.spec @@ -25,3 +25,4 @@ @ stub _SASetNSAccountInformation@12 @ stub _SetNetScheduleAccountInformation@12 @ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() diff --git a/dlls/mstask/mstask_main.c b/dlls/mstask/mstask_main.c index 53c34491a46..c7b3dea5a1b 100644 --- a/dlls/mstask/mstask_main.c +++ b/dlls/mstask/mstask_main.c @@ -155,3 +155,8 @@ HRESULT WINAPI DllRegisterServer(void) { return register_mstask(TRUE); } + +HRESULT WINAPI DllUnregisterServer(void) +{ + return register_mstask(FALSE); +}