I know how to turn off all monitors
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
But I want to turn only single one.
I know how to turn off all monitors
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
But I want to turn only single one.
As I mentioned above - it is required to use lowlevelmonitorconfigurationapi library.
The following code is a sample about how to create an independent screensaver for all monitors.