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.

51 lines
1.1 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. 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. REFIID riid,
  24. void **ppvObj
  25. );
  26. static
  27. HRESULT
  28. CNWCOMPATUserCollection::AllocateUserCollectionObject(
  29. CNWCOMPATUserCollection ** ppUser
  30. );
  31. protected:
  32. ULONG _ParentType;
  33. BSTR _ServerName;
  34. BSTR _lpServerName;
  35. CAggregatorDispMgr FAR * _pDispMgr;
  36. VARIANT _vFilter;
  37. };