Source code of Windows XP (NT5)
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.

31 lines
696 B

  1. #ifndef __PUBENUM_H_
  2. #define __PUBENUM_H_
  3. class CShellEnumPublishedApps : public IEnumPublishedApps
  4. {
  5. public:
  6. CShellEnumPublishedApps(HDPA hdpaEnum);
  7. ~CShellEnumPublishedApps();
  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. // Internal list of all IEnumPublishedApps *
  19. HDPA _hdpaEnum;
  20. int _iEnum;
  21. };
  22. #endif //__PUBENUM_H_