From [this stackoverflow](https://stackoverflow.com/questions/713498/turn-on-off-monitor/14698416#14698416) ```c #include int main() { mouse_event(MOUSEEVENTF_MOVE, 0, 1, 0, 0); Sleep(40); mouse_event(MOUSEEVENTF_MOVE, 0, -1, 0, 0); } ```