VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

turnoff monitor

Sahir  (5 Submissions)   Windows System Services   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

this code can be used to turnoff the computer

Assumes
code is usable if motherbord support for api given

Side Effects
unknown yet

API Declarations
SendMessage
SC_MONITORPOWER = &HF170&
Const MONITOR_ON = -1&
Const MONITOR_OFF = 2&
Const WM_SYSCOMMAND = &H112

Rate turnoff monitor (4(4 Vote))

Download turnoff monitor

turnoff monitor Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters