19#ifndef __WINE_DPLOBBY8_H
20#define __WINE_DPLOBBY8_H
31#define DPL_MSGID_LOBBY 0x8000
32#define DPL_MSGID_RECEIVE (0x0001 | DPL_MSGID_LOBBY)
33#define DPL_MSGID_CONNECT (0x0002 | DPL_MSGID_LOBBY)
34#define DPL_MSGID_DISCONNECT (0x0003 | DPL_MSGID_LOBBY)
35#define DPL_MSGID_SESSION_STATUS (0x0004 | DPL_MSGID_LOBBY)
36#define DPL_MSGID_CONNECTION_SETTINGS (0x0005 | DPL_MSGID_LOBBY)
37#define DPLHANDLE_ALLCONNECTIONS 0xFFFFFFFF
38#define DPLSESSION_CONNECTED 0x0001
39#define DPLSESSION_COULDNOTCONNECT 0x0002
40#define DPLSESSION_DISCONNECTED 0x0003
41#define DPLSESSION_TERMINATED 0x0004
42#define DPLSESSION_HOSTMIGRATED 0x0005
43#define DPLSESSION_HOSTMIGRATEDHERE 0x0006
44#define DPLAVAILABLE_ALLOWMULTIPLECONNECT 0x0001
45#define DPLCONNECT_LAUNCHNEW 0x0001
46#define DPLCONNECT_LAUNCHNOTFOUND 0x0002
47#define DPLCONNECTSETTINGS_HOST 0x0001
48#define DPLINITIALIZE_DISABLEPARAMVAL 0x0001
135DEFINE_GUID(CLSID_DirectPlay8LobbiedApplication, 0x667955ad,0x6b3b,0x43ca,0xb9,0x49,0xbc,0x69,0xb5,0xba,0xff,0x7f);
136DEFINE_GUID(CLSID_DirectPlay8LobbyClient, 0x3b2b6775,0x70b6,0x45af,0x8d,0xea,0xa2,0x09,0xc6,0x95,0x59,0xf3);
138DEFINE_GUID(IID_IDirectPlay8LobbiedApplication, 0x819074a3,0x16c,0x11d3,0xae,0x14,0x00,0x60,0x97,0xb0,0x14,0x11);
140DEFINE_GUID(IID_IDirectPlay8LobbyClient, 0x819074a2,0x16c,0x11d3,0xae,0x14,0x00,0x60,0x97,0xb0,0x14,0x11);
146#define INTERFACE IDirectPlay8LobbiedApplication
166#if !defined(__cplusplus) || defined(CINTERFACE)
168#define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
169#define IDirectPlay8LobbiedApplication_AddRef(p) (p)->lpVtbl->AddRef(p)
170#define IDirectPlay8LobbiedApplication_Release(p) (p)->lpVtbl->Release(p)
172#define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->lpVtbl->Initialize(p,a,b,c,d)
173#define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->lpVtbl->RegisterProgram(p,a,b)
174#define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->lpVtbl->UnRegisterProgram(p,a,b)
175#define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d)
176#define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->lpVtbl->SetAppAvailable(p,a,b)
177#define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->lpVtbl->UpdateStatus(p,a,b,c)
178#define IDirectPlay8LobbiedApplication_Close(p,a) (p)->lpVtbl->Close(p,a)
179#define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d)
180#define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
183#define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
184#define IDirectPlay8LobbiedApplication_AddRef(p) (p)->AddRef()
185#define IDirectPlay8LobbiedApplication_Release(p) (p)->Release()
187#define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->Initialize(a,b,c,d)
188#define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->RegisterProgram(a,b)
189#define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->UnRegisterProgram(a,b)
190#define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->Send(a,b,c,d)
191#define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->SetAppAvailable(a,b)
192#define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->UpdateStatus(a,b,c)
193#define IDirectPlay8LobbiedApplication_Close(p,a) (p)->Close(a)
194#define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d)
195#define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
201#define INTERFACE IDirectPlay8LobbyClient
220#if !defined(__cplusplus) || defined(CINTERFACE)
222#define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
223#define IDirectPlay8LobbyClient_AddRef(p) (p)->lpVtbl->AddRef(p)
224#define IDirectPlay8LobbyClient_Release(p) (p)->lpVtbl->Release(p)
226#define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
227#define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->lpVtbl->EnumLocalPrograms(p,a,b,c,d,e)
228#define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->lpVtbl->ConnectApplication(p,a,b,c,d,e)
229#define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d)
230#define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->lpVtbl->ReleaseApplication(p,a,b)
231#define IDirectPlay8LobbyClient_Close(p,a) (p)->lpVtbl->Close(p,a)
232#define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d)
233#define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
236#define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
237#define IDirectPlay8LobbyClient_AddRef(p) (p)->AddRef()
238#define IDirectPlay8LobbyClient_Release(p) (p)->Release()
240#define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->Initialize(a,b,c)
241#define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->EnumLocalPrograms(a,b,c,d,e)
242#define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->ConnectApplication(a,b,c,d,e)
243#define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->Send(a,b,c,d)
244#define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->ReleaseApplication(a,b)
245#define IDirectPlay8LobbyClient_Close(p,a) (p)->Close(a)
246#define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d)
247#define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
#define DECLARE_INTERFACE_(i, b)
_Check_return_ _In_ PQUERY_INTERFACE QueryInterface
HRESULT(WINAPI * PFNDPNMESSAGEHANDLER)(PVOID, DWORD, PVOID)
struct _DPL_PROGRAM_DESC * PDPL_PROGRAM_DESC
struct _DPL_CONNECT_INFO * PDPL_CONNECT_INFO
struct _DPL_MESSAGE_CONNECT * PDPL_MESSAGE_CONNECT
struct _DPL_PROGRAM_DESC DPL_PROGRAM_DESC
struct _DPL_MESSAGE_CONNECTION_SETTINGS DPL_MESSAGE_CONNECTION_SETTINGS
struct _DPL_MESSAGE_DISCONNECT DPL_MESSAGE_DISCONNECT
struct IDirectPlay8LobbiedApplication * PDIRECTPLAY8LOBBIEDAPPLICATION
struct _DPL_CONNECT_INFO DPL_CONNECT_INFO
struct _DPL_MESSAGE_RECEIVE * PDPL_MESSAGE_RECEIVE
struct _DPL_APPLICATION_INFO DPL_APPLICATION_INFO
struct _DPL_CONNECTION_SETTINGS * PDPL_CONNECTION_SETTINGS
struct IDirectPlay8LobbyClient * PDIRECTPLAY8LOBBYCLIENT
struct _DPL_MESSAGE_RECEIVE DPL_MESSAGE_RECEIVE
struct _DPL_APPLICATION_INFO * PDPL_APPLICATION_INFO
struct _DPL_CONNECTION_SETTINGS DPL_CONNECTION_SETTINGS
struct _DPL_MESSAGE_CONNECT DPL_MESSAGE_CONNECT
HRESULT WINAPI DirectPlay8LobbyCreate(const GUID *pcIID, LPVOID *ppvInterface, IUnknown *pUnknown)
struct _DPL_MESSAGE_SESSION_STATUS * PDPL_MESSAGE_SESSION_STATUS
struct _DPL_MESSAGE_SESSION_STATUS DPL_MESSAGE_SESSION_STATUS
struct _DPL_MESSAGE_CONNECTION_SETTINGS * PDPL_MESSAGE_CONNECTION_SETTINGS
struct _DPL_MESSAGE_DISCONNECT * PDPL_MESSAGE_DISCONNECT
_Must_inspect_result_ _In_ ULONG _Out_writes_bytes_ pBufferSize PVOID _Inout_ PULONG pBufferSize
static ULONG WINAPI AddRef(IStream *iface)
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
PWSTR pwszApplicationName
IDirectPlay8Address ** ppdp8DeviceAddresses
DPN_APPLICATION_DESC dpnAppDesc
DWORD cNumDeviceAddresses
IDirectPlay8Address * pdp8HostAddress
PDPL_CONNECTION_SETTINGS pdplConnectionSettings
DWORD dwLobbyConnectDataSize
PDPL_CONNECTION_SETTINGS pdplConnectionSettings
PVOID pvConnectionContext
DWORD dwLobbyConnectDataSize
PDPL_CONNECTION_SETTINGS pdplConnectionSettings
PVOID pvConnectionContext
PVOID pvConnectionContext
PVOID pvConnectionContext
PVOID pvConnectionContext
PWSTR pwszExecutableFilename
PWSTR pwszApplicationName
PWSTR pwszLauncherFilename
PWSTR pwszCurrentDirectory
static VOID UpdateStatus(PSERVICEINFO pServInfo, DWORD NewStatus, DWORD Check)