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];
|
char volume[50];
|
||||||
HANDLE handle;
|
HANDLE handle;
|
||||||
|
|
||||||
|
if (!pFindFirstVolumeA) {
|
||||||
|
skip("FindFirstVolumeA not found\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
handle = pFindFirstVolumeA( volume, 0 );
|
handle = pFindFirstVolumeA( volume, 0 );
|
||||||
ok( handle == INVALID_HANDLE_VALUE, "succeeded with short buffer\n" );
|
ok( handle == INVALID_HANDLE_VALUE, "succeeded with short buffer\n" );
|
||||||
ok( GetLastError() == ERROR_FILENAME_EXCED_RANGE, "wrong error %u\n", GetLastError() );
|
ok( GetLastError() == ERROR_FILENAME_EXCED_RANGE, "wrong error %u\n", GetLastError() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user