harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r440748 [12/25] - in /incubator/harmony/enhanced/classlib/trunk/modules: accessibility/src/main/java/javax/accessibility/ awt/ awt/make/ awt/src/main/java/common/java/awt/ awt/src/main/java/common/java/awt/datatransfer/ awt/src/main/java/co...
Date Wed, 06 Sep 2006 16:06:30 GMT
Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/Win32.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/Win32.java?view=diff&rev=440748&r1=440747&r2=440748
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/Win32.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/Win32.java Wed Sep  6 09:06:15 2006
@@ -13,20 +13,18 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
+
 /**
  * @author Pavel Dolgov
  * @version $Revision$
+ *
+ * This file is based on Win32 headers and has been generated by the nativebridge tool.
  */
 package org.apache.harmony.awt.nativebridge.windows;
 
 
 import org.apache.harmony.awt.nativebridge.*;
 
-/**
- * This file has been generated by a program.
- *
- *
- */
 public class Win32 extends BasicLibWrapper {
     static Win32 instance;
 
@@ -226,6 +224,188 @@
 
     public final native int BitBlt(long param_0, int param_1, int param_2, int param_3, int param_4, long param_5, int param_6, int param_7, int param_8);
 
+    public final int GetSaveFileNameW(OPENFILENAMEW param_0) {
+        long tmp_0 = param_0 == null ? 0 : param_0.longLockPointer();
+        int tmp_ret = GetSaveFileNameW(tmp_0);
+        if (param_0 != null) {
+            param_0.unlock();
+        }
+        return tmp_ret;
+    }
+    public final native int GetSaveFileNameW(long param_0);
+
+
+    public static class OPENFILENAMEW extends CommonStructWrapper {
+
+        public static final int sizeof = NativeBridge.is64 ? 152 : 88;
+
+        OPENFILENAMEW(boolean direct) {
+            super(sizeof, direct);
+        }
+        OPENFILENAMEW(VoidPointer base) {
+            super(base);
+        }
+        OPENFILENAMEW(long addr) {
+            super(addr);
+        }
+        public final void set_lStructSize(int val) {
+            byteBase.setInt32(0, val);
+        }
+        public final int get_lStructSize() {
+            return byteBase.getInt32(0);
+        }
+        public final void set_hwndOwner(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 8 : 4, val);
+        }
+        public final long get_hwndOwner() {
+            return byteBase.getAddress(NativeBridge.is64 ? 8 : 4);
+        }
+        public final void set_hInstance(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 16 : 8, val);
+        }
+        public final long get_hInstance() {
+            return byteBase.getAddress(NativeBridge.is64 ? 16 : 8);
+        }
+        public final void set_lpstrFilter(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 24 : 12, val);
+        }
+        public final Int16Pointer get_lpstrFilter() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 24 : 12));
+        }
+        public final void set_lpstrCustomFilter(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 32 : 16, val);
+        }
+        public final Int16Pointer get_lpstrCustomFilter() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 32 : 16));
+        }
+        public final void set_nMaxCustFilter(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 40 : 20, val);
+        }
+        public final int get_nMaxCustFilter() {
+            return byteBase.getInt32(NativeBridge.is64 ? 40 : 20);
+        }
+        public final void set_nFilterIndex(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 44 : 24, val);
+        }
+        public final int get_nFilterIndex() {
+            return byteBase.getInt32(NativeBridge.is64 ? 44 : 24);
+        }
+        public final void set_lpstrFile(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 48 : 28, val);
+        }
+        public final Int16Pointer get_lpstrFile() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 48 : 28));
+        }
+        public final void set_nMaxFile(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 56 : 32, val);
+        }
+        public final int get_nMaxFile() {
+            return byteBase.getInt32(NativeBridge.is64 ? 56 : 32);
+        }
+        public final void set_lpstrFileTitle(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 64 : 36, val);
+        }
+        public final Int16Pointer get_lpstrFileTitle() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 64 : 36));
+        }
+        public final void set_nMaxFileTitle(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 72 : 40, val);
+        }
+        public final int get_nMaxFileTitle() {
+            return byteBase.getInt32(NativeBridge.is64 ? 72 : 40);
+        }
+        public final void set_lpstrInitialDir(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 80 : 44, val);
+        }
+        public final Int16Pointer get_lpstrInitialDir() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 80 : 44));
+        }
+        public final void set_lpstrTitle(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 88 : 48, val);
+        }
+        public final Int16Pointer get_lpstrTitle() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 88 : 48));
+        }
+        public final void set_Flags(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 96 : 52, val);
+        }
+        public final int get_Flags() {
+            return byteBase.getInt32(NativeBridge.is64 ? 96 : 52);
+        }
+        public final void set_nFileOffset(short val) {
+            byteBase.setInt16(NativeBridge.is64 ? 100 : 56, val);
+        }
+        public final short get_nFileOffset() {
+            return byteBase.getInt16(NativeBridge.is64 ? 100 : 56);
+        }
+        public final void set_nFileExtension(short val) {
+            byteBase.setInt16(NativeBridge.is64 ? 102 : 58, val);
+        }
+        public final short get_nFileExtension() {
+            return byteBase.getInt16(NativeBridge.is64 ? 102 : 58);
+        }
+        public final void set_lpstrDefExt(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 104 : 60, val);
+        }
+        public final Int16Pointer get_lpstrDefExt() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 104 : 60));
+        }
+        public final void set_lCustData(long val) {
+            byteBase.setCLong(NativeBridge.is64 ? 112 : 64, val);
+        }
+        public final long get_lCustData() {
+            return byteBase.getCLong(NativeBridge.is64 ? 112 : 64);
+        }
+        public final void set_lpfnHook(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 120 : 68, val);
+        }
+        public final long get_lpfnHook() {
+            return byteBase.getAddress(NativeBridge.is64 ? 120 : 68);
+        }
+        public final long LPOFNHOOKPROC(long param_0, int param_1, long param_2, long param_3) {
+            long tmp_ret = instance.proxycall0(get_lpfnHook(), param_0, param_1, param_2, param_3);
+            return tmp_ret;
+        }
+        public final void set_lpTemplateName(Int16Pointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 128 : 72, val);
+        }
+        public final Int16Pointer get_lpTemplateName() {
+            return nb.createInt16Pointer(byteBase.getAddress(NativeBridge.is64 ? 128 : 72));
+        }
+        public final void set_pvReserved(VoidPointer val) {
+            byteBase.setPointer(NativeBridge.is64 ? 136 : 76, val);
+        }
+        public final VoidPointer get_pvReserved() {
+            return nb.createInt8Pointer(byteBase.getAddress(NativeBridge.is64 ? 136 : 76));
+        }
+        public final void set_dwReserved(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 144 : 80, val);
+        }
+        public final int get_dwReserved() {
+            return byteBase.getInt32(NativeBridge.is64 ? 144 : 80);
+        }
+        public final void set_FlagsEx(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 148 : 84, val);
+        }
+        public final int get_FlagsEx() {
+            return byteBase.getInt32(NativeBridge.is64 ? 148 : 84);
+        }
+        public int size() {
+            return sizeof;
+        }
+    }
+
+    public final OPENFILENAMEW createOPENFILENAMEW(boolean direct) {
+        return new OPENFILENAMEW(direct);
+    }
+    public final OPENFILENAMEW createOPENFILENAMEW(VoidPointer base) {
+        return new OPENFILENAMEW(base);
+    }
+    public final OPENFILENAMEW createOPENFILENAMEW(long addr) {
+        return new OPENFILENAMEW(addr);
+    }
+
+    final native long proxycall0(long fnptr, long param_0, int param_1, long param_2, long param_3);
     public final native int CreateCaret(long hWnd, long hBitmap, int nWidth, int nHeight);
 
     public final native int ImmDestroyContext(long param_0);
@@ -1103,6 +1283,128 @@
 
     public final native int GetLastError();
 
+    public final void SHGetSettings(SHELLFLAGSTATE lpsfs, int dwMask) {
+        long tmp_0 = lpsfs == null ? 0 : lpsfs.longLockPointer();
+        SHGetSettings(tmp_0, dwMask);
+        if (lpsfs != null) {
+            lpsfs.unlock();
+        }
+    }
+    public final native void SHGetSettings(long lpsfs, int dwMask);
+
+
+    public static class SHELLFLAGSTATE extends CommonStructWrapper {
+
+        public static final int sizeof = 56;
+
+        SHELLFLAGSTATE(boolean direct) {
+            super(sizeof, direct);
+        }
+        SHELLFLAGSTATE(VoidPointer base) {
+            super(base);
+        }
+        SHELLFLAGSTATE(long addr) {
+            super(addr);
+        }
+        public final void set_fShowAllObjects(int val) {
+            byteBase.setInt32(0, val);
+        }
+        public final int get_fShowAllObjects() {
+            return byteBase.getInt32(0);
+        }
+        public final void set_fShowExtensions(int val) {
+            byteBase.setInt32(4, val);
+        }
+        public final int get_fShowExtensions() {
+            return byteBase.getInt32(4);
+        }
+        public final void set_fNoConfirmRecycle(int val) {
+            byteBase.setInt32(8, val);
+        }
+        public final int get_fNoConfirmRecycle() {
+            return byteBase.getInt32(8);
+        }
+        public final void set_fShowSysFiles(int val) {
+            byteBase.setInt32(12, val);
+        }
+        public final int get_fShowSysFiles() {
+            return byteBase.getInt32(12);
+        }
+        public final void set_fShowCompColor(int val) {
+            byteBase.setInt32(16, val);
+        }
+        public final int get_fShowCompColor() {
+            return byteBase.getInt32(16);
+        }
+        public final void set_fDoubleClickInWebView(int val) {
+            byteBase.setInt32(20, val);
+        }
+        public final int get_fDoubleClickInWebView() {
+            return byteBase.getInt32(20);
+        }
+        public final void set_fDesktopHTML(int val) {
+            byteBase.setInt32(24, val);
+        }
+        public final int get_fDesktopHTML() {
+            return byteBase.getInt32(24);
+        }
+        public final void set_fWin95Classic(int val) {
+            byteBase.setInt32(28, val);
+        }
+        public final int get_fWin95Classic() {
+            return byteBase.getInt32(28);
+        }
+        public final void set_fDontPrettyPath(int val) {
+            byteBase.setInt32(32, val);
+        }
+        public final int get_fDontPrettyPath() {
+            return byteBase.getInt32(32);
+        }
+        public final void set_fShowAttribCol(int val) {
+            byteBase.setInt32(36, val);
+        }
+        public final int get_fShowAttribCol() {
+            return byteBase.getInt32(36);
+        }
+        public final void set_fMapNetDrvBtn(int val) {
+            byteBase.setInt32(40, val);
+        }
+        public final int get_fMapNetDrvBtn() {
+            return byteBase.getInt32(40);
+        }
+        public final void set_fShowInfoTip(int val) {
+            byteBase.setInt32(44, val);
+        }
+        public final int get_fShowInfoTip() {
+            return byteBase.getInt32(44);
+        }
+        public final void set_fHideIcons(int val) {
+            byteBase.setInt32(48, val);
+        }
+        public final int get_fHideIcons() {
+            return byteBase.getInt32(48);
+        }
+        public final void set_fRestFlags(int val) {
+            byteBase.setInt32(52, val);
+        }
+        public final int get_fRestFlags() {
+            return byteBase.getInt32(52);
+        }
+        public int size() {
+            return sizeof;
+        }
+    }
+
+    public final SHELLFLAGSTATE createSHELLFLAGSTATE(boolean direct) {
+        return new SHELLFLAGSTATE(direct);
+    }
+    public final SHELLFLAGSTATE createSHELLFLAGSTATE(VoidPointer base) {
+        return new SHELLFLAGSTATE(base);
+    }
+    public final SHELLFLAGSTATE createSHELLFLAGSTATE(long addr) {
+        return new SHELLFLAGSTATE(addr);
+    }
+
     public final native long ImmAssociateContext(long param_0, long param_1);
 
     public final native long ImmGetContext(long param_0);
@@ -1592,6 +1894,8 @@
 
     public final native long ActivateKeyboardLayout(long hkl, int Flags);
 
+    public final native int CommDlgExtendedError();
+
     public final int GlobalUnlock(VoidPointer hMem) {
         long tmp_0 = hMem == null ? 0 : hMem.longLockPointer();
         int tmp_ret = GlobalUnlock(tmp_0);
@@ -1983,7 +2287,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObject == null ? 0 : ppvObject.longLockPointer();
-            int tmp_ret = instance.proxycall0(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall1(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2003,7 +2307,7 @@
         }
         public final int AddRef(Win32.IShellFolder This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall1(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall2(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2017,7 +2321,7 @@
         }
         public final int Release(Win32.IShellFolder This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall2(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall3(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2036,7 +2340,7 @@
             long tmp_3 = pchEaten == null ? 0 : pchEaten.longLockPointer();
             long tmp_4 = ppidl == null ? 0 : ppidl.longLockPointer();
             long tmp_5 = pdwAttributes == null ? 0 : pdwAttributes.longLockPointer();
-            int tmp_ret = instance.proxycall3(get_ParseDisplayName(), tmp_0, hwnd, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5);
+            int tmp_ret = instance.proxycall4(get_ParseDisplayName(), tmp_0, hwnd, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5);
             if (This != null) {
                 This.unlock();
             }
@@ -2066,7 +2370,7 @@
         public final int EnumObjects(Win32.IShellFolder This, long hwnd, int grfFlags, PointerPointer ppenumIDList) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = ppenumIDList == null ? 0 : ppenumIDList.longLockPointer();
-            int tmp_ret = instance.proxycall4(get_EnumObjects(), tmp_0, hwnd, grfFlags, tmp_1);
+            int tmp_ret = instance.proxycall5(get_EnumObjects(), tmp_0, hwnd, grfFlags, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2087,7 +2391,7 @@
             long tmp_2 = pbc == null ? 0 : pbc.longLockPointer();
             long tmp_3 = riid == null ? 0 : riid.longLockPointer();
             long tmp_4 = ppv == null ? 0 : ppv.longLockPointer();
-            int tmp_ret = instance.proxycall5(get_BindToObject(), tmp_0, tmp_1, tmp_2, tmp_3, tmp_4);
+            int tmp_ret = instance.proxycall6(get_BindToObject(), tmp_0, tmp_1, tmp_2, tmp_3, tmp_4);
             if (This != null) {
                 This.unlock();
             }
@@ -2117,7 +2421,7 @@
             long tmp_2 = pbc == null ? 0 : pbc.longLockPointer();
             long tmp_3 = riid == null ? 0 : riid.longLockPointer();
             long tmp_4 = ppv == null ? 0 : ppv.longLockPointer();
-            int tmp_ret = instance.proxycall6(get_BindToStorage(), tmp_0, tmp_1, tmp_2, tmp_3, tmp_4);
+            int tmp_ret = instance.proxycall7(get_BindToStorage(), tmp_0, tmp_1, tmp_2, tmp_3, tmp_4);
             if (This != null) {
                 This.unlock();
             }
@@ -2145,7 +2449,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pidl1 == null ? 0 : pidl1.longLockPointer();
             long tmp_2 = pidl2 == null ? 0 : pidl2.longLockPointer();
-            int tmp_ret = instance.proxycall7(get_CompareIDs(), tmp_0, lParam, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall8(get_CompareIDs(), tmp_0, lParam, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2167,7 +2471,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppv == null ? 0 : ppv.longLockPointer();
-            int tmp_ret = instance.proxycall8(get_CreateViewObject(), tmp_0, hwndOwner, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall9(get_CreateViewObject(), tmp_0, hwndOwner, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2189,7 +2493,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = apidl == null ? 0 : apidl.longLockPointer();
             long tmp_2 = rgfInOut == null ? 0 : rgfInOut.longLockPointer();
-            int tmp_ret = instance.proxycall9(get_GetAttributesOf(), tmp_0, cidl, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall10(get_GetAttributesOf(), tmp_0, cidl, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2213,7 +2517,7 @@
             long tmp_2 = riid == null ? 0 : riid.longLockPointer();
             long tmp_3 = rgfReserved == null ? 0 : rgfReserved.longLockPointer();
             long tmp_4 = ppv == null ? 0 : ppv.longLockPointer();
-            int tmp_ret = instance.proxycall10(get_GetUIObjectOf(), tmp_0, hwndOwner, cidl, tmp_1, tmp_2, tmp_3, tmp_4);
+            int tmp_ret = instance.proxycall11(get_GetUIObjectOf(), tmp_0, hwndOwner, cidl, tmp_1, tmp_2, tmp_3, tmp_4);
             if (This != null) {
                 This.unlock();
             }
@@ -2241,7 +2545,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pidl == null ? 0 : pidl.longLockPointer();
             long tmp_2 = pName == null ? 0 : pName.longLockPointer();
-            int tmp_ret = instance.proxycall11(get_GetDisplayNameOf(), tmp_0, tmp_1, uFlags, tmp_2);
+            int tmp_ret = instance.proxycall12(get_GetDisplayNameOf(), tmp_0, tmp_1, uFlags, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2265,7 +2569,7 @@
             Int16Pointer _pszName = null == pszName? null :  nb.createInt16Pointer(pszName, false);
             long tmp_2 = _pszName == null ? 0 : _pszName.longLockPointer();
             long tmp_3 = ppidlOut == null ? 0 : ppidlOut.longLockPointer();
-            int tmp_ret = instance.proxycall12(get_SetNameOf(), tmp_0, hwnd, tmp_1, tmp_2, uFlags, tmp_3);
+            int tmp_ret = instance.proxycall13(get_SetNameOf(), tmp_0, hwnd, tmp_1, tmp_2, uFlags, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -2286,7 +2590,7 @@
             long tmp_1 = pidl == null ? 0 : pidl.longLockPointer();
             long tmp_2 = pszName == null ? 0 : pszName.longLockPointer();
             long tmp_3 = ppidlOut == null ? 0 : ppidlOut.longLockPointer();
-            int tmp_ret = instance.proxycall12(get_SetNameOf(), tmp_0, hwnd, tmp_1, tmp_2, uFlags, tmp_3);
+            int tmp_ret = instance.proxycall13(get_SetNameOf(), tmp_0, hwnd, tmp_1, tmp_2, uFlags, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -2424,7 +2728,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObject == null ? 0 : ppvObject.longLockPointer();
-            int tmp_ret = instance.proxycall13(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall14(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2444,7 +2748,7 @@
         }
         public final int AddRef(Win32.IBindCtx This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall14(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall15(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2458,7 +2762,7 @@
         }
         public final int Release(Win32.IBindCtx This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall15(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall16(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2473,7 +2777,7 @@
         public final int RegisterObjectBound(Win32.IBindCtx This, Win32.IUnknown punk) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = punk == null ? 0 : punk.longLockPointer();
-            int tmp_ret = instance.proxycall16(get_RegisterObjectBound(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall17(get_RegisterObjectBound(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2491,7 +2795,7 @@
         public final int RevokeObjectBound(Win32.IBindCtx This, Win32.IUnknown punk) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = punk == null ? 0 : punk.longLockPointer();
-            int tmp_ret = instance.proxycall17(get_RevokeObjectBound(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall18(get_RevokeObjectBound(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2508,7 +2812,7 @@
         }
         public final int ReleaseBoundObjects(Win32.IBindCtx This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall18(get_ReleaseBoundObjects(), tmp_0);
+            int tmp_ret = instance.proxycall19(get_ReleaseBoundObjects(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2523,7 +2827,7 @@
         public final int SetBindOptions(Win32.IBindCtx This, Win32.BIND_OPTS pbindopts) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pbindopts == null ? 0 : pbindopts.longLockPointer();
-            int tmp_ret = instance.proxycall19(get_SetBindOptions(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall20(get_SetBindOptions(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2541,7 +2845,7 @@
         public final int GetBindOptions(Win32.IBindCtx This, Win32.BIND_OPTS pbindopts) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pbindopts == null ? 0 : pbindopts.longLockPointer();
-            int tmp_ret = instance.proxycall20(get_GetBindOptions(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall21(get_GetBindOptions(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2559,7 +2863,7 @@
         public final int GetRunningObjectTable(Win32.IBindCtx This, PointerPointer pprot) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pprot == null ? 0 : pprot.longLockPointer();
-            int tmp_ret = instance.proxycall21(get_GetRunningObjectTable(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall22(get_GetRunningObjectTable(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2578,7 +2882,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pszKey == null ? 0 : pszKey.longLockPointer();
             long tmp_2 = punk == null ? 0 : punk.longLockPointer();
-            int tmp_ret = instance.proxycall22(get_RegisterObjectParam(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall23(get_RegisterObjectParam(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2600,7 +2904,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pszKey == null ? 0 : pszKey.longLockPointer();
             long tmp_2 = ppunk == null ? 0 : ppunk.longLockPointer();
-            int tmp_ret = instance.proxycall23(get_GetObjectParam(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall24(get_GetObjectParam(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2621,7 +2925,7 @@
         public final int EnumObjectParam(Win32.IBindCtx This, PointerPointer ppenum) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = ppenum == null ? 0 : ppenum.longLockPointer();
-            int tmp_ret = instance.proxycall24(get_EnumObjectParam(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall25(get_EnumObjectParam(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2639,7 +2943,7 @@
         public final int RevokeObjectParam(Win32.IBindCtx This, Int16Pointer pszKey) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = pszKey == null ? 0 : pszKey.longLockPointer();
-            int tmp_ret = instance.proxycall25(get_RevokeObjectParam(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall26(get_RevokeObjectParam(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -2687,7 +2991,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObject == null ? 0 : ppvObject.longLockPointer();
-            int tmp_ret = instance.proxycall26(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall27(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -2707,7 +3011,7 @@
         }
         public final int AddRef(Win32.IUnknown This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall27(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall28(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2721,7 +3025,7 @@
         }
         public final int Release(Win32.IUnknown This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall28(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall29(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -2742,35 +3046,35 @@
         return new IUnknownVtbl(addr);
     }
 
-    final native int proxycall0(long fnptr, long This, long riid, long ppvObject);
-    final native int proxycall1(long fnptr, long This);
+    final native int proxycall1(long fnptr, long This, long riid, long ppvObject);
     final native int proxycall2(long fnptr, long This);
-    final native int proxycall3(long fnptr, long This, long hwnd, long pbc, long pszDisplayName, long pchEaten, long ppidl, long pdwAttributes);
-    final native int proxycall4(long fnptr, long This, long hwnd, int grfFlags, long ppenumIDList);
-    final native int proxycall5(long fnptr, long This, long pidl, long pbc, long riid, long ppv);
+    final native int proxycall3(long fnptr, long This);
+    final native int proxycall4(long fnptr, long This, long hwnd, long pbc, long pszDisplayName, long pchEaten, long ppidl, long pdwAttributes);
+    final native int proxycall5(long fnptr, long This, long hwnd, int grfFlags, long ppenumIDList);
     final native int proxycall6(long fnptr, long This, long pidl, long pbc, long riid, long ppv);
-    final native int proxycall7(long fnptr, long This, long lParam, long pidl1, long pidl2);
-    final native int proxycall8(long fnptr, long This, long hwndOwner, long riid, long ppv);
-    final native int proxycall9(long fnptr, long This, int cidl, long apidl, long rgfInOut);
-    final native int proxycall10(long fnptr, long This, long hwndOwner, int cidl, long apidl, long riid, long rgfReserved, long ppv);
-    final native int proxycall11(long fnptr, long This, long pidl, int uFlags, long pName);
-    final native int proxycall12(long fnptr, long This, long hwnd, long pidl, long pszName, int uFlags, long ppidlOut);
-    final native int proxycall13(long fnptr, long This, long riid, long ppvObject);
-    final native int proxycall14(long fnptr, long This);
+    final native int proxycall7(long fnptr, long This, long pidl, long pbc, long riid, long ppv);
+    final native int proxycall8(long fnptr, long This, long lParam, long pidl1, long pidl2);
+    final native int proxycall9(long fnptr, long This, long hwndOwner, long riid, long ppv);
+    final native int proxycall10(long fnptr, long This, int cidl, long apidl, long rgfInOut);
+    final native int proxycall11(long fnptr, long This, long hwndOwner, int cidl, long apidl, long riid, long rgfReserved, long ppv);
+    final native int proxycall12(long fnptr, long This, long pidl, int uFlags, long pName);
+    final native int proxycall13(long fnptr, long This, long hwnd, long pidl, long pszName, int uFlags, long ppidlOut);
+    final native int proxycall14(long fnptr, long This, long riid, long ppvObject);
     final native int proxycall15(long fnptr, long This);
-    final native int proxycall16(long fnptr, long This, long punk);
+    final native int proxycall16(long fnptr, long This);
     final native int proxycall17(long fnptr, long This, long punk);
-    final native int proxycall18(long fnptr, long This);
-    final native int proxycall19(long fnptr, long This, long pbindopts);
+    final native int proxycall18(long fnptr, long This, long punk);
+    final native int proxycall19(long fnptr, long This);
     final native int proxycall20(long fnptr, long This, long pbindopts);
-    final native int proxycall21(long fnptr, long This, long pprot);
-    final native int proxycall22(long fnptr, long This, long pszKey, long punk);
-    final native int proxycall23(long fnptr, long This, long pszKey, long ppunk);
-    final native int proxycall24(long fnptr, long This, long ppenum);
-    final native int proxycall25(long fnptr, long This, long pszKey);
-    final native int proxycall26(long fnptr, long This, long riid, long ppvObject);
-    final native int proxycall27(long fnptr, long This);
+    final native int proxycall21(long fnptr, long This, long pbindopts);
+    final native int proxycall22(long fnptr, long This, long pprot);
+    final native int proxycall23(long fnptr, long This, long pszKey, long punk);
+    final native int proxycall24(long fnptr, long This, long pszKey, long ppunk);
+    final native int proxycall25(long fnptr, long This, long ppenum);
+    final native int proxycall26(long fnptr, long This, long pszKey);
+    final native int proxycall27(long fnptr, long This, long riid, long ppvObject);
     final native int proxycall28(long fnptr, long This);
+    final native int proxycall29(long fnptr, long This);
     public final int ScreenToClient(long hWnd, Win32.POINT lpPoint) {
         long tmp_0 = lpPoint == null ? 0 : lpPoint.longLockPointer();
         int tmp_ret = ScreenToClient(hWnd, tmp_0);
@@ -3302,7 +3606,7 @@
             return byteBase.getAddress(8);
         }
         public final long WNDPROC(long param_0, int param_1, long param_2, long param_3) {
-            long tmp_ret = instance.proxycall29(get_lpfnWndProc(), param_0, param_1, param_2, param_3);
+            long tmp_ret = instance.proxycall30(get_lpfnWndProc(), param_0, param_1, param_2, param_3);
             return tmp_ret;
         }
         public final void set_cbClsExtra(int val) {
@@ -3374,7 +3678,7 @@
         return new WNDCLASSEXW(addr);
     }
 
-    final native long proxycall29(long fnptr, long param_0, int param_1, long param_2, long param_3);
+    final native long proxycall30(long fnptr, long param_0, int param_1, long param_2, long param_3);
     public final native long GetWindowDC(long hWnd);
 
     public final int RegisterClipboardFormatW(String lpszFormat) {
@@ -3399,6 +3703,8 @@
 
     public final native int EnumClipboardFormats(int format);
 
+    public final native long GetFocus();
+
     public final native long CreateRectRgn(int param_0, int param_1, int param_2, int param_3);
 
     public final native int DestroyCursor(long hCursor);
@@ -4037,6 +4343,26 @@
     }
     public final native int MultiByteToWideChar(int CodePage, int dwFlags, long lpMultiByteStr, int cbMultiByte, long lpWideCharStr, int cchWideChar);
 
+    public final int PlaySoundW(String pszSound, long hmod, int fdwSound) {
+        Int16Pointer _pszSound = null == pszSound? null :  nb.createInt16Pointer(pszSound, false);
+        long tmp_0 = _pszSound == null ? 0 : _pszSound.longLockPointer();
+        int tmp_ret = PlaySoundW(tmp_0, hmod, fdwSound);
+        if (_pszSound != null) {
+            _pszSound.unlock();
+            _pszSound.free();
+        }
+        return tmp_ret;
+    }
+    public final int PlaySoundW(Int16Pointer pszSound, long hmod, int fdwSound) {
+        long tmp_0 = pszSound == null ? 0 : pszSound.longLockPointer();
+        int tmp_ret = PlaySoundW(tmp_0, hmod, fdwSound);
+        if (pszSound != null) {
+            pszSound.unlock();
+        }
+        return tmp_ret;
+    }
+    public final native int PlaySoundW(long pszSound, long hmod, int fdwSound);
+
     public final int GetObjectW(VoidPointer param_0, int param_1, VoidPointer param_2) {
         long tmp_0 = param_0 == null ? 0 : param_0.longLockPointer();
         long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
@@ -4077,6 +4403,8 @@
 
     public final native int EnableWindow(long hWnd, int bEnable);
 
+    public final native int PostMessageW(long hWnd, int Msg, long wParam, long lParam);
+
     public final Int8Pointer GlobalLock(VoidPointer hMem) {
         long tmp_0 = hMem == null ? 0 : hMem.longLockPointer();
         long tmp_ret = GlobalLock(tmp_0);
@@ -4181,6 +4509,16 @@
 
     public final native int SetCaretPos(int X, int Y);
 
+    public final int GetOpenFileNameW(Win32.OPENFILENAMEW param_0) {
+        long tmp_0 = param_0 == null ? 0 : param_0.longLockPointer();
+        int tmp_ret = GetOpenFileNameW(tmp_0);
+        if (param_0 != null) {
+            param_0.unlock();
+        }
+        return tmp_ret;
+    }
+    public final native int GetOpenFileNameW(long param_0);
+
     public final long CreateDIBSection(long param_0, Win32.BITMAPINFO param_1, int param_2, PointerPointer param_3, VoidPointer param_4, int param_5) {
         long tmp_0 = param_1 == null ? 0 : param_1.longLockPointer();
         long tmp_1 = param_3 == null ? 0 : param_3.longLockPointer();
@@ -4470,6 +4808,55 @@
     }
 
 
+    public static class IDirectDrawClipper extends CommonStructWrapper {
+
+        public static final int sizeof = NativeBridge.is64 ? 8 : 4;
+
+        IDirectDrawClipperVtbl vtbl;
+        IDirectDrawClipper(long addr) {
+            super(addr);
+            vtbl = get_lpVtbl();
+        }
+        public final IDirectDrawClipperVtbl get_lpVtbl() {
+            return instance.createIDirectDrawClipperVtbl(byteBase.getAddress(0));
+        }
+        public final int QueryInterface(Win32.GUID riid, PointerPointer ppvObj) {
+            return vtbl.QueryInterface(this, riid, ppvObj);
+        }
+        public final int AddRef() {
+            return vtbl.AddRef(this);
+        }
+        public final int Release() {
+            return vtbl.Release(this);
+        }
+        public final int GetClipList(Win32.RECT param_1, Win32.RGNDATA param_2, Int32Pointer param_3) {
+            return vtbl.GetClipList(this, param_1, param_2, param_3);
+        }
+        public final int GetHWnd(PointerPointer param_1) {
+            return vtbl.GetHWnd(this, param_1);
+        }
+        public final int Initialize(Win32.IDirectDraw param_1, int param_2) {
+            return vtbl.Initialize(this, param_1, param_2);
+        }
+        public final int IsClipListChanged(Int32Pointer param_1) {
+            return vtbl.IsClipListChanged(this, param_1);
+        }
+        public final int SetClipList(Win32.RGNDATA param_1, int param_2) {
+            return vtbl.SetClipList(this, param_1, param_2);
+        }
+        public final int SetHWnd(int param_1, long param_2) {
+            return vtbl.SetHWnd(this, param_1, param_2);
+        }
+        public int size() {
+            return sizeof;
+        }
+    }
+
+    public final IDirectDrawClipper createIDirectDrawClipper(long addr) {
+        return new IDirectDrawClipper(addr);
+    }
+
+
     public static class IDirectDrawPalette extends CommonStructWrapper {
 
         public static final int sizeof = NativeBridge.is64 ? 8 : 4;
@@ -4536,7 +4923,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObj == null ? 0 : ppvObj.longLockPointer();
-            int tmp_ret = instance.proxycall30(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall31(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4556,7 +4943,7 @@
         }
         public final int AddRef(Win32.IDirectDrawPalette This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall31(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall32(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4570,7 +4957,7 @@
         }
         public final int Release(Win32.IDirectDrawPalette This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall32(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall33(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4585,7 +4972,7 @@
         public final int GetCaps(Win32.IDirectDrawPalette This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall33(get_GetCaps(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall34(get_GetCaps(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -4603,7 +4990,7 @@
         public final int GetEntries(Win32.IDirectDrawPalette This, int param_1, int param_2, int param_3, PALETTEENTRY param_4) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_4 == null ? 0 : param_4.longLockPointer();
-            int tmp_ret = instance.proxycall34(get_GetEntries(), tmp_0, param_1, param_2, param_3, tmp_1);
+            int tmp_ret = instance.proxycall35(get_GetEntries(), tmp_0, param_1, param_2, param_3, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -4622,7 +5009,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall35(get_Initialize(), tmp_0, tmp_1, param_2, tmp_2);
+            int tmp_ret = instance.proxycall36(get_Initialize(), tmp_0, tmp_1, param_2, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4643,7 +5030,7 @@
         public final int SetEntries(Win32.IDirectDrawPalette This, int param_1, int param_2, int param_3, PALETTEENTRY param_4) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_4 == null ? 0 : param_4.longLockPointer();
-            int tmp_ret = instance.proxycall36(get_SetEntries(), tmp_0, param_1, param_2, param_3, tmp_1);
+            int tmp_ret = instance.proxycall37(get_SetEntries(), tmp_0, param_1, param_2, param_3, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -4691,7 +5078,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObj == null ? 0 : ppvObj.longLockPointer();
-            int tmp_ret = instance.proxycall37(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall38(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4711,7 +5098,7 @@
         }
         public final int AddRef(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall38(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall39(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4725,7 +5112,7 @@
         }
         public final int Release(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall39(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall40(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4739,7 +5126,7 @@
         }
         public final int Compact(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall40(get_Compact(), tmp_0);
+            int tmp_ret = instance.proxycall41(get_Compact(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4755,7 +5142,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall41(get_CreateClipper(), tmp_0, param_1, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall42(get_CreateClipper(), tmp_0, param_1, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4778,7 +5165,7 @@
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
             long tmp_3 = param_4 == null ? 0 : param_4.longLockPointer();
-            int tmp_ret = instance.proxycall42(get_CreatePalette(), tmp_0, param_1, tmp_1, tmp_2, tmp_3);
+            int tmp_ret = instance.proxycall43(get_CreatePalette(), tmp_0, param_1, tmp_1, tmp_2, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -4804,7 +5191,7 @@
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_3 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall43(get_CreateSurface(), tmp_0, tmp_1, tmp_2, tmp_3);
+            int tmp_ret = instance.proxycall44(get_CreateSurface(), tmp_0, tmp_1, tmp_2, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -4829,7 +5216,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall44(get_DuplicateSurface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall45(get_DuplicateSurface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4851,7 +5238,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall45(get_EnumDisplayModes(), tmp_0, param_1, tmp_1, tmp_2, param_4);
+            int tmp_ret = instance.proxycall46(get_EnumDisplayModes(), tmp_0, param_1, tmp_1, tmp_2, param_4);
             if (This != null) {
                 This.unlock();
             }
@@ -4873,7 +5260,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall46(get_EnumSurfaces(), tmp_0, param_1, tmp_1, tmp_2, param_4);
+            int tmp_ret = instance.proxycall47(get_EnumSurfaces(), tmp_0, param_1, tmp_1, tmp_2, param_4);
             if (This != null) {
                 This.unlock();
             }
@@ -4893,7 +5280,7 @@
         }
         public final int FlipToGDISurface(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall47(get_FlipToGDISurface(), tmp_0);
+            int tmp_ret = instance.proxycall48(get_FlipToGDISurface(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -4909,7 +5296,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall48(get_GetCaps(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall49(get_GetCaps(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4930,7 +5317,7 @@
         public final int GetDisplayMode(Win32.IDirectDraw7 This, DDSURFACEDESC2 param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall49(get_GetDisplayMode(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall50(get_GetDisplayMode(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -4949,7 +5336,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall50(get_GetFourCCCodes(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall51(get_GetFourCCCodes(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -4970,7 +5357,7 @@
         public final int GetGDISurface(Win32.IDirectDraw7 This, PointerPointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall51(get_GetGDISurface(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall52(get_GetGDISurface(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -4988,7 +5375,7 @@
         public final int GetMonitorFrequency(Win32.IDirectDraw7 This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall52(get_GetMonitorFrequency(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall53(get_GetMonitorFrequency(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5006,7 +5393,7 @@
         public final int GetScanLine(Win32.IDirectDraw7 This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall53(get_GetScanLine(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall54(get_GetScanLine(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5024,7 +5411,7 @@
         public final int GetVerticalBlankStatus(Win32.IDirectDraw7 This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall54(get_GetVerticalBlankStatus(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall55(get_GetVerticalBlankStatus(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5042,7 +5429,7 @@
         public final int Initialize(Win32.IDirectDraw7 This, Win32.GUID param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall55(get_Initialize(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall56(get_Initialize(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5059,7 +5446,7 @@
         }
         public final int RestoreDisplayMode(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall56(get_RestoreDisplayMode(), tmp_0);
+            int tmp_ret = instance.proxycall57(get_RestoreDisplayMode(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5073,7 +5460,7 @@
         }
         public final int SetCooperativeLevel(Win32.IDirectDraw7 This, long param_1, int param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall57(get_SetCooperativeLevel(), tmp_0, param_1, param_2);
+            int tmp_ret = instance.proxycall58(get_SetCooperativeLevel(), tmp_0, param_1, param_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5087,7 +5474,7 @@
         }
         public final int SetDisplayMode(Win32.IDirectDraw7 This, int param_1, int param_2, int param_3, int param_4, int param_5) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall58(get_SetDisplayMode(), tmp_0, param_1, param_2, param_3, param_4, param_5);
+            int tmp_ret = instance.proxycall59(get_SetDisplayMode(), tmp_0, param_1, param_2, param_3, param_4, param_5);
             if (This != null) {
                 This.unlock();
             }
@@ -5102,7 +5489,7 @@
         public final int WaitForVerticalBlank(Win32.IDirectDraw7 This, int param_1, VoidPointer param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall59(get_WaitForVerticalBlank(), tmp_0, param_1, tmp_1);
+            int tmp_ret = instance.proxycall60(get_WaitForVerticalBlank(), tmp_0, param_1, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5122,7 +5509,7 @@
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_3 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall60(get_GetAvailableVidMem(), tmp_0, tmp_1, tmp_2, tmp_3);
+            int tmp_ret = instance.proxycall61(get_GetAvailableVidMem(), tmp_0, tmp_1, tmp_2, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -5146,7 +5533,7 @@
         public final int GetSurfaceFromDC(Win32.IDirectDraw7 This, long param_1, PointerPointer param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall61(get_GetSurfaceFromDC(), tmp_0, param_1, tmp_1);
+            int tmp_ret = instance.proxycall62(get_GetSurfaceFromDC(), tmp_0, param_1, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5163,7 +5550,7 @@
         }
         public final int RestoreAllSurfaces(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall62(get_RestoreAllSurfaces(), tmp_0);
+            int tmp_ret = instance.proxycall63(get_RestoreAllSurfaces(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5177,7 +5564,7 @@
         }
         public final int TestCooperativeLevel(Win32.IDirectDraw7 This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall63(get_TestCooperativeLevel(), tmp_0);
+            int tmp_ret = instance.proxycall64(get_TestCooperativeLevel(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5192,7 +5579,7 @@
         public final int GetDeviceIdentifier(Win32.IDirectDraw7 This, DDDEVICEIDENTIFIER2 param_1, int param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall64(get_GetDeviceIdentifier(), tmp_0, tmp_1, param_2);
+            int tmp_ret = instance.proxycall65(get_GetDeviceIdentifier(), tmp_0, tmp_1, param_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5210,7 +5597,7 @@
         public final int StartModeTest(Win32.IDirectDraw7 This, SIZE param_1, int param_2, int param_3) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall65(get_StartModeTest(), tmp_0, tmp_1, param_2, param_3);
+            int tmp_ret = instance.proxycall66(get_StartModeTest(), tmp_0, tmp_1, param_2, param_3);
             if (This != null) {
                 This.unlock();
             }
@@ -5228,7 +5615,7 @@
         public final int EvaluateMode(Win32.IDirectDraw7 This, int param_1, Int32Pointer param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall66(get_EvaluateMode(), tmp_0, param_1, tmp_1);
+            int tmp_ret = instance.proxycall67(get_EvaluateMode(), tmp_0, param_1, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5253,30 +5640,221 @@
     }
 
 
-    public static class DDSCAPS2 extends CommonStructWrapper {
+    public static class IDirectDrawClipperVtbl extends CommonStructWrapper {
 
-        public static final int sizeof = 16;
+        public static final int sizeof = NativeBridge.is64 ? 72 : 36;
 
-        DDSCAPS2(boolean direct) {
+        IDirectDrawClipperVtbl(boolean direct) {
             super(sizeof, direct);
         }
-        DDSCAPS2(VoidPointer base) {
+        IDirectDrawClipperVtbl(VoidPointer base) {
             super(base);
         }
-        DDSCAPS2(long addr) {
+        IDirectDrawClipperVtbl(long addr) {
             super(addr);
         }
-        public final void set_dwCaps(int val) {
-            byteBase.setInt32(0, val);
+        public final void set_QueryInterface(long val) {
+            byteBase.setAddress(0, val);
         }
-        public final int get_dwCaps() {
-            return byteBase.getInt32(0);
+        public final long get_QueryInterface() {
+            return byteBase.getAddress(0);
         }
-        public final void set_dwCaps2(int val) {
-            byteBase.setInt32(4, val);
+        public final int QueryInterface(Win32.IDirectDrawClipper This, Win32.GUID riid, PointerPointer ppvObj) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = riid == null ? 0 : riid.longLockPointer();
+            long tmp_2 = ppvObj == null ? 0 : ppvObj.longLockPointer();
+            int tmp_ret = instance.proxycall68(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            if (This != null) {
+                This.unlock();
+            }
+            if (riid != null) {
+                riid.unlock();
+            }
+            if (ppvObj != null) {
+                ppvObj.unlock();
+            }
+            return tmp_ret;
         }
-        public final int get_dwCaps2() {
-            return byteBase.getInt32(4);
+        public final void set_AddRef(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 8 : 4, val);
+        }
+        public final long get_AddRef() {
+            return byteBase.getAddress(NativeBridge.is64 ? 8 : 4);
+        }
+        public final int AddRef(Win32.IDirectDrawClipper This) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            int tmp_ret = instance.proxycall69(get_AddRef(), tmp_0);
+            if (This != null) {
+                This.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_Release(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 16 : 8, val);
+        }
+        public final long get_Release() {
+            return byteBase.getAddress(NativeBridge.is64 ? 16 : 8);
+        }
+        public final int Release(Win32.IDirectDrawClipper This) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            int tmp_ret = instance.proxycall70(get_Release(), tmp_0);
+            if (This != null) {
+                This.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_GetClipList(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 24 : 12, val);
+        }
+        public final long get_GetClipList() {
+            return byteBase.getAddress(NativeBridge.is64 ? 24 : 12);
+        }
+        public final int GetClipList(Win32.IDirectDrawClipper This, Win32.RECT param_1, Win32.RGNDATA param_2, Int32Pointer param_3) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
+            long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
+            long tmp_3 = param_3 == null ? 0 : param_3.longLockPointer();
+            int tmp_ret = instance.proxycall71(get_GetClipList(), tmp_0, tmp_1, tmp_2, tmp_3);
+            if (This != null) {
+                This.unlock();
+            }
+            if (param_1 != null) {
+                param_1.unlock();
+            }
+            if (param_2 != null) {
+                param_2.unlock();
+            }
+            if (param_3 != null) {
+                param_3.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_GetHWnd(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 32 : 16, val);
+        }
+        public final long get_GetHWnd() {
+            return byteBase.getAddress(NativeBridge.is64 ? 32 : 16);
+        }
+        public final int GetHWnd(Win32.IDirectDrawClipper This, PointerPointer param_1) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
+            int tmp_ret = instance.proxycall72(get_GetHWnd(), tmp_0, tmp_1);
+            if (This != null) {
+                This.unlock();
+            }
+            if (param_1 != null) {
+                param_1.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_Initialize(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 40 : 20, val);
+        }
+        public final long get_Initialize() {
+            return byteBase.getAddress(NativeBridge.is64 ? 40 : 20);
+        }
+        public final int Initialize(Win32.IDirectDrawClipper This, Win32.IDirectDraw param_1, int param_2) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
+            int tmp_ret = instance.proxycall73(get_Initialize(), tmp_0, tmp_1, param_2);
+            if (This != null) {
+                This.unlock();
+            }
+            if (param_1 != null) {
+                param_1.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_IsClipListChanged(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 48 : 24, val);
+        }
+        public final long get_IsClipListChanged() {
+            return byteBase.getAddress(NativeBridge.is64 ? 48 : 24);
+        }
+        public final int IsClipListChanged(Win32.IDirectDrawClipper This, Int32Pointer param_1) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
+            int tmp_ret = instance.proxycall74(get_IsClipListChanged(), tmp_0, tmp_1);
+            if (This != null) {
+                This.unlock();
+            }
+            if (param_1 != null) {
+                param_1.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_SetClipList(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 56 : 28, val);
+        }
+        public final long get_SetClipList() {
+            return byteBase.getAddress(NativeBridge.is64 ? 56 : 28);
+        }
+        public final int SetClipList(Win32.IDirectDrawClipper This, Win32.RGNDATA param_1, int param_2) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
+            int tmp_ret = instance.proxycall75(get_SetClipList(), tmp_0, tmp_1, param_2);
+            if (This != null) {
+                This.unlock();
+            }
+            if (param_1 != null) {
+                param_1.unlock();
+            }
+            return tmp_ret;
+        }
+        public final void set_SetHWnd(long val) {
+            byteBase.setAddress(NativeBridge.is64 ? 64 : 32, val);
+        }
+        public final long get_SetHWnd() {
+            return byteBase.getAddress(NativeBridge.is64 ? 64 : 32);
+        }
+        public final int SetHWnd(Win32.IDirectDrawClipper This, int param_1, long param_2) {
+            long tmp_0 = This == null ? 0 : This.longLockPointer();
+            int tmp_ret = instance.proxycall76(get_SetHWnd(), tmp_0, param_1, param_2);
+            if (This != null) {
+                This.unlock();
+            }
+            return tmp_ret;
+        }
+        public int size() {
+            return sizeof;
+        }
+    }
+
+    public final IDirectDrawClipperVtbl createIDirectDrawClipperVtbl(boolean direct) {
+        return new IDirectDrawClipperVtbl(direct);
+    }
+    public final IDirectDrawClipperVtbl createIDirectDrawClipperVtbl(VoidPointer base) {
+        return new IDirectDrawClipperVtbl(base);
+    }
+    public final IDirectDrawClipperVtbl createIDirectDrawClipperVtbl(long addr) {
+        return new IDirectDrawClipperVtbl(addr);
+    }
+
+
+    public static class DDSCAPS2 extends CommonStructWrapper {
+
+        public static final int sizeof = 16;
+
+        DDSCAPS2(boolean direct) {
+            super(sizeof, direct);
+        }
+        DDSCAPS2(VoidPointer base) {
+            super(base);
+        }
+        DDSCAPS2(long addr) {
+            super(addr);
+        }
+        public final void set_dwCaps(int val) {
+            byteBase.setInt32(0, val);
+        }
+        public final int get_dwCaps() {
+            return byteBase.getInt32(0);
+        }
+        public final void set_dwCaps2(int val) {
+            byteBase.setInt32(4, val);
+        }
+        public final int get_dwCaps2() {
+            return byteBase.getInt32(4);
         }
         public final void set_dwCaps3(int val) {
             byteBase.setInt32(8, val);
@@ -5492,7 +6070,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObj == null ? 0 : ppvObj.longLockPointer();
-            int tmp_ret = instance.proxycall67(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall77(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5512,7 +6090,7 @@
         }
         public final int AddRef(Win32.IDirectDraw This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall68(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall78(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5526,7 +6104,7 @@
         }
         public final int Release(Win32.IDirectDraw This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall69(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall79(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5540,7 +6118,7 @@
         }
         public final int Compact(Win32.IDirectDraw This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall70(get_Compact(), tmp_0);
+            int tmp_ret = instance.proxycall80(get_Compact(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5556,7 +6134,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall71(get_CreateClipper(), tmp_0, param_1, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall81(get_CreateClipper(), tmp_0, param_1, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5579,7 +6157,7 @@
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
             long tmp_3 = param_4 == null ? 0 : param_4.longLockPointer();
-            int tmp_ret = instance.proxycall72(get_CreatePalette(), tmp_0, param_1, tmp_1, tmp_2, tmp_3);
+            int tmp_ret = instance.proxycall82(get_CreatePalette(), tmp_0, param_1, tmp_1, tmp_2, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -5605,7 +6183,7 @@
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_3 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall73(get_CreateSurface(), tmp_0, tmp_1, tmp_2, tmp_3);
+            int tmp_ret = instance.proxycall83(get_CreateSurface(), tmp_0, tmp_1, tmp_2, tmp_3);
             if (This != null) {
                 This.unlock();
             }
@@ -5630,7 +6208,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall74(get_DuplicateSurface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall84(get_DuplicateSurface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5652,7 +6230,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall75(get_EnumDisplayModes(), tmp_0, param_1, tmp_1, tmp_2, param_4);
+            int tmp_ret = instance.proxycall85(get_EnumDisplayModes(), tmp_0, param_1, tmp_1, tmp_2, param_4);
             if (This != null) {
                 This.unlock();
             }
@@ -5674,7 +6252,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
             long tmp_2 = param_3 == null ? 0 : param_3.longLockPointer();
-            int tmp_ret = instance.proxycall76(get_EnumSurfaces(), tmp_0, param_1, tmp_1, tmp_2, param_4);
+            int tmp_ret = instance.proxycall86(get_EnumSurfaces(), tmp_0, param_1, tmp_1, tmp_2, param_4);
             if (This != null) {
                 This.unlock();
             }
@@ -5694,7 +6272,7 @@
         }
         public final int FlipToGDISurface(Win32.IDirectDraw This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall77(get_FlipToGDISurface(), tmp_0);
+            int tmp_ret = instance.proxycall87(get_FlipToGDISurface(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5710,7 +6288,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall78(get_GetCaps(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall88(get_GetCaps(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5731,7 +6309,7 @@
         public final int GetDisplayMode(Win32.IDirectDraw This, Win32.DDSURFACEDESC param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall79(get_GetDisplayMode(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall89(get_GetDisplayMode(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5750,7 +6328,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
             long tmp_2 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall80(get_GetFourCCCodes(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall90(get_GetFourCCCodes(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5771,7 +6349,7 @@
         public final int GetGDISurface(Win32.IDirectDraw This, PointerPointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall81(get_GetGDISurface(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall91(get_GetGDISurface(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5789,7 +6367,7 @@
         public final int GetMonitorFrequency(Win32.IDirectDraw This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall82(get_GetMonitorFrequency(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall92(get_GetMonitorFrequency(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5807,7 +6385,7 @@
         public final int GetScanLine(Win32.IDirectDraw This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall83(get_GetScanLine(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall93(get_GetScanLine(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5825,7 +6403,7 @@
         public final int GetVerticalBlankStatus(Win32.IDirectDraw This, Int32Pointer param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall84(get_GetVerticalBlankStatus(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall94(get_GetVerticalBlankStatus(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5843,7 +6421,7 @@
         public final int Initialize(Win32.IDirectDraw This, Win32.GUID param_1) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_1 == null ? 0 : param_1.longLockPointer();
-            int tmp_ret = instance.proxycall85(get_Initialize(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall95(get_Initialize(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5860,7 +6438,7 @@
         }
         public final int RestoreDisplayMode(Win32.IDirectDraw This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall86(get_RestoreDisplayMode(), tmp_0);
+            int tmp_ret = instance.proxycall96(get_RestoreDisplayMode(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5874,7 +6452,7 @@
         }
         public final int SetCooperativeLevel(Win32.IDirectDraw This, long param_1, int param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall87(get_SetCooperativeLevel(), tmp_0, param_1, param_2);
+            int tmp_ret = instance.proxycall97(get_SetCooperativeLevel(), tmp_0, param_1, param_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5888,7 +6466,7 @@
         }
         public final int SetDisplayMode(Win32.IDirectDraw This, int param_1, int param_2, int param_3) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall88(get_SetDisplayMode(), tmp_0, param_1, param_2, param_3);
+            int tmp_ret = instance.proxycall98(get_SetDisplayMode(), tmp_0, param_1, param_2, param_3);
             if (This != null) {
                 This.unlock();
             }
@@ -5903,7 +6481,7 @@
         public final int WaitForVerticalBlank(Win32.IDirectDraw This, int param_1, VoidPointer param_2) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = param_2 == null ? 0 : param_2.longLockPointer();
-            int tmp_ret = instance.proxycall89(get_WaitForVerticalBlank(), tmp_0, param_1, tmp_1);
+            int tmp_ret = instance.proxycall99(get_WaitForVerticalBlank(), tmp_0, param_1, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -5951,7 +6529,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = riid == null ? 0 : riid.longLockPointer();
             long tmp_2 = ppvObject == null ? 0 : ppvObject.longLockPointer();
-            int tmp_ret = instance.proxycall90(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall100(get_QueryInterface(), tmp_0, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -5971,7 +6549,7 @@
         }
         public final int AddRef(Win32.IEnumIDList This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall91(get_AddRef(), tmp_0);
+            int tmp_ret = instance.proxycall101(get_AddRef(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -5985,7 +6563,7 @@
         }
         public final int Release(Win32.IEnumIDList This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall92(get_Release(), tmp_0);
+            int tmp_ret = instance.proxycall102(get_Release(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -6001,7 +6579,7 @@
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = rgelt == null ? 0 : rgelt.longLockPointer();
             long tmp_2 = pceltFetched == null ? 0 : pceltFetched.longLockPointer();
-            int tmp_ret = instance.proxycall93(get_Next(), tmp_0, celt, tmp_1, tmp_2);
+            int tmp_ret = instance.proxycall103(get_Next(), tmp_0, celt, tmp_1, tmp_2);
             if (This != null) {
                 This.unlock();
             }
@@ -6021,7 +6599,7 @@
         }
         public final int Skip(Win32.IEnumIDList This, int celt) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall94(get_Skip(), tmp_0, celt);
+            int tmp_ret = instance.proxycall104(get_Skip(), tmp_0, celt);
             if (This != null) {
                 This.unlock();
             }
@@ -6035,7 +6613,7 @@
         }
         public final int Reset(Win32.IEnumIDList This) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
-            int tmp_ret = instance.proxycall95(get_Reset(), tmp_0);
+            int tmp_ret = instance.proxycall105(get_Reset(), tmp_0);
             if (This != null) {
                 This.unlock();
             }
@@ -6050,7 +6628,7 @@
         public final int Clone(Win32.IEnumIDList This, PointerPointer ppenum) {
             long tmp_0 = This == null ? 0 : This.longLockPointer();
             long tmp_1 = ppenum == null ? 0 : ppenum.longLockPointer();
-            int tmp_ret = instance.proxycall96(get_Clone(), tmp_0, tmp_1);
+            int tmp_ret = instance.proxycall106(get_Clone(), tmp_0, tmp_1);
             if (This != null) {
                 This.unlock();
             }
@@ -6764,7 +7342,7 @@
         public final int Restore() {
             return vtbl.Restore(this);
         }
-        public final int SetClipper(IDirectDrawClipper param_1) {
+        public final int SetClipper(Win32.IDirectDrawClipper param_1) {
             return vtbl.SetClipper(this, param_1);
         }
         public final int SetColorKey(int param_1, DDCOLORKEY param_2) {
@@ -6908,17 +7486,17 @@
     }
 
 
-    public static class DDBLTFX extends CommonStructWrapper {
+    public static class DDOVERLAYFX extends CommonStructWrapper {
 
-        public static final int sizeof = NativeBridge.is64 ? 128 : 100;
+        public static final int sizeof = NativeBridge.is64 ? 72 : 56;
 
-        DDBLTFX(boolean direct) {
+        DDOVERLAYFX(boolean direct) {
             super(sizeof, direct);
         }
-        DDBLTFX(VoidPointer base) {
+        DDOVERLAYFX(VoidPointer base) {
             super(base);
         }
-        DDBLTFX(long addr) {
+        DDOVERLAYFX(long addr) {
             super(addr);
         }
         public final void set_dwSize(int val) {
@@ -6927,74 +7505,175 @@
         public final int get_dwSize() {
             return byteBase.getInt32(0);
         }
-        public final void set_dwDDFX(int val) {
+        public final void set_dwAlphaEdgeBlendBitDepth(int val) {
             byteBase.setInt32(4, val);
         }
-        public final int get_dwDDFX() {
+        public final int get_dwAlphaEdgeBlendBitDepth() {
             return byteBase.getInt32(4);
         }
-        public final void set_dwROP(int val) {
+        public final void set_dwAlphaEdgeBlend(int val) {
             byteBase.setInt32(8, val);
         }
-        public final int get_dwROP() {
+        public final int get_dwAlphaEdgeBlend() {
             return byteBase.getInt32(8);
         }
-        public final void set_dwDDROP(int val) {
+        public final void set_dwReserved(int val) {
             byteBase.setInt32(12, val);
         }
-        public final int get_dwDDROP() {
+        public final int get_dwReserved() {
             return byteBase.getInt32(12);
         }
-        public final void set_dwRotationAngle(int val) {
+        public final void set_dwAlphaDestConstBitDepth(int val) {
             byteBase.setInt32(16, val);
         }
-        public final int get_dwRotationAngle() {
+        public final int get_dwAlphaDestConstBitDepth() {
             return byteBase.getInt32(16);
         }
-        public final void set_dwZBufferOpCode(int val) {
-            byteBase.setInt32(20, val);
+        public final void set_dwAlphaDestConst(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 24 : 20, val);
         }
-        public final int get_dwZBufferOpCode() {
-            return byteBase.getInt32(20);
+        public final int get_dwAlphaDestConst() {
+            return byteBase.getInt32(NativeBridge.is64 ? 24 : 20);
         }
-        public final void set_dwZBufferLow(int val) {
-            byteBase.setInt32(24, val);
+        public final Win32.IDirectDrawSurface get_lpDDSAlphaDest() {
+            return Win32.instance.createIDirectDrawSurface(byteBase.getAddress(NativeBridge.is64 ? 24 : 20));
         }
-        public final int get_dwZBufferLow() {
-            return byteBase.getInt32(24);
+        public final void set_dwAlphaSrcConstBitDepth(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 32 : 24, val);
         }
-        public final void set_dwZBufferHigh(int val) {
-            byteBase.setInt32(28, val);
+        public final int get_dwAlphaSrcConstBitDepth() {
+            return byteBase.getInt32(NativeBridge.is64 ? 32 : 24);
         }
-        public final int get_dwZBufferHigh() {
-            return byteBase.getInt32(28);
+        public final void set_dwAlphaSrcConst(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 40 : 28, val);
         }
-        public final void set_dwZBufferBaseDest(int val) {
-            byteBase.setInt32(32, val);
+        public final int get_dwAlphaSrcConst() {
+            return byteBase.getInt32(NativeBridge.is64 ? 40 : 28);
         }
-        public final int get_dwZBufferBaseDest() {
-            return byteBase.getInt32(32);
+        public final Win32.IDirectDrawSurface get_lpDDSAlphaSrc() {
+            return Win32.instance.createIDirectDrawSurface(byteBase.getAddress(NativeBridge.is64 ? 40 : 28));
         }
-        public final void set_dwZDestConstBitDepth(int val) {
-            byteBase.setInt32(36, val);
+        public final DDCOLORKEY get_dckDestColorkey() {
+            return instance.createDDCOLORKEY(getElementPointer(NativeBridge.is64 ? 48 : 32));
         }
-        public final int get_dwZDestConstBitDepth() {
-            return byteBase.getInt32(36);
+        public final DDCOLORKEY get_dckSrcColorkey() {
+            return instance.createDDCOLORKEY(getElementPointer(NativeBridge.is64 ? 56 : 40));
         }
-        public final void set_dwZDestConst(int val) {
-            byteBase.setInt32(40, val);
+        public final void set_dwDDFX(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 64 : 48, val);
         }
-        public final int get_dwZDestConst() {
-            return byteBase.getInt32(40);
+        public final int get_dwDDFX() {
+            return byteBase.getInt32(NativeBridge.is64 ? 64 : 48);
         }
-        public final Win32.IDirectDrawSurface get_lpDDSZBufferDest() {
-            return Win32.instance.createIDirectDrawSurface(byteBase.getAddress(40));
+        public final void set_dwFlags(int val) {
+            byteBase.setInt32(NativeBridge.is64 ? 68 : 52, val);
         }
-        public final void set_dwZSrcConstBitDepth(int val) {
-            byteBase.setInt32(NativeBridge.is64 ? 48 : 44, val);
+        public final int get_dwFlags() {
+            return byteBase.getInt32(NativeBridge.is64 ? 68 : 52);
         }
-        public final int get_dwZSrcConstBitDepth() {
-            return byteBase.getInt32(NativeBridge.is64 ? 48 : 44);
+        public int size() {
+            return sizeof;
+        }
+    }
+
+    public final DDOVERLAYFX createDDOVERLAYFX(boolean direct) {
+        return new DDOVERLAYFX(direct);
+    }
+    public final DDOVERLAYFX createDDOVERLAYFX(VoidPointer base) {
+        return new DDOVERLAYFX(base);
+    }
+    public final DDOVERLAYFX createDDOVERLAYFX(long addr) {
+        return new DDOVERLAYFX(addr);
+    }
+
+
+    public static class DDBLTFX extends CommonStructWrapper {
+
+        public static final int sizeof = NativeBridge.is64 ? 128 : 100;
+
+        DDBLTFX(boolean direct) {
+            super(sizeof, direct);
+        }
+        DDBLTFX(VoidPointer base) {
+            super(base);
+        }
+        DDBLTFX(long addr) {
+            super(addr);
+        }
+        public final void set_dwSize(int val) {
+            byteBase.setInt32(0, val);
+        }
+        public final int get_dwSize() {
+            return byteBase.getInt32(0);
+        }
+        public final void set_dwDDFX(int val) {
+            byteBase.setInt32(4, val);
+        }
+        public final int get_dwDDFX() {
+            return byteBase.getInt32(4);
+        }
+        public final void set_dwROP(int val) {
+            byteBase.setInt32(8, val);
+        }
+        public final int get_dwROP() {
+            return byteBase.getInt32(8);
+        }
+        public final void set_dwDDROP(int val) {
+            byteBase.setInt32(12, val);
+        }
+        public final int get_dwDDROP() {
+            return byteBase.getInt32(12);
+        }
+        public final void set_dwRotationAngle(int val) {
+            byteBase.setInt32(16, val);
+        }
+        public final int get_dwRotationAngle() {
+            return byteBase.getInt32(16);
+        }
+        public final void set_dwZBufferOpCode(int val) {
+            byteBase.setInt32(20, val);
+        }
+        public final int get_dwZBufferOpCode() {
+            return byteBase.getInt32(20);
+        }
+        public final void set_dwZBufferLow(int val) {
+            byteBase.setInt32(24, val);
+        }
+        public final int get_dwZBufferLow() {
+            return byteBase.getInt32(24);
+        }
+        public final void set_dwZBufferHigh(int val) {
+            byteBase.setInt32(28, val);
+        }
+        public final int get_dwZBufferHigh() {
+            return byteBase.getInt32(28);
+        }
+        public final void set_dwZBufferBaseDest(int val) {
+            byteBase.setInt32(32, val);
+        }
+        public final int get_dwZBufferBaseDest() {
+            return byteBase.getInt32(32);
+        }
+        public final void set_dwZDestConstBitDepth(int val) {
+            byteBase.setInt32(36, val);
+        }
+        public final int get_dwZDestConstBitDepth() {
+            return byteBase.getInt32(36);
+        }
+        public final void set_dwZDestConst(int val) {
+            byteBase.setInt32(40, val);
+        }
+        public final int get_dwZDestConst() {

[... 1800 lines stripped ...]


Mime
View raw message