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