IO_BLOCK_EX - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbscan.h

typedef struct _IO_BLOCK_EX {
  unsigned uOffset;
  unsigned uLength;
  PUCHAR   pbyData;
  unsigned uIndex;
  UCHAR    bRequest;
  UCHAR    bmRequestType;
  UCHAR    fTransferDirectionIn;
} IO_BLOCK_EX, *PIO_BLOCK_EX;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-usbscan-_io_block_ex)

_IO_BLOCK_EX structure

Description

The IO_BLOCK_EX structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_SEND_USB_REQUEST. Values contained in structure members are used to create a USB Device Request (described in the Universal Serial Bus Specification).

Members

uOffset

Used as the Value field of a USB Device Request.

uLength

Length of the buffer to transfer.

pbyData

Pointer to a data buffer with a length of uLength.

uIndex

Used as the Index field of a USB Device Request.

bRequest

Used as the bRequest field of a USB Device Request.

bmRequestType

Used as the bmRequestType field of a USB Device Request.

fTransferDirectionIn

TRUE for transfers from device to host; FALSE for transfers from host to device.