ReactOS 0.4.15-dev-8116-gf69e256
shared.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Ancillary Function Driver
4 * FILE: include/reactos/drivers/afd/shared.h
5 * PURPOSE: Shared definitions for AFD.SYS and MSAFD.DLL
6 */
7#ifndef __AFD_SHARED_H
8#define __AFD_SHARED_H
9
10#define AFD_MAX_EVENTS 10
11#define AFD_PACKET_COMMAND_LENGTH 15
12#define AfdCommand "AfdOpenPacketXX"
13
14/* Extra definition of WSABUF for AFD so that I don't have to include any
15 * userland winsock headers. */
16typedef struct _AFD_WSABUF {
20
21typedef struct _AFD_CREATE_PACKET {
27
28typedef struct _AFD_INFO {
30 union {
37
38typedef struct _AFD_BIND_DATA {
42
43typedef struct _AFD_LISTEN_DATA {
48
49typedef struct _AFD_HANDLE_ {
54
55typedef struct _AFD_POLL_INFO {
61
62typedef struct _AFD_ACCEPT_DATA {
67
72
78
79typedef struct _AFD_DEFER_ACCEPT_DATA {
83
84typedef struct _AFD_RECV_INFO {
90
91typedef struct _AFD_RECV_INFO_UDP {
99
100typedef struct _AFD_SEND_INFO {
106
107typedef struct _AFD_SEND_INFO_UDP {
114
116
117typedef struct _AFD_CONNECT_INFO {
123
128
134
135typedef struct _AFD_DISCONNECT_INFO {
139
141{
145
147{
151
152/* AFD Packet Endpoint Flags */
153#define AFD_ENDPOINT_CONNECTIONLESS 0x1
154#define AFD_ENDPOINT_MESSAGE_ORIENTED 0x10
155#define AFD_ENDPOINT_RAW 0x100
156#define AFD_ENDPOINT_MULTIPOINT 0x1000
157#define AFD_ENDPOINT_C_ROOT 0x10000
158#define AFD_ENDPOINT_D_ROOT 0x100000
159
160/* AFD TDI Query Flags */
161#define AFD_ADDRESS_HANDLE 0x1L
162#define AFD_CONNECTION_HANDLE 0x2L
163
164/* AFD event bits */
165#define AFD_EVENT_RECEIVE_BIT 0
166#define AFD_EVENT_OOB_RECEIVE_BIT 1
167#define AFD_EVENT_SEND_BIT 2
168#define AFD_EVENT_DISCONNECT_BIT 3
169#define AFD_EVENT_ABORT_BIT 4
170#define AFD_EVENT_CLOSE_BIT 5
171#define AFD_EVENT_CONNECT_BIT 6
172#define AFD_EVENT_ACCEPT_BIT 7
173#define AFD_EVENT_CONNECT_FAIL_BIT 8
174#define AFD_EVENT_QOS_BIT 9
175#define AFD_EVENT_GROUP_QOS_BIT 10
176#define AFD_EVENT_ROUTING_INTERFACE_CHANGE_BIT 11
177#define AFD_EVENT_ADDRESS_LIST_CHANGE_BIT 12
178#define AFD_MAX_EVENT 13
179#define AFD_ALL_EVENTS ((1 << AFD_MAX_EVENT) - 1)
180
181/* AFD Info Flags */
182#define AFD_INFO_INLINING_MODE 0x01L
183#define AFD_INFO_BLOCKING_MODE 0x02L
184#define AFD_INFO_SENDS_IN_PROGRESS 0x04L
185#define AFD_INFO_RECEIVE_WINDOW_SIZE 0x06L
186#define AFD_INFO_SEND_WINDOW_SIZE 0x07L
187#define AFD_INFO_GROUP_ID_TYPE 0x10L
188#define AFD_INFO_RECEIVE_CONTENT_SIZE 0x11L
189
190/* AFD Share Flags */
191#define AFD_SHARE_UNIQUE 0x0L
192#define AFD_SHARE_REUSE 0x1L
193#define AFD_SHARE_WILDCARD 0x2L
194#define AFD_SHARE_EXCLUSIVE 0x3L
195
196/* AFD Disconnect Flags */
197#define AFD_DISCONNECT_SEND 0x01L
198#define AFD_DISCONNECT_RECV 0x02L
199#define AFD_DISCONNECT_ABORT 0x04L
200#define AFD_DISCONNECT_DATAGRAM 0x08L
201
202/* AFD Event Flags */
203#define AFD_EVENT_RECEIVE (1 << AFD_EVENT_RECEIVE_BIT)
204#define AFD_EVENT_OOB_RECEIVE (1 << AFD_EVENT_OOB_RECEIVE_BIT)
205#define AFD_EVENT_SEND (1 << AFD_EVENT_SEND_BIT)
206#define AFD_EVENT_DISCONNECT (1 << AFD_EVENT_DISCONNECT_BIT)
207#define AFD_EVENT_ABORT (1 << AFD_EVENT_ABORT_BIT)
208#define AFD_EVENT_CLOSE (1 << AFD_EVENT_CLOSE_BIT)
209#define AFD_EVENT_CONNECT (1 << AFD_EVENT_CONNECT_BIT)
210#define AFD_EVENT_ACCEPT (1 << AFD_EVENT_ACCEPT_BIT)
211#define AFD_EVENT_CONNECT_FAIL (1 << AFD_EVENT_CONNECT_FAIL_BIT)
212#define AFD_EVENT_QOS (1 << AFD_EVENT_QOS_BIT)
213#define AFD_EVENT_GROUP_QOS (1 << AFD_EVENT_GROUP_QOS_BIT)
214#define AFD_EVENT_ROUTING_INTERFACE_CHANGE (1 << AFD_EVENT_ROUTING_INTERFACE_CHANGE_BIT)
215#define AFD_EVENT_ADDRESS_LIST_CHANGE (1 << AFD_EVENT_ADDRESS_LIST_CHANGE_BIT)
216
217/* AFD SEND/RECV Flags */
218#define AFD_SKIP_FIO 0x1L
219#define AFD_OVERLAPPED 0x2L
220#define AFD_IMMEDIATE 0x4L
221
222/* IOCTL Generation */
223#define FSCTL_AFD_BASE FILE_DEVICE_NETWORK
224#define _AFD_CONTROL_CODE(Operation,Method) \
225 ((FSCTL_AFD_BASE)<<12 | (Operation<<2) | Method)
226
227/* AFD Commands */
228#define AFD_BIND 0
229#define AFD_CONNECT 1
230#define AFD_START_LISTEN 2
231#define AFD_WAIT_FOR_LISTEN 3
232#define AFD_ACCEPT 4
233#define AFD_RECV 5
234#define AFD_RECV_DATAGRAM 6
235#define AFD_SEND 7
236#define AFD_SEND_DATAGRAM 8
237#define AFD_SELECT 9
238#define AFD_DISCONNECT 10
239#define AFD_GET_SOCK_NAME 11
240#define AFD_GET_PEER_NAME 12
241#define AFD_GET_TDI_HANDLES 13
242#define AFD_SET_INFO 14
243#define AFD_GET_CONTEXT_SIZE 15
244#define AFD_GET_CONTEXT 16
245#define AFD_SET_CONTEXT 17
246#define AFD_SET_CONNECT_DATA 18
247#define AFD_SET_CONNECT_OPTIONS 19
248#define AFD_SET_DISCONNECT_DATA 20
249#define AFD_SET_DISCONNECT_OPTIONS 21
250#define AFD_GET_CONNECT_DATA 22
251#define AFD_GET_CONNECT_OPTIONS 23
252#define AFD_GET_DISCONNECT_DATA 24
253#define AFD_GET_DISCONNECT_OPTIONS 25
254#define AFD_SET_CONNECT_DATA_SIZE 26
255#define AFD_SET_CONNECT_OPTIONS_SIZE 27
256#define AFD_SET_DISCONNECT_DATA_SIZE 28
257#define AFD_SET_DISCONNECT_OPTIONS_SIZE 29
258#define AFD_GET_INFO 30
259#define AFD_EVENT_SELECT 33
260#define AFD_ENUM_NETWORK_EVENTS 34
261#define AFD_DEFER_ACCEPT 35
262#define AFD_GET_PENDING_CONNECT_DATA 41
263#define AFD_VALIDATE_GROUP 42
264
265/* AFD IOCTLs */
266
267#define IOCTL_AFD_BIND \
268 _AFD_CONTROL_CODE(AFD_BIND, METHOD_NEITHER)
269#define IOCTL_AFD_CONNECT \
270 _AFD_CONTROL_CODE(AFD_CONNECT, METHOD_NEITHER)
271#define IOCTL_AFD_START_LISTEN \
272 _AFD_CONTROL_CODE(AFD_START_LISTEN, METHOD_NEITHER)
273#define IOCTL_AFD_WAIT_FOR_LISTEN \
274 _AFD_CONTROL_CODE(AFD_WAIT_FOR_LISTEN, METHOD_BUFFERED )
275#define IOCTL_AFD_ACCEPT \
276 _AFD_CONTROL_CODE(AFD_ACCEPT, METHOD_BUFFERED )
277#define IOCTL_AFD_RECV \
278 _AFD_CONTROL_CODE(AFD_RECV, METHOD_NEITHER)
279#define IOCTL_AFD_RECV_DATAGRAM \
280 _AFD_CONTROL_CODE(AFD_RECV_DATAGRAM, METHOD_NEITHER)
281#define IOCTL_AFD_SEND \
282 _AFD_CONTROL_CODE(AFD_SEND, METHOD_NEITHER)
283#define IOCTL_AFD_SEND_DATAGRAM \
284 _AFD_CONTROL_CODE(AFD_SEND_DATAGRAM, METHOD_NEITHER)
285#define IOCTL_AFD_SELECT \
286 _AFD_CONTROL_CODE(AFD_SELECT, METHOD_BUFFERED )
287#define IOCTL_AFD_DISCONNECT \
288 _AFD_CONTROL_CODE(AFD_DISCONNECT, METHOD_NEITHER)
289#define IOCTL_AFD_GET_SOCK_NAME \
290 _AFD_CONTROL_CODE(AFD_GET_SOCK_NAME, METHOD_NEITHER)
291#define IOCTL_AFD_GET_PEER_NAME \
292 _AFD_CONTROL_CODE(AFD_GET_PEER_NAME, METHOD_NEITHER)
293#define IOCTL_AFD_GET_TDI_HANDLES \
294 _AFD_CONTROL_CODE(AFD_GET_TDI_HANDLES, METHOD_NEITHER)
295#define IOCTL_AFD_SET_INFO \
296 _AFD_CONTROL_CODE(AFD_SET_INFO, METHOD_NEITHER)
297#define IOCTL_AFD_GET_CONTEXT_SIZE \
298 _AFD_CONTROL_CODE(AFD_GET_CONTEXT_SIZE, METHOD_NEITHER)
299#define IOCTL_AFD_GET_CONTEXT \
300 _AFD_CONTROL_CODE(AFD_GET_CONTEXT, METHOD_NEITHER)
301#define IOCTL_AFD_SET_CONTEXT \
302 _AFD_CONTROL_CODE(AFD_SET_CONTEXT, METHOD_NEITHER)
303#define IOCTL_AFD_SET_CONNECT_DATA \
304 _AFD_CONTROL_CODE(AFD_SET_CONNECT_DATA, METHOD_NEITHER)
305#define IOCTL_AFD_SET_CONNECT_OPTIONS \
306 _AFD_CONTROL_CODE(AFD_SET_CONNECT_OPTIONS, METHOD_NEITHER)
307#define IOCTL_AFD_SET_DISCONNECT_DATA \
308 _AFD_CONTROL_CODE(AFD_SET_DISCONNECT_DATA, METHOD_NEITHER)
309#define IOCTL_AFD_SET_DISCONNECT_OPTIONS \
310 _AFD_CONTROL_CODE(AFD_SET_DISCONNECT_OPTIONS, METHOD_NEITHER)
311#define IOCTL_AFD_GET_CONNECT_DATA \
312 _AFD_CONTROL_CODE(AFD_GET_CONNECT_DATA, METHOD_NEITHER)
313#define IOCTL_AFD_GET_CONNECT_OPTIONS \
314 _AFD_CONTROL_CODE(AFD_GET_CONNECT_OPTIONS, METHOD_NEITHER)
315#define IOCTL_AFD_GET_DISCONNECT_DATA \
316 _AFD_CONTROL_CODE(AFD_GET_DISCONNECT_DATA, METHOD_NEITHER)
317#define IOCTL_AFD_GET_DISCONNECT_OPTIONS \
318 _AFD_CONTROL_CODE(AFD_GET_DISCONNECT_OPTIONS, METHOD_NEITHER)
319#define IOCTL_AFD_SET_CONNECT_DATA_SIZE \
320 _AFD_CONTROL_CODE(AFD_SET_CONNECT_DATA_SIZE, METHOD_NEITHER)
321#define IOCTL_AFD_SET_CONNECT_OPTIONS_SIZE \
322 _AFD_CONTROL_CODE(AFD_SET_CONNECT_OPTIONS_SIZE, METHOD_NEITHER)
323#define IOCTL_AFD_SET_DISCONNECT_DATA_SIZE \
324 _AFD_CONTROL_CODE(AFD_SET_DISCONNECT_DATA_SIZE, METHOD_NEITHER)
325#define IOCTL_AFD_SET_DISCONNECT_OPTIONS_SIZE \
326 _AFD_CONTROL_CODE(AFD_SET_DISCONNECT_OPTIONS_SIZE, METHOD_NEITHER)
327#define IOCTL_AFD_GET_INFO \
328 _AFD_CONTROL_CODE(AFD_GET_INFO, METHOD_NEITHER)
329#define IOCTL_AFD_EVENT_SELECT \
330 _AFD_CONTROL_CODE(AFD_EVENT_SELECT, METHOD_NEITHER)
331#define IOCTL_AFD_DEFER_ACCEPT \
332 _AFD_CONTROL_CODE(AFD_DEFER_ACCEPT, METHOD_NEITHER)
333#define IOCTL_AFD_GET_PENDING_CONNECT_DATA \
334 _AFD_CONTROL_CODE(AFD_GET_PENDING_CONNECT_DATA, METHOD_NEITHER)
335#define IOCTL_AFD_ENUM_NETWORK_EVENTS \
336 _AFD_CONTROL_CODE(AFD_ENUM_NETWORK_EVENTS, METHOD_NEITHER)
337#define IOCTL_AFD_VALIDATE_GROUP \
338 _AFD_CONTROL_CODE(AFD_VALIDATE_GROUP, METHOD_NEITHER)
339
350
351typedef struct _FILE_REQUEST_BIND {
354
355typedef struct _FILE_REPLY_BIND {
360
361typedef struct _FILE_REQUEST_LISTEN {
364
365typedef struct _FILE_REPLY_LISTEN {
368
369typedef struct _FILE_REQUEST_SENDTO {
376
377typedef struct _FILE_REPLY_SENDTO {
381
389
390typedef struct _FILE_REPLY_RECVFROM {
394
395typedef struct _FILE_REQUEST_RECV {
400
401typedef struct _FILE_REPLY_RECV {
405
406
407typedef struct _FILE_REQUEST_SEND {
412
413typedef struct _FILE_REPLY_SEND {
417
418
419typedef struct _FILE_REQUEST_ACCEPT {
425
426typedef struct _FILE_REPLY_ACCEPT {
431
432
433typedef struct _FILE_REQUEST_CONNECT {
441
442typedef struct _FILE_REPLY_CONNECT {
445
446#endif /*__AFD_SHARED_H */
447
448/* EOF */
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define C_ASSERT(e)
Definition: intsafe.h:73
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
struct _FILE_REPLY_SEND FILE_REPLY_SEND
struct _FILE_REPLY_BIND * PFILE_REPLY_BIND
struct _AFD_BIND_DATA * PAFD_BIND_DATA
struct _AFD_PENDING_ACCEPT_DATA AFD_PENDING_ACCEPT_DATA
struct _AFD_RECV_INFO * PAFD_RECV_INFO
struct _AFD_RECV_INFO_UDP * PAFD_RECV_INFO_UDP
struct _AFD_SEND_INFO_UDP AFD_SEND_INFO_UDP
struct _FILE_REQUEST_BIND FILE_REQUEST_BIND
struct _AFD_POLL_INFO * PAFD_POLL_INFO
struct _AFD_ACCEPT_DATA AFD_ACCEPT_DATA
struct _AFD_ENUM_NETWORK_EVENTS_INFO * PAFD_ENUM_NETWORK_EVENTS_INFO
struct _AFD_CREATE_PACKET * PAFD_CREATE_PACKET
struct _AFD_BIND_DATA AFD_BIND_DATA
struct _AFD_DISCONNECT_INFO AFD_DISCONNECT_INFO
struct _FILE_REQUEST_LISTEN FILE_REQUEST_LISTEN
struct _AFD_CONNECT_INFO * PAFD_CONNECT_INFO
struct _FILE_REPLY_LISTEN * PFILE_REPLY_LISTEN
struct _AFD_INFO AFD_INFO
struct _AFD_RECEIVED_ACCEPT_DATA AFD_RECEIVED_ACCEPT_DATA
struct _FILE_REQUEST_CONNECT FILE_REQUEST_CONNECT
struct _AFD_SOCKET_INFORMATION AFD_SOCKET_INFORMATION
struct _AFD_SEND_INFO_UDP * PAFD_SEND_INFO_UDP
struct _FILE_REPLY_SEND * PFILE_REPLY_SEND
struct _FILE_REPLY_LISTEN FILE_REPLY_LISTEN
struct _AFD_POLL_INFO AFD_POLL_INFO
struct _FILE_REQUEST_CONNECT * PFILE_REQUEST_CONNECT
struct _FILE_REQUEST_RECVFROM FILE_REQUEST_RECVFROM
struct _AFD_TDI_HANDLE_DATA * PAFD_TDI_HANDLE_DATA
struct _FILE_REPLY_RECV FILE_REPLY_RECV
#define AFD_MAX_EVENTS
Definition: shared.h:10
struct _FILE_REQUEST_SEND * PFILE_REQUEST_SEND
struct _AFD_RECEIVED_ACCEPT_DATA * PAFD_RECEIVED_ACCEPT_DATA
struct _AFD_DEFER_ACCEPT_DATA AFD_DEFER_ACCEPT_DATA
struct _AFD_PENDING_ACCEPT_DATA * PAFD_PENDING_ACCEPT_DATA
struct _AFD_VALIDATE_GROUP_DATA AFD_VALIDATE_GROUP_DATA
struct _FILE_REQUEST_SEND FILE_REQUEST_SEND
struct _AFD_HANDLE_ AFD_HANDLE
struct _AFD_DEFER_ACCEPT_DATA * PAFD_DEFER_ACCEPT_DATA
struct _FILE_REQUEST_ACCEPT * PFILE_REQUEST_ACCEPT
struct _AFD_SEND_INFO * PAFD_SEND_INFO
struct _FILE_REPLY_ACCEPT FILE_REPLY_ACCEPT
struct _AFD_LISTEN_DATA AFD_LISTEN_DATA
struct _AFD_TDI_HANDLE_DATA AFD_TDI_HANDLE_DATA
struct _FILE_REPLY_RECVFROM FILE_REPLY_RECVFROM
struct _AFD_WSABUF AFD_WSABUF
struct _AFD_EVENT_SELECT_INFO AFD_EVENT_SELECT_INFO
struct _AFD_VALIDATE_GROUP_DATA * PAFD_VALIDATE_GROUP_DATA
struct _AFD_SEND_INFO AFD_SEND_INFO
struct _AFD_SOCKET_INFORMATION * PAFD_SOCKET_INFORMATION
struct _FILE_REQUEST_ACCEPT FILE_REQUEST_ACCEPT
struct _FILE_REQUEST_RECV * PFILE_REQUEST_RECV
struct _FILE_REPLY_SENDTO FILE_REPLY_SENDTO
struct _FILE_REPLY_CONNECT * PFILE_REPLY_CONNECT
struct _AFD_RECV_INFO_UDP AFD_RECV_INFO_UDP
struct _AFD_LISTEN_DATA * PAFD_LISTEN_DATA
struct _FILE_REPLY_RECVFROM * PFILE_REPLY_RECVFROM
struct _FILE_REPLY_BIND FILE_REPLY_BIND
struct _AFD_CONNECT_INFO AFD_CONNECT_INFO
struct _AFD_CREATE_PACKET AFD_CREATE_PACKET
struct _AFD_HANDLE_ * PAFD_HANDLE
struct _AFD_ACCEPT_DATA * PAFD_ACCEPT_DATA
struct _FILE_REPLY_CONNECT FILE_REPLY_CONNECT
struct _FILE_REPLY_RECV * PFILE_REPLY_RECV
struct _FILE_REPLY_SENDTO * PFILE_REPLY_SENDTO
struct _FILE_REQUEST_SENDTO FILE_REQUEST_SENDTO
struct _AFD_INFO * PAFD_INFO
struct _AFD_DISCONNECT_INFO * PAFD_DISCONNECT_INFO
struct _AFD_WSABUF * PAFD_WSABUF
struct _AFD_RECV_INFO AFD_RECV_INFO
struct _AFD_EVENT_SELECT_INFO * PAFD_EVENT_SELECT_INFO
struct _FILE_REQUEST_RECVFROM * PFILE_REQUEST_RECVFROM
struct _AFD_ENUM_NETWORK_EVENTS_INFO AFD_ENUM_NETWORK_EVENTS_INFO
struct _FILE_REPLY_ACCEPT * PFILE_REPLY_ACCEPT
struct _FILE_REQUEST_RECV FILE_REQUEST_RECV
struct _FILE_REQUEST_LISTEN * PFILE_REQUEST_LISTEN
struct _FILE_REQUEST_BIND * PFILE_REQUEST_BIND
struct _FILE_REQUEST_SENDTO * PFILE_REQUEST_SENDTO
ULONG UseSAN
Definition: shared.h:63
HANDLE ListenHandle
Definition: shared.h:65
ULONG SequenceNumber
Definition: shared.h:64
ULONG ShareType
Definition: shared.h:39
TRANSPORT_ADDRESS Address
Definition: shared.h:40
TRANSPORT_ADDRESS RemoteAddress
Definition: shared.h:121
BOOLEAN UseSAN
Definition: shared.h:118
DWORD EndpointFlags
Definition: shared.h:22
WCHAR TransportName[1]
Definition: shared.h:25
DWORD SizeOfTransportName
Definition: shared.h:24
BOOLEAN RejectConnection
Definition: shared.h:81
LARGE_INTEGER Timeout
Definition: shared.h:137
ULONG DisconnectType
Definition: shared.h:136
NTSTATUS EventStatus[AFD_MAX_EVENTS]
Definition: shared.h:132
SOCKET Handle
Definition: shared.h:50
ULONG Events
Definition: shared.h:51
NTSTATUS Status
Definition: shared.h:52
union _AFD_INFO::@3391 Information
ULONG InformationClass
Definition: shared.h:29
ULONG Padding
Definition: shared.h:35
ULONG Ulong
Definition: shared.h:31
BOOLEAN Boolean
Definition: shared.h:33
LARGE_INTEGER LargeInteger
Definition: shared.h:32
BOOLEAN UseSAN
Definition: shared.h:44
BOOLEAN UseDelayedAcceptance
Definition: shared.h:46
ULONG Backlog
Definition: shared.h:45
LARGE_INTEGER Timeout
Definition: shared.h:56
ULONG HandleCount
Definition: shared.h:57
AFD_HANDLE Handles[1]
Definition: shared.h:59
ULONG_PTR Exclusive
Definition: shared.h:58
TRANSPORT_ADDRESS Address
Definition: shared.h:70
ULONG AfdFlags
Definition: shared.h:94
PINT AddressLength
Definition: shared.h:97
ULONG BufferCount
Definition: shared.h:93
ULONG TdiFlags
Definition: shared.h:95
PAFD_WSABUF BufferArray
Definition: shared.h:92
ULONG BufferCount
Definition: shared.h:86
ULONG TdiFlags
Definition: shared.h:88
ULONG AfdFlags
Definition: shared.h:87
PAFD_WSABUF BufferArray
Definition: shared.h:85
ULONG BufferCount
Definition: shared.h:109
TDI_CONNECTION_INFORMATION TdiConnection
Definition: shared.h:112
TDI_REQUEST_SEND_DATAGRAM TdiRequest
Definition: shared.h:111
PAFD_WSABUF BufferArray
Definition: shared.h:108
ULONG BufferCount
Definition: shared.h:102
PAFD_WSABUF BufferArray
Definition: shared.h:101
ULONG TdiFlags
Definition: shared.h:104
ULONG AfdFlags
Definition: shared.h:103
UNICODE_STRING TdiDeviceName
Definition: shared.h:347
HANDLE TdiConnectionHandle
Definition: shared.h:149
HANDLE TdiAddressHandle
Definition: shared.h:148
TRANSPORT_ADDRESS Address
Definition: shared.h:143
PCHAR buf
Definition: shared.h:18
UINT len
Definition: shared.h:17
HANDLE TdiConnectionObjectHandle
Definition: shared.h:358
HANDLE TdiAddressObjectHandle
Definition: shared.h:357
DWORD NumberOfBytesRecvd
Definition: shared.h:392
DWORD NumberOfBytesRecvd
Definition: shared.h:403
DWORD NumberOfBytesSent
Definition: shared.h:379
DWORD NumberOfBytesSent
Definition: shared.h:415
DWORD dwCallbackData
Definition: shared.h:423
LPCONDITIONPROC lpfnCondition
Definition: shared.h:422
LPSOCKADDR addr
Definition: shared.h:420
SOCKADDR Name
Definition: shared.h:352
LPSOCKADDR name
Definition: shared.h:434
LPWSABUF lpCalleeData
Definition: shared.h:437
LPWSABUF lpCallerData
Definition: shared.h:436
LPSOCKADDR From
Definition: shared.h:386
DWORD BufferCount
Definition: shared.h:397
LPDWORD Flags
Definition: shared.h:398
LPWSABUF Buffers
Definition: shared.h:396
LPWSABUF Buffers
Definition: shared.h:370
LPWSABUF Buffers
Definition: shared.h:408
DWORD BufferCount
Definition: shared.h:409
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
int * LPINT
Definition: windef.h:178
int * PINT
Definition: windef.h:177
int(CALLBACK * LPCONDITIONPROC)(IN LPWSABUF lpCallerId, IN LPWSABUF lpCallerData, IN OUT LPQOS lpSQOS, IN OUT LPQOS lpGQOS, IN LPWSABUF lpCalleeId, IN LPWSABUF lpCalleeData, OUT GROUP FAR *g, IN DWORD_PTR dwCallbackData)
Definition: winsock2.h:711
UINT_PTR SOCKET
Definition: winsock.h:47
__wchar_t WCHAR
Definition: xmlstorage.h:180