网站首页  词典首页

请输入您要查询的函数:

 

术语 removetracecallback
释义 RemoveTraceCallback
语法:
C++
ULONG RemoveTraceCallback(
__in LPCGUID pGuid
);
RemoveTraceCallback功能
[不要使用此功能,它可以在后续版本中不可用。]
该RemoveTraceCallback函数停止接收一个事件跟踪类事件的EventClassCallback功能。
参数
pGuid [in]
指针类GUID的事件跟踪级的回调接收事件。使用相同的类GUID,您传递给SetTraceCallback开始接收事件。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是系统错误代码之一。下表列出了一些常见的错误及其原因。
返回codeDescription
ERROR_INVALID_PARAMETERThe pGuid参数是NULL。
ERROR_WMI_GUID_NOT_FOUNDThere没有EventClassCallback函数与事件跟踪类关联。
备注
消费者调用这个函数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderEvntrace.h
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
EventClassCallback
ProcessTrace
SetTraceCallback
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==RemoveTraceCallback Function
[Do not use this function; it may be unavailable in subsequent versions.]
The RemoveTraceCallback function stops an EventClassCallback function from receiving events for an event trace class.
Syntax
C++
ULONG RemoveTraceCallback(
__in LPCGUID pGuid
);
Parameters
pGuid [in]
Pointer to the class GUID of the event trace class for which the callback receives events. Use the same class GUID that you passed to the SetTraceCallback to begin receiving the events.
Return Value
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is one of the system error codes . The following table includes some common errors and their causes.
Return codeDescription
ERROR_INVALID_PARAMETERThe pGuid parameter is NULL.
ERROR_WMI_GUID_NOT_FOUNDThere is no EventClassCallback function associated with the event trace class.

Remarks
Consumers call this function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderEvntrace.h
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
EventClassCallback
ProcessTrace
SetTraceCallback
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364112(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 13:21:05