Commit 76c06a6d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs.

parent a246beab
...@@ -1841,7 +1841,7 @@ static void test_RtlGUIDFromString(void) ...@@ -1841,7 +1841,7 @@ static void test_RtlGUIDFromString(void)
ret = pRtlGUIDFromString(&str, &guid); ret = pRtlGUIDFromString(&str, &guid);
ok(ret == 0, "expected ret=0, got 0x%0x\n", ret); ok(ret == 0, "expected ret=0, got 0x%0x\n", ret);
ok(memcmp(&guid, &IID_Endianess, sizeof(guid)) == 0, "Endianess broken\n"); ok(IsEqualGUID(&guid, &IID_Endianess), "Endianess broken\n");
str.Length = str.MaximumLength = sizeof(szGuid2) - sizeof(WCHAR); str.Length = str.MaximumLength = sizeof(szGuid2) - sizeof(WCHAR);
str.Buffer = (LPWSTR)szGuid2; str.Buffer = (LPWSTR)szGuid2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment