Expand Minimize

KeLeaveCriticalRegion routine

The KeLeaveCriticalRegion routine reenables the delivery of normal kernel-mode APCs that were disabled by a preceding call to KeEnterCriticalRegion.

Syntax


VOID KeLeaveCriticalRegion(void);

Parameters

This routine has no parameters.

Return value

None

Remarks

Highest-level drivers can call this routine while running in the context of the thread that requested the current I/O operation.

Requirements

Version

Available starting with Windows 2000.

Header

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

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

DDI compliance rules

CriticalRegions, IrqlKeApcLte2, WithinCriticalRegion, HwStorPortProhibitedDDIs, WithinCriticalRegion(storport)

See also

KeAreApcsDisabled
KeEnterCriticalRegion

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft