2009-04-29 18:49:47 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS WinSock 2.2 Library
|
|
|
|
* FILE: lib/ws2_32.h
|
|
|
|
* PURPOSE: WinSock 2.2 Main Header
|
|
|
|
*/
|
|
|
|
|
2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2009-04-29 18:49:47 +00:00
|
|
|
|
|
|
|
/* Definitions for NDK Usage */
|
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
//#define _WIN32_WINNT 0x502
|
|
|
|
#define NTOS_MODE_USER
|
|
|
|
#define _CRT_SECURE_NO_DEPRECATE
|
|
|
|
#define WINSOCK_API_LINKAGE
|
|
|
|
|
|
|
|
/* C Header */
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
/* PSDK and NDK Headers */
|
|
|
|
#include <winsock2.h>
|
2009-07-21 13:44:45 +00:00
|
|
|
#include <ws2tcpip.h>
|
|
|
|
#include <ws2spi.h>
|
2009-04-29 18:49:47 +00:00
|
|
|
#include <ndk/umtypes.h>
|
|
|
|
#include <ndk/rtlfuncs.h>
|
2009-08-18 21:40:20 +00:00
|
|
|
#include <svcguid.h>
|
2009-04-29 18:49:47 +00:00
|
|
|
|
|
|
|
/* Winsock Helper Header */
|
|
|
|
#include <ws2help.h>
|
|
|
|
|
|
|
|
/* Missing definitions */
|
|
|
|
#define SO_OPENTYPE 0x7008
|
|
|
|
#define SO_SYNCHRONOUS_NONALERT 0x20
|
|
|
|
|
|
|
|
/* Internal headers */
|
|
|
|
#include "ws2_32p.h"
|