ntdll: Implement and test RtlAnsiCharToUnicodeChar

Alexandre Julliard julliard at winehq.org
Thu Jun 9 03:26:49 CDT 2005


James Hawkins <truiken at gmail.com> writes:

> +/**************************************************************************
> + *      RtlAnsiCharToUnicodeChar   (NTDLL.@)
> + *
> + * Converts an ansi character to a unicode character.
> + *
> + * PARAMS
> + *  ansi [I/O] Pointer to the ansi string.
> + *
> + * RETURNS
> + *  Success: Unicode representation of the first character in the ansi string.
> + *  Failure: NULL.
> + *
> + * NOTES
> + *  Upon successful completion, the char pointer ansi points to is 
> + *  incremented by one.

It should be incremented by two for multi-byte characters.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list