aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-08-07 21:28:48 +1000
committernyamatongwe <devnull@localhost>2011-08-07 21:28:48 +1000
commit76cc7d2f163f6be5ad56aa496d5c24c8828ed3f5 (patch)
tree85fec9e7a1c17468cff04d12ba483efa57d9af25 /win32/PlatWin.h
parentf8033d162412bb4de9bd7754062377b8866cab76 (diff)
downloadscintilla-mirror-76cc7d2f163f6be5ad56aa496d5c24c8828ed3f5.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;