The routine RtlWriteNonVolatileMemory copies the contents of a source buffer to a non-volatile destination memory buffer.
NTSYSAPI NTSTATUS RtlWriteNonVolatileMemory( PVOID NvToken, VOID *NvDestination, VOID *Source, SIZE_T Size, ULONG Flags );
A pointer to an opaque structure that has information about various properties of the non-volatile memory region which RtlGetNonVolatileToken had returned.
A pointer to the non-volatile destination buffer to copy to.
A pointer to the source buffer to copy from.
The length, in bytes, of the copy operation.
Reserved for future use.
The routine RtlWriteNonVolatileMemory returns one of the following:
||NvToken is an invalid pointer or token.|
||The request was successful.|
This is a RtlCopyMemory equivalent for non-volatile memory the value add is only with verifier enabled. When the verifier is enabled, ranges that are modified can be tracked in NvToken and can be reported in RtlFreeNonVolatileToken if a flush is not called for a write. 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)|