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.

62 lines
1.3 KiB

  1. class FAR CWinNTNamespaceEnum : public CWinNTEnumVariant
  2. {
  3. public:
  4. // IEnumVARIANT methods
  5. STDMETHOD(Next)(ULONG cElements,
  6. VARIANT FAR* pvar,
  7. ULONG FAR* pcElementFetched);
  8. static HRESULT Create(CWinNTNamespaceEnum FAR* FAR*, VARIANT var ,
  9. CWinNTCredentials& Credentials);
  10. CWinNTNamespaceEnum();
  11. ~CWinNTNamespaceEnum();
  12. HRESULT
  13. CWinNTNamespaceEnum::GetDomainObject(
  14. IDispatch ** ppDispatch
  15. );
  16. HRESULT
  17. CWinNTNamespaceEnum::EnumDomains(
  18. ULONG cElements,
  19. VARIANT FAR* pvar,
  20. ULONG FAR* pcElementFetched
  21. );
  22. HRESULT
  23. CWinNTNamespaceEnum::EnumObjects(
  24. ULONG cElements,
  25. VARIANT FAR* pvar,
  26. ULONG FAR* pcElementFetched
  27. );
  28. HRESULT
  29. CWinNTNamespaceEnum::EnumObjects(
  30. DWORD ObjectType,
  31. ULONG cElements,
  32. VARIANT FAR * pvar,
  33. ULONG FAR * pcElementFetched
  34. );
  35. private:
  36. ObjectTypeList FAR *_pObjList;
  37. PSERVER_INFO_100 _pBuffer;
  38. DWORD _dwObjectReturned;
  39. DWORD _dwObjectCurrentEntry;
  40. DWORD _dwObjectTotal;
  41. DWORD _dwResumeHandle;
  42. BOOL _bNoMore;
  43. CWinNTCredentials _Credentials;
  44. };