RtlFreeUnicodeString function (winternl.h)
Frees the string buffer allocated by RtlAnsiStringToUnicodeString or by RtlUpcaseUnicodeString.
Syntax
void RtlFreeUnicodeString(
[in, out] PUNICODE_STRING UnicodeString
);
Parameters
[in, out] UnicodeString
A pointer to the Unicode string whose buffer was previously allocated by RtlAnsiStringToUnicodeString.
Return value
None
Remarks
This routine does not release the ANSI string buffer passed to RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString.
Because there is no import library for this function, you must use GetProcAddress.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winternl.h |
Library | ntdll.lib |
DLL | ntdll.dll; NtosKrnl.exe |