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.

77 lines
1.5 KiB

  1. class CNDSOrganization;
  2. class CNDSOrganization : INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsO,
  5. public IADsContainer,
  6. public IDirectoryObject,
  7. public IDirectorySearch,
  8. public IDirectorySchemaMgmt,
  9. public IADsPropertyList
  10. {
  11. public:
  12. /* IUnknown methods */
  13. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  14. DECLARE_STD_REFCOUNTING
  15. DECLARE_IDispatch_METHODS
  16. DECLARE_ISupportErrorInfo_METHODS
  17. DECLARE_IADs_METHODS
  18. DECLARE_IDirectoryObject_METHODS
  19. DECLARE_IDirectorySearch_METHODS
  20. DECLARE_IDirectorySchemaMgmt_METHODS
  21. DECLARE_IADsO_METHODS
  22. DECLARE_IADsContainer_METHODS
  23. DECLARE_IADsPropertyList_METHODS
  24. CNDSOrganization::CNDSOrganization();
  25. CNDSOrganization::~CNDSOrganization();
  26. static
  27. HRESULT
  28. CNDSOrganization::CreateOrganization(
  29. IADs *pADs,
  30. REFIID riid,
  31. void **ppvObj
  32. );
  33. static
  34. HRESULT
  35. CNDSOrganization::AllocateOrganizationObject(
  36. IADs * pADs,
  37. CNDSOrganization ** ppOrganization
  38. );
  39. protected:
  40. IADs FAR * _pADs;
  41. IDirectoryObject FAR * _pDSObject;
  42. IDirectorySearch FAR * _pDSSearch;
  43. IDirectorySchemaMgmt FAR * _pDSSchemaMgmt;
  44. IADsContainer FAR * _pADsContainer;
  45. IADsPropertyList FAR * _pADsPropList;
  46. CDispatchMgr FAR * _pDispMgr;
  47. };
  48. 
  49.