[PATCH 1/2] include: add a generic class factory template

Octavian Voicu octavian.voicu at gmail.com
Tue Sep 20 14:53:44 CDT 2011


On Tue, Sep 20, 2011 at 4:05 PM, Bernhard Loos
<bernhardloos at googlemail.com> wrote:
> +#    define __WINE_GENERIC_CF_DLL_MAIN_CONTENT \
> +            return __WINE_PS_ENTRY(DllMain(hInstDll, fdwReason, lpv));

I think __WINE_PS_ENTRY needs only be applied to DllMain, not its
argument, so second line should read:

+            return __WINE_PS_ENTRY(DllMain)(hInstDll, fdwReason, lpv);

Octavian



More information about the wine-devel mailing list