locked
Asynchronous notifications from a device driver

    Question

  • We have a requirement to periodicaly receive and display data from notifications received via a device driver. In the Win32 world the service can block on the driver for such notifications. However this would not work in metro because apps get suspended. Is there a trigger that a a device driver can use 'wake up' a metro app's registered background task so it can retrieve notifications from the driver? The time trigger is one we investivated but minimum resolution of 15 minutes is the blocker there. 
    Wednesday, March 14, 2012 5:53 PM

Answers

All replies

  • dzungductran,

    I will look into this for you.

    Best Wishes - Eric

    Wednesday, March 14, 2012 9:30 PM
    Moderator
  • dzungductran,

    Background tasks that execute in the system-provided backgroundTaskHost.exe will it still be able to communicate with specialized devices. 

    Best Wishes - Eric

    Thursday, March 15, 2012 3:12 AM
    Moderator
  • Hello Eric,

    Background tasks get 2sec every 15mins. Every 15mins is too long and also this is not notification from the driver. I have to poll for device status. Is there a different mechansim? such as Toast from driver?

    Thanks

    Thursday, March 15, 2012 6:43 PM
  • dzungductran,

    There is not have a mechanism for a device related event to wake up a metro style app.

    Best Wishes - Eric


    Tuesday, March 20, 2012 3:15 AM
    Moderator