windows - KeEnterGuardedRegion() vs. KeRaiseIrql(APC_LEVEL, &old_irql) -


there 2 ways disable apcs:

  1. call keenterguardedregion();

  2. 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

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -