I have turned computer monitor off using this command
SendMessage(f.Handle, WM_SYSCOMMAND, (IntPtr)SC_MONITORPOWER, (IntPtr)(turnOff ? 2 : -1));
is it possible to hook monitor turning on to prevent it or execute some function?
I have turned computer monitor off using this command
SendMessage(f.Handle, WM_SYSCOMMAND, (IntPtr)SC_MONITORPOWER, (IntPtr)(turnOff ? 2 : -1));
is it possible to hook monitor turning on to prevent it or execute some function?