Welcome, guest | Sign In | My Account | Store | Cart
null null

Diff to Previous Revision

--- revision 1 2008-11-18 04:37:50
+++ revision 2 2013-05-26 10:56:38
@@ -1,17 +1,1 @@
-// Turns monitor off for ~10 seconds then turns back on
-// LogicKills 
-// Have Fun and head over to logickills.org for new code~
-#include <windows.h>
-#include <ctime>
-
-int main()
-{
- 
-  int seconds = 10;
-  clock_t delay = seconds *CLOCKS_PER_SEC;
-  clock_t start = clock();
-  while(clock() - start < delay){
-  SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);}
-  SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
-    return 0;
-}
+null null

History