Large-scale renaming of all Win32 functions and types to use the
[wine] / include / monitor.h
1 /*
2  * Monitor definitions
3  *
4  */
5
6 #ifndef __WINE_MONITOR_H
7 #define __WINE_MONITOR_H
8
9 struct tagMONITOR_DRIVER;
10
11 typedef struct tagMONITOR 
12 {
13   struct tagMONITOR_DRIVER *pDriver;
14   void                     *pDriverData;
15 } MONITOR;
16
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;
24
25 extern MONITOR MONITOR_PrimaryMonitor;
26
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);
32
33 #endif /* __WINE_MONITOR_H */