[PATCH] advapi32: attempt to use UuidToStringA if UuidToStringW isnot available.

Alexandre Julliard julliard at winehq.org
Mon Apr 28 06:59:16 CDT 2008


"Dmitry Timoshkov" <dmitry at codeweavers.com> writes:

> "Lei Zhang" <thestig at google.com> wrote:
>
>> This adds more checks in CRYPT_CreateMachineGuid(), and attempt to use
>> UuidToStringA if UuidToStringW is not available.
>
> Instead of duplicating and complicating the code, IMO it would be more
> straightforward to use ansi APIs without trying unicode first.

A simple sprintfW would be even better.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list