IOCTL_SCSISCAN_GET_INFO IOCTL (scsiscan.h)

The IOCTL_SCSISCAN_GET_INFO I/O control code returns device information.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

Set to NULL.

Input buffer length

Set to 0.

Output buffer

Pointer to a SCSISCAN_INFO structure.

Output buffer length

Size of 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

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

Requirements

Requirement Value
Header scsiscan.h (include Scsiscan.h)

See also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously