Source code of Windows XP (NT5)
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.

40 lines
825 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. CCredentials &Credentials,
  14. CNWCOMPATNamespaceEnum FAR* FAR*
  15. );
  16. CNWCOMPATNamespaceEnum();
  17. ~CNWCOMPATNamespaceEnum();
  18. HRESULT
  19. CNWCOMPATNamespaceEnum::GetComputerObject(
  20. IDispatch ** ppDispatch
  21. );
  22. HRESULT
  23. CNWCOMPATNamespaceEnum::EnumComputers(
  24. ULONG cElements,
  25. VARIANT FAR* pvar,
  26. ULONG FAR* pcElementFetched
  27. );
  28. private:
  29. NWOBJ_ID _dwResumeObjectID;
  30. NWCONN_HANDLE _hConn;
  31. CCredentials _Credentials;
  32. };