ExRaiseAccessViolation - NtDoc

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

VOID ExRaiseAccessViolation();
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-exraiseaccessviolation)

ExRaiseAccessViolation function

Description

The ExRaiseAccessViolation routine can be used with structured exception handling to throw a driver-determined exception for a memory access violation that occurs when a driver processes I/O requests.

Remarks

ExRaiseAccessViolation raises an exception with the exception code set to STATUS_ACCESS_VIOLATION.

Because ExRaiseAccessViolation can only be used at IRQL = PASSIVE_LEVEL, only high-level drivers typically use this routine—for example, file system drivers.

See also

ExRaiseDatatypeMisalignment

ExRaiseStatus

IoAllocateErrorLogEntry

KeBugCheckEx