Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Interface IEnumSessionsCallback

Methods

public interface IEnumSessionsCallback extends IUnknown {
  public void callbackEnumSessions(DPSessionDesc GameDesc, IUnknown Context, int[] TimeOut, int dwFlags);
}

Use with EnumSessions to set the callback function to be called for each active session.


Methods


callbackEnumSessions

public void callbackEnumSessions(DPSessionDesc GameDesc, IUnknown Context, int[] TimeOut, int dwFlags);

Enumerates sessions. This is an application-defined callback procedure.

Return Value:

No return value.

ParameterDescription
GameDesc A DPSessionDesc object describing the enumerated session. This parameter will be set to null if the enumeration has timed out.
Context Caller-defined context.
TimeOut Array variable that contains the current time-out value. This can be reset when the DPESC_TIMEDOUT flag is returned if you want to wait longer for sessions to reply.
dwFlags Normally, this flag is set to zero, but can be DPESC_TIMEDOUT.



Top© 1996 Microsoft Corporation. All rights reserved.