Microsoft SDK for Java

IEnumSessionsCallback2 Interface

The IEnumSessionsCallback2 Interface of the com.ms.directX package is used with DirectPlay2.enumSessions to set the callback function to be called for each active session.

You must use the DirectPlay2.stopEnumSessions to stop a session enumeration, or the enumeration will continue infinitely.

public interface IEnumSessionsCallback2 extends IUnknown
{
  // Methods
  public void callbackEnumSessions(DPSessionDesc sessionDesc, _Guid
        instanceGuid, _Guid applicationGuid, String sessionName,
        String password, int[] timeOut, int flags, IUnknown
        context);
}

Hierarchy

IUnknown 
  |
  +--IEnumSessionsCallback2

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