Commit 63ac79f4 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Don't test for HARDDISK and RAMDISK on win9x.

parent 03d23bd4
...@@ -37,6 +37,11 @@ static void test_query_dos_deviceA(void) ...@@ -37,6 +37,11 @@ static void test_query_dos_deviceA(void)
DWORD ret; DWORD ret;
BOOL found = FALSE; BOOL found = FALSE;
if (!pFindFirstVolumeA) {
skip("On win9x, HARDDISK and RAMDISK not present\n");
return;
}
for (;drivestr[0] <= 'z'; drivestr[0]++) { for (;drivestr[0] <= 'z'; drivestr[0]++) {
ret = QueryDosDeviceA( drivestr, buffer, sizeof(buffer)); ret = QueryDosDeviceA( drivestr, buffer, sizeof(buffer));
if(ret) { if(ret) {
......
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