IOCTL_GET_CHANNEL_ALIGN_RQST IOCTL

Returns a USB device's maximum packet size for the read, write, and interrupt transfer pipes associated with the specified device handle.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

NULL.

Input Buffer Length

Zero.

Output Buffer

Pointer to a CHANNEL_INFO structure.

Output Buffer Length

Size of the output buffer.

Status Block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

Remarks

DeviceIoControl Parameters

When the DeviceloControl function is called with the IOCTL_GET_CHANNEL_ALIGN_RQST I/O control code, the caller must specify the address of a CHANNEL_INFO structure as the function's lpOutBuffer parameter. The kernel-mode driver fills in the structure.

For more information, see Accessing Kernel-Mode Drivers for Still Image Devices.

Requirements

   
Header usbscan.h (include Usbscan.h)