ReactOS  0.4.13-dev-100-gc8611ae
usbdlib.h File Reference
This graph shows which files directly or indirectly include this file:

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_ENTRYPUSBD_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)
 

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_ PUCHAROffset
 
_In_ ULONG _In_ USHORT _Out_ PUCHAR _In_opt_ ULONG Tag
 

Macro Definition Documentation

◆ DECLSPEC_EXPORT

#define DECLSPEC_EXPORT   __declspec(dllexport)

Definition at line 4 of file usbdlib.h.

◆ GET_ISO_URB_SIZE

#define GET_ISO_URB_SIZE (   n)
Value:
(sizeof(struct _URB_ISOCH_TRANSFER)+ \
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
GLdouble n
Definition: glext.h:7729

Definition at line 112 of file usbdlib.h.

◆ GET_SELECT_CONFIGURATION_REQUEST_SIZE

#define GET_SELECT_CONFIGURATION_REQUEST_SIZE (   totalInterfaces,
  totalPipes 
)
Value:
(sizeof(struct _URB_SELECT_CONFIGURATION) + \
((totalInterfaces-1) * sizeof(USBD_INTERFACE_INFORMATION)) + \
((totalPipes-totalInterfaces)*sizeof(USBD_PIPE_INFORMATION)))
struct _USBD_INTERFACE_INFORMATION USBD_INTERFACE_INFORMATION

Definition at line 99 of file usbdlib.h.

◆ GET_SELECT_INTERFACE_REQUEST_SIZE

#define GET_SELECT_INTERFACE_REQUEST_SIZE (   totalPipes)
Value:
(sizeof(struct _URB_SELECT_INTERFACE) + \
((totalPipes-1)*sizeof(USBD_PIPE_INFORMATION)))
struct _USBD_PIPE_INFORMATION USBD_PIPE_INFORMATION

Definition at line 104 of file usbdlib.h.

◆ GET_USBD_INTERFACE_SIZE

#define GET_USBD_INTERFACE_SIZE (   numEndpoints)
Value:
(sizeof(USBD_PIPE_INFORMATION)*(numEndpoints)) - sizeof(USBD_PIPE_INFORMATION))
struct _USBD_INTERFACE_INFORMATION USBD_INTERFACE_INFORMATION
struct _USBD_PIPE_INFORMATION USBD_PIPE_INFORMATION

Definition at line 108 of file usbdlib.h.

◆ URB_STATUS

#define URB_STATUS (   urb)    ((urb)->UrbHeader.Status)

Definition at line 97 of file usbdlib.h.

◆ UsbBuildFeatureRequest

#define UsbBuildFeatureRequest (   urb,
  op,
  featureSelector,
  index,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = (op); \
(urb)->UrbHeader.Length = sizeof(struct _URB_CONTROL_FEATURE_REQUEST); \
(urb)->UrbControlFeatureRequest.FeatureSelector = (featureSelector); \
(urb)->UrbControlFeatureRequest.Index = (index); \
(urb)->UrbControlFeatureRequest.UrbLink = (link); \
}
GLuint index
Definition: glext.h:6031
UINT op
Definition: effect.c:223
const WCHAR * link
Definition: db.cpp:985

Definition at line 45 of file usbdlib.h.

◆ UsbBuildGetDescriptorRequest

#define UsbBuildGetDescriptorRequest (   urb,
  length,
  descriptorType,
  descriptorIndex,
  languageId,
  transferBuffer,
  transferBufferMDL,
  transferBufferLength,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbControlDescriptorRequest.TransferBufferLength = (transferBufferLength); \
(urb)->UrbControlDescriptorRequest.TransferBufferMDL = (transferBufferMDL); \
(urb)->UrbControlDescriptorRequest.TransferBuffer = (transferBuffer); \
(urb)->UrbControlDescriptorRequest.DescriptorType = (descriptorType); \
(urb)->UrbControlDescriptorRequest.Index = (descriptorIndex); \
(urb)->UrbControlDescriptorRequest.LanguageId = (languageId); \
(urb)->UrbControlDescriptorRequest.UrbLink = (link); \
}
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
#define URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE
Definition: usb.h:97
const WCHAR * link
Definition: db.cpp:985

Definition at line 23 of file usbdlib.h.

◆ UsbBuildGetStatusRequest

#define UsbBuildGetStatusRequest (   urb,
  op,
  index,
  transferBuffer,
  transferBufferMDL,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = (op); \
(urb)->UrbHeader.Length = sizeof(struct _URB_CONTROL_GET_STATUS_REQUEST); \
(urb)->UrbControlGetStatusRequest.TransferBufferLength = sizeof(USHORT); \
(urb)->UrbControlGetStatusRequest.TransferBufferMDL = (transferBufferMDL); \
(urb)->UrbControlGetStatusRequest.TransferBuffer = (transferBuffer); \
(urb)->UrbControlGetStatusRequest.Index = (index); \
(urb)->UrbControlGetStatusRequest.UrbLink = (link); \
}
GLuint index
Definition: glext.h:6031
unsigned short USHORT
Definition: pedump.c:61
UINT op
Definition: effect.c:223
const WCHAR * link
Definition: db.cpp:985

Definition at line 35 of file usbdlib.h.

◆ UsbBuildInterruptOrBulkTransferRequest

#define UsbBuildInterruptOrBulkTransferRequest (   urb,
  length,
  pipeHandle,
  transferBuffer,
  transferBufferMDL,
  transferBufferLength,
  transferFlags,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbBulkOrInterruptTransfer.PipeHandle = (pipeHandle); \
(urb)->UrbBulkOrInterruptTransfer.TransferBufferLength = (transferBufferLength); \
(urb)->UrbBulkOrInterruptTransfer.TransferBufferMDL = (transferBufferMDL); \
(urb)->UrbBulkOrInterruptTransfer.TransferBuffer = (transferBuffer); \
(urb)->UrbBulkOrInterruptTransfer.TransferFlags = (transferFlags); \
(urb)->UrbBulkOrInterruptTransfer.UrbLink = (link); \
}
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
const WCHAR * link
Definition: db.cpp:985
#define URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER
Definition: usb.h:95

Definition at line 12 of file usbdlib.h.

◆ UsbBuildOsFeatureDescriptorRequest

#define UsbBuildOsFeatureDescriptorRequest (   urb,
  length,
  interface,
  index,
  transferBuffer,
  transferBufferMDL,
  transferBufferLength,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = URB_FUNCTION_GET_MS_FEATURE_DESCRIPTOR; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbOSFeatureDescriptorRequest.TransferBufferLength = (transferBufferLength); \
(urb)->UrbOSFeatureDescriptorRequest.TransferBufferMDL = (transferBufferMDL); \
(urb)->UrbOSFeatureDescriptorRequest.TransferBuffer = (transferBuffer); \
(urb)->UrbOSFeatureDescriptorRequest.InterfaceNumber = (interface); \
(urb)->UrbOSFeatureDescriptorRequest.MS_FeatureDescriptorIndex = (index); \
urb)->UrbOSFeatureDescriptorRequest.UrbLink = (link); \
}
GLuint index
Definition: glext.h:6031
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
#define interface
Definition: basetyps.h:61
const WCHAR * link
Definition: db.cpp:985

Definition at line 84 of file usbdlib.h.

◆ UsbBuildSelectConfigurationRequest

#define UsbBuildSelectConfigurationRequest (   urb,
  length,
  configurationDescriptor 
)
Value:
{ \
(urb)->UrbHeader.Function = URB_FUNCTION_SELECT_CONFIGURATION; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbSelectConfiguration.ConfigurationDescriptor = (configurationDescriptor); \
}
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
#define URB_FUNCTION_SELECT_CONFIGURATION
Definition: usb.h:86

Definition at line 53 of file usbdlib.h.

◆ UsbBuildSelectInterfaceRequest

#define UsbBuildSelectInterfaceRequest (   urb,
  length,
  configurationHandle,
  interfaceNumber,
  alternateSetting 
)
Value:
{ \
(urb)->UrbHeader.Function = URB_FUNCTION_SELECT_INTERFACE; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbSelectInterface.Interface.AlternateSetting = (alternateSetting); \
(urb)->UrbSelectInterface.Interface.InterfaceNumber = (interfaceNumber); \
(urb)->UrbSelectInterface.Interface.Length = (length - sizeof(struct _URB_HEADER) - sizeof(USBD_CONFIGURATION_HANDLE)); \
(urb)->UrbSelectInterface.ConfigurationHandle = (configurationHandle); \
}
PVOID USBD_CONFIGURATION_HANDLE
Definition: usb.h:230
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
#define URB_FUNCTION_SELECT_INTERFACE
Definition: usb.h:87

Definition at line 59 of file usbdlib.h.

◆ UsbBuildVendorRequest

#define UsbBuildVendorRequest (   urb,
  cmd,
  length,
  transferFlags,
  reservedbits,
  request,
  value,
  index,
  transferBuffer,
  transferBufferMDL,
  transferBufferLength,
  link 
)
Value:
{ \
(urb)->UrbHeader.Function = cmd; \
(urb)->UrbHeader.Length = (length); \
(urb)->UrbControlVendorClassRequest.TransferBufferLength = (transferBufferLength); \
(urb)->UrbControlVendorClassRequest.TransferBufferMDL = (transferBufferMDL); \
(urb)->UrbControlVendorClassRequest.TransferBuffer = (transferBuffer); \
(urb)->UrbControlVendorClassRequest.RequestTypeReservedBits = (reservedbits); \
(urb)->UrbControlVendorClassRequest.Request = (request); \
(urb)->UrbControlVendorClassRequest.Value = (value); \
(urb)->UrbControlVendorClassRequest.Index = (index); \
(urb)->UrbControlVendorClassRequest.TransferFlags = (transferFlags); \
(urb)->UrbControlVendorClassRequest.UrbLink = (link); \
}
Definition: ftp_var.h:139
GLuint index
Definition: glext.h:6031
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
Definition: tftpd.h:85
const WCHAR * link
Definition: db.cpp:985

Definition at line 68 of file usbdlib.h.

Typedef Documentation

◆ PUSBD_INTERFACE_LIST_ENTRY

◆ USBD_INTERFACE_LIST_ENTRY

Function Documentation

◆ _In_reads_bytes_()

_In_ ULONG _In_reads_bytes_ ( KeyNameLength  )

◆ _Inout_updates_bytes_()

_Inout_updates_bytes_ ( ParameterLength  )

◆ _IRQL_requires_max_() [1/3]

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 30 of file rmap.c.

36 {
38 }
#define TAG_RMAP
Definition: tag.h:133
#define P(row, col)
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1099

◆ _IRQL_requires_max_() [2/3]

_IRQL_requires_max_ ( APC_LEVEL  )

◆ _IRQL_requires_max_() [3/3]

_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Definition at line 64 of file Messaging.c.

75 {
76  PFLT_SERVER_PORT_OBJECT PortObject;
78 
79  /* The caller must allow at least one connection */
80  if (MaxConnections == 0)
81  {
83  }
84 
85  /* The request must be for a kernel handle */
86  if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87  {
89  }
90 
91  /*
92  * Get rundown protection on the target to stop the owner
93  * from unloading whilst this port object is open. It gets
94  * removed in the FltpServerPortClose callback
95  */
97  if (!NT_SUCCESS(Status))
98  {
99  return Status;
100  }
101 
102  /* Create the server port object for this filter */
106  KernelMode,
107  NULL,
108  sizeof(FLT_SERVER_PORT_OBJECT),
109  0,
110  0,
111  (PVOID *)&PortObject);
112  if (NT_SUCCESS(Status))
113  {
114  /* Zero out the struct */
115  RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116 
117  /* Increment the ref count on the target filter */
119 
120  /* Setup the filter port object */
121  PortObject->Filter = Filter;
122  PortObject->ConnectNotify = ConnectNotifyCallback;
124  PortObject->MessageNotify = MessageNotifyCallback;
125  PortObject->Cookie = ServerPortCookie;
126  PortObject->MaxConnections = MaxConnections;
127 
128  /* Insert the object */
129  Status = ObInsertObject(PortObject,
130  NULL,
132  0,
133  NULL,
135  if (NT_SUCCESS(Status))
136  {
137  /* Lock the connection list */
139 
140  /* Add the new port object to the connection list and increment the count */
143 
144  /* Unlock the connection list*/
146  }
147  }
148 
149  if (!NT_SUCCESS(Status))
150  {
151  /* Allow the filter to be cleaned up */
153  }
154 
155  return Status;
156 }
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
_Must_inspect_result_ _Outptr_ PFLT_PORT * ServerPort
Definition: fltkernel.h:1873
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
LONG NTSTATUS
Definition: precomp.h:26
#define InsertTailList(ListHead, Entry)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
LIST_ENTRY mList
Definition: fltmgrint.h:56
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1802
#define FILE_READ_DATA
Definition: nt_native.h:628
smooth NULL
Definition: ftsmooth.c:416
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
Definition: oblife.c:952
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1873
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1873
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2932
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1873
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY _In_ LONG MaxConnections
Definition: fltkernel.h:1873
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1873
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121

◆ USBD_CreateConfigurationRequest()

DECLSPEC_IMPORT PURB NTAPI USBD_CreateConfigurationRequest ( _In_ PUSB_CONFIGURATION_DESCRIPTOR  ConfigurationDescriptor,
_Out_ PUSHORT  Siz 
)

◆ USBD_ParseConfigurationDescriptor()

DECLSPEC_IMPORT PUSB_INTERFACE_DESCRIPTOR NTAPI USBD_ParseConfigurationDescriptor ( _In_ PUSB_CONFIGURATION_DESCRIPTOR  ConfigurationDescriptor,
_In_ UCHAR  InterfaceNumber,
_In_ UCHAR  AlternateSetting 
)

◆ USBD_QueryBusTime()

DECLSPEC_EXPORT NTSTATUS NTAPI USBD_QueryBusTime ( _In_ PDEVICE_OBJECT  RootHubPdo,
_Out_ PULONG  CurrentFrame 
)

Variable Documentation

◆ AlternateSetting

_In_ PVOID _In_ LONG _In_ LONG AlternateSetting

◆ BufferEnd

◆ BufferLength

_In_ ULONG BufferLength

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().

◆ DescriptorType

◆ EndpointType

_In_ UCHAR EndpointType

Definition at line 212 of file usbdlib.h.

Referenced by USBD_CalculateUsbBandwidth().

◆ FilterDeviceObject

_In_ PDEVICE_OBJECT FilterDeviceObject

Definition at line 184 of file usbdlib.h.

◆ InterfaceClass

_In_ PVOID _In_ LONG _In_ LONG _In_ LONG InterfaceClass

Definition at line 155 of file usbdlib.h.

Referenced by USBD_ParseConfigurationDescriptorEx().

◆ InterfaceList

◆ InterfaceNumber

◆ InterfaceProtocol

Definition at line 155 of file usbdlib.h.

Referenced by USBD_ParseConfigurationDescriptorEx().

◆ InterfaceSubClass

_In_ PVOID _In_ LONG _In_ LONG _In_ LONG _In_ LONG InterfaceSubClass

Definition at line 155 of file usbdlib.h.

Referenced by USBD_ParseConfigurationDescriptorEx().

◆ KeyNameLength

_In_ ULONG _In_ ULONG KeyNameLength

Definition at line 195 of file usbdlib.h.

Referenced by IoOpenDeviceRegistryKey(), and USBD_GetPdoRegistryParameter().

◆ Level

Definition at line 225 of file usbdlib.h.

◆ LowSpeed

_In_ UCHAR _In_ BOOLEAN LowSpeed

Definition at line 212 of file usbdlib.h.

Referenced by USBD_CalculateUsbBandwidth().

◆ Offset

Definition at line 225 of file usbdlib.h.

◆ ParameterLength

_In_ ULONG ParameterLength

Definition at line 193 of file usbdlib.h.

Referenced by BusLogic_Command(), and USBD_GetPdoRegistryParameter().

◆ StartPosition

◆ Tag

Definition at line 225 of file usbdlib.h.

◆ TotalLength