网站首页  词典首页

请输入您要查询的函数:

 

术语 logtimeprovevent
释义 LogTimeProvEvent
语法:
C++
HRESULT __stdcall LogTimeProvEventFunc(
__in WORD wType,
__in WCHAR *wszProvName,
__in WCHAR *wszMessage
);
LogTimeProvEventFunc功能
记录在事件日志中的时间提供事件。
参数
wType [in]
事件类型。此参数可以是下列值之一。
ValueMeaning
ErrorIndicates一个重大问题。
InformationProvides有关行动取得成功。
WarningIndicates一个问题,没有立即显着,但可能会造成未来的问题。
wszProvName [in]
提供者的名称。
wszMessage [in]
该事件描述。
返回值
如果函数成功,返回值为S_OK。否则,返回值是在Winerror.h中定义的错误代码之一。
备注
此功能提供了一个事件日志记录时间提供的简化接口。需要的时间提供更广泛的事件记录可以进行自己的事件记录。欲了解更多有关事件记录,查看事件日志记录信息。
该TimeProvOpen函数返回一个指向这个功能。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderTimeprov.h
参见
TimeProvOpen
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==LogTimeProvEventFunc Function
Logs a time provider event in the event log.
Syntax
C++
HRESULT __stdcall LogTimeProvEventFunc(
__in WORD wType,
__in WCHAR *wszProvName,
__in WCHAR *wszMessage
);
Parameters
wType [in]
The event type. This parameter can be one of the following values.
ValueMeaning
ErrorIndicates a significant problem.
InformationProvides information about a successful operation.
WarningIndicates a problem that is not immediately significant, but may cause future problems.

wszProvName [in]
The provider name.
wszMessage [in]
The event description.
Return Value
If the function succeeds, the return value is S_OK. Otherwise, the return value is one of the error codes defined in WinError.h.
Remarks
This function provides the time provider with a simplified interface for event logging. Time providers that require more extensive event logging can perform their own event logging. For more information on event logging, see Event Logging .
The TimeProvOpen function returns a pointer to this function.
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderTimeprov.h
See Also
TimeProvOpen
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724495(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 9:24:13