RtlAnsiStringToUnicodeString(3w)
NAME
RtlAnsiStringToUnicodeString (NTDLL.@)
SYNOPSIS
NTSTATUS RtlAnsiStringToUnicodeString ( PUNICODE_STRING uni, PCANSI_STRING ansi, BOOLEAN doalloc )
PARAMS
uni [In/Out] Destination for the unicode string.
ansi [In] Ansi string to be converted.
doalloc [In] TRUE=Allocate new buffer for uni,FALSE=Use existing buffer.
DESCRIPTION
Converts an ansi string to a unicode string.
RETURNS
Success: STATUS_SUCCESS. uni contains the converted string
Failure: STATUS_BUFFER_OVERFLOW, if doalloc is FALSE and ansi is too
small. STATUS_NO_MEMORY, if doalloc is TRUE and the allocation fails.
STATUS_INVALID_PARAMETER_2, if the unicode string would be larger than
65535.
NOTES
This function always writes a terminating ' '.
IMPLEMENTATION
Defined in "winternl.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/rtlstr.c".
- Debug channel "ntdll".