reactos/dll/win32/ws2help/precomp.h
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

48 lines
987 B
C

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS WinSock 2 Helper DLL
* FILE: lib/ws2help/precomp.h
* PURPOSE: WinSock 2 Helper DLL
*/
#ifndef __PRECOMP_H
#define __PRECOMP_H
/* Winsock Provider Headers */
#define WIN32_NO_STATUS
#define _WIN32_WINNT 0x502
#define NTOS_MODE_USER
#define INCL_WINSOCK_API_TYPEDEFS 1
#include <ws2spi.h>
/* NDK Headers */
#include <rtlfuncs.h>
#include <iofuncs.h>
/* Shared Winsock Helper headers */
#include <ws2help.h>
#include "wshdrv.h"
/* Missing definition */
#define SO_OPENTYPE 0x20
/* Global data */
extern HANDLE GlobalHeap;
extern PSECURITY_DESCRIPTOR pSDPipe;
extern HANDLE ghWriterEvent;
extern BOOL Ws2helpInitialized;
extern DWORD gdwSpinCount;
extern DWORD gHandleToIndexMask;
/* Functions */
DWORD
WINAPI
Ws2helpInitialize(VOID);
/* Initialization macro */
#define WS2HELP_PROLOG() \
(Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())
#endif /* __WS2HELP_H */
/* EOF */