ReactOS 0.4.16-dev-257-g6aa11ac
precomp.h File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <ws2spi.h>
#include <ndk/rtlfuncs.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 
#define COM_NO_WINDOWS_H
 
#define _WIN32_WINNT   0x502
 
#define NTOS_MODE_USER
 
#define INCL_WINSOCK_API_TYPEDEFS   1
 
#define SO_OPENTYPE   0x20
 
#define WS2HELP_PROLOG()    (Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())
 

Functions

DWORD WINAPI Ws2helpInitialize (VOID)
 

Variables

HANDLE GlobalHeap
 
PSECURITY_DESCRIPTOR pSDPipe
 
HANDLE ghWriterEvent
 
BOOL Ws2helpInitialized
 
DWORD gdwSpinCount
 
DWORD gHandleToIndexMask
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 13 of file precomp.h.

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x502

Definition at line 15 of file precomp.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 14 of file precomp.h.

◆ INCL_WINSOCK_API_TYPEDEFS

#define INCL_WINSOCK_API_TYPEDEFS   1

Definition at line 17 of file precomp.h.

◆ NTOS_MODE_USER

#define NTOS_MODE_USER

Definition at line 16 of file precomp.h.

◆ SO_OPENTYPE

#define SO_OPENTYPE   0x20

Definition at line 31 of file precomp.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 12 of file precomp.h.

◆ WS2HELP_PROLOG

#define WS2HELP_PROLOG ( )     (Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())

Definition at line 47 of file precomp.h.

Function Documentation

◆ Ws2helpInitialize()

DWORD WINAPI Ws2helpInitialize ( VOID  )

Definition at line 103 of file dllmain.c.

104{
105 /* Enter the startup CS */
107
108 /* Check again for init */
110 {
111 /* Initialize us */
112 NewCtxInit();
114 }
115
116 /* Leave the CS and return */
118 return ERROR_SUCCESS;
119}
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRUE
Definition: types.h:120
VOID WINAPI NewCtxInit(VOID)
Definition: dllmain.c:23
BOOL Ws2helpInitialized
Definition: dllmain.c:15
CRITICAL_SECTION StartupSynchronization
Definition: dllmain.c:16
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)

Variable Documentation

◆ gdwSpinCount

DWORD gdwSpinCount
extern

Definition at line 18 of file context.c.

Referenced by NewCtxInit(), and WahCreateHandleContextTable().

◆ gHandleToIndexMask

DWORD gHandleToIndexMask
extern

Definition at line 19 of file context.c.

Referenced by NewCtxInit(), and WahCreateHandleContextTable().

◆ ghWriterEvent

HANDLE ghWriterEvent
extern

Definition at line 17 of file context.c.

Referenced by DllMain(), DoWaitForReaders(), and ReleaseReadLock().

◆ GlobalHeap

◆ pSDPipe

PSECURITY_DESCRIPTOR pSDPipe
extern

Definition at line 16 of file notify.c.

Referenced by DllMain().

◆ Ws2helpInitialized

BOOL Ws2helpInitialized
extern

Definition at line 15 of file dllmain.c.

Referenced by DllMain(), and Ws2helpInitialize().