windows - KeEnterGuardedRegion() vs. KeRaiseIrql(APC_LEVEL, &old_irql) -
there 2 ways disable apcs:
call
keenterguardedregion();
call
keraiseirql(apc_level, &old_irql);
what's difference?
see msdn documentation titled disabling apcs:
using guarded region faster raising , lowering current irql, guarded regions available in windows server 2003 , later versions of windows.
so, if code needs support windows xp, use keraiseirql
.
if not, use keenterguardedregion
.
Comments
Post a Comment