Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
RtlFreeUnicodeString function (wdm.h)
The RtlFreeUnicodeString routine releases storage that was allocated by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString.
Syntax
NTSYSAPI VOID RtlFreeUnicodeString(
[in, out] PUNICODE_STRING UnicodeString
);
Parameters
[in, out] UnicodeString
Pointer to the Unicode string buffer previously allocated by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString.
Return value
None
Remarks
This routine releases the Buffer of UnicodeString, then sets both Length and MaximumLength to zero and Buffer to NULL. It does not release the ANSI string buffer passed to RtlAnsiStringToUnicodeString.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Available starting with Windows 2000. |
| Target Platform | Universal |
| Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Wudfwdm.h) |
| Library | NtosKrnl.lib |
| DLL | NtosKrnl.exe |
| IRQL | <=APC_LEVEL |
See also
Feedback
Was this page helpful?
