windows-nt/Source/XPSP1/NT/admin/activec/nodemgr/scopiter.h

55 lines
1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//____________________________________________________________________________
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: ScopIter.h
//
// Contents:
//
// Classes:
//
// Functions:
//
// History:
//____________________________________________________________________________
//
#ifndef _SCOPITER_H_
#define _SCOPITER_H_
class CMTNode;
class CScopeTreeIterator : public IScopeTreeIter, public CComObjectRoot
{
// Constructor/Destructor
public:
CScopeTreeIterator();
~CScopeTreeIterator();
public:
BEGIN_COM_MAP(CScopeTreeIterator)
COM_INTERFACE_ENTRY(IScopeTreeIter)
END_COM_MAP()
DECLARE_NOT_AGGREGATABLE(CScopeTreeIterator)
// COM interfaces
public:
// IScopeTreeIter methods
STDMETHOD(SetCurrent)(HMTNODE hStartMTNode);
STDMETHOD(Next)(UINT nRequested, HMTNODE* rghScopeItems, UINT* pnFetched);
STDMETHOD(Child)(HMTNODE* phsiChild);
STDMETHOD(Parent)(HMTNODE* phsiParent);
// Implementation
private:
CMTNode* m_pMTNodeCurr;
};
#endif // _SCOPITER_H_