Move definitions of static vtables from header to dplay.c.
This commit is contained in:
parent
a052728a56
commit
2d34619b18
|
@ -76,6 +76,15 @@ static BOOL CALLBACK cbRemoveGroupOrPlayer( DPID dpId, DWORD dwPlayerType,
|
|||
LPVOID lpContext );
|
||||
static void DP_DeleteGroup( IDirectPlay2Impl* This, DPID dpid );
|
||||
|
||||
/* Forward declarations of virtual tables */
|
||||
static ICOM_VTABLE(IDirectPlay2) directPlay2AVT;
|
||||
static ICOM_VTABLE(IDirectPlay3) directPlay3AVT;
|
||||
static ICOM_VTABLE(IDirectPlay4) directPlay4AVT;
|
||||
|
||||
static ICOM_VTABLE(IDirectPlay2) directPlay2WVT;
|
||||
static ICOM_VTABLE(IDirectPlay3) directPlay3WVT;
|
||||
static ICOM_VTABLE(IDirectPlay4) directPlay4WVT;
|
||||
|
||||
/* Helper methods for player/group interfaces */
|
||||
static HRESULT WINAPI DP_IF_DeletePlayerFromGroup
|
||||
( IDirectPlay2Impl* This, LPVOID lpMsgHdr, DPID idGroup,
|
||||
|
|
|
@ -231,16 +231,6 @@ struct IDirectPlay4Impl
|
|||
DP_IMPL_FIELDS
|
||||
};
|
||||
|
||||
/* Forward declarations of virtual tables */
|
||||
extern ICOM_VTABLE(IDirectPlay2) directPlay2AVT;
|
||||
extern ICOM_VTABLE(IDirectPlay3) directPlay3AVT;
|
||||
extern ICOM_VTABLE(IDirectPlay4) directPlay4AVT;
|
||||
|
||||
extern ICOM_VTABLE(IDirectPlay2) directPlay2WVT;
|
||||
extern ICOM_VTABLE(IDirectPlay3) directPlay3WVT;
|
||||
extern ICOM_VTABLE(IDirectPlay4) directPlay4WVT;
|
||||
|
||||
|
||||
HRESULT DP_HandleMessage( IDirectPlay2Impl* This, LPCVOID lpMessageBody,
|
||||
DWORD dwMessageBodySize, LPCVOID lpMessageHeader,
|
||||
WORD wCommandId, WORD wVersion,
|
||||
|
|
Loading…
Reference in New Issue