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.

87 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. NW_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. CCredentials &Credentials,
  28. DWORD dwObjectState,
  29. REFIID riid,
  30. void **ppvObj
  31. );
  32. static
  33. HRESULT
  34. CNWCOMPATGroup::AllocateGroupObject(
  35. CNWCOMPATGroup ** ppGroup
  36. );
  37. STDMETHODIMP
  38. CNWCOMPATGroup::SetInfo(
  39. THIS_ DWORD dwPropertyID
  40. );
  41. STDMETHOD(GetInfo)(
  42. THIS_ BOOL fExplicit,
  43. DWORD dwProperty
  44. ) ;
  45. protected:
  46. HRESULT
  47. CNWCOMPATGroup::SetDescription(
  48. NWCONN_HANDLE hConn
  49. );
  50. HRESULT
  51. CNWCOMPATGroup::GetProperty_Description(
  52. NWCONN_HANDLE hConn,
  53. BOOL fExplicit
  54. );
  55. ULONG _ParentType;
  56. BSTR _ServerName;
  57. CNWCOMPATGroupGenInfo *_pGenInfo;
  58. CDispatchMgr FAR *_pDispMgr;
  59. CPropertyCache * _pPropertyCache;
  60. CCredentials _Credentials;
  61. NWCONN_HANDLE _hConn;
  62. };