// usbdlib.h
void UsbBuildGetStatusRequest(
[in, out] urb,
[in] op,
[in] index,
[in, optional] transferBuffer,
[in, optional] transferBufferMDL,
[in] link
);
View the official Windows Driver Kit DDI reference
No description available.
The UsbBuildGetStatusRequest macro formats an URB to obtain status from a device, interface, endpoint, or other device-defined target on a USB device.
urb
[in, out]Pointer to an URB to be formatted as a status request.
op
[in]Specifies one of the following values:
Retrieves status from a USB device.
Retrieves status from an interface on a USB device.
Retrieves status from an endpoint for an interface on a USB device.
Retrieves status from a device-defined target on a USB device.
index
[in]Specifies the device-defined index, returned by a successful configuration request, if the request is for an endpoint or interface. Otherwise, Index must be zero.
transferBuffer
[in, optional]Pointer to a resident buffer to receive the status data or is NULL if an MDL is supplied in TransferBufferMDL.
transferBufferMDL
[in, optional]Pointer to an MDL that describes a resident buffer to receive the status data or is NULL if a buffer is supplied in TransferBuffer.
link
[in]Reserved. Must be set to NULL.
USB device driver programming reference
_URB_CONTROL_GET_STATUS_REQUEST