I am implementing one feature in my user mode driver where I need to know Wake Up source. The device which made the system to wake up.
I need to enable the feature depending on the wake source.
Can anybody suggest if any powercallback/API to check this?
We can trap keyboard and mouse event in Service but I don't want to go for that as I have to implement service in addition to the driver and keyboard/mouse may not be only wake sources.