cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
When System sleeps/hibrante ?
When System sleeps/hibrante ?
Oct 15, 2014 at 11:32am UTC
IamSumit
(22)
i am looking way to make a text file in windows.
if system goes to sleep or hibrante mode then make a text file
What apis should i use?
Thanks.
Oct 15, 2014 at 12:29pm UTC
Duthomhas
(13206)
http://www.google.com/search?btnI=1&q=msdn+SetWindowsHookEx
http://www.google.com/search?btnI=1&q=msdn+ForegroundIdleProc
You'll need to create a DLL with the hook procedure in it and specify zero for the
dwThreadId
argument.
It's not a particularly complicated thing to do, but it isn't newbie fare either...
Good luck!
Topic archived. No new replies allowed.