Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.35 KB

File metadata and controls

58 lines (39 loc) · 1.35 KB

Home

Function name : FindNextVolume

Group: File System - Library: kernel32


Continues a volume search started by a call to the FindFirstVolume function.


Code examples:

Enumerating Volumes and Volume Mounting Points (NTFS)

Declaration:

BOOL FindNextVolume(
	HANDLE hFindVolume,
	LPTSTR lpszVolumeName,
	DWORD cchBufferLength
);
  

FoxPro declaration:

DECLARE INTEGER FindNextVolume IN kernel32;
	INTEGER hFindVolume,;
	STRING @lpszVolumeName,;
	LONG cchBufferLength  

Parameters:

hFindVolume [in] Volume search handle returned by a previous call to the FindFirstVolume function.

lpszVolumeName [out] Pointer to a string that receives the unique volume name found.

cchBufferLength [in] Length of the buffer that receives the name, in TCHARs.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

See also: FindFirstVolume, FindVolumeClose, FindFirstVolumeMountPoint, GetVolumeInformation.