ReactOS 0.4.15-dev-7953-g1f49173
main.c File Reference
#include "winsta.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

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

Variables

HINSTANCE hDllInstance
 

Function Documentation

◆ DllMain()

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

Definition at line 33 of file main.c.

36{
37 switch (dwReason)
38 {
40 hDllInstance = hinstDLL;
41 break;
43 break;
45 break;
47 break;
48 }
49 return TRUE;
50}
DWORD dwReason
Definition: misc.cpp:154
#define TRUE
Definition: types.h:120
#define DLL_THREAD_DETACH
Definition: compat.h:133
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define DLL_THREAD_ATTACH
Definition: compat.h:132
HINSTANCE hDllInstance
Definition: main.c:29

Variable Documentation

◆ hDllInstance

HINSTANCE hDllInstance

Definition at line 29 of file main.c.

Referenced by DllMain().