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.
Highest-level drivers, particularly file system drivers, call this routine.
Callers of IoRaiseHardError must be running at IRQL < DISPATCH_LEVEL.
IoGetRelatedDeviceObject, IoIsTotalDeviceFailure, IoSetHardErrorOrVerifyDevice