IOCTL_SCSISCAN_GET_INFO IOCTL

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

   
Header scsiscan.h (include Scsiscan.h)

See Also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously