I have in the past, used SendMessage(handle, 0x112, 0xF170, 2);
to turn off the monitor leaving the machine on. It works great until Modern Standby came along and screwed everything up. The above now makes the entire computer go into sleep mode (S0 Low power idle) instead of simply turning off the screen and letting the computer on.
I have set in settings, for the screen to turn off after 1 minute, and sleep to start after 15 minutes. And the system is capable of doing this without the machine entering sleep mode after the first minute. I know windows can do this, I just am unsure of how or if something in the parameters needs to be changed.
My issue is similar to this one: SendMessage turn Off the monitor makes some system sleep in vb