|
Interface IDirectPlayLobby
public interface IDirectPlayLobby
{
// Methods
public IDirectPlay2 connect();
public IDirectPlayLobby create(_Guid guid);
public void createAddress(_Guid spGuid, _Guid addressTypeGuid,
String addressString, byte[] addressData,
int[] addressSize);
public int createAddressSize(_Guid spGuid, _Guid addressTypeGuid,
String addressString);
public void enumAddress(IEnumAddressCallback callback,
byte[] addressData, int addressSize, IUnknown context);
public void enumAddressTypes(IEnumAddressTypesCallback callback,
_Guid spGuid, IUnknown context, int flags);
public void enumLocalApplications(
IEnumLocalApplicationsCallback callback,
IUnknown context, int flags);
public void enumServiceProviders(
IEnumServiceProvidersCallback callback, IUnknown context);
public void getConnectionSettings(int applicationId,
int[] connectionFlags, DPSessionDesc sessionDesc,
_Guid sessionGuid, _Guid applicationGuid,
String[] sessionName, String[] password,
String[] playerShortName, String[] playerLongName,
_Guid guidSP, byte[] addressData, int[] addressSize);
public int getConnectionSettingsAddressSize(int applicationId);
public void receiveLobbyMessage(int applicationId, int[] flags,
byte[] data, int[] dataSize);
public void receiveLobbyMessageSize(int applicationId,
int[] flags, int[] dataSize);
public void runApplication(int[] applicationId,
int connectionFlags, DPSessionDesc sessionDesc,
_Guid sessionGuid, _Guid applicationGuid,
String sessionName, String password,
String playerShortName, String playerLongName,
_Guid spGuid, byte[] addressData, int addressSize,
int receiveEvent);
public void sendLobbyMessage(int applicationId, byte[] data,
int dataSize);
public void setConnectionSettings(int applicationId,
int connectionFlags, DPSessionDesc sessionDesc,
_Guid sessionGuid, _Guid applicationGuid,
String sessionName, String password,
String playerShortName, String playerLongName,
_Guid spGuid, byte[] addressData, int addressSize);
public void setLobbyMessageEvent(int applicationId,
int receiveEvent);
}
For a description of methods and parameters, see DirectPlayLobby.
public IDirectPlay2 connect();
public IDirectPlayLobby create(_Guid guid);
public void createAddress(_Guid spGuid, _Guid addressTypeGuid,
String addressString, byte[] addressData, int[] addressSize);
public int createAddressSize(_Guid spGuid, _Guid addressTypeGuid,
String addressString);
public void enumAddress(IEnumAddressCallback callback, byte[] addressData,
int addressSize, IUnknown context);
public void enumAddressTypes(IEnumAddressTypesCallback callback,
_Guid spGuid, IUnknown context, int flags);
public void enumLocalApplications(IEnumLocalApplicationsCallback callback,
IUnknown context, int flags);
public void enumServiceProviders(IEnumServiceProvidersCallback callback,
IUnknown context);
public void getConnectionSettings(int applicationId, int[] connectionFlags,
DPSessionDesc sessionDesc, _Guid sessionGuid, _Guid
applicationGuid, String[] sessionName, String[] password, String[]
playerShortName, String[] playerLongName, _Guid guidSP, byte[]
addressData, int[] addressSize);
public int getConnectionSettingsAddressSize(int applicationId);
public void receiveLobbyMessage(int applicationId, int[] flags,
byte[] data, int[] dataSize);
public void receiveLobbyMessageSize(int applicationId, int[] flags,
int[] dataSize);
public void runApplication(int[] applicationId, int connectionFlags,
DPSessionDesc sessionDesc, _Guid sessionGuid,
_Guid applicationGuid, String sessionName, String password,
String playerShortName, String playerLongName, _Guid spGuid, byte[]
addressData, int addressSize, int receiveEvent);
public void sendLobbyMessage(int applicationId, byte[] data, int dataSize);
public void setConnectionSettings(int applicationId, int connectionFlags,
DPSessionDesc sessionDesc, _Guid sessionGuid,
_Guid applicationGuid, String sessionName, String password,
String playerShortName, String playerLongName, _Guid spGuid, byte[]
addressData, int addressSize);
public void setLobbyMessageEvent(int applicationId, int receiveEvent);
|