// ntddk.h
NTSYSAPI NTSTATUS RtlDrainNonVolatileFlush(
[in] PVOID NvToken
);
View the official Windows Driver Kit DDI referenceNo description available.
The routine RtlDrainNonVolatileFlush waits for the flushes initiated by RtlFlushNonVolatileMemory to finish.
NvToken [in]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:
| Return code | Description |
|---|---|
| STATUS_INVALID_PARAMETER | NvToken is an invalid pointer or token. |
| STATUS_SUCCESS | 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.
RtlFlushNonVolatileMemoryRanges