mirror of
https://github.com/reactos/reactos.git
synced 2024-06-03 11:11:54 +00:00
[PDH_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
909d7a81e1
commit
943bcb0f74
|
@ -673,6 +673,13 @@ static void test_PdhLookupPerfNameByIndexA( void )
|
|||
"PdhLookupPerfNameByIndexA failed, got %s expected \'%% Processor Time\'\n", buffer);
|
||||
ok(size == sizeof("% Processor Time"), "PdhLookupPerfNameByIndexA failed %d\n", size);
|
||||
|
||||
size = sizeof(buffer);
|
||||
ret = PdhLookupPerfNameByIndexA( NULL, 238, buffer, &size );
|
||||
ok(ret == ERROR_SUCCESS, "PdhLookupPerfNameByIndexA failed 0x%08x\n", ret);
|
||||
ok(!lstrcmpA( buffer, "Processor" ),
|
||||
"PdhLookupPerfNameByIndexA failed, got %s expected \'Processor\'\n", buffer);
|
||||
ok(size == sizeof("Processor"), "PdhLookupPerfNameByIndexA failed %d\n", size);
|
||||
|
||||
size = sizeof(buffer);
|
||||
ret = PdhLookupPerfNameByIndexA( NULL, 674, NULL, &size );
|
||||
ok(ret == PDH_INVALID_ARGUMENT ||
|
||||
|
|
Loading…
Reference in a new issue