kernel32/tests: FindFirstVolumeA is not available on win98.

This commit is contained in:
Paul Vriens 2008-01-15 11:37:28 +01:00 committed by Alexandre Julliard
parent b317416b20
commit 4111ea931c
1 changed files with 5 additions and 0 deletions

View File

@ -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() );