Condividi tramite


Funzione RtlFlushNonVolatileMemoryRanges (ntddk.h)

La routine RtlFlushNonVolatileMemoryRanges scarica in modo ottimale le aree di memoria non volatili indicate.

Sintassi

NTSYSAPI NTSTATUS RtlFlushNonVolatileMemoryRanges(
  PVOID            NvToken,
  PNV_MEMORY_RANGE NvRanges,
  SIZE_T           NumRanges,
  ULONG            Flags
);

Parametri

NvToken

Puntatore a una struttura opaca con informazioni sulle varie proprietà dell'area di memoria non volatile che RtlGetNonVolatileToken restituito.

NvRanges

Specifica una matrice di strutture NV_MEMORY_RANGE che descrivono le aree di memoria non volatili da scaricare

NumRanges

Specifica il numero di elementi nella matrice NVRanges.

Flags

Per i flag specificati, fare riferimento RtlFlushNonVolatileMemory poiché questa routine rispetta anche i flag oltre a passarlo a RtlFlushNonVolatileMemory.

Valore restituito

La routine RtlFlushNonVolatileMemoryRanges restituisce una delle opzioni seguenti:

Codice restituito Descrizione
STATUS_INVALID_PARAMETER
NvToken è un puntatore o un token non valido.
STATUS_SUCCESS
La richiesta ha avuto esito positivo.

Osservazioni

Questa routine non è attualmente supportata per Windows Server fino alla versione principale successiva di Windows Server.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10, versione 1703
server minimo supportato Nessuna supportata
piattaforma di destinazione Finestre
intestazione ntddk.h (include Winnt.h)

Vedere anche

RtlDrainNonVolatileFlush

RtlFlushNonVolatileMemory

RtlFreeNonVolatileToken

RtlGetNonVolatileToken

RtlWriteNonVolatileMemory