This method of the DirectPlay2 Class retrieves a description of the specified session.
public void getSessionDesc(DPSessionDesc sessionDesc, _Guid sessionGuid, _Guid applicationGuid, String[] sessionName, String[] password);
sessionDesc | A DPSessionDesc object describing the sessions to be enumerated. Only those sessions that meet the criteria set in this structure will be enumerated. If a password is required, the password field should be set accordingly. |
sessionGuid | The GUID of the session instance. |
applicationGuid | The GUID of the application running in the session instance. It uniquely identifies the application so that DirectPlay connects only to other computers running the same application. This member can be set to GUID_NULL to enumerate sessions for any application. |
sessionName | The Unicode string containing the name of the session. Use this member only if the IDirectPlay2 interface is in use. |
password | The Unicode string containing the password of the session. Use this member only if the IDirectPlay2 interface is in use. |