[PATCH] include: Add multimon.h.

Alex Henrie alexhenrie24 at gmail.com
Thu Sep 7 10:11:15 CDT 2017


In old versions of the Windows SDK, multimon.h redefined several
functions to hack in multiple monitor API support for versions of
Windows that did not support multiple monitors. multimon.h has not
been needed in over a decade, but PuTTY still disables its multipule
monitor support at compile time if multimon.h is not present.

See https://blogs.msdn.microsoft.com/oldnewthing/20091207-00/?p=15763

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 include/multimon.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 include/multimon.h

diff --git a/include/multimon.h b/include/multimon.h
new file mode 100644
index 0000000000..22f00abb09
--- /dev/null
+++ b/include/multimon.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2017 Alex Henrie
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/* This file intentionally left blank */
-- 
2.14.1




More information about the wine-patches mailing list