fusion: Use proper function pointer

James Hawkins truiken at gmail.com
Sat Aug 2 17:51:07 CDT 2008


On Sat, Aug 2, 2008 at 4:09 PM, Andrew Talbot
<andrew.talbot at talbotville.com> wrote:
> Changelog:
>    fusion: Use proper function pointer.
>
> diff --git a/dlls/fusion/fusion.c b/dlls/fusion/fusion.c
> index ac01cf4..637346c 100644
> --- a/dlls/fusion/fusion.c
> +++ b/dlls/fusion/fusion.c
> @@ -32,6 +32,9 @@
>
>  WINE_DEFAULT_DEBUG_CHANNEL(fusion);
>
> +typedef HRESULT (WINAPI *PFNGETCORVERSION)(LPWSTR pbuffer, DWORD cchBuffer,
> +                                           DWORD *dwLength);
> +
>  /******************************************************************
>  *  ClearDownloadCache   (FUSION.@)
>  */
> @@ -89,20 +92,18 @@ HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR pwzFilePath, REFIID riid,
>     return E_NOTIMPL;
>  }
>
> -static HRESULT (WINAPI *pGetCORVersion)(LPWSTR pbuffer, DWORD cchBuffer,
> -                                        DWORD *dwLength);
> -

There's nothing wrong with this.  We use this type of function pointer
all over the code base.

-- 
James Hawkins



More information about the wine-devel mailing list