Previous Next

KeLeaveCriticalRegion

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

VOID 
  KeLeaveCriticalRegion(
    );

Parameters

None

Return Value

None

Headers

Declared in ntddk.h. Include ntddk.h.

Comments

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

Callers of KeLeaveCriticalRegion must be running at IRQL <= DISPATCH_LEVEL.

See Also

KeAreApcsDisabled, KeEnterCriticalRegion