Commit a3ba1b8f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dplayx: Finish the COM cleanup for IDirectPlaySP.

parent 11756086
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment