Paul Vriens : kernel32/tests: FindFirstVolumeA is not available on win98.
Module: wine Branch: master Commit: 4111ea931cb6c41ea2f538f7d3397eb145d40dc1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4111ea931cb6c41ea2f538f7d3... Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Tue Jan 15 11:37:28 2008 +0100 kernel32/tests: FindFirstVolumeA is not available on win98. --- dlls/kernel32/tests/volume.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c index 94ace87..da34f54 100644 --- a/dlls/kernel32/tests/volume.c +++ b/dlls/kernel32/tests/volume.c @@ -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() );
participants (1)
-
Alexandre Julliard