[PATCH 2/5] hhctrl.ocx: Implement HH_SET_WIN_TYPE (try 7).

Alexandre Julliard julliard at winehq.org
Thu Aug 30 12:58:35 CDT 2012


"Erich E. Hoover" <ehoover at mymail.mines.edu> writes:

> @@ -1784,11 +1785,25 @@ void ReleaseHelpViewer(HHInfo *info)
>      OleUninitialize();
>  }
>  
> -HHInfo *CreateHelpViewer(LPCWSTR filename, HWND caller)
> +static BOOL info_in_list(HHInfo *info)
> +{
> +    HHInfo *i;
> +
> +    LIST_FOR_EACH_ENTRY(i, &window_list, HHInfo, entry)
> +    {
> +        if(i == info)
> +            return TRUE;
> +    }
> +    return FALSE;
> +}

You should never need that sort of thing.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list