diff dwt/internal/win32/OS.d @ 37:e3a5d61b33cd

Composite
author Frank Benoit <benoit@tionex.de>
date Fri, 01 Feb 2008 14:26:47 +0100
parents 99d8b02576c3
children 4d6511d2441f
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d	Tue Jan 29 00:52:45 2008 +0100
+++ b/dwt/internal/win32/OS.d	Fri Feb 01 14:26:47 2008 +0100
@@ -41,6 +41,14 @@
 
 public class OS : C {
 
+    public static HINSTANCE GetLibraryHandle(){
+        //PORTING_FIXME: GetLibraryHandle
+        // is the hInstance of the DLL or null, if not a DLL.
+        // At the moment DWT is statically linked but this needs to be fixed
+        return null;
+    }
+
+
     private static int getNOTIFYICONDATAA_V2_SIZE (){
         // hm, NOTIFYICONDATAA.dwInfoFlags.offsetof did not compile
         return IsWinCE ? NOTIFYICONDATAA.sizeof : cast(int)(&(cast(NOTIFYICONDATAA*)null).dwInfoFlags) + int.sizeof;
@@ -4040,6 +4048,7 @@
 alias WINAPI.AdjustWindowRectEx AdjustWindowRectEx;
 alias WINAPI.AlphaBlend AlphaBlend;
 alias WINAPI.Arc Arc;
+alias WINAPI.BeginBufferedPaint BeginBufferedPaint;
 alias WINAPI.BeginDeferWindowPos BeginDeferWindowPos;
 alias WINAPI.BeginPaint BeginPaint;
 alias STDWIN.BeginPath BeginPath;
@@ -4145,6 +4154,7 @@
 alias WINAPI.EnableScrollBar EnableScrollBar;
 alias WINAPI.EnableWindow EnableWindow;
 alias WINAPI.EndDeferWindowPos EndDeferWindowPos;
+alias WINAPI.EndBufferedPaint EndBufferedPaint;
 alias WINAPI.EndDoc EndDoc;
 alias WINAPI.EndPage EndPage;
 alias WINAPI.EndPaint EndPaint;
@@ -4286,6 +4296,7 @@
 alias WINAPI.GetVersionExA GetVersionExA;
 alias WINAPI.GetVersionExW GetVersionExW;
 alias WINAPI.GetWindow GetWindow;
+alias STDWIN.GetWindowDC GetWindowDC;
 alias STDWIN.GetWindowOrgEx GetWindowOrgEx;
 alias WINAPI.GetWindowLongA GetWindowLongA;
 alias WINAPI.GetWindowLongW GetWindowLongW;