Unicode version of DdeCreateStringHandle should ignore codepage parameter

Dmitry Timoshkov dmitry at baikal.ru
Thu Apr 22 08:25:28 CDT 2004


Hello,

this patch fixes DDE between Outlook and Winword.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Unicode version of DdeCreateStringHandle should ignore codepage parameter.

--- cvs/hq/wine/dlls/user/dde/misc.c	2003-09-14 18:57:19.000000000 +0900
+++ wine/dlls/user/dde/misc.c	2004-04-22 21:59:16.000000000 +0900
@@ -1141,10 +1141,8 @@ HSZ WINAPI DdeCreateStringHandleW(DWORD 
 
     pInstance = WDML_GetInstance(idInst);
     if (pInstance)
-    {
-	if (codepage == 0) codepage = CP_WINUNICODE;
-	hsz = WDML_CreateString(pInstance, psz, codepage);
-    }
+        hsz = WDML_CreateString(pInstance, psz, CP_WINUNICODE);
+
     LeaveCriticalSection(&WDML_CritSect);
 
     return hsz;






More information about the wine-patches mailing list