ReactOS  0.4.14-dev-323-g6fe6a88
wshtcpip.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS WinSock Helper DLL for TCP/IP
4  * FILE: include/wshtcpip.h
5  * PURPOSE: WinSock Helper DLL for TCP/IP header
6  */
7 #ifndef __WSHTCPIP_H
8 #define __WSHTCPIP_H
9 
10 #define WIN32_NO_STATUS
11 #define _INC_WINDOWS
12 #define COM_NO_WINDOWS_H
13 
14 #include <stdarg.h>
15 
16 #include <windef.h>
17 #include <winbase.h>
18 #include <wsahelp.h>
19 #include <tdiinfo.h>
20 #include <tcpioctl.h>
21 #include <tdilib.h>
22 #include <ws2tcpip.h>
23 #include <rtlfuncs.h>
24 
25 #define EXPORT WINAPI
26 
27 #define DD_TCP_DEVICE_NAME L"\\Device\\Tcp"
28 #define DD_UDP_DEVICE_NAME L"\\Device\\Udp"
29 #define DD_RAW_IP_DEVICE_NAME L"\\Device\\RawIp"
30 
31 typedef enum _SOCKET_STATE {
37 
38 typedef struct _QUEUED_REQUEST {
42 
43 typedef struct _SOCKET_CONTEXT {
54 
55 INT
59  OUT LPDWORD NumberOfBytesReturned,
60  OUT LPBOOL NeedsCompletion);
61 
62 #endif /* __WSHTCPIP_H */
63 
64 /* EOF */
_SOCKET_STATE
Definition: msafd.h:45
#define IN
Definition: typedefs.h:38
BOOL DontRoute
Definition: wshtcpip.h:52
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ ULONG _In_ ULONG _In_ ULONG OutputBufferLength
Definition: fltkernel.h:1374
struct _QUEUED_REQUEST QUEUED_REQUEST
DWORD AddrFileEntityType
Definition: wshtcpip.h:48
int32_t INT
Definition: typedefs.h:56
struct _SOCKET_CONTEXT * PSOCKET_CONTEXT
struct _SOCKET_CONTEXT SOCKET_CONTEXT
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _QUEUED_REQUEST * PQUEUED_REQUEST
enum _SOCKET_STATE SOCKET_STATE
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
DWORD AddrFileInstance
Definition: wshtcpip.h:49
SOCKET_STATE SocketState
Definition: wshtcpip.h:50
unsigned long DWORD
Definition: ntddk_ex.h:95
INT WSHIoctl_GetInterfaceList(IN LPVOID OutputBuffer, IN DWORD OutputBufferLength, OUT LPDWORD NumberOfBytesReturned, OUT LPBOOL NeedsCompletion)
Definition: iflist.c:216
PQUEUED_REQUEST RequestQueue
Definition: wshtcpip.h:51
BOOL * LPBOOL
Definition: windef.h:162
enum _SOCKET_STATE * PSOCKET_STATE
#define OUT
Definition: typedefs.h:39
uint32_t * LPDWORD
Definition: typedefs.h:57
PTCP_REQUEST_SET_INFORMATION_EX Info
Definition: wshtcpip.h:39
INT AddressFamily
Definition: wshtcpip.h:44
enum _SOCKET_STATE SOCKET_STATE