Commit 56e1e6aa authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dplayx: Finish the COM cleanup for IDPLobbySP.

parent 02ce71ed
......@@ -28,14 +28,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(dplay);
typedef struct IDPLobbySPImpl
{
const IDPLobbySPVtbl *lpVtbl;
IDPLobbySP IDPLobbySP_iface;
LONG ref;
IDirectPlayImpl *dplay;
} IDPLobbySPImpl;
static inline IDPLobbySPImpl *impl_from_IDPLobbySP(IDPLobbySP *iface)
{
return CONTAINING_RECORD( iface, IDPLobbySPImpl, lpVtbl );
return CONTAINING_RECORD(iface, IDPLobbySPImpl, IDPLobbySP_iface);
}
/* Forward declaration of virtual tables */
......@@ -56,7 +56,7 @@ HRESULT DPLSP_CreateInterface( REFIID riid, void **ppvObj, IDirectPlayImpl *dp )
if( IsEqualGUID( &IID_IDPLobbySP, riid ) )
{
IDPLobbySPImpl *This = *ppvObj;
This->lpVtbl = &dpLobbySPVT;
This->IDPLobbySP_iface.lpVtbl = &dpLobbySPVT;
This->dplay = dp;
}
else
......
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