harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r440748 [17/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/native/win32wrapper/windows/org_apache_harmony_awt_nativebridge_windows_Win32.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/win32wrapper/windows/org_apache_harmony_awt_nativebridge_windows_Win32.cpp?view=diff&rev=440748&r1=440747&r2=440748
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/win32wrapper/windows/org_apache_harmony_awt_nativebridge_windows_Win32.cpp (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/win32wrapper/windows/org_apache_harmony_awt_nativebridge_windows_Win32.cpp Wed Sep  6 09:06:15 2006
@@ -18,13 +18,13 @@
  * @version $Revision$
  */
 
-/* DO NOT EDIT THIS FILE - it is machine generated */
+/* DO NOT EDIT THIS FILE - it is based on Win32 headers and has been generated by nativebridge tool.*/
 
 #include "org_apache_harmony_awt_nativebridge_windows_Win32.h"
 
-static libHandler libGdiPlus;
+static libHandler libcomdlg32;
+static libHandler libWinmm;
 static libHandler libShell32;
-static libHandler libDDraw;
 static libHandler libShlwapi;
 static libHandler libGdi32;
 static libHandler libUxTheme;
@@ -33,9 +33,9 @@
 static libHandler libOle32;
 static libHandler libUser32;
 JNIEXPORT void JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_init (JNIEnv * env, jclass cls) {
-    LOAD_LIB(libGdiPlus, "GdiPlus");
+    LOAD_LIB(libcomdlg32, "comdlg32");
+    LOAD_LIB(libWinmm, "Winmm");
     LOAD_LIB(libShell32, "Shell32");
-    LOAD_LIB(libDDraw, "DDraw");
     LOAD_LIB(libShlwapi, "Shlwapi");
     LOAD_LIB(libGdi32, "Gdi32");
     LOAD_LIB(libUxTheme, "UxTheme");
@@ -46,2116 +46,2182 @@
 }
 
 
-int (__stdcall * pFillRect) (void *, void *, void *) = NULL;
+int (__stdcall * p_nbridge_FillRect) (void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_FillRect( JNIEnv *env, jobject self, jlong hDC, jlong lprc, jlong hbr) {
-    if (pFillRect == NULL) {
-        pFillRect = (int (__stdcall *) (void *, void *, void *)) FindFunction(libUser32, "FillRect");
+    if (p_nbridge_FillRect == NULL) {
+        p_nbridge_FillRect = (int (__stdcall *) (void *, void *, void *)) FindFunction(libUser32, "FillRect");
     }
-    return (jint) (* pFillRect)((void *) hDC, (void *) lprc, (void *) hbr);
+    return (jint) (* p_nbridge_FillRect)((void *) hDC, (void *) lprc, (void *) hbr);
 }
 
-int (__stdcall * pLineTo) (void *, int, int) = NULL;
+int  (__stdcall * p_nbridge_LineTo) (void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_LineTo( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2) {
-    if (pLineTo == NULL) {
-        pLineTo = (int (__stdcall *) (void *, int, int)) FindFunction(libGdi32, "LineTo");
+    if (p_nbridge_LineTo == NULL) {
+        p_nbridge_LineTo = (int  (__stdcall *) (void *, int, int)) FindFunction(libGdi32, "LineTo");
     }
-    return (jint) (* pLineTo)((void *) param_0, (int) param_1, (int) param_2);
+    return (jint) (* p_nbridge_LineTo)((void *) param_0, (int) param_1, (int) param_2);
 }
 
-long (__stdcall * pGetWindowLongW) (void *, int) = NULL;
+long  (__stdcall * p_nbridge_GetWindowLongW) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetWindowLongW( JNIEnv *env, jobject self, jlong hWnd, jint nIndex) {
-    if (pGetWindowLongW == NULL) {
-        pGetWindowLongW = (long (__stdcall *) (void *, int)) FindFunction(libUser32, "GetWindowLongW");
+    if (p_nbridge_GetWindowLongW == NULL) {
+        p_nbridge_GetWindowLongW = (long  (__stdcall *) (void *, int)) FindFunction(libUser32, "GetWindowLongW");
     }
-    return (jint) (* pGetWindowLongW)((void *) hWnd, (int) nIndex);
+    return (jint) (* p_nbridge_GetWindowLongW)((void *) hWnd, (int) nIndex);
 }
 
-int (__stdcall * pPeekMessageW) (void *, void *, int, int, int) = NULL;
+int  (__stdcall * p_nbridge_PeekMessageW) (void *, void *, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_PeekMessageW( JNIEnv *env, jobject self, jlong lpMsg, jlong hWnd, jint wMsgFilterMin, jint wMsgFilterMax, jint wRemoveMsg) {
-    if (pPeekMessageW == NULL) {
-        pPeekMessageW = (int (__stdcall *) (void *, void *, int, int, int)) FindFunction(libUser32, "PeekMessageW");
+    if (p_nbridge_PeekMessageW == NULL) {
+        p_nbridge_PeekMessageW = (int  (__stdcall *) (void *, void *, int, int, int)) FindFunction(libUser32, "PeekMessageW");
     }
-    return (jint) (* pPeekMessageW)((void *) lpMsg, (void *) hWnd, (int) wMsgFilterMin, (int) wMsgFilterMax, (int) wRemoveMsg);
+    return (jint) (* p_nbridge_PeekMessageW)((void *) lpMsg, (void *) hWnd, (int) wMsgFilterMin, (int) wMsgFilterMax, (int) wRemoveMsg);
 }
 
-int (__stdcall * pBitBlt) (void *, int, int, int, int, void *, int, int, long) = NULL;
+int  (__stdcall * p_nbridge_BitBlt) (void *, int, int, int, int, void *, int, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_BitBlt( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jint param_4, jlong param_5, jint param_6, jint param_7, jint param_8) {
-    if (pBitBlt == NULL) {
-        pBitBlt = (int (__stdcall *) (void *, int, int, int, int, void *, int, int, long)) FindFunction(libGdi32, "BitBlt");
+    if (p_nbridge_BitBlt == NULL) {
+        p_nbridge_BitBlt = (int  (__stdcall *) (void *, int, int, int, int, void *, int, int, long)) FindFunction(libGdi32, "BitBlt");
     }
-    return (jint) (* pBitBlt)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (void *) param_5, (int) param_6, (int) param_7, (long) param_8);
+    return (jint) (* p_nbridge_BitBlt)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (void *) param_5, (int) param_6, (int) param_7, (long) param_8);
+}
+JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall0( JNIEnv *env, jobject self, jlong fnptr1234, jlong param_0, jint param_1, jlong param_2, jlong param_3) {
+    return (jlong)((__w64 unsigned int  (__stdcall *) (void *, int, WPARAM, LONG_PTR)) fnptr1234)((void *) param_0, (int) param_1, (WPARAM) param_2, (LONG_PTR) param_3);
+}
+
+int  (__stdcall * p_nbridge_GetSaveFileNameW) (void *) = NULL;
+
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetSaveFileNameW( JNIEnv *env, jobject self, jlong param_0) {
+    if (p_nbridge_GetSaveFileNameW == NULL) {
+        p_nbridge_GetSaveFileNameW = (int  (__stdcall *) (void *)) FindFunction(libcomdlg32, "GetSaveFileNameW");
+    }
+    return (jint) (* p_nbridge_GetSaveFileNameW)((void *) param_0);
 }
 
-int (__stdcall * pCreateCaret) (void *, void *, int, int) = NULL;
+int  (__stdcall * p_nbridge_CreateCaret) (void *, void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreateCaret( JNIEnv *env, jobject self, jlong hWnd, jlong hBitmap, jint nWidth, jint nHeight) {
-    if (pCreateCaret == NULL) {
-        pCreateCaret = (int (__stdcall *) (void *, void *, int, int)) FindFunction(libUser32, "CreateCaret");
+    if (p_nbridge_CreateCaret == NULL) {
+        p_nbridge_CreateCaret = (int  (__stdcall *) (void *, void *, int, int)) FindFunction(libUser32, "CreateCaret");
     }
-    return (jint) (* pCreateCaret)((void *) hWnd, (void *) hBitmap, (int) nWidth, (int) nHeight);
+    return (jint) (* p_nbridge_CreateCaret)((void *) hWnd, (void *) hBitmap, (int) nWidth, (int) nHeight);
 }
 
-int (__stdcall * pImmDestroyContext) (void *) = NULL;
+int  (__stdcall * p_nbridge_ImmDestroyContext) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmDestroyContext( JNIEnv *env, jobject self, jlong param_0) {
-    if (pImmDestroyContext == NULL) {
-        pImmDestroyContext = (int (__stdcall *) (void *)) FindFunction(libImm32, "ImmDestroyContext");
+    if (p_nbridge_ImmDestroyContext == NULL) {
+        p_nbridge_ImmDestroyContext = (int  (__stdcall *) (void *)) FindFunction(libImm32, "ImmDestroyContext");
     }
-    return (jint) (* pImmDestroyContext)((void *) param_0);
+    return (jint) (* p_nbridge_ImmDestroyContext)((void *) param_0);
 }
 
-long (__stdcall * pImmGetCompositionStringW) (void *, long, void *, long) = NULL;
+long  (__stdcall * p_nbridge_ImmGetCompositionStringW) (void *, long, void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmGetCompositionStringW( JNIEnv *env, jobject self, jlong param_0, jint param_1, jlong param_2, jint param_3) {
-    if (pImmGetCompositionStringW == NULL) {
-        pImmGetCompositionStringW = (long (__stdcall *) (void *, long, void *, long)) FindFunction(libImm32, "ImmGetCompositionStringW");
+    if (p_nbridge_ImmGetCompositionStringW == NULL) {
+        p_nbridge_ImmGetCompositionStringW = (long  (__stdcall *) (void *, long, void *, long)) FindFunction(libImm32, "ImmGetCompositionStringW");
     }
-    return (jint) (* pImmGetCompositionStringW)((void *) param_0, (long) param_1, (void *) param_2, (long) param_3);
+    return (jint) (* p_nbridge_ImmGetCompositionStringW)((void *) param_0, (long) param_1, (void *) param_2, (long) param_3);
 }
 
-int (__stdcall * pGetSystemMetrics) (int) = NULL;
+int (__stdcall * p_nbridge_GetSystemMetrics) (int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetSystemMetrics( JNIEnv *env, jobject self, jint nIndex) {
-    if (pGetSystemMetrics == NULL) {
-        pGetSystemMetrics = (int (__stdcall *) (int)) FindFunction(libUser32, "GetSystemMetrics");
+    if (p_nbridge_GetSystemMetrics == NULL) {
+        p_nbridge_GetSystemMetrics = (int (__stdcall *) (int)) FindFunction(libUser32, "GetSystemMetrics");
     }
-    return (jint) (* pGetSystemMetrics)((int) nIndex);
+    return (jint) (* p_nbridge_GetSystemMetrics)((int) nIndex);
 }
 
-int (__stdcall * pSetForegroundWindow) (void *) = NULL;
+int  (__stdcall * p_nbridge_SetForegroundWindow) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetForegroundWindow( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pSetForegroundWindow == NULL) {
-        pSetForegroundWindow = (int (__stdcall *) (void *)) FindFunction(libUser32, "SetForegroundWindow");
+    if (p_nbridge_SetForegroundWindow == NULL) {
+        p_nbridge_SetForegroundWindow = (int  (__stdcall *) (void *)) FindFunction(libUser32, "SetForegroundWindow");
     }
-    return (jint) (* pSetForegroundWindow)((void *) hWnd);
+    return (jint) (* p_nbridge_SetForegroundWindow)((void *) hWnd);
 }
 
-LONG_PTR (__stdcall * pSendMessageW) (void *, int, WPARAM, LONG_PTR) = NULL;
+__w64 long  (__stdcall * p_nbridge_SendMessageW) (void *, int, WPARAM, LONG_PTR) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SendMessageW( JNIEnv *env, jobject self, jlong hWnd, jint Msg, jlong wParam, jlong lParam) {
-    if (pSendMessageW == NULL) {
-        pSendMessageW = (LONG_PTR (__stdcall *) (void *, int, WPARAM, LONG_PTR)) FindFunction(libUser32, "SendMessageW");
+    if (p_nbridge_SendMessageW == NULL) {
+        p_nbridge_SendMessageW = (__w64 long  (__stdcall *) (void *, int, WPARAM, LONG_PTR)) FindFunction(libUser32, "SendMessageW");
     }
-    return (jlong) (* pSendMessageW)((void *) hWnd, (int) Msg, (WPARAM) wParam, (LONG_PTR) lParam);
+    return (jlong) (* p_nbridge_SendMessageW)((void *) hWnd, (int) Msg, (WPARAM) wParam, (LONG_PTR) lParam);
 }
 
-long (__stdcall * pGetThemeSysFont) (void *, int, void *) = NULL;
+long  (__stdcall * p_nbridge_GetThemeSysFont) (void *, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetThemeSysFont( JNIEnv *env, jobject self, jlong hTheme, jint iFontId, jlong plf) {
-    if (pGetThemeSysFont == NULL) {
-        pGetThemeSysFont = (long (__stdcall *) (void *, int, void *)) FindFunction(libUxTheme, "GetThemeSysFont");
+    if (p_nbridge_GetThemeSysFont == NULL) {
+        p_nbridge_GetThemeSysFont = (long  (__stdcall *) (void *, int, void *)) FindFunction(libUxTheme, "GetThemeSysFont");
     }
-    return (jint) (* pGetThemeSysFont)((void *) hTheme, (int) iFontId, (void *) plf);
+    return (jint) (* p_nbridge_GetThemeSysFont)((void *) hTheme, (int) iFontId, (void *) plf);
 }
 
-int (__stdcall * pSystemParametersInfoW) (int, int, void *, int) = NULL;
+int  (__stdcall * p_nbridge_SystemParametersInfoW) (int, int, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SystemParametersInfoW( JNIEnv *env, jobject self, jint uiAction, jint uiParam, jlong pvParam, jint fWinIni) {
-    if (pSystemParametersInfoW == NULL) {
-        pSystemParametersInfoW = (int (__stdcall *) (int, int, void *, int)) FindFunction(libUser32, "SystemParametersInfoW");
+    if (p_nbridge_SystemParametersInfoW == NULL) {
+        p_nbridge_SystemParametersInfoW = (int  (__stdcall *) (int, int, void *, int)) FindFunction(libUser32, "SystemParametersInfoW");
     }
-    return (jint) (* pSystemParametersInfoW)((int) uiAction, (int) uiParam, (void *) pvParam, (int) fWinIni);
+    return (jint) (* p_nbridge_SystemParametersInfoW)((int) uiAction, (int) uiParam, (void *) pvParam, (int) fWinIni);
 }
 
-int (__stdcall * pGetCaretBlinkTime) (void) = NULL;
+unsigned int  (__stdcall * p_nbridge_GetCaretBlinkTime) (void) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetCaretBlinkTime( JNIEnv *env, jobject self) {
-    if (pGetCaretBlinkTime == NULL) {
-        pGetCaretBlinkTime = (int (__stdcall *) (void)) FindFunction(libUser32, "GetCaretBlinkTime");
+    if (p_nbridge_GetCaretBlinkTime == NULL) {
+        p_nbridge_GetCaretBlinkTime = (unsigned int  (__stdcall *) (void)) FindFunction(libUser32, "GetCaretBlinkTime");
     }
-    return (jint) (* pGetCaretBlinkTime)();
+    return (jint) (* p_nbridge_GetCaretBlinkTime)();
 }
 
-void * (__stdcall * pCreateDCW) (void *, void *, void *, void *) = NULL;
+void * (__stdcall * p_nbridge_CreateDCW) (void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreateDCW( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pCreateDCW == NULL) {
-        pCreateDCW = (void * (__stdcall *) (void *, void *, void *, void *)) FindFunction(libGdi32, "CreateDCW");
+    if (p_nbridge_CreateDCW == NULL) {
+        p_nbridge_CreateDCW = (void * (__stdcall *) (void *, void *, void *, void *)) FindFunction(libGdi32, "CreateDCW");
     }
-    return (jlong) (* pCreateDCW)((void *) param_0, (void *) param_1, (void *) param_2, (void *) param_3);
+    return (jlong) (* p_nbridge_CreateDCW)((void *) param_0, (void *) param_1, (void *) param_2, (void *) param_3);
 }
 
-int (__stdcall * pArc) (void *, int, int, int, int, int, int, int, int) = NULL;
+int  (__stdcall * p_nbridge_Arc) (void *, int, int, int, int, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_Arc( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jint param_4, jint param_5, jint param_6, jint param_7, jint param_8) {
-    if (pArc == NULL) {
-        pArc = (int (__stdcall *) (void *, int, int, int, int, int, int, int, int)) FindFunction(libGdi32, "Arc");
+    if (p_nbridge_Arc == NULL) {
+        p_nbridge_Arc = (int  (__stdcall *) (void *, int, int, int, int, int, int, int, int)) FindFunction(libGdi32, "Arc");
     }
-    return (jint) (* pArc)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8);
+    return (jint) (* p_nbridge_Arc)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8);
 }
 
-int (__stdcall * pImmReleaseContext) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_ImmReleaseContext) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmReleaseContext( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pImmReleaseContext == NULL) {
-        pImmReleaseContext = (int (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmReleaseContext");
+    if (p_nbridge_ImmReleaseContext == NULL) {
+        p_nbridge_ImmReleaseContext = (int  (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmReleaseContext");
     }
-    return (jint) (* pImmReleaseContext)((void *) param_0, (void *) param_1);
+    return (jint) (* p_nbridge_ImmReleaseContext)((void *) param_0, (void *) param_1);
 }
 
-int (__stdcall * pPolyPolygon) (void *, void *, void *, int) = NULL;
+int  (__stdcall * p_nbridge_PolyPolygon) (void *, void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_PolyPolygon( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3) {
-    if (pPolyPolygon == NULL) {
-        pPolyPolygon = (int (__stdcall *) (void *, void *, void *, int)) FindFunction(libGdi32, "PolyPolygon");
+    if (p_nbridge_PolyPolygon == NULL) {
+        p_nbridge_PolyPolygon = (int  (__stdcall *) (void *, void *, void *, int)) FindFunction(libGdi32, "PolyPolygon");
     }
-    return (jint) (* pPolyPolygon)((void *) param_0, (void *) param_1, (void *) param_2, (int) param_3);
+    return (jint) (* p_nbridge_PolyPolygon)((void *) param_0, (void *) param_1, (void *) param_2, (int) param_3);
 }
 
-void * (__stdcall * pCreatePen) (int, int, long) = NULL;
+void * (__stdcall * p_nbridge_CreatePen) (int, int, long) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreatePen( JNIEnv *env, jobject self, jint param_0, jint param_1, jint param_2) {
-    if (pCreatePen == NULL) {
-        pCreatePen = (void * (__stdcall *) (int, int, long)) FindFunction(libGdi32, "CreatePen");
+    if (p_nbridge_CreatePen == NULL) {
+        p_nbridge_CreatePen = (void * (__stdcall *) (int, int, long)) FindFunction(libGdi32, "CreatePen");
     }
-    return (jlong) (* pCreatePen)((int) param_0, (int) param_1, (long) param_2);
+    return (jlong) (* p_nbridge_CreatePen)((int) param_0, (int) param_1, (long) param_2);
 }
 
-short (__stdcall * pGetKeyState) (int) = NULL;
+short  (__stdcall * p_nbridge_GetKeyState) (int) = NULL;
 
 JNIEXPORT jshort  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetKeyState( JNIEnv *env, jobject self, jint nVirtKey) {
-    if (pGetKeyState == NULL) {
-        pGetKeyState = (short (__stdcall *) (int)) FindFunction(libUser32, "GetKeyState");
+    if (p_nbridge_GetKeyState == NULL) {
+        p_nbridge_GetKeyState = (short  (__stdcall *) (int)) FindFunction(libUser32, "GetKeyState");
     }
-    return (jshort) (* pGetKeyState)((int) nVirtKey);
+    return (jshort) (* p_nbridge_GetKeyState)((int) nVirtKey);
 }
 
-void * (__stdcall * pCreateIconIndirect) (void *) = NULL;
+void * (__stdcall * p_nbridge_CreateIconIndirect) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreateIconIndirect( JNIEnv *env, jobject self, jlong piconinfo) {
-    if (pCreateIconIndirect == NULL) {
-        pCreateIconIndirect = (void * (__stdcall *) (void *)) FindFunction(libUser32, "CreateIconIndirect");
+    if (p_nbridge_CreateIconIndirect == NULL) {
+        p_nbridge_CreateIconIndirect = (void * (__stdcall *) (void *)) FindFunction(libUser32, "CreateIconIndirect");
     }
-    return (jlong) (* pCreateIconIndirect)((void *) piconinfo);
+    return (jlong) (* p_nbridge_CreateIconIndirect)((void *) piconinfo);
 }
 
-int (__stdcall * pRoundRect) (void *, int, int, int, int, int, int) = NULL;
+int  (__stdcall * p_nbridge_RoundRect) (void *, int, int, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_RoundRect( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jint param_4, jint param_5, jint param_6) {
-    if (pRoundRect == NULL) {
-        pRoundRect = (int (__stdcall *) (void *, int, int, int, int, int, int)) FindFunction(libGdi32, "RoundRect");
+    if (p_nbridge_RoundRect == NULL) {
+        p_nbridge_RoundRect = (int  (__stdcall *) (void *, int, int, int, int, int, int)) FindFunction(libGdi32, "RoundRect");
     }
-    return (jint) (* pRoundRect)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_RoundRect)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
 }
 
-void * (__stdcall * pExtCreateRegion) (void *, long, void *) = NULL;
+void * (__stdcall * p_nbridge_ExtCreateRegion) (void *, long, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ExtCreateRegion( JNIEnv *env, jobject self, jlong param_0, jint param_1, jlong param_2) {
-    if (pExtCreateRegion == NULL) {
-        pExtCreateRegion = (void * (__stdcall *) (void *, long, void *)) FindFunction(libGdi32, "ExtCreateRegion");
+    if (p_nbridge_ExtCreateRegion == NULL) {
+        p_nbridge_ExtCreateRegion = (void * (__stdcall *) (void *, long, void *)) FindFunction(libGdi32, "ExtCreateRegion");
     }
-    return (jlong) (* pExtCreateRegion)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jlong) (* p_nbridge_ExtCreateRegion)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-long (__stdcall * pGetThemeSysInt) (void *, int, void *) = NULL;
+long  (__stdcall * p_nbridge_GetThemeSysInt) (void *, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetThemeSysInt( JNIEnv *env, jobject self, jlong hTheme, jint iIntId, jlong piValue) {
-    if (pGetThemeSysInt == NULL) {
-        pGetThemeSysInt = (long (__stdcall *) (void *, int, void *)) FindFunction(libUxTheme, "GetThemeSysInt");
+    if (p_nbridge_GetThemeSysInt == NULL) {
+        p_nbridge_GetThemeSysInt = (long  (__stdcall *) (void *, int, void *)) FindFunction(libUxTheme, "GetThemeSysInt");
     }
-    return (jint) (* pGetThemeSysInt)((void *) hTheme, (int) iIntId, (void *) piValue);
+    return (jint) (* p_nbridge_GetThemeSysInt)((void *) hTheme, (int) iIntId, (void *) piValue);
 }
 
-int (__stdcall * pTrackMouseEvent) (void *) = NULL;
+int  (__stdcall * p_nbridge_TrackMouseEvent) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_TrackMouseEvent( JNIEnv *env, jobject self, jlong lpEventTrack) {
-    if (pTrackMouseEvent == NULL) {
-        pTrackMouseEvent = (int (__stdcall *) (void *)) FindFunction(libUser32, "TrackMouseEvent");
+    if (p_nbridge_TrackMouseEvent == NULL) {
+        p_nbridge_TrackMouseEvent = (int  (__stdcall *) (void *)) FindFunction(libUser32, "TrackMouseEvent");
     }
-    return (jint) (* pTrackMouseEvent)((void *) lpEventTrack);
+    return (jint) (* p_nbridge_TrackMouseEvent)((void *) lpEventTrack);
 }
 
-void * (__stdcall * pCreateWindowExW) (long, void *, void *, long, int, int, int, int, void *, void *, void *, void *) = NULL;
+void * (__stdcall * p_nbridge_CreateWindowExW) (long, void *, void *, long, int, int, int, int, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreateWindowExW( JNIEnv *env, jobject self, jint dwExStyle, jlong lpClassName, jlong lpWindowName, jint dwStyle, jint X, jint Y, jint nWidth, jint nHeight, jlong hWndParent, jlong hMenu, jlong hInstance, jlong lpParam) {
-    if (pCreateWindowExW == NULL) {
-        pCreateWindowExW = (void * (__stdcall *) (long, void *, void *, long, int, int, int, int, void *, void *, void *, void *)) FindFunction(libUser32, "CreateWindowExW");
+    if (p_nbridge_CreateWindowExW == NULL) {
+        p_nbridge_CreateWindowExW = (void * (__stdcall *) (long, void *, void *, long, int, int, int, int, void *, void *, void *, void *)) FindFunction(libUser32, "CreateWindowExW");
     }
-    return (jlong) (* pCreateWindowExW)((long) dwExStyle, (void *) lpClassName, (void *) lpWindowName, (long) dwStyle, (int) X, (int) Y, (int) nWidth, (int) nHeight, (void *) hWndParent, (void *) hMenu, (void *) hInstance, (void *) lpParam);
+    return (jlong) (* p_nbridge_CreateWindowExW)((long) dwExStyle, (void *) lpClassName, (void *) lpWindowName, (long) dwStyle, (int) X, (int) Y, (int) nWidth, (int) nHeight, (void *) hWndParent, (void *) hMenu, (void *) hInstance, (void *) lpParam);
 }
 
-void * (__stdcall * pSetClipboardViewer) (void *) = NULL;
+void * (__stdcall * p_nbridge_SetClipboardViewer) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetClipboardViewer( JNIEnv *env, jobject self, jlong hWndNewViewer) {
-    if (pSetClipboardViewer == NULL) {
-        pSetClipboardViewer = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetClipboardViewer");
+    if (p_nbridge_SetClipboardViewer == NULL) {
+        p_nbridge_SetClipboardViewer = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetClipboardViewer");
     }
-    return (jlong) (* pSetClipboardViewer)((void *) hWndNewViewer);
+    return (jlong) (* p_nbridge_SetClipboardViewer)((void *) hWndNewViewer);
 }
 
-int (__stdcall * pEllipse) (void *, int, int, int, int) = NULL;
+int  (__stdcall * p_nbridge_Ellipse) (void *, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_Ellipse( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jint param_4) {
-    if (pEllipse == NULL) {
-        pEllipse = (int (__stdcall *) (void *, int, int, int, int)) FindFunction(libGdi32, "Ellipse");
+    if (p_nbridge_Ellipse == NULL) {
+        p_nbridge_Ellipse = (int  (__stdcall *) (void *, int, int, int, int)) FindFunction(libGdi32, "Ellipse");
     }
-    return (jint) (* pEllipse)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4);
+    return (jint) (* p_nbridge_Ellipse)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4);
 }
 
-long (__stdcall * pGetLastError) (void) = NULL;
+unsigned long  (__stdcall * p_nbridge_GetLastError) (void) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetLastError( JNIEnv *env, jobject self) {
-    if (pGetLastError == NULL) {
-        pGetLastError = (long (__stdcall *) (void)) FindFunction(libKernel32, "GetLastError");
+    if (p_nbridge_GetLastError == NULL) {
+        p_nbridge_GetLastError = (unsigned long  (__stdcall *) (void)) FindFunction(libKernel32, "GetLastError");
+    }
+    return (jint) (* p_nbridge_GetLastError)();
+}
+
+void (__stdcall * p_nbridge_SHGetSettings) (void *, long) = NULL;
+
+JNIEXPORT void  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SHGetSettings( JNIEnv *env, jobject self, jlong lpsfs, jint dwMask) {
+    if (p_nbridge_SHGetSettings == NULL) {
+        p_nbridge_SHGetSettings = (void (__stdcall *) (void *, long)) FindFunction(libShell32, "SHGetSettings");
     }
-    return (jint) (* pGetLastError)();
+    (* p_nbridge_SHGetSettings)((void *) lpsfs, (long) dwMask);
 }
 
-void * (__stdcall * pImmAssociateContext) (void *, void *) = NULL;
+void * (__stdcall * p_nbridge_ImmAssociateContext) (void *, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmAssociateContext( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pImmAssociateContext == NULL) {
-        pImmAssociateContext = (void * (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmAssociateContext");
+    if (p_nbridge_ImmAssociateContext == NULL) {
+        p_nbridge_ImmAssociateContext = (void * (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmAssociateContext");
     }
-    return (jlong) (* pImmAssociateContext)((void *) param_0, (void *) param_1);
+    return (jlong) (* p_nbridge_ImmAssociateContext)((void *) param_0, (void *) param_1);
 }
 
-void * (__stdcall * pImmGetContext) (void *) = NULL;
+void * (__stdcall * p_nbridge_ImmGetContext) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmGetContext( JNIEnv *env, jobject self, jlong param_0) {
-    if (pImmGetContext == NULL) {
-        pImmGetContext = (void * (__stdcall *) (void *)) FindFunction(libImm32, "ImmGetContext");
+    if (p_nbridge_ImmGetContext == NULL) {
+        p_nbridge_ImmGetContext = (void * (__stdcall *) (void *)) FindFunction(libImm32, "ImmGetContext");
     }
-    return (jlong) (* pImmGetContext)((void *) param_0);
+    return (jlong) (* p_nbridge_ImmGetContext)((void *) param_0);
 }
 
-long (__stdcall * pGetPixel) (void *, int, int) = NULL;
+unsigned long  (__stdcall * p_nbridge_GetPixel) (void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetPixel( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2) {
-    if (pGetPixel == NULL) {
-        pGetPixel = (long (__stdcall *) (void *, int, int)) FindFunction(libGdi32, "GetPixel");
+    if (p_nbridge_GetPixel == NULL) {
+        p_nbridge_GetPixel = (unsigned long  (__stdcall *) (void *, int, int)) FindFunction(libGdi32, "GetPixel");
     }
-    return (jint) (* pGetPixel)((void *) param_0, (int) param_1, (int) param_2);
+    return (jint) (* p_nbridge_GetPixel)((void *) param_0, (int) param_1, (int) param_2);
 }
 
-void * (__stdcall * pGetDC) (void *) = NULL;
+void * (__stdcall * p_nbridge_GetDC) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetDC( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pGetDC == NULL) {
-        pGetDC = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetDC");
+    if (p_nbridge_GetDC == NULL) {
+        p_nbridge_GetDC = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetDC");
     }
-    return (jlong) (* pGetDC)((void *) hWnd);
+    return (jlong) (* p_nbridge_GetDC)((void *) hWnd);
 }
 
-int (__stdcall * pGetBkMode) (void *) = NULL;
+int (__stdcall * p_nbridge_GetBkMode) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetBkMode( JNIEnv *env, jobject self, jlong param_0) {
-    if (pGetBkMode == NULL) {
-        pGetBkMode = (int (__stdcall *) (void *)) FindFunction(libGdi32, "GetBkMode");
+    if (p_nbridge_GetBkMode == NULL) {
+        p_nbridge_GetBkMode = (int (__stdcall *) (void *)) FindFunction(libGdi32, "GetBkMode");
     }
-    return (jint) (* pGetBkMode)((void *) param_0);
+    return (jint) (* p_nbridge_GetBkMode)((void *) param_0);
 }
 
-void * (__stdcall * pGetStockObject) (int) = NULL;
+void * (__stdcall * p_nbridge_GetStockObject) (int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetStockObject( JNIEnv *env, jobject self, jint param_0) {
-    if (pGetStockObject == NULL) {
-        pGetStockObject = (void * (__stdcall *) (int)) FindFunction(libGdi32, "GetStockObject");
+    if (p_nbridge_GetStockObject == NULL) {
+        p_nbridge_GetStockObject = (void * (__stdcall *) (int)) FindFunction(libGdi32, "GetStockObject");
     }
-    return (jlong) (* pGetStockObject)((int) param_0);
+    return (jlong) (* p_nbridge_GetStockObject)((int) param_0);
 }
 
-int (__stdcall * pValidateRgn) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_ValidateRgn) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ValidateRgn( JNIEnv *env, jobject self, jlong hWnd, jlong hRgn) {
-    if (pValidateRgn == NULL) {
-        pValidateRgn = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "ValidateRgn");
+    if (p_nbridge_ValidateRgn == NULL) {
+        p_nbridge_ValidateRgn = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "ValidateRgn");
     }
-    return (jint) (* pValidateRgn)((void *) hWnd, (void *) hRgn);
+    return (jint) (* p_nbridge_ValidateRgn)((void *) hWnd, (void *) hRgn);
 }
 
-void (__stdcall * pkeybd_event) (char, char, long, ULONG_PTR) = NULL;
+void (__stdcall * p_nbridge_keybd_event) (char, char, long, ULONG_PTR) = NULL;
 
 JNIEXPORT void  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_keybd_1event( JNIEnv *env, jobject self, jbyte bVk, jbyte bScan, jint dwFlags, jlong dwExtraInfo) {
-    if (pkeybd_event == NULL) {
-        pkeybd_event = (void (__stdcall *) (char, char, long, ULONG_PTR)) FindFunction(libUser32, "keybd_event");
+    if (p_nbridge_keybd_event == NULL) {
+        p_nbridge_keybd_event = (void (__stdcall *) (char, char, long, ULONG_PTR)) FindFunction(libUser32, "keybd_event");
     }
-    (* pkeybd_event)((char) bVk, (char) bScan, (long) dwFlags, (ULONG_PTR) dwExtraInfo);
+    (* p_nbridge_keybd_event)((char) bVk, (char) bScan, (long) dwFlags, (ULONG_PTR) dwExtraInfo);
 }
 
-long (__stdcall * pDrawThemeBackground) (void *, void *, int, int, void *, void *) = NULL;
+long  (__stdcall * p_nbridge_DrawThemeBackground) (void *, void *, int, int, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DrawThemeBackground( JNIEnv *env, jobject self, jlong hTheme, jlong hdc, jint iPartId, jint iStateId, jlong pRect, jlong pClipRect) {
-    if (pDrawThemeBackground == NULL) {
-        pDrawThemeBackground = (long (__stdcall *) (void *, void *, int, int, void *, void *)) FindFunction(libUxTheme, "DrawThemeBackground");
+    if (p_nbridge_DrawThemeBackground == NULL) {
+        p_nbridge_DrawThemeBackground = (long  (__stdcall *) (void *, void *, int, int, void *, void *)) FindFunction(libUxTheme, "DrawThemeBackground");
     }
-    return (jint) (* pDrawThemeBackground)((void *) hTheme, (void *) hdc, (int) iPartId, (int) iStateId, (void *) pRect, (void *) pClipRect);
+    return (jint) (* p_nbridge_DrawThemeBackground)((void *) hTheme, (void *) hdc, (int) iPartId, (int) iStateId, (void *) pRect, (void *) pClipRect);
 }
 
-int (__stdcall * pGetMonitorInfoW) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_GetMonitorInfoW) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetMonitorInfoW( JNIEnv *env, jobject self, jlong hMonitor, jlong lpmi) {
-    if (pGetMonitorInfoW == NULL) {
-        pGetMonitorInfoW = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "GetMonitorInfoW");
+    if (p_nbridge_GetMonitorInfoW == NULL) {
+        p_nbridge_GetMonitorInfoW = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "GetMonitorInfoW");
     }
-    return (jint) (* pGetMonitorInfoW)((void *) hMonitor, (void *) lpmi);
+    return (jint) (* p_nbridge_GetMonitorInfoW)((void *) hMonitor, (void *) lpmi);
 }
 
-long (__stdcall * pGetCurrentThreadId) (void) = NULL;
+unsigned long  (__stdcall * p_nbridge_GetCurrentThreadId) (void) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetCurrentThreadId( JNIEnv *env, jobject self) {
-    if (pGetCurrentThreadId == NULL) {
-        pGetCurrentThreadId = (long (__stdcall *) (void)) FindFunction(libKernel32, "GetCurrentThreadId");
+    if (p_nbridge_GetCurrentThreadId == NULL) {
+        p_nbridge_GetCurrentThreadId = (unsigned long  (__stdcall *) (void)) FindFunction(libKernel32, "GetCurrentThreadId");
     }
-    return (jint) (* pGetCurrentThreadId)();
+    return (jint) (* p_nbridge_GetCurrentThreadId)();
 }
 
-int (__stdcall * pDeleteDC) (void *) = NULL;
+int  (__stdcall * p_nbridge_DeleteDC) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DeleteDC( JNIEnv *env, jobject self, jlong param_0) {
-    if (pDeleteDC == NULL) {
-        pDeleteDC = (int (__stdcall *) (void *)) FindFunction(libGdi32, "DeleteDC");
+    if (p_nbridge_DeleteDC == NULL) {
+        p_nbridge_DeleteDC = (int  (__stdcall *) (void *)) FindFunction(libGdi32, "DeleteDC");
     }
-    return (jint) (* pDeleteDC)((void *) param_0);
+    return (jint) (* p_nbridge_DeleteDC)((void *) param_0);
 }
 
-ULONG_PTR (__stdcall * pSHGetFileInfoW) (void *, long, void *, int, int) = NULL;
+__w64 unsigned long  (__stdcall * p_nbridge_SHGetFileInfoW) (void *, long, void *, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SHGetFileInfoW( JNIEnv *env, jobject self, jlong pszPath, jint dwFileAttributes, jlong psfi, jint cbFileInfo, jint uFlags) {
-    if (pSHGetFileInfoW == NULL) {
-        pSHGetFileInfoW = (ULONG_PTR (__stdcall *) (void *, long, void *, int, int)) FindFunction(libShell32, "SHGetFileInfoW");
+    if (p_nbridge_SHGetFileInfoW == NULL) {
+        p_nbridge_SHGetFileInfoW = (__w64 unsigned long  (__stdcall *) (void *, long, void *, int, int)) FindFunction(libShell32, "SHGetFileInfoW");
     }
-    return (jlong) (* pSHGetFileInfoW)((void *) pszPath, (long) dwFileAttributes, (void *) psfi, (int) cbFileInfo, (int) uFlags);
+    return (jlong) (* p_nbridge_SHGetFileInfoW)((void *) pszPath, (long) dwFileAttributes, (void *) psfi, (int) cbFileInfo, (int) uFlags);
 }
 
-LONG_PTR (__stdcall * pDispatchMessageW) (void *) = NULL;
+__w64 long  (__stdcall * p_nbridge_DispatchMessageW) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DispatchMessageW( JNIEnv *env, jobject self, jlong lpMsg) {
-    if (pDispatchMessageW == NULL) {
-        pDispatchMessageW = (LONG_PTR (__stdcall *) (void *)) FindFunction(libUser32, "DispatchMessageW");
+    if (p_nbridge_DispatchMessageW == NULL) {
+        p_nbridge_DispatchMessageW = (__w64 long  (__stdcall *) (void *)) FindFunction(libUser32, "DispatchMessageW");
     }
-    return (jlong) (* pDispatchMessageW)((void *) lpMsg);
+    return (jlong) (* p_nbridge_DispatchMessageW)((void *) lpMsg);
 }
 
-int (__stdcall * pPostThreadMessageW) (long, int, WPARAM, LONG_PTR) = NULL;
+int  (__stdcall * p_nbridge_PostThreadMessageW) (long, int, WPARAM, LONG_PTR) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_PostThreadMessageW( JNIEnv *env, jobject self, jint idThread, jint Msg, jlong wParam, jlong lParam) {
-    if (pPostThreadMessageW == NULL) {
-        pPostThreadMessageW = (int (__stdcall *) (long, int, WPARAM, LONG_PTR)) FindFunction(libUser32, "PostThreadMessageW");
+    if (p_nbridge_PostThreadMessageW == NULL) {
+        p_nbridge_PostThreadMessageW = (int  (__stdcall *) (long, int, WPARAM, LONG_PTR)) FindFunction(libUser32, "PostThreadMessageW");
     }
-    return (jint) (* pPostThreadMessageW)((long) idThread, (int) Msg, (WPARAM) wParam, (LONG_PTR) lParam);
+    return (jint) (* p_nbridge_PostThreadMessageW)((long) idThread, (int) Msg, (WPARAM) wParam, (LONG_PTR) lParam);
 }
 
-long (__stdcall * pGetSysColor) (int) = NULL;
+unsigned long  (__stdcall * p_nbridge_GetSysColor) (int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetSysColor( JNIEnv *env, jobject self, jint nIndex) {
-    if (pGetSysColor == NULL) {
-        pGetSysColor = (long (__stdcall *) (int)) FindFunction(libUser32, "GetSysColor");
+    if (p_nbridge_GetSysColor == NULL) {
+        p_nbridge_GetSysColor = (unsigned long  (__stdcall *) (int)) FindFunction(libUser32, "GetSysColor");
     }
-    return (jint) (* pGetSysColor)((int) nIndex);
+    return (jint) (* p_nbridge_GetSysColor)((int) nIndex);
 }
 
-void * (__stdcall * pGetSystemMenu) (void *, int) = NULL;
+void * (__stdcall * p_nbridge_GetSystemMenu) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetSystemMenu( JNIEnv *env, jobject self, jlong hWnd, jint bRevert) {
-    if (pGetSystemMenu == NULL) {
-        pGetSystemMenu = (void * (__stdcall *) (void *, int)) FindFunction(libUser32, "GetSystemMenu");
+    if (p_nbridge_GetSystemMenu == NULL) {
+        p_nbridge_GetSystemMenu = (void * (__stdcall *) (void *, int)) FindFunction(libUser32, "GetSystemMenu");
     }
-    return (jlong) (* pGetSystemMenu)((void *) hWnd, (int) bRevert);
+    return (jlong) (* p_nbridge_GetSystemMenu)((void *) hWnd, (int) bRevert);
 }
 
-int (__stdcall * pSetPixelFormat) (void *, int, void *) = NULL;
+int  (__stdcall * p_nbridge_SetPixelFormat) (void *, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetPixelFormat( JNIEnv *env, jobject self, jlong param_0, jint param_1, jlong param_2) {
-    if (pSetPixelFormat == NULL) {
-        pSetPixelFormat = (int (__stdcall *) (void *, int, void *)) FindFunction(libGdi32, "SetPixelFormat");
+    if (p_nbridge_SetPixelFormat == NULL) {
+        p_nbridge_SetPixelFormat = (int  (__stdcall *) (void *, int, void *)) FindFunction(libGdi32, "SetPixelFormat");
     }
-    return (jint) (* pSetPixelFormat)((void *) param_0, (int) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_SetPixelFormat)((void *) param_0, (int) param_1, (void *) param_2);
 }
 
-int (__stdcall * pGetCursorPos) (void *) = NULL;
+int  (__stdcall * p_nbridge_GetCursorPos) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetCursorPos( JNIEnv *env, jobject self, jlong lpPoint) {
-    if (pGetCursorPos == NULL) {
-        pGetCursorPos = (int (__stdcall *) (void *)) FindFunction(libUser32, "GetCursorPos");
+    if (p_nbridge_GetCursorPos == NULL) {
+        p_nbridge_GetCursorPos = (int  (__stdcall *) (void *)) FindFunction(libUser32, "GetCursorPos");
     }
-    return (jint) (* pGetCursorPos)((void *) lpPoint);
+    return (jint) (* p_nbridge_GetCursorPos)((void *) lpPoint);
 }
 
-int (__stdcall * pPatBlt) (void *, int, int, int, int, long) = NULL;
+int  (__stdcall * p_nbridge_PatBlt) (void *, int, int, int, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_PatBlt( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jint param_4, jint param_5) {
-    if (pPatBlt == NULL) {
-        pPatBlt = (int (__stdcall *) (void *, int, int, int, int, long)) FindFunction(libGdi32, "PatBlt");
+    if (p_nbridge_PatBlt == NULL) {
+        p_nbridge_PatBlt = (int  (__stdcall *) (void *, int, int, int, int, long)) FindFunction(libGdi32, "PatBlt");
     }
-    return (jint) (* pPatBlt)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (long) param_5);
+    return (jint) (* p_nbridge_PatBlt)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (int) param_4, (long) param_5);
 }
 
-void * (__stdcall * pSetCursor) (void *) = NULL;
+void * (__stdcall * p_nbridge_SetCursor) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetCursor( JNIEnv *env, jobject self, jlong hCursor) {
-    if (pSetCursor == NULL) {
-        pSetCursor = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetCursor");
+    if (p_nbridge_SetCursor == NULL) {
+        p_nbridge_SetCursor = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetCursor");
     }
-    return (jlong) (* pSetCursor)((void *) hCursor);
+    return (jlong) (* p_nbridge_SetCursor)((void *) hCursor);
 }
 
-int (__stdcall * pAppendMenuW) (void *, int, UINT_PTR, void *) = NULL;
+int  (__stdcall * p_nbridge_AppendMenuW) (void *, int, UINT_PTR, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_AppendMenuW( JNIEnv *env, jobject self, jlong hMenu, jint uFlags, jlong uIDNewItem, jlong lpNewItem) {
-    if (pAppendMenuW == NULL) {
-        pAppendMenuW = (int (__stdcall *) (void *, int, UINT_PTR, void *)) FindFunction(libUser32, "AppendMenuW");
+    if (p_nbridge_AppendMenuW == NULL) {
+        p_nbridge_AppendMenuW = (int  (__stdcall *) (void *, int, UINT_PTR, void *)) FindFunction(libUser32, "AppendMenuW");
     }
-    return (jint) (* pAppendMenuW)((void *) hMenu, (int) uFlags, (UINT_PTR) uIDNewItem, (void *) lpNewItem);
+    return (jint) (* p_nbridge_AppendMenuW)((void *) hMenu, (int) uFlags, (UINT_PTR) uIDNewItem, (void *) lpNewItem);
 }
 
-int (__stdcall * pSetWindowPlacement) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_SetWindowPlacement) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetWindowPlacement( JNIEnv *env, jobject self, jlong hWnd, jlong lpwndpl) {
-    if (pSetWindowPlacement == NULL) {
-        pSetWindowPlacement = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "SetWindowPlacement");
+    if (p_nbridge_SetWindowPlacement == NULL) {
+        p_nbridge_SetWindowPlacement = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "SetWindowPlacement");
     }
-    return (jint) (* pSetWindowPlacement)((void *) hWnd, (void *) lpwndpl);
+    return (jint) (* p_nbridge_SetWindowPlacement)((void *) hWnd, (void *) lpwndpl);
 }
 
-void * (__stdcall * pActivateKeyboardLayout) (void *, int) = NULL;
+void * (__stdcall * p_nbridge_ActivateKeyboardLayout) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ActivateKeyboardLayout( JNIEnv *env, jobject self, jlong hkl, jint Flags) {
-    if (pActivateKeyboardLayout == NULL) {
-        pActivateKeyboardLayout = (void * (__stdcall *) (void *, int)) FindFunction(libUser32, "ActivateKeyboardLayout");
+    if (p_nbridge_ActivateKeyboardLayout == NULL) {
+        p_nbridge_ActivateKeyboardLayout = (void * (__stdcall *) (void *, int)) FindFunction(libUser32, "ActivateKeyboardLayout");
     }
-    return (jlong) (* pActivateKeyboardLayout)((void *) hkl, (int) Flags);
+    return (jlong) (* p_nbridge_ActivateKeyboardLayout)((void *) hkl, (int) Flags);
 }
 
-int (__stdcall * pGlobalUnlock) (void *) = NULL;
+unsigned long  (__stdcall * p_nbridge_CommDlgExtendedError) (void) = NULL;
+
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CommDlgExtendedError( JNIEnv *env, jobject self) {
+    if (p_nbridge_CommDlgExtendedError == NULL) {
+        p_nbridge_CommDlgExtendedError = (unsigned long  (__stdcall *) (void)) FindFunction(libcomdlg32, "CommDlgExtendedError");
+    }
+    return (jint) (* p_nbridge_CommDlgExtendedError)();
+}
+
+int  (__stdcall * p_nbridge_GlobalUnlock) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GlobalUnlock( JNIEnv *env, jobject self, jlong hMem) {
-    if (pGlobalUnlock == NULL) {
-        pGlobalUnlock = (int (__stdcall *) (void *)) FindFunction(libKernel32, "GlobalUnlock");
+    if (p_nbridge_GlobalUnlock == NULL) {
+        p_nbridge_GlobalUnlock = (int  (__stdcall *) (void *)) FindFunction(libKernel32, "GlobalUnlock");
     }
-    return (jint) (* pGlobalUnlock)((void *) hMem);
+    return (jint) (* p_nbridge_GlobalUnlock)((void *) hMem);
 }
 
-int (__stdcall * pSetROP2) (void *, int) = NULL;
+int (__stdcall * p_nbridge_SetROP2) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetROP2( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pSetROP2 == NULL) {
-        pSetROP2 = (int (__stdcall *) (void *, int)) FindFunction(libGdi32, "SetROP2");
+    if (p_nbridge_SetROP2 == NULL) {
+        p_nbridge_SetROP2 = (int (__stdcall *) (void *, int)) FindFunction(libGdi32, "SetROP2");
     }
-    return (jint) (* pSetROP2)((void *) param_0, (int) param_1);
+    return (jint) (* p_nbridge_SetROP2)((void *) param_0, (int) param_1);
 }
 
-long (__stdcall * pSHBindToParent) (void *, void *, void *, void *) = NULL;
+long  (__stdcall * p_nbridge_SHBindToParent) (void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SHBindToParent( JNIEnv *env, jobject self, jlong pidl, jlong riid, jlong ppv, jlong ppidlLast) {
-    if (pSHBindToParent == NULL) {
-        pSHBindToParent = (long (__stdcall *) (void *, void *, void *, void *)) FindFunction(libShell32, "SHBindToParent");
+    if (p_nbridge_SHBindToParent == NULL) {
+        p_nbridge_SHBindToParent = (long  (__stdcall *) (void *, void *, void *, void *)) FindFunction(libShell32, "SHBindToParent");
     }
-    return (jint) (* pSHBindToParent)((void *) pidl, (void *) riid, (void *) ppv, (void *) ppidlLast);
+    return (jint) (* p_nbridge_SHBindToParent)((void *) pidl, (void *) riid, (void *) ppv, (void *) ppidlLast);
 }
 
-long (__stdcall * pInSendMessageEx) (void *) = NULL;
+unsigned long  (__stdcall * p_nbridge_InSendMessageEx) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_InSendMessageEx( JNIEnv *env, jobject self, jlong lpReserved) {
-    if (pInSendMessageEx == NULL) {
-        pInSendMessageEx = (long (__stdcall *) (void *)) FindFunction(libUser32, "InSendMessageEx");
+    if (p_nbridge_InSendMessageEx == NULL) {
+        p_nbridge_InSendMessageEx = (unsigned long  (__stdcall *) (void *)) FindFunction(libUser32, "InSendMessageEx");
     }
-    return (jint) (* pInSendMessageEx)((void *) lpReserved);
+    return (jint) (* p_nbridge_InSendMessageEx)((void *) lpReserved);
 }
 
-int (__stdcall * pGetLocaleInfoW) (long, long, void *, int) = NULL;
+int (__stdcall * p_nbridge_GetLocaleInfoW) (long, long, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetLocaleInfoW( JNIEnv *env, jobject self, jint Locale, jint LCType, jlong lpLCData, jint cchData) {
-    if (pGetLocaleInfoW == NULL) {
-        pGetLocaleInfoW = (int (__stdcall *) (long, long, void *, int)) FindFunction(libKernel32, "GetLocaleInfoW");
+    if (p_nbridge_GetLocaleInfoW == NULL) {
+        p_nbridge_GetLocaleInfoW = (int (__stdcall *) (long, long, void *, int)) FindFunction(libKernel32, "GetLocaleInfoW");
     }
-    return (jint) (* pGetLocaleInfoW)((long) Locale, (long) LCType, (void *) lpLCData, (int) cchData);
+    return (jint) (* p_nbridge_GetLocaleInfoW)((long) Locale, (long) LCType, (void *) lpLCData, (int) cchData);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall0( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
-    return (jint)((long (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
-}
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall1( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall1( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall2( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall3( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jlong pbc, jlong pszDisplayName, jlong pchEaten, jlong ppidl, jlong pdwAttributes) {
-    return (jint)((long (__stdcall *) (void *, void *, void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwnd, (void *) pbc, (void *) pszDisplayName, (void *) pchEaten, (void *) ppidl, (void *) pdwAttributes);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall3( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall4( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jint grfFlags, jlong ppenumIDList) {
-    return (jint)((long (__stdcall *) (void *, void *, long, void *)) fnptr1234)((void *) This, (void *) hwnd, (long) grfFlags, (void *) ppenumIDList);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall4( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jlong pbc, jlong pszDisplayName, jlong pchEaten, jlong ppidl, jlong pdwAttributes) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwnd, (void *) pbc, (void *) pszDisplayName, (void *) pchEaten, (void *) ppidl, (void *) pdwAttributes);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall5( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pidl, jlong pbc, jlong riid, jlong ppv) {
-    return (jint)((long (__stdcall *) (void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) pidl, (void *) pbc, (void *) riid, (void *) ppv);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall5( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jint grfFlags, jlong ppenumIDList) {
+    return (jint)((long  (__stdcall *) (void *, void *, long, void *)) fnptr1234)((void *) This, (void *) hwnd, (long) grfFlags, (void *) ppenumIDList);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall6( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pidl, jlong pbc, jlong riid, jlong ppv) {
-    return (jint)((long (__stdcall *) (void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) pidl, (void *) pbc, (void *) riid, (void *) ppv);
+    return (jint)((long  (__stdcall *) (void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) pidl, (void *) pbc, (void *) riid, (void *) ppv);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall7( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong lParam, jlong pidl1, jlong pidl2) {
-    return (jint)((long (__stdcall *) (void *, LONG_PTR, void *, void *)) fnptr1234)((void *) This, (LONG_PTR) lParam, (void *) pidl1, (void *) pidl2);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall7( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pidl, jlong pbc, jlong riid, jlong ppv) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) pidl, (void *) pbc, (void *) riid, (void *) ppv);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall8( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwndOwner, jlong riid, jlong ppv) {
-    return (jint)((long (__stdcall *) (void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwndOwner, (void *) riid, (void *) ppv);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall8( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong lParam, jlong pidl1, jlong pidl2) {
+    return (jint)((long  (__stdcall *) (void *, LONG_PTR, void *, void *)) fnptr1234)((void *) This, (LONG_PTR) lParam, (void *) pidl1, (void *) pidl2);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall9( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jint cidl, jlong apidl, jlong rgfInOut) {
-    return (jint)((long (__stdcall *) (void *, int, void *, void *)) fnptr1234)((void *) This, (int) cidl, (void *) apidl, (void *) rgfInOut);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall9( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwndOwner, jlong riid, jlong ppv) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwndOwner, (void *) riid, (void *) ppv);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall10( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwndOwner, jint cidl, jlong apidl, jlong riid, jlong rgfReserved, jlong ppv) {
-    return (jint)((long (__stdcall *) (void *, void *, int, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwndOwner, (int) cidl, (void *) apidl, (void *) riid, (void *) rgfReserved, (void *) ppv);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall10( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jint cidl, jlong apidl, jlong rgfInOut) {
+    return (jint)((long  (__stdcall *) (void *, int, void *, void *)) fnptr1234)((void *) This, (int) cidl, (void *) apidl, (void *) rgfInOut);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall11( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pidl, jint uFlags, jlong pName) {
-    return (jint)((long (__stdcall *) (void *, void *, long, void *)) fnptr1234)((void *) This, (void *) pidl, (long) uFlags, (void *) pName);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall11( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwndOwner, jint cidl, jlong apidl, jlong riid, jlong rgfReserved, jlong ppv) {
+    return (jint)((long  (__stdcall *) (void *, void *, int, void *, void *, void *, void *)) fnptr1234)((void *) This, (void *) hwndOwner, (int) cidl, (void *) apidl, (void *) riid, (void *) rgfReserved, (void *) ppv);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall12( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jlong pidl, jlong pszName, jint uFlags, jlong ppidlOut) {
-    return (jint)((long (__stdcall *) (void *, void *, void *, void *, long, void *)) fnptr1234)((void *) This, (void *) hwnd, (void *) pidl, (void *) pszName, (long) uFlags, (void *) ppidlOut);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall12( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pidl, jint uFlags, jlong pName) {
+    return (jint)((long  (__stdcall *) (void *, void *, long, void *)) fnptr1234)((void *) This, (void *) pidl, (long) uFlags, (void *) pName);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall13( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
-    return (jint)((long (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall13( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong hwnd, jlong pidl, jlong pszName, jint uFlags, jlong ppidlOut) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *, void *, long, void *)) fnptr1234)((void *) This, (void *) hwnd, (void *) pidl, (void *) pszName, (long) uFlags, (void *) ppidlOut);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall14( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall14( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall15( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall16( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong punk) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) punk);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall16( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall17( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong punk) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) punk);
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) punk);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall18( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall18( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong punk) {
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) punk);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall19( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pbindopts) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pbindopts);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall19( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
+    return (jint)((long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall20( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pbindopts) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pbindopts);
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pbindopts);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall21( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pprot) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pprot);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall21( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pbindopts) {
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pbindopts);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall22( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey, jlong punk) {
-    return (jint)((long (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) pszKey, (void *) punk);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall22( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pprot) {
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pprot);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall23( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey, jlong ppunk) {
-    return (jint)((long (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) pszKey, (void *) ppunk);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall23( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey, jlong punk) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) pszKey, (void *) punk);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall24( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong ppenum) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) ppenum);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall24( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey, jlong ppunk) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) pszKey, (void *) ppunk);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall25( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey) {
-    return (jint)((long (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pszKey);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall25( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong ppenum) {
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) ppenum);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall26( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
-    return (jint)((long (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall26( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong pszKey) {
+    return (jint)((long  (__stdcall *) (void *, void *)) fnptr1234)((void *) This, (void *) pszKey);
 }
-JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall27( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall27( JNIEnv *env, jobject self, jlong fnptr1234, jlong This, jlong riid, jlong ppvObject) {
+    return (jint)((long  (__stdcall *) (void *, void *, void *)) fnptr1234)((void *) This, (void *) riid, (void *) ppvObject);
 }
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall28( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
-    return (jint)((long (__stdcall *) (void *)) fnptr1234)((void *) This);
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
+}
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall29( JNIEnv *env, jobject self, jlong fnptr1234, jlong This) {
+    return (jint)((unsigned long  (__stdcall *) (void *)) fnptr1234)((void *) This);
 }
 
-long (__stdcall * pSHGetDataFromIDListW) (void *, void *, int, void *, int) = NULL;
+long  (__stdcall * p_nbridge_SHGetDataFromIDListW) (void *, void *, int, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SHGetDataFromIDListW( JNIEnv *env, jobject self, jlong psf, jlong pidl, jint nFormat, jlong pv, jint cb) {
-    if (pSHGetDataFromIDListW == NULL) {
-        pSHGetDataFromIDListW = (long (__stdcall *) (void *, void *, int, void *, int)) FindFunction(libShell32, "SHGetDataFromIDListW");
+    if (p_nbridge_SHGetDataFromIDListW == NULL) {
+        p_nbridge_SHGetDataFromIDListW = (long  (__stdcall *) (void *, void *, int, void *, int)) FindFunction(libShell32, "SHGetDataFromIDListW");
     }
-    return (jint) (* pSHGetDataFromIDListW)((void *) psf, (void *) pidl, (int) nFormat, (void *) pv, (int) cb);
+    return (jint) (* p_nbridge_SHGetDataFromIDListW)((void *) psf, (void *) pidl, (int) nFormat, (void *) pv, (int) cb);
 }
 
-int (__stdcall * pScreenToClient) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_ScreenToClient) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ScreenToClient( JNIEnv *env, jobject self, jlong hWnd, jlong lpPoint) {
-    if (pScreenToClient == NULL) {
-        pScreenToClient = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "ScreenToClient");
+    if (p_nbridge_ScreenToClient == NULL) {
+        p_nbridge_ScreenToClient = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "ScreenToClient");
     }
-    return (jint) (* pScreenToClient)((void *) hWnd, (void *) lpPoint);
+    return (jint) (* p_nbridge_ScreenToClient)((void *) hWnd, (void *) lpPoint);
 }
 
-void * (__stdcall * pGetParent) (void *) = NULL;
+void * (__stdcall * p_nbridge_GetParent) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetParent( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pGetParent == NULL) {
-        pGetParent = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetParent");
+    if (p_nbridge_GetParent == NULL) {
+        p_nbridge_GetParent = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetParent");
     }
-    return (jlong) (* pGetParent)((void *) hWnd);
+    return (jlong) (* p_nbridge_GetParent)((void *) hWnd);
 }
 
-void * (__stdcall * pSetFocus) (void *) = NULL;
+void * (__stdcall * p_nbridge_SetFocus) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetFocus( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pSetFocus == NULL) {
-        pSetFocus = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetFocus");
+    if (p_nbridge_SetFocus == NULL) {
+        p_nbridge_SetFocus = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetFocus");
     }
-    return (jlong) (* pSetFocus)((void *) hWnd);
+    return (jlong) (* p_nbridge_SetFocus)((void *) hWnd);
 }
 
-int (__stdcall * pDescribePixelFormat) (void *, int, int, void *) = NULL;
+int (__stdcall * p_nbridge_DescribePixelFormat) (void *, int, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DescribePixelFormat( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jlong param_3) {
-    if (pDescribePixelFormat == NULL) {
-        pDescribePixelFormat = (int (__stdcall *) (void *, int, int, void *)) FindFunction(libGdi32, "DescribePixelFormat");
+    if (p_nbridge_DescribePixelFormat == NULL) {
+        p_nbridge_DescribePixelFormat = (int (__stdcall *) (void *, int, int, void *)) FindFunction(libGdi32, "DescribePixelFormat");
     }
-    return (jint) (* pDescribePixelFormat)((void *) param_0, (int) param_1, (int) param_2, (void *) param_3);
+    return (jint) (* p_nbridge_DescribePixelFormat)((void *) param_0, (int) param_1, (int) param_2, (void *) param_3);
 }
 
-long (__stdcall * pSetTextColor) (void *, long) = NULL;
+unsigned long  (__stdcall * p_nbridge_SetTextColor) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetTextColor( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pSetTextColor == NULL) {
-        pSetTextColor = (long (__stdcall *) (void *, long)) FindFunction(libGdi32, "SetTextColor");
+    if (p_nbridge_SetTextColor == NULL) {
+        p_nbridge_SetTextColor = (unsigned long  (__stdcall *) (void *, long)) FindFunction(libGdi32, "SetTextColor");
     }
-    return (jint) (* pSetTextColor)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_SetTextColor)((void *) param_0, (long) param_1);
 }
 
-void * (__stdcall * pMonitorFromWindow) (void *, long) = NULL;
+void * (__stdcall * p_nbridge_MonitorFromWindow) (void *, long) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_MonitorFromWindow( JNIEnv *env, jobject self, jlong hwnd, jint dwFlags) {
-    if (pMonitorFromWindow == NULL) {
-        pMonitorFromWindow = (void * (__stdcall *) (void *, long)) FindFunction(libUser32, "MonitorFromWindow");
+    if (p_nbridge_MonitorFromWindow == NULL) {
+        p_nbridge_MonitorFromWindow = (void * (__stdcall *) (void *, long)) FindFunction(libUser32, "MonitorFromWindow");
     }
-    return (jlong) (* pMonitorFromWindow)((void *) hwnd, (long) dwFlags);
+    return (jlong) (* p_nbridge_MonitorFromWindow)((void *) hwnd, (long) dwFlags);
 }
 
-int (__stdcall * pGetDIBits) (void *, void *, int, int, void *, void *, int) = NULL;
+int (__stdcall * p_nbridge_GetDIBits) (void *, void *, int, int, void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetDIBits( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jlong param_4, jlong param_5, jint param_6) {
-    if (pGetDIBits == NULL) {
-        pGetDIBits = (int (__stdcall *) (void *, void *, int, int, void *, void *, int)) FindFunction(libGdi32, "GetDIBits");
+    if (p_nbridge_GetDIBits == NULL) {
+        p_nbridge_GetDIBits = (int (__stdcall *) (void *, void *, int, int, void *, void *, int)) FindFunction(libGdi32, "GetDIBits");
     }
-    return (jint) (* pGetDIBits)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (void *) param_4, (void *) param_5, (int) param_6);
+    return (jint) (* p_nbridge_GetDIBits)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (void *) param_4, (void *) param_5, (int) param_6);
 }
 
-long (__stdcall * pFormatMessageW) (long, void *, long, long, void *, long, void *) = NULL;
+unsigned long  (__stdcall * p_nbridge_FormatMessageW) (long, void *, long, long, void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_FormatMessageW( JNIEnv *env, jobject self, jint dwFlags, jlong lpSource, jint dwMessageId, jint dwLanguageId, jlong lpBuffer, jint nSize, jlong Arguments) {
-    if (pFormatMessageW == NULL) {
-        pFormatMessageW = (long (__stdcall *) (long, void *, long, long, void *, long, void *)) FindFunction(libKernel32, "FormatMessageW");
+    if (p_nbridge_FormatMessageW == NULL) {
+        p_nbridge_FormatMessageW = (unsigned long  (__stdcall *) (long, void *, long, long, void *, long, void *)) FindFunction(libKernel32, "FormatMessageW");
     }
-    return (jint) (* pFormatMessageW)((long) dwFlags, (void *) lpSource, (long) dwMessageId, (long) dwLanguageId, (void *) lpBuffer, (long) nSize, (void *) Arguments);
+    return (jint) (* p_nbridge_FormatMessageW)((long) dwFlags, (void *) lpSource, (long) dwMessageId, (long) dwLanguageId, (void *) lpBuffer, (long) nSize, (void *) Arguments);
 }
 
-long (__stdcall * pSHGetDesktopFolder) (void *) = NULL;
+long  (__stdcall * p_nbridge_SHGetDesktopFolder) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SHGetDesktopFolder( JNIEnv *env, jobject self, jlong ppshf) {
-    if (pSHGetDesktopFolder == NULL) {
-        pSHGetDesktopFolder = (long (__stdcall *) (void *)) FindFunction(libShell32, "SHGetDesktopFolder");
+    if (p_nbridge_SHGetDesktopFolder == NULL) {
+        p_nbridge_SHGetDesktopFolder = (long  (__stdcall *) (void *)) FindFunction(libShell32, "SHGetDesktopFolder");
     }
-    return (jint) (* pSHGetDesktopFolder)((void *) ppshf);
+    return (jint) (* p_nbridge_SHGetDesktopFolder)((void *) ppshf);
 }
 
-int (__stdcall * pImmSetCompositionWindow) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_ImmSetCompositionWindow) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmSetCompositionWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pImmSetCompositionWindow == NULL) {
-        pImmSetCompositionWindow = (int (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmSetCompositionWindow");
+    if (p_nbridge_ImmSetCompositionWindow == NULL) {
+        p_nbridge_ImmSetCompositionWindow = (int  (__stdcall *) (void *, void *)) FindFunction(libImm32, "ImmSetCompositionWindow");
     }
-    return (jint) (* pImmSetCompositionWindow)((void *) param_0, (void *) param_1);
+    return (jint) (* p_nbridge_ImmSetCompositionWindow)((void *) param_0, (void *) param_1);
 }
 
-int (__stdcall * pSendInput) (int, void *, int) = NULL;
+unsigned int  (__stdcall * p_nbridge_SendInput) (int, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SendInput( JNIEnv *env, jobject self, jint cInputs, jlong pInputs, jint cbSize) {
-    if (pSendInput == NULL) {
-        pSendInput = (int (__stdcall *) (int, void *, int)) FindFunction(libUser32, "SendInput");
+    if (p_nbridge_SendInput == NULL) {
+        p_nbridge_SendInput = (unsigned int  (__stdcall *) (int, void *, int)) FindFunction(libUser32, "SendInput");
     }
-    return (jint) (* pSendInput)((int) cInputs, (void *) pInputs, (int) cbSize);
+    return (jint) (* p_nbridge_SendInput)((int) cInputs, (void *) pInputs, (int) cbSize);
 }
 
-int (__stdcall * pDeleteObject) (void *) = NULL;
+int  (__stdcall * p_nbridge_DeleteObject) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DeleteObject( JNIEnv *env, jobject self, jlong param_0) {
-    if (pDeleteObject == NULL) {
-        pDeleteObject = (int (__stdcall *) (void *)) FindFunction(libGdi32, "DeleteObject");
+    if (p_nbridge_DeleteObject == NULL) {
+        p_nbridge_DeleteObject = (int  (__stdcall *) (void *)) FindFunction(libGdi32, "DeleteObject");
     }
-    return (jint) (* pDeleteObject)((void *) param_0);
+    return (jint) (* p_nbridge_DeleteObject)((void *) param_0);
 }
 
-int (__stdcall * pImmIsIME) (void *) = NULL;
+int  (__stdcall * p_nbridge_ImmIsIME) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmIsIME( JNIEnv *env, jobject self, jlong param_0) {
-    if (pImmIsIME == NULL) {
-        pImmIsIME = (int (__stdcall *) (void *)) FindFunction(libImm32, "ImmIsIME");
+    if (p_nbridge_ImmIsIME == NULL) {
+        p_nbridge_ImmIsIME = (int  (__stdcall *) (void *)) FindFunction(libImm32, "ImmIsIME");
     }
-    return (jint) (* pImmIsIME)((void *) param_0);
+    return (jint) (* p_nbridge_ImmIsIME)((void *) param_0);
 }
-JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall29( JNIEnv *env, jobject self, jlong fnptr1234, jlong param_0, jint param_1, jlong param_2, jlong param_3) {
-    return (jlong)((LONG_PTR (__stdcall *) (void *, int, WPARAM, LONG_PTR)) fnptr1234)((void *) param_0, (int) param_1, (WPARAM) param_2, (LONG_PTR) param_3);
+JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_proxycall30( JNIEnv *env, jobject self, jlong fnptr1234, jlong param_0, jint param_1, jlong param_2, jlong param_3) {
+    return (jlong)((__w64 long  (__stdcall *) (void *, int, WPARAM, LONG_PTR)) fnptr1234)((void *) param_0, (int) param_1, (WPARAM) param_2, (LONG_PTR) param_3);
 }
 
-short (__stdcall * pRegisterClassExW) (void *) = NULL;
+unsigned short  (__stdcall * p_nbridge_RegisterClassExW) (void *) = NULL;
 
 JNIEXPORT jshort  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_RegisterClassExW( JNIEnv *env, jobject self, jlong param_0) {
-    if (pRegisterClassExW == NULL) {
-        pRegisterClassExW = (short (__stdcall *) (void *)) FindFunction(libUser32, "RegisterClassExW");
+    if (p_nbridge_RegisterClassExW == NULL) {
+        p_nbridge_RegisterClassExW = (unsigned short  (__stdcall *) (void *)) FindFunction(libUser32, "RegisterClassExW");
     }
-    return (jshort) (* pRegisterClassExW)((void *) param_0);
+    return (jshort) (* p_nbridge_RegisterClassExW)((void *) param_0);
 }
 
-void * (__stdcall * pGetWindowDC) (void *) = NULL;
+void * (__stdcall * p_nbridge_GetWindowDC) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetWindowDC( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pGetWindowDC == NULL) {
-        pGetWindowDC = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetWindowDC");
+    if (p_nbridge_GetWindowDC == NULL) {
+        p_nbridge_GetWindowDC = (void * (__stdcall *) (void *)) FindFunction(libUser32, "GetWindowDC");
     }
-    return (jlong) (* pGetWindowDC)((void *) hWnd);
+    return (jlong) (* p_nbridge_GetWindowDC)((void *) hWnd);
 }
 
-int (__stdcall * pRegisterClipboardFormatW) (void *) = NULL;
+unsigned int  (__stdcall * p_nbridge_RegisterClipboardFormatW) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_RegisterClipboardFormatW( JNIEnv *env, jobject self, jlong lpszFormat) {
-    if (pRegisterClipboardFormatW == NULL) {
-        pRegisterClipboardFormatW = (int (__stdcall *) (void *)) FindFunction(libUser32, "RegisterClipboardFormatW");
+    if (p_nbridge_RegisterClipboardFormatW == NULL) {
+        p_nbridge_RegisterClipboardFormatW = (unsigned int  (__stdcall *) (void *)) FindFunction(libUser32, "RegisterClipboardFormatW");
     }
-    return (jint) (* pRegisterClipboardFormatW)((void *) lpszFormat);
+    return (jint) (* p_nbridge_RegisterClipboardFormatW)((void *) lpszFormat);
 }
 
-int (__stdcall * pEnumClipboardFormats) (int) = NULL;
+unsigned int  (__stdcall * p_nbridge_EnumClipboardFormats) (int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_EnumClipboardFormats( JNIEnv *env, jobject self, jint format) {
-    if (pEnumClipboardFormats == NULL) {
-        pEnumClipboardFormats = (int (__stdcall *) (int)) FindFunction(libUser32, "EnumClipboardFormats");
+    if (p_nbridge_EnumClipboardFormats == NULL) {
+        p_nbridge_EnumClipboardFormats = (unsigned int  (__stdcall *) (int)) FindFunction(libUser32, "EnumClipboardFormats");
     }
-    return (jint) (* pEnumClipboardFormats)((int) format);
+    return (jint) (* p_nbridge_EnumClipboardFormats)((int) format);
 }
 
-void * (__stdcall * pCreateRectRgn) (int, int, int, int) = NULL;
+void * (__stdcall * p_nbridge_GetFocus) (void) = NULL;
+
+JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetFocus( JNIEnv *env, jobject self) {
+    if (p_nbridge_GetFocus == NULL) {
+        p_nbridge_GetFocus = (void * (__stdcall *) (void)) FindFunction(libUser32, "GetFocus");
+    }
+    return (jlong) (* p_nbridge_GetFocus)();
+}
+
+void * (__stdcall * p_nbridge_CreateRectRgn) (int, int, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_CreateRectRgn( JNIEnv *env, jobject self, jint param_0, jint param_1, jint param_2, jint param_3) {
-    if (pCreateRectRgn == NULL) {
-        pCreateRectRgn = (void * (__stdcall *) (int, int, int, int)) FindFunction(libGdi32, "CreateRectRgn");
+    if (p_nbridge_CreateRectRgn == NULL) {
+        p_nbridge_CreateRectRgn = (void * (__stdcall *) (int, int, int, int)) FindFunction(libGdi32, "CreateRectRgn");
     }
-    return (jlong) (* pCreateRectRgn)((int) param_0, (int) param_1, (int) param_2, (int) param_3);
+    return (jlong) (* p_nbridge_CreateRectRgn)((int) param_0, (int) param_1, (int) param_2, (int) param_3);
 }
 
-int (__stdcall * pDestroyCursor) (void *) = NULL;
+int  (__stdcall * p_nbridge_DestroyCursor) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DestroyCursor( JNIEnv *env, jobject self, jlong hCursor) {
-    if (pDestroyCursor == NULL) {
-        pDestroyCursor = (int (__stdcall *) (void *)) FindFunction(libUser32, "DestroyCursor");
+    if (p_nbridge_DestroyCursor == NULL) {
+        p_nbridge_DestroyCursor = (int  (__stdcall *) (void *)) FindFunction(libUser32, "DestroyCursor");
     }
-    return (jint) (* pDestroyCursor)((void *) hCursor);
+    return (jint) (* p_nbridge_DestroyCursor)((void *) hCursor);
 }
 
-void * (__stdcall * pGetClipboardData) (int) = NULL;
+void * (__stdcall * p_nbridge_GetClipboardData) (int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_GetClipboardData( JNIEnv *env, jobject self, jint uFormat) {
-    if (pGetClipboardData == NULL) {
-        pGetClipboardData = (void * (__stdcall *) (int)) FindFunction(libUser32, "GetClipboardData");
+    if (p_nbridge_GetClipboardData == NULL) {
+        p_nbridge_GetClipboardData = (void * (__stdcall *) (int)) FindFunction(libUser32, "GetClipboardData");
     }
-    return (jlong) (* pGetClipboardData)((int) uFormat);
+    return (jlong) (* p_nbridge_GetClipboardData)((int) uFormat);
 }
 
-int (__stdcall * pMoveToEx) (void *, int, int, void *) = NULL;
+int  (__stdcall * p_nbridge_MoveToEx) (void *, int, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_MoveToEx( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jlong param_3) {
-    if (pMoveToEx == NULL) {
-        pMoveToEx = (int (__stdcall *) (void *, int, int, void *)) FindFunction(libGdi32, "MoveToEx");
+    if (p_nbridge_MoveToEx == NULL) {
+        p_nbridge_MoveToEx = (int  (__stdcall *) (void *, int, int, void *)) FindFunction(libGdi32, "MoveToEx");
     }
-    return (jint) (* pMoveToEx)((void *) param_0, (int) param_1, (int) param_2, (void *) param_3);
+    return (jint) (* p_nbridge_MoveToEx)((void *) param_0, (int) param_1, (int) param_2, (void *) param_3);
 }
 
-int (__stdcall * pImmNotifyIME) (void *, long, long, long) = NULL;
+int  (__stdcall * p_nbridge_ImmNotifyIME) (void *, long, long, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_ImmNotifyIME( JNIEnv *env, jobject self, jlong param_0, jint dwAction, jint dwIndex, jint dwValue) {
-    if (pImmNotifyIME == NULL) {
-        pImmNotifyIME = (int (__stdcall *) (void *, long, long, long)) FindFunction(libImm32, "ImmNotifyIME");
+    if (p_nbridge_ImmNotifyIME == NULL) {
+        p_nbridge_ImmNotifyIME = (int  (__stdcall *) (void *, long, long, long)) FindFunction(libImm32, "ImmNotifyIME");
     }
-    return (jint) (* pImmNotifyIME)((void *) param_0, (long) dwAction, (long) dwIndex, (long) dwValue);
+    return (jint) (* p_nbridge_ImmNotifyIME)((void *) param_0, (long) dwAction, (long) dwIndex, (long) dwValue);
 }
 
-void * (__stdcall * pWindowFromPoint) (POINT) = NULL;
+void * (__stdcall * p_nbridge_WindowFromPoint) (POINT) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_WindowFromPoint( JNIEnv *env, jobject self, jlong Point) {
-    if (pWindowFromPoint == NULL) {
-        pWindowFromPoint = (void * (__stdcall *) (POINT)) FindFunction(libUser32, "WindowFromPoint");
+    if (p_nbridge_WindowFromPoint == NULL) {
+        p_nbridge_WindowFromPoint = (void * (__stdcall *) (POINT)) FindFunction(libUser32, "WindowFromPoint");
     }
-    return (jlong) (* pWindowFromPoint)(*((POINT *) Point));
+    return (jlong) (* p_nbridge_WindowFromPoint)(*((POINT *) Point));
 }
 
-void * (__stdcall * pSetCapture) (void *) = NULL;
+void * (__stdcall * p_nbridge_SetCapture) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetCapture( JNIEnv *env, jobject self, jlong hWnd) {
-    if (pSetCapture == NULL) {
-        pSetCapture = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetCapture");
+    if (p_nbridge_SetCapture == NULL) {
+        p_nbridge_SetCapture = (void * (__stdcall *) (void *)) FindFunction(libUser32, "SetCapture");
     }
-    return (jlong) (* pSetCapture)((void *) hWnd);
+    return (jlong) (* p_nbridge_SetCapture)((void *) hWnd);
 }
 
-int (__stdcall * pDestroyCaret) (void) = NULL;
+int  (__stdcall * p_nbridge_DestroyCaret) (void) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DestroyCaret( JNIEnv *env, jobject self) {
-    if (pDestroyCaret == NULL) {
-        pDestroyCaret = (int (__stdcall *) (void)) FindFunction(libUser32, "DestroyCaret");
+    if (p_nbridge_DestroyCaret == NULL) {
+        p_nbridge_DestroyCaret = (int  (__stdcall *) (void)) FindFunction(libUser32, "DestroyCaret");
     }
-    return (jint) (* pDestroyCaret)();
+    return (jint) (* p_nbridge_DestroyCaret)();
 }
 
-int (__stdcall * pSetWindowTextW) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_SetWindowTextW) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_SetWindowTextW( JNIEnv *env, jobject self, jlong hWnd, jlong lpString) {
-    if (pSetWindowTextW == NULL) {
-        pSetWindowTextW = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "SetWindowTextW");
+    if (p_nbridge_SetWindowTextW == NULL) {
+        p_nbridge_SetWindowTextW = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "SetWindowTextW");
     }
-    return (jint) (* pSetWindowTextW)((void *) hWnd, (void *) lpString);
+    return (jint) (* p_nbridge_SetWindowTextW)((void *) hWnd, (void *) lpString);
 }
 
-int (__stdcall * pDrawFocusRect) (void *, void *) = NULL;
+int  (__stdcall * p_nbridge_DrawFocusRect) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_windows_Win32_DrawFocusRect( JNIEnv *env, jobject self, jlong hDC, jlong lprc) {
-    if (pDrawFocusRect == NULL) {
-        pDrawFocusRect = (int (__stdcall *) (void *, void *)) FindFunction(libUser32, "DrawFocusRect");
+    if (p_nbridge_DrawFocusRect == NULL) {
+        p_nbridge_DrawFocusRect = (int  (__stdcall *) (void *, void *)) FindFunction(libUser32, "DrawFocusRect");
     }
-    return (jint) (* pDrawFocusRect)((void *) hDC, (void *) lprc);

[... 1916 lines stripped ...]


Mime
View raw message