ChangerGetStatus - NtDoc

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

NTSTATUS ChangerGetStatus(
  [in] PDEVICE_OBJECT DeviceObject,
  [in] PIRP           Irp
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-mcd-changergetstatus)

ChangerGetStatus function

Description

ChangerGetStatus handles the device-specific aspects of a device-control IRP with the IOCTL code IOCTL_CHANGER_GET_STATUS.

Parameters

DeviceObject [in]

Pointer to the device object that represents the changer.

Irp [in]

Pointer to the IRP.

Return value

ChangerGetStatus returns the STATUS_XXX value returned by the system port driver. If there is not enough memory to process the request or to process the STATUS_XXX value returned by the system port driver ChangerGetStatus returns STATUS_INSUFFICIENT_RESOURCES.

Remarks

This routine is required.

ChangerGetStatus indicates whether the changer is able to accept requests.

ChangerGetStatus builds an SRB with a CDB to get the changer's status (using the SCSI command TEST UNIT READY or non-SCSI equivalent) and sends it to the system port driver to obtain status of the changer.

See also

ChangerGetElementStatus

IOCTL_CHANGER_GET_STATUS