Michael Stefaniuc : devenum: Don' t use DEVENUM_IPropertyBag_AddRef method directly.

Alexandre Julliard julliard at winehq.org
Tue Apr 3 12:17:38 CDT 2012


Module: wine
Branch: master
Commit: 91203006e171a584edc6036e7f4f0505ad85d22b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91203006e171a584edc6036e7f4f0505ad85d22b

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Apr  3 00:19:59 2012 +0200

devenum: Don't use DEVENUM_IPropertyBag_AddRef method directly.

---

 dlls/devenum/mediacatenum.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/devenum/mediacatenum.c b/dlls/devenum/mediacatenum.c
index 3562a69..1ff06df 100644
--- a/dlls/devenum/mediacatenum.c
+++ b/dlls/devenum/mediacatenum.c
@@ -30,8 +30,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(devenum);
 
-static ULONG WINAPI DEVENUM_IPropertyBag_AddRef(LPPROPERTYBAG iface);
-
 typedef struct
 {
     IEnumMoniker IEnumMoniker_iface;
@@ -68,7 +66,7 @@ static HRESULT WINAPI DEVENUM_IPropertyBag_QueryInterface(
         IsEqualGUID(riid, &IID_IPropertyBag))
     {
         *ppvObj = iface;
-        DEVENUM_IPropertyBag_AddRef(iface);
+        IPropertyBag_AddRef(iface);
         return S_OK;
     }
 




More information about the wine-cvs mailing list