15 lines
270 B
C
15 lines
270 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
#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);
|