// mcd.h
NTSTATUS ChangerPerformDiagnostics(
[in] PDEVICE_OBJECT DeviceObject,
PWMI_CHANGER_PROBLEM_DEVICE_ERROR changerDeviceError
);
View the official Windows Driver Kit DDI referenceNo description available.
ChangerPerformDiagnostics performs diagnostic tests on the changer device.
DeviceObject [in]Pointer to the device object that represents the changer.
changerDeviceErrorPointer to the buffer of type WMI_CHANGER_PROBLEM_DEVICE_ERROR in which the minidriver returns the diagnostic information.
ChangerPerformDiagnostics returns the status returned by the system port driver or one of the following values:
STATUS_INSUFFICIENT_RESOURCES
STATUS_BUFFER_TOO_SMALL
ChangerPerformDiagnostics routine performs diagnostic tests on the changer device, and reports the problem to the caller. The kind of tests performed depends on the diagnostics support provided by the device.
WMI_CHANGER_PROBLEM_DEVICE_ERROR