UsbBuildOsFeatureDescriptorRequest macro
The UsbBuildOsFeatureDescriptorRequest macro formats an URB to request a Microsoft OS feature descriptor.
Syntax
void UsbBuildOsFeatureDescriptorRequest( [in, out] PURB Urb, [in] USHORT Length, [in] UCHAR Interface, [in] USHORT Index, [in, optional] PVOID TransferBuffer , [in, optional] PMDL TransferBufferMDL , [in] ULONG TransferBufferLength );
Parameters
- Urb [in, out]
-
Pointer to a caller-allocated URB structure to be formatted as a request for a Microsoft OS feature descriptor.
- Length [in]
-
Specifies the size, in bytes, of the URB structure.
- Interface [in]
-
Specifies the interface number for the requested Microsoft OS feature descriptor.
- Index [in]
-
Specifies the index number of the requested Microsoft OS feature descriptor.
- TransferBuffer [in, optional]
-
Pointer to a resident buffer that receives the descriptor data. If an MDL is supplied in TransferBufferMDL, then TransferBuffer is NULL.
- TransferBufferMDL [in, optional]
-
Pointer to an MDL that describes a resident buffer that receives the descriptor. If a buffer is supplied in TransferBuffer, then TransferBufferMDL is NULL. The MDL must be allocated from nonpaged pool.
- TransferBufferLength [in]
-
Specifies the length, in bytes, of the buffer specified in TransferBuffer or TransferBufferMDL.
Return value
This macro does not return a value.
Requirements
Header |
|
---|
See also
Send comments about this topic to Microsoft
Build date: 12/5/2013