On Sat, Aug 2, 2008 at 4:09 PM, Andrew Talbot <[EMAIL PROTECTED]> 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
