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

  1. #ifndef __DARENUM_H_
  2. #define __DARENUM_H_
  3. class CDarwinEnumPublishedApps : public IEnumPublishedApps
  4. {
  5. public:
  6. CDarwinEnumPublishedApps(GUID * pAppCategoryId);
  7. ~CDarwinEnumPublishedApps();
  8. // *** IUnknown Methods
  9. virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
  10. virtual STDMETHODIMP_(ULONG) AddRef(void) ;
  11. virtual STDMETHODIMP_(ULONG) Release(void);
  12. // *** IEnumPublishedApps
  13. STDMETHODIMP Next(IPublishedApp ** ppia);
  14. STDMETHODIMP Reset(void);
  15. //STDMETHODIMP SetCategory(GUID * pAppCategoryId);
  16. protected:
  17. UINT _cRef;
  18. GUID _CategoryGUID;
  19. BOOL _bGuidUsed;
  20. DWORD _dwNumApps;
  21. DWORD _dwIndex;
  22. PMANAGEDAPPLICATION _prgApps;
  23. };
  24. #endif //__DARENUM_H_