KeLeaveCriticalRegion routine
KeLeaveCriticalRegion 重启用被前个KeEnterCriticalRegion禁止的普通内核模式APC的投放。
Syntax
VOID KeLeaveCriticalRegion(void);
Parameters
This routine has no parameters.
Return value
None
Remarks
高层驱动当运行在一个请求当前IO操作的线程上下文中的时候能调用这个例程
Requirements
Target platform | |
Version | Available starting with Windows 2000. |
Header | Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= APC_LEVEL |
DDI compliance rules | CriticalRegions, IrqlKeApcLte2, WithinCriticalRegion, HwStorPortProhibitedDDIs,WithinCriticalRegion(storport) |
See also