Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ChangerGetStatus function

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

Syntax


NTSTATUS ChangerGetStatus(
  _In_ PDEVICE_OBJECT DeviceObject,
  _In_ PIRP           Irp
);

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.

Requirements

Target platform

Desktop

Header

Mcd.h (include Mcd.h or Ntddchgr.h)

IRQL

PASSIVE_LEVEL

See also

ChangerGetElementStatus
IOCTL_CHANGER_GET_STATUS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft