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.

3586 lines
119 KiB

  1. // Created by Microsoft (R) C/C++ Compiler Version 13.00.9176 (a63ade41).
  2. //
  3. // d:\fus6\base\win32\fusion\shims\obj\i386\msxml3.tlh
  4. //
  5. // C++ source equivalent of Win32 type library msxml3.dll
  6. // compiler-generated file created 08/08/01 at 15:10:30 - DO NOT EDIT!
  7. #pragma once
  8. #pragma pack(push, 8)
  9. #include <comdef.h>
  10. namespace F { namespace MSXML2 {
  11. //
  12. // Forward references and typedefs
  13. //
  14. struct __declspec(uuid("f5078f18-c551-11d3-89b9-0000f81fe221"))
  15. /* LIBID */ __MSXML2;
  16. struct __declspec(uuid("65725580-9b5d-11d0-9bfe-00c04fc99c8e"))
  17. /* dual interface */ IXMLElementCollection;
  18. struct __declspec(uuid("f52e2b61-18a1-11d1-b105-00805f49916b"))
  19. /* dual interface */ IXMLDocument;
  20. struct __declspec(uuid("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e"))
  21. /* dual interface */ IXMLElement;
  22. struct __declspec(uuid("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9"))
  23. /* interface */ IXMLDocument2;
  24. struct __declspec(uuid("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9"))
  25. /* dual interface */ IXMLElement2;
  26. struct __declspec(uuid("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596"))
  27. /* dual interface */ IXMLAttribute;
  28. struct __declspec(uuid("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e"))
  29. /* interface */ IXMLError;
  30. struct _xml_error;
  31. struct __declspec(uuid("2933bf8f-7b36-11d2-b20e-00c04f983e60"))
  32. /* dual interface */ IXMLDOMImplementation;
  33. struct __declspec(uuid("2933bf80-7b36-11d2-b20e-00c04f983e60"))
  34. /* dual interface */ IXMLDOMNode;
  35. typedef enum tagDOMNodeType DOMNodeType;
  36. enum tagDOMNodeType;
  37. struct __declspec(uuid("2933bf82-7b36-11d2-b20e-00c04f983e60"))
  38. /* dual interface */ IXMLDOMNodeList;
  39. struct __declspec(uuid("2933bf83-7b36-11d2-b20e-00c04f983e60"))
  40. /* dual interface */ IXMLDOMNamedNodeMap;
  41. struct __declspec(uuid("2933bf81-7b36-11d2-b20e-00c04f983e60"))
  42. /* dual interface */ IXMLDOMDocument;
  43. struct __declspec(uuid("2933bf8b-7b36-11d2-b20e-00c04f983e60"))
  44. /* dual interface */ IXMLDOMDocumentType;
  45. struct __declspec(uuid("2933bf86-7b36-11d2-b20e-00c04f983e60"))
  46. /* dual interface */ IXMLDOMElement;
  47. struct __declspec(uuid("2933bf85-7b36-11d2-b20e-00c04f983e60"))
  48. /* dual interface */ IXMLDOMAttribute;
  49. struct __declspec(uuid("3efaa413-272f-11d2-836f-0000f87a7782"))
  50. /* dual interface */ IXMLDOMDocumentFragment;
  51. struct __declspec(uuid("2933bf87-7b36-11d2-b20e-00c04f983e60"))
  52. /* dual interface */ IXMLDOMText;
  53. struct __declspec(uuid("2933bf84-7b36-11d2-b20e-00c04f983e60"))
  54. /* dual interface */ IXMLDOMCharacterData;
  55. struct __declspec(uuid("2933bf88-7b36-11d2-b20e-00c04f983e60"))
  56. /* dual interface */ IXMLDOMComment;
  57. struct __declspec(uuid("2933bf8a-7b36-11d2-b20e-00c04f983e60"))
  58. /* dual interface */ IXMLDOMCDATASection;
  59. struct __declspec(uuid("2933bf89-7b36-11d2-b20e-00c04f983e60"))
  60. /* dual interface */ IXMLDOMProcessingInstruction;
  61. struct __declspec(uuid("2933bf8e-7b36-11d2-b20e-00c04f983e60"))
  62. /* dual interface */ IXMLDOMEntityReference;
  63. struct __declspec(uuid("3efaa426-272f-11d2-836f-0000f87a7782"))
  64. /* dual interface */ IXMLDOMParseError;
  65. struct __declspec(uuid("373984c8-b845-449b-91e7-45ac83036ade"))
  66. /* dual interface */ IXMLDOMSchemaCollection;
  67. struct __declspec(uuid("2933bf95-7b36-11d2-b20e-00c04f983e60"))
  68. /* dual interface */ IXMLDOMDocument2;
  69. struct __declspec(uuid("2933bf8c-7b36-11d2-b20e-00c04f983e60"))
  70. /* dual interface */ IXMLDOMNotation;
  71. struct __declspec(uuid("2933bf8d-7b36-11d2-b20e-00c04f983e60"))
  72. /* dual interface */ IXMLDOMEntity;
  73. struct __declspec(uuid("3efaa425-272f-11d2-836f-0000f87a7782"))
  74. /* dual interface */ IXTLRuntime;
  75. struct __declspec(uuid("2933bf93-7b36-11d2-b20e-00c04f983e60"))
  76. /* dual interface */ IXSLTemplate;
  77. struct __declspec(uuid("2933bf92-7b36-11d2-b20e-00c04f983e60"))
  78. /* dual interface */ IXSLProcessor;
  79. struct __declspec(uuid("a4f96ed0-f829-476e-81c0-cdc7bd2a0802"))
  80. /* interface */ ISAXXMLReader;
  81. struct __declspec(uuid("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07"))
  82. /* interface */ ISAXEntityResolver;
  83. struct __declspec(uuid("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44"))
  84. /* interface */ ISAXContentHandler;
  85. struct __declspec(uuid("9b7e472a-0de4-4640-bff3-84d38a051c31"))
  86. /* interface */ ISAXLocator;
  87. struct __declspec(uuid("f078abe1-45d2-4832-91ea-4466ce2f25c9"))
  88. /* interface */ ISAXAttributes;
  89. struct __declspec(uuid("e15c1baf-afb3-4d60-8c36-19a8c45defed"))
  90. /* interface */ ISAXDTDHandler;
  91. struct __declspec(uuid("a60511c4-ccf5-479e-98a3-dc8dc545b7d0"))
  92. /* interface */ ISAXErrorHandler;
  93. struct __declspec(uuid("70409222-ca09-4475-acb8-40312fe8d145"))
  94. /* interface */ ISAXXMLFilter;
  95. struct __declspec(uuid("7f85d5f5-47a8-4497-bda5-84ba04819ea6"))
  96. /* interface */ ISAXLexicalHandler;
  97. struct __declspec(uuid("862629ac-771a-47b2-8337-4e6843c1be90"))
  98. /* interface */ ISAXDeclHandler;
  99. struct __declspec(uuid("8c033caa-6cd6-4f73-b728-4531af74945f"))
  100. /* dual interface */ IVBSAXXMLReader;
  101. struct __declspec(uuid("0c05d096-f45b-4aca-ad1a-aa0bc25518dc"))
  102. /* dual interface */ IVBSAXEntityResolver;
  103. struct __declspec(uuid("2ed7290a-4dd5-4b46-bb26-4e4155e77faa"))
  104. /* dual interface */ IVBSAXContentHandler;
  105. struct __declspec(uuid("796e7ac5-5aa2-4eff-acad-3faaf01a3288"))
  106. /* dual interface */ IVBSAXLocator;
  107. struct __declspec(uuid("10dc0586-132b-4cac-8bb3-db00ac8b7ee0"))
  108. /* dual interface */ IVBSAXAttributes;
  109. struct __declspec(uuid("24fb3297-302d-4620-ba39-3a732d850558"))
  110. /* dual interface */ IVBSAXDTDHandler;
  111. struct __declspec(uuid("d963d3fe-173c-4862-9095-b92f66995f52"))
  112. /* dual interface */ IVBSAXErrorHandler;
  113. struct __declspec(uuid("1299eb1b-5b88-433e-82de-82ca75ad4e04"))
  114. /* dual interface */ IVBSAXXMLFilter;
  115. struct __declspec(uuid("032aac35-8c0e-4d9d-979f-e3b702935576"))
  116. /* dual interface */ IVBSAXLexicalHandler;
  117. struct __declspec(uuid("e8917260-7579-4be1-b5dd-7afbfa6f077b"))
  118. /* dual interface */ IVBSAXDeclHandler;
  119. struct __declspec(uuid("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d"))
  120. /* dual interface */ IMXWriter;
  121. struct __declspec(uuid("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262"))
  122. /* dual interface */ IMXAttributes;
  123. struct __declspec(uuid("808f4e35-8d5a-4fbe-8466-33a41279ed30"))
  124. /* dual interface */ IMXReaderControl;
  125. typedef enum tagXMLEMEM_TYPE XMLELEM_TYPE;
  126. enum tagXMLEMEM_TYPE;
  127. struct __declspec(uuid("aa634fc7-5888-44a7-a257-3a47150d3a0e"))
  128. /* dual interface */ IXMLDOMSelection;
  129. struct __declspec(uuid("3efaa427-272f-11d2-836f-0000f87a7782"))
  130. /* dispinterface */ XMLDOMDocumentEvents;
  131. struct __declspec(uuid("310afa62-0575-11d2-9ca9-0060b0ec3d39"))
  132. /* dual interface */ IDSOControl;
  133. struct __declspec(uuid("ed8c108d-4349-11d2-91a4-00c04f7969e8"))
  134. /* dual interface */ IXMLHTTPRequest;
  135. struct __declspec(uuid("2e9196bf-13ba-4dd4-91ca-6c571f281495"))
  136. /* dual interface */ IServerXMLHTTPRequest;
  137. struct /* coclass */ XMLDocument;
  138. struct /* coclass */ DOMDocument;
  139. struct /* coclass */ DOMDocument26;
  140. struct /* coclass */ DOMDocument30;
  141. struct /* coclass */ FreeThreadedDOMDocument;
  142. struct /* coclass */ FreeThreadedDOMDocument26;
  143. struct /* coclass */ FreeThreadedDOMDocument30;
  144. struct /* coclass */ XMLSchemaCache;
  145. struct /* coclass */ XMLSchemaCache26;
  146. struct /* coclass */ XMLSchemaCache30;
  147. struct /* coclass */ XSLTemplate;
  148. struct /* coclass */ XSLTemplate26;
  149. struct /* coclass */ XSLTemplate30;
  150. struct /* coclass */ DSOControl;
  151. struct /* coclass */ DSOControl26;
  152. struct /* coclass */ DSOControl30;
  153. struct /* coclass */ XMLHTTP;
  154. struct /* coclass */ XMLHTTP26;
  155. struct /* coclass */ XMLHTTP30;
  156. struct /* coclass */ ServerXMLHTTP;
  157. struct /* coclass */ ServerXMLHTTP30;
  158. struct /* coclass */ SAXXMLReader;
  159. struct /* coclass */ SAXXMLReader30;
  160. struct /* coclass */ MXXMLWriter;
  161. struct /* coclass */ MXXMLWriter30;
  162. struct /* coclass */ SAXAttributes;
  163. struct /* coclass */ SAXAttributes30;
  164. //
  165. // Smart pointer typedef declarations
  166. //
  167. _COM_SMARTPTR_TYPEDEF(IXMLElementCollection, __uuidof(IXMLElementCollection));
  168. _COM_SMARTPTR_TYPEDEF(IXMLElement, __uuidof(IXMLElement));
  169. _COM_SMARTPTR_TYPEDEF(IXMLDocument, __uuidof(IXMLDocument));
  170. _COM_SMARTPTR_TYPEDEF(IXMLElement2, __uuidof(IXMLElement2));
  171. _COM_SMARTPTR_TYPEDEF(IXMLDocument2, __uuidof(IXMLDocument2));
  172. _COM_SMARTPTR_TYPEDEF(IXMLAttribute, __uuidof(IXMLAttribute));
  173. _COM_SMARTPTR_TYPEDEF(IXMLError, __uuidof(IXMLError));
  174. _COM_SMARTPTR_TYPEDEF(IXMLDOMImplementation, __uuidof(IXMLDOMImplementation));
  175. _COM_SMARTPTR_TYPEDEF(IXMLDOMParseError, __uuidof(IXMLDOMParseError));
  176. _COM_SMARTPTR_TYPEDEF(ISAXEntityResolver, __uuidof(ISAXEntityResolver));
  177. _COM_SMARTPTR_TYPEDEF(ISAXLocator, __uuidof(ISAXLocator));
  178. _COM_SMARTPTR_TYPEDEF(ISAXAttributes, __uuidof(ISAXAttributes));
  179. _COM_SMARTPTR_TYPEDEF(ISAXContentHandler, __uuidof(ISAXContentHandler));
  180. _COM_SMARTPTR_TYPEDEF(ISAXDTDHandler, __uuidof(ISAXDTDHandler));
  181. _COM_SMARTPTR_TYPEDEF(ISAXErrorHandler, __uuidof(ISAXErrorHandler));
  182. _COM_SMARTPTR_TYPEDEF(ISAXXMLReader, __uuidof(ISAXXMLReader));
  183. _COM_SMARTPTR_TYPEDEF(ISAXXMLFilter, __uuidof(ISAXXMLFilter));
  184. _COM_SMARTPTR_TYPEDEF(ISAXLexicalHandler, __uuidof(ISAXLexicalHandler));
  185. _COM_SMARTPTR_TYPEDEF(ISAXDeclHandler, __uuidof(ISAXDeclHandler));
  186. _COM_SMARTPTR_TYPEDEF(IVBSAXEntityResolver, __uuidof(IVBSAXEntityResolver));
  187. _COM_SMARTPTR_TYPEDEF(IVBSAXLocator, __uuidof(IVBSAXLocator));
  188. _COM_SMARTPTR_TYPEDEF(IVBSAXAttributes, __uuidof(IVBSAXAttributes));
  189. _COM_SMARTPTR_TYPEDEF(IVBSAXContentHandler, __uuidof(IVBSAXContentHandler));
  190. _COM_SMARTPTR_TYPEDEF(IVBSAXDTDHandler, __uuidof(IVBSAXDTDHandler));
  191. _COM_SMARTPTR_TYPEDEF(IVBSAXErrorHandler, __uuidof(IVBSAXErrorHandler));
  192. _COM_SMARTPTR_TYPEDEF(IVBSAXXMLReader, __uuidof(IVBSAXXMLReader));
  193. _COM_SMARTPTR_TYPEDEF(IVBSAXXMLFilter, __uuidof(IVBSAXXMLFilter));
  194. _COM_SMARTPTR_TYPEDEF(IVBSAXLexicalHandler, __uuidof(IVBSAXLexicalHandler));
  195. _COM_SMARTPTR_TYPEDEF(IVBSAXDeclHandler, __uuidof(IVBSAXDeclHandler));
  196. _COM_SMARTPTR_TYPEDEF(IMXWriter, __uuidof(IMXWriter));
  197. _COM_SMARTPTR_TYPEDEF(IMXAttributes, __uuidof(IMXAttributes));
  198. _COM_SMARTPTR_TYPEDEF(IMXReaderControl, __uuidof(IMXReaderControl));
  199. _COM_SMARTPTR_TYPEDEF(XMLDOMDocumentEvents, __uuidof(XMLDOMDocumentEvents));
  200. _COM_SMARTPTR_TYPEDEF(IXMLHTTPRequest, __uuidof(IXMLHTTPRequest));
  201. _COM_SMARTPTR_TYPEDEF(IServerXMLHTTPRequest, __uuidof(IServerXMLHTTPRequest));
  202. _COM_SMARTPTR_TYPEDEF(IXMLDOMNode, __uuidof(IXMLDOMNode));
  203. _COM_SMARTPTR_TYPEDEF(IXMLDOMNodeList, __uuidof(IXMLDOMNodeList));
  204. _COM_SMARTPTR_TYPEDEF(IXMLDOMNamedNodeMap, __uuidof(IXMLDOMNamedNodeMap));
  205. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocumentType, __uuidof(IXMLDOMDocumentType));
  206. _COM_SMARTPTR_TYPEDEF(IXMLDOMAttribute, __uuidof(IXMLDOMAttribute));
  207. _COM_SMARTPTR_TYPEDEF(IXMLDOMElement, __uuidof(IXMLDOMElement));
  208. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocumentFragment, __uuidof(IXMLDOMDocumentFragment));
  209. _COM_SMARTPTR_TYPEDEF(IXMLDOMCharacterData, __uuidof(IXMLDOMCharacterData));
  210. _COM_SMARTPTR_TYPEDEF(IXMLDOMText, __uuidof(IXMLDOMText));
  211. _COM_SMARTPTR_TYPEDEF(IXMLDOMComment, __uuidof(IXMLDOMComment));
  212. _COM_SMARTPTR_TYPEDEF(IXMLDOMCDATASection, __uuidof(IXMLDOMCDATASection));
  213. _COM_SMARTPTR_TYPEDEF(IXMLDOMProcessingInstruction, __uuidof(IXMLDOMProcessingInstruction));
  214. _COM_SMARTPTR_TYPEDEF(IXMLDOMEntityReference, __uuidof(IXMLDOMEntityReference));
  215. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocument, __uuidof(IXMLDOMDocument));
  216. _COM_SMARTPTR_TYPEDEF(IXMLDOMSchemaCollection, __uuidof(IXMLDOMSchemaCollection));
  217. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocument2, __uuidof(IXMLDOMDocument2));
  218. _COM_SMARTPTR_TYPEDEF(IXMLDOMNotation, __uuidof(IXMLDOMNotation));
  219. _COM_SMARTPTR_TYPEDEF(IXMLDOMEntity, __uuidof(IXMLDOMEntity));
  220. _COM_SMARTPTR_TYPEDEF(IXTLRuntime, __uuidof(IXTLRuntime));
  221. _COM_SMARTPTR_TYPEDEF(IXMLDOMSelection, __uuidof(IXMLDOMSelection));
  222. _COM_SMARTPTR_TYPEDEF(IDSOControl, __uuidof(IDSOControl));
  223. _COM_SMARTPTR_TYPEDEF(IXSLTemplate, __uuidof(IXSLTemplate));
  224. _COM_SMARTPTR_TYPEDEF(IXSLProcessor, __uuidof(IXSLProcessor));
  225. //
  226. // Type library items
  227. //
  228. struct __declspec(uuid("65725580-9b5d-11d0-9bfe-00c04fc99c8e"))
  229. IXMLElementCollection : IDispatch
  230. {
  231. //
  232. // Property data
  233. //
  234. __declspec(property(get=Getlength,put=Putlength))
  235. long length;
  236. __declspec(property(get=Get_newEnum))
  237. IUnknownPtr _newEnum;
  238. //
  239. // Wrapper methods for error-handling
  240. //
  241. void Putlength (
  242. long p );
  243. long Getlength ( );
  244. IUnknownPtr Get_newEnum ( );
  245. IDispatchPtr item (
  246. const _variant_t & var1 = vtMissing,
  247. const _variant_t & var2 = vtMissing );
  248. //
  249. // Raw methods provided by interface
  250. //
  251. virtual HRESULT __stdcall put_length (
  252. /*[in]*/ long p ) = 0;
  253. virtual HRESULT __stdcall get_length (
  254. /*[out,retval]*/ long * p ) = 0;
  255. virtual HRESULT __stdcall get__newEnum (
  256. /*[out,retval]*/ IUnknown * * ppUnk ) = 0;
  257. virtual HRESULT __stdcall raw_item (
  258. /*[in]*/ VARIANT var1,
  259. /*[in]*/ VARIANT var2,
  260. /*[out,retval]*/ IDispatch * * ppDisp ) = 0;
  261. };
  262. struct __declspec(uuid("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e"))
  263. IXMLElement : IDispatch
  264. {
  265. //
  266. // Property data
  267. //
  268. __declspec(property(get=GettagName,put=PuttagName))
  269. _bstr_t tagName;
  270. __declspec(property(get=Getparent))
  271. IXMLElementPtr parent;
  272. __declspec(property(get=Getchildren))
  273. IXMLElementCollectionPtr children;
  274. __declspec(property(get=Gettype))
  275. long type;
  276. __declspec(property(get=Gettext,put=Puttext))
  277. _bstr_t text;
  278. //
  279. // Wrapper methods for error-handling
  280. //
  281. _bstr_t GettagName ( );
  282. void PuttagName (
  283. _bstr_t p );
  284. IXMLElementPtr Getparent ( );
  285. HRESULT setAttribute (
  286. _bstr_t strPropertyName,
  287. const _variant_t & PropertyValue );
  288. _variant_t getAttribute (
  289. _bstr_t strPropertyName );
  290. HRESULT removeAttribute (
  291. _bstr_t strPropertyName );
  292. IXMLElementCollectionPtr Getchildren ( );
  293. long Gettype ( );
  294. _bstr_t Gettext ( );
  295. void Puttext (
  296. _bstr_t p );
  297. HRESULT addChild (
  298. struct IXMLElement * pChildElem,
  299. long lIndex,
  300. long lReserved );
  301. HRESULT removeChild (
  302. struct IXMLElement * pChildElem );
  303. //
  304. // Raw methods provided by interface
  305. //
  306. virtual HRESULT __stdcall get_tagName (
  307. /*[out,retval]*/ BSTR * p ) = 0;
  308. virtual HRESULT __stdcall put_tagName (
  309. /*[in]*/ BSTR p ) = 0;
  310. virtual HRESULT __stdcall get_parent (
  311. /*[out,retval]*/ struct IXMLElement * * ppParent ) = 0;
  312. virtual HRESULT __stdcall raw_setAttribute (
  313. /*[in]*/ BSTR strPropertyName,
  314. /*[in]*/ VARIANT PropertyValue ) = 0;
  315. virtual HRESULT __stdcall raw_getAttribute (
  316. /*[in]*/ BSTR strPropertyName,
  317. /*[out,retval]*/ VARIANT * PropertyValue ) = 0;
  318. virtual HRESULT __stdcall raw_removeAttribute (
  319. /*[in]*/ BSTR strPropertyName ) = 0;
  320. virtual HRESULT __stdcall get_children (
  321. /*[out,retval]*/ struct IXMLElementCollection * * pp ) = 0;
  322. virtual HRESULT __stdcall get_type (
  323. /*[out,retval]*/ long * plType ) = 0;
  324. virtual HRESULT __stdcall get_text (
  325. /*[out,retval]*/ BSTR * p ) = 0;
  326. virtual HRESULT __stdcall put_text (
  327. /*[in]*/ BSTR p ) = 0;
  328. virtual HRESULT __stdcall raw_addChild (
  329. /*[in]*/ struct IXMLElement * pChildElem,
  330. long lIndex,
  331. long lReserved ) = 0;
  332. virtual HRESULT __stdcall raw_removeChild (
  333. /*[in]*/ struct IXMLElement * pChildElem ) = 0;
  334. };
  335. struct __declspec(uuid("f52e2b61-18a1-11d1-b105-00805f49916b"))
  336. IXMLDocument : IDispatch
  337. {
  338. //
  339. // Property data
  340. //
  341. __declspec(property(get=Getroot))
  342. IXMLElementPtr root;
  343. __declspec(property(get=GetfileSize))
  344. _bstr_t fileSize;
  345. __declspec(property(get=GetfileModifiedDate))
  346. _bstr_t fileModifiedDate;
  347. __declspec(property(get=GetfileUpdatedDate))
  348. _bstr_t fileUpdatedDate;
  349. __declspec(property(get=GetURL,put=PutURL))
  350. _bstr_t URL;
  351. __declspec(property(get=GetmimeType))
  352. _bstr_t mimeType;
  353. __declspec(property(get=GetreadyState))
  354. long readyState;
  355. __declspec(property(get=Getcharset,put=Putcharset))
  356. _bstr_t charset;
  357. __declspec(property(get=Getversion))
  358. _bstr_t version;
  359. __declspec(property(get=Getdoctype))
  360. _bstr_t doctype;
  361. __declspec(property(get=GetdtdURL))
  362. _bstr_t dtdURL;
  363. //
  364. // Wrapper methods for error-handling
  365. //
  366. IXMLElementPtr Getroot ( );
  367. _bstr_t GetfileSize ( );
  368. _bstr_t GetfileModifiedDate ( );
  369. _bstr_t GetfileUpdatedDate ( );
  370. _bstr_t GetURL ( );
  371. void PutURL (
  372. _bstr_t p );
  373. _bstr_t GetmimeType ( );
  374. long GetreadyState ( );
  375. _bstr_t Getcharset ( );
  376. void Putcharset (
  377. _bstr_t p );
  378. _bstr_t Getversion ( );
  379. _bstr_t Getdoctype ( );
  380. _bstr_t GetdtdURL ( );
  381. IXMLElementPtr createElement (
  382. const _variant_t & vType,
  383. const _variant_t & var1 = vtMissing );
  384. //
  385. // Raw methods provided by interface
  386. //
  387. virtual HRESULT __stdcall get_root (
  388. /*[out,retval]*/ struct IXMLElement * * p ) = 0;
  389. virtual HRESULT __stdcall get_fileSize (
  390. /*[out,retval]*/ BSTR * p ) = 0;
  391. virtual HRESULT __stdcall get_fileModifiedDate (
  392. /*[out,retval]*/ BSTR * p ) = 0;
  393. virtual HRESULT __stdcall get_fileUpdatedDate (
  394. /*[out,retval]*/ BSTR * p ) = 0;
  395. virtual HRESULT __stdcall get_URL (
  396. /*[out,retval]*/ BSTR * p ) = 0;
  397. virtual HRESULT __stdcall put_URL (
  398. /*[in]*/ BSTR p ) = 0;
  399. virtual HRESULT __stdcall get_mimeType (
  400. /*[out,retval]*/ BSTR * p ) = 0;
  401. virtual HRESULT __stdcall get_readyState (
  402. /*[out,retval]*/ long * pl ) = 0;
  403. virtual HRESULT __stdcall get_charset (
  404. /*[out,retval]*/ BSTR * p ) = 0;
  405. virtual HRESULT __stdcall put_charset (
  406. /*[in]*/ BSTR p ) = 0;
  407. virtual HRESULT __stdcall get_version (
  408. /*[out,retval]*/ BSTR * p ) = 0;
  409. virtual HRESULT __stdcall get_doctype (
  410. /*[out,retval]*/ BSTR * p ) = 0;
  411. virtual HRESULT __stdcall get_dtdURL (
  412. /*[out,retval]*/ BSTR * p ) = 0;
  413. virtual HRESULT __stdcall raw_createElement (
  414. /*[in]*/ VARIANT vType,
  415. /*[in]*/ VARIANT var1,
  416. /*[out,retval]*/ struct IXMLElement * * ppElem ) = 0;
  417. };
  418. struct __declspec(uuid("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9"))
  419. IXMLElement2 : IDispatch
  420. {
  421. //
  422. // Property data
  423. //
  424. __declspec(property(get=GettagName,put=PuttagName))
  425. _bstr_t tagName;
  426. __declspec(property(get=Getparent))
  427. IXMLElement2Ptr parent;
  428. __declspec(property(get=Getchildren))
  429. IXMLElementCollectionPtr children;
  430. __declspec(property(get=Gettype))
  431. long type;
  432. __declspec(property(get=Gettext,put=Puttext))
  433. _bstr_t text;
  434. __declspec(property(get=Getattributes))
  435. IXMLElementCollectionPtr attributes;
  436. //
  437. // Wrapper methods for error-handling
  438. //
  439. _bstr_t GettagName ( );
  440. void PuttagName (
  441. _bstr_t p );
  442. IXMLElement2Ptr Getparent ( );
  443. HRESULT setAttribute (
  444. _bstr_t strPropertyName,
  445. const _variant_t & PropertyValue );
  446. _variant_t getAttribute (
  447. _bstr_t strPropertyName );
  448. HRESULT removeAttribute (
  449. _bstr_t strPropertyName );
  450. IXMLElementCollectionPtr Getchildren ( );
  451. long Gettype ( );
  452. _bstr_t Gettext ( );
  453. void Puttext (
  454. _bstr_t p );
  455. HRESULT addChild (
  456. struct IXMLElement2 * pChildElem,
  457. long lIndex,
  458. long lReserved );
  459. HRESULT removeChild (
  460. struct IXMLElement2 * pChildElem );
  461. IXMLElementCollectionPtr Getattributes ( );
  462. //
  463. // Raw methods provided by interface
  464. //
  465. virtual HRESULT __stdcall get_tagName (
  466. /*[out,retval]*/ BSTR * p ) = 0;
  467. virtual HRESULT __stdcall put_tagName (
  468. /*[in]*/ BSTR p ) = 0;
  469. virtual HRESULT __stdcall get_parent (
  470. /*[out,retval]*/ struct IXMLElement2 * * ppParent ) = 0;
  471. virtual HRESULT __stdcall raw_setAttribute (
  472. /*[in]*/ BSTR strPropertyName,
  473. /*[in]*/ VARIANT PropertyValue ) = 0;
  474. virtual HRESULT __stdcall raw_getAttribute (
  475. /*[in]*/ BSTR strPropertyName,
  476. /*[out,retval]*/ VARIANT * PropertyValue ) = 0;
  477. virtual HRESULT __stdcall raw_removeAttribute (
  478. /*[in]*/ BSTR strPropertyName ) = 0;
  479. virtual HRESULT __stdcall get_children (
  480. /*[out,retval]*/ struct IXMLElementCollection * * pp ) = 0;
  481. virtual HRESULT __stdcall get_type (
  482. /*[out,retval]*/ long * plType ) = 0;
  483. virtual HRESULT __stdcall get_text (
  484. /*[out,retval]*/ BSTR * p ) = 0;
  485. virtual HRESULT __stdcall put_text (
  486. /*[in]*/ BSTR p ) = 0;
  487. virtual HRESULT __stdcall raw_addChild (
  488. /*[in]*/ struct IXMLElement2 * pChildElem,
  489. long lIndex,
  490. long lReserved ) = 0;
  491. virtual HRESULT __stdcall raw_removeChild (
  492. /*[in]*/ struct IXMLElement2 * pChildElem ) = 0;
  493. virtual HRESULT __stdcall get_attributes (
  494. /*[out,retval]*/ struct IXMLElementCollection * * pp ) = 0;
  495. };
  496. struct __declspec(uuid("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9"))
  497. IXMLDocument2 : IDispatch
  498. {
  499. //
  500. // Property data
  501. //
  502. __declspec(property(get=Getroot))
  503. IXMLElement2Ptr root;
  504. __declspec(property(get=GetfileSize))
  505. _bstr_t fileSize;
  506. __declspec(property(get=GetfileModifiedDate))
  507. _bstr_t fileModifiedDate;
  508. __declspec(property(get=GetfileUpdatedDate))
  509. _bstr_t fileUpdatedDate;
  510. __declspec(property(get=GetURL,put=PutURL))
  511. _bstr_t URL;
  512. __declspec(property(get=GetmimeType))
  513. _bstr_t mimeType;
  514. __declspec(property(get=GetreadyState))
  515. long readyState;
  516. __declspec(property(get=Getcharset,put=Putcharset))
  517. _bstr_t charset;
  518. __declspec(property(get=Getversion))
  519. _bstr_t version;
  520. __declspec(property(get=Getdoctype))
  521. _bstr_t doctype;
  522. __declspec(property(get=GetdtdURL))
  523. _bstr_t dtdURL;
  524. __declspec(property(get=Getasync,put=Putasync))
  525. VARIANT_BOOL async;
  526. //
  527. // Wrapper methods for error-handling
  528. //
  529. IXMLElement2Ptr Getroot ( );
  530. _bstr_t GetfileSize ( );
  531. _bstr_t GetfileModifiedDate ( );
  532. _bstr_t GetfileUpdatedDate ( );
  533. _bstr_t GetURL ( );
  534. void PutURL (
  535. _bstr_t p );
  536. _bstr_t GetmimeType ( );
  537. long GetreadyState ( );
  538. _bstr_t Getcharset ( );
  539. void Putcharset (
  540. _bstr_t p );
  541. _bstr_t Getversion ( );
  542. _bstr_t Getdoctype ( );
  543. _bstr_t GetdtdURL ( );
  544. IXMLElement2Ptr createElement (
  545. const _variant_t & vType,
  546. const _variant_t & var1 = vtMissing );
  547. VARIANT_BOOL Getasync ( );
  548. void Putasync (
  549. VARIANT_BOOL pf );
  550. //
  551. // Raw methods provided by interface
  552. //
  553. virtual HRESULT __stdcall get_root (
  554. /*[out,retval]*/ struct IXMLElement2 * * p ) = 0;
  555. virtual HRESULT __stdcall get_fileSize (
  556. /*[out,retval]*/ BSTR * p ) = 0;
  557. virtual HRESULT __stdcall get_fileModifiedDate (
  558. /*[out,retval]*/ BSTR * p ) = 0;
  559. virtual HRESULT __stdcall get_fileUpdatedDate (
  560. /*[out,retval]*/ BSTR * p ) = 0;
  561. virtual HRESULT __stdcall get_URL (
  562. /*[out,retval]*/ BSTR * p ) = 0;
  563. virtual HRESULT __stdcall put_URL (
  564. /*[in]*/ BSTR p ) = 0;
  565. virtual HRESULT __stdcall get_mimeType (
  566. /*[out,retval]*/ BSTR * p ) = 0;
  567. virtual HRESULT __stdcall get_readyState (
  568. /*[out,retval]*/ long * pl ) = 0;
  569. virtual HRESULT __stdcall get_charset (
  570. /*[out,retval]*/ BSTR * p ) = 0;
  571. virtual HRESULT __stdcall put_charset (
  572. /*[in]*/ BSTR p ) = 0;
  573. virtual HRESULT __stdcall get_version (
  574. /*[out,retval]*/ BSTR * p ) = 0;
  575. virtual HRESULT __stdcall get_doctype (
  576. /*[out,retval]*/ BSTR * p ) = 0;
  577. virtual HRESULT __stdcall get_dtdURL (
  578. /*[out,retval]*/ BSTR * p ) = 0;
  579. virtual HRESULT __stdcall raw_createElement (
  580. /*[in]*/ VARIANT vType,
  581. /*[in]*/ VARIANT var1,
  582. /*[out,retval]*/ struct IXMLElement2 * * ppElem ) = 0;
  583. virtual HRESULT __stdcall get_async (
  584. /*[out,retval]*/ VARIANT_BOOL * pf ) = 0;
  585. virtual HRESULT __stdcall put_async (
  586. /*[in]*/ VARIANT_BOOL pf ) = 0;
  587. };
  588. struct __declspec(uuid("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596"))
  589. IXMLAttribute : IDispatch
  590. {
  591. //
  592. // Property data
  593. //
  594. __declspec(property(get=Getname))
  595. _bstr_t name;
  596. __declspec(property(get=Getvalue))
  597. _bstr_t value;
  598. //
  599. // Wrapper methods for error-handling
  600. //
  601. _bstr_t Getname ( );
  602. _bstr_t Getvalue ( );
  603. //
  604. // Raw methods provided by interface
  605. //
  606. virtual HRESULT __stdcall get_name (
  607. /*[out,retval]*/ BSTR * n ) = 0;
  608. virtual HRESULT __stdcall get_value (
  609. /*[out,retval]*/ BSTR * v ) = 0;
  610. };
  611. struct _xml_error
  612. {
  613. unsigned int _nLine;
  614. BSTR _pchBuf;
  615. unsigned int _cchBuf;
  616. unsigned int _ich;
  617. BSTR _pszFound;
  618. BSTR _pszExpected;
  619. unsigned long _reserved1;
  620. unsigned long _reserved2;
  621. };
  622. struct __declspec(uuid("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e"))
  623. IXMLError : IUnknown
  624. {
  625. //
  626. // Wrapper methods for error-handling
  627. //
  628. HRESULT GetErrorInfo (
  629. struct _xml_error * pErrorReturn );
  630. //
  631. // Raw methods provided by interface
  632. //
  633. virtual HRESULT __stdcall raw_GetErrorInfo (
  634. struct _xml_error * pErrorReturn ) = 0;
  635. };
  636. struct __declspec(uuid("2933bf8f-7b36-11d2-b20e-00c04f983e60"))
  637. IXMLDOMImplementation : IDispatch
  638. {
  639. //
  640. // Wrapper methods for error-handling
  641. //
  642. VARIANT_BOOL hasFeature (
  643. _bstr_t feature,
  644. _bstr_t version );
  645. //
  646. // Raw methods provided by interface
  647. //
  648. virtual HRESULT __stdcall raw_hasFeature (
  649. /*[in]*/ BSTR feature,
  650. /*[in]*/ BSTR version,
  651. /*[out,retval]*/ VARIANT_BOOL * hasFeature ) = 0;
  652. };
  653. enum tagDOMNodeType
  654. {
  655. NODE_INVALID = 0,
  656. NODE_ELEMENT = 1,
  657. NODE_ATTRIBUTE = 2,
  658. NODE_TEXT = 3,
  659. NODE_CDATA_SECTION = 4,
  660. NODE_ENTITY_REFERENCE = 5,
  661. NODE_ENTITY = 6,
  662. NODE_PROCESSING_INSTRUCTION = 7,
  663. NODE_COMMENT = 8,
  664. NODE_DOCUMENT = 9,
  665. NODE_DOCUMENT_TYPE = 10,
  666. NODE_DOCUMENT_FRAGMENT = 11,
  667. NODE_NOTATION = 12
  668. };
  669. struct __declspec(uuid("3efaa426-272f-11d2-836f-0000f87a7782"))
  670. IXMLDOMParseError : IDispatch
  671. {
  672. //
  673. // Property data
  674. //
  675. __declspec(property(get=GeterrorCode))
  676. long errorCode;
  677. __declspec(property(get=GetURL))
  678. _bstr_t URL;
  679. __declspec(property(get=Getreason))
  680. _bstr_t reason;
  681. __declspec(property(get=GetsrcText))
  682. _bstr_t srcText;
  683. __declspec(property(get=Getline))
  684. long line;
  685. __declspec(property(get=Getlinepos))
  686. long linepos;
  687. __declspec(property(get=Getfilepos))
  688. long filepos;
  689. //
  690. // Wrapper methods for error-handling
  691. //
  692. long GeterrorCode ( );
  693. _bstr_t GetURL ( );
  694. _bstr_t Getreason ( );
  695. _bstr_t GetsrcText ( );
  696. long Getline ( );
  697. long Getlinepos ( );
  698. long Getfilepos ( );
  699. //
  700. // Raw methods provided by interface
  701. //
  702. virtual HRESULT __stdcall get_errorCode (
  703. /*[out,retval]*/ long * errorCode ) = 0;
  704. virtual HRESULT __stdcall get_URL (
  705. /*[out,retval]*/ BSTR * urlString ) = 0;
  706. virtual HRESULT __stdcall get_reason (
  707. /*[out,retval]*/ BSTR * reasonString ) = 0;
  708. virtual HRESULT __stdcall get_srcText (
  709. /*[out,retval]*/ BSTR * sourceString ) = 0;
  710. virtual HRESULT __stdcall get_line (
  711. /*[out,retval]*/ long * lineNumber ) = 0;
  712. virtual HRESULT __stdcall get_linepos (
  713. /*[out,retval]*/ long * linePosition ) = 0;
  714. virtual HRESULT __stdcall get_filepos (
  715. /*[out,retval]*/ long * filePosition ) = 0;
  716. };
  717. struct __declspec(uuid("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07"))
  718. ISAXEntityResolver : IUnknown
  719. {
  720. //
  721. // Wrapper methods for error-handling
  722. //
  723. _variant_t resolveEntity (
  724. const wchar_t * pwchPublicId,
  725. const wchar_t * pwchSystemId );
  726. //
  727. // Raw methods provided by interface
  728. //
  729. virtual HRESULT __stdcall raw_resolveEntity (
  730. /*[in]*/ const wchar_t * pwchPublicId,
  731. /*[in]*/ const wchar_t * pwchSystemId,
  732. /*[out,retval]*/ VARIANT * pvarInput ) = 0;
  733. };
  734. struct __declspec(uuid("9b7e472a-0de4-4640-bff3-84d38a051c31"))
  735. ISAXLocator : IUnknown
  736. {
  737. //
  738. // Wrapper methods for error-handling
  739. //
  740. int getColumnNumber ( );
  741. int getLineNumber ( );
  742. const wchar_t * getPublicId ( );
  743. const wchar_t * getSystemId ( );
  744. //
  745. // Raw methods provided by interface
  746. //
  747. virtual HRESULT __stdcall raw_getColumnNumber (
  748. /*[out,retval]*/ int * pnColumn ) = 0;
  749. virtual HRESULT __stdcall raw_getLineNumber (
  750. /*[out,retval]*/ int * pnLine ) = 0;
  751. virtual HRESULT __stdcall raw_getPublicId (
  752. /*[out,retval]*/ const wchar_t * * ppwchPublicId ) = 0;
  753. virtual HRESULT __stdcall raw_getSystemId (
  754. /*[out,retval]*/ const wchar_t * * ppwchSystemId ) = 0;
  755. };
  756. struct __declspec(uuid("f078abe1-45d2-4832-91ea-4466ce2f25c9"))
  757. ISAXAttributes : IUnknown
  758. {
  759. //
  760. // Wrapper methods for error-handling
  761. //
  762. int getLength ( );
  763. HRESULT getURI (
  764. int nIndex,
  765. const wchar_t * * ppwchUri,
  766. int * pcchUri );
  767. HRESULT getLocalName (
  768. int nIndex,
  769. const wchar_t * * ppwchLocalName,
  770. int * pcchLocalName );
  771. HRESULT getQName (
  772. int nIndex,
  773. const wchar_t * * ppwchQName,
  774. int * pcchQName );
  775. HRESULT getName (
  776. int nIndex,
  777. const wchar_t * * ppwchUri,
  778. int * pcchUri,
  779. const wchar_t * * ppwchLocalName,
  780. int * pcchLocalName,
  781. const wchar_t * * ppwchQName,
  782. int * pcchQName );
  783. int getIndexFromName (
  784. const wchar_t * pwchUri,
  785. int cchUri,
  786. const wchar_t * pwchLocalName,
  787. int cchLocalName );
  788. int getIndexFromQName (
  789. const wchar_t * pwchQName,
  790. int cchQName );
  791. HRESULT getType (
  792. int nIndex,
  793. const wchar_t * * ppwchType,
  794. int * pcchType );
  795. HRESULT getTypeFromName (
  796. const wchar_t * pwchUri,
  797. int cchUri,
  798. const wchar_t * pwchLocalName,
  799. int cchLocalName,
  800. const wchar_t * * ppwchType,
  801. int * pcchType );
  802. HRESULT getTypeFromQName (
  803. const wchar_t * pwchQName,
  804. int cchQName,
  805. const wchar_t * * ppwchType,
  806. int * pcchType );
  807. HRESULT getValue (
  808. int nIndex,
  809. const wchar_t * * ppwchValue,
  810. int * pcchValue );
  811. HRESULT getValueFromName (
  812. const wchar_t * pwchUri,
  813. int cchUri,
  814. const wchar_t * pwchLocalName,
  815. int cchLocalName,
  816. const wchar_t * * ppwchValue,
  817. int * pcchValue );
  818. HRESULT getValueFromQName (
  819. const wchar_t * pwchQName,
  820. int cchQName,
  821. const wchar_t * * ppwchValue,
  822. int * pcchValue );
  823. //
  824. // Raw methods provided by interface
  825. //
  826. virtual HRESULT __stdcall raw_getLength (
  827. /*[out,retval]*/ int * pnLength ) = 0;
  828. virtual HRESULT __stdcall raw_getURI (
  829. /*[in]*/ int nIndex,
  830. /*[out]*/ const wchar_t * * ppwchUri,
  831. /*[out]*/ int * pcchUri ) = 0;
  832. virtual HRESULT __stdcall raw_getLocalName (
  833. /*[in]*/ int nIndex,
  834. /*[out]*/ const wchar_t * * ppwchLocalName,
  835. /*[out]*/ int * pcchLocalName ) = 0;
  836. virtual HRESULT __stdcall raw_getQName (
  837. /*[in]*/ int nIndex,
  838. /*[out]*/ const wchar_t * * ppwchQName,
  839. /*[out]*/ int * pcchQName ) = 0;
  840. virtual HRESULT __stdcall raw_getName (
  841. /*[in]*/ int nIndex,
  842. /*[out]*/ const wchar_t * * ppwchUri,
  843. /*[out]*/ int * pcchUri,
  844. /*[out]*/ const wchar_t * * ppwchLocalName,
  845. /*[out]*/ int * pcchLocalName,
  846. /*[out]*/ const wchar_t * * ppwchQName,
  847. /*[out]*/ int * pcchQName ) = 0;
  848. virtual HRESULT __stdcall raw_getIndexFromName (
  849. /*[in]*/ const wchar_t * pwchUri,
  850. /*[in]*/ int cchUri,
  851. /*[in]*/ const wchar_t * pwchLocalName,
  852. /*[in]*/ int cchLocalName,
  853. /*[out,retval]*/ int * pnIndex ) = 0;
  854. virtual HRESULT __stdcall raw_getIndexFromQName (
  855. /*[in]*/ const wchar_t * pwchQName,
  856. /*[in]*/ int cchQName,
  857. /*[out,retval]*/ int * pnIndex ) = 0;
  858. virtual HRESULT __stdcall raw_getType (
  859. /*[in]*/ int nIndex,
  860. /*[out]*/ const wchar_t * * ppwchType,
  861. /*[out]*/ int * pcchType ) = 0;
  862. virtual HRESULT __stdcall raw_getTypeFromName (
  863. /*[in]*/ const wchar_t * pwchUri,
  864. /*[in]*/ int cchUri,
  865. /*[in]*/ const wchar_t * pwchLocalName,
  866. /*[in]*/ int cchLocalName,
  867. /*[out]*/ const wchar_t * * ppwchType,
  868. /*[out]*/ int * pcchType ) = 0;
  869. virtual HRESULT __stdcall raw_getTypeFromQName (
  870. /*[in]*/ const wchar_t * pwchQName,
  871. /*[in]*/ int cchQName,
  872. /*[out]*/ const wchar_t * * ppwchType,
  873. /*[out]*/ int * pcchType ) = 0;
  874. virtual HRESULT __stdcall raw_getValue (
  875. /*[in]*/ int nIndex,
  876. /*[out]*/ const wchar_t * * ppwchValue,
  877. /*[out]*/ int * pcchValue ) = 0;
  878. virtual HRESULT __stdcall raw_getValueFromName (
  879. /*[in]*/ const wchar_t * pwchUri,
  880. /*[in]*/ int cchUri,
  881. /*[in]*/ const wchar_t * pwchLocalName,
  882. /*[in]*/ int cchLocalName,
  883. /*[out]*/ const wchar_t * * ppwchValue,
  884. /*[out]*/ int * pcchValue ) = 0;
  885. virtual HRESULT __stdcall raw_getValueFromQName (
  886. /*[in]*/ const wchar_t * pwchQName,
  887. /*[in]*/ int cchQName,
  888. /*[out]*/ const wchar_t * * ppwchValue,
  889. /*[out]*/ int * pcchValue ) = 0;
  890. };
  891. struct __declspec(uuid("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44"))
  892. ISAXContentHandler : IUnknown
  893. {
  894. //
  895. // Wrapper methods for error-handling
  896. //
  897. HRESULT putDocumentLocator (
  898. struct ISAXLocator * pLocator );
  899. HRESULT startDocument ( );
  900. HRESULT endDocument ( );
  901. HRESULT startPrefixMapping (
  902. const wchar_t * pwchPrefix,
  903. int cchPrefix,
  904. const wchar_t * pwchUri,
  905. int cchUri );
  906. HRESULT endPrefixMapping (
  907. const wchar_t * pwchPrefix,
  908. int cchPrefix );
  909. HRESULT startElement (
  910. const wchar_t * pwchNamespaceUri,
  911. int cchNamespaceUri,
  912. const wchar_t * pwchLocalName,
  913. int cchLocalName,
  914. const wchar_t * pwchQName,
  915. int cchQName,
  916. struct ISAXAttributes * pAttributes );
  917. HRESULT endElement (
  918. const wchar_t * pwchNamespaceUri,
  919. int cchNamespaceUri,
  920. const wchar_t * pwchLocalName,
  921. int cchLocalName,
  922. const wchar_t * pwchQName,
  923. int cchQName );
  924. HRESULT characters (
  925. const wchar_t * pwchChars,
  926. int cchChars );
  927. HRESULT ignorableWhitespace (
  928. const wchar_t * pwchChars,
  929. int cchChars );
  930. HRESULT processingInstruction (
  931. const wchar_t * pwchTarget,
  932. int cchTarget,
  933. const wchar_t * pwchData,
  934. int cchData );
  935. HRESULT skippedEntity (
  936. const wchar_t * pwchName,
  937. int cchName );
  938. //
  939. // Raw methods provided by interface
  940. //
  941. virtual HRESULT __stdcall raw_putDocumentLocator (
  942. /*[in]*/ struct ISAXLocator * pLocator ) = 0;
  943. virtual HRESULT __stdcall raw_startDocument ( ) = 0;
  944. virtual HRESULT __stdcall raw_endDocument ( ) = 0;
  945. virtual HRESULT __stdcall raw_startPrefixMapping (
  946. /*[in]*/ const wchar_t * pwchPrefix,
  947. /*[in]*/ int cchPrefix,
  948. /*[in]*/ const wchar_t * pwchUri,
  949. /*[in]*/ int cchUri ) = 0;
  950. virtual HRESULT __stdcall raw_endPrefixMapping (
  951. /*[in]*/ const wchar_t * pwchPrefix,
  952. /*[in]*/ int cchPrefix ) = 0;
  953. virtual HRESULT __stdcall raw_startElement (
  954. /*[in]*/ const wchar_t * pwchNamespaceUri,
  955. /*[in]*/ int cchNamespaceUri,
  956. /*[in]*/ const wchar_t * pwchLocalName,
  957. /*[in]*/ int cchLocalName,
  958. /*[in]*/ const wchar_t * pwchQName,
  959. /*[in]*/ int cchQName,
  960. /*[in]*/ struct ISAXAttributes * pAttributes ) = 0;
  961. virtual HRESULT __stdcall raw_endElement (
  962. /*[in]*/ const wchar_t * pwchNamespaceUri,
  963. /*[in]*/ int cchNamespaceUri,
  964. /*[in]*/ const wchar_t * pwchLocalName,
  965. /*[in]*/ int cchLocalName,
  966. /*[in]*/ const wchar_t * pwchQName,
  967. /*[in]*/ int cchQName ) = 0;
  968. virtual HRESULT __stdcall raw_characters (
  969. /*[in]*/ const wchar_t * pwchChars,
  970. /*[in]*/ int cchChars ) = 0;
  971. virtual HRESULT __stdcall raw_ignorableWhitespace (
  972. /*[in]*/ const wchar_t * pwchChars,
  973. /*[in]*/ int cchChars ) = 0;
  974. virtual HRESULT __stdcall raw_processingInstruction (
  975. /*[in]*/ const wchar_t * pwchTarget,
  976. /*[in]*/ int cchTarget,
  977. /*[in]*/ const wchar_t * pwchData,
  978. /*[in]*/ int cchData ) = 0;
  979. virtual HRESULT __stdcall raw_skippedEntity (
  980. /*[in]*/ const wchar_t * pwchName,
  981. /*[in]*/ int cchName ) = 0;
  982. };
  983. struct __declspec(uuid("e15c1baf-afb3-4d60-8c36-19a8c45defed"))
  984. ISAXDTDHandler : IUnknown
  985. {
  986. //
  987. // Wrapper methods for error-handling
  988. //
  989. HRESULT notationDecl (
  990. const wchar_t * pwchName,
  991. int cchName,
  992. const wchar_t * pwchPublicId,
  993. int cchPublicId,
  994. const wchar_t * pwchSystemId,
  995. int cchSystemId );
  996. HRESULT unparsedEntityDecl (
  997. const wchar_t * pwchName,
  998. int cchName,
  999. const wchar_t * pwchPublicId,
  1000. int cchPublicId,
  1001. const wchar_t * pwchSystemId,
  1002. int cchSystemId,
  1003. const wchar_t * pwchNotationName,
  1004. int cchNotationName );
  1005. //
  1006. // Raw methods provided by interface
  1007. //
  1008. virtual HRESULT __stdcall raw_notationDecl (
  1009. /*[in]*/ const wchar_t * pwchName,
  1010. /*[in]*/ int cchName,
  1011. /*[in]*/ const wchar_t * pwchPublicId,
  1012. /*[in]*/ int cchPublicId,
  1013. /*[in]*/ const wchar_t * pwchSystemId,
  1014. /*[in]*/ int cchSystemId ) = 0;
  1015. virtual HRESULT __stdcall raw_unparsedEntityDecl (
  1016. /*[in]*/ const wchar_t * pwchName,
  1017. /*[in]*/ int cchName,
  1018. /*[in]*/ const wchar_t * pwchPublicId,
  1019. /*[in]*/ int cchPublicId,
  1020. /*[in]*/ const wchar_t * pwchSystemId,
  1021. /*[in]*/ int cchSystemId,
  1022. /*[in]*/ const wchar_t * pwchNotationName,
  1023. /*[in]*/ int cchNotationName ) = 0;
  1024. };
  1025. struct __declspec(uuid("a60511c4-ccf5-479e-98a3-dc8dc545b7d0"))
  1026. ISAXErrorHandler : IUnknown
  1027. {
  1028. //
  1029. // Wrapper methods for error-handling
  1030. //
  1031. HRESULT error (
  1032. struct ISAXLocator * pLocator,
  1033. struct IErrorInfo * pErrorInfo,
  1034. HRESULT hrErrorCode );
  1035. HRESULT fatalError (
  1036. struct ISAXLocator * pLocator,
  1037. struct IErrorInfo * pErrorInfo,
  1038. HRESULT hrErrorCode );
  1039. HRESULT warning (
  1040. struct ISAXLocator * pLocator,
  1041. struct IErrorInfo * pErrorInfo,
  1042. HRESULT hrErrorCode );
  1043. //
  1044. // Raw methods provided by interface
  1045. //
  1046. virtual HRESULT __stdcall raw_error (
  1047. /*[in]*/ struct ISAXLocator * pLocator,
  1048. /*[in]*/ struct IErrorInfo * pErrorInfo,
  1049. /*[in]*/ HRESULT hrErrorCode ) = 0;
  1050. virtual HRESULT __stdcall raw_fatalError (
  1051. /*[in]*/ struct ISAXLocator * pLocator,
  1052. /*[in]*/ struct IErrorInfo * pErrorInfo,
  1053. /*[in]*/ HRESULT hrErrorCode ) = 0;
  1054. virtual HRESULT __stdcall raw_warning (
  1055. /*[in]*/ struct ISAXLocator * pLocator,
  1056. /*[in]*/ struct IErrorInfo * pErrorInfo,
  1057. /*[in]*/ HRESULT hrErrorCode ) = 0;
  1058. };
  1059. struct __declspec(uuid("a4f96ed0-f829-476e-81c0-cdc7bd2a0802"))
  1060. ISAXXMLReader : IUnknown
  1061. {
  1062. //
  1063. // Wrapper methods for error-handling
  1064. //
  1065. VARIANT_BOOL getFeature (
  1066. const wchar_t * pwchName );
  1067. HRESULT putFeature (
  1068. const wchar_t * pwchName,
  1069. VARIANT_BOOL vfValue );
  1070. _variant_t getProperty (
  1071. const wchar_t * pwchName );
  1072. HRESULT putProperty (
  1073. const wchar_t * pwchName,
  1074. const _variant_t & varValue );
  1075. ISAXEntityResolverPtr getEntityResolver ( );
  1076. HRESULT putEntityResolver (
  1077. struct ISAXEntityResolver * pResolver );
  1078. ISAXContentHandlerPtr getContentHandler ( );
  1079. HRESULT putContentHandler (
  1080. struct ISAXContentHandler * pHandler );
  1081. ISAXDTDHandlerPtr getDTDHandler ( );
  1082. HRESULT putDTDHandler (
  1083. struct ISAXDTDHandler * pHandler );
  1084. ISAXErrorHandlerPtr getErrorHandler ( );
  1085. HRESULT putErrorHandler (
  1086. struct ISAXErrorHandler * pHandler );
  1087. const wchar_t * getBaseURL ( );
  1088. HRESULT putBaseURL (
  1089. const wchar_t * pwchBaseUrl );
  1090. const wchar_t * getSecureBaseURL ( );
  1091. HRESULT putSecureBaseURL (
  1092. const wchar_t * pwchSecureBaseUrl );
  1093. HRESULT parse (
  1094. const _variant_t & varInput );
  1095. HRESULT parseURL (
  1096. const wchar_t * pwchUrl );
  1097. //
  1098. // Raw methods provided by interface
  1099. //
  1100. virtual HRESULT __stdcall raw_getFeature (
  1101. /*[in]*/ const wchar_t * pwchName,
  1102. /*[out,retval]*/ VARIANT_BOOL * pvfValue ) = 0;
  1103. virtual HRESULT __stdcall raw_putFeature (
  1104. /*[in]*/ const wchar_t * pwchName,
  1105. /*[in]*/ VARIANT_BOOL vfValue ) = 0;
  1106. virtual HRESULT __stdcall raw_getProperty (
  1107. /*[in]*/ const wchar_t * pwchName,
  1108. /*[out,retval]*/ VARIANT * pvarValue ) = 0;
  1109. virtual HRESULT __stdcall raw_putProperty (
  1110. /*[in]*/ const wchar_t * pwchName,
  1111. /*[in]*/ VARIANT varValue ) = 0;
  1112. virtual HRESULT __stdcall raw_getEntityResolver (
  1113. /*[out,retval]*/ struct ISAXEntityResolver * * ppResolver ) = 0;
  1114. virtual HRESULT __stdcall raw_putEntityResolver (
  1115. /*[in]*/ struct ISAXEntityResolver * pResolver ) = 0;
  1116. virtual HRESULT __stdcall raw_getContentHandler (
  1117. /*[out,retval]*/ struct ISAXContentHandler * * ppHandler ) = 0;
  1118. virtual HRESULT __stdcall raw_putContentHandler (
  1119. /*[in]*/ struct ISAXContentHandler * pHandler ) = 0;
  1120. virtual HRESULT __stdcall raw_getDTDHandler (
  1121. /*[out,retval]*/ struct ISAXDTDHandler * * ppHandler ) = 0;
  1122. virtual HRESULT __stdcall raw_putDTDHandler (
  1123. /*[in]*/ struct ISAXDTDHandler * pHandler ) = 0;
  1124. virtual HRESULT __stdcall raw_getErrorHandler (
  1125. /*[out,retval]*/ struct ISAXErrorHandler * * ppHandler ) = 0;
  1126. virtual HRESULT __stdcall raw_putErrorHandler (
  1127. /*[in]*/ struct ISAXErrorHandler * pHandler ) = 0;
  1128. virtual HRESULT __stdcall raw_getBaseURL (
  1129. /*[out,retval]*/ const wchar_t * * ppwchBaseUrl ) = 0;
  1130. virtual HRESULT __stdcall raw_putBaseURL (
  1131. /*[in]*/ const wchar_t * pwchBaseUrl ) = 0;
  1132. virtual HRESULT __stdcall raw_getSecureBaseURL (
  1133. /*[out,retval]*/ const wchar_t * * ppwchSecureBaseUrl ) = 0;
  1134. virtual HRESULT __stdcall raw_putSecureBaseURL (
  1135. /*[in]*/ const wchar_t * pwchSecureBaseUrl ) = 0;
  1136. virtual HRESULT __stdcall raw_parse (
  1137. /*[in]*/ VARIANT varInput ) = 0;
  1138. virtual HRESULT __stdcall raw_parseURL (
  1139. /*[in]*/ const wchar_t * pwchUrl ) = 0;
  1140. };
  1141. struct __declspec(uuid("70409222-ca09-4475-acb8-40312fe8d145"))
  1142. ISAXXMLFilter : ISAXXMLReader
  1143. {
  1144. //
  1145. // Wrapper methods for error-handling
  1146. //
  1147. ISAXXMLReaderPtr getParent ( );
  1148. HRESULT putParent (
  1149. struct ISAXXMLReader * pReader );
  1150. //
  1151. // Raw methods provided by interface
  1152. //
  1153. virtual HRESULT __stdcall raw_getParent (
  1154. /*[out,retval]*/ struct ISAXXMLReader * * ppReader ) = 0;
  1155. virtual HRESULT __stdcall raw_putParent (
  1156. /*[in]*/ struct ISAXXMLReader * pReader ) = 0;
  1157. };
  1158. struct __declspec(uuid("7f85d5f5-47a8-4497-bda5-84ba04819ea6"))
  1159. ISAXLexicalHandler : IUnknown
  1160. {
  1161. //
  1162. // Wrapper methods for error-handling
  1163. //
  1164. HRESULT startDTD (
  1165. const wchar_t * pwchName,
  1166. int cchName,
  1167. const wchar_t * pwchPublicId,
  1168. int cchPublicId,
  1169. const wchar_t * pwchSystemId,
  1170. int cchSystemId );
  1171. HRESULT endDTD ( );
  1172. HRESULT startEntity (
  1173. const wchar_t * pwchName,
  1174. int cchName );
  1175. HRESULT endEntity (
  1176. const wchar_t * pwchName,
  1177. int cchName );
  1178. HRESULT startCDATA ( );
  1179. HRESULT endCDATA ( );
  1180. HRESULT comment (
  1181. const wchar_t * pwchChars,
  1182. int cchChars );
  1183. //
  1184. // Raw methods provided by interface
  1185. //
  1186. virtual HRESULT __stdcall raw_startDTD (
  1187. /*[in]*/ const wchar_t * pwchName,
  1188. /*[in]*/ int cchName,
  1189. /*[in]*/ const wchar_t * pwchPublicId,
  1190. /*[in]*/ int cchPublicId,
  1191. /*[in]*/ const wchar_t * pwchSystemId,
  1192. /*[in]*/ int cchSystemId ) = 0;
  1193. virtual HRESULT __stdcall raw_endDTD ( ) = 0;
  1194. virtual HRESULT __stdcall raw_startEntity (
  1195. /*[in]*/ const wchar_t * pwchName,
  1196. /*[in]*/ int cchName ) = 0;
  1197. virtual HRESULT __stdcall raw_endEntity (
  1198. /*[in]*/ const wchar_t * pwchName,
  1199. /*[in]*/ int cchName ) = 0;
  1200. virtual HRESULT __stdcall raw_startCDATA ( ) = 0;
  1201. virtual HRESULT __stdcall raw_endCDATA ( ) = 0;
  1202. virtual HRESULT __stdcall raw_comment (
  1203. /*[in]*/ const wchar_t * pwchChars,
  1204. /*[in]*/ int cchChars ) = 0;
  1205. };
  1206. struct __declspec(uuid("862629ac-771a-47b2-8337-4e6843c1be90"))
  1207. ISAXDeclHandler : IUnknown
  1208. {
  1209. //
  1210. // Wrapper methods for error-handling
  1211. //
  1212. HRESULT elementDecl (
  1213. const wchar_t * pwchName,
  1214. int cchName,
  1215. const wchar_t * pwchModel,
  1216. int cchModel );
  1217. HRESULT attributeDecl (
  1218. const wchar_t * pwchElementName,
  1219. int cchElementName,
  1220. const wchar_t * pwchAttributeName,
  1221. int cchAttributeName,
  1222. const wchar_t * pwchType,
  1223. int cchType,
  1224. const wchar_t * pwchValueDefault,
  1225. int cchValueDefault,
  1226. const wchar_t * pwchValue,
  1227. int cchValue );
  1228. HRESULT internalEntityDecl (
  1229. const wchar_t * pwchName,
  1230. int cchName,
  1231. const wchar_t * pwchValue,
  1232. int cchValue );
  1233. HRESULT externalEntityDecl (
  1234. const wchar_t * pwchName,
  1235. int cchName,
  1236. const wchar_t * pwchPublicId,
  1237. int cchPublicId,
  1238. const wchar_t * pwchSystemId,
  1239. int cchSystemId );
  1240. //
  1241. // Raw methods provided by interface
  1242. //
  1243. virtual HRESULT __stdcall raw_elementDecl (
  1244. /*[in]*/ const wchar_t * pwchName,
  1245. /*[in]*/ int cchName,
  1246. /*[in]*/ const wchar_t * pwchModel,
  1247. /*[in]*/ int cchModel ) = 0;
  1248. virtual HRESULT __stdcall raw_attributeDecl (
  1249. /*[in]*/ const wchar_t * pwchElementName,
  1250. /*[in]*/ int cchElementName,
  1251. /*[in]*/ const wchar_t * pwchAttributeName,
  1252. /*[in]*/ int cchAttributeName,
  1253. /*[in]*/ const wchar_t * pwchType,
  1254. /*[in]*/ int cchType,
  1255. /*[in]*/ const wchar_t * pwchValueDefault,
  1256. /*[in]*/ int cchValueDefault,
  1257. /*[in]*/ const wchar_t * pwchValue,
  1258. /*[in]*/ int cchValue ) = 0;
  1259. virtual HRESULT __stdcall raw_internalEntityDecl (
  1260. /*[in]*/ const wchar_t * pwchName,
  1261. /*[in]*/ int cchName,
  1262. /*[in]*/ const wchar_t * pwchValue,
  1263. /*[in]*/ int cchValue ) = 0;
  1264. virtual HRESULT __stdcall raw_externalEntityDecl (
  1265. /*[in]*/ const wchar_t * pwchName,
  1266. /*[in]*/ int cchName,
  1267. /*[in]*/ const wchar_t * pwchPublicId,
  1268. /*[in]*/ int cchPublicId,
  1269. /*[in]*/ const wchar_t * pwchSystemId,
  1270. /*[in]*/ int cchSystemId ) = 0;
  1271. };
  1272. struct __declspec(uuid("0c05d096-f45b-4aca-ad1a-aa0bc25518dc"))
  1273. IVBSAXEntityResolver : IDispatch
  1274. {
  1275. //
  1276. // Wrapper methods for error-handling
  1277. //
  1278. _variant_t resolveEntity (
  1279. BSTR * strPublicId,
  1280. BSTR * strSystemId );
  1281. //
  1282. // Raw methods provided by interface
  1283. //
  1284. virtual HRESULT __stdcall raw_resolveEntity (
  1285. /*[in,out]*/ BSTR * strPublicId,
  1286. /*[in,out]*/ BSTR * strSystemId,
  1287. /*[out,retval]*/ VARIANT * varInput ) = 0;
  1288. };
  1289. struct __declspec(uuid("796e7ac5-5aa2-4eff-acad-3faaf01a3288"))
  1290. IVBSAXLocator : IDispatch
  1291. {
  1292. //
  1293. // Property data
  1294. //
  1295. __declspec(property(get=GetcolumnNumber))
  1296. int columnNumber;
  1297. __declspec(property(get=GetlineNumber))
  1298. int lineNumber;
  1299. __declspec(property(get=GetpublicId))
  1300. _bstr_t publicId;
  1301. __declspec(property(get=GetsystemId))
  1302. _bstr_t systemId;
  1303. //
  1304. // Wrapper methods for error-handling
  1305. //
  1306. int GetcolumnNumber ( );
  1307. int GetlineNumber ( );
  1308. _bstr_t GetpublicId ( );
  1309. _bstr_t GetsystemId ( );
  1310. //
  1311. // Raw methods provided by interface
  1312. //
  1313. virtual HRESULT __stdcall get_columnNumber (
  1314. /*[out,retval]*/ int * nColumn ) = 0;
  1315. virtual HRESULT __stdcall get_lineNumber (
  1316. /*[out,retval]*/ int * nLine ) = 0;
  1317. virtual HRESULT __stdcall get_publicId (
  1318. /*[out,retval]*/ BSTR * strPublicId ) = 0;
  1319. virtual HRESULT __stdcall get_systemId (
  1320. /*[out,retval]*/ BSTR * strSystemId ) = 0;
  1321. };
  1322. struct __declspec(uuid("10dc0586-132b-4cac-8bb3-db00ac8b7ee0"))
  1323. IVBSAXAttributes : IDispatch
  1324. {
  1325. //
  1326. // Property data
  1327. //
  1328. __declspec(property(get=Getlength))
  1329. int length;
  1330. //
  1331. // Wrapper methods for error-handling
  1332. //
  1333. int Getlength ( );
  1334. _bstr_t getURI (
  1335. int nIndex );
  1336. _bstr_t getLocalName (
  1337. int nIndex );
  1338. _bstr_t getQName (
  1339. int nIndex );
  1340. int getIndexFromName (
  1341. _bstr_t strURI,
  1342. _bstr_t strLocalName );
  1343. int getIndexFromQName (
  1344. _bstr_t strQName );
  1345. _bstr_t getType (
  1346. int nIndex );
  1347. _bstr_t getTypeFromName (
  1348. _bstr_t strURI,
  1349. _bstr_t strLocalName );
  1350. _bstr_t getTypeFromQName (
  1351. _bstr_t strQName );
  1352. _bstr_t getValue (
  1353. int nIndex );
  1354. _bstr_t getValueFromName (
  1355. _bstr_t strURI,
  1356. _bstr_t strLocalName );
  1357. _bstr_t getValueFromQName (
  1358. _bstr_t strQName );
  1359. //
  1360. // Raw methods provided by interface
  1361. //
  1362. virtual HRESULT __stdcall get_length (
  1363. /*[out,retval]*/ int * nLength ) = 0;
  1364. virtual HRESULT __stdcall raw_getURI (
  1365. /*[in]*/ int nIndex,
  1366. /*[out,retval]*/ BSTR * strURI ) = 0;
  1367. virtual HRESULT __stdcall raw_getLocalName (
  1368. /*[in]*/ int nIndex,
  1369. /*[out,retval]*/ BSTR * strLocalName ) = 0;
  1370. virtual HRESULT __stdcall raw_getQName (
  1371. /*[in]*/ int nIndex,
  1372. /*[out,retval]*/ BSTR * strQName ) = 0;
  1373. virtual HRESULT __stdcall raw_getIndexFromName (
  1374. /*[in]*/ BSTR strURI,
  1375. /*[in]*/ BSTR strLocalName,
  1376. /*[out,retval]*/ int * nIndex ) = 0;
  1377. virtual HRESULT __stdcall raw_getIndexFromQName (
  1378. /*[in]*/ BSTR strQName,
  1379. /*[out,retval]*/ int * nIndex ) = 0;
  1380. virtual HRESULT __stdcall raw_getType (
  1381. /*[in]*/ int nIndex,
  1382. /*[out,retval]*/ BSTR * strType ) = 0;
  1383. virtual HRESULT __stdcall raw_getTypeFromName (
  1384. /*[in]*/ BSTR strURI,
  1385. /*[in]*/ BSTR strLocalName,
  1386. /*[out,retval]*/ BSTR * strType ) = 0;
  1387. virtual HRESULT __stdcall raw_getTypeFromQName (
  1388. /*[in]*/ BSTR strQName,
  1389. /*[out,retval]*/ BSTR * strType ) = 0;
  1390. virtual HRESULT __stdcall raw_getValue (
  1391. /*[in]*/ int nIndex,
  1392. /*[out,retval]*/ BSTR * strValue ) = 0;
  1393. virtual HRESULT __stdcall raw_getValueFromName (
  1394. /*[in]*/ BSTR strURI,
  1395. /*[in]*/ BSTR strLocalName,
  1396. /*[out,retval]*/ BSTR * strValue ) = 0;
  1397. virtual HRESULT __stdcall raw_getValueFromQName (
  1398. /*[in]*/ BSTR strQName,
  1399. /*[out,retval]*/ BSTR * strValue ) = 0;
  1400. };
  1401. struct __declspec(uuid("2ed7290a-4dd5-4b46-bb26-4e4155e77faa"))
  1402. IVBSAXContentHandler : IDispatch
  1403. {
  1404. //
  1405. // Property data
  1406. //
  1407. __declspec(property(put=PutRefdocumentLocator))
  1408. IVBSAXLocatorPtr documentLocator;
  1409. //
  1410. // Wrapper methods for error-handling
  1411. //
  1412. void PutRefdocumentLocator (
  1413. struct IVBSAXLocator * _arg1 );
  1414. HRESULT startDocument ( );
  1415. HRESULT endDocument ( );
  1416. HRESULT startPrefixMapping (
  1417. BSTR * strPrefix,
  1418. BSTR * strURI );
  1419. HRESULT endPrefixMapping (
  1420. BSTR * strPrefix );
  1421. HRESULT startElement (
  1422. BSTR * strNamespaceURI,
  1423. BSTR * strLocalName,
  1424. BSTR * strQName,
  1425. struct IVBSAXAttributes * oAttributes );
  1426. HRESULT endElement (
  1427. BSTR * strNamespaceURI,
  1428. BSTR * strLocalName,
  1429. BSTR * strQName );
  1430. HRESULT characters (
  1431. BSTR * strChars );
  1432. HRESULT ignorableWhitespace (
  1433. BSTR * strChars );
  1434. HRESULT processingInstruction (
  1435. BSTR * strTarget,
  1436. BSTR * strData );
  1437. HRESULT skippedEntity (
  1438. BSTR * strName );
  1439. //
  1440. // Raw methods provided by interface
  1441. //
  1442. virtual HRESULT __stdcall putref_documentLocator (
  1443. /*[in]*/ struct IVBSAXLocator * _arg1 ) = 0;
  1444. virtual HRESULT __stdcall raw_startDocument ( ) = 0;
  1445. virtual HRESULT __stdcall raw_endDocument ( ) = 0;
  1446. virtual HRESULT __stdcall raw_startPrefixMapping (
  1447. /*[in,out]*/ BSTR * strPrefix,
  1448. /*[in,out]*/ BSTR * strURI ) = 0;
  1449. virtual HRESULT __stdcall raw_endPrefixMapping (
  1450. /*[in,out]*/ BSTR * strPrefix ) = 0;
  1451. virtual HRESULT __stdcall raw_startElement (
  1452. /*[in,out]*/ BSTR * strNamespaceURI,
  1453. /*[in,out]*/ BSTR * strLocalName,
  1454. /*[in,out]*/ BSTR * strQName,
  1455. /*[in]*/ struct IVBSAXAttributes * oAttributes ) = 0;
  1456. virtual HRESULT __stdcall raw_endElement (
  1457. /*[in,out]*/ BSTR * strNamespaceURI,
  1458. /*[in,out]*/ BSTR * strLocalName,
  1459. /*[in,out]*/ BSTR * strQName ) = 0;
  1460. virtual HRESULT __stdcall raw_characters (
  1461. /*[in,out]*/ BSTR * strChars ) = 0;
  1462. virtual HRESULT __stdcall raw_ignorableWhitespace (
  1463. /*[in,out]*/ BSTR * strChars ) = 0;
  1464. virtual HRESULT __stdcall raw_processingInstruction (
  1465. /*[in,out]*/ BSTR * strTarget,
  1466. /*[in,out]*/ BSTR * strData ) = 0;
  1467. virtual HRESULT __stdcall raw_skippedEntity (
  1468. /*[in,out]*/ BSTR * strName ) = 0;
  1469. };
  1470. struct __declspec(uuid("24fb3297-302d-4620-ba39-3a732d850558"))
  1471. IVBSAXDTDHandler : IDispatch
  1472. {
  1473. //
  1474. // Wrapper methods for error-handling
  1475. //
  1476. HRESULT notationDecl (
  1477. BSTR * strName,
  1478. BSTR * strPublicId,
  1479. BSTR * strSystemId );
  1480. HRESULT unparsedEntityDecl (
  1481. BSTR * strName,
  1482. BSTR * strPublicId,
  1483. BSTR * strSystemId,
  1484. BSTR * strNotationName );
  1485. //
  1486. // Raw methods provided by interface
  1487. //
  1488. virtual HRESULT __stdcall raw_notationDecl (
  1489. /*[in,out]*/ BSTR * strName,
  1490. /*[in,out]*/ BSTR * strPublicId,
  1491. /*[in,out]*/ BSTR * strSystemId ) = 0;
  1492. virtual HRESULT __stdcall raw_unparsedEntityDecl (
  1493. /*[in,out]*/ BSTR * strName,
  1494. /*[in,out]*/ BSTR * strPublicId,
  1495. /*[in,out]*/ BSTR * strSystemId,
  1496. /*[in,out]*/ BSTR * strNotationName ) = 0;
  1497. };
  1498. struct __declspec(uuid("d963d3fe-173c-4862-9095-b92f66995f52"))
  1499. IVBSAXErrorHandler : IDispatch
  1500. {
  1501. //
  1502. // Wrapper methods for error-handling
  1503. //
  1504. HRESULT error (
  1505. struct IVBSAXLocator * oLocator,
  1506. BSTR * strError,
  1507. long nErrorCode );
  1508. HRESULT fatalError (
  1509. struct IVBSAXLocator * oLocator,
  1510. BSTR * strError,
  1511. long nErrorCode );
  1512. HRESULT warning (
  1513. struct IVBSAXLocator * oLocator,
  1514. BSTR * strError,
  1515. long nErrorCode );
  1516. //
  1517. // Raw methods provided by interface
  1518. //
  1519. virtual HRESULT __stdcall raw_error (
  1520. /*[in]*/ struct IVBSAXLocator * oLocator,
  1521. /*[in,out]*/ BSTR * strError,
  1522. /*[in]*/ long nErrorCode ) = 0;
  1523. virtual HRESULT __stdcall raw_fatalError (
  1524. /*[in]*/ struct IVBSAXLocator * oLocator,
  1525. /*[in,out]*/ BSTR * strError,
  1526. /*[in]*/ long nErrorCode ) = 0;
  1527. virtual HRESULT __stdcall raw_warning (
  1528. /*[in]*/ struct IVBSAXLocator * oLocator,
  1529. /*[in,out]*/ BSTR * strError,
  1530. /*[in]*/ long nErrorCode ) = 0;
  1531. };
  1532. struct __declspec(uuid("8c033caa-6cd6-4f73-b728-4531af74945f"))
  1533. IVBSAXXMLReader : IDispatch
  1534. {
  1535. //
  1536. // Property data
  1537. //
  1538. __declspec(property(get=GetentityResolver,put=PutRefentityResolver))
  1539. IVBSAXEntityResolverPtr entityResolver;
  1540. __declspec(property(get=GetcontentHandler,put=PutRefcontentHandler))
  1541. IVBSAXContentHandlerPtr contentHandler;
  1542. __declspec(property(get=GetdtdHandler,put=PutRefdtdHandler))
  1543. IVBSAXDTDHandlerPtr dtdHandler;
  1544. __declspec(property(get=GeterrorHandler,put=PutReferrorHandler))
  1545. IVBSAXErrorHandlerPtr errorHandler;
  1546. __declspec(property(get=GetbaseURL,put=PutbaseURL))
  1547. _bstr_t baseURL;
  1548. __declspec(property(get=GetsecureBaseURL,put=PutsecureBaseURL))
  1549. _bstr_t secureBaseURL;
  1550. //
  1551. // Wrapper methods for error-handling
  1552. //
  1553. VARIANT_BOOL getFeature (
  1554. _bstr_t strName );
  1555. HRESULT putFeature (
  1556. _bstr_t strName,
  1557. VARIANT_BOOL fValue );
  1558. _variant_t getProperty (
  1559. _bstr_t strName );
  1560. HRESULT putProperty (
  1561. _bstr_t strName,
  1562. const _variant_t & varValue );
  1563. IVBSAXEntityResolverPtr GetentityResolver ( );
  1564. void PutRefentityResolver (
  1565. struct IVBSAXEntityResolver * oResolver );
  1566. IVBSAXContentHandlerPtr GetcontentHandler ( );
  1567. void PutRefcontentHandler (
  1568. struct IVBSAXContentHandler * oHandler );
  1569. IVBSAXDTDHandlerPtr GetdtdHandler ( );
  1570. void PutRefdtdHandler (
  1571. struct IVBSAXDTDHandler * oHandler );
  1572. IVBSAXErrorHandlerPtr GeterrorHandler ( );
  1573. void PutReferrorHandler (
  1574. struct IVBSAXErrorHandler * oHandler );
  1575. _bstr_t GetbaseURL ( );
  1576. void PutbaseURL (
  1577. _bstr_t strBaseURL );
  1578. _bstr_t GetsecureBaseURL ( );
  1579. void PutsecureBaseURL (
  1580. _bstr_t strSecureBaseURL );
  1581. HRESULT parse (
  1582. const _variant_t & varInput );
  1583. HRESULT parseURL (
  1584. _bstr_t strURL );
  1585. //
  1586. // Raw methods provided by interface
  1587. //
  1588. virtual HRESULT __stdcall raw_getFeature (
  1589. /*[in]*/ BSTR strName,
  1590. /*[out,retval]*/ VARIANT_BOOL * fValue ) = 0;
  1591. virtual HRESULT __stdcall raw_putFeature (
  1592. /*[in]*/ BSTR strName,
  1593. /*[in]*/ VARIANT_BOOL fValue ) = 0;
  1594. virtual HRESULT __stdcall raw_getProperty (
  1595. /*[in]*/ BSTR strName,
  1596. /*[out,retval]*/ VARIANT * varValue ) = 0;
  1597. virtual HRESULT __stdcall raw_putProperty (
  1598. /*[in]*/ BSTR strName,
  1599. /*[in]*/ VARIANT varValue ) = 0;
  1600. virtual HRESULT __stdcall get_entityResolver (
  1601. /*[out,retval]*/ struct IVBSAXEntityResolver * * oResolver ) = 0;
  1602. virtual HRESULT __stdcall putref_entityResolver (
  1603. /*[in]*/ struct IVBSAXEntityResolver * oResolver ) = 0;
  1604. virtual HRESULT __stdcall get_contentHandler (
  1605. /*[out,retval]*/ struct IVBSAXContentHandler * * oHandler ) = 0;
  1606. virtual HRESULT __stdcall putref_contentHandler (
  1607. /*[in]*/ struct IVBSAXContentHandler * oHandler ) = 0;
  1608. virtual HRESULT __stdcall get_dtdHandler (
  1609. /*[out,retval]*/ struct IVBSAXDTDHandler * * oHandler ) = 0;
  1610. virtual HRESULT __stdcall putref_dtdHandler (
  1611. /*[in]*/ struct IVBSAXDTDHandler * oHandler ) = 0;
  1612. virtual HRESULT __stdcall get_errorHandler (
  1613. /*[out,retval]*/ struct IVBSAXErrorHandler * * oHandler ) = 0;
  1614. virtual HRESULT __stdcall putref_errorHandler (
  1615. /*[in]*/ struct IVBSAXErrorHandler * oHandler ) = 0;
  1616. virtual HRESULT __stdcall get_baseURL (
  1617. /*[out,retval]*/ BSTR * strBaseURL ) = 0;
  1618. virtual HRESULT __stdcall put_baseURL (
  1619. /*[in]*/ BSTR strBaseURL ) = 0;
  1620. virtual HRESULT __stdcall get_secureBaseURL (
  1621. /*[out,retval]*/ BSTR * strSecureBaseURL ) = 0;
  1622. virtual HRESULT __stdcall put_secureBaseURL (
  1623. /*[in]*/ BSTR strSecureBaseURL ) = 0;
  1624. virtual HRESULT __stdcall raw_parse (
  1625. /*[in]*/ VARIANT varInput ) = 0;
  1626. virtual HRESULT __stdcall raw_parseURL (
  1627. /*[in]*/ BSTR strURL ) = 0;
  1628. };
  1629. struct __declspec(uuid("1299eb1b-5b88-433e-82de-82ca75ad4e04"))
  1630. IVBSAXXMLFilter : IDispatch
  1631. {
  1632. //
  1633. // Property data
  1634. //
  1635. __declspec(property(get=Getparent,put=PutRefparent))
  1636. IVBSAXXMLReaderPtr parent;
  1637. //
  1638. // Wrapper methods for error-handling
  1639. //
  1640. IVBSAXXMLReaderPtr Getparent ( );
  1641. void PutRefparent (
  1642. struct IVBSAXXMLReader * oReader );
  1643. //
  1644. // Raw methods provided by interface
  1645. //
  1646. virtual HRESULT __stdcall get_parent (
  1647. /*[out,retval]*/ struct IVBSAXXMLReader * * oReader ) = 0;
  1648. virtual HRESULT __stdcall putref_parent (
  1649. /*[in]*/ struct IVBSAXXMLReader * oReader ) = 0;
  1650. };
  1651. struct __declspec(uuid("032aac35-8c0e-4d9d-979f-e3b702935576"))
  1652. IVBSAXLexicalHandler : IDispatch
  1653. {
  1654. //
  1655. // Wrapper methods for error-handling
  1656. //
  1657. HRESULT startDTD (
  1658. BSTR * strName,
  1659. BSTR * strPublicId,
  1660. BSTR * strSystemId );
  1661. HRESULT endDTD ( );
  1662. HRESULT startEntity (
  1663. BSTR * strName );
  1664. HRESULT endEntity (
  1665. BSTR * strName );
  1666. HRESULT startCDATA ( );
  1667. HRESULT endCDATA ( );
  1668. HRESULT comment (
  1669. BSTR * strChars );
  1670. //
  1671. // Raw methods provided by interface
  1672. //
  1673. virtual HRESULT __stdcall raw_startDTD (
  1674. /*[in,out]*/ BSTR * strName,
  1675. /*[in,out]*/ BSTR * strPublicId,
  1676. /*[in,out]*/ BSTR * strSystemId ) = 0;
  1677. virtual HRESULT __stdcall raw_endDTD ( ) = 0;
  1678. virtual HRESULT __stdcall raw_startEntity (
  1679. /*[in,out]*/ BSTR * strName ) = 0;
  1680. virtual HRESULT __stdcall raw_endEntity (
  1681. /*[in,out]*/ BSTR * strName ) = 0;
  1682. virtual HRESULT __stdcall raw_startCDATA ( ) = 0;
  1683. virtual HRESULT __stdcall raw_endCDATA ( ) = 0;
  1684. virtual HRESULT __stdcall raw_comment (
  1685. /*[in,out]*/ BSTR * strChars ) = 0;
  1686. };
  1687. struct __declspec(uuid("e8917260-7579-4be1-b5dd-7afbfa6f077b"))
  1688. IVBSAXDeclHandler : IDispatch
  1689. {
  1690. //
  1691. // Wrapper methods for error-handling
  1692. //
  1693. HRESULT elementDecl (
  1694. BSTR * strName,
  1695. BSTR * strModel );
  1696. HRESULT attributeDecl (
  1697. BSTR * strElementName,
  1698. BSTR * strAttributeName,
  1699. BSTR * strType,
  1700. BSTR * strValueDefault,
  1701. BSTR * strValue );
  1702. HRESULT internalEntityDecl (
  1703. BSTR * strName,
  1704. BSTR * strValue );
  1705. HRESULT externalEntityDecl (
  1706. BSTR * strName,
  1707. BSTR * strPublicId,
  1708. BSTR * strSystemId );
  1709. //
  1710. // Raw methods provided by interface
  1711. //
  1712. virtual HRESULT __stdcall raw_elementDecl (
  1713. /*[in,out]*/ BSTR * strName,
  1714. /*[in,out]*/ BSTR * strModel ) = 0;
  1715. virtual HRESULT __stdcall raw_attributeDecl (
  1716. /*[in,out]*/ BSTR * strElementName,
  1717. /*[in,out]*/ BSTR * strAttributeName,
  1718. /*[in,out]*/ BSTR * strType,
  1719. /*[in,out]*/ BSTR * strValueDefault,
  1720. /*[in,out]*/ BSTR * strValue ) = 0;
  1721. virtual HRESULT __stdcall raw_internalEntityDecl (
  1722. /*[in,out]*/ BSTR * strName,
  1723. /*[in,out]*/ BSTR * strValue ) = 0;
  1724. virtual HRESULT __stdcall raw_externalEntityDecl (
  1725. /*[in,out]*/ BSTR * strName,
  1726. /*[in,out]*/ BSTR * strPublicId,
  1727. /*[in,out]*/ BSTR * strSystemId ) = 0;
  1728. };
  1729. struct __declspec(uuid("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d"))
  1730. IMXWriter : IDispatch
  1731. {
  1732. //
  1733. // Property data
  1734. //
  1735. __declspec(property(get=Getoutput,put=Putoutput))
  1736. _variant_t output;
  1737. __declspec(property(get=Getencoding,put=Putencoding))
  1738. _bstr_t encoding;
  1739. __declspec(property(get=GetbyteOrderMark,put=PutbyteOrderMark))
  1740. VARIANT_BOOL byteOrderMark;
  1741. __declspec(property(get=Getindent,put=Putindent))
  1742. VARIANT_BOOL indent;
  1743. __declspec(property(get=Getstandalone,put=Putstandalone))
  1744. VARIANT_BOOL standalone;
  1745. __declspec(property(get=GetomitXMLDeclaration,put=PutomitXMLDeclaration))
  1746. VARIANT_BOOL omitXMLDeclaration;
  1747. __declspec(property(get=Getversion,put=Putversion))
  1748. _bstr_t version;
  1749. __declspec(property(get=GetdisableOutputEscaping,put=PutdisableOutputEscaping))
  1750. VARIANT_BOOL disableOutputEscaping;
  1751. //
  1752. // Wrapper methods for error-handling
  1753. //
  1754. void Putoutput (
  1755. const _variant_t & varDestination );
  1756. _variant_t Getoutput ( );
  1757. void Putencoding (
  1758. _bstr_t strEncoding );
  1759. _bstr_t Getencoding ( );
  1760. void PutbyteOrderMark (
  1761. VARIANT_BOOL fWriteByteOrderMark );
  1762. VARIANT_BOOL GetbyteOrderMark ( );
  1763. void Putindent (
  1764. VARIANT_BOOL fIndentMode );
  1765. VARIANT_BOOL Getindent ( );
  1766. void Putstandalone (
  1767. VARIANT_BOOL fValue );
  1768. VARIANT_BOOL Getstandalone ( );
  1769. void PutomitXMLDeclaration (
  1770. VARIANT_BOOL fValue );
  1771. VARIANT_BOOL GetomitXMLDeclaration ( );
  1772. void Putversion (
  1773. _bstr_t strVersion );
  1774. _bstr_t Getversion ( );
  1775. void PutdisableOutputEscaping (
  1776. VARIANT_BOOL fValue );
  1777. VARIANT_BOOL GetdisableOutputEscaping ( );
  1778. HRESULT flush ( );
  1779. HRESULT reset ( );
  1780. //
  1781. // Raw methods provided by interface
  1782. //
  1783. virtual HRESULT __stdcall put_output (
  1784. /*[in]*/ VARIANT varDestination ) = 0;
  1785. virtual HRESULT __stdcall get_output (
  1786. /*[out,retval]*/ VARIANT * varDestination ) = 0;
  1787. virtual HRESULT __stdcall put_encoding (
  1788. /*[in]*/ BSTR strEncoding ) = 0;
  1789. virtual HRESULT __stdcall get_encoding (
  1790. /*[out,retval]*/ BSTR * strEncoding ) = 0;
  1791. virtual HRESULT __stdcall put_byteOrderMark (
  1792. /*[in]*/ VARIANT_BOOL fWriteByteOrderMark ) = 0;
  1793. virtual HRESULT __stdcall get_byteOrderMark (
  1794. /*[out,retval]*/ VARIANT_BOOL * fWriteByteOrderMark ) = 0;
  1795. virtual HRESULT __stdcall put_indent (
  1796. /*[in]*/ VARIANT_BOOL fIndentMode ) = 0;
  1797. virtual HRESULT __stdcall get_indent (
  1798. /*[out,retval]*/ VARIANT_BOOL * fIndentMode ) = 0;
  1799. virtual HRESULT __stdcall put_standalone (
  1800. /*[in]*/ VARIANT_BOOL fValue ) = 0;
  1801. virtual HRESULT __stdcall get_standalone (
  1802. /*[out,retval]*/ VARIANT_BOOL * fValue ) = 0;
  1803. virtual HRESULT __stdcall put_omitXMLDeclaration (
  1804. /*[in]*/ VARIANT_BOOL fValue ) = 0;
  1805. virtual HRESULT __stdcall get_omitXMLDeclaration (
  1806. /*[out,retval]*/ VARIANT_BOOL * fValue ) = 0;
  1807. virtual HRESULT __stdcall put_version (
  1808. /*[in]*/ BSTR strVersion ) = 0;
  1809. virtual HRESULT __stdcall get_version (
  1810. /*[out,retval]*/ BSTR * strVersion ) = 0;
  1811. virtual HRESULT __stdcall put_disableOutputEscaping (
  1812. /*[in]*/ VARIANT_BOOL fValue ) = 0;
  1813. virtual HRESULT __stdcall get_disableOutputEscaping (
  1814. /*[out,retval]*/ VARIANT_BOOL * fValue ) = 0;
  1815. virtual HRESULT __stdcall raw_flush ( ) = 0;
  1816. virtual HRESULT __stdcall raw_reset ( ) = 0;
  1817. };
  1818. struct __declspec(uuid("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262"))
  1819. IMXAttributes : IDispatch
  1820. {
  1821. //
  1822. // Wrapper methods for error-handling
  1823. //
  1824. HRESULT addAttribute (
  1825. _bstr_t strURI,
  1826. _bstr_t strLocalName,
  1827. _bstr_t strQName,
  1828. _bstr_t strType,
  1829. _bstr_t strValue );
  1830. HRESULT addAttributeFromIndex (
  1831. const _variant_t & varAtts,
  1832. int nIndex );
  1833. HRESULT clear ( );
  1834. HRESULT removeAttribute (
  1835. int nIndex );
  1836. HRESULT setAttribute (
  1837. int nIndex,
  1838. _bstr_t strURI,
  1839. _bstr_t strLocalName,
  1840. _bstr_t strQName,
  1841. _bstr_t strType,
  1842. _bstr_t strValue );
  1843. HRESULT setAttributes (
  1844. const _variant_t & varAtts );
  1845. HRESULT setLocalName (
  1846. int nIndex,
  1847. _bstr_t strLocalName );
  1848. HRESULT setQName (
  1849. int nIndex,
  1850. _bstr_t strQName );
  1851. HRESULT setType (
  1852. int nIndex,
  1853. _bstr_t strType );
  1854. HRESULT setURI (
  1855. int nIndex,
  1856. _bstr_t strURI );
  1857. HRESULT setValue (
  1858. int nIndex,
  1859. _bstr_t strValue );
  1860. //
  1861. // Raw methods provided by interface
  1862. //
  1863. virtual HRESULT __stdcall raw_addAttribute (
  1864. /*[in]*/ BSTR strURI,
  1865. /*[in]*/ BSTR strLocalName,
  1866. /*[in]*/ BSTR strQName,
  1867. /*[in]*/ BSTR strType,
  1868. /*[in]*/ BSTR strValue ) = 0;
  1869. virtual HRESULT __stdcall raw_addAttributeFromIndex (
  1870. /*[in]*/ VARIANT varAtts,
  1871. /*[in]*/ int nIndex ) = 0;
  1872. virtual HRESULT __stdcall raw_clear ( ) = 0;
  1873. virtual HRESULT __stdcall raw_removeAttribute (
  1874. /*[in]*/ int nIndex ) = 0;
  1875. virtual HRESULT __stdcall raw_setAttribute (
  1876. /*[in]*/ int nIndex,
  1877. /*[in]*/ BSTR strURI,
  1878. /*[in]*/ BSTR strLocalName,
  1879. /*[in]*/ BSTR strQName,
  1880. /*[in]*/ BSTR strType,
  1881. /*[in]*/ BSTR strValue ) = 0;
  1882. virtual HRESULT __stdcall raw_setAttributes (
  1883. /*[in]*/ VARIANT varAtts ) = 0;
  1884. virtual HRESULT __stdcall raw_setLocalName (
  1885. /*[in]*/ int nIndex,
  1886. /*[in]*/ BSTR strLocalName ) = 0;
  1887. virtual HRESULT __stdcall raw_setQName (
  1888. /*[in]*/ int nIndex,
  1889. /*[in]*/ BSTR strQName ) = 0;
  1890. virtual HRESULT __stdcall raw_setType (
  1891. /*[in]*/ int nIndex,
  1892. /*[in]*/ BSTR strType ) = 0;
  1893. virtual HRESULT __stdcall raw_setURI (
  1894. /*[in]*/ int nIndex,
  1895. /*[in]*/ BSTR strURI ) = 0;
  1896. virtual HRESULT __stdcall raw_setValue (
  1897. /*[in]*/ int nIndex,
  1898. /*[in]*/ BSTR strValue ) = 0;
  1899. };
  1900. struct __declspec(uuid("808f4e35-8d5a-4fbe-8466-33a41279ed30"))
  1901. IMXReaderControl : IDispatch
  1902. {
  1903. //
  1904. // Wrapper methods for error-handling
  1905. //
  1906. HRESULT abort ( );
  1907. HRESULT resume ( );
  1908. HRESULT suspend ( );
  1909. //
  1910. // Raw methods provided by interface
  1911. //
  1912. virtual HRESULT __stdcall raw_abort ( ) = 0;
  1913. virtual HRESULT __stdcall raw_resume ( ) = 0;
  1914. virtual HRESULT __stdcall raw_suspend ( ) = 0;
  1915. };
  1916. enum tagXMLEMEM_TYPE
  1917. {
  1918. XMLELEMTYPE_ELEMENT = 0,
  1919. XMLELEMTYPE_TEXT = 1,
  1920. XMLELEMTYPE_COMMENT = 2,
  1921. XMLELEMTYPE_DOCUMENT = 3,
  1922. XMLELEMTYPE_DTD = 4,
  1923. XMLELEMTYPE_PI = 5,
  1924. XMLELEMTYPE_OTHER = 6
  1925. };
  1926. struct __declspec(uuid("3efaa427-272f-11d2-836f-0000f87a7782"))
  1927. XMLDOMDocumentEvents : IDispatch
  1928. {
  1929. //
  1930. // Wrapper methods for error-handling
  1931. //
  1932. // Methods:
  1933. HRESULT ondataavailable ( );
  1934. HRESULT onreadystatechange ( );
  1935. };
  1936. struct __declspec(uuid("ed8c108d-4349-11d2-91a4-00c04f7969e8"))
  1937. IXMLHTTPRequest : IDispatch
  1938. {
  1939. //
  1940. // Property data
  1941. //
  1942. __declspec(property(get=Getstatus))
  1943. long status;
  1944. __declspec(property(get=GetstatusText))
  1945. _bstr_t statusText;
  1946. __declspec(property(get=GetresponseXML))
  1947. IDispatchPtr responseXML;
  1948. __declspec(property(get=GetresponseText))
  1949. _bstr_t responseText;
  1950. __declspec(property(get=GetresponseBody))
  1951. _variant_t responseBody;
  1952. __declspec(property(get=GetresponseStream))
  1953. _variant_t responseStream;
  1954. __declspec(property(get=GetreadyState))
  1955. long readyState;
  1956. __declspec(property(put=Putonreadystatechange))
  1957. IDispatchPtr onreadystatechange;
  1958. //
  1959. // Wrapper methods for error-handling
  1960. //
  1961. HRESULT open (
  1962. _bstr_t bstrMethod,
  1963. _bstr_t bstrUrl,
  1964. const _variant_t & varAsync = vtMissing,
  1965. const _variant_t & bstrUser = vtMissing,
  1966. const _variant_t & bstrPassword = vtMissing );
  1967. HRESULT setRequestHeader (
  1968. _bstr_t bstrHeader,
  1969. _bstr_t bstrValue );
  1970. _bstr_t getResponseHeader (
  1971. _bstr_t bstrHeader );
  1972. _bstr_t getAllResponseHeaders ( );
  1973. HRESULT send (
  1974. const _variant_t & varBody = vtMissing );
  1975. HRESULT abort ( );
  1976. long Getstatus ( );
  1977. _bstr_t GetstatusText ( );
  1978. IDispatchPtr GetresponseXML ( );
  1979. _bstr_t GetresponseText ( );
  1980. _variant_t GetresponseBody ( );
  1981. _variant_t GetresponseStream ( );
  1982. long GetreadyState ( );
  1983. void Putonreadystatechange (
  1984. IDispatch * _arg1 );
  1985. //
  1986. // Raw methods provided by interface
  1987. //
  1988. virtual HRESULT __stdcall raw_open (
  1989. /*[in]*/ BSTR bstrMethod,
  1990. /*[in]*/ BSTR bstrUrl,
  1991. /*[in]*/ VARIANT varAsync = vtMissing,
  1992. /*[in]*/ VARIANT bstrUser = vtMissing,
  1993. /*[in]*/ VARIANT bstrPassword = vtMissing ) = 0;
  1994. virtual HRESULT __stdcall raw_setRequestHeader (
  1995. /*[in]*/ BSTR bstrHeader,
  1996. /*[in]*/ BSTR bstrValue ) = 0;
  1997. virtual HRESULT __stdcall raw_getResponseHeader (
  1998. /*[in]*/ BSTR bstrHeader,
  1999. /*[out,retval]*/ BSTR * pbstrValue ) = 0;
  2000. virtual HRESULT __stdcall raw_getAllResponseHeaders (
  2001. /*[out,retval]*/ BSTR * pbstrHeaders ) = 0;
  2002. virtual HRESULT __stdcall raw_send (
  2003. /*[in]*/ VARIANT varBody = vtMissing ) = 0;
  2004. virtual HRESULT __stdcall raw_abort ( ) = 0;
  2005. virtual HRESULT __stdcall get_status (
  2006. /*[out,retval]*/ long * plStatus ) = 0;
  2007. virtual HRESULT __stdcall get_statusText (
  2008. /*[out,retval]*/ BSTR * pbstrStatus ) = 0;
  2009. virtual HRESULT __stdcall get_responseXML (
  2010. /*[out,retval]*/ IDispatch * * ppBody ) = 0;
  2011. virtual HRESULT __stdcall get_responseText (
  2012. /*[out,retval]*/ BSTR * pbstrBody ) = 0;
  2013. virtual HRESULT __stdcall get_responseBody (
  2014. /*[out,retval]*/ VARIANT * pvarBody ) = 0;
  2015. virtual HRESULT __stdcall get_responseStream (
  2016. /*[out,retval]*/ VARIANT * pvarBody ) = 0;
  2017. virtual HRESULT __stdcall get_readyState (
  2018. /*[out,retval]*/ long * plState ) = 0;
  2019. virtual HRESULT __stdcall put_onreadystatechange (
  2020. /*[in]*/ IDispatch * _arg1 ) = 0;
  2021. };
  2022. struct __declspec(uuid("2e9196bf-13ba-4dd4-91ca-6c571f281495"))
  2023. IServerXMLHTTPRequest : IXMLHTTPRequest
  2024. {
  2025. //
  2026. // Wrapper methods for error-handling
  2027. //
  2028. HRESULT setTimeouts (
  2029. long resolveTimeout,
  2030. long connectTimeout,
  2031. long sendTimeout,
  2032. long receiveTimeout );
  2033. VARIANT_BOOL waitForResponse (
  2034. const _variant_t & timeoutInSeconds = vtMissing );
  2035. //
  2036. // Raw methods provided by interface
  2037. //
  2038. virtual HRESULT __stdcall raw_setTimeouts (
  2039. /*[in]*/ long resolveTimeout,
  2040. /*[in]*/ long connectTimeout,
  2041. /*[in]*/ long sendTimeout,
  2042. /*[in]*/ long receiveTimeout ) = 0;
  2043. virtual HRESULT __stdcall raw_waitForResponse (
  2044. /*[in]*/ VARIANT timeoutInSeconds,
  2045. /*[out,retval]*/ VARIANT_BOOL * isSuccessful ) = 0;
  2046. };
  2047. struct __declspec(uuid("cfc399af-d876-11d0-9c10-00c04fc99c8e"))
  2048. XMLDocument;
  2049. // [ default ] interface IXMLDocument2
  2050. struct __declspec(uuid("f6d90f11-9c73-11d3-b32e-00c04f990bb4"))
  2051. DOMDocument;
  2052. // [ default ] interface IXMLDOMDocument2
  2053. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2054. struct __declspec(uuid("f5078f1b-c551-11d3-89b9-0000f81fe221"))
  2055. DOMDocument26;
  2056. // [ default ] interface IXMLDOMDocument2
  2057. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2058. struct __declspec(uuid("f5078f32-c551-11d3-89b9-0000f81fe221"))
  2059. DOMDocument30;
  2060. // [ default ] interface IXMLDOMDocument2
  2061. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2062. struct __declspec(uuid("f6d90f12-9c73-11d3-b32e-00c04f990bb4"))
  2063. FreeThreadedDOMDocument;
  2064. // [ default ] interface IXMLDOMDocument2
  2065. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2066. struct __declspec(uuid("f5078f1c-c551-11d3-89b9-0000f81fe221"))
  2067. FreeThreadedDOMDocument26;
  2068. // [ default ] interface IXMLDOMDocument2
  2069. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2070. struct __declspec(uuid("f5078f33-c551-11d3-89b9-0000f81fe221"))
  2071. FreeThreadedDOMDocument30;
  2072. // [ default ] interface IXMLDOMDocument2
  2073. // [ default, source ] dispinterface XMLDOMDocumentEvents
  2074. struct __declspec(uuid("373984c9-b845-449b-91e7-45ac83036ade"))
  2075. XMLSchemaCache;
  2076. // [ default ] interface IXMLDOMSchemaCollection
  2077. struct __declspec(uuid("f5078f1d-c551-11d3-89b9-0000f81fe221"))
  2078. XMLSchemaCache26;
  2079. // [ default ] interface IXMLDOMSchemaCollection
  2080. struct __declspec(uuid("f5078f34-c551-11d3-89b9-0000f81fe221"))
  2081. XMLSchemaCache30;
  2082. // [ default ] interface IXMLDOMSchemaCollection
  2083. struct __declspec(uuid("2933bf94-7b36-11d2-b20e-00c04f983e60"))
  2084. XSLTemplate;
  2085. // [ default ] interface IXSLTemplate
  2086. struct __declspec(uuid("f5078f21-c551-11d3-89b9-0000f81fe221"))
  2087. XSLTemplate26;
  2088. // [ default ] interface IXSLTemplate
  2089. struct __declspec(uuid("f5078f36-c551-11d3-89b9-0000f81fe221"))
  2090. XSLTemplate30;
  2091. // [ default ] interface IXSLTemplate
  2092. struct __declspec(uuid("f6d90f14-9c73-11d3-b32e-00c04f990bb4"))
  2093. DSOControl;
  2094. // [ default ] interface IDSOControl
  2095. struct __declspec(uuid("f5078f1f-c551-11d3-89b9-0000f81fe221"))
  2096. DSOControl26;
  2097. // [ default ] interface IDSOControl
  2098. struct __declspec(uuid("f5078f39-c551-11d3-89b9-0000f81fe221"))
  2099. DSOControl30;
  2100. // [ default ] interface IDSOControl
  2101. struct __declspec(uuid("f6d90f16-9c73-11d3-b32e-00c04f990bb4"))
  2102. XMLHTTP;
  2103. // [ default ] interface IXMLHTTPRequest
  2104. struct __declspec(uuid("f5078f1e-c551-11d3-89b9-0000f81fe221"))
  2105. XMLHTTP26;
  2106. // [ default ] interface IXMLHTTPRequest
  2107. struct __declspec(uuid("f5078f35-c551-11d3-89b9-0000f81fe221"))
  2108. XMLHTTP30;
  2109. // [ default ] interface IXMLHTTPRequest
  2110. struct __declspec(uuid("afba6b42-5692-48ea-8141-dc517dcf0ef1"))
  2111. ServerXMLHTTP;
  2112. // [ default ] interface IServerXMLHTTPRequest
  2113. struct __declspec(uuid("afb40ffd-b609-40a3-9828-f88bbe11e4e3"))
  2114. ServerXMLHTTP30;
  2115. // [ default ] interface IServerXMLHTTPRequest
  2116. struct __declspec(uuid("079aa557-4a18-424a-8eee-e39f0a8d41b9"))
  2117. SAXXMLReader;
  2118. // [ default ] interface IVBSAXXMLReader
  2119. // interface ISAXXMLReader
  2120. // interface IMXReaderControl
  2121. struct __declspec(uuid("3124c396-fb13-4836-a6ad-1317f1713688"))
  2122. SAXXMLReader30;
  2123. // [ default ] interface IVBSAXXMLReader
  2124. // interface ISAXXMLReader
  2125. // interface IMXReaderControl
  2126. struct __declspec(uuid("fc220ad8-a72a-4ee8-926e-0b7ad152a020"))
  2127. MXXMLWriter;
  2128. // [ default ] interface IMXWriter
  2129. // interface ISAXContentHandler
  2130. // interface ISAXErrorHandler
  2131. // interface ISAXDTDHandler
  2132. // interface ISAXLexicalHandler
  2133. // interface ISAXDeclHandler
  2134. // interface IVBSAXContentHandler
  2135. // interface IVBSAXDeclHandler
  2136. // interface IVBSAXDTDHandler
  2137. // interface IVBSAXErrorHandler
  2138. // interface IVBSAXLexicalHandler
  2139. struct __declspec(uuid("3d813dfe-6c91-4a4e-8f41-04346a841d9c"))
  2140. MXXMLWriter30;
  2141. // [ default ] interface IMXWriter
  2142. // interface ISAXContentHandler
  2143. // interface ISAXDeclHandler
  2144. // interface ISAXDTDHandler
  2145. // interface ISAXErrorHandler
  2146. // interface ISAXLexicalHandler
  2147. // interface IVBSAXContentHandler
  2148. // interface IVBSAXDeclHandler
  2149. // interface IVBSAXDTDHandler
  2150. // interface IVBSAXErrorHandler
  2151. // interface IVBSAXLexicalHandler
  2152. struct __declspec(uuid("4dd441ad-526d-4a77-9f1b-9841ed802fb0"))
  2153. SAXAttributes;
  2154. // [ default ] interface IMXAttributes
  2155. // interface IVBSAXAttributes
  2156. // interface ISAXAttributes
  2157. struct __declspec(uuid("3e784a01-f3ae-4dc0-9354-9526b9370eba"))
  2158. SAXAttributes30;
  2159. // [ default ] interface IMXAttributes
  2160. // interface IVBSAXAttributes
  2161. // interface ISAXAttributes
  2162. struct __declspec(uuid("2933bf80-7b36-11d2-b20e-00c04f983e60"))
  2163. IXMLDOMNode : IDispatch
  2164. {
  2165. //
  2166. // Property data
  2167. //
  2168. __declspec(property(get=GetnodeName))
  2169. _bstr_t nodeName;
  2170. __declspec(property(get=GetnodeValue,put=PutnodeValue))
  2171. _variant_t nodeValue;
  2172. __declspec(property(get=GetnodeType))
  2173. DOMNodeType nodeType;
  2174. __declspec(property(get=GetparentNode))
  2175. IXMLDOMNodePtr parentNode;
  2176. __declspec(property(get=GetchildNodes))
  2177. IXMLDOMNodeListPtr childNodes;
  2178. __declspec(property(get=GetfirstChild))
  2179. IXMLDOMNodePtr firstChild;
  2180. __declspec(property(get=GetlastChild))
  2181. IXMLDOMNodePtr lastChild;
  2182. __declspec(property(get=GetpreviousSibling))
  2183. IXMLDOMNodePtr previousSibling;
  2184. __declspec(property(get=GetnextSibling))
  2185. IXMLDOMNodePtr nextSibling;
  2186. __declspec(property(get=Getattributes))
  2187. IXMLDOMNamedNodeMapPtr attributes;
  2188. __declspec(property(get=GetownerDocument))
  2189. IXMLDOMDocumentPtr ownerDocument;
  2190. __declspec(property(get=GetnodeTypeString))
  2191. _bstr_t nodeTypeString;
  2192. __declspec(property(get=Getspecified))
  2193. VARIANT_BOOL specified;
  2194. __declspec(property(get=Getdefinition))
  2195. IXMLDOMNodePtr definition;
  2196. __declspec(property(get=Gettext,put=Puttext))
  2197. _bstr_t text;
  2198. __declspec(property(get=GetnodeTypedValue,put=PutnodeTypedValue))
  2199. _variant_t nodeTypedValue;
  2200. __declspec(property(get=Getxml))
  2201. _bstr_t xml;
  2202. __declspec(property(get=Getparsed))
  2203. VARIANT_BOOL parsed;
  2204. __declspec(property(get=GetnamespaceURI))
  2205. _bstr_t namespaceURI;
  2206. __declspec(property(get=Getprefix))
  2207. _bstr_t prefix;
  2208. __declspec(property(get=GetbaseName))
  2209. _bstr_t baseName;
  2210. //
  2211. // Wrapper methods for error-handling
  2212. //
  2213. _bstr_t GetnodeName ( );
  2214. _variant_t GetnodeValue ( );
  2215. void PutnodeValue (
  2216. const _variant_t & value );
  2217. DOMNodeType GetnodeType ( );
  2218. IXMLDOMNodePtr GetparentNode ( );
  2219. IXMLDOMNodeListPtr GetchildNodes ( );
  2220. IXMLDOMNodePtr GetfirstChild ( );
  2221. IXMLDOMNodePtr GetlastChild ( );
  2222. IXMLDOMNodePtr GetpreviousSibling ( );
  2223. IXMLDOMNodePtr GetnextSibling ( );
  2224. IXMLDOMNamedNodeMapPtr Getattributes ( );
  2225. IXMLDOMNodePtr insertBefore (
  2226. struct IXMLDOMNode * newChild,
  2227. const _variant_t & refChild );
  2228. IXMLDOMNodePtr replaceChild (
  2229. struct IXMLDOMNode * newChild,
  2230. struct IXMLDOMNode * oldChild );
  2231. IXMLDOMNodePtr removeChild (
  2232. struct IXMLDOMNode * childNode );
  2233. IXMLDOMNodePtr appendChild (
  2234. struct IXMLDOMNode * newChild );
  2235. VARIANT_BOOL hasChildNodes ( );
  2236. IXMLDOMDocumentPtr GetownerDocument ( );
  2237. IXMLDOMNodePtr cloneNode (
  2238. VARIANT_BOOL deep );
  2239. _bstr_t GetnodeTypeString ( );
  2240. _bstr_t Gettext ( );
  2241. void Puttext (
  2242. _bstr_t text );
  2243. VARIANT_BOOL Getspecified ( );
  2244. IXMLDOMNodePtr Getdefinition ( );
  2245. _variant_t GetnodeTypedValue ( );
  2246. void PutnodeTypedValue (
  2247. const _variant_t & typedValue );
  2248. _variant_t GetdataType ( );
  2249. void PutdataType (
  2250. _bstr_t dataTypeName );
  2251. _bstr_t Getxml ( );
  2252. _bstr_t transformNode (
  2253. struct IXMLDOMNode * stylesheet );
  2254. IXMLDOMNodeListPtr selectNodes (
  2255. _bstr_t queryString );
  2256. IXMLDOMNodePtr selectSingleNode (
  2257. _bstr_t queryString );
  2258. VARIANT_BOOL Getparsed ( );
  2259. _bstr_t GetnamespaceURI ( );
  2260. _bstr_t Getprefix ( );
  2261. _bstr_t GetbaseName ( );
  2262. HRESULT transformNodeToObject (
  2263. struct IXMLDOMNode * stylesheet,
  2264. const _variant_t & outputObject );
  2265. //
  2266. // Raw methods provided by interface
  2267. //
  2268. virtual HRESULT __stdcall get_nodeName (
  2269. /*[out,retval]*/ BSTR * name ) = 0;
  2270. virtual HRESULT __stdcall get_nodeValue (
  2271. /*[out,retval]*/ VARIANT * value ) = 0;
  2272. virtual HRESULT __stdcall put_nodeValue (
  2273. /*[in]*/ VARIANT value ) = 0;
  2274. virtual HRESULT __stdcall get_nodeType (
  2275. /*[out,retval]*/ DOMNodeType * type ) = 0;
  2276. virtual HRESULT __stdcall get_parentNode (
  2277. /*[out,retval]*/ struct IXMLDOMNode * * parent ) = 0;
  2278. virtual HRESULT __stdcall get_childNodes (
  2279. /*[out,retval]*/ struct IXMLDOMNodeList * * childList ) = 0;
  2280. virtual HRESULT __stdcall get_firstChild (
  2281. /*[out,retval]*/ struct IXMLDOMNode * * firstChild ) = 0;
  2282. virtual HRESULT __stdcall get_lastChild (
  2283. /*[out,retval]*/ struct IXMLDOMNode * * lastChild ) = 0;
  2284. virtual HRESULT __stdcall get_previousSibling (
  2285. /*[out,retval]*/ struct IXMLDOMNode * * previousSibling ) = 0;
  2286. virtual HRESULT __stdcall get_nextSibling (
  2287. /*[out,retval]*/ struct IXMLDOMNode * * nextSibling ) = 0;
  2288. virtual HRESULT __stdcall get_attributes (
  2289. /*[out,retval]*/ struct IXMLDOMNamedNodeMap * * attributeMap ) = 0;
  2290. virtual HRESULT __stdcall raw_insertBefore (
  2291. /*[in]*/ struct IXMLDOMNode * newChild,
  2292. /*[in]*/ VARIANT refChild,
  2293. /*[out,retval]*/ struct IXMLDOMNode * * outNewChild ) = 0;
  2294. virtual HRESULT __stdcall raw_replaceChild (
  2295. /*[in]*/ struct IXMLDOMNode * newChild,
  2296. /*[in]*/ struct IXMLDOMNode * oldChild,
  2297. /*[out,retval]*/ struct IXMLDOMNode * * outOldChild ) = 0;
  2298. virtual HRESULT __stdcall raw_removeChild (
  2299. /*[in]*/ struct IXMLDOMNode * childNode,
  2300. /*[out,retval]*/ struct IXMLDOMNode * * oldChild ) = 0;
  2301. virtual HRESULT __stdcall raw_appendChild (
  2302. /*[in]*/ struct IXMLDOMNode * newChild,
  2303. /*[out,retval]*/ struct IXMLDOMNode * * outNewChild ) = 0;
  2304. virtual HRESULT __stdcall raw_hasChildNodes (
  2305. /*[out,retval]*/ VARIANT_BOOL * hasChild ) = 0;
  2306. virtual HRESULT __stdcall get_ownerDocument (
  2307. /*[out,retval]*/ struct IXMLDOMDocument * * DOMDocument ) = 0;
  2308. virtual HRESULT __stdcall raw_cloneNode (
  2309. /*[in]*/ VARIANT_BOOL deep,
  2310. /*[out,retval]*/ struct IXMLDOMNode * * cloneRoot ) = 0;
  2311. virtual HRESULT __stdcall get_nodeTypeString (
  2312. /*[out,retval]*/ BSTR * nodeType ) = 0;
  2313. virtual HRESULT __stdcall get_text (
  2314. /*[out,retval]*/ BSTR * text ) = 0;
  2315. virtual HRESULT __stdcall put_text (
  2316. /*[in]*/ BSTR text ) = 0;
  2317. virtual HRESULT __stdcall get_specified (
  2318. /*[out,retval]*/ VARIANT_BOOL * isSpecified ) = 0;
  2319. virtual HRESULT __stdcall get_definition (
  2320. /*[out,retval]*/ struct IXMLDOMNode * * definitionNode ) = 0;
  2321. virtual HRESULT __stdcall get_nodeTypedValue (
  2322. /*[out,retval]*/ VARIANT * typedValue ) = 0;
  2323. virtual HRESULT __stdcall put_nodeTypedValue (
  2324. /*[in]*/ VARIANT typedValue ) = 0;
  2325. virtual HRESULT __stdcall get_dataType (
  2326. /*[out,retval]*/ VARIANT * dataTypeName ) = 0;
  2327. virtual HRESULT __stdcall put_dataType (
  2328. /*[in]*/ BSTR dataTypeName ) = 0;
  2329. virtual HRESULT __stdcall get_xml (
  2330. /*[out,retval]*/ BSTR * xmlString ) = 0;
  2331. virtual HRESULT __stdcall raw_transformNode (
  2332. /*[in]*/ struct IXMLDOMNode * stylesheet,
  2333. /*[out,retval]*/ BSTR * xmlString ) = 0;
  2334. virtual HRESULT __stdcall raw_selectNodes (
  2335. /*[in]*/ BSTR queryString,
  2336. /*[out,retval]*/ struct IXMLDOMNodeList * * resultList ) = 0;
  2337. virtual HRESULT __stdcall raw_selectSingleNode (
  2338. /*[in]*/ BSTR queryString,
  2339. /*[out,retval]*/ struct IXMLDOMNode * * resultNode ) = 0;
  2340. virtual HRESULT __stdcall get_parsed (
  2341. /*[out,retval]*/ VARIANT_BOOL * isParsed ) = 0;
  2342. virtual HRESULT __stdcall get_namespaceURI (
  2343. /*[out,retval]*/ BSTR * namespaceURI ) = 0;
  2344. virtual HRESULT __stdcall get_prefix (
  2345. /*[out,retval]*/ BSTR * prefixString ) = 0;
  2346. virtual HRESULT __stdcall get_baseName (
  2347. /*[out,retval]*/ BSTR * nameString ) = 0;
  2348. virtual HRESULT __stdcall raw_transformNodeToObject (
  2349. /*[in]*/ struct IXMLDOMNode * stylesheet,
  2350. /*[in]*/ VARIANT outputObject ) = 0;
  2351. };
  2352. struct __declspec(uuid("2933bf82-7b36-11d2-b20e-00c04f983e60"))
  2353. IXMLDOMNodeList : IDispatch
  2354. {
  2355. //
  2356. // Property data
  2357. //
  2358. __declspec(property(get=Getitem))
  2359. IXMLDOMNodePtr item[];
  2360. __declspec(property(get=Getlength))
  2361. long length;
  2362. __declspec(property(get=Get_newEnum))
  2363. IUnknownPtr _newEnum;
  2364. //
  2365. // Wrapper methods for error-handling
  2366. //
  2367. IXMLDOMNodePtr Getitem (
  2368. long index );
  2369. long Getlength ( );
  2370. IXMLDOMNodePtr nextNode ( );
  2371. HRESULT reset ( );
  2372. IUnknownPtr Get_newEnum ( );
  2373. //
  2374. // Raw methods provided by interface
  2375. //
  2376. virtual HRESULT __stdcall get_item (
  2377. /*[in]*/ long index,
  2378. /*[out,retval]*/ struct IXMLDOMNode * * listItem ) = 0;
  2379. virtual HRESULT __stdcall get_length (
  2380. /*[out,retval]*/ long * listLength ) = 0;
  2381. virtual HRESULT __stdcall raw_nextNode (
  2382. /*[out,retval]*/ struct IXMLDOMNode * * nextItem ) = 0;
  2383. virtual HRESULT __stdcall raw_reset ( ) = 0;
  2384. virtual HRESULT __stdcall get__newEnum (
  2385. /*[out,retval]*/ IUnknown * * ppUnk ) = 0;
  2386. };
  2387. struct __declspec(uuid("2933bf83-7b36-11d2-b20e-00c04f983e60"))
  2388. IXMLDOMNamedNodeMap : IDispatch
  2389. {
  2390. //
  2391. // Property data
  2392. //
  2393. __declspec(property(get=Getitem))
  2394. IXMLDOMNodePtr item[];
  2395. __declspec(property(get=Getlength))
  2396. long length;
  2397. __declspec(property(get=Get_newEnum))
  2398. IUnknownPtr _newEnum;
  2399. //
  2400. // Wrapper methods for error-handling
  2401. //
  2402. IXMLDOMNodePtr getNamedItem (
  2403. _bstr_t name );
  2404. IXMLDOMNodePtr setNamedItem (
  2405. struct IXMLDOMNode * newItem );
  2406. IXMLDOMNodePtr removeNamedItem (
  2407. _bstr_t name );
  2408. IXMLDOMNodePtr Getitem (
  2409. long index );
  2410. long Getlength ( );
  2411. IXMLDOMNodePtr getQualifiedItem (
  2412. _bstr_t baseName,
  2413. _bstr_t namespaceURI );
  2414. IXMLDOMNodePtr removeQualifiedItem (
  2415. _bstr_t baseName,
  2416. _bstr_t namespaceURI );
  2417. IXMLDOMNodePtr nextNode ( );
  2418. HRESULT reset ( );
  2419. IUnknownPtr Get_newEnum ( );
  2420. //
  2421. // Raw methods provided by interface
  2422. //
  2423. virtual HRESULT __stdcall raw_getNamedItem (
  2424. /*[in]*/ BSTR name,
  2425. /*[out,retval]*/ struct IXMLDOMNode * * namedItem ) = 0;
  2426. virtual HRESULT __stdcall raw_setNamedItem (
  2427. /*[in]*/ struct IXMLDOMNode * newItem,
  2428. /*[out,retval]*/ struct IXMLDOMNode * * nameItem ) = 0;
  2429. virtual HRESULT __stdcall raw_removeNamedItem (
  2430. /*[in]*/ BSTR name,
  2431. /*[out,retval]*/ struct IXMLDOMNode * * namedItem ) = 0;
  2432. virtual HRESULT __stdcall get_item (
  2433. /*[in]*/ long index,
  2434. /*[out,retval]*/ struct IXMLDOMNode * * listItem ) = 0;
  2435. virtual HRESULT __stdcall get_length (
  2436. /*[out,retval]*/ long * listLength ) = 0;
  2437. virtual HRESULT __stdcall raw_getQualifiedItem (
  2438. /*[in]*/ BSTR baseName,
  2439. /*[in]*/ BSTR namespaceURI,
  2440. /*[out,retval]*/ struct IXMLDOMNode * * qualifiedItem ) = 0;
  2441. virtual HRESULT __stdcall raw_removeQualifiedItem (
  2442. /*[in]*/ BSTR baseName,
  2443. /*[in]*/ BSTR namespaceURI,
  2444. /*[out,retval]*/ struct IXMLDOMNode * * qualifiedItem ) = 0;
  2445. virtual HRESULT __stdcall raw_nextNode (
  2446. /*[out,retval]*/ struct IXMLDOMNode * * nextItem ) = 0;
  2447. virtual HRESULT __stdcall raw_reset ( ) = 0;
  2448. virtual HRESULT __stdcall get__newEnum (
  2449. /*[out,retval]*/ IUnknown * * ppUnk ) = 0;
  2450. };
  2451. struct __declspec(uuid("2933bf8b-7b36-11d2-b20e-00c04f983e60"))
  2452. IXMLDOMDocumentType : IXMLDOMNode
  2453. {
  2454. //
  2455. // Property data
  2456. //
  2457. __declspec(property(get=Getname))
  2458. _bstr_t name;
  2459. __declspec(property(get=Getentities))
  2460. IXMLDOMNamedNodeMapPtr entities;
  2461. __declspec(property(get=Getnotations))
  2462. IXMLDOMNamedNodeMapPtr notations;
  2463. //
  2464. // Wrapper methods for error-handling
  2465. //
  2466. _bstr_t Getname ( );
  2467. IXMLDOMNamedNodeMapPtr Getentities ( );
  2468. IXMLDOMNamedNodeMapPtr Getnotations ( );
  2469. //
  2470. // Raw methods provided by interface
  2471. //
  2472. virtual HRESULT __stdcall get_name (
  2473. /*[out,retval]*/ BSTR * rootName ) = 0;
  2474. virtual HRESULT __stdcall get_entities (
  2475. /*[out,retval]*/ struct IXMLDOMNamedNodeMap * * entityMap ) = 0;
  2476. virtual HRESULT __stdcall get_notations (
  2477. /*[out,retval]*/ struct IXMLDOMNamedNodeMap * * notationMap ) = 0;
  2478. };
  2479. struct __declspec(uuid("2933bf85-7b36-11d2-b20e-00c04f983e60"))
  2480. IXMLDOMAttribute : IXMLDOMNode
  2481. {
  2482. //
  2483. // Property data
  2484. //
  2485. __declspec(property(get=Getname))
  2486. _bstr_t name;
  2487. __declspec(property(get=Getvalue,put=Putvalue))
  2488. _variant_t value;
  2489. //
  2490. // Wrapper methods for error-handling
  2491. //
  2492. _bstr_t Getname ( );
  2493. _variant_t Getvalue ( );
  2494. void Putvalue (
  2495. const _variant_t & attributeValue );
  2496. //
  2497. // Raw methods provided by interface
  2498. //
  2499. virtual HRESULT __stdcall get_name (
  2500. /*[out,retval]*/ BSTR * attributeName ) = 0;
  2501. virtual HRESULT __stdcall get_value (
  2502. /*[out,retval]*/ VARIANT * attributeValue ) = 0;
  2503. virtual HRESULT __stdcall put_value (
  2504. /*[in]*/ VARIANT attributeValue ) = 0;
  2505. };
  2506. struct __declspec(uuid("2933bf86-7b36-11d2-b20e-00c04f983e60"))
  2507. IXMLDOMElement : IXMLDOMNode
  2508. {
  2509. //
  2510. // Property data
  2511. //
  2512. __declspec(property(get=GettagName))
  2513. _bstr_t tagName;
  2514. //
  2515. // Wrapper methods for error-handling
  2516. //
  2517. _bstr_t GettagName ( );
  2518. _variant_t getAttribute (
  2519. _bstr_t name );
  2520. HRESULT setAttribute (
  2521. _bstr_t name,
  2522. const _variant_t & value );
  2523. HRESULT removeAttribute (
  2524. _bstr_t name );
  2525. IXMLDOMAttributePtr getAttributeNode (
  2526. _bstr_t name );
  2527. IXMLDOMAttributePtr setAttributeNode (
  2528. struct IXMLDOMAttribute * DOMAttribute );
  2529. IXMLDOMAttributePtr removeAttributeNode (
  2530. struct IXMLDOMAttribute * DOMAttribute );
  2531. IXMLDOMNodeListPtr getElementsByTagName (
  2532. _bstr_t tagName );
  2533. HRESULT normalize ( );
  2534. //
  2535. // Raw methods provided by interface
  2536. //
  2537. virtual HRESULT __stdcall get_tagName (
  2538. /*[out,retval]*/ BSTR * tagName ) = 0;
  2539. virtual HRESULT __stdcall raw_getAttribute (
  2540. /*[in]*/ BSTR name,
  2541. /*[out,retval]*/ VARIANT * value ) = 0;
  2542. virtual HRESULT __stdcall raw_setAttribute (
  2543. /*[in]*/ BSTR name,
  2544. /*[in]*/ VARIANT value ) = 0;
  2545. virtual HRESULT __stdcall raw_removeAttribute (
  2546. /*[in]*/ BSTR name ) = 0;
  2547. virtual HRESULT __stdcall raw_getAttributeNode (
  2548. /*[in]*/ BSTR name,
  2549. /*[out,retval]*/ struct IXMLDOMAttribute * * attributeNode ) = 0;
  2550. virtual HRESULT __stdcall raw_setAttributeNode (
  2551. /*[in]*/ struct IXMLDOMAttribute * DOMAttribute,
  2552. /*[out,retval]*/ struct IXMLDOMAttribute * * attributeNode ) = 0;
  2553. virtual HRESULT __stdcall raw_removeAttributeNode (
  2554. /*[in]*/ struct IXMLDOMAttribute * DOMAttribute,
  2555. /*[out,retval]*/ struct IXMLDOMAttribute * * attributeNode ) = 0;
  2556. virtual HRESULT __stdcall raw_getElementsByTagName (
  2557. /*[in]*/ BSTR tagName,
  2558. /*[out,retval]*/ struct IXMLDOMNodeList * * resultList ) = 0;
  2559. virtual HRESULT __stdcall raw_normalize ( ) = 0;
  2560. };
  2561. struct __declspec(uuid("3efaa413-272f-11d2-836f-0000f87a7782"))
  2562. IXMLDOMDocumentFragment : IXMLDOMNode
  2563. {};
  2564. struct __declspec(uuid("2933bf84-7b36-11d2-b20e-00c04f983e60"))
  2565. IXMLDOMCharacterData : IXMLDOMNode
  2566. {
  2567. //
  2568. // Property data
  2569. //
  2570. __declspec(property(get=Getdata,put=Putdata))
  2571. _bstr_t data;
  2572. __declspec(property(get=Getlength))
  2573. long length;
  2574. //
  2575. // Wrapper methods for error-handling
  2576. //
  2577. _bstr_t Getdata ( );
  2578. void Putdata (
  2579. _bstr_t data );
  2580. long Getlength ( );
  2581. _bstr_t substringData (
  2582. long offset,
  2583. long count );
  2584. HRESULT appendData (
  2585. _bstr_t data );
  2586. HRESULT insertData (
  2587. long offset,
  2588. _bstr_t data );
  2589. HRESULT deleteData (
  2590. long offset,
  2591. long count );
  2592. HRESULT replaceData (
  2593. long offset,
  2594. long count,
  2595. _bstr_t data );
  2596. //
  2597. // Raw methods provided by interface
  2598. //
  2599. virtual HRESULT __stdcall get_data (
  2600. /*[out,retval]*/ BSTR * data ) = 0;
  2601. virtual HRESULT __stdcall put_data (
  2602. /*[in]*/ BSTR data ) = 0;
  2603. virtual HRESULT __stdcall get_length (
  2604. /*[out,retval]*/ long * dataLength ) = 0;
  2605. virtual HRESULT __stdcall raw_substringData (
  2606. /*[in]*/ long offset,
  2607. /*[in]*/ long count,
  2608. /*[out,retval]*/ BSTR * data ) = 0;
  2609. virtual HRESULT __stdcall raw_appendData (
  2610. /*[in]*/ BSTR data ) = 0;
  2611. virtual HRESULT __stdcall raw_insertData (
  2612. /*[in]*/ long offset,
  2613. /*[in]*/ BSTR data ) = 0;
  2614. virtual HRESULT __stdcall raw_deleteData (
  2615. /*[in]*/ long offset,
  2616. /*[in]*/ long count ) = 0;
  2617. virtual HRESULT __stdcall raw_replaceData (
  2618. /*[in]*/ long offset,
  2619. /*[in]*/ long count,
  2620. /*[in]*/ BSTR data ) = 0;
  2621. };
  2622. struct __declspec(uuid("2933bf87-7b36-11d2-b20e-00c04f983e60"))
  2623. IXMLDOMText : IXMLDOMCharacterData
  2624. {
  2625. //
  2626. // Wrapper methods for error-handling
  2627. //
  2628. IXMLDOMTextPtr splitText (
  2629. long offset );
  2630. //
  2631. // Raw methods provided by interface
  2632. //
  2633. virtual HRESULT __stdcall raw_splitText (
  2634. /*[in]*/ long offset,
  2635. /*[out,retval]*/ struct IXMLDOMText * * rightHandTextNode ) = 0;
  2636. };
  2637. struct __declspec(uuid("2933bf88-7b36-11d2-b20e-00c04f983e60"))
  2638. IXMLDOMComment : IXMLDOMCharacterData
  2639. {};
  2640. struct __declspec(uuid("2933bf8a-7b36-11d2-b20e-00c04f983e60"))
  2641. IXMLDOMCDATASection : IXMLDOMText
  2642. {};
  2643. struct __declspec(uuid("2933bf89-7b36-11d2-b20e-00c04f983e60"))
  2644. IXMLDOMProcessingInstruction : IXMLDOMNode
  2645. {
  2646. //
  2647. // Property data
  2648. //
  2649. __declspec(property(get=Getdata,put=Putdata))
  2650. _bstr_t data;
  2651. __declspec(property(get=Gettarget))
  2652. _bstr_t target;
  2653. //
  2654. // Wrapper methods for error-handling
  2655. //
  2656. _bstr_t Gettarget ( );
  2657. _bstr_t Getdata ( );
  2658. void Putdata (
  2659. _bstr_t value );
  2660. //
  2661. // Raw methods provided by interface
  2662. //
  2663. virtual HRESULT __stdcall get_target (
  2664. /*[out,retval]*/ BSTR * name ) = 0;
  2665. virtual HRESULT __stdcall get_data (
  2666. /*[out,retval]*/ BSTR * value ) = 0;
  2667. virtual HRESULT __stdcall put_data (
  2668. /*[in]*/ BSTR value ) = 0;
  2669. };
  2670. struct __declspec(uuid("2933bf8e-7b36-11d2-b20e-00c04f983e60"))
  2671. IXMLDOMEntityReference : IXMLDOMNode
  2672. {};
  2673. struct __declspec(uuid("2933bf81-7b36-11d2-b20e-00c04f983e60"))
  2674. IXMLDOMDocument : IXMLDOMNode
  2675. {
  2676. //
  2677. // Property data
  2678. //
  2679. __declspec(property(get=GetvalidateOnParse,put=PutvalidateOnParse))
  2680. VARIANT_BOOL validateOnParse;
  2681. __declspec(property(get=GetresolveExternals,put=PutresolveExternals))
  2682. VARIANT_BOOL resolveExternals;
  2683. __declspec(property(get=GetpreserveWhiteSpace,put=PutpreserveWhiteSpace))
  2684. VARIANT_BOOL preserveWhiteSpace;
  2685. __declspec(property(put=Putonreadystatechange))
  2686. _variant_t onreadystatechange;
  2687. __declspec(property(put=Putondataavailable))
  2688. _variant_t ondataavailable;
  2689. __declspec(property(get=Getdoctype))
  2690. IXMLDOMDocumentTypePtr doctype;
  2691. __declspec(property(get=Getimplementation))
  2692. IXMLDOMImplementationPtr implementation;
  2693. __declspec(property(get=GetdocumentElement,put=PutRefdocumentElement))
  2694. IXMLDOMElementPtr documentElement;
  2695. __declspec(property(put=Putontransformnode))
  2696. _variant_t ontransformnode;
  2697. __declspec(property(get=GetreadyState))
  2698. long readyState;
  2699. __declspec(property(get=GetparseError))
  2700. IXMLDOMParseErrorPtr parseError;
  2701. __declspec(property(get=GetURL))
  2702. _bstr_t URL;
  2703. __declspec(property(get=Getasync,put=Putasync))
  2704. VARIANT_BOOL async;
  2705. //
  2706. // Wrapper methods for error-handling
  2707. //
  2708. IXMLDOMDocumentTypePtr Getdoctype ( );
  2709. IXMLDOMImplementationPtr Getimplementation ( );
  2710. IXMLDOMElementPtr GetdocumentElement ( );
  2711. void PutRefdocumentElement (
  2712. struct IXMLDOMElement * DOMElement );
  2713. IXMLDOMElementPtr createElement (
  2714. _bstr_t tagName );
  2715. IXMLDOMDocumentFragmentPtr createDocumentFragment ( );
  2716. IXMLDOMTextPtr createTextNode (
  2717. _bstr_t data );
  2718. IXMLDOMCommentPtr createComment (
  2719. _bstr_t data );
  2720. IXMLDOMCDATASectionPtr createCDATASection (
  2721. _bstr_t data );
  2722. IXMLDOMProcessingInstructionPtr createProcessingInstruction (
  2723. _bstr_t target,
  2724. _bstr_t data );
  2725. IXMLDOMAttributePtr createAttribute (
  2726. _bstr_t name );
  2727. IXMLDOMEntityReferencePtr createEntityReference (
  2728. _bstr_t name );
  2729. IXMLDOMNodeListPtr getElementsByTagName (
  2730. _bstr_t tagName );
  2731. IXMLDOMNodePtr createNode (
  2732. const _variant_t & type,
  2733. _bstr_t name,
  2734. _bstr_t namespaceURI );
  2735. IXMLDOMNodePtr nodeFromID (
  2736. _bstr_t idString );
  2737. VARIANT_BOOL load (
  2738. const _variant_t & xmlSource );
  2739. long GetreadyState ( );
  2740. IXMLDOMParseErrorPtr GetparseError ( );
  2741. _bstr_t GetURL ( );
  2742. VARIANT_BOOL Getasync ( );
  2743. void Putasync (
  2744. VARIANT_BOOL isAsync );
  2745. HRESULT abort ( );
  2746. VARIANT_BOOL loadXML (
  2747. _bstr_t bstrXML );
  2748. HRESULT save (
  2749. const _variant_t & destination );
  2750. VARIANT_BOOL GetvalidateOnParse ( );
  2751. void PutvalidateOnParse (
  2752. VARIANT_BOOL isValidating );
  2753. VARIANT_BOOL GetresolveExternals ( );
  2754. void PutresolveExternals (
  2755. VARIANT_BOOL isResolving );
  2756. VARIANT_BOOL GetpreserveWhiteSpace ( );
  2757. void PutpreserveWhiteSpace (
  2758. VARIANT_BOOL isPreserving );
  2759. void Putonreadystatechange (
  2760. const _variant_t & _arg1 );
  2761. void Putondataavailable (
  2762. const _variant_t & _arg1 );
  2763. void Putontransformnode (
  2764. const _variant_t & _arg1 );
  2765. //
  2766. // Raw methods provided by interface
  2767. //
  2768. virtual HRESULT __stdcall get_doctype (
  2769. /*[out,retval]*/ struct IXMLDOMDocumentType * * documentType ) = 0;
  2770. virtual HRESULT __stdcall get_implementation (
  2771. /*[out,retval]*/ struct IXMLDOMImplementation * * impl ) = 0;
  2772. virtual HRESULT __stdcall get_documentElement (
  2773. /*[out,retval]*/ struct IXMLDOMElement * * DOMElement ) = 0;
  2774. virtual HRESULT __stdcall putref_documentElement (
  2775. /*[in]*/ struct IXMLDOMElement * DOMElement ) = 0;
  2776. virtual HRESULT __stdcall raw_createElement (
  2777. /*[in]*/ BSTR tagName,
  2778. /*[out,retval]*/ struct IXMLDOMElement * * element ) = 0;
  2779. virtual HRESULT __stdcall raw_createDocumentFragment (
  2780. /*[out,retval]*/ struct IXMLDOMDocumentFragment * * docFrag ) = 0;
  2781. virtual HRESULT __stdcall raw_createTextNode (
  2782. /*[in]*/ BSTR data,
  2783. /*[out,retval]*/ struct IXMLDOMText * * text ) = 0;
  2784. virtual HRESULT __stdcall raw_createComment (
  2785. /*[in]*/ BSTR data,
  2786. /*[out,retval]*/ struct IXMLDOMComment * * comment ) = 0;
  2787. virtual HRESULT __stdcall raw_createCDATASection (
  2788. /*[in]*/ BSTR data,
  2789. /*[out,retval]*/ struct IXMLDOMCDATASection * * cdata ) = 0;
  2790. virtual HRESULT __stdcall raw_createProcessingInstruction (
  2791. /*[in]*/ BSTR target,
  2792. /*[in]*/ BSTR data,
  2793. /*[out,retval]*/ struct IXMLDOMProcessingInstruction * * pi ) = 0;
  2794. virtual HRESULT __stdcall raw_createAttribute (
  2795. /*[in]*/ BSTR name,
  2796. /*[out,retval]*/ struct IXMLDOMAttribute * * attribute ) = 0;
  2797. virtual HRESULT __stdcall raw_createEntityReference (
  2798. /*[in]*/ BSTR name,
  2799. /*[out,retval]*/ struct IXMLDOMEntityReference * * entityRef ) = 0;
  2800. virtual HRESULT __stdcall raw_getElementsByTagName (
  2801. /*[in]*/ BSTR tagName,
  2802. /*[out,retval]*/ struct IXMLDOMNodeList * * resultList ) = 0;
  2803. virtual HRESULT __stdcall raw_createNode (
  2804. /*[in]*/ VARIANT type,
  2805. /*[in]*/ BSTR name,
  2806. /*[in]*/ BSTR namespaceURI,
  2807. /*[out,retval]*/ struct IXMLDOMNode * * node ) = 0;
  2808. virtual HRESULT __stdcall raw_nodeFromID (
  2809. /*[in]*/ BSTR idString,
  2810. /*[out,retval]*/ struct IXMLDOMNode * * node ) = 0;
  2811. virtual HRESULT __stdcall raw_load (
  2812. /*[in]*/ VARIANT xmlSource,
  2813. /*[out,retval]*/ VARIANT_BOOL * isSuccessful ) = 0;
  2814. virtual HRESULT __stdcall get_readyState (
  2815. /*[out,retval]*/ long * value ) = 0;
  2816. virtual HRESULT __stdcall get_parseError (
  2817. /*[out,retval]*/ struct IXMLDOMParseError * * errorObj ) = 0;
  2818. virtual HRESULT __stdcall get_URL (
  2819. /*[out,retval]*/ BSTR * urlString ) = 0;
  2820. virtual HRESULT __stdcall get_async (
  2821. /*[out,retval]*/ VARIANT_BOOL * isAsync ) = 0;
  2822. virtual HRESULT __stdcall put_async (
  2823. /*[in]*/ VARIANT_BOOL isAsync ) = 0;
  2824. virtual HRESULT __stdcall raw_abort ( ) = 0;
  2825. virtual HRESULT __stdcall raw_loadXML (
  2826. /*[in]*/ BSTR bstrXML,
  2827. /*[out,retval]*/ VARIANT_BOOL * isSuccessful ) = 0;
  2828. virtual HRESULT __stdcall raw_save (
  2829. /*[in]*/ VARIANT destination ) = 0;
  2830. virtual HRESULT __stdcall get_validateOnParse (
  2831. /*[out,retval]*/ VARIANT_BOOL * isValidating ) = 0;
  2832. virtual HRESULT __stdcall put_validateOnParse (
  2833. /*[in]*/ VARIANT_BOOL isValidating ) = 0;
  2834. virtual HRESULT __stdcall get_resolveExternals (
  2835. /*[out,retval]*/ VARIANT_BOOL * isResolving ) = 0;
  2836. virtual HRESULT __stdcall put_resolveExternals (
  2837. /*[in]*/ VARIANT_BOOL isResolving ) = 0;
  2838. virtual HRESULT __stdcall get_preserveWhiteSpace (
  2839. /*[out,retval]*/ VARIANT_BOOL * isPreserving ) = 0;
  2840. virtual HRESULT __stdcall put_preserveWhiteSpace (
  2841. /*[in]*/ VARIANT_BOOL isPreserving ) = 0;
  2842. virtual HRESULT __stdcall put_onreadystatechange (
  2843. /*[in]*/ VARIANT _arg1 ) = 0;
  2844. virtual HRESULT __stdcall put_ondataavailable (
  2845. /*[in]*/ VARIANT _arg1 ) = 0;
  2846. virtual HRESULT __stdcall put_ontransformnode (
  2847. /*[in]*/ VARIANT _arg1 ) = 0;
  2848. };
  2849. struct __declspec(uuid("373984c8-b845-449b-91e7-45ac83036ade"))
  2850. IXMLDOMSchemaCollection : IDispatch
  2851. {
  2852. //
  2853. // Property data
  2854. //
  2855. __declspec(property(get=GetnamespaceURI))
  2856. _bstr_t namespaceURI[];
  2857. __declspec(property(get=Getlength))
  2858. long length;
  2859. __declspec(property(get=Get_newEnum))
  2860. IUnknownPtr _newEnum;
  2861. //
  2862. // Wrapper methods for error-handling
  2863. //
  2864. HRESULT add (
  2865. _bstr_t namespaceURI,
  2866. const _variant_t & var );
  2867. IXMLDOMNodePtr get (
  2868. _bstr_t namespaceURI );
  2869. HRESULT remove (
  2870. _bstr_t namespaceURI );
  2871. long Getlength ( );
  2872. _bstr_t GetnamespaceURI (
  2873. long index );
  2874. HRESULT addCollection (
  2875. struct IXMLDOMSchemaCollection * otherCollection );
  2876. IUnknownPtr Get_newEnum ( );
  2877. //
  2878. // Raw methods provided by interface
  2879. //
  2880. virtual HRESULT __stdcall raw_add (
  2881. /*[in]*/ BSTR namespaceURI,
  2882. /*[in]*/ VARIANT var ) = 0;
  2883. virtual HRESULT __stdcall raw_get (
  2884. /*[in]*/ BSTR namespaceURI,
  2885. /*[out,retval]*/ struct IXMLDOMNode * * schemaNode ) = 0;
  2886. virtual HRESULT __stdcall raw_remove (
  2887. /*[in]*/ BSTR namespaceURI ) = 0;
  2888. virtual HRESULT __stdcall get_length (
  2889. /*[out,retval]*/ long * length ) = 0;
  2890. virtual HRESULT __stdcall get_namespaceURI (
  2891. /*[in]*/ long index,
  2892. /*[out,retval]*/ BSTR * length ) = 0;
  2893. virtual HRESULT __stdcall raw_addCollection (
  2894. /*[in]*/ struct IXMLDOMSchemaCollection * otherCollection ) = 0;
  2895. virtual HRESULT __stdcall get__newEnum (
  2896. /*[out,retval]*/ IUnknown * * ppUnk ) = 0;
  2897. };
  2898. struct __declspec(uuid("2933bf95-7b36-11d2-b20e-00c04f983e60"))
  2899. IXMLDOMDocument2 : IXMLDOMDocument
  2900. {
  2901. //
  2902. // Property data
  2903. //
  2904. __declspec(property(get=Getnamespaces))
  2905. IXMLDOMSchemaCollectionPtr namespaces;
  2906. __declspec(property(get=Getschemas,put=PutRefschemas))
  2907. _variant_t schemas;
  2908. //
  2909. // Wrapper methods for error-handling
  2910. //
  2911. IXMLDOMSchemaCollectionPtr Getnamespaces ( );
  2912. _variant_t Getschemas ( );
  2913. void PutRefschemas (
  2914. const _variant_t & otherCollection );
  2915. IXMLDOMParseErrorPtr validate ( );
  2916. HRESULT setProperty (
  2917. _bstr_t name,
  2918. const _variant_t & value );
  2919. _variant_t getProperty (
  2920. _bstr_t name );
  2921. //
  2922. // Raw methods provided by interface
  2923. //
  2924. virtual HRESULT __stdcall get_namespaces (
  2925. /*[out,retval]*/ struct IXMLDOMSchemaCollection * * namespaceCollection ) = 0;
  2926. virtual HRESULT __stdcall get_schemas (
  2927. /*[out,retval]*/ VARIANT * otherCollection ) = 0;
  2928. virtual HRESULT __stdcall putref_schemas (
  2929. /*[in]*/ VARIANT otherCollection ) = 0;
  2930. virtual HRESULT __stdcall raw_validate (
  2931. /*[out,retval]*/ struct IXMLDOMParseError * * errorObj ) = 0;
  2932. virtual HRESULT __stdcall raw_setProperty (
  2933. /*[in]*/ BSTR name,
  2934. /*[in]*/ VARIANT value ) = 0;
  2935. virtual HRESULT __stdcall raw_getProperty (
  2936. /*[in]*/ BSTR name,
  2937. /*[out,retval]*/ VARIANT * value ) = 0;
  2938. };
  2939. struct __declspec(uuid("2933bf8c-7b36-11d2-b20e-00c04f983e60"))
  2940. IXMLDOMNotation : IXMLDOMNode
  2941. {
  2942. //
  2943. // Property data
  2944. //
  2945. __declspec(property(get=GetpublicId))
  2946. _variant_t publicId;
  2947. __declspec(property(get=GetsystemId))
  2948. _variant_t systemId;
  2949. //
  2950. // Wrapper methods for error-handling
  2951. //
  2952. _variant_t GetpublicId ( );
  2953. _variant_t GetsystemId ( );
  2954. //
  2955. // Raw methods provided by interface
  2956. //
  2957. virtual HRESULT __stdcall get_publicId (
  2958. /*[out,retval]*/ VARIANT * publicId ) = 0;
  2959. virtual HRESULT __stdcall get_systemId (
  2960. /*[out,retval]*/ VARIANT * systemId ) = 0;
  2961. };
  2962. struct __declspec(uuid("2933bf8d-7b36-11d2-b20e-00c04f983e60"))
  2963. IXMLDOMEntity : IXMLDOMNode
  2964. {
  2965. //
  2966. // Property data
  2967. //
  2968. __declspec(property(get=GetpublicId))
  2969. _variant_t publicId;
  2970. __declspec(property(get=GetsystemId))
  2971. _variant_t systemId;
  2972. __declspec(property(get=GetnotationName))
  2973. _bstr_t notationName;
  2974. //
  2975. // Wrapper methods for error-handling
  2976. //
  2977. _variant_t GetpublicId ( );
  2978. _variant_t GetsystemId ( );
  2979. _bstr_t GetnotationName ( );
  2980. //
  2981. // Raw methods provided by interface
  2982. //
  2983. virtual HRESULT __stdcall get_publicId (
  2984. /*[out,retval]*/ VARIANT * publicId ) = 0;
  2985. virtual HRESULT __stdcall get_systemId (
  2986. /*[out,retval]*/ VARIANT * systemId ) = 0;
  2987. virtual HRESULT __stdcall get_notationName (
  2988. /*[out,retval]*/ BSTR * name ) = 0;
  2989. };
  2990. struct __declspec(uuid("3efaa425-272f-11d2-836f-0000f87a7782"))
  2991. IXTLRuntime : IXMLDOMNode
  2992. {
  2993. //
  2994. // Wrapper methods for error-handling
  2995. //
  2996. long uniqueID (
  2997. struct IXMLDOMNode * pNode );
  2998. long depth (
  2999. struct IXMLDOMNode * pNode );
  3000. long childNumber (
  3001. struct IXMLDOMNode * pNode );
  3002. long ancestorChildNumber (
  3003. _bstr_t bstrNodeName,
  3004. struct IXMLDOMNode * pNode );
  3005. long absoluteChildNumber (
  3006. struct IXMLDOMNode * pNode );
  3007. _bstr_t formatIndex (
  3008. long lIndex,
  3009. _bstr_t bstrFormat );
  3010. _bstr_t formatNumber (
  3011. double dblNumber,
  3012. _bstr_t bstrFormat );
  3013. _bstr_t formatDate (
  3014. const _variant_t & varDate,
  3015. _bstr_t bstrFormat,
  3016. const _variant_t & varDestLocale = vtMissing );
  3017. _bstr_t formatTime (
  3018. const _variant_t & varTime,
  3019. _bstr_t bstrFormat,
  3020. const _variant_t & varDestLocale = vtMissing );
  3021. //
  3022. // Raw methods provided by interface
  3023. //
  3024. virtual HRESULT __stdcall raw_uniqueID (
  3025. /*[in]*/ struct IXMLDOMNode * pNode,
  3026. /*[out,retval]*/ long * pID ) = 0;
  3027. virtual HRESULT __stdcall raw_depth (
  3028. /*[in]*/ struct IXMLDOMNode * pNode,
  3029. /*[out,retval]*/ long * pDepth ) = 0;
  3030. virtual HRESULT __stdcall raw_childNumber (
  3031. /*[in]*/ struct IXMLDOMNode * pNode,
  3032. /*[out,retval]*/ long * pNumber ) = 0;
  3033. virtual HRESULT __stdcall raw_ancestorChildNumber (
  3034. /*[in]*/ BSTR bstrNodeName,
  3035. /*[in]*/ struct IXMLDOMNode * pNode,
  3036. /*[out,retval]*/ long * pNumber ) = 0;
  3037. virtual HRESULT __stdcall raw_absoluteChildNumber (
  3038. /*[in]*/ struct IXMLDOMNode * pNode,
  3039. /*[out,retval]*/ long * pNumber ) = 0;
  3040. virtual HRESULT __stdcall raw_formatIndex (
  3041. /*[in]*/ long lIndex,
  3042. /*[in]*/ BSTR bstrFormat,
  3043. /*[out,retval]*/ BSTR * pbstrFormattedString ) = 0;
  3044. virtual HRESULT __stdcall raw_formatNumber (
  3045. /*[in]*/ double dblNumber,
  3046. /*[in]*/ BSTR bstrFormat,
  3047. /*[out,retval]*/ BSTR * pbstrFormattedString ) = 0;
  3048. virtual HRESULT __stdcall raw_formatDate (
  3049. /*[in]*/ VARIANT varDate,
  3050. /*[in]*/ BSTR bstrFormat,
  3051. /*[in]*/ VARIANT varDestLocale,
  3052. /*[out,retval]*/ BSTR * pbstrFormattedString ) = 0;
  3053. virtual HRESULT __stdcall raw_formatTime (
  3054. /*[in]*/ VARIANT varTime,
  3055. /*[in]*/ BSTR bstrFormat,
  3056. /*[in]*/ VARIANT varDestLocale,
  3057. /*[out,retval]*/ BSTR * pbstrFormattedString ) = 0;
  3058. };
  3059. struct __declspec(uuid("aa634fc7-5888-44a7-a257-3a47150d3a0e"))
  3060. IXMLDOMSelection : IXMLDOMNodeList
  3061. {
  3062. //
  3063. // Property data
  3064. //
  3065. __declspec(property(get=Getexpr,put=Putexpr))
  3066. _bstr_t expr;
  3067. __declspec(property(get=Getcontext,put=PutRefcontext))
  3068. IXMLDOMNodePtr context;
  3069. //
  3070. // Wrapper methods for error-handling
  3071. //
  3072. _bstr_t Getexpr ( );
  3073. void Putexpr (
  3074. _bstr_t expression );
  3075. IXMLDOMNodePtr Getcontext ( );
  3076. void PutRefcontext (
  3077. struct IXMLDOMNode * ppNode );
  3078. IXMLDOMNodePtr peekNode ( );
  3079. IXMLDOMNodePtr matches (
  3080. struct IXMLDOMNode * pNode );
  3081. IXMLDOMNodePtr removeNext ( );
  3082. HRESULT removeAll ( );
  3083. IXMLDOMSelectionPtr clone ( );
  3084. _variant_t getProperty (
  3085. _bstr_t name );
  3086. HRESULT setProperty (
  3087. _bstr_t name,
  3088. const _variant_t & value );
  3089. //
  3090. // Raw methods provided by interface
  3091. //
  3092. virtual HRESULT __stdcall get_expr (
  3093. /*[out,retval]*/ BSTR * expression ) = 0;
  3094. virtual HRESULT __stdcall put_expr (
  3095. /*[in]*/ BSTR expression ) = 0;
  3096. virtual HRESULT __stdcall get_context (
  3097. /*[out,retval]*/ struct IXMLDOMNode * * ppNode ) = 0;
  3098. virtual HRESULT __stdcall putref_context (
  3099. /*[in]*/ struct IXMLDOMNode * ppNode ) = 0;
  3100. virtual HRESULT __stdcall raw_peekNode (
  3101. /*[out,retval]*/ struct IXMLDOMNode * * ppNode ) = 0;
  3102. virtual HRESULT __stdcall raw_matches (
  3103. /*[in]*/ struct IXMLDOMNode * pNode,
  3104. /*[out,retval]*/ struct IXMLDOMNode * * ppNode ) = 0;
  3105. virtual HRESULT __stdcall raw_removeNext (
  3106. /*[out,retval]*/ struct IXMLDOMNode * * ppNode ) = 0;
  3107. virtual HRESULT __stdcall raw_removeAll ( ) = 0;
  3108. virtual HRESULT __stdcall raw_clone (
  3109. /*[out,retval]*/ struct IXMLDOMSelection * * ppNode ) = 0;
  3110. virtual HRESULT __stdcall raw_getProperty (
  3111. /*[in]*/ BSTR name,
  3112. /*[out,retval]*/ VARIANT * value ) = 0;
  3113. virtual HRESULT __stdcall raw_setProperty (
  3114. /*[in]*/ BSTR name,
  3115. /*[in]*/ VARIANT value ) = 0;
  3116. };
  3117. struct __declspec(uuid("310afa62-0575-11d2-9ca9-0060b0ec3d39"))
  3118. IDSOControl : IDispatch
  3119. {
  3120. //
  3121. // Property data
  3122. //
  3123. __declspec(property(get=GetXMLDocument,put=PutXMLDocument))
  3124. IXMLDOMDocumentPtr XMLDocument;
  3125. __declspec(property(get=GetJavaDSOCompatible,put=PutJavaDSOCompatible))
  3126. long JavaDSOCompatible;
  3127. __declspec(property(get=GetreadyState))
  3128. long readyState;
  3129. //
  3130. // Wrapper methods for error-handling
  3131. //
  3132. IXMLDOMDocumentPtr GetXMLDocument ( );
  3133. void PutXMLDocument (
  3134. struct IXMLDOMDocument * ppDoc );
  3135. long GetJavaDSOCompatible ( );
  3136. void PutJavaDSOCompatible (
  3137. long fJavaDSOCompatible );
  3138. long GetreadyState ( );
  3139. //
  3140. // Raw methods provided by interface
  3141. //
  3142. virtual HRESULT __stdcall get_XMLDocument (
  3143. /*[out,retval]*/ struct IXMLDOMDocument * * ppDoc ) = 0;
  3144. virtual HRESULT __stdcall put_XMLDocument (
  3145. /*[in]*/ struct IXMLDOMDocument * ppDoc ) = 0;
  3146. virtual HRESULT __stdcall get_JavaDSOCompatible (
  3147. /*[out,retval]*/ long * fJavaDSOCompatible ) = 0;
  3148. virtual HRESULT __stdcall put_JavaDSOCompatible (
  3149. /*[in]*/ long fJavaDSOCompatible ) = 0;
  3150. virtual HRESULT __stdcall get_readyState (
  3151. /*[out,retval]*/ long * state ) = 0;
  3152. };
  3153. struct __declspec(uuid("2933bf93-7b36-11d2-b20e-00c04f983e60"))
  3154. IXSLTemplate : IDispatch
  3155. {
  3156. //
  3157. // Property data
  3158. //
  3159. __declspec(property(get=Getstylesheet,put=PutRefstylesheet))
  3160. IXMLDOMNodePtr stylesheet;
  3161. //
  3162. // Wrapper methods for error-handling
  3163. //
  3164. void PutRefstylesheet (
  3165. struct IXMLDOMNode * stylesheet );
  3166. IXMLDOMNodePtr Getstylesheet ( );
  3167. IXSLProcessorPtr createProcessor ( );
  3168. //
  3169. // Raw methods provided by interface
  3170. //
  3171. virtual HRESULT __stdcall putref_stylesheet (
  3172. /*[in]*/ struct IXMLDOMNode * stylesheet ) = 0;
  3173. virtual HRESULT __stdcall get_stylesheet (
  3174. /*[out,retval]*/ struct IXMLDOMNode * * stylesheet ) = 0;
  3175. virtual HRESULT __stdcall raw_createProcessor (
  3176. /*[out,retval]*/ struct IXSLProcessor * * ppProcessor ) = 0;
  3177. };
  3178. struct __declspec(uuid("2933bf92-7b36-11d2-b20e-00c04f983e60"))
  3179. IXSLProcessor : IDispatch
  3180. {
  3181. //
  3182. // Property data
  3183. //
  3184. __declspec(property(get=Getinput,put=Putinput))
  3185. _variant_t input;
  3186. __declspec(property(get=GetownerTemplate))
  3187. IXSLTemplatePtr ownerTemplate;
  3188. __declspec(property(get=GetstartMode))
  3189. _bstr_t startMode;
  3190. __declspec(property(get=GetstartModeURI))
  3191. _bstr_t startModeURI;
  3192. __declspec(property(get=Getoutput,put=Putoutput))
  3193. _variant_t output;
  3194. __declspec(property(get=GetreadyState))
  3195. long readyState;
  3196. __declspec(property(get=Getstylesheet))
  3197. IXMLDOMNodePtr stylesheet;
  3198. //
  3199. // Wrapper methods for error-handling
  3200. //
  3201. void Putinput (
  3202. const _variant_t & pVar );
  3203. _variant_t Getinput ( );
  3204. IXSLTemplatePtr GetownerTemplate ( );
  3205. HRESULT setStartMode (
  3206. _bstr_t mode,
  3207. _bstr_t namespaceURI );
  3208. _bstr_t GetstartMode ( );
  3209. _bstr_t GetstartModeURI ( );
  3210. void Putoutput (
  3211. const _variant_t & pOutput );
  3212. _variant_t Getoutput ( );
  3213. VARIANT_BOOL transform ( );
  3214. HRESULT reset ( );
  3215. long GetreadyState ( );
  3216. HRESULT addParameter (
  3217. _bstr_t baseName,
  3218. const _variant_t & parameter,
  3219. _bstr_t namespaceURI );
  3220. HRESULT addObject (
  3221. IDispatch * obj,
  3222. _bstr_t namespaceURI );
  3223. IXMLDOMNodePtr Getstylesheet ( );
  3224. //
  3225. // Raw methods provided by interface
  3226. //
  3227. virtual HRESULT __stdcall put_input (
  3228. /*[in]*/ VARIANT pVar ) = 0;
  3229. virtual HRESULT __stdcall get_input (
  3230. /*[out,retval]*/ VARIANT * pVar ) = 0;
  3231. virtual HRESULT __stdcall get_ownerTemplate (
  3232. /*[out,retval]*/ struct IXSLTemplate * * ppTemplate ) = 0;
  3233. virtual HRESULT __stdcall raw_setStartMode (
  3234. /*[in]*/ BSTR mode,
  3235. /*[in]*/ BSTR namespaceURI ) = 0;
  3236. virtual HRESULT __stdcall get_startMode (
  3237. /*[out,retval]*/ BSTR * mode ) = 0;
  3238. virtual HRESULT __stdcall get_startModeURI (
  3239. /*[out,retval]*/ BSTR * namespaceURI ) = 0;
  3240. virtual HRESULT __stdcall put_output (
  3241. /*[in]*/ VARIANT pOutput ) = 0;
  3242. virtual HRESULT __stdcall get_output (
  3243. /*[out,retval]*/ VARIANT * pOutput ) = 0;
  3244. virtual HRESULT __stdcall raw_transform (
  3245. /*[out,retval]*/ VARIANT_BOOL * pDone ) = 0;
  3246. virtual HRESULT __stdcall raw_reset ( ) = 0;
  3247. virtual HRESULT __stdcall get_readyState (
  3248. /*[out,retval]*/ long * pReadyState ) = 0;
  3249. virtual HRESULT __stdcall raw_addParameter (
  3250. /*[in]*/ BSTR baseName,
  3251. /*[in]*/ VARIANT parameter,
  3252. /*[in]*/ BSTR namespaceURI ) = 0;
  3253. virtual HRESULT __stdcall raw_addObject (
  3254. /*[in]*/ IDispatch * obj,
  3255. /*[in]*/ BSTR namespaceURI ) = 0;
  3256. virtual HRESULT __stdcall get_stylesheet (
  3257. /*[out,retval]*/ struct IXMLDOMNode * * stylesheet ) = 0;
  3258. };
  3259. //
  3260. // Wrapper method implementations
  3261. //
  3262. #include "fusion_msxml3.tli"
  3263. } } // namespace F::MSXML2
  3264. #pragma pack(pop)