Export (0) Print
Expand All
URB
Expand Minimize

USBUSER_REQUEST_HEADER structure

The USBUSER_REQUEST_HEADER structure is used with the IOCTL_USB_USER_REQUEST I/O control request to send a user-mode request to the USB host controller driver.

Syntax


typedef struct _USBUSER_REQUEST_HEADER {
  ULONG               UsbUserRequest;
  USB_USER_ERROR_CODE UsbUserStatusCode;
  ULONG               RequestBufferLength;
  ULONG               ActualBufferLength;
} USBUSER_REQUEST_HEADER, *PUSBUSER_REQUEST_HEADER;

Members

UsbUserRequest

The user-mode request. For a list and description of possible values for this member, see IOCTL_USB_USER_REQUEST.

UsbUserStatusCode

The status code that is returned by port driver.

RequestBufferLength

The size, in bytes, of the data buffer. The same buffer is used for both input and output.

ActualBufferLength

The size, in bytes, of the data that is retrieved by the request.

Remarks

The USBUSER_REQUEST_HEADER structure is used with the IOCTL_USB_USER_REQUEST I/O control request to send a user-mode request to the USB port driver.

Requirements

Header

Usbuser.h (include Usbuser.h)

See also

IOCTL_USB_USER_REQUEST
USB Structures

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft