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.

46 lines
879 B

  1. class FAR CLDAPNamespaceEnum : public CLDAPEnumVariant
  2. {
  3. public:
  4. // IEnumVARIANT methods
  5. STDMETHOD(Next)(ULONG cElements,
  6. VARIANT FAR* pvar,
  7. ULONG FAR* pcElementFetched);
  8. static
  9. HRESULT
  10. Create(
  11. CLDAPNamespaceEnum FAR* FAR*,
  12. VARIANT,
  13. CCredentials& Credentials,
  14. LPTSTR pszNamespace
  15. );
  16. CLDAPNamespaceEnum();
  17. ~CLDAPNamespaceEnum();
  18. HRESULT
  19. CLDAPNamespaceEnum::GetTreeObject(
  20. IDispatch ** ppDispatch
  21. );
  22. HRESULT
  23. CLDAPNamespaceEnum::EnumObjects(
  24. ULONG cElements,
  25. VARIANT FAR* pvar,
  26. ULONG FAR* pcElementFetched
  27. );
  28. private:
  29. DWORD _dwIndex;
  30. LPWSTR _pszNamespace;
  31. ObjectTypeList FAR *_pObjList;
  32. CCredentials _Credentials;
  33. DWORD _dwPort;
  34. };