Laptop 'Lid Close Action' setting notification

Hi all,

I am writing a KMDF filter driver on windows 8 which should disable/enable a USB device based on laptop lid close/open respectively, and this should be done when the ‘Lid Close Action’ settings in ‘Power Options’ is selected to ‘Do Nothing’.

1.i am clear on how to get the notification of lid open/close.
2. but i am not able to get any information about the notification that my driver can receive when the ‘Lid Close Action’ settings are changed… is there any way that i can register a callback for this settings change, so that my driver can be notified when the settings gets changed ??

thanks,
shreeni

This is not a scenario we want to encourage. Rather, your device should go idle when it is not used by the user. Please email me off the list and we can flesh out your scenario more fully

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, November 1, 2012 9:24 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Laptop ‘Lid Close Action’ setting notification

Hi all,

I am writing a KMDF filter driver on windows 8 which should disable/enable a USB device based on laptop lid close/open respectively, and this should be done when the ‘Lid Close Action’ settings in ‘Power Options’ is selected to ‘Do Nothing’.

1.i am clear on how to get the notification of lid open/close.
2. but i am not able to get any information about the notification that my driver can receive when the ‘Lid Close Action’ settings are changed… is there any way that i can register a callback for this settings change, so that my driver can be notified when the settings gets changed ??

thanks,
shreeni


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer