19#ifndef __WINE_DPLAYX_MESSAGES__
20#define __WINE_DPLAYX_MESSAGES__
53 LPDPID lpdipidAllocatedId );
59 DPID systemPlayerId );
67 const void *msgHeader );
71#define DPMSG_WAIT_5_SECS 5000
72#define DPMSG_WAIT_30_SECS 30000
73#define DPMSG_WAIT_60_SECS 60000
74#define DPMSG_DEFAULT_WAIT_TIME DPMSG_WAIT_30_SECS
96#define DPMSGCMD_ENUMSESSIONSREPLY 1
97#define DPMSGCMD_ENUMSESSIONSREQUEST 2
98#define DPMSGCMD_GETNAMETABLEREPLY 3
100#define DPMSGCMD_REQUESTNEWPLAYERID 5
102#define DPMSGCMD_NEWPLAYERIDREPLY 7
103#define DPMSGCMD_CREATESESSION 8
104#define DPMSGCMD_CREATENEWPLAYER 9
105#define DPMSGCMD_SYSTEMMESSAGE 10
106#define DPMSGCMD_DELETEPLAYER 11
107#define DPMSGCMD_DELETEGROUP 12
108#define DPMSGCMD_ADDPLAYERTOGROUP 13
110#define DPMSGCMD_GROUPDATACHANGED 17
112#define DPMSGCMD_FORWARDADDPLAYER 19
114#define DPMSGCMD_PING 22
115#define DPMSGCMD_PINGREPLY 23
117#define DPMSGCMD_FORWARDADDPLAYERNACK 36
119#define DPMSGCMD_SUPERENUMPLAYERSREPLY 41
121#define DPMSGCMD_ADDFORWARD 46
122#define DPMSGCMD_ADDFORWARDACK 47
124#define DPMSGCMD_JUSTENVELOPE 1000
125#define DPMSGCMD_JUSTENVELOPEREPLY 1001
130#define DPMSGVER_DP6 11
133#define DPMSGMAGIC_DPLAYMSG 0x79616c70
168 GUID guidApplication;
171 DWORD dwCurrentPlayers;
287#define DPLAYI_SUPERPACKEDPLAYER_SHORT_NAME_PRESENT 0x001
288#define DPLAYI_SUPERPACKEDPLAYER_LONG_NAME_PRESENT 0x002
289#define DPLAYI_SUPERPACKEDPLAYER_SP_DATA_LENGTH_SIZE( mask ) (((mask) >> 2) & 0x3)
290#define DPLAYI_SUPERPACKEDPLAYER_PLAYER_DATA_LENGTH_SIZE( mask ) (((mask) >> 4) & 0x3)
291#define DPLAYI_SUPERPACKEDPLAYER_PLAYER_COUNT_SIZE( mask ) (((mask) >> 6) & 0x3)
292#define DPLAYI_SUPERPACKEDPLAYER_PARENT_ID_PRESENT 0x100
293#define DPLAYI_SUPERPACKEDPLAYER_SHORTCUT_COUNT_SIZE( mask ) (((mask) >> 9) & 0x3)
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
HRESULT DP_MSG_ReadPackedPlayer(char *data, DWORD *offset, DWORD maxSize, DPPLAYERINFO *playerInfo)
void DP_MSG_ReplyReceived(IDirectPlayImpl *This, WORD wCommandId, LPCVOID lpMsgBody, DWORD dwMsgBodySize, const void *msgHeader)
struct tagDPMSG_ENUMSESSIONSREQUEST * LPDPMSG_ENUMSESSIONSREQUEST
const DPMSG_SENDENVELOPE * LPCDPMSG_SENDENVELOPE
struct tagDPMSG_NEWPLAYERIDREPLY DPMSG_NEWPLAYERIDREPLY
struct tagDPMSG_REQUESTNEWPLAYERID * LPDPMSG_REQUESTNEWPLAYERID
const DPMSG_ENUMSESSIONSREPLY * LPCDPMSG_ENUMSESSIONSREPLY
struct tagDPMSG_ENUMSESSIONSREPLY DPMSG_ENUMSESSIONSREPLY
const DPMSG_FORWARDADDPLAYER * LPCDPMSG_FORWARDADDPLAYER
struct tagDPMSG_CREATESESSION DPMSG_CREATESESSION
HRESULT DP_MSG_SendAddPlayerToGroup(IDirectPlayImpl *This, DPID toId, DPID playerId, DPID groupId)
struct tagDPMSG_SYSMSGENVELOPE * LPDPMSG_SYSMSGENVELOPE
HRESULT DP_MSG_ForwardPlayerCreation(IDirectPlayImpl *This, DPID dpidServer, WCHAR *password)
struct tagDPMSG_REQUESTNEWPLAYERID DPMSG_REQUESTNEWPLAYERID
struct tagDPMSG_SENDENVELOPE * LPDPMSG_SENDENVELOPE
struct tagDPMSG_ENUMSESSIONSREPLY * LPDPMSG_ENUMSESSIONSREPLY
DWORD CreateLobbyMessageReceptionThread(HANDLE hNotifyEvent, HANDLE hStart, HANDLE hDeath, HANDLE hConnRead)
const DPMSG_NEWPLAYERIDREPLY * LPCDPMSG_NEWPLAYERIDREPLY
struct tagDPMSG_CREATESESSION * LPDPMSG_CREATESESSION
const DPMSG_REQUESTNEWPLAYERID * LPCDPMSG_REQUESTNEWPLAYERID
void DP_MSG_ToSelf(IDirectPlayImpl *This, DPID dpidSelf)
struct tagDPMSG_FORWARDADDPLAYERNACK * LPDPMSG_FORWARDADDPLAYERNACK
HRESULT DP_MSG_SendPingReply(IDirectPlayImpl *This, DPID toId, DPID fromId, DWORD tickCount)
HRESULT DP_MSG_SendRequestPlayerId(IDirectPlayImpl *This, DWORD dwFlags, LPDPID lpdipidAllocatedId)
struct tagDPMSG_SENDENVELOPE DPMSG_SENDENVELOPE
struct tagDPMSG_SYSMSGENVELOPE DPMSG_SYSMSGENVELOPE
struct tagDPMSG_ENUMSESSIONSREQUEST DPMSG_ENUMSESSIONSREQUEST
HRESULT DP_MSG_SendAddForwardAck(IDirectPlayImpl *This, DPID id)
struct tagDPMSG_NEWPLAYERIDREPLY * LPDPMSG_NEWPLAYERIDREPLY
DWORD DP_MSG_ComputeMessageSize(SGBUFFER *buffers, DWORD bufferCount)
struct tagDPMSG_FORWARDADDPLAYERNACK DPMSG_FORWARDADDPLAYERNACK
const DPMSG_FORWARDADDPLAYERNACK * LPCDPMSG_FORWARDADDPLAYERNACK
const DPMSG_SYSMSGENVELOPE * LPCDPMSG_SYSMSGENVELOPE
const DPMSG_ENUMSESSIONSREQUEST * LPCDPMSG_ENUMSESSIONSREQUEST
struct tagDPMSG_FORWARDADDPLAYER * LPDPMSG_FORWARDADDPLAYER
const DPMSG_CREATESESSION * LPCDPMSG_CREATESESSION
struct tagDPMSG_FORWARDADDPLAYER DPMSG_FORWARDADDPLAYER
HRESULT DP_MSG_SendCreatePlayer(IDirectPlayImpl *This, DPID toId, DPID id, DWORD flags, DPNAME *name, void *playerData, DWORD playerDataSize, DPID systemPlayerId)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
DWORD versionOrSystemPlayerId
DWORD versionOrSystemPlayerId
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope
DPMSG_SENDENVELOPE envelope