diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c index c0492b7d374..e2d396d0567 100644 --- a/dlls/shlwapi/ordinal.c +++ b/dlls/shlwapi/ordinal.c @@ -443,6 +443,8 @@ INT WINAPI SHLWAPI_218(UINT CodePage, LPCWSTR lpSrcStr, LPSTR lpDstStr, /************************************************************************* * @ [SHLWAPI.217] * + * Hmm, some program used lpnMultiCharCount == 0x3 (and lpSrcStr was "C") + * --> Crash. Something wrong here. */ INT WINAPI SHLWAPI_217(LPCWSTR lpSrcStr, LPSTR lpDstStr, LPINT lpnMultiCharCount) { diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec index cd4180dfc2a..9aa7e3e2822 100644 --- a/dlls/shlwapi/shlwapi.spec +++ b/dlls/shlwapi/shlwapi.spec @@ -226,8 +226,8 @@ debug_channels (shell) 214 stub @ 215 stdcall @(long long long) SHLWAPI_215 216 stub @ -217 stdcall @(wstr str ptr) SHLWAPI_217 -218 stdcall @(long wstr str ptr) SHLWAPI_218 +217 stdcall @(wstr ptr ptr) SHLWAPI_217 +218 stdcall @(long wstr ptr ptr) SHLWAPI_218 219 stdcall @(long long long long) SHLWAPI_219 220 stub @ 221 stub @