windows-nt/Source/XPSP1/NT/shell/cpls/appwzdui/darenum.h
2020-09-26 16:20:57 +08:00

33 lines
751 B
C++

#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_