Re: ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs.
27 Jul
2010
27 Jul
'10
3:40 a.m.
On Tue, Jul 27, 2010 at 2:00 AM, Michael Stefaniuc <mstefani(a)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. Octavian
5621
Age (days ago)
5621
Last active (days ago)
0 comments
1 participants
participants (1)
-
Octavian Voicu