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.

38 lines
782 B

  1. class FAR CNWCOMPATNamespaceEnum : public CNWCOMPATEnumVariant
  2. {
  3. public:
  4. //
  5. // IEnumVARIANT methods
  6. //
  7. STDMETHOD(Next)(
  8. ULONG cElements,
  9. VARIANT FAR* pvar,
  10. ULONG FAR* pcElementFetched
  11. );
  12. static HRESULT Create(
  13. CNWCOMPATNamespaceEnum FAR* FAR*
  14. );
  15. CNWCOMPATNamespaceEnum();
  16. ~CNWCOMPATNamespaceEnum();
  17. HRESULT
  18. CNWCOMPATNamespaceEnum::GetComputerObject(
  19. IDispatch ** ppDispatch
  20. );
  21. HRESULT
  22. CNWCOMPATNamespaceEnum::EnumComputers(
  23. ULONG cElements,
  24. VARIANT FAR* pvar,
  25. ULONG FAR* pcElementFetched
  26. );
  27. private:
  28. NWOBJ_ID _dwResumeObjectID;
  29. NWCONN_HANDLE _hConn;
  30. };