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.5 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1997.
  5. //
  6. // File: cschobj.hxx
  7. //
  8. // Contents: Microsoft ADs IIS Provider Schema Object
  9. //
  10. // History: 01-30-98 sophiac Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. class CIISSchema : INHERIT_TRACKING,
  14. public CCoreADsObject,
  15. public IADs,
  16. public IADsContainer,
  17. public IISSchemaObject
  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. DECLARE_IISSchemaObject_METHODS
  27. CIISSchema::CIISSchema();
  28. CIISSchema::~CIISSchema();
  29. static
  30. HRESULT
  31. CIISSchema::CreateSchema(
  32. LPWSTR pszServerName,
  33. BSTR Parent,
  34. BSTR CommonName,
  35. DWORD dwObjectState,
  36. REFIID riid,
  37. void **ppvObj
  38. );
  39. static
  40. HRESULT
  41. CIISSchema::AllocateSchemaObject(
  42. CIISSchema ** ppSchema
  43. );
  44. STDMETHODIMP
  45. CIISSchema::GetInfo(
  46. THIS_ DWORD dwApiLevel,
  47. BOOL fExplicit
  48. );
  49. private:
  50. CAggregatorDispMgr FAR * _pDispMgr;
  51. LPWSTR _pszServerName;
  52. IMSAdminBase *_pAdminBase; //interface pointer
  53. IIsSchema *_pSchema;
  54. };