网站首页  词典首页

请输入您要查询的函数:

 

术语 findnextvolumemountpoint
释义 FindNextVolumeMountPoint
语法:
C++
BOOL WINAPI FindNextVolumeMountPoint(
__in HANDLE hFindVolumeMountPoint,
__out LPTSTR lpszVolumeMountPoint,
__in DWORD cchBufferLength
);
FindNextVolumeMountPoint功能
继续挂载的文件夹中搜寻到的FindFirstVolumeMountPoint函数调用开始。 FindNextVolumeMountPoint找到一个安装文件夹,每次通话。
参数
hFindVolumeMountPoint [in]
一个固定的文件夹中搜索处理返回先前调用FindFirstVolumeMountPoint功能。
lpszVolumeMountPoint [out]
阿一个缓冲区,它接收的安装文件夹,找到的名称的指针。
cchBufferLength [in]
缓冲区接收的安装文件夹的名称TCHARs,长度。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。如果没有更多的安装文件夹中可以发现,GetLastError函数返回ERROR_NO_MORE_FILES错误代码。在这种情况下,关闭与FindVolumeMountPointClose搜索功能。
备注
处理后的搜索是通过调用FindFirstVolumeMountPoint成立,您可以使用FindNextVolumeMountPoint函数其他安装文件夹搜索。
该FindFirstVolumeMountPoint,FindNextVolumeMountPoint和FindVolumeMountPointClose函数返回路径为指定安装文件夹卷。他们不返回驱动器号或卷GUID路径。有关枚举卷信息的GUID为一个卷的路径,看到卷GUID枚举路径。
您不应该承担任何之间的安装与这些职能和装入由其他功能或工具返回文件夹的顺序返回文件夹的顺序关系。
要编译的应用程序使用此函数,定义为0x0500或更高_WIN32_WINNT宏。有关详细信息,请参阅使用Windows头。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesFindNextVolumeMountPointW(Unicode)和FindNextVolumeMountPointA(ANSI)的
参见
安装文件夹
卷管理功能
FindFirstVolumeMountPoint
FindVolumeMountPointClose
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FindNextVolumeMountPoint Function
Continues a mounted folder search started by a call to the FindFirstVolumeMountPoint function. FindNextVolumeMountPoint finds one mounted folder per call.
Syntax
C++
BOOL WINAPI FindNextVolumeMountPoint(
__in HANDLE hFindVolumeMountPoint,
__out LPTSTR lpszVolumeMountPoint,
__in DWORD cchBufferLength
);
Parameters
hFindVolumeMountPoint [in]
A mounted folder search handle returned by a previous call to the FindFirstVolumeMountPoint function.
lpszVolumeMountPoint [out]
A pointer to a buffer that receives the name of the mounted folder that is found.
cchBufferLength [in]
The length of the buffer that receives the mounted folder name, 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 more mounted folders can be found, the GetLastError function returns the ERROR_NO_MORE_FILES error code. In that case, close the search with the FindVolumeMountPointClose function.
Remarks
After the search handle is established by calling FindFirstVolumeMountPoint , you can use the FindNextVolumeMountPoint function to search for other mounted folders.
The FindFirstVolumeMountPoint, FindNextVolumeMountPoint, and FindVolumeMountPointClose functions return paths to mounted folders for a specified volume. They do not return drive letters or volume GUID paths. For information about enumerating the volume GUID paths for a volume, see Enumerating Volume GUID Paths .
You should not assume any correlation between the order of the mounted folders that are returned with these functions and the order of the mounted folders that are returned by other functions or tools.
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 .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesFindNextVolumeMountPointW (Unicode) and FindNextVolumeMountPointA (ANSI)
See Also
Mounted Folders
Volume Management Functions
FindFirstVolumeMountPoint
FindVolumeMountPointClose
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364432(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:24:23