网站首页  计算机词典

请输入您要查询的字词:

 

字词 closeeventlog
释义 CloseEventLog
语法:
C++
BOOL CloseEventLog(
__inout HANDLE hEventLog
);
CloseEventLog功能
关闭指定的事件日志。
参数
hEventLog [ in , out ]
句柄到事件日志中被关闭。在OpenEventLog或OpenBackupEventLog函数返回此句柄。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
实例
有关示例,请参阅查询的事件信息。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
事件记录功能
OpenEventLog
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月6日
==英文原文==CloseEventLog Function
Closes the specified event log.
Syntax
C++
BOOL CloseEventLog(
__inout HANDLE hEventLog
);
Parameters
hEventLog [in, out]
A handle to the event log to be closed. The OpenEventLog or OpenBackupEventLog function returns this 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 .
Examples
For an example, see Querying for Event Information .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
Event Logging Functions
OpenEventLog
Send comments about this topic to Microsoft
Build date: 8/6/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363639(VS.85).aspx\n
随便看

 

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

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:36:17