Skip to content

Latest commit

 

History

History
117 lines (78 loc) · 3.68 KB

ns-usb-_urb_control_get_status_request.md

File metadata and controls

117 lines (78 loc) · 3.68 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:usb._URB_CONTROL_GET_STATUS_REQUEST
_URB_CONTROL_GET_STATUS_REQUEST (usb.h)
The _URB_CONTROL_GET_STATUS_REQUEST structure is used by USB client drivers to retrieve status from a device, interface, endpoint, or other device-defined target.
buses\_urb_control_get_status_request.htm
usbref
05/07/2018
URB_CONTROL_GET_STATUS_REQUEST structure
_URB_CONTROL_GET_STATUS_REQUEST, _URB_CONTROL_GET_STATUS_REQUEST structure [Buses], buses._urb_control_get_status_request, usb/_URB_CONTROL_GET_STATUS_REQUEST, usbstrct_b91864c5-b19a-492d-a5dc-1fabdf4c37f9.xml
usb.h
Usb.h
Windows
Windows
_URB_CONTROL_GET_STATUS_REQUEST
usb/_URB_CONTROL_GET_STATUS_REQUEST
APIRef
kbSyntax
HeaderDef
usb.h
_URB_CONTROL_GET_STATUS_REQUEST

_URB_CONTROL_GET_STATUS_REQUEST structure

-description

The _URB_CONTROL_GET_STATUS_REQUEST structure is used by USB client drivers to retrieve status from a device, interface, endpoint, or other device-defined target.

-struct-fields

-field Hdr

Pointer to a _URB_HEADER structure that specifies the URB header information. Hdr.Length must be sizeof(_URB_CONTROL_GET_STATUS_REQUEST), and Hdr.Function must be one of the following values:

  • URB_FUNCTION_GET_STATUS_FROM_DEVICE
  • URB_FUNCTION_GET_STATUS_FROM_INTERFACE
  • URB_FUNCTION_GET_STATUS_FROM_ENDPOINT
  • URB_FUNCTION_GET_STATUS_FROM_OTHER

-field Reserved

Reserved. Do not use.

-field Reserved0

Reserved. Do not use.

-field TransferBufferLength

Must be 2. This member specifies the length, in bytes, of the buffer specified in TransferBuffer or described in TransferBufferMDL. The host controller driver returns the number of bytes sent to or read from the pipe in this member.

-field TransferBuffer

Pointer to a resident buffer for the transfer or is NULL if an MDL is supplied in TransferBufferMDL. The bus driver returns a single byte specifying the status for the target.

-field TransferBufferMDL

Pointer to an MDL that describes a resident buffer or is NULL if a buffer is supplied in TransferBuffer. The bus driver returns a single byte specifying the status for the target. This MDL must be allocated from nonpaged pool.

-field UrbLink

Reserved. Do not use.

-field hca

Reserved. Do not use.

-field Reserved1

Reserved. Do not use.

-field Index

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.

-field Reserved2

Reserved. Do not use.

-remarks

Drivers can use the UsbBuildGetStatusRequest service routine to format this URB.

The reserved members of this structure must be treated as opaque and are reserved for system use.

-see-also

URB

USB Structures

_URB_HEADER