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.

263 lines
8.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (c) Microsoft Corporation
  4. Module Name:
  5. NAPMMC.idl
  6. Abstract:
  7. IDL source for NAPMMC.dll
  8. This file will be processed by the MIDL tool to
  9. produce the type library (NAPMMC.tlb) and marshalling code.
  10. Author:
  11. Michael A. Maguire 11/6/97
  12. Revision History:
  13. mmaguire 11/6/97 - created using MMC snap-in wizard
  14. --*/
  15. //////////////////////////////////////////////////////////////////////////////
  16. import "oaidl.idl";
  17. import "ocidl.idl";
  18. // AttributeInfo.idl : IDL source for AttributeInfo.dll
  19. //
  20. // This file will be processed by the MIDL tool to
  21. // produce the type library (AttributeInfo.tlb) and marshalling code.
  22. import "sdoias.idl";
  23. [
  24. object,
  25. uuid(60F41BE3-06DF-11D2-95AA-0060B0576642),
  26. dual,
  27. helpstring("IIASAttributeInfo Interface"),
  28. pointer_default(unique)
  29. ]
  30. interface IIASAttributeInfo : IDispatch
  31. {
  32. [propget, id(1), helpstring("property AttributeID")] HRESULT AttributeID([out, retval] ATTRIBUTEID *pVal);
  33. [propput, id(1), helpstring("property AttributeID")] HRESULT AttributeID([in] ATTRIBUTEID newVal);
  34. [propget, id(2), helpstring("property AttributeName")] HRESULT AttributeName([out, retval] BSTR *pVal);
  35. [propput, id(2), helpstring("property AttributeName")] HRESULT AttributeName([in] BSTR newVal);
  36. [propget, id(3), helpstring("property AttributeSyntax")] HRESULT AttributeSyntax([out, retval] ATTRIBUTESYNTAX *pVal);
  37. [propput, id(3), helpstring("property AttributeSyntax")] HRESULT AttributeSyntax([in] ATTRIBUTESYNTAX newVal);
  38. [propget, id(4), helpstring("property AttributeRestriction")] HRESULT AttributeRestriction([out, retval] long *pVal);
  39. [propput, id(4), helpstring("property AttributeRestriction")] HRESULT AttributeRestriction([in] long newVal);
  40. [propget, id(5), helpstring("property VendorID")] HRESULT VendorID([out, retval] long *pVal);
  41. [propput, id(5), helpstring("property VendorID")] HRESULT VendorID([in] long newVal);
  42. [propget, id(6), helpstring("property AttributeDescription")] HRESULT AttributeDescription([out, retval] BSTR *pVal);
  43. [propput, id(6), helpstring("property AttributeDescription")] HRESULT AttributeDescription([in] BSTR newVal);
  44. [propget, id(7), helpstring("property VendorName")] HRESULT VendorName([out, retval] BSTR *pVal);
  45. [propput, id(7), helpstring("property VendorName")] HRESULT VendorName([in] BSTR newVal);
  46. [propget, id(8), helpstring("property SyntaxString")] HRESULT SyntaxString([out, retval] BSTR *pVal);
  47. [propput, id(8), helpstring("property SyntaxString")] HRESULT SyntaxString([in] BSTR newVal);
  48. [propget, id(9), helpstring("property EditorProgID")] HRESULT EditorProgID([out, retval] BSTR *pVal);
  49. [propput, id(9), helpstring("property EditorProgID")] HRESULT EditorProgID([in] BSTR newVal);
  50. };
  51. [
  52. object,
  53. uuid(9A407537-0A20-11D2-95B0-0060B0576642),
  54. dual,
  55. helpstring("IIASEnumerableAttributeInfo Interface"),
  56. pointer_default(unique)
  57. ]
  58. interface IIASEnumerableAttributeInfo : IDispatch
  59. {
  60. [propget, id(1), helpstring("property CountEnumerateID")] HRESULT CountEnumerateID([out, retval] long *pVal);
  61. [propget, id(2), helpstring("property EnumerateID")] HRESULT EnumerateID(long index, [out, retval] long *pVal);
  62. [id(3), helpstring("method EnumerateID")] HRESULT AddEnumerateID( [in] long newVal);
  63. [propget, id(4), helpstring("property CountEnumerateDescription")] HRESULT CountEnumerateDescription([out, retval] long *pVal);
  64. [propget, id(5), helpstring("property EnumerateDescription")] HRESULT EnumerateDescription(long index, [out, retval] BSTR *pVal);
  65. [id(6), helpstring("method EnumerateDescription")] HRESULT AddEnumerateDescription( [in] BSTR newVal);
  66. };
  67. [
  68. object,
  69. uuid(CB2418D2-0709-11D2-95AB-0060B0576642),
  70. dual,
  71. helpstring("IIASAttributeEditor Interface"),
  72. pointer_default(unique)
  73. ]
  74. interface IIASAttributeEditor : IDispatch
  75. {
  76. [id(6), helpstring("method Edit")] HRESULT Edit( [in] IIASAttributeInfo *pIASAttributeInfo, [in] VARIANT *pVal, [in, out] BSTR *pReserved );
  77. [id(7), helpstring("method GetDisplayInfo")] HRESULT GetDisplayInfo([in] IIASAttributeInfo *pIASAttributeInfo, [in] VARIANT *pVal, [out] BSTR *pVendorName, [out] BSTR *pValueAsString, [in, out] BSTR *pReserved);
  78. };
  79. [
  80. object,
  81. uuid(C54EC3BA-7442-11d2-A036-0060B0576642),
  82. dual,
  83. helpstring("IIASNASVendors Interface"),
  84. pointer_default(unique)
  85. ]
  86. interface IIASNASVendors : IDispatch
  87. {
  88. [id(1), helpstring("method InitFromSdo")] HRESULT InitFromSdo( [in] ISdoCollection *pSdoVendorsCollection );
  89. [propget, id(2), helpstring("property Size")] HRESULT Size([out, retval] long *plCount);
  90. [propget, id(3), helpstring("property VendorName")] HRESULT VendorName( [in] long lIndex, [out, retval] BSTR *pVendorName);
  91. [propget, id(4), helpstring("property VendorID")] HRESULT VendorID( [in] long lIndex, [out, retval] long *pVendorID);
  92. [propget, id(5), helpstring("property VendorIDToOrdinal")] HRESULT VendorIDToOrdinal( [in] long lVendorID, [out, retval] long *plIndex);
  93. };
  94. [
  95. uuid(5880CD5B-8EC0-11d1-9570-0060B0576642),
  96. version(1.0),
  97. helpstring("NAPMMC 1.0 Type Library")
  98. ]
  99. library NAPMMCLib
  100. {
  101. importlib("stdole2.tlb");
  102. [
  103. uuid(5880CD5C-8EC0-11d1-9570-0060B0576642),
  104. helpstring("NAPSnapin Class")
  105. ]
  106. coclass NAPSnapin
  107. {
  108. [default] interface IUnknown;
  109. }
  110. [
  111. uuid(5880CD5D-8EC0-11d1-9570-0060B0576642),
  112. helpstring("NAPSnapin Class About")
  113. ]
  114. coclass NAPSnapinAbout
  115. {
  116. [default] interface IUnknown;
  117. }
  118. [
  119. uuid(2E19B602-48EB-11d2-83CA-00104BCA42CF),
  120. helpstring("Logging Snapin Class")
  121. ]
  122. coclass LoggingSnapin
  123. {
  124. [default] interface IUnknown;
  125. }
  126. [
  127. uuid(2E19B603-48EB-11d2-83CA-00104BCA42CF),
  128. helpstring("Logging Snapin About Class")
  129. ]
  130. coclass LoggingSnapinAbout
  131. {
  132. [default] interface IUnknown;
  133. }
  134. [
  135. uuid(60F41BE4-06DF-11D2-95AA-0060B0576642),
  136. helpstring("IASAttributeInfo Class")
  137. ]
  138. coclass IASAttributeInfo
  139. {
  140. [default] interface IIASAttributeInfo;
  141. };
  142. [
  143. uuid(9A407538-0A20-11D2-95B0-0060B0576642),
  144. helpstring("IASEnumerableAttributeInfo Class")
  145. ]
  146. coclass IASEnumerableAttributeInfo
  147. {
  148. [default] interface IIASAttributeInfo;
  149. interface IIASEnumerableAttributeInfo;
  150. };
  151. [
  152. uuid(CB2418D3-0709-11D2-95AB-0060B0576642),
  153. helpstring("IASIPAttributeEditor Class")
  154. ]
  155. coclass IASIPAttributeEditor
  156. {
  157. [default] interface IIASAttributeEditor;
  158. };
  159. [
  160. uuid(B3B443EF-0728-11D2-95AC-0060B0576642),
  161. helpstring("IASMultivaluedAttributeEditor Class")
  162. ]
  163. coclass IASMultivaluedAttributeEditor
  164. {
  165. [default] interface IIASAttributeEditor;
  166. };
  167. [
  168. uuid(D601D57D-085B-11D2-95AF-0060B0576642),
  169. helpstring("IASVendorSpecificAttributeEditor Class")
  170. ]
  171. coclass IASVendorSpecificAttributeEditor
  172. {
  173. [default] interface IIASAttributeEditor;
  174. };
  175. [
  176. uuid(5F7B221A-086B-11D2-95AF-0060B0576642),
  177. helpstring("IASEnumerableAttributeEditor Class")
  178. ]
  179. coclass IASEnumerableAttributeEditor
  180. {
  181. [default] interface IIASAttributeEditor;
  182. };
  183. [
  184. uuid(1ABAAF84-086F-11D2-95AF-0060B0576642),
  185. helpstring("IASStringAttributeEditor Class")
  186. ]
  187. coclass IASStringAttributeEditor
  188. {
  189. [default] interface IIASAttributeEditor;
  190. };
  191. [
  192. uuid(B5C59858-C75A-4bb9-B5C4-5ED0645BEEE0),
  193. helpstring("IASBooleanAttributeEditor Class")
  194. ]
  195. coclass IASBooleanAttributeEditor
  196. {
  197. [default] interface IIASAttributeEditor;
  198. };
  199. [
  200. uuid(2F744DCA-BDB9-470e-B86E-C740B34C8017),
  201. helpstring("IASIPFilterAttributeEditor Class")
  202. ]
  203. coclass IASIPFilterAttributeEditor
  204. {
  205. [default] interface IIASAttributeEditor;
  206. };
  207. [
  208. uuid(A9E6F356-317C-11d2-805D-0060B0576642),
  209. helpstring("IASGroupsAttributeEditor Class")
  210. ]
  211. coclass IASGroupsAttributeEditor
  212. {
  213. [default] interface IIASAttributeEditor;
  214. };
  215. [
  216. uuid(C54EC3BB-7442-11d2-A036-0060B0576642),
  217. helpstring("IASNASVendors Class")
  218. ]
  219. coclass IASNASVendors
  220. {
  221. [default] interface IIASNASVendors;
  222. };
  223. };