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 */
34
extern
HANDLE
GlobalHeap
;
35
extern
PSECURITY_DESCRIPTOR
pSDPipe
;
36
extern
HANDLE
ghWriterEvent
;
37
extern
BOOL
Ws2helpInitialized
;
38
extern
DWORD
gdwSpinCount
;
39
extern
DWORD
gHandleToIndexMask
;
40
41
/* Functions */
42
DWORD
43
WINAPI
44
Ws2helpInitialize
(
VOID
);
45
46
/* Initialization macro */
47
#define WS2HELP_PROLOG() \
48
(Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())
49
50
#endif
/* __PRECOMP_H */
ghWriterEvent
HANDLE ghWriterEvent
Definition:
context.c:17
Ws2helpInitialize
DWORD WINAPI Ws2helpInitialize(VOID)
Definition:
dllmain.c:103
gdwSpinCount
DWORD gdwSpinCount
Definition:
context.c:18
GlobalHeap
HANDLE GlobalHeap
Definition:
dllmain.c:19
pSDPipe
PSECURITY_DESCRIPTOR pSDPipe
Definition:
notify.c:16
gHandleToIndexMask
DWORD gHandleToIndexMask
Definition:
context.c:19
Ws2helpInitialized
BOOL Ws2helpInitialized
Definition:
dllmain.c:15
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
rtlfuncs.h
_SECURITY_DESCRIPTOR
Definition:
ms-dtyp.idl:301
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
winreg.h
winsvc.h
ws2spi.h
dll
win32
ws2help
precomp.h
Generated on Fri Dec 13 2024 06:14:56 for ReactOS by
1.9.6