Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
NTSYSAPI ULONG RtlxAnsiStringToUnicodeSize(
[in] PCANSI_STRING AnsiString
);
Parameters
[in] AnsiString
Pointer to the ANSI string for which to compute the number of bytes that are required for an equivalent null-terminated Unicode string.
Return value
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.
Remarks
The ANSI string is interpreted for the current system locale.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |