Expand Minimize

KeAreAllApcsDisabled routine

The KeAreAllApcsDisabled routine indicates whether the calling thread is inside a guarded region or running at IRQL >= APC_LEVEL, which disables all APC delivery.

Syntax


BOOLEAN KeAreAllApcsDisabled(void);

Parameters

This routine has no parameters.

Return value

KeAreAllApcsDisabled returns TRUE if the calling thread is inside a guarded region or running at IRQL >= APC_LEVEL, and FALSE otherwise.

Remarks

A thread inside a guarded region or running at IRQL >= APC_LEVEL has all APCs disabled, including special kernel APCs.

Requirements

Version

Available in Windows Server 2003 and later versions of Windows.

Header

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

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

HwStorPortProhibitedDDIs

See also

KeAreApcsDisabled

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft