KeLeaveCriticalRegion function

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

Syntax

NTKERNELAPI VOID KeLeaveCriticalRegion(

);

Parameters

This function 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

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header ntddk.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<= APC_LEVEL"
DDI compliance rules CriticalRegions, IrqlKeApcLte2, WithinCriticalRegion, HwStorPortProhibitedDDIs, WithinCriticalRegion(storport)

See Also

KeAreApcsDisabled

KeEnterCriticalRegion