How to get the last windows active time by windows api
Posted
by Edwin Tai
on Stack Overflow
See other posts from Stack Overflow
or by Edwin Tai
Published on 2009-09-18T01:49:09Z
Indexed on
2010/03/20
20:21 UTC
Read the original article
Hit count: 274
winapi
In general, the Screensaver will run when we do nothing for a period of time.
Now i wanna know how to get the unactive time.
In another word,i want to make a program which would run a function if we do nothing for a period of time.
Now i can use mouse or keyboard hook to solve the problem.
But you know,it needs administrator permissions. In another word,if in win vista or win 7,it is nauseating because of the UAC.
I need an API such to get last windows active time.
© Stack Overflow or respective owner