windows-nt/Source/XPSP1/NT/shell/cpls/appwzdui/darenum.h

33 lines
751 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef __DARENUM_H_
#define __DARENUM_H_
class CDarwinEnumPublishedApps : public IEnumPublishedApps
{
public:
CDarwinEnumPublishedApps(GUID * pAppCategoryId);
~CDarwinEnumPublishedApps();
// *** IUnknown Methods
virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
virtual STDMETHODIMP_(ULONG) AddRef(void) ;
virtual STDMETHODIMP_(ULONG) Release(void);
// *** IEnumPublishedApps
STDMETHODIMP Next(IPublishedApp ** ppia);
STDMETHODIMP Reset(void);
//STDMETHODIMP SetCategory(GUID * pAppCategoryId);
protected:
UINT _cRef;
GUID _CategoryGUID;
BOOL _bGuidUsed;
DWORD _dwNumApps;
DWORD _dwIndex;
PMANAGEDAPPLICATION _prgApps;
};
#endif //__DARENUM_H_