home *** CD-ROM | disk | FTP | other *** search
-
- class CEnumConnectionPoints : public IEnumConnectionPoints
- {
- public:
- CEnumConnectionPoints(LArray* ConnectionPoints);
- ~CEnumConnectionPoints(void);
-
- // *** IUnknown methods ***
- STDMETHOD(QueryInterface)(REFIID RefID, void** Obj);
- STDMETHOD_(ULONG, AddRef)(void);
- STDMETHOD_(ULONG, Release)(void);
-
- // IEnumConnectionPoints methods
- STDMETHOD(Next)(THIS_ unsigned long NumRequested,
- IConnectionPoint** ConnectionPoint,
- unsigned long* NumReturned);
- STDMETHOD(Skip)(THIS_ unsigned long cConnections);
- STDMETHOD(Reset)(THIS) { return E_NOTIMPL; }
- STDMETHOD(Clone)(THIS_ IEnumConnectionPoints** Enum);
-
- private:
- unsigned long m_RefCount;
- unsigned long m_Current;
- LArray* m_ConnectionPoints;
-
- };
-
-