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.

130 lines
3.9 KiB

  1. // iis.odl : type library source for adsiis.dll
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (adsiis.tlb).
  4. #include "iis2.h"
  5. #define DISPID_IADs_UPPER_BOUND 100
  6. cpp_quote("DEFINE_GUID(LIBID_IISOle,0x49D704A0L,0x89F7,0x11D0,0x85,0x27,0x00,0xC0,0x4F,0xD8,0xD5,0x03);")
  7. cpp_quote("DEFINE_GUID(IID_IISBaseObject, 0x4b42e390, 0xe96, 0x11d1, 0x9c, 0x3f, 0x0, 0xa0,0xc9, 0x22, 0xe7, 0x3);")
  8. [ uuid(IIS_LIBIID_IISOle), version(1.0),
  9. helpstring("Active DS IIS Namespace Provider") ]
  10. library IISOle
  11. {
  12. importlib("stdole2.tlb");
  13. importlib("..\\oleds2.0\\types\\activeds.tlb");
  14. [ uuid(IIS_IID_IISMimeType), oleautomation, dual]
  15. interface IISMimeType : IDispatch
  16. {
  17. PROPERTY_BSTR_RW(MimeType, 4)
  18. PROPERTY_BSTR_RW(Extension, 5)
  19. };
  20. [ uuid(IIS_CLSID_MimeType)]
  21. coclass MimeMap
  22. {
  23. [default] interface IISMimeType;
  24. interface IDispatch;
  25. };
  26. [ uuid(IIS_IID_IISIPSecurity), oleautomation, dual]
  27. interface IISIPSecurity : IDispatch
  28. {
  29. PROPERTY_VARIANT_RW(IPDeny, 4)
  30. PROPERTY_VARIANT_RW(IPGrant, 5)
  31. PROPERTY_VARIANT_RW(DomainDeny, 6)
  32. PROPERTY_VARIANT_RW(DomainGrant, 7)
  33. PROPERTY_VARIANT_BOOL_RW(GrantByDefault, 8)
  34. };
  35. [ uuid(IIS_CLSID_IPSecurity)]
  36. coclass IPSecurity
  37. {
  38. [default] interface IISIPSecurity;
  39. interface IDispatch;
  40. };
  41. [ uuid(IIS_CLSID_IISNamespace)]
  42. coclass IISNamespace
  43. {
  44. [default] interface IADsContainer;
  45. interface IADs;
  46. interface IDispatch;
  47. };
  48. [uuid(IIS_CLSID_IISProvider)]
  49. coclass IISProvider
  50. {
  51. [default] interface IDispatch;
  52. interface IUnknown;
  53. };
  54. [ uuid(IIS_IID_IISBaseObject), oleautomation, dual]
  55. interface IISBaseObject : IDispatch
  56. {
  57. //methods
  58. [id(DISPID_IADs_UPPER_BOUND+1)]
  59. HRESULT
  60. GetDataPaths(
  61. [in] BSTR bstrName,
  62. [in] LONG lnAttribute,
  63. [out, retval] VARIANT *pvPaths
  64. );
  65. [id(DISPID_IADs_UPPER_BOUND+2)]
  66. HRESULT
  67. GetPropertyAttribObj(
  68. [in] BSTR bstrName,
  69. [out, retval] IDispatch **ppObject
  70. );
  71. };
  72. [ uuid(IIS_IID_IISSchemaObject), oleautomation, dual]
  73. interface IISSchemaObject : IDispatch
  74. {
  75. //methods
  76. [id(DISPID_IADs_UPPER_BOUND+1)]
  77. HRESULT
  78. GetSchemaPropertyAttributes(
  79. [in] BSTR bstrName,
  80. [out, retval] IDispatch **ppObject
  81. );
  82. [id(DISPID_IADs_UPPER_BOUND+2)]
  83. HRESULT
  84. PutSchemaPropertyAttributes(
  85. [in] IDispatch *pObject
  86. );
  87. };
  88. [ uuid(IIS_IID_IISPropertyAttribute), oleautomation, dual]
  89. interface IISPropertyAttribute : IDispatch
  90. {
  91. PROPERTY_BSTR_RO(PropName, 4)
  92. PROPERTY_LONG_RW(MetaId, 5)
  93. PROPERTY_LONG_RW(UserType, 6)
  94. PROPERTY_LONG_RO(AllAttributes, 7)
  95. PROPERTY_VARIANT_BOOL_RW(Inherit, 8)
  96. PROPERTY_VARIANT_BOOL_RW(Secure, 9)
  97. PROPERTY_VARIANT_BOOL_RW(Reference, 10)
  98. PROPERTY_VARIANT_BOOL_RW(Volatile, 11)
  99. PROPERTY_VARIANT_BOOL_RO(Isinherit, 12)
  100. PROPERTY_VARIANT_RW(Default, 13)
  101. };
  102. [ uuid(IIS_CLSID_PropertyAttribute)]
  103. coclass PropertyAttribute
  104. {
  105. [default] interface IISPropertyAttribute;
  106. interface IDispatch;
  107. };
  108. };