Microsoft SDK for Java

setSessionDesc

This method of the DirectPlay2 Class is currently not supported. Changes the properties of the current session. This method works only when called on the computer that is the host of the session.

Syntax

public void setSessionDesc(DPSessionDesc sessionDesc, _Guid sessionGuid, _Guid applicationGuid, String sessionName, String password, int flags);

Return Value

Returns DPERR_UNSUPPORTED.

Parameters

sessionDesc The DPSessionDesc object describing the session to be created or joined.
sessionGuid The GUID of the DirectPlay session of interest.
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 Unicode string containing the name of the session. Use this member only if the IdirectPlay2 interface is in use.
password Unicode string containing the password of the session. Use this member only if the IDirectPlay2 interface is in use.
flags No flags are currently used by this method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.