Commit 6c59a15a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

pdh: Fix two tests that fail on win2k3.

parent 1cb8e96d
......@@ -647,7 +647,9 @@ static void test_PdhLookupPerfNameByIndexA( void )
size = sizeof(buffer);
ret = PdhLookupPerfNameByIndexA( NULL, 674, NULL, &size );
ok(ret == PDH_INVALID_ARGUMENT, "PdhLookupPerfNameByIndexA failed 0x%08x\n", ret);
ok(ret == PDH_INVALID_ARGUMENT ||
ret == PDH_MORE_DATA, /* win2k3 */
"PdhLookupPerfNameByIndexA failed 0x%08x\n", ret);
size = sizeof(buffer);
ret = PdhLookupPerfNameByIndexA( NULL, 674, buffer, &size );
......@@ -677,7 +679,9 @@ static void test_PdhLookupPerfNameByIndexW( void )
size = sizeof(buffer) / sizeof(WCHAR);
ret = PdhLookupPerfNameByIndexW( NULL, 674, NULL, &size );
ok(ret == PDH_INVALID_ARGUMENT, "PdhLookupPerfNameByIndexW failed 0x%08x\n", ret);
ok(ret == PDH_INVALID_ARGUMENT ||
ret == PDH_MORE_DATA, /* win2k3 */
"PdhLookupPerfNameByIndexW failed 0x%08x\n", ret);
size = sizeof(buffer) / sizeof(WCHAR);
ret = PdhLookupPerfNameByIndexW( NULL, 674, buffer, &size );
......
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