ExRaiseStatus function (wdm.h)

The ExRaiseStatus routine is called by drivers that supply structured exception handlers to handle particular errors that occur while they are processing I/O requests.

Syntax

void ExRaiseStatus(
  [in] NTSTATUS Status
);

Parameters

[in] Status

Specifies one of the system-defined STATUS_XXX values.

Return value

None

Remarks

Highest-level drivers, particularly file systems, can call ExRaiseStatus.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=APC_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), IrqlExPassive(wdm)

See also

ExRaiseAccessViolation

ExRaiseDatatypeMisalignment

IoAllocateErrorLogEntry

KeBugCheckEx