Re: [PATCH 2/3] qmgr: AddRef, QueryInterface, and stub functions for queue manager interface.
19 Dec
2007
19 Dec
'07
12:20 p.m.
Roy Shea <roy(a)cs.hmc.edu> writes:
+static ULONG WINAPI BITS_IBackgroundCopyManager_AddRef( + IBackgroundCopyManager* iface) +{ + ICOM_THIS_MULTI(BackgroundCopyManagerImpl, lpVtbl, iface);
There's no reason to use ICOM_THIS_MULTI with a single vtbl.
+ if (This == NULL) + { + return E_POINTER; + }
Checking This for NULL is a waste of time. -- Alexandre Julliard julliard(a)winehq.org
6576
Age (days ago)
6576
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard