Commit 61b84b08 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

kernel32/tests: Skip a test if needed.

parent dda38adc
...@@ -187,7 +187,12 @@ static void test_GetLogicalDriveStringsW(void) ...@@ -187,7 +187,12 @@ static void test_GetLogicalDriveStringsW(void)
return; return;
} }
SetLastError(0xdeadbeef);
size = pGetLogicalDriveStringsW(0, NULL); size = pGetLogicalDriveStringsW(0, NULL);
if (size == 0 && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) {
win_skip("GetLogicalDriveStringsW not implemented\n");
return;
}
ok(size%4 == 1, "size = %d\n", size); ok(size%4 == 1, "size = %d\n", size);
buf = HeapAlloc(GetProcessHeap(), 0, size*sizeof(WCHAR)); buf = HeapAlloc(GetProcessHeap(), 0, size*sizeof(WCHAR));
......
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