implemented a couple of forwards from shdocvw to shlwapi.

Jacek Caban jacek at codeweavers.com
Sun Feb 5 17:15:39 CST 2006


Eric Pouech wrote:
> ChangeLog:
> - implemented a couple of forwards by ordinal from shdocvw to shlwapi
>
>  dlls/shdocvw/misc.c       |   70 
> +++++++++++++++++++++++++++++++++++++++++++++
>  dlls/shdocvw/shdocvw.spec |    9 +++---
>  2 files changed, 75 insertions(+), 4 deletions(-)
>
> ------------------------------------------------------------------------
>
> 694ad19af173951512f2a9450c152164e5bfb047
> diff --git a/dlls/shdocvw/misc.c b/dlls/shdocvw/misc.c
> index 2be6270..c491d7a 100644
> --- a/dlls/shdocvw/misc.c
> +++ b/dlls/shdocvw/misc.c
> @@ -96,3 +96,73 @@ void WINAPI OpenURL(HWND hWnd, HINSTANCE
>  {
>      FIXME("%p %p %s %d\n", hWnd, hInst, debugstr_a(lpcstrUrl), nShowCmd);
>  }
> +
> +/**********************************************************************
> + * Some forwards (by ordinal) to SHLWAPI
> + */
> +
> +static void* fetch_shlwapi_ordinal(unsigned ord)
> +{
> +    static HANDLE h;
> +
> +    if (!h && !(h = LoadLibraryA("shlwapi.dll"))) return NULL;
>
>   
Windows shdocvw imports shlwapi, so I think it would be better to add it
to imports and use GetModuleHandle here. Also, as IQuickActivate is not
implemented by Windows WebBrowser, I'm going to remove it from Wine
and then misc.c will be almost empty, so could you add these functions to
shdocvw_main.c?

Thanks,
    Jacek



More information about the wine-devel mailing list