jehanzeb_bs
April 15th, 2003, 08:12 AM
hi,
I've designed an application that provides the hibernate option. It is working properly and when one select to hibernate, it successfully restores the user session.
Now what i want is that I want to enable/disable this option based the what user has set in the 'Control Panel->Power Options'. If he has unchecked the 'Enable Hibernate Mode' option inside the 'Hibenate' tab of 'Power Options', the my application should disable it's 'Hibernate' option automatically.
Is there any API function to programatically detect whether the user has enabled/disabled the 'Hibernate Option' of 'Poeer Option'.
Looking forward to youyr replies.
Thanking in advance
Bye
Jehanzeb Musani
I've designed an application that provides the hibernate option. It is working properly and when one select to hibernate, it successfully restores the user session.
Now what i want is that I want to enable/disable this option based the what user has set in the 'Control Panel->Power Options'. If he has unchecked the 'Enable Hibernate Mode' option inside the 'Hibenate' tab of 'Power Options', the my application should disable it's 'Hibernate' option automatically.
Is there any API function to programatically detect whether the user has enabled/disabled the 'Hibernate Option' of 'Poeer Option'.
Looking forward to youyr replies.
Thanking in advance
Bye
Jehanzeb Musani