ChangerPerformDiagnostics - NtDoc

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

NTSTATUS ChangerPerformDiagnostics(
  [in] PDEVICE_OBJECT                    DeviceObject,
       PWMI_CHANGER_PROBLEM_DEVICE_ERROR changerDeviceError
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

ChangerPerformDiagnostics function

Description

ChangerPerformDiagnostics performs diagnostic tests on the changer device.

Parameters

DeviceObject [in]

Pointer to the device object that represents the changer.

changerDeviceError

Pointer to the buffer of type WMI_CHANGER_PROBLEM_DEVICE_ERROR in which the minidriver returns the diagnostic information.

Return value

ChangerPerformDiagnostics returns the status returned by the system port driver or one of the following values:

STATUS_SUCCESS

STATUS_INSUFFICIENT_RESOURCES

STATUS_BUFFER_TOO_SMALL

Remarks

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.

See also

CHANGER_DEVICE_PROBLEM_TYPE

WMI_CHANGER_PROBLEM_DEVICE_ERROR