Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

436 lines
20 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: DPLobby.h
  6. * Content: DirectPlay8 Lobby Include File
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 02/21/00 mjn Created
  12. * 03/22/2000 jtk Changed interface names
  13. * 04/25/2000 rmt Bug #s 33138, 33145, 33150
  14. * 04/26/00 mjn Removed dwTimeOut from Send() API call
  15. * 05/03/00 rmt Bug #33879 -- Status messsage missing from field
  16. * 05/04/00 rmt Bug #34146 - No PDIRECTPLAY8LOBBIEDAPPLICATION defined.
  17. * 05/08/00 rmt Bug #34301 - Addd flag to SetAppAvailable to allow user to specify multiple client connects.
  18. * rmt Bug #34492 - Added hrReason field to disconnect message
  19. * 06/07/00 rmt Bug #36382 - Splitting CLSID to fix whistler issues (CoCreate changed behaviour)
  20. * 06/09/00 rmt Updates to split CLSID and allow whistler compat and support external create funcs
  21. * 06/15/2000 rmt Bug #33617 - Must provide method for providing automatic launch of DirectPlay instances
  22. * 07/08/2000 rmt Bug #38725 - Need to provide method to detect if app was lobby launched
  23. * rmt Bug #38757 - Callback messages for connections may return AFTER WaitForConnection returns
  24. * rmt Bug #38755 - No way to specify player name in Connection Settings
  25. * rmt Bug #38758 - DPLOBBY8.H has incorrect comments
  26. * rmt Bug #38783 - pvUserApplicationContext is only partially implemented
  27. * rmt Added DPLHANDLE_ALLCONNECTIONS and dwFlags (reserved field to couple of funcs).
  28. * 03/17/2001 rmt WINBUG #342420 - Commented out create functions
  29. *
  30. *@@END_MSINTERNAL
  31. *
  32. ***************************************************************************/
  33. #ifndef __DPLOBBY_H__
  34. #define __DPLOBBY_H__
  35. #include <ole2.h>
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. /****************************************************************************
  40. *
  41. * DirectPlay8Lobby CLSIDs
  42. *
  43. ****************************************************************************/
  44. // {667955AD-6B3B-43ca-B949-BC69B5BAFF7F}
  45. DEFINE_GUID(CLSID_DirectPlay8LobbiedApplication,
  46. 0x667955ad, 0x6b3b, 0x43ca, 0xb9, 0x49, 0xbc, 0x69, 0xb5, 0xba, 0xff, 0x7f);
  47. // {3B2B6775-70B6-45af-8DEA-A209C69559F3}
  48. DEFINE_GUID(CLSID_DirectPlay8LobbyClient,
  49. 0x3b2b6775, 0x70b6, 0x45af, 0x8d, 0xea, 0xa2, 0x9, 0xc6, 0x95, 0x59, 0xf3);
  50. /****************************************************************************
  51. *
  52. * DirectPlay8Lobby Interface IIDs
  53. *
  54. ****************************************************************************/
  55. // {819074A3-016C-11d3-AE14-006097B01411}
  56. DEFINE_GUID(IID_IDirectPlay8LobbiedApplication,
  57. 0x819074a3, 0x16c, 0x11d3, 0xae, 0x14, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11);
  58. // {819074A2-016C-11d3-AE14-006097B01411}
  59. DEFINE_GUID(IID_IDirectPlay8LobbyClient,
  60. 0x819074a2, 0x16c, 0x11d3, 0xae, 0x14, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11);
  61. /****************************************************************************
  62. *
  63. * DirectPlay8Lobby Interface Pointer
  64. *
  65. ****************************************************************************/
  66. typedef struct IDirectPlay8LobbiedApplication *PDIRECTPLAY8LOBBIEDAPPLICATION;
  67. typedef struct IDirectPlay8LobbyClient *PDIRECTPLAY8LOBBYCLIENT;
  68. /****************************************************************************
  69. *
  70. * DirectPlay8 Lobby Message IDs
  71. *
  72. ****************************************************************************/
  73. #define DPL_MSGID_LOBBY 0x8000
  74. #define DPL_MSGID_RECEIVE (0x0001 | DPL_MSGID_LOBBY)
  75. #define DPL_MSGID_CONNECT (0x0002 | DPL_MSGID_LOBBY)
  76. #define DPL_MSGID_DISCONNECT (0x0003 | DPL_MSGID_LOBBY)
  77. #define DPL_MSGID_SESSION_STATUS (0x0004 | DPL_MSGID_LOBBY)
  78. #define DPL_MSGID_CONNECTION_SETTINGS (0x0005 | DPL_MSGID_LOBBY)
  79. /****************************************************************************
  80. *
  81. * DirectPlay8Lobby Constants
  82. *
  83. ****************************************************************************/
  84. //
  85. // Specifies that operation should be performed on all open connections
  86. //
  87. #define DPLHANDLE_ALLCONNECTIONS 0xFFFFFFFF
  88. //
  89. // The associated game session has suceeded in connecting / hosting
  90. //
  91. #define DPLSESSION_CONNECTED 0x0001
  92. // The associated game session failed connecting / hosting
  93. //
  94. #define DPLSESSION_COULDNOTCONNECT 0x0002
  95. //
  96. // The associated game session has disconnected
  97. //
  98. #define DPLSESSION_DISCONNECTED 0x0003
  99. //
  100. // The associated game session has terminated
  101. //
  102. #define DPLSESSION_TERMINATED 0x0004
  103. //
  104. // The associated game session's host has migrated
  105. //
  106. #define DPLSESSION_HOSTMIGRATED 0x0005
  107. //
  108. // The associated game session's host has migrated to the local client
  109. //
  110. #define DPLSESSION_HOSTMIGRATEDHERE 0x0006
  111. /****************************************************************************
  112. *
  113. * DirectPlay8 Lobby Flags
  114. *
  115. ****************************************************************************/
  116. //
  117. // Do not automatically make the lobby app unavailable when a connection is established
  118. //
  119. #define DPLAVAILABLE_ALLOWMULTIPLECONNECT 0x0001
  120. //
  121. // Launch a new instance of the application to connect to
  122. //
  123. #define DPLCONNECT_LAUNCHNEW 0x0001
  124. //
  125. // Launch a new instance of the application if one is not waiting
  126. //
  127. #define DPLCONNECT_LAUNCHNOTFOUND 0x0002
  128. //
  129. // When starting the associated game session, start it as a host
  130. //
  131. #define DPLCONNECTSETTINGS_HOST 0x0001
  132. //
  133. // Disable parameter validation
  134. //
  135. //@@BEGIN_MSINTERNAL
  136. #ifndef DPNBUILD_NOPARAMVAL
  137. //@@END_MSINTERNAL
  138. #define DPLINITIALIZE_DISABLEPARAMVAL 0x0001
  139. //@@BEGIN_MSINTERNAL
  140. #endif // !DPNBUILD_NOPARAMVAL
  141. //@@END_MSINTERNAL
  142. /****************************************************************************
  143. *
  144. * DirectPlay8Lobby Structures (Non-Message)
  145. *
  146. ****************************************************************************/
  147. //
  148. // Information on a registered game
  149. //
  150. typedef struct _DPL_APPLICATION_INFO {
  151. GUID guidApplication; // GUID of the application
  152. PWSTR pwszApplicationName; // Name of the application
  153. DWORD dwNumRunning; // # of instances of this application running
  154. DWORD dwNumWaiting; // # of instances of this application waiting
  155. DWORD dwFlags; // Flags
  156. } DPL_APPLICATION_INFO, *PDPL_APPLICATION_INFO;
  157. //
  158. // Settings to be used for connecting / hosting a game session
  159. //
  160. typedef struct _DPL_CONNECTION_SETTINGS {
  161. DWORD dwSize; // Size of this structure
  162. DWORD dwFlags; // Connection settings flags (DPLCONNECTSETTINGS_...)
  163. DPN_APPLICATION_DESC dpnAppDesc; // Application desc for the associated DirectPlay session
  164. IDirectPlay8Address *pdp8HostAddress; // Address of host to connect to
  165. IDirectPlay8Address **ppdp8DeviceAddresses; // Address of device to connect from / host on
  166. DWORD cNumDeviceAddresses; // # of addresses specified in ppdp8DeviceAddresses
  167. PWSTR pwszPlayerName; // Name to give the player
  168. } DPL_CONNECTION_SETTINGS, *PDPL_CONNECTION_SETTINGS;
  169. //
  170. // Information for performing a lobby connect
  171. // (ConnectApplication)
  172. //
  173. typedef struct _DPL_CONNECT_INFO {
  174. DWORD dwSize; // Size of this structure
  175. DWORD dwFlags; // Flags (DPLCONNECT_...)
  176. GUID guidApplication; // GUID of application to launch
  177. PDPL_CONNECTION_SETTINGS pdplConnectionSettings;
  178. // Settings application should use
  179. PVOID pvLobbyConnectData; // User defined data block
  180. DWORD dwLobbyConnectDataSize;
  181. // Size of user defined data block
  182. } DPL_CONNECT_INFO, *PDPL_CONNECT_INFO;
  183. //
  184. // Information for registering an application
  185. // (RegisterApplication)
  186. //
  187. typedef struct _DPL_PROGRAM_DESC {
  188. DWORD dwSize;
  189. DWORD dwFlags;
  190. GUID guidApplication; // Application GUID
  191. PWSTR pwszApplicationName; // Unicode application name
  192. PWSTR pwszCommandLine; // Unicode command line arguments
  193. PWSTR pwszCurrentDirectory; // Unicode current directory
  194. PWSTR pwszDescription; // Unicode application description
  195. PWSTR pwszExecutableFilename; // Unicode filename of application executable
  196. PWSTR pwszExecutablePath; // Unicode path of application executable
  197. PWSTR pwszLauncherFilename; // Unicode filename of launcher executable
  198. PWSTR pwszLauncherPath; // Unicode path of launcher executable
  199. } DPL_PROGRAM_DESC, *PDPL_PROGRAM_DESC;
  200. /****************************************************************************
  201. *
  202. * DirectPlay8 Lobby Message Structures
  203. *
  204. ****************************************************************************/
  205. //
  206. // A connection was established
  207. // (DPL_MSGID_CONNECT)
  208. //
  209. typedef struct _DPL_MESSAGE_CONNECT
  210. {
  211. DWORD dwSize; // Size of this structure
  212. DPNHANDLE hConnectId; // Handle of new connection
  213. PDPL_CONNECTION_SETTINGS pdplConnectionSettings; // Connection settings for this connection
  214. PVOID pvLobbyConnectData; // User defined lobby data block
  215. DWORD dwLobbyConnectDataSize; // Size of user defined lobby data block
  216. PVOID pvConnectionContext; // Context value for this connection (user set)
  217. } DPL_MESSAGE_CONNECT, *PDPL_MESSAGE_CONNECT;
  218. //
  219. // Connection settings have been updated
  220. // (DPL_MSGID_CONNECTION_SETTINGS)
  221. //
  222. typedef struct _DPL_MESSAGE_CONNECTION_SETTINGS
  223. {
  224. DWORD dwSize; // Size of this structure
  225. DPNHANDLE hSender; // Handle of the connection for these settings
  226. PDPL_CONNECTION_SETTINGS pdplConnectionSettings; // Connection settings
  227. PVOID pvConnectionContext; // Context value for this connection
  228. } DPL_MESSAGE_CONNECTION_SETTINGS, *PDPL_MESSAGE_CONNECTION_SETTINGS;
  229. //
  230. // A connection has been disconnected
  231. // (DPL_MSGID_DISCONNECT)
  232. //
  233. typedef struct _DPL_MESSAGE_DISCONNECT
  234. {
  235. DWORD dwSize; // Size of this structure
  236. DPNHANDLE hDisconnectId; // Handle of the connection that was terminated
  237. HRESULT hrReason; // Reason the connection was broken
  238. PVOID pvConnectionContext; // Context value for this connection
  239. } DPL_MESSAGE_DISCONNECT, *PDPL_MESSAGE_DISCONNECT;
  240. //
  241. // Data was received through a connection
  242. // (DPL_MSGID_RECEIVE)
  243. //
  244. typedef struct _DPL_MESSAGE_RECEIVE
  245. {
  246. DWORD dwSize; // Size of this structure
  247. DPNHANDLE hSender; // Handle of the connection that is from
  248. BYTE *pBuffer; // Contents of the message
  249. DWORD dwBufferSize; // Size of the message context
  250. PVOID pvConnectionContext; // Context value for this connection
  251. } DPL_MESSAGE_RECEIVE, *PDPL_MESSAGE_RECEIVE;
  252. //
  253. // Current status of the associated connection
  254. // (DPL_MSGID_SESSION_STATUS)
  255. //
  256. typedef struct _DPL_MESSAGE_SESSION_STATUS
  257. {
  258. DWORD dwSize; // Size of this structure
  259. DPNHANDLE hSender; // Handle of the connection that this is from
  260. DWORD dwStatus; // Status (DPLSESSION_...)
  261. PVOID pvConnectionContext; // Context value for this connection
  262. } DPL_MESSAGE_SESSION_STATUS, *PDPL_MESSAGE_SESSION_STATUS;
  263. /****************************************************************************
  264. *
  265. * DirectPlay8Lobby Create
  266. *
  267. ****************************************************************************/
  268. /*
  269. * This function is no longer supported. It is recommended that CoCreateInstance be used to create
  270. * DirectPlay8 lobby objects.
  271. *
  272. * extern HRESULT WINAPI DirectPlay8LobbyCreate( const GUID * pcIID, void **ppvInterface, IUnknown *pUnknown);
  273. *
  274. */
  275. /****************************************************************************
  276. *
  277. * DirectPlay8 Functions
  278. *
  279. ****************************************************************************/
  280. //
  281. // COM definition for DirectPlayLobbyClient
  282. //
  283. #undef INTERFACE // External COM Implementation
  284. #define INTERFACE IDirectPlay8LobbyClient
  285. DECLARE_INTERFACE_(IDirectPlay8LobbyClient,IUnknown)
  286. {
  287. // IUnknown methods
  288. STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) PURE;
  289. STDMETHOD_(ULONG,AddRef) (THIS) PURE;
  290. STDMETHOD_(ULONG,Release) (THIS) PURE;
  291. // IDirectPlayLobbyClient methods
  292. STDMETHOD(Initialize) (THIS_ const PVOID pvUserContext,const PFNDPNMESSAGEHANDLER pfn,const DWORD dwFlags) PURE;
  293. STDMETHOD(EnumLocalPrograms) (THIS_ GUID *const pGuidApplication,BYTE *const pEnumData,DWORD *const pdwEnumData,DWORD *const pdwItems, const DWORD dwFlags) PURE;
  294. STDMETHOD(ConnectApplication) (THIS_ DPL_CONNECT_INFO *const pdplConnectionInfo,const PVOID pvConnectionContext,DPNHANDLE *const hApplication,const DWORD dwTimeOut,const DWORD dwFlags) PURE;
  295. STDMETHOD(Send) (THIS_ const DPNHANDLE hConnection,BYTE *const pBuffer,const DWORD pBufferSize,const DWORD dwFlags) PURE;
  296. STDMETHOD(ReleaseApplication) (THIS_ const DPNHANDLE hConnection, const DWORD dwFlags ) PURE;
  297. STDMETHOD(Close) (THIS_ const DWORD dwFlags ) PURE;
  298. STDMETHOD(GetConnectionSettings) (THIS_ const DPNHANDLE hConnection, DPL_CONNECTION_SETTINGS * const pdplSessionInfo, DWORD *pdwInfoSize, const DWORD dwFlags ) PURE;
  299. STDMETHOD(SetConnectionSettings) (THIS_ const DPNHANDLE hConnection, const DPL_CONNECTION_SETTINGS * const pdplSessionInfo, const DWORD dwFlags ) PURE;
  300. };
  301. //
  302. // COM definition for DirectPlayLobbiedApplication
  303. //
  304. #undef INTERFACE // External COM Implementation
  305. #define INTERFACE IDirectPlay8LobbiedApplication
  306. DECLARE_INTERFACE_(IDirectPlay8LobbiedApplication,IUnknown)
  307. {
  308. // IUnknown methods
  309. STDMETHOD(QueryInterface) (THIS_ REFIID riid,LPVOID *ppvObj) PURE;
  310. STDMETHOD_(ULONG,AddRef) (THIS) PURE;
  311. STDMETHOD_(ULONG,Release) (THIS) PURE;
  312. // IDirectPlayLobbiedApplication methods
  313. STDMETHOD(Initialize) (THIS_ const PVOID pvUserContext,const PFNDPNMESSAGEHANDLER pfn,DPNHANDLE * const pdpnhConnection, const DWORD dwFlags) PURE;
  314. STDMETHOD(RegisterProgram) (THIS_ PDPL_PROGRAM_DESC pdplProgramDesc,const DWORD dwFlags) PURE;
  315. STDMETHOD(UnRegisterProgram) (THIS_ GUID *pguidApplication,const DWORD dwFlags) PURE;
  316. STDMETHOD(Send) (THIS_ const DPNHANDLE hConnection,BYTE *const pBuffer,const DWORD pBufferSize,const DWORD dwFlags) PURE;
  317. STDMETHOD(SetAppAvailable) (THIS_ const BOOL fAvailable, const DWORD dwFlags ) PURE;
  318. STDMETHOD(UpdateStatus) (THIS_ const DPNHANDLE hConnection, const DWORD dwStatus, const DWORD dwFlags ) PURE;
  319. STDMETHOD(Close) (THIS_ const DWORD dwFlags ) PURE;
  320. STDMETHOD(GetConnectionSettings) (THIS_ const DPNHANDLE hConnection, DPL_CONNECTION_SETTINGS * const pdplSessionInfo, DWORD *pdwInfoSize, const DWORD dwFlags ) PURE;
  321. STDMETHOD(SetConnectionSettings) (THIS_ const DPNHANDLE hConnection, const DPL_CONNECTION_SETTINGS * const pdplSessionInfo, const DWORD dwFlags ) PURE;
  322. };
  323. /****************************************************************************
  324. *
  325. * DirectPlayLobby Interface Macros
  326. *
  327. ****************************************************************************/
  328. #if !defined(__cplusplus) || defined(CINTERFACE)
  329. #define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
  330. #define IDirectPlay8LobbyClient_AddRef(p) (p)->lpVtbl->AddRef(p)
  331. #define IDirectPlay8LobbyClient_Release(p) (p)->lpVtbl->Release(p)
  332. #define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
  333. #define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->lpVtbl->EnumLocalPrograms(p,a,b,c,d,e)
  334. #define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->lpVtbl->ConnectApplication(p,a,b,c,d,e)
  335. #define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d)
  336. #define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->lpVtbl->ReleaseApplication(p,a,b)
  337. #define IDirectPlay8LobbyClient_Close(p,a) (p)->lpVtbl->Close(p,a)
  338. #define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d)
  339. #define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
  340. #define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
  341. #define IDirectPlay8LobbiedApplication_AddRef(p) (p)->lpVtbl->AddRef(p)
  342. #define IDirectPlay8LobbiedApplication_Release(p) (p)->lpVtbl->Release(p)
  343. #define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->lpVtbl->Initialize(p,a,b,c,d)
  344. #define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->lpVtbl->RegisterProgram(p,a,b)
  345. #define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->lpVtbl->UnRegisterProgram(p,a,b)
  346. #define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->lpVtbl->Send(p,a,b,c,d)
  347. #define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->lpVtbl->SetAppAvailable(p,a,b)
  348. #define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->lpVtbl->UpdateStatus(p,a,b,c)
  349. #define IDirectPlay8LobbiedApplication_Close(p,a) (p)->lpVtbl->Close(p,a)
  350. #define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetConnectionSettings(p,a,b,c,d)
  351. #define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
  352. #else /* C++ */
  353. #define IDirectPlay8LobbyClient_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
  354. #define IDirectPlay8LobbyClient_AddRef(p) (p)->AddRef()
  355. #define IDirectPlay8LobbyClient_Release(p) (p)->Release()
  356. #define IDirectPlay8LobbyClient_Initialize(p,a,b,c) (p)->Initialize(a,b,c)
  357. #define IDirectPlay8LobbyClient_EnumLocalPrograms(p,a,b,c,d,e) (p)->EnumLocalPrograms(a,b,c,d,e)
  358. #define IDirectPlay8LobbyClient_ConnectApplication(p,a,b,c,d,e) (p)->ConnectApplication(a,b,c,d,e)
  359. #define IDirectPlay8LobbyClient_Send(p,a,b,c,d) (p)->Send(a,b,c,d)
  360. #define IDirectPlay8LobbyClient_ReleaseApplication(p,a,b) (p)->ReleaseApplication(a,b)
  361. #define IDirectPlay8LobbyClient_Close(p,a) (p)->Close(a)
  362. #define IDirectPlay8LobbyClient_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d)
  363. #define IDirectPlay8LobbyClient_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
  364. #define IDirectPlay8LobbiedApplication_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
  365. #define IDirectPlay8LobbiedApplication_AddRef(p) (p)->AddRef()
  366. #define IDirectPlay8LobbiedApplication_Release(p) (p)->Release()
  367. #define IDirectPlay8LobbiedApplication_Initialize(p,a,b,c,d) (p)->Initialize(a,b,c,d)
  368. #define IDirectPlay8LobbiedApplication_RegisterProgram(p,a,b) (p)->RegisterProgram(a,b)
  369. #define IDirectPlay8LobbiedApplication_UnRegisterProgram(p,a,b) (p)->UnRegisterProgram(a,b)
  370. #define IDirectPlay8LobbiedApplication_Send(p,a,b,c,d) (p)->Send(a,b,c,d)
  371. #define IDirectPlay8LobbiedApplication_SetAppAvailable(p,a,b) (p)->SetAppAvailable(a,b)
  372. #define IDirectPlay8LobbiedApplication_UpdateStatus(p,a,b,c) (p)->UpdateStatus(a,b,c)
  373. #define IDirectPlay8LobbiedApplication_Close(p,a) (p)->Close(a)
  374. #define IDirectPlay8LobbiedApplication_GetConnectionSettings(p,a,b,c,d) (p)->GetConnectionSettings(a,b,c,d)
  375. #define IDirectPlay8LobbiedApplication_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
  376. #endif
  377. #ifdef __cplusplus
  378. }
  379. #endif
  380. #endif // __DPLOBBY_H__