Export (0) Print
Expand All
Expand Minimize

KeLeaveGuardedRegion routine

The KeLeaveGuardedRegion routine exits a guarded region entered by KeEnterGuardedRegion.

Syntax


VOID KeLeaveGuardedRegion(void);

Parameters

This routine has no parameters.

Return value

None

Remarks

Guarded regions can be nested, so APCs are only reenabled once the thread exists the outermost guarded region.

For more information about guarded regions, see Critical Regions and Guarded Regions.

Requirements

Version

Available in Windows Server 2003 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

DDI compliance rules

GuardedRegions, IrqlKeApcLte2, WithinCriticalRegion, HwStorPortProhibitedDDIs

See also

KeEnterGuardedRegion

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft