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

32 lines
696 B
C++

#ifndef __PUBENUM_H_
#define __PUBENUM_H_
class CShellEnumPublishedApps : public IEnumPublishedApps
{
public:
CShellEnumPublishedApps(HDPA hdpaEnum);
~CShellEnumPublishedApps();
// *** 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;
// Internal list of all IEnumPublishedApps *
HDPA _hdpaEnum;
int _iEnum;
};
#endif //__PUBENUM_H_