ReactOS
0.4.12-dev-685-gf36cbf7
|
Go to the source code of this file.
Classes | |
struct | _USBD_INTERFACE_LIST_ENTRY |
Macros | |
#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) |
Typedefs | |
typedef struct _USBD_INTERFACE_LIST_ENTRY | USBD_INTERFACE_LIST_ENTRY |
typedef struct _USBD_INTERFACE_LIST_ENTRY * | PUSBD_INTERFACE_LIST_ENTRY |
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) |
#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 | |||
) |
_In_ ULONG _In_reads_bytes_ | ( | KeyNameLength | ) |
_Inout_updates_bytes_ | ( | ParameterLength | ) |
_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 64 of file Messaging.c.
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 155 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptor(), and USBD_ParseConfigurationDescriptorEx().
Definition at line 176 of file usbdlib.h.
Referenced by FindNextFileW(), OHCI_ControlTransfer(), OHCI_MapTransferToTD(), OHCI_ProcessDoneTD(), PointerFree(), test_pack_MIDL_STUB_MESSAGE(), USBD_GetInterfaceLength(), USBH_IoctlGetNodeName(), and USBPORT_QueueTransferUrb().
Definition at line 225 of file usbdlib.h.
Referenced by AcpiDsBuildInternalBufferObj(), AcpiExExtractFromField(), AcpiExInsertIntoField(), AcpiExReadDataFromField(), AcpiExReadSerialBus(), AcpiExWriteDataToField(), AcpiExWriteSerialBus(), AcpiPsGetNextField(), AcpiRegQueryValue(), AddBootStoreEntry(), AdjustTokenGroups(), AdjustTokenPrivileges(), AfdSend(), AfdSendTo(), ata_send_scsi(), BasepMoveFileDelayed(), BuildInteractiveProfileBuffer(), BusLogic_QueueCommand(), CdCreateUserMdl(), ClassSendSrbAsynchronous(), ClassSendSrbSynchronous(), CmBattQueryInformation(), CmpFileRead(), CmpFileWrite(), CmpQuerySecurityDescriptor(), CmpSecurityMethod(), CUSBDevice::CommitSetupPacket(), CompareFileContents(), CompBattQueryInformation(), ConMgrWriteData(), CopyHostentToBuffer(), CopyProtoentToBuffer(), CopyServentToBuffer(), DECLARE_INTERFACE_(), DefaultQueryInfoBufferCheck(), DefaultSetInfoBufferCheck(), DoQuery(), FatBufferUserBuffer(), FatGetStatistics(), FatLockUserBuffer(), FilterLoadUnload(), FsdGetFsAttributeInformation(), FsdGetFsDeviceInformation(), FsdGetFsFullSizeInformation(), FsdGetFsSizeInformation(), FsdGetFsVolumeInformation(), FsRtlCancelNotify(), FsRtlValidateReparsePointBuffer(), CUSBDevice::GetConfigurationDescriptors(), GetDisplayIdentifier(), CHubController::GetHubControllerSymbolicLink(), GetTListInfo(), handle_gdb_write_mem(), CHubController::HandleGetDescriptor(), HandleLoadUnloadIoctl(), HidD_GetIndexedString(), HidD_GetManufacturerString(), HidD_GetMsGenreDescriptor(), HidD_GetPhysicalDescriptor(), HidD_GetProductString(), HidD_GetSerialNumberString(), HidD_Hello(), HidUsb_GetReportDescriptor(), CUSBRequest::InitDescriptor(), IoBuildDeviceIoControlRequest(), IoGetDeviceProperty(), IopDeviceFsIoControl(), IopGetSetSecurityObject(), IopInstallCriticalDevice(), IsValidPnpIdString(), KsecQueryFileInformation(), KsecQueryVolumeInformation(), LookupNodeByAddr(), LpcpCopyRequestData(), LsapRegEnumerateSubKey(), LsapRegEnumerateValue(), LsapRegQueryValue(), m_CtxOpen(), MapAndLockUserBuffer(), MiniAdapterHasAddress(), MixerThreadRoutine(), MsfsQueryInformation(), MsfsQueryMailslotInformation(), MsfsSetInformation(), MsfsSetMailslotInformation(), NtAdjustPrivilegesToken(), NtfsGetBasicInformation(), NtfsGetBothDirectoryInformation(), NtfsGetDirectoryInformation(), NtfsGetFsAttributeInformation(), NtfsGetFsDeviceInformation(), NtfsGetFsSizeInformation(), NtfsGetFsVolumeInformation(), NtfsGetFullDirectoryInformation(), NtfsGetInternalInformation(), NtfsGetNameInformation(), NtfsGetNamesInformation(), NtfsGetNetworkOpenInformation(), NtfsGetPositionInformation(), NtfsGetStandardInformation(), NtfsGetSteamInformation(), NtfsQueryDirectory(), NtfsQueryInformation(), NtfsQueryVolumeInformation(), NtfsSetInformation(), NtLdrEnumerateBootEntries(), NtPlugPlayControl(), NtQueryDirectoryObject(), NtReadRequestData(), NtWriteRequestData(), ODBC32_SQLBindCol(), ODBC32_SQLColAttribute(), ODBC32_SQLColAttributeW(), ODBC32_SQLDescribeCol(), ODBC32_SQLDescribeColW(), ODBC32_SQLError(), ODBC32_SQLErrorW(), ODBC32_SQLGetConnectAttr(), ODBC32_SQLGetConnectAttrW(), ODBC32_SQLGetCursorName(), ODBC32_SQLGetCursorNameW(), ODBC32_SQLGetData(), ODBC32_SQLGetDescField(), ODBC32_SQLGetDescFieldW(), ODBC32_SQLGetDescRec(), ODBC32_SQLGetDescRecW(), ODBC32_SQLGetDiagField(), ODBC32_SQLGetDiagFieldW(), ODBC32_SQLGetDiagRec(), ODBC32_SQLGetDiagRecW(), ODBC32_SQLGetEnvAttr(), ODBC32_SQLGetInfo(), ODBC32_SQLGetInfoW(), ODBC32_SQLGetStmtAttr(), ODBC32_SQLGetStmtAttrW(), ODBC32_SQLSetDescField(), ODBC32_SQLSetDescFieldW(), PcGetDeviceProperty(), PciGetDeviceProperty(), PciIdeXGetBusData(), PciIdeXSetBusData(), PerformChannelConversion(), PerformInternalLookup(), PerformLookup(), PerformQualityConversion(), PerformSampleRateConversion(), PiGetDeviceRegistryProperty(), Pin_fnFastWrite(), PrintD2(), PrintDebug(), ProcessorSetFriendlyName(), RasSecurityDialogSend(), ReadString(), ReportDetectedPnpDevice(), RPCRT4_BuildRequestHeader(), RPCRT4_BuildResponseHeader(), RPCRT4_Send(), RPCRT4_SendWithAuth(), RtlAbsoluteToSelfRelativeSD(), RtlCopySid(), RtlGetFullPathName_UEx(), RtlMakeSelfRelativeSD(), RtlpNtEnumerateSubKey(), RtlpNtQueryValueKey(), RxGetStringRegistryParameter(), RxLockUserBuffer(), safe_buffer_length_increment(), SampGetLogonHoursAttribute(), SampRegEnumerateSubKey(), SampRegEnumerateValue(), SampRegQueryValue(), SampSetLogonHoursAttribute(), ScmCheckDriver(), ScmGetDriverStatus(), ScsiClassSendSrbAsynchronous(), ScsiClassSendSrbSynchronous(), ScsiPortGetPhysicalAddress(), SerialQueryInformation(), SeSetWorldSecurityDescriptor(), START_TEST(), CUSBDevice::SubmitSetupPacket(), TdiReceive(), TdiReceiveDatagram(), TdiSend(), TdiSendDatagram(), test_pack_MIDL_STUB_MESSAGE(), test_pack_RPC_MESSAGE(), TestIrpHandler(), UDFCommonFileInfo(), UDFGetStatistics(), UDFQueryDirectory(), UhciOpenEndpoint(), CPortPinWaveCyclic::UpdateCommonBuffer(), CPortPinWaveCyclic::UpdateCommonBufferOverlap(), UsbAudioAllocCaptureUrbIso(), USBH_AllocateWorkItem(), USBH_ChangeIndication(), USBH_IoctlGetDescriptor(), USBH_IoctlGetHubCapabilities(), USBH_IoctlGetNodeConnectionAttributes(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBH_IoctlGetNodeConnectionInformation(), USBH_IoctlGetNodeInformation(), USBH_IoctlGetNodeName(), USBPORT_AllocateCommonBuffer(), USBPORT_GetMiniportRegistryKeyValue(), USBPORT_GetRegistryKeyValueFullInfo(), USBPORT_QueueTransferUrb(), USBPORT_RootHubClassCommand(), VfatFastIoQueryBasicInfo(), VfatFastIoQueryStandardInfo(), VfatGetAllInformation(), VfatGetBasicInformation(), VfatGetEaInformation(), VfatGetFileBothInformation(), VfatGetFileDirectoryInformation(), VfatGetFileFullDirectoryInformation(), VfatGetFileNamesInformation(), VfatGetInternalInformation(), VfatGetNameInformation(), VfatGetNetworkOpenInformation(), VfatGetPositionInformation(), VfatGetStandardInformation(), VfatQueryInformation(), VfatQueryVolumeInformation(), VfatSetVolumeInformation(), VfdQueryImage(), ViAllocateUnicodeString(), VideoPortInitWin32kCallbacks(), VideoPortUseDeviceInSession(), WriteFileEx_Remixer(), WSAAsyncGetHostByAddr(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetProtoByNumber(), WSAAsyncGetServByName(), WSAAsyncGetServByPort(), WsAsyncGetHost(), WsAsyncGetProto(), WsAsyncGetServ(), WsNpLookupServiceNext(), WsNqLookupServiceNext(), and WsNqProvLookupServiceNext().
Definition at line 145 of file usbdlib.h.
Referenced by AcpiRsSetResourceHeader(), GetUsbDeviceDescriptor(), Hid_GetDescriptor(), USBAudioGetDescriptor(), USBCCGP_GetDescriptor(), USBD_ParseDescriptors(), and USBSTOR_GetDescriptor().
Definition at line 212 of file usbdlib.h.
Referenced by USBD_CalculateUsbBandwidth().
_In_ PDEVICE_OBJECT FilterDeviceObject |
Definition at line 155 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx().
_In_ PUSBD_INTERFACE_LIST_ENTRY InterfaceList |
Definition at line 168 of file usbdlib.h.
Referenced by _RpcEnumInterfaces(), CUSBDevice::BuildInterfaceDescriptor(), CUSBDevice::CreateConfigurationDescriptor(), CInputPin::CreatePin(), COutputPin::CreatePin(), EnumMonikerImpl_Clone(), getInterfaces(), Hid_SelectConfiguration(), IrotEnumRunning(), COutputPin::KsQueryInterfaces(), CInputPin::KsQueryInterfaces(), PciQueryInterface(), RunningObjectTableImpl_EnumRunning(), CUSBDevice::SelectConfiguration(), CUSBDevice::SelectInterface(), USBAudioSelectConfiguration(), USBD_CreateConfigurationRequestEx(), USBH_OpenConfiguration(), USBHUB_FdoStartDevice(), USBHUB_ParentFDOStartDevice(), and USBSTOR_SelectConfigurationAndInterface().
Definition at line 155 of file usbdlib.h.
Referenced by USBCCGP_BuildConfigurationDescriptor(), USBCCGP_PdoAppendInterfaceNumber(), USBD_CreateConfigurationRequestEx(), USBD_ParseConfigurationDescriptor(), USBD_ParseConfigurationDescriptorEx(), USBPORT_GetInterfaceHandle(), and USBPORT_ParseConfigurationDescriptor().
Definition at line 155 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx().
Definition at line 155 of file usbdlib.h.
Referenced by USBD_ParseConfigurationDescriptorEx().
Definition at line 195 of file usbdlib.h.
Referenced by IoOpenDeviceRegistryKey(), and USBD_GetPdoRegistryParameter().
Definition at line 212 of file usbdlib.h.
Referenced by USBD_CalculateUsbBandwidth().
Definition at line 193 of file usbdlib.h.
Referenced by BusLogic_Command(), and USBD_GetPdoRegistryParameter().
Definition at line 145 of file usbdlib.h.
Referenced by OpenRegistryHandlesFromSymbolicLink(), USBD_ParseConfigurationDescriptorEx(), and USBD_ParseDescriptors().
Definition at line 145 of file usbdlib.h.
Referenced by AcpiRsGetResourceSource(), AcpiRsSetResourceHeader(), AcpiRsSetResourceLength(), BiEnumerateElements(), BroadcastOpen(), CmpInitializeMachineDependentConfiguration(), CopyPacketToBuffer(), DsppLoadFontFile(), GetPackageSize(), IopGetInterfaceDeviceList(), IopQueryCompatibleIds(), IopQueryHardwareIds(), KdpReportCommandStringStateChange(), LsapGetLogonSessionData(), MupRerouteOpen(), NdisMStartBufferPhysicalMapping(), NtQueryDirectoryObject(), PreloadGlobalMessageTable(), QueryPointsFromSymbolicLinkName(), RegisterBlueScreenMachineInformation(), RtlCopySecurityDescriptor(), RtlExpandEnvironmentStrings_U(), RtlMakeSelfRelativeSD(), SaveCustomPath(), SpiAdapterControl(), TCPSendDataCallback(), USBD_ParseDescriptors(), USBHUB_DumpingIDs(), USBPORT_DumpingIDs(), USBSTOR_HandleQueryProperty(), and USBSTOR_PdoHandleQueryHardwareId().