[2/2] mlang: Export a couple of functions by ordinal.

Dmitry Timoshkov dmitry at codeweavers.com
Mon Feb 2 02:33:59 CST 2009


"Hans Leidekker" <hans at codeweavers.com> wrote:

> IE7 imports these and possibly others by ordinal.
> 
> -Hans
> 
> diff --git a/dlls/mlang/mlang.spec b/dlls/mlang/mlang.spec
> index 1e8f022..689ad27 100644
> --- a/dlls/mlang/mlang.spec
> +++ b/dlls/mlang/mlang.spec
> @@ -1,14 +1,15 @@
> +112 stdcall ConvertINetUnicodeToMultiByte(ptr long ptr ptr ptr ptr)
> +120 stdcall LcidToRfc1766A(long ptr long)
> +121 stdcall LcidToRfc1766W(long ptr long)
> +
> @ stdcall ConvertINetMultiByteToUnicode(ptr long ptr ptr ptr ptr)
> @ stub ConvertINetReset
> @ stdcall ConvertINetString(ptr long long ptr ptr ptr ptr)
> -@ stdcall ConvertINetUnicodeToMultiByte(ptr long ptr ptr ptr ptr)
> @ stdcall -private DllCanUnloadNow()
> @ stdcall -private DllGetClassObject(ptr ptr ptr)
> @ stdcall -private DllRegisterServer()
> @ stdcall -private DllUnregisterServer()
> @ stdcall GetGlobalFontLinkObject()
> @ stdcall IsConvertINetStringAvailable(long long)
> -@ stdcall LcidToRfc1766A(long ptr long)
> -@ stdcall LcidToRfc1766W(long ptr long)
> @ stdcall Rfc1766ToLcidA(ptr str)
> @ stdcall Rfc1766ToLcidW(ptr wstr)

I've compared the exports of win98 and winxp versions of mlang.dll
and they have exactly the same ordinals assigned. So it should be
safe to assign ordinals to all mlang exports (it's worth to mention
that PSDK doesn't ship an mlang.lib).

-- 
Dmitry.



More information about the wine-devel mailing list