#pragma once #include #define BADDISPLAY -1 #define DPMSDISABLED -2 #define NODPMSEXTENSION -3 #define NOTDPMSCAPABLE -4 #define UNKNOWNDPMSMODE -5 int turn_display_off(const char* xDisplayName); int is_display_on(const char* xDisplayName, bool* isOn);