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.

70 lines
1.3 KiB

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