/* Test GetCount */ static void test_GetCount(void) { HRESULT hres; ULONG fileCount; hres = IEnumBackgroundCopyFiles_GetCount(test_enumFiles, &fileCount); ok(hres == S_OK, "GetCount failed: %08x\n", hres); ok(fileCount == test_fileCount, "Got incorrect count\n"); }
/* Test GetCount */ static void test_GetCount(void) { HRESULT hres; ULONG fileCount; hres = IEnumBackgroundCopyFiles_GetCount(test_enumFiles, &fileCount); ok(hres == S_OK, "GetCount failed: %08x\n", hres); if(hres != S_OK) { skip("Unable to get count from test_enumFiles.\n"); return; } ok(fileCount == test_fileCount, "Got incorrect count\n"); }