ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs.

Octavian Voicu octavian.voicu at gmail.com
Mon Jul 26 22:40:55 CDT 2010

On Tue, Jul 27, 2010 at 2:00 AM, Michael Stefaniuc <mstefani at redhat.de> wrote:
> -  ok(memcmp(&guid, &IID_Endianess, sizeof(guid)) == 0, "Endianess broken\n");
> +  ok(!IsEqualGUID(&guid, &IID_Endianess), "Endianess broken\n");

memcmp returns 0 when there is a match, so you should probably use
IsEqualGUID without the negation.


More information about the wine-devel mailing list