bits: Updated IBackgroundCopyManager interface stubs to use iface (21/27)

Roy Shea roy at cs.hmc.edu
Fri Nov 16 18:20:26 CST 2007


Using iface for the interface functions allows continued use of the
ICOM_THIS_MULTI already in use throughout qmgr.
---
 dlls/qmgr/qmgr.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/dlls/qmgr/qmgr.c b/dlls/qmgr/qmgr.c
index 01bdaed..d0b7de2 100644
--- a/dlls/qmgr/qmgr.c
+++ b/dlls/qmgr/qmgr.c
@@ -62,7 +62,8 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_QueryInterface(
     }
 
     if (IsEqualGUID(riid, &IID_IUnknown) ||
-            IsEqualGUID(riid, &IID_IBackgroundCopyManager)) {
+            IsEqualGUID(riid, &IID_IBackgroundCopyManager))
+    {
         *ppvObject = &This->bitsVtbl;
         BITS_IBackgroundCopyManager_AddRef(iface);
         return S_OK;
@@ -97,7 +98,7 @@ static ULONG WINAPI BITS_IBackgroundCopyManager_Release(
 /*** IBackgroundCopyManager interface methods ***/
 
 static HRESULT WINAPI BITS_IBackgroundCopyManager_CreateJob(
-        IBackgroundCopyManager* This,
+        IBackgroundCopyManager* iface,
         LPCWSTR DisplayName,
         BG_JOB_TYPE Type,
         GUID *pJobId,
@@ -108,7 +109,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_CreateJob(
 }
 
 static HRESULT WINAPI BITS_IBackgroundCopyManager_GetJob(
-        IBackgroundCopyManager* This,
+        IBackgroundCopyManager* iface,
         REFGUID jobID,
         IBackgroundCopyJob **ppJob)
 {
@@ -117,7 +118,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_GetJob(
 }
 
 static HRESULT WINAPI BITS_IBackgroundCopyManager_EnumJobs(
-        IBackgroundCopyManager* This,
+        IBackgroundCopyManager* iface,
         DWORD dwFlags,
         IEnumBackgroundCopyJobs **ppEnum)
 {
@@ -126,7 +127,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_EnumJobs(
 }
 
 static HRESULT WINAPI BITS_IBackgroundCopyManager_GetErrorDescription(
-        IBackgroundCopyManager* This,
+        IBackgroundCopyManager* iface,
         HRESULT hResult,
         DWORD LanguageId,
         LPWSTR *pErrorDescription)
-- 
1.5.3.1




More information about the wine-patches mailing list