The routine, RtlGetNonVolatileToken, gets various properties about a non-volatile memory buffer and stores them in the variable NvToken.
NTSYSAPI NTSTATUS RtlGetNonVolatileToken( PVOID NvBuffer, SIZE_T Size, PVOID *NvToken );
A pointer to the non-volatile memory that the returned NvToken is going to track state for. This should be an address obtained from a file mapping object.
The length, in bytes, of the non-volatile memory buffer NvBuffer points to.
A pointer to an opaque structure that tracks information about the given non-volatile memory region which RtlGetNonVolatileToken had returned.
The routine RtlGetNonVolatileToken returns one of the status codes:
||The caller had insufficient access rights to perform the requested action.|
||The specified base address is outside the range of accessible addresses.|
||The NvBuffer is not the same length as specified inSize.|
||The request was successful.|
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)|