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

This commit is contained in:
James Hawkins 2008-06-29 18:15:21 -05:00 committed by Alexandre Julliard
parent 03d23bd43d
commit 63ac79f4d5
1 changed files with 5 additions and 0 deletions

View File

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