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.

52 lines
1.1 KiB

  1. class CLDAPUserCollection;
  2. class CLDAPUserCollection : INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsMembers
  5. {
  6. public:
  7. /* IUnknown methods */
  8. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  9. DECLARE_STD_REFCOUNTING
  10. DECLARE_IDispatch_METHODS
  11. DECLARE_ISupportErrorInfo_METHODS
  12. DECLARE_IADsMembers_METHODS
  13. CLDAPUserCollection::CLDAPUserCollection();
  14. CLDAPUserCollection::~CLDAPUserCollection();
  15. static
  16. HRESULT
  17. CLDAPUserCollection::CreateUserCollection(
  18. BSTR bstrADsPath,
  19. VARIANT varMembers,
  20. CCredentials& Credentials,
  21. REFIID riid,
  22. void **ppvObj
  23. );
  24. static
  25. HRESULT
  26. CLDAPUserCollection::AllocateUserCollectionObject(
  27. CCredentials& Credentials,
  28. CLDAPUserCollection ** ppUser
  29. );
  30. protected:
  31. CDispatchMgr FAR * _pDispMgr;
  32. VARIANT _vMembers;
  33. VARIANT _vFilter;
  34. BSTR _ADsPath;
  35. CCredentials _Credentials;
  36. };
  37.