如何使用ETW捕获Windows 8中的事件? [英] How to catch events in Windows 8 with ETW?
问题描述
您好。
我正在与ETW合作,我有一个项目,目前运行没有问题,但在Windows 8中,我不确定如何我可以在我的项目中使用以下功能:
- StarTrace()
- EnableTrace()
- SetTraceCallBack()
- OpenTrace()
- ProcessTrace()
- CloseTrace()
I'm working with ETW and I have a proyect, at the moment is running without problems, but in Windows 8 I'm not sure of How I can cath the events, in my proyect I use the following functions:
- StarTrace ()
- EnableTrace ()
- SetTraceCallBack()
- OpenTrace()
- ProcessTrace ()
- CloseTrace()
我需要为Windows 8中的工作做些什么?
Whet difference I need to do for work in Windows 8?
谢谢!
推荐答案
Windows 8的事件跟踪没有改变。
Event Tracing for Windows hasn't changed for Window 8.
请注意,ETW仅适用于.NET程序。如果您正在考虑本机应用程序,则无论操作系统如何,都不能使用ETW。
Note that ETW applies to .NET programs only. If you are thinking of native applications, then ETW cannot be used, regardless of operating system.
这篇关于如何使用ETW捕获Windows 8中的事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!