Added missing declarations required for e.g. VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,6 +60,22 @@
|
|||||||
// is only defined in winuser.h if WINVER >= 0x0500
|
// is only defined in winuser.h if WINVER >= 0x0500
|
||||||
#if !defined(HMONITOR_DECLARED) && !defined(MNS_NOCHECK)
|
#if !defined(HMONITOR_DECLARED) && !defined(MNS_NOCHECK)
|
||||||
DECLARE_HANDLE(HMONITOR);
|
DECLARE_HANDLE(HMONITOR);
|
||||||
|
typedef BOOL(CALLBACK * MONITORENUMPROC )(HMONITOR, HDC, LPRECT, LPARAM);
|
||||||
|
typedef struct tagMONITORINFO
|
||||||
|
{
|
||||||
|
DWORD cbSize;
|
||||||
|
RECT rcMonitor;
|
||||||
|
RECT rcWork;
|
||||||
|
DWORD dwFlags;
|
||||||
|
} MONITORINFO, *LPMONITORINFO;
|
||||||
|
typedef struct tagMONITORINFOEX : public tagMONITORINFO
|
||||||
|
{
|
||||||
|
TCHAR szDevice[CCHDEVICENAME];
|
||||||
|
} MONITORINFOEX, *LPMONITORINFOEX;
|
||||||
|
#define MONITOR_DEFAULTTONULL 0x00000000
|
||||||
|
#define MONITOR_DEFAULTTOPRIMARY 0x00000001
|
||||||
|
#define MONITOR_DEFAULTTONEAREST 0x00000002
|
||||||
|
#define MONITORINFOF_PRIMARY 0x00000001
|
||||||
#define HMONITOR_DECLARED
|
#define HMONITOR_DECLARED
|
||||||
#endif
|
#endif
|
||||||
#endif // !__WXWINCE__
|
#endif // !__WXWINCE__
|
||||||
|
Reference in New Issue
Block a user