kernel32/tests: FindFirstVolumeA is not available on win98.
This commit is contained in:
parent
b317416b20
commit
4111ea931c
|
@ -52,6 +52,11 @@ static void test_FindFirstVolume(void)
|
|||
char volume[50];
|
||||
HANDLE handle;
|
||||
|
||||
if (!pFindFirstVolumeA) {
|
||||
skip("FindFirstVolumeA not found\n");
|
||||
return;
|
||||
}
|
||||
|
||||
handle = pFindFirstVolumeA( volume, 0 );
|
||||
ok( handle == INVALID_HANDLE_VALUE, "succeeded with short buffer\n" );
|
||||
ok( GetLastError() == ERROR_FILENAME_EXCED_RANGE, "wrong error %u\n", GetLastError() );
|
||||
|
|
Loading…
Reference in New Issue