Release 990226.
[wine/gsoc-2012-control.git] / include / monitor.h
blobae5f8e106581f54aaeef4146ffd1999bd5a364d5
1 /*
2 * Monitor definitions
4 */
6 #ifndef __WINE_MONITOR_H
7 #define __WINE_MONITOR_H
9 struct tagMONITOR_DRIVER;
11 typedef struct tagMONITOR
13 struct tagMONITOR_DRIVER *pDriver;
14 void *pDriverData;
15 } MONITOR;
17 typedef struct tagMONITOR_DRIVER {
18 void (*pInitialize)(MONITOR *);
19 void (*pFinalize)(MONITOR *);
20 int (*pGetWidth)(MONITOR *);
21 int (*pGetHeight)(MONITOR *);
22 int (*pGetDepth)(MONITOR *);
23 } MONITOR_DRIVER;
25 extern MONITOR MONITOR_PrimaryMonitor;
27 extern void MONITOR_Initialize(MONITOR *pMonitor);
28 extern void MONITOR_Finalize(MONITOR *pMonitor);
29 extern int MONITOR_GetWidth(MONITOR *pMonitor);
30 extern int MONITOR_GetHeight(MONITOR *pMonitor);
31 extern int MONITOR_GetDepth(MONITOR *pMonitor);
33 #endif /* __WINE_MONITOR_H */