CENUMVAR.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /*++
- Copyright (c) 1996 Microsoft Corporation
- Module Name:
- CEnumVar.h
- Abstract:
- Author:
- Environment:
- User mode
- Revision History :
- --*/
- #ifndef _CENUMVAR_H_
- #define _CENUMVAR_H_
- class FAR CSampleDSEnumVariant : public IEnumVARIANT
- {
- public:
- // IUnknown methods
- STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR* ppvObj) ;
- STDMETHOD_(ULONG, AddRef)() ;
- STDMETHOD_(ULONG, Release)() ;
- // IEnumVARIANT methods
- STDMETHOD(Next)(ULONG cElements,
- VARIANT FAR* pvar,
- ULONG FAR* pcElementFetched) PURE;
- STDMETHOD(Skip)(ULONG cElements);
- STDMETHOD(Reset)();
- STDMETHOD(Clone)(IEnumVARIANT FAR* FAR* ppenum);
- CSampleDSEnumVariant();
- ~CSampleDSEnumVariant();
- private:
- ULONG m_cRef;
- };
- #endif