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.
 
 
 
 
 
 

55 lines
1.1 KiB

//____________________________________________________________________________
//
// 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)(HMTNODE* phScopeItem);
STDMETHOD(Prev)(HMTNODE* phScopeItem);
STDMETHOD(Child)(HMTNODE* phsiChild);
STDMETHOD(LastChild)(HMTNODE* phsiLastChild);
// Implementation
private:
CMTNode* m_pMTNodeCurr;
};
#endif // _SCOPITER_H_