ReactOS  0.4.11-dev-946-g431643b
shsvcs.c File Reference
#include <windows.h>
#include <wine/debug.h>
Include dependency graph for shsvcs.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (shsvcs)
 
HRESULT WINAPI DllInstall (BOOL bInstall, LPCWSTR cmdline)
 
HRESULT WINAPI DllRegisterServer (VOID)
 
HRESULT WINAPI DllUnregisterServer (VOID)
 
HRESULT WINAPI DllCanUnloadNow (VOID)
 
HRESULT WINAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 

Function Documentation

◆ DllCanUnloadNow()

HRESULT WINAPI DllCanUnloadNow ( VOID  )

Definition at line 33 of file shsvcs.c.

Referenced by COMPOBJ_DllList_Add().

34 {
35  return S_OK;
36 }
#define S_OK
Definition: intsafe.h:59

◆ DllGetClassObject()

HRESULT WINAPI DllGetClassObject ( REFCLSID  rclsid,
REFIID  riid,
LPVOID ppv 
)

Definition at line 38 of file shsvcs.c.

Referenced by apartment_getclassobject(), COMPOBJ_DllList_Add(), get_action_info(), and TestManualInstantiation().

39 {
40  TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
42 }
REFIID riid
Definition: precomp.h:44
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4

◆ DllInstall()

HRESULT WINAPI DllInstall ( BOOL  bInstall,
LPCWSTR  cmdline 
)

Definition at line 18 of file shsvcs.c.

19 {
20  return S_OK;
21 }
#define S_OK
Definition: intsafe.h:59

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 45 of file shsvcs.c.

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 TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
#define DLL_PROCESS_DETACH
Definition: compat.h:119

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( VOID  )

Definition at line 23 of file shsvcs.c.

24 {
25  return S_OK;
26 }
#define S_OK
Definition: intsafe.h:59

◆ DllUnregisterServer()

HRESULT WINAPI DllUnregisterServer ( VOID  )

Definition at line 28 of file shsvcs.c.

29 {
30  return S_OK;
31 }
#define S_OK
Definition: intsafe.h:59

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( shsvcs  )