ReactOS 0.4.16-dev-122-g325d74c
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
31typedef enum _SOCKET_STATE {
37
38typedef struct _QUEUED_REQUEST {
42
43typedef struct _SOCKET_CONTEXT {
54
55INT
59 OUT LPDWORD NumberOfBytesReturned,
60 OUT LPBOOL NeedsCompletion);
61
62#endif /* __WSHTCPIP_H */
63
64/* EOF */
_SOCKET_STATE
Definition: msafd.h:45
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
enum _SOCKET_STATE SOCKET_STATE
PTCP_REQUEST_SET_INFORMATION_EX Info
Definition: wshtcpip.h:39
DWORD AddrFileEntityType
Definition: wshtcpip.h:48
PQUEUED_REQUEST RequestQueue
Definition: wshtcpip.h:51
DWORD AddrFileInstance
Definition: wshtcpip.h:49
BOOL DontRoute
Definition: wshtcpip.h:52
SOCKET_STATE SocketState
Definition: wshtcpip.h:50
INT AddressFamily
Definition: wshtcpip.h:44
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
_In_ WDFREQUEST _In_ size_t OutputBufferLength
Definition: wdfio.h:320
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
BOOL * LPBOOL
Definition: windef.h:162
INT WSHIoctl_GetInterfaceList(IN LPVOID OutputBuffer, IN DWORD OutputBufferLength, OUT LPDWORD NumberOfBytesReturned, OUT LPBOOL NeedsCompletion)
Definition: iflist.c:215
enum _SOCKET_STATE SOCKET_STATE
enum _SOCKET_STATE * PSOCKET_STATE
struct _SOCKET_CONTEXT SOCKET_CONTEXT
struct _QUEUED_REQUEST QUEUED_REQUEST
struct _SOCKET_CONTEXT * PSOCKET_CONTEXT
@ SocketStateBound
Definition: wshtcpip.h:33
@ SocketStateCreated
Definition: wshtcpip.h:32
@ SocketStateConnected
Definition: wshtcpip.h:35
@ SocketStateListening
Definition: wshtcpip.h:34
struct _QUEUED_REQUEST * PQUEUED_REQUEST