|
ReactOS 0.4.17-dev-1321-g5c122a9
|

Go to the source code of this file.
Classes | |
| struct | _USBD_INTERFACE_LIST_ENTRY |
| struct | _COMPOSITE_DEVICE_CAPABILITIES |
| struct | _REGISTER_COMPOSITE_DEVICE |
| struct | _REQUEST_REMOTE_WAKE_NOTIFICATION |
Typedefs | |
| typedef struct _USBD_INTERFACE_LIST_ENTRY | USBD_INTERFACE_LIST_ENTRY |
| typedef struct _USBD_INTERFACE_LIST_ENTRY * | PUSBD_INTERFACE_LIST_ENTRY |
| typedef USBD_FUNCTION_HANDLE * | PUSBD_FUNCTION_HANDLE |
| typedef struct _COMPOSITE_DEVICE_CAPABILITIES | COMPOSITE_DEVICE_CAPABILITIES |
| typedef struct _COMPOSITE_DEVICE_CAPABILITIES * | PCOMPOSITE_DEVICE_CAPABILITIES |
| typedef struct _REGISTER_COMPOSITE_DEVICE | REGISTER_COMPOSITE_DEVICE |
| typedef struct _REGISTER_COMPOSITE_DEVICE * | PREGISTER_COMPOSITE_DEVICE |
| typedef struct _REQUEST_REMOTE_WAKE_NOTIFICATION | REQUEST_REMOTE_WAKE_NOTIFICATION |
| typedef struct _REQUEST_REMOTE_WAKE_NOTIFICATION * | PREQUEST_REMOTE_WAKE_NOTIFICATION |
| #define DECLSPEC_EXPORT __declspec(dllexport) |
| #define GET_SELECT_CONFIGURATION_REQUEST_SIZE | ( | totalInterfaces, | |
| totalPipes | |||
| ) |
| #define GET_SELECT_INTERFACE_REQUEST_SIZE | ( | totalPipes | ) |
| #define GET_USBD_INTERFACE_SIZE | ( | numEndpoints | ) |
| #define URB_STATUS | ( | urb | ) | ((urb)->UrbHeader.Status) |
| #define UsbBuildGetDescriptorRequest | ( | urb, | |
| length, | |||
| descriptorType, | |||
| descriptorIndex, | |||
| languageId, | |||
| transferBuffer, | |||
| transferBufferMDL, | |||
| transferBufferLength, | |||
| link | |||
| ) |
| #define UsbBuildInterruptOrBulkTransferRequest | ( | urb, | |
| length, | |||
| pipeHandle, | |||
| transferBuffer, | |||
| transferBufferMDL, | |||
| transferBufferLength, | |||
| transferFlags, | |||
| link | |||
| ) |
| #define UsbBuildOsFeatureDescriptorRequest | ( | urb, | |
| length, | |||
| interface, | |||
| index, | |||
| transferBuffer, | |||
| transferBufferMDL, | |||
| transferBufferLength, | |||
| link | |||
| ) |
| #define UsbBuildSelectInterfaceRequest | ( | urb, | |
| length, | |||
| configurationHandle, | |||
| interfaceNumber, | |||
| alternateSetting | |||
| ) |
| #define UsbBuildVendorRequest | ( | urb, | |
| cmd, | |||
| length, | |||
| transferFlags, | |||
| reservedbits, | |||
| request, | |||
| value, | |||
| index, | |||
| transferBuffer, | |||
| transferBufferMDL, | |||
| transferBufferLength, | |||
| link | |||
| ) |
| typedef USBD_FUNCTION_HANDLE* PUSBD_FUNCTION_HANDLE |
| _In_ ULONG _In_reads_bytes_ | ( | KeyNameLength | ) |
| _Inout_updates_bytes_ | ( | ParameterLength | ) |
| _Must_inspect_result_ _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
| [in] | IoControlCode | The IOCTL to send to the device. |
| [in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
| [in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
| [in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
| [out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
| [in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
| [in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
Nothing is found unless the PCI bus driver publishes the properties.
The root hub name without its prefix; NULL when the PDO has no name.
Grows a private buffer to what the helper asks for.
Lets KMDF handle the IRP, then hands it back here still uncompleted.
Waits for the device machine to answer a PnP or power event; returns the PnP status.
Deletes the UCX endpoints of the disabled pipes, then the interface record.
One 4 byte value; the registry type is not checked.
Reread whenever user experience settings change; the open status is returned.
Sends a synchronous IOCTL to the specified device object.
STATUS_SUCCESS when the caller's token is an administrator's.
Sends a synchronous IOCTL to the specified device object.
Reads one value of a walk. A missing value only clears Present; FALSE means stop.
Reads up to Size bytes of a value into a zeroed buffer; the type is not checked.
Writes a REG_BINARY value into the device's usbflags subkey.
Sets or clears ExtPropertiesInstalled from ExtPropDescSemaphore in the hardware key.
Fails only when a port cannot be bound to the USB4 host router its ACPI node names.
Assigns device, hardware, compatible, container and instance ids to a new child PDO.
Answers IRP_MN_QUERY_DEVICE_TEXT on a child PDO; always completes the IRP.
Takes the connector map lock, needed around HubConnectorFindCompanion.
Device hardware key values read at PDO prepare hardware.
Saves the MS OS 2.0 set info in usbflags when the set asks for alternate enumeration.
MsOs20Flags and EnumerationRetryCount, written at PDO start.
Rereads the UXD record; UpdateRequired says whether the device id changes.
Replacement PnP id of a UXD reserved device, or an empty String. Always succeeds.
Telemetry values under the device's Ceip subkey.
BootPathSurpriseRemovalCount + 1.
This machine's dual role features for a dual role partner.
Tells UCX the WDM PDO of the device; call right after the child PDO was created.
IOCTL_INTERNAL_USB_GET_CONTROLLER_NAME: Argument1 and its length Argument2.
IOCTL_INTERNAL_USB_GET_BUS_INFO for the device: the 16 byte USB_BUS_NOTIFICATION at Argument1.
Registers the GUID_USB_WMI_NODE_INFO instance of a child PDO (not for hubs or composites).
Registers the boot device surprise removal event on an external, non hub boot PDO.
Fires the boot device surprise removal event, if one is registered.
Sends a synchronous IOCTL to the specified device object.
Publishes "<port>#<host>" for every bound port on the hub's PDO. QUIRK: with no bound port an older value is left in place.
Binds USB 3 ports to the host routers named by the USB4 DVSEC; an earlier ACPI mapping wins.
Waits on a PnP handshake event with no timeout, printing a watchdog line every minute so a stuck machine is visible in the debugger.
Copies up to Size bytes of a device property; a failed query leaves the field zero.
Only the controller name length is real; both bandwidth fields read 0.
The answer overlays a USB_HUB_NAME on TotalSize, so TotalSize comes back as the name length + 4.
Evaluates a method without arguments into Output.
Drops every MSI descriptor and keeps only lists that still offer a line interrupt.
Picks the list with the best MSI offer: MSI-X first, then the most messages.
Keeps message descriptors covering Wanted messages and removes the others.
Evaluates _DSM on the controller ACPI object with a buffer as Arg3; returns up to 8 result bytes, 0 on failure.
Definition at line 2121 of file class.c.
| _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
| [in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
| [in] | Process | The process for which the buffer should be probed and locked. |
| [in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
| [in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
| [in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
| [in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 37 of file cddata.c.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
IOCTL_INTERNAL_USB_SUBMIT_IDLE_NOTIFICATION; the idle machine owns the IRP afterwards.
Records hub over current in the hub hardware key, once per devnode.
First selective suspend of the device; the registry write runs in a work item.
"USB device not recognized" popup for a port.
A hub was attached beyond the allowed tier depth.
The selected configuration draws more power than the port can give.
The controller ran out of bandwidth for the device; fired by the out of bandwidth timer.
Definition at line 77 of file common.c.
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
| [in] | SecurityInformation | Security information details to be queried from a security descriptor. |
| [out] | SecurityDescriptor | The returned security descriptor with security information data. |
| [in,out] | Length | The returned length of a security descriptor. |
| [in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | SecurityDescriptor | A security descriptor to be freed from memory. |
| [in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | ObjectType | The type of the new object. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | SecurityDescriptor | A security descriptor. |
| [out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Definition at line 923 of file Messaging.c.
|
pure virtual |
| _Must_inspect_result_ _In_ const GUID _In_ ULONG _Out_writes_bytes_to_opt_ | ( | OutputBufferLength | , |
| * | ResultLength | ||
| ) |
| _In_ ULONG _Outptr_result_bytebuffer_ | ( | sizeof(struct _URB_ISOCH_TRANSFER)+(NumberOfIsochPackets *sizeof(USBD_ISO_PACKET_DESCRIPTOR)) - sizeof(USBD_ISO_PACKET_DESCRIPTOR) | ) |
|
pure virtual |
| _Must_inspect_result_ _In_ const GUID _In_ ULONG _Out_opt_ _When_ | ( | ResultLength ! | = NULL, |
| _Deref_out_range_(<=, OutputBufferLength) | |||
| ) |
| DECLARE_HANDLE | ( | USBD_FUNCTION_HANDLE | ) |
| DECLARE_HANDLE | ( | USBD_HANDLE | ) |
| DECLARE_HANDLE | ( | USBDI_HANDLE | ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_CHAINED_MDLS | , |
| 0xf5ceeb23 | , | ||
| 0xad90 | , | ||
| 0x458c | , | ||
| 0x97 | , | ||
| 0x9a | , | ||
| 0xd5 | , | ||
| 0x9b | , | ||
| 0x3a | , | ||
| 0xd6 | , | ||
| 0x88 | , | ||
| 0x4f | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_CONTROLLER_EUSB2_DOUBLE_ISOCH_COMPATIBLE | , |
| 0x5f0e4b3f | , | ||
| 0xde94 | , | ||
| 0x473a | , | ||
| 0xa3 | , | ||
| 0x73 | , | ||
| 0x78 | , | ||
| 0x1a | , | ||
| 0xcb | , | ||
| 0x92 | , | ||
| 0xb5 | , | ||
| 0xe8 | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_DEVICE_CONNECTION_HIGH_SPEED_COMPATIBLE | , |
| 0x81a885a6 | , | ||
| 0xf239 | , | ||
| 0x42a2 | , | ||
| 0x83 | , | ||
| 0x97 | , | ||
| 0xa5 | , | ||
| 0xd9 | , | ||
| 0x5b | , | ||
| 0xea | , | ||
| 0x69 | , | ||
| 0x53 | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_DEVICE_CONNECTION_SUPER_SPEED_COMPATIBLE | , |
| 0x8a2f776c | , | ||
| 0x9bd0 | , | ||
| 0x4f29 | , | ||
| 0x97 | , | ||
| 0x71 | , | ||
| 0xc7 | , | ||
| 0xa3 | , | ||
| 0x88 | , | ||
| 0x46 | , | ||
| 0xd4 | , | ||
| 0xc7 | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_FUNCTION_SUSPEND | , |
| 0xf4563183 | , | ||
| 0xd66e | , | ||
| 0x42bd | , | ||
| 0xbd | , | ||
| 0x53 | , | ||
| 0x1a | , | ||
| 0xc7 | , | ||
| 0xb0 | , | ||
| 0x4c | , | ||
| 0xd5 | , | ||
| 0x9d | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_HIGH_BANDWIDTH_ISOCH | , |
| 0x9c8a8a27 | , | ||
| 0x15f9 | , | ||
| 0x42e3 | , | ||
| 0xa3 | , | ||
| 0x56 | , | ||
| 0xcd | , | ||
| 0xa6 | , | ||
| 0xae | , | ||
| 0x97 | , | ||
| 0xa8 | , | ||
| 0xc8 | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_SELECTIVE_SUSPEND | , |
| 0x755c630d | , | ||
| 0xc8a0 | , | ||
| 0x4765 | , | ||
| 0x94 | , | ||
| 0x6f | , | ||
| 0x90 | , | ||
| 0xcc | , | ||
| 0x70 | , | ||
| 0x38 | , | ||
| 0x56 | , | ||
| 0xa4 | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_SSP_ISOCH_PIPE_FLAGS | , |
| 0x59819125 | , | ||
| 0x33a3 | , | ||
| 0x421a | , | ||
| 0xa5 | , | ||
| 0xdd | , | ||
| 0x37 | , | ||
| 0x63 | , | ||
| 0x9f | , | ||
| 0x30 | , | ||
| 0xb9 | , | ||
| 0x3e | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_STATIC_STREAMS | , |
| 0x09051e1f | , | ||
| 0x0dc9 | , | ||
| 0x4e6b | , | ||
| 0x8b | , | ||
| 0x12 | , | ||
| 0x96 | , | ||
| 0x0c | , | ||
| 0xbd | , | ||
| 0x81 | , | ||
| 0xaa | , | ||
| 0x8f | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_TIME_SYNC | , |
| 0xbb6e6472 | , | ||
| 0x4be5 | , | ||
| 0x44a3 | , | ||
| 0x96 | , | ||
| 0x41 | , | ||
| 0x34 | , | ||
| 0x5e | , | ||
| 0x56 | , | ||
| 0xac | , | ||
| 0x34 | , | ||
| 0x85 | |||
| ) |
| DECLSPEC_IMPORT PURB NTAPI USBD_CreateConfigurationRequest | ( | _In_ PUSB_CONFIGURATION_DESCRIPTOR | ConfigurationDescriptor, |
| _Out_ PUSHORT | Siz | ||
| ) |
| DECLSPEC_IMPORT PUSB_INTERFACE_DESCRIPTOR NTAPI USBD_ParseConfigurationDescriptor | ( | _In_ PUSB_CONFIGURATION_DESCRIPTOR | ConfigurationDescriptor, |
| _In_ UCHAR | InterfaceNumber, | ||
| _In_ UCHAR | AlternateSetting | ||
| ) |
| DECLSPEC_EXPORT NTSTATUS NTAPI USBD_QueryBusTime | ( | _In_ PDEVICE_OBJECT | RootHubPdo, |
| _Out_ PULONG | CurrentFrame | ||
| ) |
Definition at line 197 of file usbdlib.h.
Referenced by FxUsbParseConfigurationDescriptor(), HubChildSettingFiltered(), USBD_ParseConfigurationDescriptor(), and USBD_ParseConfigurationDescriptorEx().
Definition at line 216 of file usbdlib.h.
Referenced by FindNextFileW(), OHCI_MapTransferToTD(), OHCI_ProcessDoneTD(), PataPioDataIn(), PataPioDataOut(), PointerFree(), test_pack_MIDL_STUB_MESSAGE(), USBD_GetInterfaceLength(), USBH_IoctlGetNodeName(), and USBPORT_QueueTransferUrb().
| _In_ COMPOSITE_DEVICE_CAPABILITIES CapabilityFlags |
| _In_opt_ PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor |
Definition at line 331 of file usbdlib.h.
Referenced by AllocateInterfaceDescriptorsArray(), CountTerminalUnits(), CountTopologyComponents(), DumpConfigurationDescriptor(), DumpFullConfigurationDescriptor(), GetMaxPacketSizeForInterface(), FxUsbDevice::SelectConfigInterfaces(), SelectInterfaces(), UcxClientSelectConfigXrbBuild(), UsbAudioGetDataRanges(), UsbAudioGetNonStreamingTerminalDescriptorByIndex(), UsbAudioGetStreamingTerminalDescriptorByIndex(), USBAudioSelectAudioStreamingInterface(), USBAudioSelectConfiguration(), USBAudioStartDevice(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_CountAssociationDescriptors(), USBCCGP_GetAssociationDescriptorAtIndex(), USBCCGP_InitInterfaceListOfFunctionDescriptor(), USBCCGP_LegacyEnum(), USBCCGP_ScanConfigurationDescriptor(), USBD_CreateConfigurationRequestEx(), USBD_ParseConfigurationDescriptor(), USBD_ParseConfigurationDescriptorEx(), UsbdexBuildSelectConfigUrb(), and USBSTOR_ScanConfigurationDescriptor().
| _In_ USBD_CONFIGURATION_HANDLE ConfigurationHandle |
Definition at line 187 of file usbdlib.h.
Referenced by AcpiRsSetResourceHeader(), ArbpDescriptorMatchesArbiter(), FxUsbFindDescriptorType(), FxUsbUmInitDescriptorUrb(), FxUsbValidateDescriptorType(), Hid_GetDescriptor(), USBAudioGetDescriptor(), USBCCGP_GetDescriptor(), USBD_ParseDescriptors(), and USBSTOR_GetDescriptor().
Definition at line 252 of file usbdlib.h.
Referenced by XhciTransferRing::OnUntargetedTransferEvent(), and USBD_CalculateUsbBandwidth().
| _In_ PDEVICE_OBJECT FilterDeviceObject |
| _In_ COMPOSITE_DEVICE_CAPABILITIES _In_ ULONG FunctionCount |
Definition at line 373 of file usbdlib.h.
Referenced by PciQueryEjectionRelations().
Definition at line 198 of file usbdlib.h.
Referenced by FindTestInterface(), START_TEST(), Test_InterfaceBuiltins(), and USBD_ParseConfigurationDescriptorEx().
Definition at line 208 of file usbdlib.h.
Referenced by _RpcEnumInterfaces(), CInputPin::CreatePin(), COutputPin::CreatePin(), EnumMonikerImpl_Clone(), FxUsbCreateConfigRequest(), getInterfaces(), Hid_SelectConfiguration(), IrotEnumRunning(), CInputPin::KsQueryInterfaces(), COutputPin::KsQueryInterfaces(), PciQueryInterface(), RunningObjectTableImpl_EnumRunning(), UcxClientSelectConfigXrbBuild(), USBAudioSelectConfiguration(), USBD_CreateConfigurationRequestEx(), UsbdexBuildSelectConfigUrb(), USBH_OpenConfiguration(), and USBSTOR_SelectConfigurationAndInterface().
| _In_ USBD_CONFIGURATION_HANDLE _Inout_ PUSBD_INTERFACE_LIST_ENTRY InterfaceListEntry |
Definition at line 342 of file usbdlib.h.
Referenced by SetupDiEnumDeviceInterfaces(), SetupDiOpenDeviceInterfaceW(), and UsbdexBuildSelectInterfaceUrb().
Definition at line 196 of file usbdlib.h.
Referenced by FxUsbParseConfigurationDescriptor(), FxUsbDevice::GetInterfaceFromNumber(), FxUsbDevice::GetInterfaceNumberFromInterface(), HubChildSettingFiltered(), FxUsbPipe::InitPipe(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_PdoAppendInterfaceNumber(), USBD_CreateConfigurationRequestEx(), USBD_ParseConfigurationDescriptor(), USBD_ParseConfigurationDescriptorEx(), USBPORT_GetInterfaceHandle(), and USBPORT_ParseConfigurationDescriptor().
Definition at line 200 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx().
Definition at line 199 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx().
| _In_ PIO_STACK_LOCATION IoStackLocation |
Definition at line 357 of file usbdlib.h.
Referenced by CmBattGetAcpiInterfaces(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattPowerDispatch(), CompBattAddNewBattery(), CompBattMonitorIrpComplete(), CompBattMonitorIrpCompleteWorker(), CompBattPnpDispatch(), DeviceControlHandler(), DriverCleanup(), DriverCreate(), DriverDispatch(), DriverIoControl(), Ext2MountVolume(), Ext2QueryDirectory(), Ext2QueryFileInformation(), Ext2QueryVolumeInformation(), Ext2ReadFile(), Ext2ReadVolume(), Ext2SetFileInformation(), Ext2SetVolumeInformation(), Ext2UserFsRequest(), Ext2WriteFile(), Ext2WriteVolume(), FsRtlGetFileSize(), FsRtlProcessFileLock(), FstubReadSector(), FstubWriteSector(), HalpDispatchPnp(), IopClearStackLocation(), IopDisassociateThreadIrp(), IopInitiatePnpIrp(), IopSynchronousCall(), KsecDdDispatch(), NpGetConnectionAttribute(), NpQueryClientProcess(), NpSetClientProcess(), PciDebugIrpDispatchDisplay(), PciDispatchIrp(), PciFdoIrpCancelRemoveDevice(), PciFdoIrpCancelStopDevice(), PciFdoIrpDeviceUsageNotification(), PciFdoIrpQueryCapabilities(), PciFdoIrpQueryDeviceRelations(), PciFdoIrpQueryInterface(), PciFdoIrpQueryLegacyBusInformation(), PciFdoIrpQueryPower(), PciFdoIrpQueryRemoveDevice(), PciFdoIrpQueryStopDevice(), PciFdoIrpRemoveDevice(), PciFdoIrpStartDevice(), PciFdoIrpStopDevice(), PciFdoIrpSurpriseRemoval(), PciFdoSetPowerState(), PciFdoSystemPowerCompletion(), PciFdoWaitWake(), PciGetDeviceCapabilities(), PciIrpInvalidDeviceRequest(), PciIrpNotSupported(), PciPassIrpFromFdoToPdo(), PciPdoDevicePowerWorker(), PciPdoIrpCancelRemoveDevice(), PciPdoIrpCancelStopDevice(), PciPdoIrpDeviceUsageNotification(), PciPdoIrpQueryBusInformation(), PciPdoIrpQueryCapabilities(), PciPdoIrpQueryDeviceRelations(), PciPdoIrpQueryDeviceState(), PciPdoIrpQueryDeviceText(), PciPdoIrpQueryId(), PciPdoIrpQueryInterface(), PciPdoIrpQueryLegacyBusInformation(), PciPdoIrpQueryPower(), PciPdoIrpQueryRemoveDevice(), PciPdoIrpQueryResourceRequirements(), PciPdoIrpQueryResources(), PciPdoIrpQueryStopDevice(), PciPdoIrpReadConfig(), PciPdoIrpRemoveDevice(), PciPdoIrpStartDevice(), PciPdoIrpStopDevice(), PciPdoIrpSurpriseRemoval(), PciPdoIrpWriteConfig(), PciPdoReadWriteConfig(), PciPdoSetPowerState(), PciPdoWaitWake(), PciQueryForPciBusInterface(), PciSendDeviceUsageToParent(), PciUpdateDeviceUsage(), RamdiskCreateRamdisk(), RamdiskDeviceControl(), RamdiskGetPartitionInfo(), RamdiskPnp(), RamdiskPower(), RamdiskQueryCapabilities(), RamdiskQueryDeviceText(), RamdiskQueryId(), RamdiskReadWrite(), RamdiskReadWriteReal(), RamdiskWorkerThread(), RawCleanup(), RawClose(), RawCompletionRoutine(), RawCreate(), RawDispatch(), RawFileSystemControl(), RawMountVolume(), RawQueryInformation(), RawQueryVolumeInformation(), RawReadWriteDeviceControl(), RawSetInformation(), RawUserFsCtrl(), RequestedPowerCompletion(), RequestedPowerIrpHandler(), TestDirectoryControl(), TestDispatch(), TestIrpHandler(), TestQueryInformation(), TestSetInformation(), USBD_AssignUrbToIoStackLocation(), WmipIoControl(), xHalExamineMBR(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().
Definition at line 235 of file usbdlib.h.
Referenced by CmpComputeHashValue(), IoOpenDeviceRegistryKey(), and USBD_GetPdoRegistryParameter().
Definition at line 253 of file usbdlib.h.
Referenced by USBD_CalculateUsbBandwidth().
Definition at line 233 of file usbdlib.h.
Referenced by BusLogic_Command(), UcxUserRequest::CheckParameterLength(), ClasspDeviceGetLBAStatusWorker(), UcxHandleUserRequest(), UcxLookupUserRequestSize(), UcxRunUserRequest(), UcxUserPassThru(), and USBD_GetPdoRegistryParameter().
| _In_ COMPOSITE_DEVICE_CAPABILITIES _In_ ULONG _Out_ PREGISTER_COMPOSITE_DEVICE RegisterCompositeDevice |
Definition at line 186 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx(), and USBD_ParseDescriptors().
| _Must_inspect_result_ _In_ PDEVICE_OBJECT TargetDeviceObject |
Definition at line 185 of file usbdlib.h.
Referenced by AcpiRsGetResourceSource(), AcpiRsSetResourceHeader(), AcpiRsSetResourceLength(), BroadcastOpen(), HubMachine::CacheConfigDescriptor(), CmpInitializeMachineDependentConfiguration(), CopyPacketToBuffer(), EvalGetElementSize(), EvalGetPackageCount(), GetAnsiEnvironmentSize(), GetUnicodeEnvironmentSize(), HubDescFind(), IopGetInterfaceDeviceList(), IopQueryCompatibleIds(), IopQueryHardwareIds(), KdpReportCommandStringStateChange(), LsapGetLogonSessionData(), MiniportSend(), MupRerouteOpen(), NdisMStartBufferPhysicalMapping(), NtQueryDirectoryObject(), NvNetSendPacket(), NvNetSendPacketLargeSend(), PdoDeviceControlQueryProperty(), PdoHandleQueryHardwareId(), PdoHandleQueryProperty(), PreloadGlobalMessageTable(), QueryPointsFromSymbolicLinkName(), RegisterBlueScreenMachineInformation(), RtlCopySecurityDescriptor(), RtlExpandEnvironmentStrings(), RtlMakeSelfRelativeSD(), SaveCustomPath(), SpiAdapterControl(), TCPSendDataCallback(), USBD_ParseDescriptors(), USBHUB_DumpingIDs(), USBPORT_DumpingIDs(), USBSTOR_HandleQueryProperty(), and USBSTOR_PdoHandleQueryHardwareId().
Definition at line 333 of file usbdlib.h.
Referenced by __deref_opt_out_bcount(), __in_xcount(), _In_reads_(), _Outptr_opt_result_bytebuffer_(), UcxEndpoint::AbortPipe(), XhciBulkRing::ArrangeBuffer(), XhciControlRing::BuildControlTd(), CallUSBD(), CaptureInitializeUrbAndIrp(), XhciRootHub::ClearHubFeature(), XhciRootHub::ClearPortFeature(), UcxEndpoint::CloseStaticStreams(), XhciEndpoint::CloseStreams(), EndpointMachine::CompleteAbortUrb(), DeviceMachine::CompleteClientRequest(), DeviceMachine::CompleteClientRequestFailed(), DeviceMachine::CompleteClientRequestLastStatus(), XhciRootHub::CompleteHubRequest(), XhciIsochRing::CompleteTd(), FxUsbDevice::CreateIsochUrb(), FxUsbDevice::CreateUrb(), UcxUsbDevice::DispatchManagement(), UcxUsbDevice::FailManagement(), FDO_CloseConfiguration(), XhciIsochRing::Finalize(), DeviceMachine::FindClientPipe(), FxUsbInterface::FormatSelectSettingUrb(), FxFormatUsbRequest(), FxUsbUmFormatRequest(), XhciRootHub::GetHubStatus(), UcxEndpoint::GetIsochPathDelays(), XhciRootHub::GetPortErrorCount(), XhciRootHub::GetPortStatus(), Hid_DisableConfiguration(), Hid_DispatchUrb(), Hid_GetDescriptor(), Hid_GetProtocol(), Hid_SelectConfiguration(), Hid_SetIdle(), HidUsb_AbortPipe(), HidUsb_ReadReport(), HidUsb_ReadReportCompletion(), HidUsb_ResetInterruptPipe(), HubConfigurationComplete(), HubIoGetDescriptor(), HubPatchFailedSelect(), HubPdoCachedDescriptor(), HubPdoEvtIoInternalDeviceControl(), HubPdoForwardSelectLike(), HubPdoMsFeatureDescriptor(), HubPdoPreprocessInternalIoctl(), HubPdoRouteUrb(), HubPdoStampUrb(), HubPdoSyncComplete(), HubPdoValidateUrb(), InitCapturePin(), XhciBulkRing::InitTransfer(), XhciControlRing::InitTransfer(), XhciRootHub::InterruptTransfer(), UcxEndpoint::OpenStaticStreams(), UcxEndpoint::OpenStaticStreamsComplete(), XhciEndpoint::OpenStreams(), XhciIsochRing::PacketsValid(), PDO_HandleInternalDeviceControl(), PinCaptureProcess(), DeviceMachine::PrepareConfigLists(), DeviceMachine::PrepareInterfaceLists(), XhciControlRing::PrepareTransfer(), RenderInitializeUrbAndIrp(), HubMachine::ResetStatusChangePipe(), XhciIsochRing::ScheduleStartFrame(), FxUsbDevice::SelectConfig(), DeviceMachine::SelectConfigValid(), HubMachine::SelectHubConfiguration(), DeviceMachine::SelectInterfaceValid(), FxUsbInterface::SelectSetting(), XhciEndpoint::SendClearStall(), FxUsbDevice::SendSyncUmUrb(), DeviceMachine::SetConfigInfoInRequest(), DeviceMachine::SetInterfaceInfoInRequest(), XhciRootHub::SetPortFeature(), XhciEndpoint::StreamsDisableDone(), XhciEndpoint::StreamsEnableDone(), SubmitUrbSync(), XhciIsochRing::TakeRequest(), UcxBusSubmitIsoOutUrb(), UcxCheckTransferAgainstPipe(), UcxClientAllocIsochUrb(), UcxClientAllocUrb(), UcxClientOffloadNotifyXrbAllocate(), UcxClientOffloadSelectXrbAllocate(), UcxClientReleaseUrb(), UcxClientSelectConfigXrbBuild(), UcxClientSelectInterfaceXrbBuild(), UcxCompleteHeldUrbIrp(), UcxCompleteUrb(), UcxCompleteUrbAtDispatch(), UcxCsqCompleteCanceledAbortIrp(), UcxEvtPendDuringResetIoInternalDeviceControl(), UcxEvtRootHubControlTransfer(), UcxEvtRootHubInterruptTransfer(), UcxFailStreamsUrb(), UcxForwardDefaultPipeRequest(), UcxForwardStreamsUrb(), UcxHandleGetCurrentFrame(), UcxHandleIsoch(), UcxHandleStandardRequest(), UcxIsXrbIrp(), UcxLegacyTransferCompletion(), UcxLockTransferBuffer(), UcxPrepareTransfer(), UcxProcessLegacyUrb(), UcxProcessSubmitUrb(), UcxSetTransferDirection(), UcxSetupPacket(), UcxStampProcessorNumber(), UcxUnlockTransferBuffer(), UcxXrbCheckOnSubmit(), UcxXrbFixUnprocessed(), UcxXrbFromUrb(), UcxXrbMarkInactive(), UcxXrbStreamsCompletion(), UcxXrbSubmitChainedMdlTransfer(), UcxXrbSubmitTransfer(), UcxXrbTransferCompletion(), XhciTransferRing::UrbProcessorIndex(), UsbAudioAllocCaptureUrbIso(), UsbAudioCaptureComplete(), USBAudioGetDescriptor(), UsbAudioGetSetProperty(), UsbAudioRenderComplete(), USBAudioSelectAudioStreamingInterface(), USBAudioSelectConfiguration(), UsbAudioSetFormat(), USBAudioStartDevice(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_GetDescriptor(), USBCCGP_PDOSelectConfiguration(), USBCCGP_SelectConfiguration(), USBCCGP_SelectInterface(), USBD_AssignUrbToIoStackLocation(), USBD_CreateConfigurationRequestEx(), USBD_IsochUrbAllocate(), USBD_UrbAllocate(), USBD_UrbFree(), UsbdexBuildSelectConfigUrb(), UsbdexBuildSelectInterfaceUrb(), UsbdexFinishAllocation(), UsbdexStartAllocation(), USBH_AbortInterruptPipe(), USBH_ChangeIndicationAckChange(), USBH_ChangeIndicationQueryChange(), USBH_FdoSyncSubmitUrb(), USBH_GetDeviceDescriptor(), USBH_IoctlGetDescriptor(), USBH_OpenConfiguration(), USBH_PdoIoctlSubmitUrb(), USBH_PdoUrbFilter(), USBH_ResetInterruptPipe(), USBH_SelectConfigOrInterfaceComplete(), USBH_SubmitStatusChangeTransfer(), USBH_SyncGetDeviceConfigurationDescriptor(), USBH_SyncGetStatus(), USBH_SyncGetStringDescriptor(), USBH_SyncSubmitUrb(), USBH_Transact(), USBPORT_AbortPipe(), USBPORT_AllocateTransfer(), USBPORT_CancelActiveTransferIrp(), USBPORT_CancelPendingTransferIrp(), USBPORT_ClearStall(), USBPORT_CompleteTransfer(), USBPORT_DmaEndpointPaused(), USBPORT_DoneTransfer(), USBPORT_DumpingURB(), USBPORT_FindUrbInIrpTable(), USBPORT_FlushAbortList(), USBPORT_FlushPendingTransfers(), USBPORT_HandleDataTransfers(), USBPORT_HandleGetConfiguration(), USBPORT_HandleGetCurrentFrame(), USBPORT_HandleGetSetDescriptor(), USBPORT_HandleGetStatus(), USBPORT_HandleSelectConfiguration(), USBPORT_HandleSelectInterface(), USBPORT_HandleSetOrClearFeature(), USBPORT_HandleSubmitURB(), USBPORT_HandleVendorOrClass(), USBPORT_MapTransfer(), USBPORT_OpenInterface(), USBPORT_QueueActiveUrbToEndpoint(), USBPORT_QueuePendingTransferIrp(), USBPORT_QueuePendingUrbToEndpoint(), USBPORT_QueueTransferUrb(), USBPORT_ResetPipe(), USBPORT_RootHubEndpoint0(), USBPORT_RootHubSCE(), USBPORT_SendSetupPacket(), USBPORT_SyncResetPipeAndClearStall(), USBPORT_USBDStatusToNtStatus(), USBPORT_ValidateTransferParametersURB(), USBPORT_ValidateURB(), USBSTOR_ClassRequest(), USBSTOR_GetDescriptor(), USBSTOR_GetEndpointStatus(), USBSTOR_ResetPipeWithHandle(), USBSTOR_SelectConfigurationAndInterface(), WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB(), WDF_USB_INTERFACE_SELECT_SETTING_PARAMS_INIT_URB(), XhciControlRing::WriteTd(), XhciHubRequestBuffer(), XhciIsochPacketLength(), XhciRingExamineForwardProgress(), XhciSetupOf(), and XhciTraceBadRequest().
| _Must_inspect_result_ _In_ PDEVICE_OBJECT _In_ ULONG USBDClientContractVersion |
Definition at line 279 of file usbdlib.h.
Referenced by _IRQL_requires_(), USBD_CreateHandle(), and WDF_USB_DEVICE_CREATE_CONFIG_INIT().
| _Must_inspect_result_ _In_ PDEVICE_OBJECT _In_ ULONG _In_ ULONG _Out_ USBD_HANDLE* USBDHandle |
Definition at line 281 of file usbdlib.h.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), FxUsbDeviceControlContext::AllocateUrb(), FxUsbDeviceStringContext::AllocateUrb(), FxUsbPipeTransferContext::AllocateUrb(), FxUsbPipeRequestContext::AllocateUrb(), USBD_AssignUrbToIoStackLocation(), USBD_CloseHandle(), USBD_CreateHandle(), USBD_IsochUrbAllocate(), USBD_QueryUsbCapability(), USBD_UrbAllocate(), USBD_UrbFree(), and UsbdexHandleObject().