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.

97 lines
1.8 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1997
  5. //
  6. // File: ctree.hxx
  7. //
  8. // Contents: Microsoft ADs IIS Provider Tree Object
  9. //
  10. // History: 25-Feb-97 SophiaC Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. class CIISTree;
  14. class CIISTree : INHERIT_TRACKING,
  15. public CCoreADsObject,
  16. public IADs,
  17. public IADsContainer
  18. {
  19. public:
  20. /* IUnknown methods */
  21. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  22. DECLARE_STD_REFCOUNTING
  23. DECLARE_IDispatch_METHODS
  24. DECLARE_IADs_METHODS
  25. DECLARE_IADsContainer_METHODS
  26. CIISTree::CIISTree();
  27. CIISTree::~CIISTree();
  28. static
  29. HRESULT
  30. CIISTree::CreateServerObject(
  31. BSTR bstrADsPath,
  32. CCredentials& Credentials,
  33. DWORD dwObjectState,
  34. REFIID riid,
  35. void **ppvObj
  36. );
  37. static
  38. HRESULT
  39. CIISTree::CreateServerObject(
  40. BSTR Parent,
  41. BSTR CommonName,
  42. BSTR ClassName,
  43. CCredentials& Credentials,
  44. DWORD dwObjectState,
  45. REFIID riid,
  46. void **ppvObj
  47. );
  48. static
  49. HRESULT
  50. CIISTree::AllocateTree(
  51. CCredentials& Credentials,
  52. CIISTree ** ppTree
  53. );
  54. STDMETHOD(GetInfo)(
  55. BOOL fExplicit
  56. );
  57. HRESULT
  58. CIISTree::IISSetObject();
  59. HRESULT
  60. CIISTree::IISCreateObject();
  61. protected:
  62. VARIANT _vFilter;
  63. CPropertyCache FAR * _pPropertyCache;
  64. CAggregatorDispMgr FAR * _pDispMgr;
  65. CCredentials _Credentials;
  66. IMSAdminBase *_pAdminBase; //interface pointer
  67. IIsSchema *_pSchema;
  68. };