#ifndef _NTRTL_H
NTSYSAPI
VOID
NTAPI
RtlFreeAnsiString(
_Inout_ _At_(AnsiString->Buffer, _Frees_ptr_opt_) PANSI_STRING AnsiString
);
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
This function is documented in Windows Driver Kit.
The RtlFreeAnsiString routine releases storage that was allocated by RtlUnicodeStringToAnsiString.
AnsiString
[in, out]Pointer to the ANSI string buffer previously allocated by RtlUnicodeStringToAnsiString.
None
This routine does not release the Unicode string buffer passed to RtlUnicodeStringToAnsiString.
Frees the string buffer allocated by RtlUnicodeStringToAnsiString.
AnsiString
[in]A pointer to an ANSI string whose buffer was previously allocated by RtlUnicodeStringToAnsiString.
This routine does not release the Unicode string buffer passed to RtlUnicodeStringToAnsiString.