Platform SDK: Files and I/O

FindVolumeMountPointClose

The FindVolumeMountPointClose function closes the specified mount-point search handle. The FindFirstVolumeMountPoint and FindNextVolumeMountPoint functions use this search handle to locate volume mount points on a specified volume.

BOOL FindVolumeMountPointClose(
  HANDLE hFindVolumeMountPoint // search handle
);

Parameters

hFindVolumeMountPoint
[in] Mount-point search handle to close. This handle must have been previously opened by the FindFirstVolumeMountPoint function.

Return Values

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.

Remarks

After the FindVolumeMountPointClose function is called, the handle hFindVolumeMountPoint cannot be used in subsequent calls to either FindNextVolumeMountPoint or FindVolumeMountPointClose.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winbase.h; include Windows.h.
  Library: Use Kernel32.lib.

See Also

File Systems Overview, File System Functions, FindFirstVolumeMountPoint, FindNextVolumeMountPoint