RtlFreeNonVolatileToken function (ntddk.h)

The routine RtlFreeNonVolatileToken is a cleanup function for the opaque NvToken which is given by a successful call to RtlGetNonVolatileToken.

Syntax

NTSYSAPI NTSTATUS RtlFreeNonVolatileToken(
  [in] PVOID NvToken
);

Parameters

[in] NvToken

A pointer to an opaque structure that has information about various properties of the non-volatile memory region which RtlGetNonVolatileToken had returned.

Return value

The routine RtlFreeNonVolatileToken returns one of the status codes:

Return code Description
STATUS_INVALID_PARAMETER
NvToken is an invalid pointer or token.
STATUS_SUCCESS
The request was successful.

Remarks

This routine is currently not supported for Windows Server until the next major release of Windows Server.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703
Minimum supported server None supported
Target Platform Windows
Header ntddk.h (include Winnt.h)

See also

RtlDrainNonVolatileFlush

RtlFlushNonVolatileMemory

RtlFlushNonVolatileMemoryRanges

RtlGetNonVolatileToken

RtlWriteNonVolatileMemory