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.

48 lines
1.0 KiB

  1. //+--------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1991 - 1992.
  5. //
  6. // File: iter.hxx
  7. //
  8. // Contents: CDocFileIterator header file
  9. //
  10. // Classes: CDocFileIterator
  11. //
  12. //---------------------------------------------------------------
  13. #ifndef __ITER_HXX__
  14. #define __ITER_HXX__
  15. #include "h/piter.hxx"
  16. class CMSFIterator;
  17. class CStgHandle;
  18. //+--------------------------------------------------------------
  19. //
  20. // Class: CDocFileIterator (dfi)
  21. //
  22. // Purpose: Derive a new iterator that remembers what DocFile it
  23. // came from
  24. //
  25. // Interface: Same as PDocFileIterator
  26. //
  27. //---------------------------------------------------------------
  28. class CDocFileIterator : public PDocFileIterator
  29. {
  30. public:
  31. CDocFileIterator(void);
  32. SCODE Init(CStgHandle *ph);
  33. ~CDocFileIterator(void);
  34. virtual SCODE GetNext(STATSTGW *pstatstg);
  35. virtual SCODE BufferGetNext(SIterBuffer *pib);
  36. virtual void Release(void);
  37. private:
  38. CMSFIterator *_pi;
  39. };
  40. #endif