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.

38 lines
1.0 KiB

  1. // WMDMStorageEnum.h : Declaration of the CWMDMStorageEnum
  2. #ifndef __WMDMSTORAGEENUM_H_
  3. #define __WMDMSTORAGEENUM_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CWMDMStorageEnum
  7. class ATL_NO_VTABLE CWMDMStorageEnum :
  8. public CComObjectRootEx<CComMultiThreadModel>,
  9. public CComCoClass<CWMDMStorageEnum, &CLSID_WMDMStorageEnum>,
  10. public IWMDMEnumStorage
  11. {
  12. public:
  13. CWMDMStorageEnum();
  14. ~CWMDMStorageEnum();
  15. BEGIN_COM_MAP(CWMDMStorageEnum)
  16. COM_INTERFACE_ENTRY(IWMDMEnumStorage)
  17. END_COM_MAP()
  18. public:
  19. // IWMDMEnumStorage
  20. STDMETHOD(Next)(ULONG celt,
  21. IWMDMStorage **ppStorage,
  22. ULONG *pceltFetched);
  23. STDMETHOD(Skip)(ULONG celt, ULONG *pceltFetched);
  24. STDMETHOD(Reset)();
  25. STDMETHOD(Clone)(IWMDMEnumStorage **ppEnumStorage);
  26. void SetContainedPointer(IMDSPEnumStorage *pEnum, WORD wSPIndex);
  27. private:
  28. IMDSPEnumStorage *m_pEnum;
  29. WORD m_wSPIndex;
  30. };
  31. #endif //__WMDMSTORAGEENUM_H_