The routine RtlDrainNonVolatileFlush waits for the flushes initiated by RtlFlushNonVolatileMemory to finish.
NTSYSAPI NTSTATUS RtlDrainNonVolatileFlush( PVOID NvToken );
A pointer to an opaque structure that has information about various properties of the non-volatile memory region which RtlGetNonVolatileToken had returned.
The routine RtlDrainNonVolatileFlush returns one of the following:
||NvToken is an invalid pointer or token.|
||The request was successful.|
This routine RtlDrainNonVolatileFlush can also add more context to NvToken to help verifiers. This routine is currently not supported for Windows Server until the next major release of Windows Server.
|Windows version||Windows 10, version 1703 None supported|
|Header||ntddk.h (include Winnt.h)|