Platform SDK: Files and I/O |
The FindVolumeClose function closes the specified volume search handle. The FindFirstVolume and FindNextVolume functions use this search handle to locate volumes.
BOOL FindVolumeClose( HANDLE hFindVolume // search handle );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
After the FindVolumeClose function is called, the handle hFindVolume cannot be used in subsequent calls to either FindNextVolume or FindVolumeClose.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.
File Systems Overview, File System Functions, FindFirstVolume, FindNextVolume