Do not allocate any USER data on the system heap.
[wine/multimedia.git] / include / dplobby.h
blob83384c7b5a412b65a32825f015723be0f53f1643
1 #ifndef __WINE_DPLOBBY_H
2 #define __WINE_DPLOBBY_H
4 #include "dplay.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* defined(__cplusplus) */
10 #include "pshpack1.h"
12 /*****************************************************************************
13 * Predeclare the interfaces
15 DEFINE_GUID(CLSID_DirectPlayLobby, 0x2fe8f810, 0xb2a5, 0x11d0, 0xa7, 0x87, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
17 DEFINE_GUID(IID_IDirectPlayLobby, 0xaf465c71, 0x9588, 0x11cf, 0xa0, 0x20, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
18 typedef struct IDirectPlayLobby IDirectPlayLobby,*LPDIRECTPLAYLOBBY;
20 DEFINE_GUID(IID_IDirectPlayLobbyA, 0x26c66a70, 0xb367, 0x11cf, 0xa0, 0x24, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
21 typedef struct IDirectPlayLobby IDirectPlayLobbyA,*LPDIRECTPLAYLOBBYA;
23 DEFINE_GUID(IID_IDirectPlayLobby2, 0x194c220, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
24 typedef struct IDirectPlayLobby2 IDirectPlayLobby2, *LPDIRECTPLAYLOBBY2;
26 DEFINE_GUID(IID_IDirectPlayLobby2A, 0x1bb4af80, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
27 typedef struct IDirectPlayLobby2 IDirectPlayLobby2A, *LPDIRECTPLAYLOBBY2A;
29 DEFINE_GUID(IID_IDirectPlayLobby3, 0x2db72490, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
30 typedef struct IDirectPlayLobby3 IDirectPlayLobby3, *LPDIRECTPLAYLOBBY3;
32 DEFINE_GUID(IID_IDirectPlayLobby3A, 0x2db72491, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
33 typedef struct IDirectPlayLobby3 IDirectPlayLobby3A, *LPDIRECTPLAYLOBBY3A;
36 /*****************************************************************************
37 * DirectPlayLobby Property GUIDs used in lobby messages
40 /* DPLPROPERTY_MessagesSupported {762CCDA1-D916-11d0-BA39-00C04FD7ED67}.
41 * Purpose: Request if the lobby supports standard (?).
42 * Response: Answer is a BOOL. TRUE if supports the standard (?) and FALSE otherwise. Of course, it might not respond at all.
44 DEFINE_GUID(DPLPROPERTY_MessagesSupported, 0x762ccda1, 0xd916, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
46 /* DPLPROPERTY_LobbyGuid {F56920A0-D218-11d0-BA39-00C04FD7ED67}.
47 * Purpose: Request the GUID that identifies the lobby version that the application is communicating with.
48 * Response: The GUID which identifies the lobby version
50 DEFINE_GUID(DPLPROPERTY_LobbyGuid, 0xf56920a0, 0xd218, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
52 /* DPLPROPERTY_PlayerGuid {B4319322-D20D-11d0-BA39-00C04FD7ED67}
53 * Purpose: Request the GUID that identifies the player for this particular machine.
54 * Response: DPLDATA_PLAYERDATA structure.
56 DEFINE_GUID(DPLPROPERTY_PlayerGuid, 0xb4319322, 0xd20d, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
58 /* DPLPROPERTY_PlayerScore {48784000-D219-11d0-BA39-00C04FD7ED67}
59 * Purpose: Used to send a score of a player to the lobby. The format is an array of long integers.
60 * Response: I don't think there is one.
62 DEFINE_GUID(DPLPROPERTY_PlayerScore, 0x48784000, 0xd219, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
66 /*****************************************************************************
67 * LOBBY structures associated with GUID messages
70 typedef struct tagDPLDATA_PLAYERGUID
72 GUID guidPlayer;
73 DWORD dwPlayerFlags;
74 } DPLDATA_PLAYERGUID, *LPDPLDATA_PLAYERGUID;
76 typedef struct tagDPLDATA_PLAYERSCORE
78 DWORD dwScoreCount;
79 LONG Score[1];
80 } DPLDATA_PLAYERSCORE, *LPDPLDATA_PLAYERSCORE;
83 /*****************************************************************************
84 * LOBBY messages and message data structures.
86 * System messages can be identified by dwMessageFlags having a value of DPLMSG_SYSTEM
87 * after a call to ReceiveLobbyMessage.
89 * Standard messages can be indentified by dwMessageFlags having a value of DPLMSG_STANDARD
90 * after a call to ReceiveLobbyMessage.
93 /* DPLobby1 definition required for backwards compatibility */
94 #define DPLMSG_SYSTEM 0x00000001
95 #define DPLMSG_STANDARD 0x00000002
96 #define DPLAD_SYSTEM DPLMSG_SYSTEM
99 /* System messages - dwType field for messages */
100 #define DPLSYS_CONNECTIONSETTINGSREAD 0x00000001
101 #define DPLSYS_DPLAYCONNECTFAILED 0x00000002
102 #define DPLSYS_DPLAYCONNECTSUCCEEDED 0x00000003
103 #define DPLSYS_APPTERMINATED 0x00000004
104 #define DPLSYS_SETPROPERTY 0x00000005
105 #define DPLSYS_SETPROPERTYRESPONSE 0x00000006
106 #define DPLSYS_GETPROPERTY 0x00000007
107 #define DPLSYS_GETPROPERTYRESPONSE 0x00000008
108 #define DPLSYS_NEWSESSIONHOST 0x00000009
109 #define DPLSYS_NEWCONNECTIONSETTINGS 0x0000000A
113 /* Used to indentify the message type */
114 typedef struct tagDPLMSG_GENERIC
116 DWORD dwType; /* Message type */
117 } DPLMSG_GENERIC, *LPDPLMSG_GENERIC;
119 /* Generic format for system messages - see above */
120 typedef struct tagDPLMSG_SYSTEMMESSAGE
122 DWORD dwType; /* Message type */
123 GUID guidInstance; /* Instance GUID of the dplay session the message corresponds to */
124 } DPLMSG_SYSTEMMESSAGE, *LPDPLMSG_SYSTEMMESSAGE;
126 /* Generic message to set a property - see property GUIDs above */
127 typedef struct tagDPLMSG_SETPROPERTY
129 DWORD dwType; /* Message type */
130 DWORD dwRequestID; /* Request ID (DPL_NOCONFIRMATION if no confirmation desired) */
131 GUID guidPlayer; /* Player GUID */
132 GUID guidPropertyTag; /* Property GUID */
133 DWORD dwDataSize; /* Size of data */
134 DWORD dwPropertyData[1]; /* Buffer containing data */
135 } DPLMSG_SETPROPERTY, *LPDPLMSG_SETPROPERTY;
137 #define DPL_NOCONFIRMATION 0L
139 /* Reply to DPLMSG_SETPROPERTY */
140 typedef struct tagDPLMSG_SETPROPERTYRESPONSE
142 DWORD dwType; /* Message type */
143 DWORD dwRequestID; /* Request ID */
144 GUID guidPlayer; /* Player GUID */
145 GUID guidPropertyTag; /* Property GUID */
146 HRESULT hr; /* Return Code */
147 } DPLMSG_SETPROPERTYRESPONSE, *LPDPLMSG_SETPROPERTYRESPONSE;
149 /* Request to get the present value of a property */
150 typedef struct tagDPLMSG_GETPROPERTY
152 DWORD dwType; /* Message type */
153 DWORD dwRequestID; /* Request ID */
154 GUID guidPlayer; /* Player GUID */
155 GUID guidPropertyTag; /* Property GUID */
156 } DPLMSG_GETPROPERTY, *LPDPLMSG_GETPROPERTY;
158 /* Response to a request to get the present value of a property */
159 typedef struct tagDPLMSG_GETPROPERTYRESPONSE
161 DWORD dwType; /* Message type */
162 DWORD dwRequestID; /* Request ID */
163 GUID guidPlayer; /* Player GUID */
164 GUID guidPropertyTag; /* Property GUID */
165 HRESULT hr; /* Return Code */
166 DWORD dwDataSize; /* Size of data */
167 DWORD dwPropertyData[1]; /* Buffer containing data */
168 } DPLMSG_GETPROPERTYRESPONSE, *LPDPLMSG_GETPROPERTYRESPONSE;
170 /* Standard message in response to a session host migration to a new client */
171 typedef struct tagDPLMSG_NEWSESSIONHOST
173 DWORD dwType; /* Message type */
174 GUID guidInstance; /* GUID Instance of the session */
175 } DPLMSG_NEWSESSIONHOST, *LPDPLMSG_NEWSESSIONHOST;
177 /*****************************************************************************
178 * DirectPlay Address ID's
179 * A DirectPlay address is composed of multiple data chunks, each assocated with
180 * a GUID to give significance to the type of data. All chunks have an associated
181 * size so that unknown chunks can be ignored for backwards compatibility!
182 * EnumAddresses function is used to parse the address data chunks.
185 /* DPAID_TotalSize {1318F560-912C-11d0-9DAA-00A0C90A43CB}
186 * Chunk purpose: Chunk is a DWORD containing the size of the entire DPADDRESS struct
188 DEFINE_GUID(DPAID_TotalSize, 0x1318f560, 0x912c, 0x11d0, 0x9d, 0xaa, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);
190 /* DPAID_ServiceProvider {07D916C0-E0AF-11cf-9C4E-00A0C905425E}
191 * Chunk purpose: Chunk is a GUID indicated what service provider created the chunk.
193 DEFINE_GUID(DPAID_ServiceProvider, 0x7d916c0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
195 /* DPAID_LobbyProvider {59B95640-9667-11d0-A77D-0000F803ABFC}
196 * Chunk purpose: Chunk is a GUID indicating what lobby provider created the chunk.
198 DEFINE_GUID(DPAID_LobbyProvider, 0x59b95640, 0x9667, 0x11d0, 0xa7, 0x7d, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
200 /* DPAID_Phone {78EC89A0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
201 * DPAID_PhoneW {BA5A7A70-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
202 * Chunk purpose: Chunk is a phone number in ANSI or UNICODE format
204 DEFINE_GUID(DPAID_Phone, 0x78ec89a0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
205 DEFINE_GUID(DPAID_PhoneW, 0xba5a7a70, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
207 /* DPAID_Modem {F6DCC200-A2FE-11d0-9C4F-00A0C905425E} -- ANSI
208 * DPAID_ModemW {01FD92E0-A2FF-11d0-9C4F-00A0C905425E} -- UNICODE
209 * Chunk purpose: Chunk is a modem name registered with TAPI
211 DEFINE_GUID(DPAID_Modem, 0xf6dcc200, 0xa2fe, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
212 DEFINE_GUID(DPAID_ModemW, 0x1fd92e0, 0xa2ff, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
214 /* DPAID_INet {C4A54DA0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
215 * DPAID_INetW {E63232A0-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
216 * Chunk purpose: Chunk is a string containing a TCP/IP host name or IP address
218 DEFINE_GUID(DPAID_INet, 0xc4a54da0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
219 DEFINE_GUID(DPAID_INetW, 0xe63232a0, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
221 /* DPAID_INetPort {E4524541-8EA5-11d1-8A96-006097B01411}
222 * Chunk purpose: Chunk is a port number used for creating TCP and UDP sockets. (WORD)
224 DEFINE_GUID(DPAID_INetPort, 0xe4524541, 0x8ea5, 0x11d1, 0x8a, 0x96, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11);
226 /* DPAID_ComPort {F2F0CE00-E0AF-11cf-9C4E-00A0C905425E}
227 * Chunk purpose: Chunk contains the description of a serial port.
229 DEFINE_GUID(DPAID_ComPort, 0xf2f0ce00, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
232 /* Header block for address data elements */
233 typedef struct tagDPADDRESS
235 GUID guidDataType;
236 DWORD dwDataSize;
237 } DPADDRESS, *LPDPADDRESS;
240 /* Used for specification of a communication port. Baud rate, stop bits and
241 * parity bits can be found in winbase.h. These are flow control constants only.
243 #define DPCPA_NOFLOW 0 /* no flow control */
244 #define DPCPA_XONXOFFFLOW 1 /* software flow control */
245 #define DPCPA_RTSFLOW 2 /* hardware flow control with RTS */
246 #define DPCPA_DTRFLOW 3 /* hardware flow control with DTR */
247 #define DPCPA_RTSDTRFLOW 4 /* hardware flow control with RTS and DTR */
249 typedef struct tagDPCOMPORTADDRESS
251 DWORD dwComPort; /* COM port to use (1-4) */
252 DWORD dwBaudRate; /* baud rate (100-256k) */
253 DWORD dwStopBits; /* no. stop bits (1-2) */
254 DWORD dwParity; /* parity (none, odd, even, mark) */
255 DWORD dwFlowControl; /* flow control (none, xon/xoff, rts, dtr) */
256 } DPCOMPORTADDRESS, *LPDPCOMPORTADDRESS;
260 /****************************************************************************
261 * Miscellaneous
264 typedef struct tagDPLAPPINFO
266 DWORD dwSize;
267 GUID guidApplication;
269 union
271 LPSTR lpszAppNameA;
272 LPWSTR lpszAppName;
273 } DUMMYUNIONNAME;
275 } DPLAPPINFO, *LPDPLAPPINFO;
276 typedef const DPLAPPINFO *LPCDPLAPPINFO;
278 typedef struct DPCOMPOUNDADDRESSELEMENT
280 GUID guidDataType;
281 DWORD dwDataSize;
282 LPVOID lpData;
283 } DPCOMPOUNDADDRESSELEMENT, *LPDPCOMPOUNDADDRESSELEMENT;
284 typedef const DPCOMPOUNDADDRESSELEMENT *LPCDPCOMPOUNDADDRESSELEMENT;
286 typedef struct tagDPAPPLICATIONDESC
288 DWORD dwSize;
289 DWORD dwFlags;
291 union
293 LPSTR lpszApplicationNameA;
294 LPWSTR lpszApplicationName;
295 } DUMMYUNIONNAME1;
297 GUID guidApplication;
299 union
301 LPSTR lpszFilenameA;
302 LPWSTR lpszFilename;
303 } DUMMYUNIONNAME2;
305 union
307 LPSTR lpszCommandLineA;
308 LPWSTR lpszCommandLine;
309 } DUMMYUNIONNAME3;
311 union
313 LPSTR lpszPathA;
314 LPWSTR lpszPath;
315 } DUMMYUNIONNAME4;
317 union
319 LPSTR lpszCurrentDirectoryA;
320 LPWSTR lpszCurrentDirectory;
321 } DUMMYUNIONNAME5;
323 LPSTR lpszDescriptionA;
324 LPWSTR lpszDescriptionW;
326 } DPAPPLICATIONDESC, *LPDPAPPLICATIONDESC;
330 extern HRESULT WINAPI DirectPlayLobbyCreateW(LPGUID, LPDIRECTPLAYLOBBY*, IUnknown*, LPVOID, DWORD );
331 extern HRESULT WINAPI DirectPlayLobbyCreateA(LPGUID, LPDIRECTPLAYLOBBYA*, IUnknown*, LPVOID, DWORD );
335 typedef BOOL CALLBACK (*LPDPENUMADDRESSCALLBACK)(
336 REFGUID guidDataType,
337 DWORD dwDataSize,
338 LPCVOID lpData,
339 LPVOID lpContext );
341 typedef BOOL CALLBACK (*LPDPLENUMADDRESSTYPESCALLBACK)(
342 REFGUID guidDataType,
343 LPVOID lpContext,
344 DWORD dwFlags );
346 typedef BOOL CALLBACK (*LPDPLENUMLOCALAPPLICATIONSCALLBACK)(
347 LPCDPLAPPINFO lpAppInfo,
348 LPVOID lpContext,
349 DWORD dwFlags );
351 #include "poppack.h"
353 /*****************************************************************************
354 * IDirectPlayLobby and IDirectPlayLobbyA interface
356 #define ICOM_INTERFACE IDirectPlayLobby
357 #define IDirectPlayLobby_METHODS \
358 ICOM_METHOD3(HRESULT,Connect, DWORD,, LPDIRECTPLAY2*,, IUnknown*,) \
359 ICOM_METHOD6(HRESULT,CreateAddress, REFGUID,, REFGUID,, LPCVOID,, DWORD,, LPVOID,, LPDWORD,) \
360 ICOM_METHOD4(HRESULT,EnumAddress, LPDPENUMADDRESSCALLBACK,, LPCVOID,, DWORD,, LPVOID,) \
361 ICOM_METHOD4(HRESULT,EnumAddressTypes, LPDPLENUMADDRESSTYPESCALLBACK,, REFGUID,, LPVOID,, DWORD,) \
362 ICOM_METHOD3(HRESULT,EnumLocalApplications, LPDPLENUMLOCALAPPLICATIONSCALLBACK,, LPVOID,, DWORD,) \
363 ICOM_METHOD3(HRESULT,GetConnectionSettings, DWORD,, LPVOID,, LPDWORD,) \
364 ICOM_METHOD5(HRESULT,ReceiveLobbyMessage, DWORD,, DWORD,, LPDWORD,, LPVOID,, LPDWORD,) \
365 ICOM_METHOD4(HRESULT,RunApplication, DWORD,, LPDWORD,, LPDPLCONNECTION,, HANDLE,) \
366 ICOM_METHOD4(HRESULT,SendLobbyMessage, DWORD,, DWORD,, LPVOID,, DWORD,) \
367 ICOM_METHOD3(HRESULT,SetConnectionSettings, DWORD,, DWORD,, LPDPLCONNECTION,) \
368 ICOM_METHOD3(HRESULT,SetLobbyMessageEvent, DWORD,, DWORD,, HANDLE,)
369 #define IDirectPlayLobby_IMETHODS \
370 IUnknown_IMETHODS \
371 IDirectPlayLobby_METHODS
372 ICOM_DEFINE(IDirectPlayLobby,IUnknown)
373 #undef ICOM_INTERFACE
375 /*****************************************************************************
376 * IDirectPlayLobby2 and IDirectPlayLobby2A interface
378 #define ICOM_INTERFACE IDirectPlayLobby2
379 #define IDirectPlayLobby2_METHODS \
380 ICOM_METHOD4(HRESULT,CreateCompoundAddress, LPCDPCOMPOUNDADDRESSELEMENT,, DWORD,, LPVOID,, LPDWORD,)
381 #define IDirectPlayLobby2_IMETHODS \
382 IDirectPlayLobby_IMETHODS \
383 IDirectPlayLobby2_METHODS
384 ICOM_DEFINE(IDirectPlayLobby2,IDirectPlayLobby)
385 #undef ICOM_INTERFACE
387 /*****************************************************************************
388 * IDirectPlayLobby3 and IDirectPlayLobby3A interface
390 #define ICOM_INTERFACE IDirectPlayLobby3
391 #define IDirectPlayLobby3_METHODS \
392 ICOM_METHOD4( HRESULT, ConnectEx, DWORD,, REFIID,, LPVOID *,, IUnknown *,) \
393 ICOM_METHOD2( HRESULT, RegisterApplication, DWORD,, LPDPAPPLICATIONDESC, ) \
394 ICOM_METHOD2( HRESULT, UnregisterApplication, DWORD,, REFGUID, ) \
395 ICOM_METHOD1( HRESULT, WaitForConnectionSettings, DWORD, )
397 #define IDirectPlayLobby3_IMETHODS \
398 IDirectPlayLobby2_IMETHODS \
399 IDirectPlayLobby3_METHODS
400 ICOM_DEFINE(IDirectPlayLobby3,IDirectPlayLobby2)
401 #undef ICOM_INTERFACE
403 #define IDirectPlayLobby_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
404 #define IDirectPlayLobby_AddRef(p) ICOM_CALL (AddRef,p)
405 #define IDirectPlayLobby_Release(p) ICOM_CALL (Release,p)
406 #define IDirectPlayLobby_Connect(p,a,b,c) ICOM_CALL3(Connect,p,a,b,c)
407 #define IDirectPlayLobby_ConnectEx(p,a,b,c,d) ICOM_CALL4(ConnectEx,p,a,b,c,d)
408 #define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) ICOM_CALL6(CreateAddress,p,a,b,c,d,e,f)
409 #define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) ICOM_CALL4(CreateCompoundAddress,p,a,b,c,d)
410 #define IDirectPlayLobby_EnumAddress(p,a,b,c,d) ICOM_CALL4(EnumAddress,p,a,b,c,d)
411 #define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) ICOM_CALL4(EnumAddressTypes,p,a,b,c,d)
412 #define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) ICOM_CALL3(EnumLocalApplications,p,a,b,c)
413 #define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) ICOM_CALL3(GetConnectionSettings,p,a,b,c)
414 #define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) ICOM_CALL5(ReceiveLobbyMessage,p,a,b,c,d,e)
415 #define IDirectPlayLobby_RegisterApplication(p,a,b) ICOM_CALL2(RegisterApplication,p,a,b)
416 #define IDirectPlayLobby_RunApplication(p,a,b,c,d) ICOM_CALL4(RunApplication,p,a,b,c,d)
417 #define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) ICOM_CALL4(SendLobbyMessage,p,a,b,c,d)
418 #define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) ICOM_CALL3(SetConnectionSettings,p,a,b,c)
419 #define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) ICOM_CALL3(SetLobbyMessageEvent,p,a,b,c)
420 #define IDirectPlayLobby_UnregisterApplication(p,a,b) ICOM_CALL2(UnregisterApplication,p,a,b)
421 #define IDirectPlayLobby_WaitForConnectionSettings(p,a) ICOM_CALL1(WaitForConnectionSettings,p,a)
423 /* Used for WaitForConnectionSettings */
424 #define DPLWAIT_CANCEL 0x00000001
426 #ifdef __cplusplus
427 } /* extern "C" */
428 #endif /* defined(__cplusplus) */
430 #endif /* __WINE_DPLOBBY_H */