网站首页  计算机词典

请输入您要查询的字词:

 

字词 findclose
释义 FindClose
语法:
C++
BOOL WINAPI FindClose(
__inout HANDLE hFindFile
);
FindClose函数
关闭一个文件搜索处理由FindFirstFile,FindFirstFileEx,或FindFirstStreamW功能打开。
参数
hFindFile [ in , out ]
文件搜索句柄。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
之后FindClose函数被调用时,处理参数指定的hFindFile不能到FindNextFile,FindNextStreamW,或FindClose函数以后调用。
实例
有关示例,请参见清单目录中的文件。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
文件管理函数
FindFirstFile
FindFirstFileEx
FindFirstStreamW
FindNextFile
FindNextStreamW
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FindClose Function
Closes a file search handle opened by the FindFirstFile , FindFirstFileEx , or FindFirstStreamW function.
Syntax
C++
BOOL WINAPI FindClose(
__inout HANDLE hFindFile
);
Parameters
hFindFile [in, out]
The file search handle.
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 .
Remarks
After the FindClose function is called, the handle specified by the hFindFile parameter cannot be used in subsequent calls to the FindNextFile , FindNextStreamW , or FindClose function.
Examples
For an example, see Listing the Files in a Directory .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
File Management Functions
FindFirstFile
FindFirstFileEx
FindFirstStreamW
FindNextFile
FindNextStreamW
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364413(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:38:40