Turns off the monitor
모니터 끄기
모니터 끄는 프로그램
#include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { // Turn off monitor SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2); return 0; }
See also
http://www.codeproject.com/Articles/12794/Complete-Guide-on-How-To-Turn-A-Monitor-On-Off-Sta
'My Computer Programs' 카테고리의 다른 글
Javascript Interpreter (0) | 2012.07.28 |
---|---|
(bash) triangle (0) | 2012.07.24 |
(C++ Win32) LockScreen (0) | 2012.07.11 |
(Windows) 컴퓨터 잠금 (0) | 2012.06.27 |
Site Block: Web site blocker (0) | 2012.06.14 |