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.

48 lines
940 B

  1. class CNDSUserCollection;
  2. class CNDSUserCollection : INHERIT_TRACKING,
  3. public CCoreADsObject,
  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_IADsMembers_METHODS
  12. CNDSUserCollection::CNDSUserCollection();
  13. CNDSUserCollection::~CNDSUserCollection();
  14. static
  15. HRESULT
  16. CNDSUserCollection::CreateUserCollection(
  17. BSTR bstrADsPath,
  18. VARIANT varMembers,
  19. REFIID riid,
  20. void **ppvObj
  21. );
  22. static
  23. HRESULT
  24. CNDSUserCollection::AllocateUserCollectionObject(
  25. CNDSUserCollection ** ppUser
  26. );
  27. protected:
  28. CDispatchMgr FAR * _pDispMgr;
  29. VARIANT _vMembers;
  30. VARIANT _vFilter;
  31. BSTR _ADsPath;
  32. CCredentials _Credentials;
  33. };