[PATCH 6/7] dplayx: Finish the COM cleanup for IDPLobbySP.
Michael Stefaniuc
mstefani at redhat.de
Tue Sep 3 16:23:19 CDT 2013
---
dlls/dplayx/lobbysp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/dplayx/lobbysp.c b/dlls/dplayx/lobbysp.c
index 6e7fdd6..8b0c24c 100644
--- a/dlls/dplayx/lobbysp.c
+++ b/dlls/dplayx/lobbysp.c
@@ -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
--
1.8.3.1
More information about the wine-patches
mailing list