Yes, probably the parameter that you are sending to SetThreadExecution state is >=2
Here are the Execution state flags as per MSDN. Anything higher than 1 would imply that the monitor should come on. Const ES_SYSTEM_REQUIRED = &H1 Const ES_DISPLAY_REQUIRED = &H2 Const ES_USER_PRESENT = &H4 Const ES_CONTINUOUS = &H80000000 More here ... http://tinyurl.com/rm4zl -- oreillymj ------------------------------------------------------------------------ oreillymj's Profile: http://forums.slimdevices.com/member.php?userid=699 View this thread: http://forums.slimdevices.com/showthread.php?t=22625 _______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss