#ifndef _NTRTL_H
NTSYSAPI
ULONG
NTAPI
RtlxAnsiStringToUnicodeSize(
_In_ PCANSI_STRING AnsiString
);
View code on GitHub
// wdm.h
NTSYSAPI ULONG RtlxAnsiStringToUnicodeSize(
[in] PCANSI_STRING AnsiString
);
View the official Windows Driver Kit DDI reference
No description available.
The RtlxAnsiStringToUnicodeSize routine returns the number of bytes that are required for a null-terminated Unicode string that is equivalent to a specified ANSI string.
AnsiString
[in]Pointer to the ANSI string for which to compute the number of bytes that are required for an equivalent null-terminated Unicode string.
RtlxAnsiStringToUnicodeSize returns the number of bytes that are required for an equivalent null-terminated Unicode string, if the ANSI string can be translated into a Unicode string by using the current system locale information. Otherwise, this routine returns zero.
The ANSI string is interpreted for the current system locale.