Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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 |