Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 Next |
Class DPSessionDesc
public final class DPSessionDesc {
public int dwSize;
public int gData1;
public short gData2;
public short gData3;
public int gData4;
public int gData5;
public int dwSession;
public int dwMaxPlayers;
public int dwCurrentPlayers;
public int dwFlags;
public byte[] szSessionName;
public byte[] szUserField;
public int dwReserved1;
public byte[] szPassword;
public int dwReserved2;
public int dwUser1;
public int dwUser2;
public int dwUser3;
public int dwUser4;
}
Contains a description of the capabilities of an dPlay session.
See also EnumSessions.
Fields
- dwSize
- Size of this class, in bytes. Must be initialized before the object is used.
- gData1, gData2, gData3, gData4 and gData5
- Globally unique identifier (GUID) for the game. It identifies the game so that DirectPlay connects only to other machines playing the same game.
- dwSession
- Session identifier of the session that has been created or opened.
- dwMaxPlayers
- Maximum number of players and groups allowed in this session. This field is ignored if the application is not creating a new session.
- dwCurrentPlayers
- Current players and groups in the session.
- dwFlags
- One of DPOPEN_CREATESESSION, DPOPEN_OPENSESSION, or DPENUMSESSIONS_ALL.
- szSessionName
- String containing the name of the session.
- szUserField
- String containing user data.
- dwReserved1
- Reserved for future use.
- szPassword
- String containing the optional password that, once set up, is required to join this session.
- dwReserved2
- Reserved for future use.
- dwUser1, dwUser2, dwUser3, dwUser4
- User-specific data for the game or session.