Added macros to header file for easier function calling.
[wine/multimedia.git] / include / winuser.h
blobb022325dab9b04983eb6583a1e808bda41f375c0
1 #ifndef __INCLUDE_WINUSER_H
2 #define __INCLUDE_WINUSER_H
4 #include "wintypes.h"
5 #include "wingdi.h"
7 #pragma pack(1)
9 /*
10 * FIXME This is very partial. Only the few things that help partitioning
11 * got here
14 typedef struct _PRINTER_DEFAULTS32A {
15 LPSTR pDatatype;
16 LPDEVMODE32A pDevMode;
17 ACCESS_MASK DesiredAccess;
18 } PRINTER_DEFAULTS32A, *LPPRINTER_DEFAULTS32A;
20 typedef struct _PRINTER_DEFAULTS32W {
21 LPWSTR pDatatype;
22 LPDEVMODE32W pDevMode;
23 ACCESS_MASK DesiredAccess;
24 } PRINTER_DEFAULTS32W, *LPPRINTER_DEFAULTS32W;
26 DECL_WINELIB_TYPE_AW(PRINTER_DEFAULTS)
27 DECL_WINELIB_TYPE_AW(LPPRINTER_DEFAULTS)
29 #define MONITOR_DEFAULTTONULL 0x00000000
30 #define MONITOR_DEFAULTTOPRIMARY 0x00000001
31 #define MONITOR_DEFAULTTONEAREST 0x00000002
33 #define MONITORINFOF_PRIMARY 0x00000001
35 typedef struct tagMONITORINFO
37 DWORD cbSize;
38 RECT32 rcMonitor;
39 RECT32 rcWork;
40 DWORD dwFlags;
41 } MONITORINFO, *LPMONITORINFO;
43 typedef struct tagMONITORINFOEX32A
45 MONITORINFO dummy;
46 CHAR szDevice[CCHDEVICENAME];
47 } MONITORINFOEX32A, *LPMONITORINFOEX32A;
49 typedef struct tagMONITORINFOEX32W
51 MONITORINFO dummy;
52 WCHAR szDevice[CCHDEVICENAME];
53 } MONITORINFOEX32W, *LPMONITORINFOEX32W;
55 DECL_WINELIB_TYPE_AW(MONITORINFOEX)
56 DECL_WINELIB_TYPE_AW(LPMONITORINFOEX)
58 typedef BOOL32 (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC32,LPRECT32,LPARAM);
60 #pragma pack(4)
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)
79 #endif /* __INCLUDE_WINUSER_H */