mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
751 B
32 lines
751 B
#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_
|