aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-08-07 21:28:48 +1000
committernyamatongwe <unknown>2011-08-07 21:28:48 +1000
commita87f9b8b42dc830045972b772d61009f45bbf551 (patch)
tree45a2b329c4117a1b687775d67e251f2b4ee6e166 /win32/PlatWin.h
parentea07369a205b6a273e3c4b0e70ab16a93f6d9d9a (diff)
downloadscintilla-mirror-a87f9b8b42dc830045972b772d61009f45bbf551.tar.gz
Dynamically loading Direct2D and DirectWrite at run time so can run on Windows XP.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
new file mode 100644
index 000000000..dc3f8e432
--- /dev/null
+++ b/win32/PlatWin.h
@@ -0,0 +1,13 @@
+// Scintilla source code edit control
+/** @file PlatWin.h
+ ** Implementation of platform facilities on Windows.
+ **/
+// Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+extern bool IsNT();
+extern void Platform_Initialise(void *hInstance);
+extern void Platform_Finalise();
+extern bool LoadD2D();
+extern ID2D1Factory *pD2DFactory;
+extern IDWriteFactory *pIDWriteFactory;