网站首页  词典首页

请输入您要查询的函数:

 

术语 findnextfilenamew
释义 FindNextFileNameW
语法:
C++
BOOL WINAPI FindNextFileNameW(
__in HANDLE hFindStream,
__inout LPDWORD StringLength,
__inout PWCHAR LinkName
);
FindNextFileNameW功能
继续枚举到一个文件使用处理成功调用FindFirstFileNameW函数返回的硬链接。
参数
hFindStream [in]
一个句柄,是一个成功调用FindFirstFileNameW返回枚举。
StringLength [ in , out ]
该LinkName参数的大小,以字符。如果此调用将失败和错误是ERROR_MORE_DATA,即是此参数返回的值是大小LinkName必须包含的所有数据。
LinkName [ in , out ]
一个缓冲区指针存储链接名称的第一个找到lpFileName。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零(0)。为了获得更多错误信息,调用GetLastError。
如果没有匹配的文件可以发现,GetLastError函数返回ERROR_HANDLE_EOF。
备注
如果该函数返回TRUE,有更多的硬连接枚举。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
文件管理函数
FindClose
FindFirstFileNameW
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FindNextFileNameW Function
Continues enumerating the hard links to a file using the handle returned by a successful call to the FindFirstFileNameW function.
Syntax
C++
BOOL WINAPI FindNextFileNameW(
__in HANDLE hFindStream,
__inout LPDWORD StringLength,
__inout PWCHAR LinkName
);
Parameters
hFindStream [in]
A handle to the enumeration that is returned by a successful call to FindFirstFileNameW.
StringLength [in, out]
The size of the LinkName parameter, in characters. If this call fails and the error is ERROR_MORE_DATA, the value that is returned by this parameter is the size that LinkName must be to contain all the data.
LinkName [in, out]
A pointer to a buffer to store the first link name found for lpFileName.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero (0). To get extended error information, call GetLastError .
If no matching files can be found, the GetLastError function returns ERROR_HANDLE_EOF.
Remarks
If the function returns TRUE, there are more hard links to enumerate.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
File Management Functions
FindClose
FindFirstFileNameW
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364429(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 11:29:45