ReactOS  0.4.11-dev-946-g431643b
shsvcs.c
Go to the documentation of this file.
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 
15 
16 /* FUNCTIONS *****************************************************************/
17 
19 {
20  return S_OK;
21 }
22 
24 {
25  return S_OK;
26 }
27 
29 {
30  return S_OK;
31 }
32 
34 {
35  return S_OK;
36 }
37 
39 {
40  TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
42 }
43 
45 DllMain(HINSTANCE hinstDLL,
46  DWORD fdwReason,
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 }
#define REFIID
Definition: guiddef.h:113
#define TRUE
Definition: types.h:120
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:112
REFIID LPVOID * ppv
Definition: atlbase.h:39
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
TCHAR * cmdline
Definition: stretchblt.cpp:32
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
static IN DWORD IN LPVOID lpvReserved
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition: shsvcs.c:38
#define debugstr_guid
Definition: kernel32.h:35
#define DLL_PROCESS_DETACH
Definition: compat.h:119
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Definition: shsvcs.c:45
#define TRACE(s)
Definition: solgame.cpp:4
unsigned int BOOL
Definition: ntddk_ex.h:94
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
WINE_DEFAULT_DEBUG_CHANNEL(shsvcs)
#define WINAPI
Definition: msvc.h:20
HRESULT WINAPI DllUnregisterServer(VOID)
Definition: shsvcs.c:28
#define S_OK
Definition: intsafe.h:59
HRESULT WINAPI DllRegisterServer(VOID)
Definition: shsvcs.c:23
HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
Definition: shsvcs.c:18
HRESULT WINAPI DllCanUnloadNow(VOID)
Definition: shsvcs.c:33