网站首页  词典首页

请输入您要查询的函数:

 

术语 findnextvolume
释义 FindNextVolume
语法:
C++
BOOL WINAPI FindNextVolume(
__in HANDLE hFindVolume,
__out LPTSTR lpszVolumeName,
__in DWORD cchBufferLength
);
FindNextVolume功能
继续搜寻卷向FindFirstVolume function.FindNextVolume找到一个电话开始每次通话量。
参数
hFindVolume [in]
该卷的搜索返回的句柄以前调用FindFirstVolume功能。
lpszVolumeName [out]
一个字符串,收卷的GUID路径找到指针。
cchBufferLength [in]
缓冲区的收卷长度的GUID的道路,在TCHARs。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。如果没有匹配的文件可以发现,GetLastError函数返回ERROR_NO_MORE_FILES错误代码。在这种情况下,关闭与FindVolumeClose搜索功能。
备注
处理后的搜索是通过调用FindFirstVolume成立,您可以使用FindNextVolume功能为其他卷搜索。
您不应该承担任何之间的由这些职能的卷在计算机上,以便产生量阶相关。特别是,不承担任何体积之间的秩序,由BIOS分配驱动器号关联(如有)或磁盘管理器。
要编译的应用程序使用此函数,定义为0x0500或更高_WIN32_WINNT宏。有关详细信息,请参阅使用Windows头。
实例
有关示例,请参见显示音量路径。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesFindNextVolumeW(Unicode)和FindNextVolumeA(ANSI)的
参见
FindFirstVolume
FindVolumeClose
卷管理功能
安装文件夹
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FindNextVolume Function
Continues a volume search started by a call to the FindFirstVolume function.FindNextVolume finds one volume per call.
Syntax
C++
BOOL WINAPI FindNextVolume(
__in HANDLE hFindVolume,
__out LPTSTR lpszVolumeName,
__in DWORD cchBufferLength
);
Parameters
hFindVolume [in]
The volume search handle returned by a previous call to the FindFirstVolume function.
lpszVolumeName [out]
A pointer to a string that receives the volume GUID path that is found.
cchBufferLength [in]
The length of the buffer that receives the volume GUID path, in TCHARs.
Return Value
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 . 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.
Remarks
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.
To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0500 or later. For more information, see Using the Windows Headers .
Examples
For an example, see Displaying Volume Paths .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesFindNextVolumeW (Unicode) and FindNextVolumeA (ANSI)
See Also
FindFirstVolume
FindVolumeClose
Volume Management Functions
Mounted Folders
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364431(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:15:20