Removed resource.h.
[wine.git] / include / monitor.h
blobec37bbf585426d505da434cfd4bed3b3301373ae
1 /*
2 * Monitor definitions
4 */
6 #ifndef __WINE_MONITOR_H
7 #define __WINE_MONITOR_H
9 #include "windef.h"
11 struct tagMONITOR_DRIVER;
13 typedef struct tagMONITOR
15 void *pDriverData;
16 } MONITOR;
18 typedef struct tagMONITOR_DRIVER {
19 void (*pInitialize)(struct tagMONITOR *);
20 void (*pFinalize)(struct tagMONITOR *);
21 BOOL (*pIsSingleWindow)(struct tagMONITOR *);
22 int (*pGetWidth)(struct tagMONITOR *);
23 int (*pGetHeight)(struct tagMONITOR *);
24 int (*pGetDepth)(struct tagMONITOR *);
25 BOOL (*pGetScreenSaveActive)(struct tagMONITOR *);
26 void (*pSetScreenSaveActive)(struct tagMONITOR *, BOOL);
27 int (*pGetScreenSaveTimeout)(struct tagMONITOR *);
28 void (*pSetScreenSaveTimeout)(struct tagMONITOR *, int);
29 } MONITOR_DRIVER;
31 extern MONITOR_DRIVER *MONITOR_Driver;
33 extern MONITOR MONITOR_PrimaryMonitor;
35 extern void MONITOR_Initialize(MONITOR *pMonitor);
36 extern void MONITOR_Finalize(MONITOR *pMonitor);
37 extern BOOL MONITOR_IsSingleWindow(MONITOR *pMonitor);
38 extern int MONITOR_GetWidth(MONITOR *pMonitor);
39 extern int MONITOR_GetHeight(MONITOR *pMonitor);
40 extern int MONITOR_GetDepth(MONITOR *pMonitor);
41 extern BOOL MONITOR_GetScreenSaveActive(MONITOR *pMonitor);
42 extern void MONITOR_SetScreenSaveActive(MONITOR *pMonitor, BOOL bActivate);
43 extern int MONITOR_GetScreenSaveTimeout(MONITOR *pMonitor);
44 extern void MONITOR_SetScreenSaveTimeout(MONITOR *pMonitor, int nTimeout);
46 #endif /* __WINE_MONITOR_H */