[2/3] qmgr: Implement IUnkown interface for IBackgroundCopyJob.

Alexandre Julliard julliard at winehq.org
Fri Feb 22 05:09:06 CST 2008

Dan Hipschman <dsh at linux.ucla.edu> writes:

> +static ULONG WINAPI BITS_IBackgroundCopyJob_AddRef(IBackgroundCopyJob* iface)
> +{
> +    ICOM_THIS_MULTI(BackgroundCopyJobImpl, lpVtbl, iface);
> +    return InterlockedIncrement(&This->ref);
> +}

There's no reason to use something like ICOM_THIS_MULTI with a single
interface. And if you really do have multiple interfaces, please use an
inline function instead.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list