ExRaiseDatatypeMisalignment - NtDoc

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

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

NtDoc

No description available.

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

ExRaiseDatatypeMisalignment function

Description

The ExRaiseDatatypeMisalignment routine can be used with structured exception handling to throw a driver-determined exception for a misaligned data type that occurs when a driver processes I/O requests.

Remarks

ExRaiseDatatypeMisalignment raises an exception with the exception code set to STATUS_DATATYPE_MISALIGNMENT.

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

See also

ExRaiseAccessViolation

ExRaiseStatus

IoAllocateErrorLogEntry

KeBugCheckEx