ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
{
32
SocketStateCreated
,
33
SocketStateBound
,
34
SocketStateListening
,
35
SocketStateConnected
36
}
SOCKET_STATE
, *
PSOCKET_STATE
;
37
38
typedef
struct
_QUEUED_REQUEST
{
39
PTCP_REQUEST_SET_INFORMATION_EX
Info
;
40
PVOID
Next
;
41
}
QUEUED_REQUEST
, *
PQUEUED_REQUEST
;
42
43
typedef
struct
_SOCKET_CONTEXT
{
44
INT
AddressFamily
;
45
INT
SocketType
;
46
INT
Protocol
;
47
DWORD
Flags
;
48
DWORD
AddrFileEntityType
;
49
DWORD
AddrFileInstance
;
50
SOCKET_STATE
SocketState
;
51
PQUEUED_REQUEST
RequestQueue
;
52
BOOL
DontRoute
;
53
}
SOCKET_CONTEXT
, *
PSOCKET_CONTEXT
;
54
55
INT
56
WSHIoctl_GetInterfaceList
(
57
IN
LPVOID
OutputBuffer
,
58
IN
DWORD
OutputBufferLength
,
59
OUT
LPDWORD
NumberOfBytesReturned,
60
OUT
LPBOOL
NeedsCompletion);
61
62
#endif
/* __WSHTCPIP_H */
63
64
/* EOF */
_SOCKET_STATE
_SOCKET_STATE
Definition:
msafd.h:45
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
SOCKET_STATE
enum _SOCKET_STATE SOCKET_STATE
_QUEUED_REQUEST
Definition:
wshtcpip.h:38
_QUEUED_REQUEST::Next
PVOID Next
Definition:
wshtcpip.h:40
_QUEUED_REQUEST::Info
PTCP_REQUEST_SET_INFORMATION_EX Info
Definition:
wshtcpip.h:39
_SOCKET_CONTEXT
Definition:
msafd.h:120
_SOCKET_CONTEXT::AddrFileEntityType
DWORD AddrFileEntityType
Definition:
wshtcpip.h:48
_SOCKET_CONTEXT::SocketType
INT SocketType
Definition:
wshtcpip.h:45
_SOCKET_CONTEXT::Flags
DWORD Flags
Definition:
wshtcpip.h:47
_SOCKET_CONTEXT::RequestQueue
PQUEUED_REQUEST RequestQueue
Definition:
wshtcpip.h:51
_SOCKET_CONTEXT::AddrFileInstance
DWORD AddrFileInstance
Definition:
wshtcpip.h:49
_SOCKET_CONTEXT::DontRoute
BOOL DontRoute
Definition:
wshtcpip.h:52
_SOCKET_CONTEXT::SocketState
SOCKET_STATE SocketState
Definition:
wshtcpip.h:50
_SOCKET_CONTEXT::AddressFamily
INT AddressFamily
Definition:
wshtcpip.h:44
_SOCKET_CONTEXT::Protocol
INT Protocol
Definition:
wshtcpip.h:46
_TCP_REQUEST_SET_INFORMATION_EX
Definition:
tdiinfo.h:94
tcpioctl.h
tdiinfo.h
tdilib.h
LPDWORD
uint32_t * LPDWORD
Definition:
typedefs.h:59
INT
int32_t INT
Definition:
typedefs.h:58
IN
#define IN
Definition:
typedefs.h:39
OUT
#define OUT
Definition:
typedefs.h:40
OutputBufferLength
_In_ WDFREQUEST _In_ size_t OutputBufferLength
Definition:
wdfio.h:320
OutputBuffer
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition:
wdfiotarget.h:863
winbase.h
windef.h
LPBOOL
BOOL * LPBOOL
Definition:
windef.h:162
ws2tcpip.h
wsahelp.h
WSHIoctl_GetInterfaceList
INT WSHIoctl_GetInterfaceList(IN LPVOID OutputBuffer, IN DWORD OutputBufferLength, OUT LPDWORD NumberOfBytesReturned, OUT LPBOOL NeedsCompletion)
Definition:
iflist.c:215
SOCKET_STATE
enum _SOCKET_STATE SOCKET_STATE
PSOCKET_STATE
enum _SOCKET_STATE * PSOCKET_STATE
SOCKET_CONTEXT
struct _SOCKET_CONTEXT SOCKET_CONTEXT
QUEUED_REQUEST
struct _QUEUED_REQUEST QUEUED_REQUEST
PSOCKET_CONTEXT
struct _SOCKET_CONTEXT * PSOCKET_CONTEXT
SocketStateBound
@ SocketStateBound
Definition:
wshtcpip.h:33
SocketStateCreated
@ SocketStateCreated
Definition:
wshtcpip.h:32
SocketStateConnected
@ SocketStateConnected
Definition:
wshtcpip.h:35
SocketStateListening
@ SocketStateListening
Definition:
wshtcpip.h:34
PQUEUED_REQUEST
struct _QUEUED_REQUEST * PQUEUED_REQUEST
dll
win32
wshtcpip
wshtcpip.h
Generated on Wed Nov 27 2024 06:05:21 for ReactOS by
1.9.6