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.

35 lines
953 B

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1997
  5. //
  6. // File: cenumvar.hxx
  7. //
  8. // Contents: Windows NT 4.0 Enumerator Code
  9. //
  10. // History:
  11. //----------------------------------------------------------------------------
  12. class FAR CIISEnumVariant : public IEnumVARIANT
  13. {
  14. public:
  15. // IUnknown methods
  16. STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR* ppvObj);
  17. STDMETHOD_(ULONG, AddRef)();
  18. STDMETHOD_(ULONG, Release)();
  19. // IEnumVARIANT methods
  20. STDMETHOD(Next)(ULONG cElements,
  21. VARIANT FAR* pvar,
  22. ULONG FAR* pcElementFetched) PURE;
  23. STDMETHOD(Skip)(ULONG cElements);
  24. STDMETHOD(Reset)();
  25. STDMETHOD(Clone)(IEnumVARIANT FAR* FAR* ppenum);
  26. CIISEnumVariant();
  27. virtual ~CIISEnumVariant();
  28. private:
  29. ULONG m_cRef;
  30. };