ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

precomp.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS WinSock 2 Helper DLL
00004  * FILE:        lib/ws2help/precomp.h
00005  * PURPOSE:     WinSock 2 Helper DLL
00006  */
00007 #ifndef __PRECOMP_H
00008 #define __PRECOMP_H
00009 
00010 /* Winsock Provider Headers */
00011 #define WIN32_NO_STATUS
00012 #define _WIN32_WINNT 0x502
00013 #define NTOS_MODE_USER
00014 #define INCL_WINSOCK_API_TYPEDEFS 1
00015 #include <ws2spi.h>
00016 
00017 /* NDK Headers */
00018 #include <rtlfuncs.h>
00019 #include <iofuncs.h>
00020 
00021 /* Shared Winsock Helper headers */
00022 #include <ws2help.h>
00023 #include "wshdrv.h"
00024 
00025 /* Missing definition */
00026 #define SO_OPENTYPE 0x20
00027 
00028 /* Global data */
00029 extern HANDLE GlobalHeap;
00030 extern PSECURITY_DESCRIPTOR pSDPipe;
00031 extern HANDLE ghWriterEvent;
00032 extern BOOL Ws2helpInitialized;
00033 extern DWORD gdwSpinCount;
00034 extern DWORD gHandleToIndexMask;
00035 
00036 /* Functions */
00037 DWORD
00038 WINAPI
00039 Ws2helpInitialize(VOID);
00040 
00041 /* Initialization macro */
00042 #define WS2HELP_PROLOG() \
00043     (Ws2helpInitialized? ERROR_SUCCESS : Ws2helpInitialize())
00044 
00045 #endif /* __WS2HELP_H */
00046 
00047 /* EOF */

Generated on Sun May 27 2012 04:16:26 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.