2004-04-18 Allan Bazinet <bazineta@users.sourceforge.net>
* include/winuser.h (MONITORINFOEX[AW]): Change to be derived from MONITORINFO when compiling as C++.
This commit is contained in:
parent
ebd2f65c4e
commit
4d60e6d231
|
@ -1,3 +1,8 @@
|
|||
2004-04-18 Allan Bazinet <bazineta@users.sourceforge.net>
|
||||
|
||||
* include/winuser.h (MONITORINFOEX[AW]): Change to be derived from
|
||||
MONITORINFO when compiling as C++.
|
||||
|
||||
2004-04-17 Luke Dunstan <infidel@users.sourceforge.net>
|
||||
|
||||
* README.w32api: List separate copyright conditions for some headers.
|
||||
|
|
|
@ -2950,6 +2950,16 @@ typedef struct tagMONITORINFO {
|
|||
DWORD dwFlags;
|
||||
} MONITORINFO,*LPMONITORINFO;
|
||||
#define CCHDEVICENAME 32
|
||||
#ifdef __cplusplus
|
||||
typedef struct tagMONITORINFOEXA : public tagMONITORINFO
|
||||
{
|
||||
CHAR szDevice[CCHDEVICENAME];
|
||||
} MONITORINFOEXA, *LPMONITORINFOEXA;
|
||||
typedef struct tagMONITORINFOEXW : public tagMONITORINFO
|
||||
{
|
||||
WCHAR szDevice[CCHDEVICENAME];
|
||||
} MONITORINFOEXW, *LPMONITORINFOEXW;
|
||||
#else
|
||||
typedef struct tagMONITORINFOEXA {
|
||||
DWORD cbSize;
|
||||
RECT rcMonitor;
|
||||
|
@ -2964,6 +2974,7 @@ typedef struct tagMONITORINFOEXW {
|
|||
DWORD dwFlags;
|
||||
WCHAR szDevice[CCHDEVICENAME];
|
||||
} MONITORINFOEXW,*LPMONITORINFOEXW;
|
||||
#endif /* __cplusplus */
|
||||
typedef struct tagKBDLLHOOKSTRUCT {
|
||||
DWORD vkCode;
|
||||
DWORD scanCode;
|
||||
|
|
Loading…
Reference in New Issue