- Implement IOCTL_AFD_GET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA, IOCTL_AFD_SET_CO...
[reactos.git] / drivers / network / afd / include / tdi_proto.h
1 #ifndef _TDI_PROTO_H
2 #define _TDI_PROTO_H
3
4 NTSTATUS TdiConnect( PIRP *PendingIrp,
5 PFILE_OBJECT ConnectionObject,
6 PTDI_CONNECTION_INFORMATION ConnectionCallInfo,
7 PTDI_CONNECTION_INFORMATION ConnectionReturnInfo,
8 PIO_STATUS_BLOCK Iosb,
9 PIO_COMPLETION_ROUTINE CompletionRoutine,
10 PVOID CompletionContext );
11
12 NTSTATUS TdiOpenConnectionEndpointFile(PUNICODE_STRING DeviceName,
13 PHANDLE ConnectionHandle,
14 PFILE_OBJECT *ConnectionObject);
15
16 NTSTATUS TdiCloseDevice(HANDLE Handle,
17 PFILE_OBJECT FileObject);
18
19 NTSTATUS TdiDisconnect
20 ( PFILE_OBJECT TransportObject,
21 PLARGE_INTEGER Time,
22 USHORT Flags,
23 PIO_STATUS_BLOCK Iosb,
24 PIO_COMPLETION_ROUTINE CompletionRoutine,
25 PVOID CompletionContext,
26 PTDI_CONNECTION_INFORMATION RequestConnectionInfo,
27 PTDI_CONNECTION_INFORMATION ReturnConnectionInfo );
28
29 NTSTATUS TdiQueryInformation(
30 PFILE_OBJECT FileObject,
31 LONG QueryType,
32 PMDL MdlBuffer);
33
34 NTSTATUS TdiSetEventHandler(
35 PFILE_OBJECT FileObject,
36 LONG EventType,
37 PVOID Handler,
38 PVOID Context);
39
40 NTSTATUS TdiQueryDeviceControl(
41 PFILE_OBJECT FileObject,
42 ULONG IoControlCode,
43 PVOID InputBuffer,
44 ULONG InputBufferLength,
45 PVOID OutputBuffer,
46 ULONG OutputBufferLength,
47 PULONG Return);
48
49 #endif/*_TDI_PROTO_H*/