Re: [2/3] qmgr: Implement IUnkown interface for IBackgroundCopyJob.
22 Feb
2008
22 Feb
'08
11:09 a.m.
Dan Hipschman <dsh(a)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(a)winehq.org
6508
Age (days ago)
6508
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard