ReactOS 0.4.16-dev-1946-g52006dd
usbdex.c File Reference
#include <ntddk.h>
#include <usb.h>
#include <usbdlib.h>
#include <debug.h>
Include dependency graph for usbdex.c:

Go to the source code of this file.

Functions

 DECLARE_HANDLE (USBD_HANDLE)
 
NTSTATUS USBD_QueryUsbCapability (_In_ USBD_HANDLE USBDHandle, _In_ const GUID *CapabilityType, _In_ ULONG OutputBufferLength, _When_(OutputBufferLength==0, _Pre_null_) _When_(OutputBufferLength !=0 &&ResultLength==NULL, _Out_writes_bytes_(OutputBufferLength)) _When_(OutputBufferLength !=0 &&ResultLength !=NULL, _Out_writes_bytes_to_opt_(OutputBufferLength, *ResultLength)) PUCHAR OutputBuffer, _Out_opt_ _When_(ResultLength !=NULL, _Deref_out_range_(<=, OutputBufferLength)) PULONG ResultLength)
 
VOID USBD_AssignUrbToIoStackLocation (_In_ USBD_HANDLE USBDHandle, _In_ PIO_STACK_LOCATION IoStackLocation, _In_ PURB Urb)
 
NTSTATUS USBD_CreateHandle (_In_ PDEVICE_OBJECT DeviceObject, _In_ PDEVICE_OBJECT TargetDeviceObject, _In_ ULONG USBDClientContractVersion, _In_ ULONG PoolTag, _Out_ USBD_HANDLE *USBDHandle)
 
VOID USBD_CloseHandle (_In_ USBD_HANDLE USBDHandle)
 
NTSTATUS USBD_UrbAllocate (_In_ USBD_HANDLE USBDHandle, _Outptr_result_bytebuffer_(sizeof(URB)) PURB *Urb)
 
NTSTATUS USBD_IsochUrbAllocate (_In_ USBD_HANDLE USBDHandle, _In_ ULONG NumberOfIsochPacket, _Outptr_result_bytebuffer_(sizeof(struct _URB_ISOCH_TRANSFER)+(NumberOfIsochPackets *sizeof(USBD_ISO_PACKET_DESCRIPTOR)) - sizeof(USBD_ISO_PACKET_DESCRIPTOR)) PURB *Urb)
 
VOID USBD_UrbFree (_In_ USBD_HANDLE USBDHandle, _In_ PURB Urb)
 

Function Documentation

◆ DECLARE_HANDLE()

DECLARE_HANDLE ( USBD_HANDLE  )

◆ USBD_AssignUrbToIoStackLocation()

VOID USBD_AssignUrbToIoStackLocation ( _In_ USBD_HANDLE  USBDHandle,
_In_ PIO_STACK_LOCATION  IoStackLocation,
_In_ PURB  Urb 
)

Definition at line 28 of file usbdex.c.

33{
35}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15

Referenced by FxFormatUsbRequest().

◆ USBD_CloseHandle()

VOID USBD_CloseHandle ( _In_ USBD_HANDLE  USBDHandle)

Definition at line 51 of file usbdex.c.

54{
56}

◆ USBD_CreateHandle()

NTSTATUS USBD_CreateHandle ( _In_ PDEVICE_OBJECT  DeviceObject,
_In_ PDEVICE_OBJECT  TargetDeviceObject,
_In_ ULONG  USBDClientContractVersion,
_In_ ULONG  PoolTag,
_Out_ USBD_HANDLE *  USBDHandle 
)

Definition at line 38 of file usbdex.c.

45{
48}
#define STATUS_NOT_IMPLEMENTED
Definition: d3dkmdt.h:42

Referenced by FxUsbDevice::InitDevice().

◆ USBD_IsochUrbAllocate()

Definition at line 69 of file usbdex.c.

77{
80}

Referenced by FxUsbDevice::CreateIsochUrb().

◆ USBD_QueryUsbCapability()

Definition at line 10 of file usbdex.c.

22{
25}

Referenced by FxUsbDevice::QueryUsbCapability().

◆ USBD_UrbAllocate()

◆ USBD_UrbFree()