Commit 2a079ce6 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dplayx: Get rid of the IDirectPlayXImpl to IDirectPlayImpl casts.

parent 12a26e1d
......@@ -1482,7 +1482,7 @@ static HRESULT DP_IF_DestroyGroup
return DPERR_INVALIDPLAYER; /* yes player */
}
context.This = (IDirectPlay3Impl*)This;
context.This = This;
context.bAnsi = bAnsi;
context.idGroup = idGroup;
......@@ -2919,15 +2919,10 @@ static HRESULT DP_IF_CreateGroupInGroup
}
/* Verify that the specified parent is valid */
if( ( lpGParentData = DP_FindAnyGroup( (IDirectPlay2AImpl*)This,
idParentGroup ) ) == NULL
)
{
if( ( lpGParentData = DP_FindAnyGroup(This, idParentGroup ) ) == NULL )
return DPERR_INVALIDGROUP;
}
lpGData = DP_CreateGroup( (IDirectPlay2AImpl*)This, lpidGroup, lpGroupName,
dwFlags, idParentGroup, bAnsi );
lpGData = DP_CreateGroup(This, lpidGroup, lpGroupName, dwFlags, idParentGroup, bAnsi );
if( lpGData == NULL )
{
......
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