mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 18:02:05 +00:00

- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
#pragma once
|
|
|
|
NTSTATUS TdiConnect( PIRP *PendingIrp,
|
|
PFILE_OBJECT ConnectionObject,
|
|
PTDI_CONNECTION_INFORMATION ConnectionCallInfo,
|
|
PTDI_CONNECTION_INFORMATION ConnectionReturnInfo,
|
|
PIO_STATUS_BLOCK Iosb,
|
|
PIO_COMPLETION_ROUTINE CompletionRoutine,
|
|
PVOID CompletionContext );
|
|
|
|
NTSTATUS TdiOpenConnectionEndpointFile(PUNICODE_STRING DeviceName,
|
|
PHANDLE ConnectionHandle,
|
|
PFILE_OBJECT *ConnectionObject);
|
|
|
|
NTSTATUS TdiCloseDevice(HANDLE Handle,
|
|
PFILE_OBJECT FileObject);
|
|
|
|
NTSTATUS TdiDisconnect
|
|
( PIRP *Irp,
|
|
PFILE_OBJECT TransportObject,
|
|
PLARGE_INTEGER Time,
|
|
USHORT Flags,
|
|
PIO_STATUS_BLOCK Iosb,
|
|
PIO_COMPLETION_ROUTINE CompletionRoutine,
|
|
PVOID CompletionContext,
|
|
PTDI_CONNECTION_INFORMATION RequestConnectionInfo,
|
|
PTDI_CONNECTION_INFORMATION ReturnConnectionInfo );
|
|
|
|
NTSTATUS TdiQueryInformation(
|
|
PFILE_OBJECT FileObject,
|
|
LONG QueryType,
|
|
PMDL MdlBuffer);
|
|
|
|
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);
|