Bewerken

Delen via


IOCTL_GET_PIPE_CONFIGURATION IOCTL (usbscan.h)

Returns a description of every transfer pipe supported for a device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

NULL.

Input buffer length

Zero.

Output buffer

Pointer to a USBSCAN_PIPE_CONFIGURATION 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_PIPE_CONFIGURATION I/O control code, the caller must specify the address of a USBSCAN_PIPE_CONFIGURATION 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

Requirement Value
Header usbscan.h (include Usbscan.h)