USBUSER_REQUEST_HEADER structure (usbuser.h)
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
Requirement | Value |
---|---|
Header | usbuser.h (include Usbuser.h) |