Data Structures |
| struct | PUSBD_INTERFACE_LIST_ENTRY |
Defines |
| #define | DECLSPEC_EXPORT __declspec(dllexport) |
| #define | UsbBuildInterruptOrBulkTransferRequest(urb, length, pipeHandle, transferBuffer, transferBufferMDL, transferBufferLength, transferFlags, link) |
| #define | UsbBuildGetDescriptorRequest(urb, length, descriptorType, descriptorIndex, languageId, transferBuffer, transferBufferMDL, transferBufferLength, link) |
| #define | UsbBuildGetStatusRequest(urb, op, index, transferBuffer, transferBufferMDL, link) |
| #define | UsbBuildFeatureRequest(urb, op, featureSelector, index, link) |
| #define | UsbBuildSelectConfigurationRequest(urb, length, configurationDescriptor) |
| #define | UsbBuildSelectInterfaceRequest(urb, length, configurationHandle, interfaceNumber, alternateSetting) |
| #define | UsbBuildVendorRequest(urb, cmd, length, transferFlags, reservedbits, request, value, index, transferBuffer, transferBufferMDL, transferBufferLength, link) |
| #define | UsbBuildOsFeatureDescriptorRequest(urb, length, interface, index, transferBuffer, transferBufferMDL, transferBufferLength, link) |
| #define | URB_STATUS(urb) ((urb)->UrbHeader.Status) |
| #define | GET_SELECT_CONFIGURATION_REQUEST_SIZE(totalInterfaces, totalPipes) |
| #define | GET_SELECT_INTERFACE_REQUEST_SIZE(totalPipes) |
| #define | GET_USBD_INTERFACE_SIZE(numEndpoints) |
| #define | GET_ISO_URB_SIZE(n) |
Functions |
| | _IRQL_requires_max_ (DISPATCH_LEVEL) DECLSPEC_IMPORT VOID NTAPI USBD_GetUSBDIVersion(_Out_ PUSBD_VERSION_INFORMATION VersionInformation) |
DECLSPEC_IMPORT
PUSB_INTERFACE_DESCRIPTOR
NTAPI | USBD_ParseConfigurationDescriptor (_In_ PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, _In_ UCHAR InterfaceNumber, _In_ UCHAR AlternateSetting) |
| DECLSPEC_IMPORT PURB NTAPI | USBD_CreateConfigurationRequest (_In_ PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, _Out_ PUSHORT Siz) |
| | _IRQL_requires_max_ (APC_LEVEL) DECLSPEC_IMPORT PUSB_COMMON_DESCRIPTOR NTAPI USBD_ParseDescriptors(_In_ PVOID DescriptorBuffer |
| | _IRQL_requires_max_ (PASSIVE_LEVEL) DECLSPEC_EXPORT ULONG NTAPI USBD_GetInterfaceLength(_In_ PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor |
| | _Inout_updates_bytes_ (ParameterLength) PVOID Parameter |
| _In_ ULONG | _In_reads_bytes_ (KeyNameLength) PWSTR KeyName |
| DECLSPEC_EXPORT NTSTATUS NTAPI | USBD_QueryBusTime (_In_ PDEVICE_OBJECT RootHubPdo, _Out_ PULONG CurrentFrame) |
Variables |
| _In_ ULONG | TotalLength |
| _In_ ULONG _In_ PVOID | StartPosition |
| _In_ ULONG _In_ PVOID _In_ LONG | DescriptorType |
| _In_ PVOID _In_ LONG | InterfaceNumber |
| _In_ PVOID _In_ LONG _In_ LONG | AlternateSetting |
_In_ PVOID _In_ LONG _In_ LONG
_In_ LONG | InterfaceClass |
_In_ PVOID _In_ LONG _In_ LONG
_In_ LONG _In_ LONG | InterfaceSubClass |
_In_ PVOID _In_ LONG _In_ LONG
_In_ LONG _In_ LONG _In_ LONG | InterfaceProtocol |
| _In_ PUSBD_INTERFACE_LIST_ENTRY | InterfaceList |
| _In_ PUCHAR | BufferEnd |
| _In_ PDEVICE_OBJECT | FilterDeviceObject |
| _In_ ULONG | ParameterLength |
| _In_ ULONG _In_ ULONG | KeyNameLength |
| _In_ UCHAR | EndpointType |
| _In_ UCHAR _In_ BOOLEAN | LowSpeed |
| _In_ ULONG | BufferLength |
| _In_ ULONG _In_ USHORT | Level |
_In_ ULONG _In_ USHORT _Out_
PUCHAR * | Offset |
_In_ ULONG _In_ USHORT _Out_
PUCHAR _In_opt_ ULONG | Tag |