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.

84 lines
1.7 KiB

  1. class CNWCOMPATGroup;
  2. class CNWCOMPATGroup : INHERIT_TRACKING,
  3. public CCoreADsObject,
  4. public ISupportErrorInfo,
  5. public IADsGroup,
  6. public IADsPropertyList
  7. {
  8. friend class CNWCOMPATGroupGenInfo;
  9. public:
  10. /* IUnknown methods */
  11. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  12. DECLARE_STD_REFCOUNTING
  13. DECLARE_IDispatch_METHODS
  14. DECLARE_ISupportErrorInfo_METHODS
  15. DECLARE_IADs_METHODS
  16. DECLARE_IADsGroup_METHODS
  17. DECLARE_IADsPropertyList_METHODS
  18. CNWCOMPATGroup::CNWCOMPATGroup();
  19. CNWCOMPATGroup::~CNWCOMPATGroup();
  20. static
  21. HRESULT
  22. CNWCOMPATGroup::CreateGroup(
  23. BSTR Parent,
  24. ULONG ParentType,
  25. BSTR ServerName,
  26. BSTR GroupName,
  27. DWORD dwObjectState,
  28. REFIID riid,
  29. void **ppvObj
  30. );
  31. static
  32. HRESULT
  33. CNWCOMPATGroup::AllocateGroupObject(
  34. CNWCOMPATGroup ** ppGroup
  35. );
  36. STDMETHODIMP
  37. CNWCOMPATGroup::SetInfo(
  38. THIS_ DWORD dwPropertyID
  39. );
  40. STDMETHOD(GetInfo)(
  41. THIS_ BOOL fExplicit,
  42. DWORD dwProperty
  43. ) ;
  44. protected:
  45. HRESULT
  46. CNWCOMPATGroup::SetDescription(
  47. NWCONN_HANDLE hConn
  48. );
  49. HRESULT
  50. CNWCOMPATGroup::GetProperty_Description(
  51. NWCONN_HANDLE hConn,
  52. BOOL fExplicit
  53. );
  54. ULONG _ParentType;
  55. BSTR _ServerName;
  56. CNWCOMPATGroupGenInfo *_pGenInfo;
  57. CAggregatorDispMgr FAR *_pDispMgr;
  58. CADsExtMgr FAR * _pExtMgr;
  59. CPropertyCache * _pPropertyCache;
  60. };