Continues a volume search started by a call to the FindFirstVolume function. FindNextVolume finds one volume per call.
SyntaxBOOL FindNextVolumeW(
[in] HANDLE hFindVolume,
[out] LPWSTR lpszVolumeName,
[in] DWORD cchBufferLength
);
Parameters
[in] hFindVolume
The volume search handle returned by a previous call to the FindFirstVolume function.
[out] lpszVolumeName
A pointer to a string that receives the volume GUID path that is found.
[in] cchBufferLength
The length of the buffer that receives the volume GUID path, in TCHARs.
Return valueIf the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. If no matching files can be found, the GetLastError function returns the ERROR_NO_MORE_FILES error code. In that case, close the search with the FindVolumeClose function.
After the search handle is established by calling FindFirstVolume, you can use the FindNextVolume function to search for other volumes.
You should not assume any correlation between the order of the volumes that are returned by these functions and the order of the volumes that are on the computer. In particular, do not assume any correlation between volume order and drive letters as assigned by the BIOS (if any) or the Disk Administrator.
In Windows 8 and Windows Server 2012, this function is supported by the following technologies.
Technology Supported Server Message Block (SMB) 3.0 protocol No SMB 3.0 Transparent Failover (TFO) No SMB 3.0 with Scale-out File Shares (SO) No Cluster Shared Volume File System (CsvFS) Yes Resilient File System (ReFS) YesSMB does not support volume management functions.
ExamplesFor an example, see Displaying Volume Paths.
Requirements Requirement Value Minimum supported client Windows XP [desktop apps only] Minimum supported server Windows Server 2003 [desktop apps only] Target Platform Windows Header fileapi.h (include Windows.h) Library Kernel32.lib DLL Kernel32.dll See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4