Get the state of "SetThreadExecutionState Function"

  • Thread starter Thread starter Volkan Senguel
  • Start date Start date
Hi,
Knows anyone how to get the state from the SetThreadExecutionState-Function
if any app has changed this?

http://msdn.microsoft.com/en-us/library/aa373208.aspx

thanks for any tips
Volkan

By the look of it this is a system function to inform OS that current
thread is in "WhatEverStateYouSetItTo" state, so in your oun thread
you should know which state you set it to be, there is NO need to read
the current state, because it should not change unless you change it
in your thread...
 
Thank you i know that ;-)

But i have strange issues with the SetThreadExecutionState, it seems to that
any other app is overwriting my settings(!?)
because that i need a way to get the setting(s)

thx
Volkan
 
Thank you i know that ;-)

But i have strange issues with the SetThreadExecutionState, it seems to that
any other app is overwriting my settings(!?)
because that i need a way to get the setting(s)

thx
Volkan

IF I understand that functionality correctly (and I hope that I do) NO
other process or thread should have access to that function. It is a
member function of this Thread, i.e. it can modify only this thread...
Make sure that you are using it correctly and that system responds to
it correctly...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top