网站首页  词典首页

请输入您要查询的函数:

 

术语 openbackupeventlog
释义 OpenBackupEventLog
语法:
C++
HANDLE OpenBackupEventLog(
__in LPCTSTR lpUNCServerName,
__in LPCTSTR lpFileName
);
OpenBackupEventLog功能
打开一个句柄备份事件日志的BackupEventLog函数创建。
参数
lpUNCServerName [in]
The Universal Naming Convention (UNC) name of the remote server on which this operation is to be performed.如果该参数为NULL,则使用本地计算机。
lpFileName [in]
在备份文件的完整路径。
返回值
如果函数成功,返回值是一个句柄备份事件日志。
如果函数失败,返回值为NULL。为了获得更多错误信息,调用GetLastError。
备注
如果备份文件名指定远程服务器,lpUNCServerName参数必须是NULL。
当此功能在Windows Vista和更高版本的计算机,只是备份事件是与Windows Vista和更高版本的计算机BackupEventLog保存日志功能可以打开使用。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
Unicode和ANSI namesOpenBackupEventLogW(Unicode)和OpenBackupEventLogA(ANSI)的
参见
事件记录功能
BackupEventLog
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月6日
==英文原文==OpenBackupEventLog Function
Opens a handle to a backup event log created by the BackupEventLog function.
Syntax
C++
HANDLE OpenBackupEventLog(
__in LPCTSTR lpUNCServerName,
__in LPCTSTR lpFileName
);
Parameters
lpUNCServerName [in]
The Universal Naming Convention (UNC) name of the remote server on which this operation is to be performed. If this parameter is NULL, the local computer is used.
lpFileName [in]
The full path of the backup file.
Return Value
If the function succeeds, the return value is a handle to the backup event log.
If the function fails, the return value is NULL. To get extended error information, call GetLastError .
Remarks
If the backup filename specifies a remote server, the lpUNCServerName parameter must be NULL.
When this function is used on Windows Vista and later computers, only backup event logs that were saved with the BackupEventLog function on Windows Vista and later computers can be opened.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
Unicode and ANSI namesOpenBackupEventLogW (Unicode) and OpenBackupEventLogA (ANSI)
See Also
Event Logging Functions
BackupEventLog
Send comments about this topic to Microsoft
Build date: 8/6/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363671(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:27:29