RtlFreeAnsiString

VOID
RtlFreeAnsiString(

IN PANSI_STRING AnsiString
);

RtlFreeAnsiString releases storage that was allocated by RtlUnicodeStringToAnsiString.

Parameters

AnsiString

Points to the ANSI string buffer previously allocated by RtlUnicodeStringToAnsiString.

Comments

This routine does not release the Unicode string buffer passed to RtlUnicodeStringToAnsiString.

Callers of RtlFreeAnsiString must be running at IRQL PASSIVE_LEVEL.

See Also

RtlUnicodeStringToAnsiString