windows-nt/Source/XPSP1/NT/printscan/print/spooler/spoolss/bidispl/enum.h

56 lines
1.1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _TBIDIREQUESTCONTAINERENUM
#define _TBIDIREQUESTCONTAINERENUM
class TBidiRequestContainer;
class TBidiRequestContainerEnum:
public IEnumUnknown
{
public:
// IUnknown
STDMETHOD(QueryInterface)(
REFIID iid,
void** ppv) ;
STDMETHOD_ (ULONG, AddRef) () ;
STDMETHOD_ (ULONG, Release)() ;
STDMETHOD (Next)(
IN ULONG celt,
OUT IUnknown ** rgelt,
OUT ULONG * pceltFetched);
STDMETHOD (Skip) (
IN ULONG celt);
STDMETHOD (Reset)(void);
STDMETHOD (Clone)(
OUT IEnumUnknown ** ppenum);
TBidiRequestContainerEnum (
TBidiRequestContainer &refContainer,
TReqInterfaceList &refReqList);
TBidiRequestContainerEnum (
TBidiRequestContainerEnum & refEnum);
~TBidiRequestContainerEnum ();
inline BOOL
bValid () CONST {return m_bValid;};
private:
BOOL m_bValid;
LONG m_cRef ;
TReqInterfaceList & m_refReqList;
TReqInterfaceNode * m_pHead;
TReqInterfaceNode * m_pCurrent;
TBidiRequestContainer & m_refContainer;
};
#endif