devenum: Don't use DEVENUM_IPropertyBag_AddRef method directly.

This commit is contained in:
Michael Stefaniuc 2012-04-03 00:19:59 +02:00 committed by Alexandre Julliard
parent 25aa60b33c
commit 91203006e1
1 changed files with 1 additions and 3 deletions

View File

@ -30,8 +30,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(devenum); WINE_DEFAULT_DEBUG_CHANNEL(devenum);
static ULONG WINAPI DEVENUM_IPropertyBag_AddRef(LPPROPERTYBAG iface);
typedef struct typedef struct
{ {
IEnumMoniker IEnumMoniker_iface; IEnumMoniker IEnumMoniker_iface;
@ -68,7 +66,7 @@ static HRESULT WINAPI DEVENUM_IPropertyBag_QueryInterface(
IsEqualGUID(riid, &IID_IPropertyBag)) IsEqualGUID(riid, &IID_IPropertyBag))
{ {
*ppvObj = iface; *ppvObj = iface;
DEVENUM_IPropertyBag_AddRef(iface); IPropertyBag_AddRef(iface);
return S_OK; return S_OK;
} }