RtlFreeUTF8String function (wdm.h)

The RtlFreeUTF8String function releases storage that was allocated by RtlUnicodeStringToUTF8String.

Syntax

NTSYSAPI VOID RtlFreeUTF8String(
  PUTF8_STRING utf8String
);

Parameters

utf8String

Pointer to the UTF8 string buffer previously allocated by RtlUnicodeStringToUTF8String.

Remarks

This routine only releases the UTF8 string buffer passed to it; it does not release the Unicode string buffer passed to RtlUnicodeStringToUTF8String.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header wdm.h
IRQL PASSIVE_LEVEL

See also

RtlUnicodeStringToUTF8String