windows-nt/Source/XPSP1/NT/com/ole32/stg/ref/iter.hxx

49 lines
1 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+--------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1991 - 1992.
//
// File: iter.hxx
//
// Contents: CDocFileIterator header file
//
// Classes: CDocFileIterator
//
//---------------------------------------------------------------
#ifndef __ITER_HXX__
#define __ITER_HXX__
#include "h/piter.hxx"
class CMSFIterator;
class CStgHandle;
//+--------------------------------------------------------------
//
// Class: CDocFileIterator (dfi)
//
// Purpose: Derive a new iterator that remembers what DocFile it
// came from
//
// Interface: Same as PDocFileIterator
//
//---------------------------------------------------------------
class CDocFileIterator : public PDocFileIterator
{
public:
CDocFileIterator(void);
SCODE Init(CStgHandle *ph);
~CDocFileIterator(void);
virtual SCODE GetNext(STATSTGW *pstatstg);
virtual SCODE BufferGetNext(SIterBuffer *pib);
virtual void Release(void);
private:
CMSFIterator *_pi;
};
#endif