From a3ba1b8ff0d986f755c9cb679fe3706dc1ac2f3e Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 5 Sep 2013 00:00:03 +0200 Subject: [PATCH] dplayx: Finish the COM cleanup for IDirectPlaySP. --- dlls/dplayx/dplaysp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/dplayx/dplaysp.c b/dlls/dplayx/dplaysp.c index 780834c0ca7..e8269dfb076 100644 --- a/dlls/dplayx/dplaysp.c +++ b/dlls/dplayx/dplaysp.c @@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dplay); typedef struct IDirectPlaySPImpl { - const IDirectPlaySPVtbl *lpVtbl; + IDirectPlaySP IDirectPlaySP_iface; LONG ref; void *remote_data; DWORD remote_data_size; @@ -73,7 +73,7 @@ HRESULT DPSP_CreateInterface( REFIID riid, void **ppvObj, IDirectPlayImpl *dp ) if( IsEqualGUID( &IID_IDirectPlaySP, riid ) ) { IDirectPlaySPImpl *This = *ppvObj; - This->lpVtbl = &directPlaySPVT; + This->IDirectPlaySP_iface.lpVtbl = &directPlaySPVT; This->dplay = dp; } else @@ -91,7 +91,7 @@ HRESULT DPSP_CreateInterface( REFIID riid, void **ppvObj, IDirectPlayImpl *dp ) static inline IDirectPlaySPImpl *impl_from_IDirectPlaySP( IDirectPlaySP *iface ) { - return CONTAINING_RECORD( iface, IDirectPlaySPImpl, lpVtbl ); + return CONTAINING_RECORD( iface, IDirectPlaySPImpl, IDirectPlaySP_iface ); } static HRESULT WINAPI IDirectPlaySPImpl_QueryInterface( IDirectPlaySP *iface, REFIID riid,