ReactOS  0.4.14-dev-376-gaedba84
DllMain.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <winwlx.h>
#include <ndk/rtltypes.h>
#include <ndk/umfuncs.h>
#include <debug.h>
Include dependency graph for DllMain.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define NDEBUG
 

Functions

VOID RtlpInitializeKeyedEvent (VOID)
 
VOID RtlpCloseKeyedEvent (VOID)
 
BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file DllMain.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 3 of file DllMain.c.

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HANDLE  hDll,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 24 of file DllMain.c.

27 {
29  {
32  }
33  else if (dwReason == DLL_PROCESS_DETACH)
34  {
36  }
37  return TRUE;
38 }
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
DWORD dwReason
Definition: misc.cpp:154
#define DLL_PROCESS_DETACH
Definition: compat.h:119
VOID RtlpInitializeKeyedEvent(VOID)
Definition: condvar.c:459
VOID RtlpCloseKeyedEvent(VOID)
Definition: condvar.c:466
NTSTATUS NTAPI LdrDisableThreadCalloutsForDll(IN PVOID BaseAddress)
Definition: ldrapi.c:1187

◆ RtlpCloseKeyedEvent()

VOID RtlpCloseKeyedEvent ( VOID  )

Definition at line 466 of file condvar.c.

467 {
471 }
smooth NULL
Definition: ftsmooth.c:416
NTSTATUS NTAPI NtClose(IN HANDLE Handle)
Definition: obhandle.c:3399
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
static HANDLE CondVarKeyedEventHandle
Definition: condvar.c:42

Referenced by DllMain().

◆ RtlpInitializeKeyedEvent()

VOID RtlpInitializeKeyedEvent ( VOID  )

Definition at line 459 of file condvar.c.

460 {
463 }
#define EVENT_ALL_ACCESS
Definition: isotest.c:82
smooth NULL
Definition: ftsmooth.c:416
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
static HANDLE CondVarKeyedEventHandle
Definition: condvar.c:42
NTSYSAPI NTSTATUS WINAPI NtCreateKeyedEvent(HANDLE *, ACCESS_MASK, const OBJECT_ATTRIBUTES *, ULONG)

Referenced by DllMain().