RtlFreeAnsiString - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
VOID
NTAPI
RtlFreeAnsiString(
    _Inout_ _At_(AnsiString->Buffer, _Frees_ptr_opt_) PANSI_STRING AnsiString
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI VOID RtlFreeAnsiString(
  [in, out] PANSI_STRING AnsiString
);

View the official Windows Driver Kit DDI reference
// winternl.h

VOID RtlFreeAnsiString(
  [in] PANSI_STRING AnsiString
);

View the official Win32 API reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-rtlfreeansistring)

RtlFreeAnsiString function

Description

The RtlFreeAnsiString routine releases storage that was allocated by RtlUnicodeStringToAnsiString.

Parameters

AnsiString [in, out]

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.

See also

RtlUnicodeStringToAnsiString


Win32 API reference (nf-winternl-rtlfreeansistring)

RtlFreeAnsiString function

Description

Frees the string buffer allocated by RtlUnicodeStringToAnsiString.

Parameters

AnsiString [in]

A pointer to an ANSI string whose buffer was previously allocated by RtlUnicodeStringToAnsiString.

Remarks

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