ReactOS  0.4.14-dev-358-gbef841c
userenv.c File Reference
#include "precomp.h"
#include <debug.h>
Include dependency graph for userenv.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

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

Variables

HINSTANCE hInstance = NULL
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 29 of file userenv.c.

Function Documentation

◆ DllMain()

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

Definition at line 36 of file userenv.c.

39 {
40  if (fdwReason == DLL_PROCESS_ATTACH)
41  {
42  hInstance = hinstDLL;
44  }
45  else if (fdwReason == DLL_PROCESS_DETACH)
46  {
48  }
49 
50  return TRUE;
51 }
#define TRUE
Definition: types.h:120
VOID InitializeGPNotifications(VOID)
Definition: gpolicy.c:65
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
HINSTANCE hInstance
Definition: userenv.c:32
#define DLL_PROCESS_DETACH
Definition: compat.h:119
VOID UninitializeGPNotifications(VOID)
Definition: gpolicy.c:71

Variable Documentation

◆ hInstance

HINSTANCE hInstance = NULL

Definition at line 32 of file userenv.c.

Referenced by DllMain().