diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-01-12 12:32:15 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2016-01-12 12:32:15 +0100 |
commit | fc08bee5afdb07830d6c6fb28359a020a5c305c5 (patch) | |
tree | e2009681235886e7c9e6669f0939b679815fcfab /win/rfb_win32/MonitorInfo.h | |
parent | 4ab1e5d4b5ebaac0c410eedcc76865736aaa6ae4 (diff) | |
download | tigervnc-fc08bee5afdb07830d6c6fb28359a020a5c305c5.tar.gz tigervnc-fc08bee5afdb07830d6c6fb28359a020a5c305c5.zip |
Remove legacy Windows code
We have lots of code that deals with Windows versions that we no
longer support anyway. Clean out all of this old cruft.
Diffstat (limited to 'win/rfb_win32/MonitorInfo.h')
-rw-r--r-- | win/rfb_win32/MonitorInfo.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/win/rfb_win32/MonitorInfo.h b/win/rfb_win32/MonitorInfo.h index acf27755..2179b9b2 100644 --- a/win/rfb_win32/MonitorInfo.h +++ b/win/rfb_win32/MonitorInfo.h @@ -17,35 +17,18 @@ */ // Helper class used to obtain information about a particular monitor. -// This class wraps the Windows MONITORINFOEX ASCII structure, providing -// methods that can safely be called on both multi-monitor aware systems -// and older "legacy" systems. #ifndef __RFB_WIN32_MONITORINFO_H__ #define __RFB_WIN32_MONITORINFO_H__ #include <windows.h> -#ifdef MONITOR_DEFAULTTONULL -#define RFB_HAVE_MONITORINFO -#endif namespace rfb { namespace win32 { // Structure containing info on the monitor nearest the window. - // Copes with multi-monitor OSes and older ones. -#ifdef RFB_HAVE_MONITORINFO struct MonitorInfo : MONITORINFOEXA { -#else - struct MonitorInfo { - DWORD cbSize; - RECT rcMonitor; - RECT rcWork; - DWORD dwFlags; - char szDevice[1]; // Always null... -#endif - // Constructor: Obtains monitor info for the monitor that has the // greatest overlap with the supplied window or rectangle. MonitorInfo(HWND hwnd); |