RtlFreeUnicodeString
TOC
Collapse the table of content
Expand the table of content

RtlFreeUnicodeString routine

The RtlFreeUnicodeString routine releases storage that was allocated by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString.

Syntax


VOID RtlFreeUnicodeString(
  _Inout_ PUNICODE_STRING UnicodeString
);

Parameters

UnicodeString [in, out]

Pointer to the Unicode string buffer previously allocated by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString.

Return value

None

Remarks

This routine does not release the ANSI string buffer passed to RtlAnsiStringToUnicodeString.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<=APC_LEVEL

See also

RtlAnsiStringToUnicodeString
RtlUpcaseUnicodeString

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft