Annotation of mstools/ole20/samples/spoly/cenumpt.h, revision 1.1

1.1     ! root        1: /*** 
        !             2: *cenumpt.h
        !             3: *
        !             4: *  Copyright (C) 1992, Microsoft Corporation.  All Rights Reserved.
        !             5: *  Information Contained Herein Is Proprietary and Confidential.
        !             6: *
        !             7: *Purpose:
        !             8: *  Definition of the CEnumPoint class.
        !             9: *
        !            10: *Implementation Notes:
        !            11: *
        !            12: *****************************************************************************/
        !            13: 
        !            14: class CEnumPoint : public IEnumVARIANT 
        !            15: {
        !            16: public:
        !            17:     static HRESULT Create(SAFEARRAY FAR* psa, CEnumPoint FAR* FAR* ppenum);
        !            18: 
        !            19:     /* IUnknown methods */
        !            20:     STDMETHOD(QueryInterface)(REFIID riid, void FAR* FAR* ppv);
        !            21:     STDMETHOD_(unsigned long, AddRef)(void);
        !            22:     STDMETHOD_(unsigned long, Release)(void);
        !            23: 
        !            24:     /* IEnumVARIANT methods */
        !            25:     STDMETHOD(Next)(unsigned long celt, VARIANT FAR* rgvar, unsigned long FAR* pceltFetched);
        !            26:     STDMETHOD(Skip)(unsigned long celt);
        !            27:     STDMETHOD(Reset)(void);
        !            28:     STDMETHOD(Clone)(IEnumVARIANT FAR* FAR* ppenum);
        !            29: 
        !            30:     CEnumPoint();
        !            31: 
        !            32: private:
        !            33: 
        !            34:     unsigned long m_refs;
        !            35: 
        !            36:     unsigned long m_celts;
        !            37:     unsigned long m_iCurrent;
        !            38:     SAFEARRAY FAR* m_psa;
        !            39: };
        !            40: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.