xref: /reactos/base/services/shsvcs/shsvcs.c (revision 845faec4)
1 /*
2  * COPYRIGHT:        See COPYING in the top level directory
3  * PROJECT:          ReactOS Shell
4  * FILE:             base/services/shsvcs/shsvcs.c
5  * PURPOSE:          ReactOS Shell Services
6  * PROGRAMMER:       Giannis Adamopoulos
7  */
8 
9 /* INCLUDES *****************************************************************/
10 
11 #include <windows.h>
12 #include <wine/debug.h>
13 
14 WINE_DEFAULT_DEBUG_CHANNEL(shsvcs);
15 
16 /* FUNCTIONS *****************************************************************/
17 
18 HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
19 {
20     return S_OK;
21 }
22 
23 HRESULT WINAPI DllRegisterServer(VOID)
24 {
25     return S_OK;
26 }
27 
28 HRESULT WINAPI DllUnregisterServer(VOID)
29 {
30     return S_OK;
31 }
32 
33 HRESULT WINAPI DllCanUnloadNow(VOID)
34 {
35     return S_OK;
36 }
37 
38 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
39 {
40     TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
41     return CLASS_E_CLASSNOTAVAILABLE;
42 }
43 
44 BOOL WINAPI
45 DllMain(HINSTANCE hinstDLL,
46         DWORD fdwReason,
47         LPVOID lpvReserved)
48 {
49     switch (fdwReason)
50     {
51         case DLL_PROCESS_ATTACH:
52             DisableThreadLibraryCalls(hinstDLL);
53             break;
54 
55         case DLL_PROCESS_DETACH:
56             break;
57     }
58 
59     return TRUE;
60 }
61