IOCTL_GET_CHANNEL_ALIGN_RQST - NtDoc

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

// CTL_CODE(0x8000, 0x805, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GET_CHANNEL_ALIGN_RQST 0x80002014
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbscan-ioctl_get_channel_align_rqst)

IOCTL_GET_CHANNEL_ALIGN_RQST IOCTL

Description

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

Parameters

Major code

Input buffer

NULL.

Input buffer length

Zero.

Output buffer

Pointer to a CHANNEL_INFO structure.

Output buffer length

Size of the output buffer.

Input/output buffer

Input/output buffer length

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.