locked
How to consume and process events at metro Apps?

    Question

  • How to consume and process events  at metro Apps?

    the following APIs only apply to desktop, but how can I use at metro apps?

    OpenTrace/CloseTrace/ProcessEvent?

    as we know, the APIs of controlling events and providing event can be used at metro and desktop apps, for example, StartTrace, EnableTrace, ControlEvent, Register/TraceEvent/, some like that.

    ============================

    there is another question about ETW:
    1. When provider send event tracing log by TraceEvent or EventWrite, can controller monitor it real-time? as we know, there are StartTrace/EnableTrace/ControlTrace APIs in controller.


    • Edited by Leonard.Lau Monday, March 12, 2012 7:12 AM add another question
    Friday, March 9, 2012 6:00 AM

Answers

  • Those three are not available in Metro style apps. If you have a scenario where the lack of these are blocking your progress, please let us know. You can also email me directly DavidLam AT Microsoft DOT com.

    David Lamb

    Saturday, March 10, 2012 2:11 AM
    Moderator

All replies

  • Those three are not available in Metro style apps. If you have a scenario where the lack of these are blocking your progress, please let us know. You can also email me directly DavidLam AT Microsoft DOT com.

    David Lamb

    Saturday, March 10, 2012 2:11 AM
    Moderator
  • thank you David.

    because I try to using ETW to implement duplex communication between the metro apps and desktop apps, then I found that don't work from desktop to metro.

    there are another question about ETW:
    1. When provider send event tracing log by TraceEvent or EventWrite, can controller monitor it real-time? as we know, there are StartTrace/EnableTrace/ControlTrace APIs in controller.

    thank you again for reply.

    Saturday, March 10, 2012 7:52 AM