Windows2003-3790/multimedia/directx/dxvb/dx7vb/dpenumsessionsobj.h
2020-09-30 16:53:55 +02:00

50 lines
1.1 KiB
C++

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1998
//
// File: dpenumsessionsobj.h
//
//--------------------------------------------------------------------------
#include "resource.h"
class C_dxj_DPEnumSessionsObject :
public I_dxj_DPEnumSessions2,
public CComObjectRoot
{
public:
C_dxj_DPEnumSessionsObject() ;
virtual ~C_dxj_DPEnumSessionsObject() ;
BEGIN_COM_MAP(C_dxj_DPEnumSessionsObject)
COM_INTERFACE_ENTRY(I_dxj_DPEnumSessions2)
END_COM_MAP()
DECLARE_AGGREGATABLE(C_dxj_DPEnumSessionsObject)
public:
HRESULT STDMETHODCALLTYPE getItem( long index, I_dxj_DirectPlaySessionData **desc);
HRESULT STDMETHODCALLTYPE getCount(long *count);
static HRESULT C_dxj_DPEnumSessionsObject::create(IDirectPlay4 * pdp, I_dxj_DirectPlaySessionData *desc, long timeout,long flags, I_dxj_DPEnumSessions2 **ppRet);
public:
DPSessionDesc2 *m_pList;
long m_nCount;
long m_nMax;
BOOL m_bProblem;
};