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.

28 lines
717 B

  1. class FAR CEnumVariant : public IEnumVARIANT
  2. {
  3. public:
  4. // IUnknown methods
  5. STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR* ppvObj);
  6. STDMETHOD_(ULONG, AddRef)();
  7. STDMETHOD_(ULONG, Release)();
  8. // IEnumVARIANT methods
  9. STDMETHOD(Next)(ULONG cElements, VARIANT FAR* pvar, ULONG FAR* pcElementFetched);
  10. STDMETHOD(Skip)(ULONG cElements);
  11. STDMETHOD(Reset)();
  12. STDMETHOD(Clone)(IEnumVARIANT FAR* FAR* ppenum);
  13. CEnumVariant();
  14. ~CEnumVariant();
  15. static HRESULT
  16. CEnumVariant::Create(IEnumVARIANT **ppenum);
  17. private:
  18. ULONG _cRef; // Reference count
  19. CADsNamespaces * _pNamespaces;
  20. PROUTER_ENTRY _lpCurrentRouterEntry;
  21. };