ReactOS  0.4.13-dev-563-g0561610
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  {
39  case DLL_PROCESS_ATTACH:
40  hDllInstance = hinstDLL;
41  break;
42  case DLL_THREAD_ATTACH:
43  break;
44  case DLL_THREAD_DETACH:
45  break;
46  case DLL_PROCESS_DETACH:
47  break;
48  }
49  return TRUE;
50 }
#define TRUE
Definition: types.h:120
#define DLL_THREAD_ATTACH
Definition: compat.h:121
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
#define DLL_THREAD_DETACH
Definition: compat.h:122
DWORD dwReason
Definition: misc.cpp:154
#define DLL_PROCESS_DETACH
Definition: compat.h:119
HINSTANCE hDllInstance
Definition: main.c:29

Variable Documentation

◆ hDllInstance

HINSTANCE hDllInstance

Definition at line 29 of file main.c.

Referenced by DllMain().