[PATCH 4/6] shell32: Implement IExplorerBrowser::Advise and IExplorerBrowser::Unadvise.

Alexandre Julliard julliard at winehq.org
Mon Aug 23 08:12:00 CDT 2010


David Hedberg <david.hedberg at gmail.com> writes:

> +#define EBE_IMPL(iface)                         \
> +    ((IExplorerBrowserEventsImpl*)iface)
> [...]
> +static ULONG WINAPI IExplorerBrowserEvents_fnAddRef(IExplorerBrowserEvents *iface)
> +{
> +    return InterlockedIncrement(&(EBE_IMPL(iface)->ref));

That's ugly, declare a proper This pointer instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list