Andrew Nguyen : winnls32: Restore the correct export names.

Alexandre Julliard julliard at winehq.org
Thu Feb 18 12:49:23 CST 2010


Module: wine
Branch: master
Commit: f8ae018423bb734a05029ed2acd97ba12aa4045d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f8ae018423bb734a05029ed2acd97ba12aa4045d

Author: Andrew Nguyen <arethusa26 at gmail.com>
Date:   Wed Feb 17 13:48:42 2010 -0600

winnls32: Restore the correct export names.

---

 dlls/winnls.dll16/winnls.c  |    7 +++++--
 dlls/winnls32/winnls.c      |    8 ++++----
 dlls/winnls32/winnls32.spec |    4 ++--
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/dlls/winnls.dll16/winnls.c b/dlls/winnls.dll16/winnls.c
index 778c254..efe64ff 100644
--- a/dlls/winnls.dll16/winnls.c
+++ b/dlls/winnls.dll16/winnls.c
@@ -24,12 +24,15 @@
 #include "wownt32.h"
 #include "wine/winuser16.h"
 
+BOOL WINAPI WINNLS32EnableIME(HWND hWnd, BOOL fEnable);
+BOOL WINAPI WINNLS32GetEnableStatus(HWND hWnd);
+
 /***********************************************************************
  *		WINNLSEnableIME (WINNLS.16)
  */
 BOOL WINAPI WINNLSEnableIME16( HWND16 hwnd, BOOL enable )
 {
-    return WINNLSEnableIME( HWND_32(hwnd), enable );
+    return WINNLS32EnableIME( HWND_32(hwnd), enable );
 }
 
 /***********************************************************************
@@ -37,5 +40,5 @@ BOOL WINAPI WINNLSEnableIME16( HWND16 hwnd, BOOL enable )
  */
 BOOL WINAPI WINNLSGetEnableStatus16( HWND16 hwnd )
 {
-    return WINNLSGetEnableStatus( HWND_32(hwnd) );
+    return WINNLS32GetEnableStatus( HWND_32(hwnd) );
 }
diff --git a/dlls/winnls32/winnls.c b/dlls/winnls32/winnls.c
index 2366815..517a53c 100644
--- a/dlls/winnls32/winnls.c
+++ b/dlls/winnls32/winnls.c
@@ -39,17 +39,17 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
 }
 
 /***********************************************************************
- *		WINNLSGetEnableStatus (WINNLS32.2)
+ *		WINNLS32GetEnableStatus (WINNLS32.2)
  */
-BOOL WINAPI WINNLSGetEnableStatus(HWND hWnd)
+BOOL WINAPI WINNLS32GetEnableStatus(HWND hWnd)
 {
     return FALSE;
 }
 
 /***********************************************************************
- *		WINNLSEnableIME (WINNLS32.1)
+ *		WINNLS32EnableIME (WINNLS32.1)
  */
-BOOL WINAPI WINNLSEnableIME(HWND hWnd, BOOL fEnable)
+BOOL WINAPI WINNLS32EnableIME(HWND hWnd, BOOL fEnable)
 {
     /* fake return of previous status. is this what this function should do ? */
     return !fEnable;
diff --git a/dlls/winnls32/winnls32.spec b/dlls/winnls32/winnls32.spec
index 18bffea..34e0d42 100644
--- a/dlls/winnls32/winnls32.spec
+++ b/dlls/winnls32/winnls32.spec
@@ -1,5 +1,5 @@
-1  stdcall WINNLSEnableIME(long long)
-2  stdcall WINNLSGetEnableStatus(long)
+1  stdcall WINNLS32EnableIME(long long)
+2  stdcall WINNLS32GetEnableStatus(long)
 3  stub WINNLS32GetIMEHotKey
 21 stub IMP32GetIME
 22 stub IMP32QueryIME




More information about the wine-cvs mailing list