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.

74 lines
1.4 KiB

  1. class CNDSLocality;
  2. class CNDSLocality : INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsLocality,
  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_IADsPropertyList_METHODS
  22. DECLARE_IADsContainer_METHODS
  23. DECLARE_IADsLocality_METHODS
  24. CNDSLocality::CNDSLocality();
  25. CNDSLocality::~CNDSLocality();
  26. static
  27. HRESULT
  28. CNDSLocality::CreateLocality(
  29. IADs *pADs,
  30. REFIID riid,
  31. void **ppvObj
  32. );
  33. static
  34. HRESULT
  35. CNDSLocality::AllocateLocalityObject(
  36. IADs * pADs,
  37. CNDSLocality ** ppLocality
  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.