ReactOS 0.4.15-dev-7788-g1ad9096
main.c File Reference
#include <windef.h>
#include <winbase.h>
#include <strsafe.h>
#include <shimlib.h>
Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 

Functions

PHOOKAPI WINAPI GetHookAPIs (IN LPCSTR szCommandLine, IN LPCWSTR wszShimName, OUT PDWORD pdwHookCount)
 
BOOL WINAPI NotifyShims (DWORD fdwReason, PVOID ptr)
 
BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
 

Macro Definition Documentation

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file main.c.

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hInstance,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 26 of file main.c.

27{
28 switch(dwReason)
29 {
32 break;
35 break;
36 }
37 return TRUE;
38}
DWORD dwReason
Definition: misc.cpp:154
HINSTANCE hInstance
Definition: charmap.c:19
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
void ShimLib_Init(HINSTANCE hInstance)
Definition: shimlib.c:30
void ShimLib_Deinit(VOID)
Definition: shimlib.c:39

◆ GetHookAPIs()

PHOOKAPI WINAPI GetHookAPIs ( IN LPCSTR  szCommandLine,
IN LPCWSTR  wszShimName,
OUT PDWORD  pdwHookCount 
)

Definition at line 15 of file main.c.

16{
17 return ShimLib_GetHookAPIs(szCommandLine, wszShimName, pdwHookCount);
18}
PHOOKAPI WINAPI ShimLib_GetHookAPIs(IN LPCSTR szCommandLine, IN LPCWSTR wszShimName, OUT PDWORD pdwHookCount)
Definition: shimlib.c:111

Referenced by SeiCreateShimModuleInfo().

◆ NotifyShims()

BOOL WINAPI NotifyShims ( DWORD  fdwReason,
PVOID  ptr 
)

Definition at line 21 of file main.c.

22{
23 return ShimLib_NotifyShims(fdwReason, ptr);
24}
static PVOID ptr
Definition: dispmode.c:27
BOOL WINAPI ShimLib_NotifyShims(DWORD fdwReason, PVOID ptr)
Definition: shimlib.c:136