RtlFreeAnsiString function (wdm.h)
The RtlFreeAnsiString routine releases storage that was allocated by RtlUnicodeStringToAnsiString.
Syntax
NTSYSAPI VOID RtlFreeAnsiString(
[in, out] PANSI_STRING AnsiString
);
Parameters
[in, out] AnsiString
Pointer to the ANSI string buffer previously allocated by RtlUnicodeStringToAnsiString.
Return value
None
Remarks
This routine does not release the Unicode string buffer passed to RtlUnicodeStringToAnsiString.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <=APC_LEVEL |