IoRaiseHardError

VOID
    IoRaiseHardError(

        IN PIRP  Irp,
        IN PVPB  Vpb,            /* optional */
        IN PDEVICE_OBJECT  RealDeviceObject
        );

IoRaiseHardError causes a popup to be sent to the user, warning about device I/O errors that can indicate a physical device might be failing.

Parameters

Irp
Points to the IRP that failed because of a device I/O error.
Vpb
Points to the volume parameter block for the mounted file object.
RealDeviceObject
Points to the device object representing the physical device on which the I/O operation failed.

Comments

Highest-level drivers, particularly file system drivers, call this routine.

Callers of IoRaiseHardError must be running at IRQL < DISPATCH_LEVEL.

See Also

IoGetRelatedDeviceObject, IoIsTotalDeviceFailure, IoSetHardErrorOrVerifyDevice