dplobby.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 1999 Francois Gouget
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 1999 Peter Hunnisett
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* defined(__cplusplus) */
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Predeclare the interfaces
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectPlayLobby, 0x2fe8f810, 0xb2a5, 0x11d0, 0xa7, 0x87, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobby, 0xaf465c71, 0x9588, 0x11cf, 0xa0, 0x20, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobbyA, 0x26c66a70, 0xb367, 0x11cf, 0xa0, 0x24, 0x0, 0xaa, 0x0, 0x61, 0x57, 0xac);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectPlayLobby IDirectPlayLobbyA,*LPDIRECTPLAYLOBBYA;
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobby2, 0x194c220, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectPlayLobby2 *LPDIRECTPLAYLOBBY2;
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobby2A, 0x1bb4af80, 0xa303, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectPlayLobby2 IDirectPlayLobby2A, *LPDIRECTPLAYLOBBY2A;
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobby3, 0x2db72490, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectPlayLobby3 *LPDIRECTPLAYLOBBY3;
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectPlayLobby3A, 0x2db72491, 0x652c, 0x11d1, 0xa7, 0xa8, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectPlayLobby3 IDirectPlayLobby3A, *LPDIRECTPLAYLOBBY3A;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * DirectPlayLobby Property GUIDs used in lobby messages
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPLPROPERTY_MessagesSupported {762CCDA1-D916-11d0-BA39-00C04FD7ED67}.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Purpose: Request if the lobby supports standard (?).
af062818b47340eef15700d2f0211576ba3506eevboxsync * Response: Answer is a BOOL. TRUE if supports the standard (?) and FALSE otherwise. Of course, it might not respond at all.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPLPROPERTY_MessagesSupported, 0x762ccda1, 0xd916, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPLPROPERTY_LobbyGuid {F56920A0-D218-11d0-BA39-00C04FD7ED67}.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Purpose: Request the GUID that identifies the lobby version that the application is communicating with.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Response: The GUID which identifies the lobby version
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPLPROPERTY_LobbyGuid, 0xf56920a0, 0xd218, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPLPROPERTY_PlayerGuid {B4319322-D20D-11d0-BA39-00C04FD7ED67}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Purpose: Request the GUID that identifies the player for this particular machine.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Response: DPLDATA_PLAYERDATA structure.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPLPROPERTY_PlayerGuid, 0xb4319322, 0xd20d, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPLPROPERTY_PlayerScore {48784000-D219-11d0-BA39-00C04FD7ED67}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Purpose: Used to send a score of a player to the lobby. The format is an array of long integers.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Response: I don't think there is one.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPLPROPERTY_PlayerScore, 0x48784000, 0xd219, 0x11d0, 0xba, 0x39, 0x0, 0xc0, 0x4f, 0xd7, 0xed, 0x67);
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * LOBBY structures associated with GUID messages
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * LOBBY messages and message data structures.
af062818b47340eef15700d2f0211576ba3506eevboxsync * System messages can be identified by dwMessageFlags having a value of DPLMSG_SYSTEM
af062818b47340eef15700d2f0211576ba3506eevboxsync * after a call to ReceiveLobbyMessage.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Standard messages can be indentified by dwMessageFlags having a value of DPLMSG_STANDARD
af062818b47340eef15700d2f0211576ba3506eevboxsync * after a call to ReceiveLobbyMessage.
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPLobby1 definition required for backwards compatibility */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* System messages - dwType field for messages */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Used to indentify the message type */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Generic format for system messages - see above */
af062818b47340eef15700d2f0211576ba3506eevboxsync GUID guidInstance; /* Instance GUID of the dplay session the message corresponds to */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Generic message to set a property - see property GUIDs above */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwRequestID; /* Request ID (DPL_NOCONFIRMATION if no confirmation desired) */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwPropertyData[1]; /* Buffer containing data */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Reply to DPLMSG_SETPROPERTY */
af062818b47340eef15700d2f0211576ba3506eevboxsync} DPLMSG_SETPROPERTYRESPONSE, *LPDPLMSG_SETPROPERTYRESPONSE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Request to get the present value of a property */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Response to a request to get the present value of a property */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwPropertyData[1]; /* Buffer containing data */
af062818b47340eef15700d2f0211576ba3506eevboxsync} DPLMSG_GETPROPERTYRESPONSE, *LPDPLMSG_GETPROPERTYRESPONSE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Standard message in response to a session host migration to a new client */
af062818b47340eef15700d2f0211576ba3506eevboxsync GUID guidInstance; /* GUID Instance of the session */
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * DirectPlay Address ID's
af062818b47340eef15700d2f0211576ba3506eevboxsync * A DirectPlay address is composed of multiple data chunks, each associated with
af062818b47340eef15700d2f0211576ba3506eevboxsync * a GUID to give significance to the type of data. All chunks have an associated
af062818b47340eef15700d2f0211576ba3506eevboxsync * size so that unknown chunks can be ignored for backwards compatibility!
af062818b47340eef15700d2f0211576ba3506eevboxsync * EnumAddresses function is used to parse the address data chunks.
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_TotalSize {1318F560-912C-11d0-9DAA-00A0C90A43CB}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a DWORD containing the size of the entire DPADDRESS struct
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_TotalSize, 0x1318f560, 0x912c, 0x11d0, 0x9d, 0xaa, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_ServiceProvider {07D916C0-E0AF-11cf-9C4E-00A0C905425E}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a GUID indicated what service provider created the chunk.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_ServiceProvider, 0x7d916c0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_LobbyProvider {59B95640-9667-11d0-A77D-0000F803ABFC}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a GUID indicating what lobby provider created the chunk.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_LobbyProvider, 0x59b95640, 0x9667, 0x11d0, 0xa7, 0x7d, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_Phone {78EC89A0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
af062818b47340eef15700d2f0211576ba3506eevboxsync * DPAID_PhoneW {BA5A7A70-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a phone number in ANSI or UNICODE format
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_Phone, 0x78ec89a0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_PhoneW, 0xba5a7a70, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_Modem {F6DCC200-A2FE-11d0-9C4F-00A0C905425E} -- ANSI
af062818b47340eef15700d2f0211576ba3506eevboxsync * DPAID_ModemW {01FD92E0-A2FF-11d0-9C4F-00A0C905425E} -- UNICODE
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a modem name registered with TAPI
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_Modem, 0xf6dcc200, 0xa2fe, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_ModemW, 0x1fd92e0, 0xa2ff, 0x11d0, 0x9c, 0x4f, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_INet {C4A54DA0-E0AF-11cf-9C4E-00A0C905425E} -- ANSI
af062818b47340eef15700d2f0211576ba3506eevboxsync * DPAID_INetW {E63232A0-9DBF-11d0-9CC1-00A0C905425E} -- UNICODE
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a string containing a TCP/IP host name or IP address
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_INet, 0xc4a54da0, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_INetW, 0xe63232a0, 0x9dbf, 0x11d0, 0x9c, 0xc1, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_INetPort {E4524541-8EA5-11d1-8A96-006097B01411}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk is a port number used for creating TCP and UDP sockets. (WORD)
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_INetPort, 0xe4524541, 0x8ea5, 0x11d1, 0x8a, 0x96, 0x0, 0x60, 0x97, 0xb0, 0x14, 0x11);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DPAID_ComPort {F2F0CE00-E0AF-11cf-9C4E-00A0C905425E}
af062818b47340eef15700d2f0211576ba3506eevboxsync * Chunk purpose: Chunk contains the description of a serial port.
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(DPAID_ComPort, 0xf2f0ce00, 0xe0af, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Header block for address data elements */
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct tagDPADDRESS
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Used for specification of a communication port. Baud rate, stop bits and
af062818b47340eef15700d2f0211576ba3506eevboxsync * parity bits can be found in winbase.h. These are flow control constants only.
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DPCPA_XONXOFFFLOW 1 /* software flow control */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DPCPA_RTSFLOW 2 /* hardware flow control with RTS */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DPCPA_DTRFLOW 3 /* hardware flow control with DTR */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DPCPA_RTSDTRFLOW 4 /* hardware flow control with RTS and DTR */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwParity; /* parity (none, odd, even, mark) */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwFlowControl; /* flow control (none, xon/xoff, rts, dtr) */
af062818b47340eef15700d2f0211576ba3506eevboxsync/****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Miscellaneous
af062818b47340eef15700d2f0211576ba3506eevboxsync} DPCOMPOUNDADDRESSELEMENT, *LPDPCOMPOUNDADDRESSELEMENT;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef const DPCOMPOUNDADDRESSELEMENT *LPCDPCOMPOUNDADDRESSELEMENT;
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern HRESULT WINAPI DirectPlayLobbyCreateW(LPGUID, LPDIRECTPLAYLOBBY*, IUnknown*, LPVOID, DWORD );
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern HRESULT WINAPI DirectPlayLobbyCreateA(LPGUID, LPDIRECTPLAYLOBBYA*, IUnknown*, LPVOID, DWORD );
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DirectPlayLobbyCreate WINELIB_NAME_AW(DirectPlayLobbyCreate)
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef BOOL (CALLBACK *LPDPLENUMADDRESSTYPESCALLBACK)(
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef BOOL (CALLBACK *LPDPLENUMLOCALAPPLICATIONSCALLBACK)(
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectPlayLobby and IDirectPlayLobbyA interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectPlayLobby2 and IDirectPlayLobby2A interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectPlayLobby2,IDirectPlayLobby)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby2 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateCompoundAddress)(THIS_ LPCDPCOMPOUNDADDRESSELEMENT, DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectPlayLobby3 and IDirectPlayLobby3A interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectPlayLobby3,IDirectPlayLobby2)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Connect)(THIS_ DWORD, LPDIRECTPLAY2*, IUnknown*) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateAddress)(THIS_ REFGUID, REFGUID, LPCVOID, DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddress)(THIS_ LPDPENUMADDRESSCALLBACK, LPCVOID, DWORD, LPVOID) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumAddressTypes)(THIS_ LPDPLENUMADDRESSTYPESCALLBACK, REFGUID, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumLocalApplications)(THIS_ LPDPLENUMLOCALAPPLICATIONSCALLBACK, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetConnectionSettings)(THIS_ DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReceiveLobbyMessage)(THIS_ DWORD, DWORD, LPDWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RunApplication)(THIS_ DWORD, LPDWORD, LPDPLCONNECTION, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SendLobbyMessage)(THIS_ DWORD, DWORD, LPVOID, DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetConnectionSettings)(THIS_ DWORD, DWORD, LPDPLCONNECTION) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLobbyMessageEvent)(THIS_ DWORD, DWORD, HANDLE) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby2 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateCompoundAddress)(THIS_ LPCDPCOMPOUNDADDRESSELEMENT, DWORD, LPVOID, LPDWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectPlayLobby3 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ConnectEx)(THIS_ DWORD, REFIID, LPVOID *, IUnknown *) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RegisterApplication)(THIS_ DWORD, LPDPAPPLICATIONDESC) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(UnregisterApplication)(THIS_ DWORD, REFGUID) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(WaitForConnectionSettings)(THIS_ DWORD) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_Connect(p,a,b,c) (p)->lpVtbl->Connect(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAddress(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->lpVtbl->EnumAddress(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->lpVtbl->EnumAddressTypes(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->lpVtbl->EnumLocalApplications(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->lpVtbl->GetConnectionSettings(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->lpVtbl->ReceiveLobbyMessage(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->lpVtbl->RunApplication(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->lpVtbl->SendLobbyMessage(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->lpVtbl->SetLobbyMessageEvent(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby2 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->lpVtbl->CreateCompoundAddress(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby3 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->lpVtbl->ConnectEx(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->lpVtbl->RegisterApplication(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->lpVtbl->UnregisterApplication(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->lpVtbl->WaitForConnectionSettings(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_Connect(p,a,b,c) (p)->Connect(a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->CreateAddress(a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->EnumAddress(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->EnumAddressTypes(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->EnumLocalApplications(a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->GetConnectionSettings(a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->ReceiveLobbyMessage(a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->RunApplication(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->SendLobbyMessage(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->SetConnectionSettings(a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->SetLobbyMessageEvent(a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby2 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->CreateCompoundAddress(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectPlayLobby3 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->ConnectEx(a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->RegisterApplication(a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->UnregisterApplication(a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->WaitForConnectionSettings(a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Used for WaitForConnectionSettings */
af062818b47340eef15700d2f0211576ba3506eevboxsync} /* extern "C" */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* defined(__cplusplus) */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_DPLOBBY_H */