Funzione KeEnterGuardedRegion (ntddk.h)

La routine KeEnterGuardedRegion entra in un'area protetta, che disabilita il recapito APC in modalità kernel al thread corrente.

Sintassi

void KeEnterGuardedRegion();

Valore restituito

nessuno

Osservazioni

Per uscire da un'area protetta immessa con KeEnterGuardedRegion, chiamare la routine KeLeaveGuardedRegion . Le aree protette possono essere annidate. Le API non vengono riabilitabili fino a quando il thread esce dall'area protetta più esterna.

Per altre informazioni sulle aree protette, vedere Aree critiche e aree protette.

Requisiti

Requisito Valore
Client minimo supportato Disponibile in Windows Server 2003 e versioni successive di Windows.
Piattaforma di destinazione Universale
Intestazione ntddk.h (include Wdm.h, Ntddk.h, Ntifs.h)
Libreria NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL
Regole di conformità DDI GuardedRegions(wdm), HwStorPortProhibitedDDDIs(storport), IrqlKeApcLte2(wdm), WithinCriticalRegion(wdm)

Vedi anche

KeLeaveGuardedRegion