Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


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.

Methods

connect

public IDirectPlay2 connect();

create

public IDirectPlayLobby create(_Guid guid);

createAddress

public void createAddress(_Guid spGuid, _Guid addressTypeGuid,
        String addressString, byte[] addressData, int[] addressSize);

createAddressSize

public int createAddressSize(_Guid spGuid, _Guid addressTypeGuid,
        String addressString);

enumAddress

public void enumAddress(IEnumAddressCallback callback, byte[] addressData,
        int addressSize, IUnknown context);

enumAddressTypes

public void enumAddressTypes(IEnumAddressTypesCallback callback,
        _Guid spGuid, IUnknown context, int flags);

enumLocalApplications

public void enumLocalApplications(IEnumLocalApplicationsCallback callback,
        IUnknown context, int flags);

enumServiceProviders

public void enumServiceProviders(IEnumServiceProvidersCallback callback,
        IUnknown context);

getConnectionSettings

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);

getConnectionSettingsAddressSize

public int getConnectionSettingsAddressSize(int applicationId);

receiveLobbyMessage

public void receiveLobbyMessage(int applicationId, int[] flags,
        byte[] data, int[] dataSize);

receiveLobbyMessageSize

public void receiveLobbyMessageSize(int applicationId, int[] flags,
        int[] dataSize);

runApplication

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);

sendLobbyMessage

public void sendLobbyMessage(int applicationId, byte[] data, int dataSize);

setConnectionSettings

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);

setLobbyMessageEvent

public void setLobbyMessageEvent(int applicationId, int receiveEvent);

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.