aa029e25f7f0e583df77f7cbf6381779d57b2d34
[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 RemoteAddress,
7 PIO_STATUS_BLOCK Iosb,
8 PIO_COMPLETION_ROUTINE CompletionRoutine,
9 PVOID CompletionContext );
10
11 NTSTATUS TdiOpenConnectionEndpointFile(PUNICODE_STRING DeviceName,
12 PHANDLE ConnectionHandle,
13 PFILE_OBJECT *ConnectionObject);
14
15 NTSTATUS TdiCloseDevice(HANDLE Handle,
16 PFILE_OBJECT FileObject);
17
18 NTSTATUS TdiDisconnect
19 ( PFILE_OBJECT TransportObject,
20 PLARGE_INTEGER Time,
21 USHORT Flags,
22 PIO_STATUS_BLOCK Iosb,
23 PIO_COMPLETION_ROUTINE CompletionRoutine,
24 PVOID CompletionContext,
25 PTDI_CONNECTION_INFORMATION RequestConnectionInfo,
26 PTDI_CONNECTION_INFORMATION ReturnConnectionInfo );
27
28 NTSTATUS TdiQueryInformation(
29 PFILE_OBJECT FileObject,
30 LONG QueryType,
31 PMDL MdlBuffer);
32
33 NTSTATUS TdiSetEventHandler(
34 PFILE_OBJECT FileObject,
35 LONG EventType,
36 PVOID Handler,
37 PVOID Context);
38
39 NTSTATUS TdiQueryDeviceControl(
40 PFILE_OBJECT FileObject,
41 ULONG IoControlCode,
42 PVOID InputBuffer,
43 ULONG InputBufferLength,
44 PVOID OutputBuffer,
45 ULONG OutputBufferLength,
46 PULONG Return);
47
48 #endif/*_TDI_PROTO_H*/