| Package com.ms.com.directX |
Previous |
Microsoft Packages |
Index |
Next |
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.
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.
Parameter Description GameDesc 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 0, but can be DPESC_TIMEDOUT.
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |