Dan Hipschman dsh@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.