2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-07-18 22:49:18 +00:00
|
|
|
|
|
|
|
NTSTATUS TdiConnect( PIRP *PendingIrp,
|
|
|
|
PFILE_OBJECT ConnectionObject,
|
- Implement IOCTL_AFD_GET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA_SIZE, IOCTL_AFD_GET_DISCONNECT_DATA, IOCTL_AFD_SET_DISCONNECT_DATA, IOCTL_AFD_SET_DISCONNECT_DATA_SIZE, IOCTL_AFD_SET_CONNECT_OPTIONS, IOCTL_AFD_GET_CONNECT_OPTIONS, IOCTL_AFD_SET_CONNECT_OPTIONS_SIZE, IOCTL_AFD_SET_DISCONNECT_OPTIONS, IOCTL_AFD_GET_DISCONNECT_OPTIONS, IOCTL_AFD_SET_DISCONNECT_OPTIONS_SIZE
- Check that the socket allows connections in AfdDisconnect and AfdStreamSocketConnect
- Allocate the receive window in connectionless sockets when the socket is bound instead of at FCB creation
- Remove a horrible hack in UnlockRequest
- Remove an incorrect call to MmUnmapLockedPages (the pages aren't mapped!)
- Replace the recursive mutex with a KMUTEX for now (eventually I want to move to a fast mutex)
- Fix a leak in LockRequest in failure case
svn path=/branches/aicom-network-branch/; revision=44370
2009-12-02 23:57:57 +00:00
|
|
|
PTDI_CONNECTION_INFORMATION ConnectionCallInfo,
|
|
|
|
PTDI_CONNECTION_INFORMATION ConnectionReturnInfo,
|
2004-07-18 22:49:18 +00:00
|
|
|
PIO_COMPLETION_ROUTINE CompletionRoutine,
|
|
|
|
PVOID CompletionContext );
|
|
|
|
|
|
|
|
NTSTATUS TdiOpenConnectionEndpointFile(PUNICODE_STRING DeviceName,
|
|
|
|
PHANDLE ConnectionHandle,
|
|
|
|
PFILE_OBJECT *ConnectionObject);
|
|
|
|
|
|
|
|
NTSTATUS TdiCloseDevice(HANDLE Handle,
|
|
|
|
PFILE_OBJECT FileObject);
|
|
|
|
|
2004-12-04 23:29:56 +00:00
|
|
|
NTSTATUS TdiDisconnect
|
2011-07-01 14:31:37 +00:00
|
|
|
( PIRP *Irp,
|
|
|
|
PFILE_OBJECT TransportObject,
|
2004-12-04 23:29:56 +00:00
|
|
|
PLARGE_INTEGER Time,
|
|
|
|
USHORT Flags,
|
|
|
|
PIO_COMPLETION_ROUTINE CompletionRoutine,
|
|
|
|
PVOID CompletionContext,
|
|
|
|
PTDI_CONNECTION_INFORMATION RequestConnectionInfo,
|
|
|
|
PTDI_CONNECTION_INFORMATION ReturnConnectionInfo );
|
|
|
|
|
2004-12-11 14:59:32 +00:00
|
|
|
NTSTATUS TdiQueryInformation(
|
|
|
|
PFILE_OBJECT FileObject,
|
|
|
|
LONG QueryType,
|
|
|
|
PMDL MdlBuffer);
|
|
|
|
|
2005-10-06 21:39:18 +00:00
|
|
|
NTSTATUS TdiSetEventHandler(
|
|
|
|
PFILE_OBJECT FileObject,
|
|
|
|
LONG EventType,
|
|
|
|
PVOID Handler,
|
|
|
|
PVOID Context);
|
|
|
|
|
|
|
|
NTSTATUS TdiQueryDeviceControl(
|
|
|
|
PFILE_OBJECT FileObject,
|
|
|
|
ULONG IoControlCode,
|
|
|
|
PVOID InputBuffer,
|
|
|
|
ULONG InputBufferLength,
|
|
|
|
PVOID OutputBuffer,
|
|
|
|
ULONG OutputBufferLength,
|
|
|
|
PULONG Return);
|