Connect monitor to monitor

I turned off the computer monitor with this command

SendMessage(f.Handle, WM_SYSCOMMAND, (IntPtr)SC_MONITORPOWER, (IntPtr)(turnOff ? 2 : -1)); 

Is it possible to connect a monitor to prevent it or to perform some function?

+4
source share
1 answer

See here .

+2
source

Source: https://habr.com/ru/post/1305144/


All Articles