dplayx: Finish the COM cleanup for IDirectPlaySP.
This commit is contained in:
parent
11756086b4
commit
a3ba1b8ff0
|
@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dplay);
|
||||||
|
|
||||||
typedef struct IDirectPlaySPImpl
|
typedef struct IDirectPlaySPImpl
|
||||||
{
|
{
|
||||||
const IDirectPlaySPVtbl *lpVtbl;
|
IDirectPlaySP IDirectPlaySP_iface;
|
||||||
LONG ref;
|
LONG ref;
|
||||||
void *remote_data;
|
void *remote_data;
|
||||||
DWORD remote_data_size;
|
DWORD remote_data_size;
|
||||||
|
@ -73,7 +73,7 @@ HRESULT DPSP_CreateInterface( REFIID riid, void **ppvObj, IDirectPlayImpl *dp )
|
||||||
if( IsEqualGUID( &IID_IDirectPlaySP, riid ) )
|
if( IsEqualGUID( &IID_IDirectPlaySP, riid ) )
|
||||||
{
|
{
|
||||||
IDirectPlaySPImpl *This = *ppvObj;
|
IDirectPlaySPImpl *This = *ppvObj;
|
||||||
This->lpVtbl = &directPlaySPVT;
|
This->IDirectPlaySP_iface.lpVtbl = &directPlaySPVT;
|
||||||
This->dplay = dp;
|
This->dplay = dp;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -91,7 +91,7 @@ HRESULT DPSP_CreateInterface( REFIID riid, void **ppvObj, IDirectPlayImpl *dp )
|
||||||
|
|
||||||
static inline IDirectPlaySPImpl *impl_from_IDirectPlaySP( IDirectPlaySP *iface )
|
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,
|
static HRESULT WINAPI IDirectPlaySPImpl_QueryInterface( IDirectPlaySP *iface, REFIID riid,
|
||||||
|
|
Loading…
Reference in New Issue