IOCTL_MPIO_PASS_THROUGH_PATH - NtDoc

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

// CTL_CODE(0x0004, 0x40f, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_MPIO_PASS_THROUGH_PATH 0x0004D03C
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddscsi-ioctl_mpio_pass_through_path)

IOCTL_MPIO_PASS_THROUGH_PATH IOCTL

Description

This I/O control code allows an application or kernel driver to send an SCSI command to a designated real LUN. The following restrictions apply to the use of this I/O control code:

Parameters

Major code

Input buffer

Parameters.DeviceIoControl.InputBufferLength indicates the size, in bytes, of the buffer at Irp->AssociatedIrp.SystemBuffer.

Input buffer length

The buffer must be at least sizeof(MPIO_PASS_THROUGH_PATH) or, if sent by a 32-bit application in a 64-bit operating system, sizeof(MPIO_PASS_THROUGH_PATH32).

Output buffer

The port driver returns any request-sense data and any data that is transferred from the device to the buffer at Irp->AssociatedIrp.SystemBuffer.

Output buffer length

The SenseInfoLength and DataTransferLength members in the embedded SCSI_PASS_THROUGH structure are updated to indicate the amount of data that is transferred.

Input/output buffer

Input/output buffer length

Status block

The Information field is set to the number of bytes returned in the output buffer at Irp->AssociatedIrp.SystemBuffer. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_BUFFER_TOO_SMALL or STATUS_INVALID_PARAMETER if the input Length value in the embedded SCSI_PASS_THROUGH is improperly set.

See also

MPIO_PASS_THROUGH_PATH

SCSI_PASS_THROUGH