windows-nt/Source/XPSP1/NT/multimedia/directx/dxvb/dx7vb/dpenumlocalapplications.h
2020-09-26 16:20:57 +08:00

52 lines
1 KiB
C++

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