FS2_Open
Open source remastering of the Freespace 2 engine
vdplay.h File Reference
#include <ole2.h>

Go to the source code of this file.

Classes

struct  DPCAPS
 
struct  DPSESSIONDESC2
 
struct  DPNAME
 
struct  DPCREDENTIALS
 
struct  DPSECURITYDESC
 
struct  DPACCOUNTDESC
 
struct  DPLCONNECTION
 
struct  DPCHAT
 
struct  DPMSG_GENERIC
 
struct  DPMSG_CREATEPLAYERORGROUP
 
struct  DPMSG_DESTROYPLAYERORGROUP
 
struct  DPMSG_ADDPLAYERTOGROUP
 
struct  DPMSG_ADDGROUPTOGROUP
 
struct  DPMSG_SETPLAYERORGROUPDATA
 
struct  DPMSG_SETPLAYERORGROUPNAME
 
struct  DPMSG_SETSESSIONDESC
 
struct  DPMSG_SECUREMESSAGE
 
struct  DPMSG_STARTSESSION
 
struct  DPMSG_CHAT
 
struct  DPMSG_ADDPLAYER
 
struct  DPMSG_GROUPADD
 
struct  DPMSG_DELETEPLAYER
 
struct  DPSESSIONDESC
 

Macros

#define _FACDP   0x877
 
#define MAKE_DPHRESULT(code)    MAKE_HRESULT( 1, _FACDP, code )
 
#define DPID_SYSMSG   0
 
#define DPID_ALLPLAYERS   0
 
#define DPID_SERVERPLAYER   1
 
#define DPID_UNKNOWN   0xFFFFFFFF
 
#define DPCAPS_ISHOST   0x00000002
 
#define DPCAPS_GROUPOPTIMIZED   0x00000008
 
#define DPCAPS_KEEPALIVEOPTIMIZED   0x00000010
 
#define DPCAPS_GUARANTEEDOPTIMIZED   0x00000020
 
#define DPCAPS_GUARANTEEDSUPPORTED   0x00000040
 
#define DPCAPS_SIGNINGSUPPORTED   0x00000080
 
#define DPCAPS_ENCRYPTIONSUPPORTED   0x00000100
 
#define DPSESSION_NEWPLAYERSDISABLED   0x00000001
 
#define DPSESSION_MIGRATEHOST   0x00000004
 
#define DPSESSION_NOMESSAGEID   0x00000008
 
#define DPSESSION_JOINDISABLED   0x00000020
 
#define DPSESSION_KEEPALIVE   0x00000040
 
#define DPSESSION_NODATAMESSAGES   0x00000080
 
#define DPSESSION_SECURESERVER   0x00000100
 
#define DPSESSION_PRIVATE   0x00000200
 
#define DPSESSION_PASSWORDREQUIRED   0x00000400
 
#define DPSESSION_MULTICASTSERVER   0x00000800
 
#define DPSESSION_CLIENTSERVER   0x00001000
 
#define DPESC_TIMEDOUT   0x00000001
 
#define DirectPlayEnumerate   DirectPlayEnumerateA
 
#define INTERFACE   IDirectPlay2
 
#define IDirectPlay2_QueryInterface(p, a, b)    (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectPlay2_AddRef(p)    (p)->lpVtbl->AddRef(p)
 
#define IDirectPlay2_Release(p)    (p)->lpVtbl->Release(p)
 
#define IDirectPlay2_AddPlayerToGroup(p, a, b)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)
 
#define IDirectPlay2_Close(p)    (p)->lpVtbl->Close(p)
 
#define IDirectPlay2_CreateGroup(p, a, b, c, d, e)    (p)->lpVtbl->CreateGroup(p,a,b,c,d,e)
 
#define IDirectPlay2_CreatePlayer(p, a, b, c, d, e, f)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f)
 
#define IDirectPlay2_DeletePlayerFromGroup(p, a, b)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)
 
#define IDirectPlay2_DestroyGroup(p, a)    (p)->lpVtbl->DestroyGroup(p,a)
 
#define IDirectPlay2_DestroyPlayer(p, a)    (p)->lpVtbl->DestroyPlayer(p,a)
 
#define IDirectPlay2_EnumGroupPlayers(p, a, b, c, d, e)   (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e)
 
#define IDirectPlay2_EnumGroups(p, a, b, c, d)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)
 
#define IDirectPlay2_EnumPlayers(p, a, b, c, d)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)
 
#define IDirectPlay2_EnumSessions(p, a, b, c, d, e)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)
 
#define IDirectPlay2_GetCaps(p, a, b)    (p)->lpVtbl->GetCaps(p,a,b)
 
#define IDirectPlay2_GetMessageCount(p, a, b)    (p)->lpVtbl->GetMessageCount(p,a,b)
 
#define IDirectPlay2_GetGroupData(p, a, b, c, d)    (p)->lpVtbl->GetGroupData(p,a,b,c,d)
 
#define IDirectPlay2_GetGroupName(p, a, b, c)    (p)->lpVtbl->GetGroupName(p,a,b,c)
 
#define IDirectPlay2_GetPlayerAddress(p, a, b, c)    (p)->lpVtbl->GetPlayerAddress(p,a,b,c)
 
#define IDirectPlay2_GetPlayerCaps(p, a, b, c)    (p)->lpVtbl->GetPlayerCaps(p,a,b,c)
 
#define IDirectPlay2_GetPlayerData(p, a, b, c, d)    (p)->lpVtbl->GetPlayerData(p,a,b,c,d)
 
#define IDirectPlay2_GetPlayerName(p, a, b, c)    (p)->lpVtbl->GetPlayerName(p,a,b,c)
 
#define IDirectPlay2_GetSessionDesc(p, a, b)    (p)->lpVtbl->GetSessionDesc(p,a,b)
 
#define IDirectPlay2_Initialize(p, a)    (p)->lpVtbl->Initialize(p,a)
 
#define IDirectPlay2_Open(p, a, b)    (p)->lpVtbl->Open(p,a,b)
 
#define IDirectPlay2_Receive(p, a, b, c, d, e)    (p)->lpVtbl->Receive(p,a,b,c,d,e)
 
#define IDirectPlay2_Send(p, a, b, c, d, e)    (p)->lpVtbl->Send(p,a,b,c,d,e)
 
#define IDirectPlay2_SetGroupData(p, a, b, c, d)    (p)->lpVtbl->SetGroupData(p,a,b,c,d)
 
#define IDirectPlay2_SetGroupName(p, a, b, c)    (p)->lpVtbl->SetGroupName(p,a,b,c)
 
#define IDirectPlay2_SetPlayerData(p, a, b, c, d)    (p)->lpVtbl->SetPlayerData(p,a,b,c,d)
 
#define IDirectPlay2_SetPlayerName(p, a, b, c)    (p)->lpVtbl->SetPlayerName(p,a,b,c)
 
#define IDirectPlay2_SetSessionDesc(p, a, b)    (p)->lpVtbl->SetSessionDesc(p,a,b)
 
#define INTERFACE   IDirectPlay3
 
#define IDirectPlay3_QueryInterface(p, a, b)    (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectPlay3_AddRef(p)    (p)->lpVtbl->AddRef(p)
 
#define IDirectPlay3_Release(p)    (p)->lpVtbl->Release(p)
 
#define IDirectPlay3_AddPlayerToGroup(p, a, b)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)
 
#define IDirectPlay3_Close(p)    (p)->lpVtbl->Close(p)
 
#define IDirectPlay3_CreateGroup(p, a, b, c, d, e)    (p)->lpVtbl->CreateGroup(p,a,b,c,d,e)
 
#define IDirectPlay3_CreatePlayer(p, a, b, c, d, e, f)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f)
 
#define IDirectPlay3_DeletePlayerFromGroup(p, a, b)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)
 
#define IDirectPlay3_DestroyGroup(p, a)    (p)->lpVtbl->DestroyGroup(p,a)
 
#define IDirectPlay3_DestroyPlayer(p, a)    (p)->lpVtbl->DestroyPlayer(p,a)
 
#define IDirectPlay3_EnumGroupPlayers(p, a, b, c, d, e)   (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e)
 
#define IDirectPlay3_EnumGroups(p, a, b, c, d)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)
 
#define IDirectPlay3_EnumPlayers(p, a, b, c, d)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)
 
#define IDirectPlay3_EnumSessions(p, a, b, c, d, e)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)
 
#define IDirectPlay3_GetCaps(p, a, b)    (p)->lpVtbl->GetCaps(p,a,b)
 
#define IDirectPlay3_GetMessageCount(p, a, b)    (p)->lpVtbl->GetMessageCount(p,a,b)
 
#define IDirectPlay3_GetGroupData(p, a, b, c, d)    (p)->lpVtbl->GetGroupData(p,a,b,c,d)
 
#define IDirectPlay3_GetGroupName(p, a, b, c)    (p)->lpVtbl->GetGroupName(p,a,b,c)
 
#define IDirectPlay3_GetPlayerAddress(p, a, b, c)    (p)->lpVtbl->GetPlayerAddress(p,a,b,c)
 
#define IDirectPlay3_GetPlayerCaps(p, a, b, c)    (p)->lpVtbl->GetPlayerCaps(p,a,b,c)
 
#define IDirectPlay3_GetPlayerData(p, a, b, c, d)    (p)->lpVtbl->GetPlayerData(p,a,b,c,d)
 
#define IDirectPlay3_GetPlayerName(p, a, b, c)    (p)->lpVtbl->GetPlayerName(p,a,b,c)
 
#define IDirectPlay3_GetSessionDesc(p, a, b)    (p)->lpVtbl->GetSessionDesc(p,a,b)
 
#define IDirectPlay3_Initialize(p, a)    (p)->lpVtbl->Initialize(p,a)
 
#define IDirectPlay3_Open(p, a, b)    (p)->lpVtbl->Open(p,a,b)
 
#define IDirectPlay3_Receive(p, a, b, c, d, e)    (p)->lpVtbl->Receive(p,a,b,c,d,e)
 
#define IDirectPlay3_Send(p, a, b, c, d, e)    (p)->lpVtbl->Send(p,a,b,c,d,e)
 
#define IDirectPlay3_SetGroupData(p, a, b, c, d)    (p)->lpVtbl->SetGroupData(p,a,b,c,d)
 
#define IDirectPlay3_SetGroupName(p, a, b, c)    (p)->lpVtbl->SetGroupName(p,a,b,c)
 
#define IDirectPlay3_SetPlayerData(p, a, b, c, d)    (p)->lpVtbl->SetPlayerData(p,a,b,c,d)
 
#define IDirectPlay3_SetPlayerName(p, a, b, c)    (p)->lpVtbl->SetPlayerName(p,a,b,c)
 
#define IDirectPlay3_SetSessionDesc(p, a, b)    (p)->lpVtbl->SetSessionDesc(p,a,b)
 
#define IDirectPlay3_AddGroupToGroup(p, a, b)   (p)->lpVtbl->AddGroupToGroup(p,a,b)
 
#define IDirectPlay3_CreateGroupInGroup(p, a, b, c, d, e, f)   (p)->lpVtbl->CreateGroupInGroup(p,a,b,c,d,e,f)
 
#define IDirectPlay3_DeleteGroupFromGroup(p, a, b)    (p)->lpVtbl->DeleteGroupFromGroup(p,a,b)
 
#define IDirectPlay3_EnumConnections(p, a, b, c, d)   (p)->lpVtbl->EnumConnections(p,a,b,c,d)
 
#define IDirectPlay3_EnumGroupsInGroup(p, a, b, c, d, e)   (p)->lpVtbl->EnumGroupsInGroup(p,a,b,c,d,e)
 
#define IDirectPlay3_GetGroupConnectionSettings(p, a, b, c, d)   (p)->lpVtbl->GetGroupConnectionSettings(p,a,b,c,d)
 
#define IDirectPlay3_InitializeConnection(p, a, b)   (p)->lpVtbl->InitializeConnection(p,a,b)
 
#define IDirectPlay3_SecureOpen(p, a, b, c, d)    (p)->lpVtbl->SecureOpen(p,a,b,c,d)
 
#define IDirectPlay3_SendChatMessage(p, a, b, c, d)    (p)->lpVtbl->SendChatMessage(p,a,b,c,d)
 
#define IDirectPlay3_SetGroupConnectionSettings(p, a, b, c)   (p)->lpVtbl->SetGroupConnectionSettings(p,a,b,c)
 
#define IDirectPlay3_StartSession(p, a, b)    (p)->lpVtbl->StartSession(p,a,b)
 
#define IDirectPlay3_GetGroupFlags(p, a, b)    (p)->lpVtbl->GetGroupFlags(p,a,b)
 
#define IDirectPlay3_GetGroupParent(p, a, b)    (p)->lpVtbl->GetGroupParent(p,a,b)
 
#define IDirectPlay3_GetPlayerAccount(p, a, b, c, d)    (p)->lpVtbl->GetPlayerAccount(p,a,b,c,d)
 
#define IDirectPlay3_GetPlayerFlags(p, a, b)    (p)->lpVtbl->GetPlayerFlags(p,a,b)
 
#define DPCONNECTION_DIRECTPLAY   0x00000001
 
#define DPCONNECTION_DIRECTPLAYLOBBY   0x00000002
 
#define DPENUMPLAYERS_ALL   0x00000000
 
#define DPENUMGROUPS_ALL   DPENUMPLAYERS_ALL
 
#define DPENUMPLAYERS_LOCAL   0x00000008
 
#define DPENUMGROUPS_LOCAL   DPENUMPLAYERS_LOCAL
 
#define DPENUMPLAYERS_REMOTE   0x00000010
 
#define DPENUMGROUPS_REMOTE   DPENUMPLAYERS_REMOTE
 
#define DPENUMPLAYERS_GROUP   0x00000020
 
#define DPENUMPLAYERS_SESSION   0x00000080
 
#define DPENUMGROUPS_SESSION   DPENUMPLAYERS_SESSION
 
#define DPENUMPLAYERS_SERVERPLAYER   0x00000100
 
#define DPENUMPLAYERS_SPECTATOR   0x00000200
 
#define DPENUMGROUPS_SHORTCUT   0x00000400
 
#define DPENUMGROUPS_STAGINGAREA   0x00000800
 
#define DPPLAYER_SERVERPLAYER   DPENUMPLAYERS_SERVERPLAYER
 
#define DPPLAYER_SPECTATOR   DPENUMPLAYERS_SPECTATOR
 
#define DPPLAYER_LOCAL   DPENUMPLAYERS_LOCAL
 
#define DPGROUP_STAGINGAREA   DPENUMGROUPS_STAGINGAREA
 
#define DPGROUP_LOCAL   DPENUMGROUPS_LOCAL
 
#define DPENUMSESSIONS_AVAILABLE   0x00000001
 
#define DPENUMSESSIONS_ALL   0x00000002
 
#define DPENUMSESSIONS_ASYNC   0x00000010
 
#define DPENUMSESSIONS_STOPASYNC   0x00000020
 
#define DPENUMSESSIONS_PASSWORDREQUIRED   0x00000040
 
#define DPENUMSESSIONS_RETURNSTATUS   0x00000080
 
#define DPGETCAPS_GUARANTEED   0x00000001
 
#define DPGET_REMOTE   0x00000000
 
#define DPGET_LOCAL   0x00000001
 
#define DPOPEN_JOIN   0x00000001
 
#define DPOPEN_CREATE   0x00000002
 
#define DPOPEN_RETURNSTATUS   DPENUMSESSIONS_RETURNSTATUS
 
#define DPLCONNECTION_CREATESESSION   DPOPEN_CREATE
 
#define DPLCONNECTION_JOINSESSION   DPOPEN_JOIN
 
#define DPRECEIVE_ALL   0x00000001
 
#define DPRECEIVE_TOPLAYER   0x00000002
 
#define DPRECEIVE_FROMPLAYER   0x00000004
 
#define DPRECEIVE_PEEK   0x00000008
 
#define DPSEND_GUARANTEED   0x00000001
 
#define DPSEND_HIGHPRIORITY   0x00000002
 
#define DPSEND_OPENSTREAM   0x00000008
 
#define DPSEND_CLOSESTREAM   0x00000010
 
#define DPSEND_SIGNED   0x00000020
 
#define DPSEND_ENCRYPTED   0x00000040
 
#define DPSET_REMOTE   0x00000000
 
#define DPSET_LOCAL   0x00000001
 
#define DPSET_GUARANTEED   0x00000002
 
#define DPSYS_CREATEPLAYERORGROUP   0x0003
 
#define DPSYS_DESTROYPLAYERORGROUP   0x0005
 
#define DPSYS_ADDPLAYERTOGROUP   0x0007
 
#define DPSYS_DELETEPLAYERFROMGROUP   0x0021
 
#define DPSYS_SESSIONLOST   0x0031
 
#define DPSYS_HOST   0x0101
 
#define DPSYS_SETPLAYERORGROUPDATA   0x0102
 
#define DPSYS_SETPLAYERORGROUPNAME   0x0103
 
#define DPSYS_SETSESSIONDESC   0x0104
 
#define DPSYS_ADDGROUPTOGROUP   0x0105
 
#define DPSYS_DELETEGROUPFROMGROUP   0x0106
 
#define DPSYS_SECUREMESSAGE   0x0107
 
#define DPSYS_STARTSESSION   0x0108
 
#define DPSYS_CHAT   0x0109
 
#define DPPLAYERTYPE_GROUP   0x00000000
 
#define DPPLAYERTYPE_PLAYER   0x00000001
 
#define DP_OK   S_OK
 
#define DPERR_ALREADYINITIALIZED   MAKE_DPHRESULT( 5 )
 
#define DPERR_ACCESSDENIED   MAKE_DPHRESULT( 10 )
 
#define DPERR_ACTIVEPLAYERS   MAKE_DPHRESULT( 20 )
 
#define DPERR_BUFFERTOOSMALL   MAKE_DPHRESULT( 30 )
 
#define DPERR_CANTADDPLAYER   MAKE_DPHRESULT( 40 )
 
#define DPERR_CANTCREATEGROUP   MAKE_DPHRESULT( 50 )
 
#define DPERR_CANTCREATEPLAYER   MAKE_DPHRESULT( 60 )
 
#define DPERR_CANTCREATESESSION   MAKE_DPHRESULT( 70 )
 
#define DPERR_CAPSNOTAVAILABLEYET   MAKE_DPHRESULT( 80 )
 
#define DPERR_EXCEPTION   MAKE_DPHRESULT( 90 )
 
#define DPERR_GENERIC   E_FAIL
 
#define DPERR_INVALIDFLAGS   MAKE_DPHRESULT( 120 )
 
#define DPERR_INVALIDOBJECT   MAKE_DPHRESULT( 130 )
 
#define DPERR_INVALIDPARAM   E_INVALIDARG
 
#define DPERR_INVALIDPARAMS   DPERR_INVALIDPARAM
 
#define DPERR_INVALIDPLAYER   MAKE_DPHRESULT( 150 )
 
#define DPERR_INVALIDGROUP   MAKE_DPHRESULT( 155 )
 
#define DPERR_NOCAPS   MAKE_DPHRESULT( 160 )
 
#define DPERR_NOCONNECTION   MAKE_DPHRESULT( 170 )
 
#define DPERR_NOMEMORY   E_OUTOFMEMORY
 
#define DPERR_OUTOFMEMORY   DPERR_NOMEMORY
 
#define DPERR_NOMESSAGES   MAKE_DPHRESULT( 190 )
 
#define DPERR_NONAMESERVERFOUND   MAKE_DPHRESULT( 200 )
 
#define DPERR_NOPLAYERS   MAKE_DPHRESULT( 210 )
 
#define DPERR_NOSESSIONS   MAKE_DPHRESULT( 220 )
 
#define DPERR_PENDING   E_PENDING
 
#define DPERR_SENDTOOBIG   MAKE_DPHRESULT( 230 )
 
#define DPERR_TIMEOUT   MAKE_DPHRESULT( 240 )
 
#define DPERR_UNAVAILABLE   MAKE_DPHRESULT( 250 )
 
#define DPERR_UNSUPPORTED   E_NOTIMPL
 
#define DPERR_BUSY   MAKE_DPHRESULT( 270 )
 
#define DPERR_USERCANCEL   MAKE_DPHRESULT( 280 )
 
#define DPERR_NOINTERFACE   E_NOINTERFACE
 
#define DPERR_CANNOTCREATESERVER   MAKE_DPHRESULT( 290 )
 
#define DPERR_PLAYERLOST   MAKE_DPHRESULT( 300 )
 
#define DPERR_SESSIONLOST   MAKE_DPHRESULT( 310 )
 
#define DPERR_UNINITIALIZED   MAKE_DPHRESULT( 320 )
 
#define DPERR_NONEWPLAYERS   MAKE_DPHRESULT( 330 )
 
#define DPERR_INVALIDPASSWORD   MAKE_DPHRESULT( 340 )
 
#define DPERR_CONNECTING   MAKE_DPHRESULT( 350 )
 
#define DPERR_BUFFERTOOLARGE   MAKE_DPHRESULT( 1000 )
 
#define DPERR_CANTCREATEPROCESS   MAKE_DPHRESULT( 1010 )
 
#define DPERR_APPNOTSTARTED   MAKE_DPHRESULT( 1020 )
 
#define DPERR_INVALIDINTERFACE   MAKE_DPHRESULT( 1030 )
 
#define DPERR_NOSERVICEPROVIDER   MAKE_DPHRESULT( 1040 )
 
#define DPERR_UNKNOWNAPPLICATION   MAKE_DPHRESULT( 1050 )
 
#define DPERR_NOTLOBBIED   MAKE_DPHRESULT( 1070 )
 
#define DPERR_SERVICEPROVIDERLOADED   MAKE_DPHRESULT( 1080 )
 
#define DPERR_ALREADYREGISTERED   MAKE_DPHRESULT( 1090 )
 
#define DPERR_NOTREGISTERED   MAKE_DPHRESULT( 1100 )
 
#define DPERR_AUTHENTICATIONFAILED   MAKE_DPHRESULT( 2000 )
 
#define DPERR_CANTLOADSSPI   MAKE_DPHRESULT( 2010 )
 
#define DPERR_ENCRYPTIONFAILED   MAKE_DPHRESULT( 2020 )
 
#define DPERR_SIGNFAILED   MAKE_DPHRESULT( 2030 )
 
#define DPERR_CANTLOADSECURITYPACKAGE   MAKE_DPHRESULT( 2040 )
 
#define DPERR_ENCRYPTIONNOTSUPPORTED   MAKE_DPHRESULT( 2050 )
 
#define DPERR_CANTLOADCAPI   MAKE_DPHRESULT( 2060 )
 
#define DPERR_NOTLOGGEDIN   MAKE_DPHRESULT( 2070 )
 
#define DPERR_LOGONDENIED   MAKE_DPHRESULT( 2080 )
 
#define DPOPEN_OPENSESSION   DPOPEN_JOIN
 
#define DPOPEN_CREATESESSION   DPOPEN_CREATE
 
#define DPENUMSESSIONS_PREVIOUS   0x00000004
 
#define DPENUMPLAYERS_PREVIOUS   0x00000004
 
#define DPSEND_GUARANTEE   DPSEND_GUARANTEED
 
#define DPSEND_TRYONCE   0x00000004
 
#define DPCAPS_NAMESERVICE   0x00000001
 
#define DPCAPS_NAMESERVER   DPCAPS_ISHOST
 
#define DPCAPS_GUARANTEED   0x00000004
 
#define DPLONGNAMELEN   52
 
#define DPSHORTNAMELEN   20
 
#define DPSESSIONNAMELEN   32
 
#define DPPASSWORDLEN   16
 
#define DPUSERRESERVED   16
 
#define DPSYS_ADDPLAYER   0x0003
 
#define DPSYS_DELETEPLAYER   0x0005
 
#define DPSYS_DELETEGROUP   0x0020
 
#define DPSYS_DELETEPLAYERFROMGRP   0x0021
 
#define DPSYS_CONNECT   0x484b
 
#define INTERFACE   IDirectPlay
 
#define IDirectPlay_AddPlayerToGroup(p, a, b)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)
 
#define IDirectPlay_Close(p)    (p)->lpVtbl->Close(p)
 
#define IDirectPlay_CreateGroup(p, a, b, c)    (p)->lpVtbl->CreateGroup(p,a,b,c)
 
#define IDirectPlay_CreatePlayer(p, a, b, c, d)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d)
 
#define IDirectPlay_DeletePlayerFromGroup(p, a, b)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)
 
#define IDirectPlay_DestroyGroup(p, a)    (p)->lpVtbl->DestroyGroup(p,a)
 
#define IDirectPlay_DestroyPlayer(p, a)    (p)->lpVtbl->DestroyPlayer(p,a)
 
#define IDirectPlay_EnableNewPlayers(p, a)    (p)->lpVtbl->EnableNewPlayers(p,a)
 
#define IDirectPlay_EnumGroupPlayers(p, a, b, c, d)    (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d)
 
#define IDirectPlay_EnumGroups(p, a, b, c, d)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)
 
#define IDirectPlay_EnumPlayers(p, a, b, c, d)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)
 
#define IDirectPlay_EnumSessions(p, a, b, c, d, e)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)
 
#define IDirectPlay_GetCaps(p, a)    (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectPlay_GetMessageCount(p, a, b)    (p)->lpVtbl->GetMessageCount(p,a,b)
 
#define IDirectPlay_GetPlayerCaps(p, a, b)    (p)->lpVtbl->GetPlayerCaps(p,a,b)
 
#define IDirectPlay_GetPlayerName(p, a, b, c, d, e)    (p)->lpVtbl->GetPlayerName(p,a,b,c,d,e)
 
#define IDirectPlay_Initialize(p, a)    (p)->lpVtbl->Initialize(p,a)
 
#define IDirectPlay_Open(p, a)    (p)->lpVtbl->Open(p,a)
 
#define IDirectPlay_Receive(p, a, b, c, d, e)    (p)->lpVtbl->Receive(p,a,b,c,d,e)
 
#define IDirectPlay_SaveSession(p, a)    (p)->lpVtbl->SaveSession(p,a)
 
#define IDirectPlay_Send(p, a, b, c, d, e)    (p)->lpVtbl->Send(p,a,b,c,d,e)
 
#define IDirectPlay_SetPlayerName(p, a, b, c)    (p)->lpVtbl->SetPlayerName(p,a,b,c)
 
#define IDirectPlay_QueryInterface(p, a, b)    (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectPlay_AddRef(p)    (p)->lpVtbl->AddRef(p)
 
#define IDirectPlay_Release(p)    (p)->lpVtbl->Release(p)
 

Typedefs

typedef struct IDirectPlay FARLPDIRECTPLAY
 
typedef struct IDirectPlay2 FARLPDIRECTPLAY2
 
typedef struct IDirectPlay2 FARLPDIRECTPLAY2A
 
typedef struct IDirectPlay2 IDirectPlay2A
 
typedef struct IDirectPlay3 FARLPDIRECTPLAY3
 
typedef struct IDirectPlay3 FARLPDIRECTPLAY3A
 
typedef struct IDirectPlay3 IDirectPlay3A
 
typedef DWORD DPID
 
typedef DWORD FARLPDPID
 
typedef struct DPCAPSLPDPCAPS
 
typedef struct DPSESSIONDESC2LPDPSESSIONDESC2
 
typedef const DPSESSIONDESC2 FARLPCDPSESSIONDESC2
 
typedef struct DPNAMELPDPNAME
 
typedef const DPNAME FARLPCDPNAME
 
typedef struct DPCREDENTIALSLPDPCREDENTIALS
 
typedef const DPCREDENTIALS FARLPCDPCREDENTIALS
 
typedef struct DPSECURITYDESCLPDPSECURITYDESC
 
typedef const DPSECURITYDESC FARLPCDPSECURITYDESC
 
typedef struct DPACCOUNTDESCLPDPACCOUNTDESC
 
typedef const DPACCOUNTDESC FARLPCDPACCOUNTDESC
 
typedef const GUID FARLPCGUID
 
typedef struct DPLCONNECTIONLPDPLCONNECTION
 
typedef const DPLCONNECTION FARLPCDPLCONNECTION
 
typedef struct DPCHATLPDPCHAT
 
typedef LPDWORD lpdwTimeOut
 
typedef LPDWORD DWORD dwFlags
 
typedef LPDWORD DWORD LPVOID lpContext
 
typedef DWORD dwPlayerType
 
typedef DWORD LPCDPNAME lpName
 
typedef LPWSTR lpSPName
 
typedef LPWSTR DWORD dwMajorVersion
 
typedef LPWSTR DWORD DWORD dwMinorVersion
 
typedef LPVOID lpConnection
 
typedef LPVOID DWORD dwConnectionSize
 
typedef struct DPMSG_GENERICLPDPMSG_GENERIC
 
typedef struct DPMSG_CREATEPLAYERORGROUPLPDPMSG_CREATEPLAYERORGROUP
 
typedef struct DPMSG_DESTROYPLAYERORGROUPLPDPMSG_DESTROYPLAYERORGROUP
 
typedef struct DPMSG_ADDPLAYERTOGROUPLPDPMSG_ADDPLAYERTOGROUP
 
typedef DPMSG_ADDPLAYERTOGROUP DPMSG_DELETEPLAYERFROMGROUP
 
typedef DPMSG_DELETEPLAYERFROMGROUP FARLPDPMSG_DELETEPLAYERFROMGROUP
 
typedef struct DPMSG_ADDGROUPTOGROUPLPDPMSG_ADDGROUPTOGROUP
 
typedef DPMSG_ADDGROUPTOGROUP DPMSG_DELETEGROUPFROMGROUP
 
typedef DPMSG_DELETEGROUPFROMGROUP FARLPDPMSG_DELETEGROUPFROMGROUP
 
typedef struct DPMSG_SETPLAYERORGROUPDATALPDPMSG_SETPLAYERORGROUPDATA
 
typedef struct DPMSG_SETPLAYERORGROUPNAMELPDPMSG_SETPLAYERORGROUPNAME
 
typedef struct DPMSG_SETSESSIONDESCLPDPMSG_SETSESSIONDESC
 
typedef DPMSG_GENERIC DPMSG_HOST
 
typedef DPMSG_HOST FARLPDPMSG_HOST
 
typedef DPMSG_GENERIC DPMSG_SESSIONLOST
 
typedef DPMSG_SESSIONLOST FARLPDPMSG_SESSIONLOST
 
typedef struct DPMSG_SECUREMESSAGELPDPMSG_SECUREMESSAGE
 
typedef struct DPMSG_STARTSESSIONLPDPMSG_STARTSESSION
 
typedef struct DPMSG_CHATLPDPMSG_CHAT
 
typedef DPMSG_ADDPLAYER DPMSG_ADDGROUP
 
typedef DPMSG_GROUPADD DPMSG_GROUPDELETE
 
typedef BOOL(PASCALLPDPENUMPLAYERSCALLBACK) (DPID dpId, LPSTR lpFriendlyName, LPSTR lpFormalName, DWORD dwFlags, LPVOID lpContext)
 
typedef struct DPSESSIONDESCLPDPSESSIONDESC
 
typedef BOOL(PASCALLPDPENUMSESSIONSCALLBACK) (LPDPSESSIONDESC lpDPSessionDesc, LPVOID lpContext, LPDWORD lpdwTimeOut, DWORD dwFlags)
 

Functions

 DEFINE_GUID (IID_IDirectPlay2, 0x2b74f7c0, 0x9154, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3)
 
 DEFINE_GUID (IID_IDirectPlay2A, 0x9d460580, 0xa822, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82)
 
 DEFINE_GUID (IID_IDirectPlay3, 0x133efe40, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb)
 
 DEFINE_GUID (IID_IDirectPlay3A, 0x133efe41, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb)
 
 DEFINE_GUID (CLSID_DirectPlay, 0xd1eb6d20, 0x8923, 0x11d0, 0x9d, 0x97, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb)
 
 DEFINE_GUID (DPSPGUID_IPX, 0x685bc400, 0x9d2c, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3)
 
 DEFINE_GUID (DPSPGUID_TCPIP, 0x36E95EE0, 0x8577, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82)
 
 DEFINE_GUID (DPSPGUID_SERIAL, 0xf1d6860, 0x88d9, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e)
 
 DEFINE_GUID (DPSPGUID_MODEM, 0x44eaa760, 0xcb68, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e)
 
typedef BOOL (FAR PASCAL *LPDPENUMSESSIONSCALLBACK2)(LPCDPSESSIONDESC2 lpThisSD
 
HRESULT WINAPI DirectPlayEnumerateA (LPDPENUMDPCALLBACKA, LPVOID)
 
HRESULT WINAPI DirectPlayEnumerateW (LPDPENUMDPCALLBACK, LPVOID)
 
HRESULT WINAPI DirectPlayCreate (LPGUID lpGUID, LPDIRECTPLAY *lplpDP, IUnknown *pUnk)
 
 DECLARE_INTERFACE_ (IDirectPlay2, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectPlay3, IDirectPlay2)
 
 DECLARE_INTERFACE_ (IDirectPlay, IUnknown)
 
 DEFINE_GUID (IID_IDirectPlay, 0x5454e9a0, 0xdb65, 0x11ce, 0x92, 0x1c, 0x00, 0xaa, 0x00, 0x6c, 0x49, 0x72)
 

Macro Definition Documentation

#define _FACDP   0x877

Definition at line 15 of file vdplay.h.

#define DirectPlayEnumerate   DirectPlayEnumerateA

Definition at line 498 of file vdplay.h.

#define DP_OK   S_OK

Definition at line 1424 of file vdplay.h.

#define DPCAPS_ENCRYPTIONSUPPORTED   0x00000100

Definition at line 167 of file vdplay.h.

#define DPCAPS_GROUPOPTIMIZED   0x00000008

Definition at line 140 of file vdplay.h.

#define DPCAPS_GUARANTEED   0x00000004

Definition at line 1515 of file vdplay.h.

#define DPCAPS_GUARANTEEDOPTIMIZED   0x00000020

Definition at line 152 of file vdplay.h.

#define DPCAPS_GUARANTEEDSUPPORTED   0x00000040

Definition at line 157 of file vdplay.h.

#define DPCAPS_ISHOST   0x00000002

Definition at line 134 of file vdplay.h.

#define DPCAPS_KEEPALIVEOPTIMIZED   0x00000010

Definition at line 146 of file vdplay.h.

#define DPCAPS_NAMESERVER   DPCAPS_ISHOST

Definition at line 1514 of file vdplay.h.

#define DPCAPS_NAMESERVICE   0x00000001

Definition at line 1513 of file vdplay.h.

#define DPCAPS_SIGNINGSUPPORTED   0x00000080

Definition at line 162 of file vdplay.h.

#define DPCONNECTION_DIRECTPLAY   0x00000001

Definition at line 808 of file vdplay.h.

#define DPCONNECTION_DIRECTPLAYLOBBY   0x00000002

Definition at line 813 of file vdplay.h.

#define DPENUMGROUPS_ALL   DPENUMPLAYERS_ALL

Definition at line 826 of file vdplay.h.

#define DPENUMGROUPS_LOCAL   DPENUMPLAYERS_LOCAL

Definition at line 834 of file vdplay.h.

#define DPENUMGROUPS_REMOTE   DPENUMPLAYERS_REMOTE

Definition at line 841 of file vdplay.h.

#define DPENUMGROUPS_SESSION   DPENUMPLAYERS_SESSION

Definition at line 853 of file vdplay.h.

#define DPENUMGROUPS_SHORTCUT   0x00000400

Definition at line 868 of file vdplay.h.

#define DPENUMGROUPS_STAGINGAREA   0x00000800

Definition at line 873 of file vdplay.h.

#define DPENUMPLAYERS_ALL   0x00000000

Definition at line 825 of file vdplay.h.

#define DPENUMPLAYERS_GROUP   0x00000020

Definition at line 846 of file vdplay.h.

#define DPENUMPLAYERS_LOCAL   0x00000008

Definition at line 833 of file vdplay.h.

#define DPENUMPLAYERS_PREVIOUS   0x00000004

Definition at line 1508 of file vdplay.h.

#define DPENUMPLAYERS_REMOTE   0x00000010

Definition at line 840 of file vdplay.h.

#define DPENUMPLAYERS_SERVERPLAYER   0x00000100

Definition at line 858 of file vdplay.h.

#define DPENUMPLAYERS_SESSION   0x00000080

Definition at line 852 of file vdplay.h.

#define DPENUMPLAYERS_SPECTATOR   0x00000200

Definition at line 863 of file vdplay.h.

#define DPENUMSESSIONS_ALL   0x00000002

Definition at line 932 of file vdplay.h.

#define DPENUMSESSIONS_ASYNC   0x00000010

Definition at line 940 of file vdplay.h.

#define DPENUMSESSIONS_AVAILABLE   0x00000001

Definition at line 927 of file vdplay.h.

#define DPENUMSESSIONS_PASSWORDREQUIRED   0x00000040

Definition at line 950 of file vdplay.h.

#define DPENUMSESSIONS_PREVIOUS   0x00000004

Definition at line 1506 of file vdplay.h.

#define DPENUMSESSIONS_RETURNSTATUS   0x00000080

Definition at line 956 of file vdplay.h.

#define DPENUMSESSIONS_STOPASYNC   0x00000020

Definition at line 945 of file vdplay.h.

#define DPERR_ACCESSDENIED   MAKE_DPHRESULT( 10 )

Definition at line 1426 of file vdplay.h.

#define DPERR_ACTIVEPLAYERS   MAKE_DPHRESULT( 20 )

Definition at line 1427 of file vdplay.h.

#define DPERR_ALREADYINITIALIZED   MAKE_DPHRESULT( 5 )

Definition at line 1425 of file vdplay.h.

#define DPERR_ALREADYREGISTERED   MAKE_DPHRESULT( 1090 )

Definition at line 1475 of file vdplay.h.

#define DPERR_APPNOTSTARTED   MAKE_DPHRESULT( 1020 )

Definition at line 1469 of file vdplay.h.

#define DPERR_AUTHENTICATIONFAILED   MAKE_DPHRESULT( 2000 )

Definition at line 1481 of file vdplay.h.

#define DPERR_BUFFERTOOLARGE   MAKE_DPHRESULT( 1000 )

Definition at line 1467 of file vdplay.h.

#define DPERR_BUFFERTOOSMALL   MAKE_DPHRESULT( 30 )

Definition at line 1428 of file vdplay.h.

#define DPERR_BUSY   MAKE_DPHRESULT( 270 )

Definition at line 1455 of file vdplay.h.

#define DPERR_CANNOTCREATESERVER   MAKE_DPHRESULT( 290 )

Definition at line 1458 of file vdplay.h.

#define DPERR_CANTADDPLAYER   MAKE_DPHRESULT( 40 )

Definition at line 1429 of file vdplay.h.

#define DPERR_CANTCREATEGROUP   MAKE_DPHRESULT( 50 )

Definition at line 1430 of file vdplay.h.

#define DPERR_CANTCREATEPLAYER   MAKE_DPHRESULT( 60 )

Definition at line 1431 of file vdplay.h.

#define DPERR_CANTCREATEPROCESS   MAKE_DPHRESULT( 1010 )

Definition at line 1468 of file vdplay.h.

#define DPERR_CANTCREATESESSION   MAKE_DPHRESULT( 70 )

Definition at line 1432 of file vdplay.h.

#define DPERR_CANTLOADCAPI   MAKE_DPHRESULT( 2060 )

Definition at line 1487 of file vdplay.h.

#define DPERR_CANTLOADSECURITYPACKAGE   MAKE_DPHRESULT( 2040 )

Definition at line 1485 of file vdplay.h.

#define DPERR_CANTLOADSSPI   MAKE_DPHRESULT( 2010 )

Definition at line 1482 of file vdplay.h.

#define DPERR_CAPSNOTAVAILABLEYET   MAKE_DPHRESULT( 80 )

Definition at line 1433 of file vdplay.h.

#define DPERR_CONNECTING   MAKE_DPHRESULT( 350 )

Definition at line 1464 of file vdplay.h.

#define DPERR_ENCRYPTIONFAILED   MAKE_DPHRESULT( 2020 )

Definition at line 1483 of file vdplay.h.

#define DPERR_ENCRYPTIONNOTSUPPORTED   MAKE_DPHRESULT( 2050 )

Definition at line 1486 of file vdplay.h.

#define DPERR_EXCEPTION   MAKE_DPHRESULT( 90 )

Definition at line 1434 of file vdplay.h.

#define DPERR_GENERIC   E_FAIL

Definition at line 1435 of file vdplay.h.

#define DPERR_INVALIDFLAGS   MAKE_DPHRESULT( 120 )

Definition at line 1436 of file vdplay.h.

#define DPERR_INVALIDGROUP   MAKE_DPHRESULT( 155 )

Definition at line 1441 of file vdplay.h.

#define DPERR_INVALIDINTERFACE   MAKE_DPHRESULT( 1030 )

Definition at line 1470 of file vdplay.h.

#define DPERR_INVALIDOBJECT   MAKE_DPHRESULT( 130 )

Definition at line 1437 of file vdplay.h.

#define DPERR_INVALIDPARAM   E_INVALIDARG

Definition at line 1438 of file vdplay.h.

#define DPERR_INVALIDPARAMS   DPERR_INVALIDPARAM

Definition at line 1439 of file vdplay.h.

#define DPERR_INVALIDPASSWORD   MAKE_DPHRESULT( 340 )

Definition at line 1463 of file vdplay.h.

#define DPERR_INVALIDPLAYER   MAKE_DPHRESULT( 150 )

Definition at line 1440 of file vdplay.h.

#define DPERR_LOGONDENIED   MAKE_DPHRESULT( 2080 )

Definition at line 1489 of file vdplay.h.

#define DPERR_NOCAPS   MAKE_DPHRESULT( 160 )

Definition at line 1442 of file vdplay.h.

#define DPERR_NOCONNECTION   MAKE_DPHRESULT( 170 )

Definition at line 1443 of file vdplay.h.

#define DPERR_NOINTERFACE   E_NOINTERFACE

Definition at line 1457 of file vdplay.h.

#define DPERR_NOMEMORY   E_OUTOFMEMORY

Definition at line 1444 of file vdplay.h.

#define DPERR_NOMESSAGES   MAKE_DPHRESULT( 190 )

Definition at line 1446 of file vdplay.h.

#define DPERR_NONAMESERVERFOUND   MAKE_DPHRESULT( 200 )

Definition at line 1447 of file vdplay.h.

#define DPERR_NONEWPLAYERS   MAKE_DPHRESULT( 330 )

Definition at line 1462 of file vdplay.h.

#define DPERR_NOPLAYERS   MAKE_DPHRESULT( 210 )

Definition at line 1448 of file vdplay.h.

#define DPERR_NOSERVICEPROVIDER   MAKE_DPHRESULT( 1040 )

Definition at line 1471 of file vdplay.h.

#define DPERR_NOSESSIONS   MAKE_DPHRESULT( 220 )

Definition at line 1449 of file vdplay.h.

#define DPERR_NOTLOBBIED   MAKE_DPHRESULT( 1070 )

Definition at line 1473 of file vdplay.h.

#define DPERR_NOTLOGGEDIN   MAKE_DPHRESULT( 2070 )

Definition at line 1488 of file vdplay.h.

#define DPERR_NOTREGISTERED   MAKE_DPHRESULT( 1100 )

Definition at line 1476 of file vdplay.h.

#define DPERR_OUTOFMEMORY   DPERR_NOMEMORY

Definition at line 1445 of file vdplay.h.

#define DPERR_PENDING   E_PENDING

Definition at line 1450 of file vdplay.h.

#define DPERR_PLAYERLOST   MAKE_DPHRESULT( 300 )

Definition at line 1459 of file vdplay.h.

#define DPERR_SENDTOOBIG   MAKE_DPHRESULT( 230 )

Definition at line 1451 of file vdplay.h.

#define DPERR_SERVICEPROVIDERLOADED   MAKE_DPHRESULT( 1080 )

Definition at line 1474 of file vdplay.h.

#define DPERR_SESSIONLOST   MAKE_DPHRESULT( 310 )

Definition at line 1460 of file vdplay.h.

#define DPERR_SIGNFAILED   MAKE_DPHRESULT( 2030 )

Definition at line 1484 of file vdplay.h.

#define DPERR_TIMEOUT   MAKE_DPHRESULT( 240 )

Definition at line 1452 of file vdplay.h.

#define DPERR_UNAVAILABLE   MAKE_DPHRESULT( 250 )

Definition at line 1453 of file vdplay.h.

#define DPERR_UNINITIALIZED   MAKE_DPHRESULT( 320 )

Definition at line 1461 of file vdplay.h.

#define DPERR_UNKNOWNAPPLICATION   MAKE_DPHRESULT( 1050 )

Definition at line 1472 of file vdplay.h.

#define DPERR_UNSUPPORTED   E_NOTIMPL

Definition at line 1454 of file vdplay.h.

#define DPERR_USERCANCEL   MAKE_DPHRESULT( 280 )

Definition at line 1456 of file vdplay.h.

#define DPESC_TIMEDOUT   0x00000001

Definition at line 439 of file vdplay.h.

#define DPGET_LOCAL   0x00000001

Definition at line 989 of file vdplay.h.

#define DPGET_REMOTE   0x00000000

Definition at line 983 of file vdplay.h.

#define DPGETCAPS_GUARANTEED   0x00000001

Definition at line 968 of file vdplay.h.

#define DPGROUP_LOCAL   DPENUMGROUPS_LOCAL

Definition at line 916 of file vdplay.h.

#define DPGROUP_STAGINGAREA   DPENUMGROUPS_STAGINGAREA

Definition at line 910 of file vdplay.h.

#define DPID_ALLPLAYERS   0

Definition at line 95 of file vdplay.h.

#define DPID_SERVERPLAYER   1

Definition at line 100 of file vdplay.h.

#define DPID_SYSMSG   0

Definition at line 90 of file vdplay.h.

#define DPID_UNKNOWN   0xFFFFFFFF

Definition at line 105 of file vdplay.h.

#define DPLCONNECTION_CREATESESSION   DPOPEN_CREATE

Definition at line 1024 of file vdplay.h.

#define DPLCONNECTION_JOINSESSION   DPOPEN_JOIN

Definition at line 1030 of file vdplay.h.

#define DPLONGNAMELEN   52

Definition at line 1517 of file vdplay.h.

#define DPOPEN_CREATE   0x00000002

Definition at line 1006 of file vdplay.h.

#define DPOPEN_CREATESESSION   DPOPEN_CREATE

Definition at line 1504 of file vdplay.h.

#define DPOPEN_JOIN   0x00000001

Definition at line 1001 of file vdplay.h.

#define DPOPEN_OPENSESSION   DPOPEN_JOIN

Definition at line 1503 of file vdplay.h.

#define DPOPEN_RETURNSTATUS   DPENUMSESSIONS_RETURNSTATUS

Definition at line 1012 of file vdplay.h.

#define DPPASSWORDLEN   16

Definition at line 1520 of file vdplay.h.

#define DPPLAYER_LOCAL   DPENUMPLAYERS_LOCAL

Definition at line 897 of file vdplay.h.

#define DPPLAYER_SERVERPLAYER   DPENUMPLAYERS_SERVERPLAYER

Definition at line 885 of file vdplay.h.

#define DPPLAYER_SPECTATOR   DPENUMPLAYERS_SPECTATOR

Definition at line 891 of file vdplay.h.

#define DPPLAYERTYPE_GROUP   0x00000000

Definition at line 1231 of file vdplay.h.

#define DPPLAYERTYPE_PLAYER   0x00000001

Definition at line 1232 of file vdplay.h.

#define DPRECEIVE_ALL   0x00000001

Definition at line 1042 of file vdplay.h.

#define DPRECEIVE_FROMPLAYER   0x00000004

Definition at line 1052 of file vdplay.h.

#define DPRECEIVE_PEEK   0x00000008

Definition at line 1057 of file vdplay.h.

#define DPRECEIVE_TOPLAYER   0x00000002

Definition at line 1047 of file vdplay.h.

#define DPSEND_CLOSESTREAM   0x00000010

Definition at line 1086 of file vdplay.h.

#define DPSEND_ENCRYPTED   0x00000040

Definition at line 1096 of file vdplay.h.

#define DPSEND_GUARANTEE   DPSEND_GUARANTEED

Definition at line 1510 of file vdplay.h.

#define DPSEND_GUARANTEED   0x00000001

Definition at line 1070 of file vdplay.h.

#define DPSEND_HIGHPRIORITY   0x00000002

Definition at line 1076 of file vdplay.h.

#define DPSEND_OPENSTREAM   0x00000008

Definition at line 1081 of file vdplay.h.

#define DPSEND_SIGNED   0x00000020

Definition at line 1091 of file vdplay.h.

#define DPSEND_TRYONCE   0x00000004

Definition at line 1511 of file vdplay.h.

#define DPSESSION_CLIENTSERVER   0x00001000

Definition at line 274 of file vdplay.h.

#define DPSESSION_JOINDISABLED   0x00000020

Definition at line 234 of file vdplay.h.

#define DPSESSION_KEEPALIVE   0x00000040

Definition at line 240 of file vdplay.h.

#define DPSESSION_MIGRATEHOST   0x00000004

Definition at line 219 of file vdplay.h.

#define DPSESSION_MULTICASTSERVER   0x00000800

Definition at line 268 of file vdplay.h.

#define DPSESSION_NEWPLAYERSDISABLED   0x00000001

Definition at line 211 of file vdplay.h.

#define DPSESSION_NODATAMESSAGES   0x00000080

Definition at line 246 of file vdplay.h.

#define DPSESSION_NOMESSAGEID   0x00000008

Definition at line 226 of file vdplay.h.

#define DPSESSION_PASSWORDREQUIRED   0x00000400

Definition at line 263 of file vdplay.h.

#define DPSESSION_PRIVATE   0x00000200

Definition at line 258 of file vdplay.h.

#define DPSESSION_SECURESERVER   0x00000100

Definition at line 252 of file vdplay.h.

#define DPSESSIONNAMELEN   32

Definition at line 1519 of file vdplay.h.

#define DPSET_GUARANTEED   0x00000002

Definition at line 1121 of file vdplay.h.

#define DPSET_LOCAL   0x00000001

Definition at line 1115 of file vdplay.h.

#define DPSET_REMOTE   0x00000000

Definition at line 1110 of file vdplay.h.

#define DPSHORTNAMELEN   20

Definition at line 1518 of file vdplay.h.

#define DPSYS_ADDGROUPTOGROUP   0x0105

Definition at line 1201 of file vdplay.h.

#define DPSYS_ADDPLAYER   0x0003

Definition at line 1523 of file vdplay.h.

#define DPSYS_ADDPLAYERTOGROUP   0x0007

Definition at line 1153 of file vdplay.h.

#define DPSYS_CHAT   0x0109

Definition at line 1225 of file vdplay.h.

#define DPSYS_CONNECT   0x484b

Definition at line 1528 of file vdplay.h.

#define DPSYS_CREATEPLAYERORGROUP   0x0003

Definition at line 1141 of file vdplay.h.

#define DPSYS_DELETEGROUP   0x0020

Definition at line 1526 of file vdplay.h.

#define DPSYS_DELETEGROUPFROMGROUP   0x0106

Definition at line 1207 of file vdplay.h.

#define DPSYS_DELETEPLAYER   0x0005

Definition at line 1524 of file vdplay.h.

#define DPSYS_DELETEPLAYERFROMGROUP   0x0021

Definition at line 1159 of file vdplay.h.

#define DPSYS_DELETEPLAYERFROMGRP   0x0021

Definition at line 1527 of file vdplay.h.

#define DPSYS_DESTROYPLAYERORGROUP   0x0005

Definition at line 1147 of file vdplay.h.

#define DPSYS_HOST   0x0101

Definition at line 1173 of file vdplay.h.

#define DPSYS_SECUREMESSAGE   0x0107

Definition at line 1213 of file vdplay.h.

#define DPSYS_SESSIONLOST   0x0031

Definition at line 1166 of file vdplay.h.

#define DPSYS_SETPLAYERORGROUPDATA   0x0102

Definition at line 1181 of file vdplay.h.

#define DPSYS_SETPLAYERORGROUPNAME   0x0103

Definition at line 1189 of file vdplay.h.

#define DPSYS_SETSESSIONDESC   0x0104

Definition at line 1195 of file vdplay.h.

#define DPSYS_STARTSESSION   0x0108

Definition at line 1219 of file vdplay.h.

#define DPUSERRESERVED   16

Definition at line 1521 of file vdplay.h.

#define IDirectPlay2_AddPlayerToGroup (   p,
  a,
  b 
)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)

Definition at line 562 of file vdplay.h.

#define IDirectPlay2_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 560 of file vdplay.h.

#define IDirectPlay2_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 563 of file vdplay.h.

#define IDirectPlay2_CreateGroup (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->CreateGroup(p,a,b,c,d,e)

Definition at line 564 of file vdplay.h.

#define IDirectPlay2_CreatePlayer (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f)

Definition at line 565 of file vdplay.h.

#define IDirectPlay2_DeletePlayerFromGroup (   p,
  a,
  b 
)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)

Definition at line 566 of file vdplay.h.

#define IDirectPlay2_DestroyGroup (   p,
  a 
)    (p)->lpVtbl->DestroyGroup(p,a)

Definition at line 567 of file vdplay.h.

#define IDirectPlay2_DestroyPlayer (   p,
  a 
)    (p)->lpVtbl->DestroyPlayer(p,a)

Definition at line 568 of file vdplay.h.

#define IDirectPlay2_EnumGroupPlayers (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e)

Definition at line 569 of file vdplay.h.

#define IDirectPlay2_EnumGroups (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)

Definition at line 570 of file vdplay.h.

#define IDirectPlay2_EnumPlayers (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)

Definition at line 571 of file vdplay.h.

#define IDirectPlay2_EnumSessions (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)

Definition at line 572 of file vdplay.h.

#define IDirectPlay2_GetCaps (   p,
  a,
  b 
)    (p)->lpVtbl->GetCaps(p,a,b)

Definition at line 573 of file vdplay.h.

#define IDirectPlay2_GetGroupData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetGroupData(p,a,b,c,d)

Definition at line 575 of file vdplay.h.

#define IDirectPlay2_GetGroupName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetGroupName(p,a,b,c)

Definition at line 576 of file vdplay.h.

#define IDirectPlay2_GetMessageCount (   p,
  a,
  b 
)    (p)->lpVtbl->GetMessageCount(p,a,b)

Definition at line 574 of file vdplay.h.

#define IDirectPlay2_GetPlayerAddress (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerAddress(p,a,b,c)

Definition at line 577 of file vdplay.h.

#define IDirectPlay2_GetPlayerCaps (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerCaps(p,a,b,c)

Definition at line 578 of file vdplay.h.

#define IDirectPlay2_GetPlayerData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetPlayerData(p,a,b,c,d)

Definition at line 579 of file vdplay.h.

#define IDirectPlay2_GetPlayerName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerName(p,a,b,c)

Definition at line 580 of file vdplay.h.

#define IDirectPlay2_GetSessionDesc (   p,
  a,
  b 
)    (p)->lpVtbl->GetSessionDesc(p,a,b)

Definition at line 581 of file vdplay.h.

#define IDirectPlay2_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 582 of file vdplay.h.

#define IDirectPlay2_Open (   p,
  a,
  b 
)    (p)->lpVtbl->Open(p,a,b)

Definition at line 583 of file vdplay.h.

#define IDirectPlay2_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 559 of file vdplay.h.

#define IDirectPlay2_Receive (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Receive(p,a,b,c,d,e)

Definition at line 584 of file vdplay.h.

#define IDirectPlay2_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 561 of file vdplay.h.

#define IDirectPlay2_Send (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Send(p,a,b,c,d,e)

Definition at line 585 of file vdplay.h.

#define IDirectPlay2_SetGroupData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SetGroupData(p,a,b,c,d)

Definition at line 586 of file vdplay.h.

#define IDirectPlay2_SetGroupName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetGroupName(p,a,b,c)

Definition at line 587 of file vdplay.h.

#define IDirectPlay2_SetPlayerData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SetPlayerData(p,a,b,c,d)

Definition at line 588 of file vdplay.h.

#define IDirectPlay2_SetPlayerName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetPlayerName(p,a,b,c)

Definition at line 589 of file vdplay.h.

#define IDirectPlay2_SetSessionDesc (   p,
  a,
  b 
)    (p)->lpVtbl->SetSessionDesc(p,a,b)

Definition at line 590 of file vdplay.h.

#define IDirectPlay3_AddGroupToGroup (   p,
  a,
  b 
)    (p)->lpVtbl->AddGroupToGroup(p,a,b)

Definition at line 731 of file vdplay.h.

#define IDirectPlay3_AddPlayerToGroup (   p,
  a,
  b 
)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)

Definition at line 702 of file vdplay.h.

#define IDirectPlay3_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 700 of file vdplay.h.

#define IDirectPlay3_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 703 of file vdplay.h.

#define IDirectPlay3_CreateGroup (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->CreateGroup(p,a,b,c,d,e)

Definition at line 704 of file vdplay.h.

#define IDirectPlay3_CreateGroupInGroup (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreateGroupInGroup(p,a,b,c,d,e,f)

Definition at line 732 of file vdplay.h.

#define IDirectPlay3_CreatePlayer (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f)

Definition at line 705 of file vdplay.h.

#define IDirectPlay3_DeleteGroupFromGroup (   p,
  a,
  b 
)    (p)->lpVtbl->DeleteGroupFromGroup(p,a,b)

Definition at line 733 of file vdplay.h.

#define IDirectPlay3_DeletePlayerFromGroup (   p,
  a,
  b 
)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)

Definition at line 706 of file vdplay.h.

#define IDirectPlay3_DestroyGroup (   p,
  a 
)    (p)->lpVtbl->DestroyGroup(p,a)

Definition at line 707 of file vdplay.h.

#define IDirectPlay3_DestroyPlayer (   p,
  a 
)    (p)->lpVtbl->DestroyPlayer(p,a)

Definition at line 708 of file vdplay.h.

#define IDirectPlay3_EnumConnections (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumConnections(p,a,b,c,d)

Definition at line 734 of file vdplay.h.

#define IDirectPlay3_EnumGroupPlayers (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e)

Definition at line 709 of file vdplay.h.

#define IDirectPlay3_EnumGroups (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)

Definition at line 710 of file vdplay.h.

#define IDirectPlay3_EnumGroupsInGroup (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumGroupsInGroup(p,a,b,c,d,e)

Definition at line 735 of file vdplay.h.

#define IDirectPlay3_EnumPlayers (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)

Definition at line 711 of file vdplay.h.

#define IDirectPlay3_EnumSessions (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)

Definition at line 712 of file vdplay.h.

#define IDirectPlay3_GetCaps (   p,
  a,
  b 
)    (p)->lpVtbl->GetCaps(p,a,b)

Definition at line 713 of file vdplay.h.

#define IDirectPlay3_GetGroupConnectionSettings (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetGroupConnectionSettings(p,a,b,c,d)

Definition at line 736 of file vdplay.h.

#define IDirectPlay3_GetGroupData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetGroupData(p,a,b,c,d)

Definition at line 715 of file vdplay.h.

#define IDirectPlay3_GetGroupFlags (   p,
  a,
  b 
)    (p)->lpVtbl->GetGroupFlags(p,a,b)

Definition at line 742 of file vdplay.h.

#define IDirectPlay3_GetGroupName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetGroupName(p,a,b,c)

Definition at line 716 of file vdplay.h.

#define IDirectPlay3_GetGroupParent (   p,
  a,
  b 
)    (p)->lpVtbl->GetGroupParent(p,a,b)

Definition at line 743 of file vdplay.h.

#define IDirectPlay3_GetMessageCount (   p,
  a,
  b 
)    (p)->lpVtbl->GetMessageCount(p,a,b)

Definition at line 714 of file vdplay.h.

#define IDirectPlay3_GetPlayerAccount (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetPlayerAccount(p,a,b,c,d)

Definition at line 744 of file vdplay.h.

#define IDirectPlay3_GetPlayerAddress (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerAddress(p,a,b,c)

Definition at line 717 of file vdplay.h.

#define IDirectPlay3_GetPlayerCaps (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerCaps(p,a,b,c)

Definition at line 718 of file vdplay.h.

#define IDirectPlay3_GetPlayerData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->GetPlayerData(p,a,b,c,d)

Definition at line 719 of file vdplay.h.

#define IDirectPlay3_GetPlayerFlags (   p,
  a,
  b 
)    (p)->lpVtbl->GetPlayerFlags(p,a,b)

Definition at line 745 of file vdplay.h.

#define IDirectPlay3_GetPlayerName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetPlayerName(p,a,b,c)

Definition at line 720 of file vdplay.h.

#define IDirectPlay3_GetSessionDesc (   p,
  a,
  b 
)    (p)->lpVtbl->GetSessionDesc(p,a,b)

Definition at line 721 of file vdplay.h.

#define IDirectPlay3_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 722 of file vdplay.h.

#define IDirectPlay3_InitializeConnection (   p,
  a,
  b 
)    (p)->lpVtbl->InitializeConnection(p,a,b)

Definition at line 737 of file vdplay.h.

#define IDirectPlay3_Open (   p,
  a,
  b 
)    (p)->lpVtbl->Open(p,a,b)

Definition at line 723 of file vdplay.h.

#define IDirectPlay3_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 699 of file vdplay.h.

#define IDirectPlay3_Receive (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Receive(p,a,b,c,d,e)

Definition at line 724 of file vdplay.h.

#define IDirectPlay3_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 701 of file vdplay.h.

#define IDirectPlay3_SecureOpen (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SecureOpen(p,a,b,c,d)

Definition at line 738 of file vdplay.h.

#define IDirectPlay3_Send (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Send(p,a,b,c,d,e)

Definition at line 725 of file vdplay.h.

#define IDirectPlay3_SendChatMessage (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SendChatMessage(p,a,b,c,d)

Definition at line 739 of file vdplay.h.

#define IDirectPlay3_SetGroupConnectionSettings (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetGroupConnectionSettings(p,a,b,c)

Definition at line 740 of file vdplay.h.

#define IDirectPlay3_SetGroupData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SetGroupData(p,a,b,c,d)

Definition at line 726 of file vdplay.h.

#define IDirectPlay3_SetGroupName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetGroupName(p,a,b,c)

Definition at line 727 of file vdplay.h.

#define IDirectPlay3_SetPlayerData (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->SetPlayerData(p,a,b,c,d)

Definition at line 728 of file vdplay.h.

#define IDirectPlay3_SetPlayerName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetPlayerName(p,a,b,c)

Definition at line 729 of file vdplay.h.

#define IDirectPlay3_SetSessionDesc (   p,
  a,
  b 
)    (p)->lpVtbl->SetSessionDesc(p,a,b)

Definition at line 730 of file vdplay.h.

#define IDirectPlay3_StartSession (   p,
  a,
  b 
)    (p)->lpVtbl->StartSession(p,a,b)

Definition at line 741 of file vdplay.h.

#define IDirectPlay_AddPlayerToGroup (   p,
  a,
  b 
)    (p)->lpVtbl->AddPlayerToGroup(p,a,b)

Definition at line 1632 of file vdplay.h.

#define IDirectPlay_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 1695 of file vdplay.h.

#define IDirectPlay_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 1633 of file vdplay.h.

#define IDirectPlay_CreateGroup (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateGroup(p,a,b,c)

Definition at line 1634 of file vdplay.h.

#define IDirectPlay_CreatePlayer (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->CreatePlayer(p,a,b,c,d)

Definition at line 1635 of file vdplay.h.

#define IDirectPlay_DeletePlayerFromGroup (   p,
  a,
  b 
)    (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)

Definition at line 1636 of file vdplay.h.

#define IDirectPlay_DestroyGroup (   p,
  a 
)    (p)->lpVtbl->DestroyGroup(p,a)

Definition at line 1637 of file vdplay.h.

#define IDirectPlay_DestroyPlayer (   p,
  a 
)    (p)->lpVtbl->DestroyPlayer(p,a)

Definition at line 1638 of file vdplay.h.

#define IDirectPlay_EnableNewPlayers (   p,
  a 
)    (p)->lpVtbl->EnableNewPlayers(p,a)

Definition at line 1639 of file vdplay.h.

#define IDirectPlay_EnumGroupPlayers (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d)

Definition at line 1640 of file vdplay.h.

#define IDirectPlay_EnumGroups (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumGroups(p,a,b,c,d)

Definition at line 1641 of file vdplay.h.

#define IDirectPlay_EnumPlayers (   p,
  a,
  b,
  c,
 
)    (p)->lpVtbl->EnumPlayers(p,a,b,c,d)

Definition at line 1642 of file vdplay.h.

#define IDirectPlay_EnumSessions (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)

Definition at line 1643 of file vdplay.h.

#define IDirectPlay_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 1644 of file vdplay.h.

#define IDirectPlay_GetMessageCount (   p,
  a,
  b 
)    (p)->lpVtbl->GetMessageCount(p,a,b)

Definition at line 1645 of file vdplay.h.

#define IDirectPlay_GetPlayerCaps (   p,
  a,
  b 
)    (p)->lpVtbl->GetPlayerCaps(p,a,b)

Definition at line 1646 of file vdplay.h.

#define IDirectPlay_GetPlayerName (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->GetPlayerName(p,a,b,c,d,e)

Definition at line 1647 of file vdplay.h.

#define IDirectPlay_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 1648 of file vdplay.h.

#define IDirectPlay_Open (   p,
  a 
)    (p)->lpVtbl->Open(p,a)

Definition at line 1649 of file vdplay.h.

#define IDirectPlay_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 1694 of file vdplay.h.

#define IDirectPlay_Receive (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Receive(p,a,b,c,d,e)

Definition at line 1650 of file vdplay.h.

#define IDirectPlay_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 1696 of file vdplay.h.

#define IDirectPlay_SaveSession (   p,
  a 
)    (p)->lpVtbl->SaveSession(p,a)

Definition at line 1651 of file vdplay.h.

#define IDirectPlay_Send (   p,
  a,
  b,
  c,
  d,
 
)    (p)->lpVtbl->Send(p,a,b,c,d,e)

Definition at line 1652 of file vdplay.h.

#define IDirectPlay_SetPlayerName (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetPlayerName(p,a,b,c)

Definition at line 1653 of file vdplay.h.

#define INTERFACE   IDirectPlay2

Definition at line 1592 of file vdplay.h.

#define INTERFACE   IDirectPlay3

Definition at line 1592 of file vdplay.h.

#define INTERFACE   IDirectPlay

Definition at line 1592 of file vdplay.h.

#define MAKE_DPHRESULT (   code)    MAKE_HRESULT( 1, _FACDP, code )

Definition at line 16 of file vdplay.h.

Typedef Documentation

typedef DWORD DPID

Definition at line 85 of file vdplay.h.

Definition at line 1540 of file vdplay.h.

Definition at line 1322 of file vdplay.h.

Definition at line 1302 of file vdplay.h.

Definition at line 1549 of file vdplay.h.

Definition at line 1368 of file vdplay.h.

Definition at line 1376 of file vdplay.h.

Definition at line 484 of file vdplay.h.

typedef LPVOID DWORD dwFlags

Definition at line 427 of file vdplay.h.

Definition at line 462 of file vdplay.h.

Definition at line 462 of file vdplay.h.

Definition at line 449 of file vdplay.h.

typedef struct IDirectPlay2 IDirectPlay2A

Definition at line 75 of file vdplay.h.

typedef struct IDirectPlay3 IDirectPlay3A

Definition at line 79 of file vdplay.h.

Definition at line 371 of file vdplay.h.

Definition at line 329 of file vdplay.h.

Definition at line 399 of file vdplay.h.

typedef const DPNAME FAR* LPCDPNAME

Definition at line 302 of file vdplay.h.

Definition at line 354 of file vdplay.h.

Definition at line 206 of file vdplay.h.

typedef const GUID FAR* LPCGUID

Definition at line 377 of file vdplay.h.

Definition at line 484 of file vdplay.h.

Definition at line 427 of file vdplay.h.

typedef struct IDirectPlay FAR* LPDIRECTPLAY

Definition at line 68 of file vdplay.h.

typedef struct IDirectPlay2 FAR* LPDIRECTPLAY2

Definition at line 73 of file vdplay.h.

typedef struct IDirectPlay2 FAR* LPDIRECTPLAY2A

Definition at line 74 of file vdplay.h.

typedef struct IDirectPlay3 FAR* LPDIRECTPLAY3

Definition at line 77 of file vdplay.h.

typedef struct IDirectPlay3 FAR* LPDIRECTPLAY3A

Definition at line 78 of file vdplay.h.

typedef struct DPACCOUNTDESC* LPDPACCOUNTDESC
typedef struct DPCAPS* LPDPCAPS
typedef struct DPCHAT* LPDPCHAT
typedef struct DPCREDENTIALS* LPDPCREDENTIALS
typedef BOOL(PASCAL * LPDPENUMPLAYERSCALLBACK) (DPID dpId, LPSTR lpFriendlyName, LPSTR lpFormalName, DWORD dwFlags, LPVOID lpContext)

Definition at line 1556 of file vdplay.h.

typedef BOOL(PASCAL * LPDPENUMSESSIONSCALLBACK) (LPDPSESSIONDESC lpDPSessionDesc, LPVOID lpContext, LPDWORD lpdwTimeOut, DWORD dwFlags)

Definition at line 1582 of file vdplay.h.

typedef DWORD FAR* LPDPID

Definition at line 85 of file vdplay.h.

typedef struct DPLCONNECTION* LPDPLCONNECTION
typedef struct DPMSG_CHAT* LPDPMSG_CHAT
typedef struct DPMSG_GENERIC* LPDPMSG_GENERIC

Definition at line 1369 of file vdplay.h.

Definition at line 1377 of file vdplay.h.

typedef struct DPNAME* LPDPNAME
typedef struct DPSESSIONDESC* LPDPSESSIONDESC

Definition at line 427 of file vdplay.h.

Definition at line 449 of file vdplay.h.

typedef LPSTR lpSPName

Definition at line 462 of file vdplay.h.

Function Documentation

typedef BOOL ( FAR PASCAL LPDPENUMSESSIONSCALLBACK2)
DECLARE_INTERFACE_ ( IDirectPlay2  ,
IUnknown   
)

Definition at line 513 of file vdplay.h.

DECLARE_INTERFACE_ ( IDirectPlay3  ,
IDirectPlay2   
)

Definition at line 637 of file vdplay.h.

DECLARE_INTERFACE_ ( IDirectPlay  ,
IUnknown   
)

Definition at line 1593 of file vdplay.h.

DEFINE_GUID ( IID_IDirectPlay2  ,
0x2b74f7c0  ,
0x9154  ,
0x11cf  ,
0xa9  ,
0xcd  ,
0x0  ,
0xaa  ,
0x0  ,
0x68  ,
0x86  ,
0xe3   
)
DEFINE_GUID ( IID_IDirectPlay2A  ,
0x9d460580  ,
0xa822  ,
0x11cf  ,
0x96  ,
0xc  ,
0x0  ,
0x80  ,
0xc7  ,
0x53  ,
0x4e  ,
0x82   
)
DEFINE_GUID ( IID_IDirectPlay3  ,
0x133efe40  ,
0x32dc  ,
0x11d0  ,
0x9c  ,
0xfb  ,
0x0  ,
0xa0  ,
0xc9  ,
0xa  ,
0x43  ,
0xcb   
)
DEFINE_GUID ( IID_IDirectPlay3A  ,
0x133efe41  ,
0x32dc  ,
0x11d0  ,
0x9c  ,
0xfb  ,
0x0  ,
0xa0  ,
0xc9  ,
0xa  ,
0x43  ,
0xcb   
)
DEFINE_GUID ( CLSID_DirectPlay  ,
0xd1eb6d20  ,
0x8923  ,
0x11d0  ,
0x9d  ,
0x97  ,
0x0  ,
0xa0  ,
0xc9  ,
0xa  ,
0x43  ,
0xcb   
)
DEFINE_GUID ( DPSPGUID_IPX  ,
0x685bc400  ,
0x9d2c  ,
0x11cf  ,
0xa9  ,
0xcd  ,
0x0  ,
0xaa  ,
0x0  ,
0x68  ,
0x86  ,
0xe3   
)
DEFINE_GUID ( DPSPGUID_TCPIP  ,
0x36E95EE0  ,
0x8577  ,
0x11cf  ,
0x96  ,
0xc  ,
0x0  ,
0x80  ,
0xc7  ,
0x53  ,
0x4e  ,
0x82   
)
DEFINE_GUID ( DPSPGUID_SERIAL  ,
0xf1d6860  ,
0x88d9  ,
0x11cf  ,
0x9c  ,
0x4e  ,
0x0  ,
0xa0  ,
0xc9  ,
0x5  ,
0x42  ,
0x5e   
)
DEFINE_GUID ( DPSPGUID_MODEM  ,
0x44eaa760  ,
0xcb68  ,
0x11cf  ,
0x9c  ,
0x4e  ,
0x0  ,
0xa0  ,
0xc9  ,
0x5  ,
0x42  ,
0x5e   
)
DEFINE_GUID ( IID_IDirectPlay  ,
0x5454e9a0  ,
0xdb65  ,
0x11ce  ,
0x92  ,
0x1c  ,
0x00  ,
0xaa  ,
0x00  ,
0x6c  ,
0x49  ,
0x72   
)
HRESULT WINAPI DirectPlayCreate ( LPGUID  lpGUID,
LPDIRECTPLAY lplpDP,
IUnknown pUnk 
)
HRESULT WINAPI DirectPlayEnumerateA ( LPDPENUMDPCALLBACKA  ,
LPVOID   
)
HRESULT WINAPI DirectPlayEnumerateW ( LPDPENUMDPCALLBACK  ,
LPVOID   
)