ReactOS 0.4.15-dev-7918-g2a2556c
dplobby.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1999 Francois Gouget
3 * Copyright (C) 1999 Peter Hunnisett
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef __WINE_DPLOBBY_H
21#define __WINE_DPLOBBY_H
22
23#include <dplay.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif /* defined(__cplusplus) */
28
29/*****************************************************************************
30 * Predeclare the interfaces
31 */
32DEFINE_GUID(CLSID_DirectPlayLobby, 0x2fe8f810, 0xb2a5, 0x11d0, 0xa7, 0x87, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
33
34DEFINE_GUID(IID_IDirectPlayLobby, 0xaf465c71, 0x9588, 0x11cf, 0xa0, 0x20, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
35typedef struct IDirectPlayLobby *LPDIRECTPLAYLOBBY;
36
37DEFINE_GUID(IID_IDirectPlayLobbyA, 0x26c66a70, 0xb367, 0x11cf, 0xa0, 0x24, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
38typedef struct IDirectPlayLobby IDirectPlayLobbyA,*LPDIRECTPLAYLOBBYA;
39
40DEFINE_GUID(IID_IDirectPlayLobby2, 0x194c220, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
41typedef struct IDirectPlayLobby2 *LPDIRECTPLAYLOBBY2;
42
43DEFINE_GUID(IID_IDirectPlayLobby2A, 0x1bb4af80, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
44typedef struct IDirectPlayLobby2 IDirectPlayLobby2A, *LPDIRECTPLAYLOBBY2A;
45
46DEFINE_GUID(IID_IDirectPlayLobby3, 0x2db72490, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
47typedef struct IDirectPlayLobby3 *LPDIRECTPLAYLOBBY3;
48
49DEFINE_GUID(IID_IDirectPlayLobby3A, 0x2db72491, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
50typedef struct IDirectPlayLobby3 IDirectPlayLobby3A, *LPDIRECTPLAYLOBBY3A;
51
52
53/*****************************************************************************
54 * DirectPlayLobby Property GUIDs used in lobby messages
55 */
56
57/* DPLPROPERTY_MessagesSupported {762CCDA1-D916-11d0-BA39-00C04FD7ED67}.
58 * Purpose: Request if the lobby supports standard (?).
59 * Response: Answer is a BOOL. TRUE if supports the standard (?) and FALSE otherwise. Of course, it might not respond at all.
60 */
61DEFINE_GUID(DPLPROPERTY_MessagesSupported, 0x762ccda1, 0xd916, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
62
63/* DPLPROPERTY_LobbyGuid {F56920A0-D218-11d0-BA39-00C04FD7ED67}.
64 * Purpose: Request the GUID that identifies the lobby version that the application is communicating with.
65 * Response: The GUID which identifies the lobby version
66 */
67DEFINE_GUID(DPLPROPERTY_LobbyGuid, 0xf56920a0, 0xd218, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
68
69/* DPLPROPERTY_PlayerGuid {B4319322-D20D-11d0-BA39-00C04FD7ED67}
70 * Purpose: Request the GUID that identifies the player for this particular machine.
71 * Response: DPLDATA_PLAYERDATA structure.
72 */
73DEFINE_GUID(DPLPROPERTY_PlayerGuid, 0xb4319322, 0xd20d, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
74
75/* DPLPROPERTY_PlayerScore {48784000-D219-11d0-BA39-00C04FD7ED67}
76 * Purpose: Used to send a score of a player to the lobby. The format is an array of long integers.
77 * Response: I don't think there is one.
78 */
79DEFINE_GUID(DPLPROPERTY_PlayerScore, 0x48784000, 0xd219, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
80
81
82
83/*****************************************************************************
84 * LOBBY structures associated with GUID messages
85 */
86
88{
92
94{
98
99
100/*****************************************************************************
101 * LOBBY messages and message data structures.
102 *
103 * System messages can be identified by dwMessageFlags having a value of DPLMSG_SYSTEM
104 * after a call to ReceiveLobbyMessage.
105 *
106 * Standard messages can be indentified by dwMessageFlags having a value of DPLMSG_STANDARD
107 * after a call to ReceiveLobbyMessage.
108 */
109
110/* DPLobby1 definition required for backwards compatibility */
111#define DPLMSG_SYSTEM 0x00000001
112#define DPLMSG_STANDARD 0x00000002
113#define DPLAD_SYSTEM DPLMSG_SYSTEM
114
115
116/* System messages - dwType field for messages */
117#define DPLSYS_CONNECTIONSETTINGSREAD 0x00000001
118#define DPLSYS_DPLAYCONNECTFAILED 0x00000002
119#define DPLSYS_DPLAYCONNECTSUCCEEDED 0x00000003
120#define DPLSYS_APPTERMINATED 0x00000004
121#define DPLSYS_SETPROPERTY 0x00000005
122#define DPLSYS_SETPROPERTYRESPONSE 0x00000006
123#define DPLSYS_GETPROPERTY 0x00000007
124#define DPLSYS_GETPROPERTYRESPONSE 0x00000008
125#define DPLSYS_NEWSESSIONHOST 0x00000009
126#define DPLSYS_NEWCONNECTIONSETTINGS 0x0000000A
127
128
129
130/* Used to indentify the message type */
131typedef struct tagDPLMSG_GENERIC
132{
133 DWORD dwType; /* Message type */
135
136/* Generic format for system messages - see above */
138{
139 DWORD dwType; /* Message type */
140 GUID guidInstance; /* Instance GUID of the dplay session the message corresponds to */
142
143/* Generic message to set a property - see property GUIDs above */
145{
146 DWORD dwType; /* Message type */
147 DWORD dwRequestID; /* Request ID (DPL_NOCONFIRMATION if no confirmation desired) */
148 GUID guidPlayer; /* Player GUID */
149 GUID guidPropertyTag; /* Property GUID */
150 DWORD dwDataSize; /* Size of data */
151 DWORD dwPropertyData[1]; /* Buffer containing data */
153
154#define DPL_NOCONFIRMATION 0L
155
156/* Reply to DPLMSG_SETPROPERTY */
158{
159 DWORD dwType; /* Message type */
160 DWORD dwRequestID; /* Request ID */
161 GUID guidPlayer; /* Player GUID */
162 GUID guidPropertyTag; /* Property GUID */
163 HRESULT hr; /* Return Code */
165
166/* Request to get the present value of a property */
168{
169 DWORD dwType; /* Message type */
170 DWORD dwRequestID; /* Request ID */
171 GUID guidPlayer; /* Player GUID */
172 GUID guidPropertyTag; /* Property GUID */
174
175/* Response to a request to get the present value of a property */
177{
178 DWORD dwType; /* Message type */
179 DWORD dwRequestID; /* Request ID */
180 GUID guidPlayer; /* Player GUID */
181 GUID guidPropertyTag; /* Property GUID */
182 HRESULT hr; /* Return Code */
183 DWORD dwDataSize; /* Size of data */
184 DWORD dwPropertyData[1]; /* Buffer containing data */
186
187/* Standard message in response to a session host migration to a new client */
189{
190 DWORD dwType; /* Message type */
191 GUID guidInstance; /* GUID Instance of the session */
193
194/*****************************************************************************
195 * DirectPlay Address ID's
196 * A DirectPlay address is composed of multiple data chunks, each assocated with
197 * a GUID to give significance to the type of data. All chunks have an associated
198 * size so that unknown chunks can be ignored for backwards compatibility!
199 * EnumAddresses function is used to parse the address data chunks.
200 */
201
202/* DPAID_TotalSize {1318F560-912C-11d0-9DAA-00A0C90A43CB}
203 * Chunk purpose: Chunk is a DWORD containing the size of the entire DPADDRESS struct
204 */
205DEFINE_GUID(DPAID_TotalSize, 0x1318f560, 0x912c, 0x11d0, 0x9d, 0xaa, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);
206
207/* DPAID_ServiceProvider {07D916C0-E0AF-11cf-9C4E-00A0C905425E}
208 * Chunk purpose: Chunk is a GUID indicated what service provider created the chunk.
209 */
210DEFINE_GUID(DPAID_ServiceProvider, 0x7d916c0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
211
212/* DPAID_LobbyProvider {59B95640-9667-11d0-A77D-0000F803ABFC}
213 * Chunk purpose: Chunk is a GUID indicating what lobby provider created the chunk.
214 */
215DEFINE_GUID(DPAID_LobbyProvider, 0x59b95640, 0x9667, 0x11d0, 0xa7, 0x7d, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
216
217/* DPAID_Phone {78EC89A0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
218 * DPAID_PhoneW {BA5A7A70-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
219 * Chunk purpose: Chunk is a phone number in ANSI or UNICODE format
220 */
221DEFINE_GUID(DPAID_Phone, 0x78ec89a0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
222DEFINE_GUID(DPAID_PhoneW, 0xba5a7a70, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
223
224/* DPAID_Modem {F6DCC200-A2FE-11d0-9C4F-00A0C905425E} -- ANSI
225 * DPAID_ModemW {01FD92E0-A2FF-11d0-9C4F-00A0C905425E} -- UNICODE
226 * Chunk purpose: Chunk is a modem name registered with TAPI
227 */
228DEFINE_GUID(DPAID_Modem, 0xf6dcc200, 0xa2fe, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
229DEFINE_GUID(DPAID_ModemW, 0x1fd92e0, 0xa2ff, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
230
231/* DPAID_INet {C4A54DA0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
232 * DPAID_INetW {E63232A0-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
233 * Chunk purpose: Chunk is a string containing a TCP/IP host name or IP address
234 */
235DEFINE_GUID(DPAID_INet, 0xc4a54da0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
236DEFINE_GUID(DPAID_INetW, 0xe63232a0, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
237
238/* DPAID_INetPort {E4524541-8EA5-11d1-8A96-006097B01411}
239 * Chunk purpose: Chunk is a port number used for creating TCP and UDP sockets. (WORD)
240 */
241DEFINE_GUID(DPAID_INetPort, 0xe4524541, 0x8ea5, 0x11d1, 0x8a, 0x96, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11);
242
243/* DPAID_ComPort {F2F0CE00-E0AF-11cf-9C4E-00A0C905425E}
244 * Chunk purpose: Chunk contains the description of a serial port.
245 */
246DEFINE_GUID(DPAID_ComPort, 0xf2f0ce00, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
247
248
249/* Header block for address data elements */
250typedef struct tagDPADDRESS
251{
255
256
257/* Used for specification of a communication port. Baud rate, stop bits and
258 * parity bits can be found in winbase.h. These are flow control constants only.
259 */
260#define DPCPA_NOFLOW 0 /* no flow control */
261#define DPCPA_XONXOFFFLOW 1 /* software flow control */
262#define DPCPA_RTSFLOW 2 /* hardware flow control with RTS */
263#define DPCPA_DTRFLOW 3 /* hardware flow control with DTR */
264#define DPCPA_RTSDTRFLOW 4 /* hardware flow control with RTS and DTR */
265
267{
268 DWORD dwComPort; /* COM port to use (1-4) */
269 DWORD dwBaudRate; /* baud rate (100-256k) */
270 DWORD dwStopBits; /* no. stop bits (1-2) */
271 DWORD dwParity; /* parity (none, odd, even, mark) */
272 DWORD dwFlowControl; /* flow control (none, xon/xoff, rts, dtr) */
274
275
276
277/****************************************************************************
278 * Miscellaneous
279 */
280
281typedef struct tagDPLAPPINFO
282{
285
286 union
287 {
291
294
296{
302
304{
307
308 union
309 {
313
315
316 union
317 {
321
322 union
323 {
327
328 union
329 {
333
334 union
335 {
339
342
344
345
346
349#define DirectPlayLobbyCreate WINELIB_NAME_AW(DirectPlayLobbyCreate)
350
351
353 REFGUID guidDataType,
354 DWORD dwDataSize,
355 LPCVOID lpData,
356 LPVOID lpContext );
357
359 REFGUID guidDataType,
360 LPVOID lpContext,
361 DWORD dwFlags );
362
364 LPCDPLAPPINFO lpAppInfo,
365 LPVOID lpContext,
366 DWORD dwFlags );
367
368/*****************************************************************************
369 * IDirectPlayLobby and IDirectPlayLobbyA interface
370 */
371#define INTERFACE IDirectPlayLobby
373{
374 /*** IUnknown methods ***/
378 /*** IDirectPlayLobby methods ***/
384 STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
385 STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
387 STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
388 STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
389 STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
390};
391#undef INTERFACE
392
393/*****************************************************************************
394 * IDirectPlayLobby2 and IDirectPlayLobby2A interface
395 */
396#define INTERFACE IDirectPlayLobby2
397DECLARE_INTERFACE_(IDirectPlayLobby2,IDirectPlayLobby)
398{
399 /*** IUnknown methods ***/
403 /*** IDirectPlayLobby methods ***/
409 STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
410 STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
412 STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
413 STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
414 STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
415 /*** IDirectPlayLobby2 methods ***/
417};
418#undef INTERFACE
419
420/*****************************************************************************
421 * IDirectPlayLobby3 and IDirectPlayLobby3A interface
422 */
423#define INTERFACE IDirectPlayLobby3
424DECLARE_INTERFACE_(IDirectPlayLobby3,IDirectPlayLobby2)
425{
426 /*** IUnknown methods ***/
430 /*** IDirectPlayLobby methods ***/
436 STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
437 STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
439 STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
440 STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
441 STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
442 /*** IDirectPlayLobby2 methods ***/
444 /*** IDirectPlayLobby3 methods ***/
445 STDMETHOD(ConnectEx)(THIS_ DWORD, REFIID, LPVOID *, IUnknown *) PURE;
446 STDMETHOD(RegisterApplication)(THIS_ DWORD, LPDPAPPLICATIONDESC) PURE;
447 STDMETHOD(UnregisterApplication)(THIS_ DWORD, REFGUID) PURE;
448 STDMETHOD(WaitForConnectionSettings)(THIS_ DWORD) PURE;
449};
450#undef INTERFACE
451
452#if !defined(__cplusplus) || defined(CINTERFACE)
453/*** IUnknown methods ***/
454#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
455#define IDirectPlayLobby_AddRef(p) (p)->lpVtbl->AddRef(p)
456#define IDirectPlayLobby_Release(p) (p)->lpVtbl->Release(p)
457/*** IDirectPlayLobby methods ***/
458#define IDirectPlayLobby_Connect(p,a,b,c) (p)->lpVtbl->Connect(p,a,b,c)
459#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAddress(p,a,b,c,d,e,f)
460#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->lpVtbl->EnumAddress(p,a,b,c,d)
461#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->lpVtbl->EnumAddressTypes(p,a,b,c,d)
462#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->lpVtbl->EnumLocalApplications(p,a,b,c)
463#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->lpVtbl->GetConnectionSettings(p,a,b,c)
464#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->lpVtbl->ReceiveLobbyMessage(p,a,b,c,d,e)
465#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->lpVtbl->RunApplication(p,a,b,c,d)
466#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->lpVtbl->SendLobbyMessage(p,a,b,c,d)
467#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
468#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->lpVtbl->SetLobbyMessageEvent(p,a,b,c)
469/*** IDirectPlayLobby2 methods ***/
470#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->lpVtbl->CreateCompoundAddress(p,a,b,c,d)
471/*** IDirectPlayLobby3 methods ***/
472#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->lpVtbl->ConnectEx(p,a,b,c,d)
473#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->lpVtbl->RegisterApplication(p,a,b)
474#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->lpVtbl->UnregisterApplication(p,a,b)
475#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->lpVtbl->WaitForConnectionSettings(p,a)
476#else
477/*** IUnknown methods ***/
478#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
479#define IDirectPlayLobby_AddRef(p) (p)->AddRef()
480#define IDirectPlayLobby_Release(p) (p)->Release()
481/*** IDirectPlayLobby methods ***/
482#define IDirectPlayLobby_Connect(p,a,b,c) (p)->Connect(a,b,c)
483#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->CreateAddress(a,b,c,d,e,f)
484#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->EnumAddress(a,b,c,d)
485#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->EnumAddressTypes(a,b,c,d)
486#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->EnumLocalApplications(a,b,c)
487#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->GetConnectionSettings(a,b,c)
488#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->ReceiveLobbyMessage(a,b,c,d,e)
489#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->RunApplication(a,b,c,d)
490#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->SendLobbyMessage(a,b,c,d)
491#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
492#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->SetLobbyMessageEvent(a,b,c)
493/*** IDirectPlayLobby2 methods ***/
494#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->CreateCompoundAddress(a,b,c,d)
495/*** IDirectPlayLobby3 methods ***/
496#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->ConnectEx(a,b,c,d)
497#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->RegisterApplication(a,b)
498#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->UnregisterApplication(a,b)
499#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->WaitForConnectionSettings(a)
500#endif
501
502/* Used for WaitForConnectionSettings */
503#define DPLWAIT_CANCEL 0x00000001
504
505#ifdef __cplusplus
506} /* extern "C" */
507#endif /* defined(__cplusplus) */
508
509#endif /* __WINE_DPLOBBY_H */
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
#define CALLBACK
Definition: compat.h:35
struct tagDPLCONNECTION * LPDPLCONNECTION
struct IDirectPlay2 * LPDIRECTPLAY2
Definition: dplay.h:44
struct tagDPADDRESS DPADDRESS
const DPLAPPINFO * LPCDPLAPPINFO
Definition: dplobby.h:293
struct tagDPLMSG_GETPROPERTYRESPONSE DPLMSG_GETPROPERTYRESPONSE
struct tagDPLMSG_GETPROPERTY DPLMSG_GETPROPERTY
struct tagDPCOMPORTADDRESS * LPDPCOMPORTADDRESS
struct tagDPLDATA_PLAYERSCORE DPLDATA_PLAYERSCORE
struct tagDPLMSG_SETPROPERTY * LPDPLMSG_SETPROPERTY
struct IDirectPlayLobby * LPDIRECTPLAYLOBBYA
Definition: dplobby.h:38
struct DPCOMPOUNDADDRESSELEMENT * LPDPCOMPOUNDADDRESSELEMENT
struct tagDPLDATA_PLAYERGUID DPLDATA_PLAYERGUID
struct tagDPLMSG_NEWSESSIONHOST DPLMSG_NEWSESSIONHOST
HRESULT WINAPI DirectPlayLobbyCreateA(LPGUID, LPDIRECTPLAYLOBBYA *, IUnknown *, LPVOID, DWORD)
struct tagDPLMSG_SYSTEMMESSAGE DPLMSG_SYSTEMMESSAGE
struct tagDPADDRESS * LPDPADDRESS
BOOL(CALLBACK * LPDPLENUMADDRESSTYPESCALLBACK)(REFGUID guidDataType, LPVOID lpContext, DWORD dwFlags)
Definition: dplobby.h:358
struct IDirectPlayLobby2 * LPDIRECTPLAYLOBBY2
Definition: dplobby.h:41
struct tagDPLAPPINFO * LPDPLAPPINFO
HRESULT WINAPI DirectPlayLobbyCreateW(LPGUID, LPDIRECTPLAYLOBBY *, IUnknown *, LPVOID, DWORD)
struct tagDPAPPLICATIONDESC DPAPPLICATIONDESC
const DPCOMPOUNDADDRESSELEMENT * LPCDPCOMPOUNDADDRESSELEMENT
Definition: dplobby.h:301
BOOL(CALLBACK * LPDPLENUMLOCALAPPLICATIONSCALLBACK)(LPCDPLAPPINFO lpAppInfo, LPVOID lpContext, DWORD dwFlags)
Definition: dplobby.h:363
struct IDirectPlayLobby2 IDirectPlayLobby2A
Definition: dplobby.h:44
struct tagDPLMSG_SETPROPERTYRESPONSE DPLMSG_SETPROPERTYRESPONSE
BOOL(CALLBACK * LPDPENUMADDRESSCALLBACK)(REFGUID guidDataType, DWORD dwDataSize, LPCVOID lpData, LPVOID lpContext)
Definition: dplobby.h:352
struct IDirectPlayLobby3 * LPDIRECTPLAYLOBBY3
Definition: dplobby.h:47
struct IDirectPlayLobby * LPDIRECTPLAYLOBBY
Definition: dplobby.h:35
struct tagDPLMSG_NEWSESSIONHOST * LPDPLMSG_NEWSESSIONHOST
struct tagDPLMSG_GENERIC DPLMSG_GENERIC
struct tagDPLMSG_SETPROPERTY DPLMSG_SETPROPERTY
struct IDirectPlayLobby3 IDirectPlayLobby3A
Definition: dplobby.h:50
struct tagDPLAPPINFO DPLAPPINFO
struct tagDPLMSG_SYSTEMMESSAGE * LPDPLMSG_SYSTEMMESSAGE
struct tagDPAPPLICATIONDESC * LPDPAPPLICATIONDESC
struct tagDPLMSG_GENERIC * LPDPLMSG_GENERIC
struct tagDPLDATA_PLAYERSCORE * LPDPLDATA_PLAYERSCORE
struct IDirectPlayLobby IDirectPlayLobbyA
Definition: dplobby.h:38
struct tagDPLMSG_GETPROPERTYRESPONSE * LPDPLMSG_GETPROPERTYRESPONSE
struct tagDPLDATA_PLAYERGUID * LPDPLDATA_PLAYERGUID
struct tagDPLMSG_GETPROPERTY * LPDPLMSG_GETPROPERTY
struct tagDPCOMPORTADDRESS DPCOMPORTADDRESS
struct IDirectPlayLobby3 * LPDIRECTPLAYLOBBY3A
Definition: dplobby.h:50
struct tagDPLMSG_SETPROPERTYRESPONSE * LPDPLMSG_SETPROPERTYRESPONSE
struct IDirectPlayLobby2 * LPDIRECTPLAYLOBBY2A
Definition: dplobby.h:44
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
_In_ PKSPIN_CONNECT Connect
Definition: ks.h:4536
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define BOOL
Definition: nt_native.h:43
#define LPDWORD
Definition: nt_native.h:46
#define DWORD
Definition: nt_native.h:44
#define LPVOID
Definition: nt_native.h:45
long LONG
Definition: pedump.c:60
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFGUID
Definition: guiddef.h:116
#define REFIID
Definition: guiddef.h:118
Definition: scsiwmi.h:51
GUID guidDataType
Definition: dplobby.h:252
DWORD dwDataSize
Definition: dplobby.h:253
LPWSTR lpszCommandLine
Definition: dplobby.h:325
LPSTR lpszCommandLineA
Definition: dplobby.h:324
LPWSTR lpszApplicationName
Definition: dplobby.h:311
union tagDPAPPLICATIONDESC::@2931 DUMMYUNIONNAME2
union tagDPAPPLICATIONDESC::@2933 DUMMYUNIONNAME4
LPWSTR lpszCurrentDirectory
Definition: dplobby.h:337
LPSTR lpszDescriptionA
Definition: dplobby.h:340
union tagDPAPPLICATIONDESC::@2934 DUMMYUNIONNAME5
union tagDPAPPLICATIONDESC::@2930 DUMMYUNIONNAME1
LPSTR lpszCurrentDirectoryA
Definition: dplobby.h:336
LPWSTR lpszDescriptionW
Definition: dplobby.h:341
union tagDPAPPLICATIONDESC::@2932 DUMMYUNIONNAME3
LPSTR lpszApplicationNameA
Definition: dplobby.h:310
LPWSTR lpszAppName
Definition: dplobby.h:289
GUID guidApplication
Definition: dplobby.h:284
LPSTR lpszAppNameA
Definition: dplobby.h:288
DWORD dwSize
Definition: dplobby.h:283
union tagDPLAPPINFO::@2929 DUMMYUNIONNAME
DWORD dwPropertyData[1]
Definition: dplobby.h:151
PVOID HANDLE
Definition: typedefs.h:73
uint32_t ULONG
Definition: typedefs.h:59
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
CONST void * LPCVOID
Definition: windef.h:191
#define WINAPI
Definition: msvc.h:6
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184