This is a method of the IDirectPlay2 Interface.
public void enumSessions(DPSessionDesc sessionDesc, _Guid sessionGuid, _Guid applicationGuid, String sessionName, String password, int timeOut, IEnumSessionsCallback2 calback, IUnknown context, int flags);