Preliminary tooltip support.
[wine] / include / winuser.h
1 #ifndef __INCLUDE_WINUSER_H
2 #define __INCLUDE_WINUSER_H
3
4 #include "wintypes.h"
5 #include "wingdi.h"
6
7 #pragma pack(1)
8
9 /*
10  * FIXME This is very partial. Only the few things that help partitioning
11  *       got here
12  */
13
14 typedef struct _PRINTER_DEFAULTS32A {
15     LPSTR        pDatatype;
16     LPDEVMODE32A pDevMode;
17     ACCESS_MASK  DesiredAccess;
18 } PRINTER_DEFAULTS32A, *LPPRINTER_DEFAULTS32A;
19
20 typedef struct _PRINTER_DEFAULTS32W {
21     LPWSTR       pDatatype;
22     LPDEVMODE32W pDevMode;
23     ACCESS_MASK  DesiredAccess;
24 } PRINTER_DEFAULTS32W, *LPPRINTER_DEFAULTS32W;
25
26 DECL_WINELIB_TYPE_AW(PRINTER_DEFAULTS)
27 DECL_WINELIB_TYPE_AW(LPPRINTER_DEFAULTS)
28
29 #define MONITOR_DEFAULTTONULL       0x00000000
30 #define MONITOR_DEFAULTTOPRIMARY    0x00000001
31 #define MONITOR_DEFAULTTONEAREST    0x00000002
32
33 #define MONITORINFOF_PRIMARY        0x00000001
34
35 typedef struct tagMONITORINFO
36 {
37     DWORD   cbSize;
38     RECT32  rcMonitor;
39     RECT32  rcWork;
40     DWORD   dwFlags;
41 } MONITORINFO, *LPMONITORINFO;
42
43 typedef struct tagMONITORINFOEX32A
44 {
45     MONITORINFO dummy;
46     CHAR        szDevice[CCHDEVICENAME];
47 } MONITORINFOEX32A, *LPMONITORINFOEX32A;
48
49 typedef struct tagMONITORINFOEX32W
50 {
51     MONITORINFO dummy;
52     WCHAR       szDevice[CCHDEVICENAME];
53 } MONITORINFOEX32W, *LPMONITORINFOEX32W;
54
55 DECL_WINELIB_TYPE_AW(MONITORINFOEX)
56 DECL_WINELIB_TYPE_AW(LPMONITORINFOEX)
57
58 typedef BOOL32  (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC32,LPRECT32,LPARAM);
59
60 #pragma pack(4)
61
62 BOOL32      WINAPI EnumDisplayMonitors(HDC32,LPRECT32,MONITORENUMPROC,LPARAM);
63 BOOL32      WINAPI GetMonitorInfo32A(HMONITOR,LPMONITORINFO);
64 BOOL32      WINAPI GetMonitorInfo32W(HMONITOR,LPMONITORINFO);
65 #define     GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo)
66 HDC16       WINAPI BeginPaint16(HWND16,LPPAINTSTRUCT16);
67 HDC32       WINAPI BeginPaint32(HWND32,LPPAINTSTRUCT32);
68 #define     BeginPaint WINELIB_NAME(BeginPaint)
69 BOOL16      WINAPI EndPaint16(HWND16,const PAINTSTRUCT16*);
70 BOOL32      WINAPI EndPaint32(HWND32,const PAINTSTRUCT32*);
71 #define     EndPaint WINELIB_NAME(EndPaint)
72 COLORREF    WINAPI GetSysColor16(INT16);
73 COLORREF    WINAPI GetSysColor32(INT32);
74 #define     GetSysColor WINELIB_NAME(GetSysColor)
75 VOID        WINAPI SetSysColors16(INT16,const INT16*,const COLORREF*);
76 BOOL32      WINAPI SetSysColors32(INT32,const INT32*,const COLORREF*);
77 #define     SetSysColors WINELIB_NAME(SetSysColors)
78
79 #endif /* __INCLUDE_WINUSER_H */