#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_10_20H1)
NTSYSAPI
VOID
NTAPI
RtlFreeUTF8String(
_Inout_ _At_(Utf8String->Buffer, _Frees_ptr_opt_) PUTF8_STRING Utf8String
);
View code on GitHub// wdm.h
NTSYSAPI VOID RtlFreeUTF8String(
PUTF8_STRING utf8String
);
View the official Windows Driver Kit DDI referenceThis function is documented in Windows Driver Kit.
The RtlFreeUTF8String function releases storage that was allocated by RtlUnicodeStringToUTF8String.
utf8StringPointer to the UTF8 string buffer previously allocated by RtlUnicodeStringToUTF8String.
This routine only releases the UTF8 string buffer passed to it; it does not release the Unicode string buffer passed to RtlUnicodeStringToUTF8String.