RtlFreeUTF8String - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_10_20H1)

NTSYSAPI
VOID
NTAPI
RtlFreeUTF8String(
    _Inout_ _At_(Utf8String->Buffer, _Frees_ptr_opt_) PUTF8_STRING Utf8String
    );

#endif
#endif

View code on GitHub
// wdm.h

NTSYSAPI VOID RtlFreeUTF8String(
  PUTF8_STRING utf8String
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-rtlfreeutf8string)

RtlFreeUTF8String function

Description

The RtlFreeUTF8String function releases storage that was allocated by RtlUnicodeStringToUTF8String.

Parameters

utf8String

Pointer to the UTF8 string buffer previously allocated by RtlUnicodeStringToUTF8String.

Return value

Remarks

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

See also

RtlUnicodeStringToUTF8String