"Lei Zhang" thestig@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.
"Dmitry Timoshkov" dmitry@codeweavers.com writes:
"Lei Zhang" thestig@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.