ReactOS 0.4.16-dev-340-g0540c21
precomp.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2 Helper DLL
4 * FILE: dll/win32/ws2help/precomp.h
5 * PURPOSE: WinSock 2 Helper DLL
6 */
7
8#ifndef __PRECOMP_H
9#define __PRECOMP_H
10
11/* Winsock Provider Headers */
12#define WIN32_NO_STATUS
13#define _INC_WINDOWS
14#define COM_NO_WINDOWS_H
15#define _WIN32_WINNT 0x502
16#define NTOS_MODE_USER
17#define INCL_WINSOCK_API_TYPEDEFS 1
18
19#include <stdarg.h>
20
21#include <windef.h>
22#include <winbase.h>
23#include <winreg.h>
24#include <winsvc.h>
25#include <ws2spi.h>
26
27/* NDK Headers */
28#include <ndk/rtlfuncs.h>
29
30/* Missing definition */
31#define SO_OPENTYPE 0x20
32
33/* Global data */
34extern HANDLE GlobalHeap;
38extern DWORD gdwSpinCount;
40
41/* Functions */
45
46/* Initialization macro */
47#define WS2HELP_PROLOG() \
48 (Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())
49
50#endif /* __PRECOMP_H */
HANDLE ghWriterEvent
Definition: context.c:17
DWORD WINAPI Ws2helpInitialize(VOID)
Definition: dllmain.c:103
DWORD gdwSpinCount
Definition: context.c:18
HANDLE GlobalHeap
Definition: dllmain.c:19
PSECURITY_DESCRIPTOR pSDPipe
Definition: notify.c:16
DWORD gHandleToIndexMask
Definition: context.c:19
BOOL Ws2helpInitialized
Definition: dllmain.c:15
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WINAPI
Definition: msvc.h:6