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.

53 lines
1.2 KiB

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