The KeLeaveCriticalRegion routine reenables the delivery of normal kernel-mode APCs that were disabled by a preceding call to KeEnterCriticalRegion.
VOID
KeLeaveCriticalRegion(
);
None
None
Declared in ntddk.h. Include ntddk.h.
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.