Introduction - If you have any usage issues, please Google them yourself
The Time Sensor sample demonstrates how to write a sensor driver (windows) that raises events. You can explore this code to learn how to keep track of connected client applications, manage report intervals, and send event notifications through the sensor class extension.