Leaked source code of windows server 2003
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
783 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_