Click here to Skip to main content
15,915,093 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got information about SetThreadExecutionState(ES_AWAYMODE_REQUIRED | ES_SYSTEM_REQUIRED | ES_CONTINUOUS)
method to cancel sleep.
But i would like to know which namespace or dll i should use to call the SetThreadExecutionState method..
Please advice
Posted
Comments
Ziee-M 15-Nov-13 7:41am    
hi arun, i don't think it is possible to change a thread execution state like that! you have to use synchronsation

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900