Expand Minimize

ExRaiseDatatypeMisalignment routine

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.

Syntax


VOID ExRaiseDatatypeMisalignment(void);

Parameters

This routine has no parameters.

Return value

None

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.

Requirements

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL (see Remarks section)

DDI compliance rules

IrqlExPassive, PowerIrpDDis, HwStorPortProhibitedDDIs

See also

ExRaiseAccessViolation
ExRaiseStatus
IoAllocateErrorLogEntry
KeBugCheckEx

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft