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.

2027 lines
68 KiB

  1. // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (b07c1242).
  2. //
  3. // msxml3.tlh
  4. //
  5. // C++ source equivalent of Win32 type library msxml3.dll
  6. // compiler-generated file created 05/25/01 at 12:41:57 - DO NOT EDIT!
  7. #pragma once
  8. #pragma pack(push, 8)
  9. #include <comdef.h>
  10. namespace MSXML2 {
  11. //
  12. // Forward references and typedefs
  13. //
  14. struct __declspec(uuid("2933bf8f-7b36-11d2-b20e-00c04f983e60"))
  15. /* dual interface */ IXMLDOMImplementation;
  16. struct __declspec(uuid("2933bf80-7b36-11d2-b20e-00c04f983e60"))
  17. /* dual interface */ IXMLDOMNode;
  18. typedef enum tagDOMNodeType DOMNodeType;
  19. struct __declspec(uuid("2933bf82-7b36-11d2-b20e-00c04f983e60"))
  20. /* dual interface */ IXMLDOMNodeList;
  21. struct __declspec(uuid("2933bf83-7b36-11d2-b20e-00c04f983e60"))
  22. /* dual interface */ IXMLDOMNamedNodeMap;
  23. struct __declspec(uuid("2933bf81-7b36-11d2-b20e-00c04f983e60"))
  24. /* dual interface */ IXMLDOMDocument;
  25. struct __declspec(uuid("2933bf8b-7b36-11d2-b20e-00c04f983e60"))
  26. /* dual interface */ IXMLDOMDocumentType;
  27. struct __declspec(uuid("2933bf86-7b36-11d2-b20e-00c04f983e60"))
  28. /* dual interface */ IXMLDOMElement;
  29. struct __declspec(uuid("2933bf85-7b36-11d2-b20e-00c04f983e60"))
  30. /* dual interface */ IXMLDOMAttribute;
  31. struct __declspec(uuid("3efaa413-272f-11d2-836f-0000f87a7782"))
  32. /* dual interface */ IXMLDOMDocumentFragment;
  33. struct __declspec(uuid("2933bf87-7b36-11d2-b20e-00c04f983e60"))
  34. /* dual interface */ IXMLDOMText;
  35. struct __declspec(uuid("2933bf84-7b36-11d2-b20e-00c04f983e60"))
  36. /* dual interface */ IXMLDOMCharacterData;
  37. struct __declspec(uuid("2933bf88-7b36-11d2-b20e-00c04f983e60"))
  38. /* dual interface */ IXMLDOMComment;
  39. struct __declspec(uuid("2933bf8a-7b36-11d2-b20e-00c04f983e60"))
  40. /* dual interface */ IXMLDOMCDATASection;
  41. struct __declspec(uuid("2933bf89-7b36-11d2-b20e-00c04f983e60"))
  42. /* dual interface */ IXMLDOMProcessingInstruction;
  43. struct __declspec(uuid("2933bf8e-7b36-11d2-b20e-00c04f983e60"))
  44. /* dual interface */ IXMLDOMEntityReference;
  45. struct __declspec(uuid("3efaa426-272f-11d2-836f-0000f87a7782"))
  46. /* dual interface */ IXMLDOMParseError;
  47. struct __declspec(uuid("373984c8-b845-449b-91e7-45ac83036ade"))
  48. /* dual interface */ IXMLDOMSchemaCollection;
  49. struct __declspec(uuid("2933bf95-7b36-11d2-b20e-00c04f983e60"))
  50. /* dual interface */ IXMLDOMDocument2;
  51. struct __declspec(uuid("2933bf8c-7b36-11d2-b20e-00c04f983e60"))
  52. /* dual interface */ IXMLDOMNotation;
  53. struct __declspec(uuid("2933bf8d-7b36-11d2-b20e-00c04f983e60"))
  54. /* dual interface */ IXMLDOMEntity;
  55. struct __declspec(uuid("3efaa425-272f-11d2-836f-0000f87a7782"))
  56. /* dual interface */ IXTLRuntime;
  57. struct __declspec(uuid("2933bf93-7b36-11d2-b20e-00c04f983e60"))
  58. /* dual interface */ IXSLTemplate;
  59. struct __declspec(uuid("2933bf92-7b36-11d2-b20e-00c04f983e60"))
  60. /* dual interface */ IXSLProcessor;
  61. struct __declspec(uuid("a4f96ed0-f829-476e-81c0-cdc7bd2a0802"))
  62. /* interface */ ISAXXMLReader;
  63. struct __declspec(uuid("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07"))
  64. /* interface */ ISAXEntityResolver;
  65. struct __declspec(uuid("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44"))
  66. /* interface */ ISAXContentHandler;
  67. struct __declspec(uuid("9b7e472a-0de4-4640-bff3-84d38a051c31"))
  68. /* interface */ ISAXLocator;
  69. struct __declspec(uuid("f078abe1-45d2-4832-91ea-4466ce2f25c9"))
  70. /* interface */ ISAXAttributes;
  71. struct __declspec(uuid("e15c1baf-afb3-4d60-8c36-19a8c45defed"))
  72. /* interface */ ISAXDTDHandler;
  73. struct __declspec(uuid("a60511c4-ccf5-479e-98a3-dc8dc545b7d0"))
  74. /* interface */ ISAXErrorHandler;
  75. struct __declspec(uuid("70409222-ca09-4475-acb8-40312fe8d145"))
  76. /* interface */ ISAXXMLFilter;
  77. struct __declspec(uuid("7f85d5f5-47a8-4497-bda5-84ba04819ea6"))
  78. /* interface */ ISAXLexicalHandler;
  79. struct __declspec(uuid("862629ac-771a-47b2-8337-4e6843c1be90"))
  80. /* interface */ ISAXDeclHandler;
  81. struct __declspec(uuid("8c033caa-6cd6-4f73-b728-4531af74945f"))
  82. /* dual interface */ IVBSAXXMLReader;
  83. struct __declspec(uuid("0c05d096-f45b-4aca-ad1a-aa0bc25518dc"))
  84. /* dual interface */ IVBSAXEntityResolver;
  85. struct __declspec(uuid("2ed7290a-4dd5-4b46-bb26-4e4155e77faa"))
  86. /* dual interface */ IVBSAXContentHandler;
  87. struct __declspec(uuid("796e7ac5-5aa2-4eff-acad-3faaf01a3288"))
  88. /* dual interface */ IVBSAXLocator;
  89. struct __declspec(uuid("10dc0586-132b-4cac-8bb3-db00ac8b7ee0"))
  90. /* dual interface */ IVBSAXAttributes;
  91. struct __declspec(uuid("24fb3297-302d-4620-ba39-3a732d850558"))
  92. /* dual interface */ IVBSAXDTDHandler;
  93. struct __declspec(uuid("d963d3fe-173c-4862-9095-b92f66995f52"))
  94. /* dual interface */ IVBSAXErrorHandler;
  95. struct __declspec(uuid("1299eb1b-5b88-433e-82de-82ca75ad4e04"))
  96. /* dual interface */ IVBSAXXMLFilter;
  97. struct __declspec(uuid("032aac35-8c0e-4d9d-979f-e3b702935576"))
  98. /* dual interface */ IVBSAXLexicalHandler;
  99. struct __declspec(uuid("e8917260-7579-4be1-b5dd-7afbfa6f077b"))
  100. /* dual interface */ IVBSAXDeclHandler;
  101. struct __declspec(uuid("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d"))
  102. /* dual interface */ IMXWriter;
  103. struct __declspec(uuid("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262"))
  104. /* dual interface */ IMXAttributes;
  105. struct __declspec(uuid("808f4e35-8d5a-4fbe-8466-33a41279ed30"))
  106. /* dual interface */ IMXReaderControl;
  107. struct __declspec(uuid("65725580-9b5d-11d0-9bfe-00c04fc99c8e"))
  108. /* dual interface */ IXMLElementCollection;
  109. struct __declspec(uuid("f52e2b61-18a1-11d1-b105-00805f49916b"))
  110. /* dual interface */ IXMLDocument;
  111. struct __declspec(uuid("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e"))
  112. /* dual interface */ IXMLElement;
  113. struct __declspec(uuid("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9"))
  114. /* interface */ IXMLDocument2;
  115. struct __declspec(uuid("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9"))
  116. /* dual interface */ IXMLElement2;
  117. struct __declspec(uuid("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596"))
  118. /* dual interface */ IXMLAttribute;
  119. struct __declspec(uuid("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e"))
  120. /* interface */ IXMLError;
  121. struct _xml_error;
  122. typedef enum tagXMLEMEM_TYPE XMLELEM_TYPE;
  123. struct __declspec(uuid("aa634fc7-5888-44a7-a257-3a47150d3a0e"))
  124. /* dual interface */ IXMLDOMSelection;
  125. struct __declspec(uuid("3efaa427-272f-11d2-836f-0000f87a7782"))
  126. /* dispinterface */ XMLDOMDocumentEvents;
  127. struct __declspec(uuid("310afa62-0575-11d2-9ca9-0060b0ec3d39"))
  128. /* dual interface */ IDSOControl;
  129. struct __declspec(uuid("ed8c108d-4349-11d2-91a4-00c04f7969e8"))
  130. /* dual interface */ IXMLHTTPRequest;
  131. typedef enum _SERVERXMLHTTP_OPTION SERVERXMLHTTP_OPTION;
  132. typedef enum _SXH_SERVER_CERT_OPTION SXH_SERVER_CERT_OPTION;
  133. struct __declspec(uuid("2e9196bf-13ba-4dd4-91ca-6c571f281495"))
  134. /* dual interface */ IServerXMLHTTPRequest;
  135. struct /* coclass */ DOMDocument;
  136. struct /* coclass */ DOMDocument26;
  137. struct /* coclass */ DOMDocument30;
  138. struct /* coclass */ FreeThreadedDOMDocument;
  139. struct /* coclass */ FreeThreadedDOMDocument26;
  140. struct /* coclass */ FreeThreadedDOMDocument30;
  141. struct /* coclass */ XMLSchemaCache;
  142. struct /* coclass */ XMLSchemaCache26;
  143. struct /* coclass */ XMLSchemaCache30;
  144. struct /* coclass */ XSLTemplate;
  145. struct /* coclass */ XSLTemplate26;
  146. struct /* coclass */ XSLTemplate30;
  147. struct /* coclass */ DSOControl;
  148. struct /* coclass */ DSOControl26;
  149. struct /* coclass */ DSOControl30;
  150. struct /* coclass */ XMLHTTP;
  151. struct /* coclass */ XMLHTTP26;
  152. struct /* coclass */ XMLHTTP30;
  153. struct /* coclass */ ServerXMLHTTP;
  154. struct /* coclass */ ServerXMLHTTP30;
  155. struct /* coclass */ SAXXMLReader;
  156. struct /* coclass */ SAXXMLReader30;
  157. struct /* coclass */ MXXMLWriter;
  158. struct /* coclass */ MXXMLWriter30;
  159. struct /* coclass */ SAXAttributes;
  160. struct /* coclass */ SAXAttributes30;
  161. struct /* coclass */ XMLDocument;
  162. //
  163. // Smart pointer typedef declarations
  164. //
  165. _COM_SMARTPTR_TYPEDEF(IXMLDOMImplementation, __uuidof(IXMLDOMImplementation));
  166. _COM_SMARTPTR_TYPEDEF(IXMLDOMNode, __uuidof(IXMLDOMNode));
  167. _COM_SMARTPTR_TYPEDEF(IXMLDOMNodeList, __uuidof(IXMLDOMNodeList));
  168. _COM_SMARTPTR_TYPEDEF(IXMLDOMNamedNodeMap, __uuidof(IXMLDOMNamedNodeMap));
  169. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocument, __uuidof(IXMLDOMDocument));
  170. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocumentType, __uuidof(IXMLDOMDocumentType));
  171. _COM_SMARTPTR_TYPEDEF(IXMLDOMElement, __uuidof(IXMLDOMElement));
  172. _COM_SMARTPTR_TYPEDEF(IXMLDOMAttribute, __uuidof(IXMLDOMAttribute));
  173. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocumentFragment, __uuidof(IXMLDOMDocumentFragment));
  174. _COM_SMARTPTR_TYPEDEF(IXMLDOMCharacterData, __uuidof(IXMLDOMCharacterData));
  175. _COM_SMARTPTR_TYPEDEF(IXMLDOMText, __uuidof(IXMLDOMText));
  176. _COM_SMARTPTR_TYPEDEF(IXMLDOMComment, __uuidof(IXMLDOMComment));
  177. _COM_SMARTPTR_TYPEDEF(IXMLDOMCDATASection, __uuidof(IXMLDOMCDATASection));
  178. _COM_SMARTPTR_TYPEDEF(IXMLDOMProcessingInstruction, __uuidof(IXMLDOMProcessingInstruction));
  179. _COM_SMARTPTR_TYPEDEF(IXMLDOMEntityReference, __uuidof(IXMLDOMEntityReference));
  180. _COM_SMARTPTR_TYPEDEF(IXMLDOMParseError, __uuidof(IXMLDOMParseError));
  181. _COM_SMARTPTR_TYPEDEF(IXMLDOMSchemaCollection, __uuidof(IXMLDOMSchemaCollection));
  182. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocument2, __uuidof(IXMLDOMDocument2));
  183. _COM_SMARTPTR_TYPEDEF(IXMLDOMNotation, __uuidof(IXMLDOMNotation));
  184. _COM_SMARTPTR_TYPEDEF(IXMLDOMEntity, __uuidof(IXMLDOMEntity));
  185. _COM_SMARTPTR_TYPEDEF(IXTLRuntime, __uuidof(IXTLRuntime));
  186. _COM_SMARTPTR_TYPEDEF(IXSLTemplate, __uuidof(IXSLTemplate));
  187. _COM_SMARTPTR_TYPEDEF(IXSLProcessor, __uuidof(IXSLProcessor));
  188. _COM_SMARTPTR_TYPEDEF(ISAXXMLReader, __uuidof(ISAXXMLReader));
  189. _COM_SMARTPTR_TYPEDEF(ISAXEntityResolver, __uuidof(ISAXEntityResolver));
  190. _COM_SMARTPTR_TYPEDEF(ISAXContentHandler, __uuidof(ISAXContentHandler));
  191. _COM_SMARTPTR_TYPEDEF(ISAXLocator, __uuidof(ISAXLocator));
  192. _COM_SMARTPTR_TYPEDEF(ISAXAttributes, __uuidof(ISAXAttributes));
  193. _COM_SMARTPTR_TYPEDEF(ISAXDTDHandler, __uuidof(ISAXDTDHandler));
  194. _COM_SMARTPTR_TYPEDEF(ISAXErrorHandler, __uuidof(ISAXErrorHandler));
  195. _COM_SMARTPTR_TYPEDEF(ISAXXMLFilter, __uuidof(ISAXXMLFilter));
  196. _COM_SMARTPTR_TYPEDEF(ISAXLexicalHandler, __uuidof(ISAXLexicalHandler));
  197. _COM_SMARTPTR_TYPEDEF(ISAXDeclHandler, __uuidof(ISAXDeclHandler));
  198. _COM_SMARTPTR_TYPEDEF(IVBSAXXMLReader, __uuidof(IVBSAXXMLReader));
  199. _COM_SMARTPTR_TYPEDEF(IVBSAXEntityResolver, __uuidof(IVBSAXEntityResolver));
  200. _COM_SMARTPTR_TYPEDEF(IVBSAXContentHandler, __uuidof(IVBSAXContentHandler));
  201. _COM_SMARTPTR_TYPEDEF(IVBSAXLocator, __uuidof(IVBSAXLocator));
  202. _COM_SMARTPTR_TYPEDEF(IVBSAXAttributes, __uuidof(IVBSAXAttributes));
  203. _COM_SMARTPTR_TYPEDEF(IVBSAXDTDHandler, __uuidof(IVBSAXDTDHandler));
  204. _COM_SMARTPTR_TYPEDEF(IVBSAXErrorHandler, __uuidof(IVBSAXErrorHandler));
  205. _COM_SMARTPTR_TYPEDEF(IVBSAXXMLFilter, __uuidof(IVBSAXXMLFilter));
  206. _COM_SMARTPTR_TYPEDEF(IVBSAXLexicalHandler, __uuidof(IVBSAXLexicalHandler));
  207. _COM_SMARTPTR_TYPEDEF(IVBSAXDeclHandler, __uuidof(IVBSAXDeclHandler));
  208. _COM_SMARTPTR_TYPEDEF(IMXWriter, __uuidof(IMXWriter));
  209. _COM_SMARTPTR_TYPEDEF(IMXAttributes, __uuidof(IMXAttributes));
  210. _COM_SMARTPTR_TYPEDEF(IMXReaderControl, __uuidof(IMXReaderControl));
  211. _COM_SMARTPTR_TYPEDEF(IXMLElementCollection, __uuidof(IXMLElementCollection));
  212. _COM_SMARTPTR_TYPEDEF(IXMLDocument, __uuidof(IXMLDocument));
  213. _COM_SMARTPTR_TYPEDEF(IXMLElement, __uuidof(IXMLElement));
  214. _COM_SMARTPTR_TYPEDEF(IXMLDocument2, __uuidof(IXMLDocument2));
  215. _COM_SMARTPTR_TYPEDEF(IXMLElement2, __uuidof(IXMLElement2));
  216. _COM_SMARTPTR_TYPEDEF(IXMLAttribute, __uuidof(IXMLAttribute));
  217. _COM_SMARTPTR_TYPEDEF(IXMLError, __uuidof(IXMLError));
  218. _COM_SMARTPTR_TYPEDEF(IXMLDOMSelection, __uuidof(IXMLDOMSelection));
  219. _COM_SMARTPTR_TYPEDEF(XMLDOMDocumentEvents, __uuidof(IDispatch));
  220. _COM_SMARTPTR_TYPEDEF(IDSOControl, __uuidof(IDSOControl));
  221. _COM_SMARTPTR_TYPEDEF(IXMLHTTPRequest, __uuidof(IXMLHTTPRequest));
  222. _COM_SMARTPTR_TYPEDEF(IServerXMLHTTPRequest, __uuidof(IServerXMLHTTPRequest));
  223. //
  224. // Type library items
  225. //
  226. struct __declspec(uuid("2933bf8f-7b36-11d2-b20e-00c04f983e60"))
  227. IXMLDOMImplementation : IDispatch
  228. {
  229. //
  230. // Raw methods provided by interface
  231. //
  232. virtual HRESULT __stdcall hasFeature (
  233. BSTR feature,
  234. BSTR version,
  235. VARIANT_BOOL * hasFeature ) = 0;
  236. };
  237. struct __declspec(uuid("2933bf80-7b36-11d2-b20e-00c04f983e60"))
  238. IXMLDOMNode : IDispatch
  239. {
  240. //
  241. // Raw methods provided by interface
  242. //
  243. virtual HRESULT __stdcall get_nodeName (
  244. BSTR * name ) = 0;
  245. virtual HRESULT __stdcall get_nodeValue (
  246. VARIANT * value ) = 0;
  247. virtual HRESULT __stdcall put_nodeValue (
  248. VARIANT value ) = 0;
  249. virtual HRESULT __stdcall get_nodeType (
  250. DOMNodeType * type ) = 0;
  251. virtual HRESULT __stdcall get_parentNode (
  252. struct IXMLDOMNode * * parent ) = 0;
  253. virtual HRESULT __stdcall get_childNodes (
  254. struct IXMLDOMNodeList * * childList ) = 0;
  255. virtual HRESULT __stdcall get_firstChild (
  256. struct IXMLDOMNode * * firstChild ) = 0;
  257. virtual HRESULT __stdcall get_lastChild (
  258. struct IXMLDOMNode * * lastChild ) = 0;
  259. virtual HRESULT __stdcall get_previousSibling (
  260. struct IXMLDOMNode * * previousSibling ) = 0;
  261. virtual HRESULT __stdcall get_nextSibling (
  262. struct IXMLDOMNode * * nextSibling ) = 0;
  263. virtual HRESULT __stdcall get_attributes (
  264. struct IXMLDOMNamedNodeMap * * attributeMap ) = 0;
  265. virtual HRESULT __stdcall insertBefore (
  266. struct IXMLDOMNode * newChild,
  267. VARIANT refChild,
  268. struct IXMLDOMNode * * outNewChild ) = 0;
  269. virtual HRESULT __stdcall replaceChild (
  270. struct IXMLDOMNode * newChild,
  271. struct IXMLDOMNode * oldChild,
  272. struct IXMLDOMNode * * outOldChild ) = 0;
  273. virtual HRESULT __stdcall removeChild (
  274. struct IXMLDOMNode * childNode,
  275. struct IXMLDOMNode * * oldChild ) = 0;
  276. virtual HRESULT __stdcall appendChild (
  277. struct IXMLDOMNode * newChild,
  278. struct IXMLDOMNode * * outNewChild ) = 0;
  279. virtual HRESULT __stdcall hasChildNodes (
  280. VARIANT_BOOL * hasChild ) = 0;
  281. virtual HRESULT __stdcall get_ownerDocument (
  282. struct IXMLDOMDocument * * DOMDocument ) = 0;
  283. virtual HRESULT __stdcall cloneNode (
  284. VARIANT_BOOL deep,
  285. struct IXMLDOMNode * * cloneRoot ) = 0;
  286. virtual HRESULT __stdcall get_nodeTypeString (
  287. BSTR * nodeType ) = 0;
  288. virtual HRESULT __stdcall get_text (
  289. BSTR * text ) = 0;
  290. virtual HRESULT __stdcall put_text (
  291. BSTR text ) = 0;
  292. virtual HRESULT __stdcall get_specified (
  293. VARIANT_BOOL * isSpecified ) = 0;
  294. virtual HRESULT __stdcall get_definition (
  295. struct IXMLDOMNode * * definitionNode ) = 0;
  296. virtual HRESULT __stdcall get_nodeTypedValue (
  297. VARIANT * typedValue ) = 0;
  298. virtual HRESULT __stdcall put_nodeTypedValue (
  299. VARIANT typedValue ) = 0;
  300. virtual HRESULT __stdcall get_dataType (
  301. VARIANT * dataTypeName ) = 0;
  302. virtual HRESULT __stdcall put_dataType (
  303. BSTR dataTypeName ) = 0;
  304. virtual HRESULT __stdcall get_xml (
  305. BSTR * xmlString ) = 0;
  306. virtual HRESULT __stdcall transformNode (
  307. struct IXMLDOMNode * stylesheet,
  308. BSTR * xmlString ) = 0;
  309. virtual HRESULT __stdcall selectNodes (
  310. BSTR queryString,
  311. struct IXMLDOMNodeList * * resultList ) = 0;
  312. virtual HRESULT __stdcall selectSingleNode (
  313. BSTR queryString,
  314. struct IXMLDOMNode * * resultNode ) = 0;
  315. virtual HRESULT __stdcall get_parsed (
  316. VARIANT_BOOL * isParsed ) = 0;
  317. virtual HRESULT __stdcall get_namespaceURI (
  318. BSTR * namespaceURI ) = 0;
  319. virtual HRESULT __stdcall get_prefix (
  320. BSTR * prefixString ) = 0;
  321. virtual HRESULT __stdcall get_baseName (
  322. BSTR * nameString ) = 0;
  323. virtual HRESULT __stdcall transformNodeToObject (
  324. struct IXMLDOMNode * stylesheet,
  325. VARIANT outputObject ) = 0;
  326. };
  327. enum tagDOMNodeType
  328. {
  329. NODE_INVALID = 0,
  330. NODE_ELEMENT = 1,
  331. NODE_ATTRIBUTE = 2,
  332. NODE_TEXT = 3,
  333. NODE_CDATA_SECTION = 4,
  334. NODE_ENTITY_REFERENCE = 5,
  335. NODE_ENTITY = 6,
  336. NODE_PROCESSING_INSTRUCTION = 7,
  337. NODE_COMMENT = 8,
  338. NODE_DOCUMENT = 9,
  339. NODE_DOCUMENT_TYPE = 10,
  340. NODE_DOCUMENT_FRAGMENT = 11,
  341. NODE_NOTATION = 12
  342. };
  343. struct __declspec(uuid("2933bf82-7b36-11d2-b20e-00c04f983e60"))
  344. IXMLDOMNodeList : IDispatch
  345. {
  346. //
  347. // Raw methods provided by interface
  348. //
  349. virtual HRESULT __stdcall get_item (
  350. long index,
  351. struct IXMLDOMNode * * listItem ) = 0;
  352. virtual HRESULT __stdcall get_length (
  353. long * listLength ) = 0;
  354. virtual HRESULT __stdcall nextNode (
  355. struct IXMLDOMNode * * nextItem ) = 0;
  356. virtual HRESULT __stdcall reset ( ) = 0;
  357. virtual HRESULT __stdcall get__newEnum (
  358. IUnknown * * ppUnk ) = 0;
  359. };
  360. struct __declspec(uuid("2933bf83-7b36-11d2-b20e-00c04f983e60"))
  361. IXMLDOMNamedNodeMap : IDispatch
  362. {
  363. //
  364. // Raw methods provided by interface
  365. //
  366. virtual HRESULT __stdcall getNamedItem (
  367. BSTR name,
  368. struct IXMLDOMNode * * namedItem ) = 0;
  369. virtual HRESULT __stdcall setNamedItem (
  370. struct IXMLDOMNode * newItem,
  371. struct IXMLDOMNode * * nameItem ) = 0;
  372. virtual HRESULT __stdcall removeNamedItem (
  373. BSTR name,
  374. struct IXMLDOMNode * * namedItem ) = 0;
  375. virtual HRESULT __stdcall get_item (
  376. long index,
  377. struct IXMLDOMNode * * listItem ) = 0;
  378. virtual HRESULT __stdcall get_length (
  379. long * listLength ) = 0;
  380. virtual HRESULT __stdcall getQualifiedItem (
  381. BSTR baseName,
  382. BSTR namespaceURI,
  383. struct IXMLDOMNode * * qualifiedItem ) = 0;
  384. virtual HRESULT __stdcall removeQualifiedItem (
  385. BSTR baseName,
  386. BSTR namespaceURI,
  387. struct IXMLDOMNode * * qualifiedItem ) = 0;
  388. virtual HRESULT __stdcall nextNode (
  389. struct IXMLDOMNode * * nextItem ) = 0;
  390. virtual HRESULT __stdcall reset ( ) = 0;
  391. virtual HRESULT __stdcall get__newEnum (
  392. IUnknown * * ppUnk ) = 0;
  393. };
  394. struct __declspec(uuid("2933bf81-7b36-11d2-b20e-00c04f983e60"))
  395. IXMLDOMDocument : IXMLDOMNode
  396. {
  397. //
  398. // Raw methods provided by interface
  399. //
  400. virtual HRESULT __stdcall get_doctype (
  401. struct IXMLDOMDocumentType * * documentType ) = 0;
  402. virtual HRESULT __stdcall get_implementation (
  403. struct IXMLDOMImplementation * * impl ) = 0;
  404. virtual HRESULT __stdcall get_documentElement (
  405. struct IXMLDOMElement * * DOMElement ) = 0;
  406. virtual HRESULT __stdcall putref_documentElement (
  407. struct IXMLDOMElement * DOMElement ) = 0;
  408. virtual HRESULT __stdcall createElement (
  409. BSTR tagName,
  410. struct IXMLDOMElement * * element ) = 0;
  411. virtual HRESULT __stdcall createDocumentFragment (
  412. struct IXMLDOMDocumentFragment * * docFrag ) = 0;
  413. virtual HRESULT __stdcall createTextNode (
  414. BSTR data,
  415. struct IXMLDOMText * * text ) = 0;
  416. virtual HRESULT __stdcall createComment (
  417. BSTR data,
  418. struct IXMLDOMComment * * comment ) = 0;
  419. virtual HRESULT __stdcall createCDATASection (
  420. BSTR data,
  421. struct IXMLDOMCDATASection * * cdata ) = 0;
  422. virtual HRESULT __stdcall createProcessingInstruction (
  423. BSTR target,
  424. BSTR data,
  425. struct IXMLDOMProcessingInstruction * * pi ) = 0;
  426. virtual HRESULT __stdcall createAttribute (
  427. BSTR name,
  428. struct IXMLDOMAttribute * * attribute ) = 0;
  429. virtual HRESULT __stdcall createEntityReference (
  430. BSTR name,
  431. struct IXMLDOMEntityReference * * entityRef ) = 0;
  432. virtual HRESULT __stdcall getElementsByTagName (
  433. BSTR tagName,
  434. struct IXMLDOMNodeList * * resultList ) = 0;
  435. virtual HRESULT __stdcall createNode (
  436. VARIANT type,
  437. BSTR name,
  438. BSTR namespaceURI,
  439. struct IXMLDOMNode * * node ) = 0;
  440. virtual HRESULT __stdcall nodeFromID (
  441. BSTR idString,
  442. struct IXMLDOMNode * * node ) = 0;
  443. virtual HRESULT __stdcall load (
  444. VARIANT xmlSource,
  445. VARIANT_BOOL * isSuccessful ) = 0;
  446. virtual HRESULT __stdcall get_readyState (
  447. long * value ) = 0;
  448. virtual HRESULT __stdcall get_parseError (
  449. struct IXMLDOMParseError * * errorObj ) = 0;
  450. virtual HRESULT __stdcall get_url (
  451. BSTR * urlString ) = 0;
  452. virtual HRESULT __stdcall get_async (
  453. VARIANT_BOOL * isAsync ) = 0;
  454. virtual HRESULT __stdcall put_async (
  455. VARIANT_BOOL isAsync ) = 0;
  456. virtual HRESULT __stdcall abort ( ) = 0;
  457. virtual HRESULT __stdcall loadXML (
  458. BSTR bstrXML,
  459. VARIANT_BOOL * isSuccessful ) = 0;
  460. virtual HRESULT __stdcall save (
  461. VARIANT destination ) = 0;
  462. virtual HRESULT __stdcall get_validateOnParse (
  463. VARIANT_BOOL * isValidating ) = 0;
  464. virtual HRESULT __stdcall put_validateOnParse (
  465. VARIANT_BOOL isValidating ) = 0;
  466. virtual HRESULT __stdcall get_resolveExternals (
  467. VARIANT_BOOL * isResolving ) = 0;
  468. virtual HRESULT __stdcall put_resolveExternals (
  469. VARIANT_BOOL isResolving ) = 0;
  470. virtual HRESULT __stdcall get_preserveWhiteSpace (
  471. VARIANT_BOOL * isPreserving ) = 0;
  472. virtual HRESULT __stdcall put_preserveWhiteSpace (
  473. VARIANT_BOOL isPreserving ) = 0;
  474. virtual HRESULT __stdcall put_onreadystatechange (
  475. VARIANT _arg1 ) = 0;
  476. virtual HRESULT __stdcall put_ondataavailable (
  477. VARIANT _arg1 ) = 0;
  478. virtual HRESULT __stdcall put_ontransformnode (
  479. VARIANT _arg1 ) = 0;
  480. };
  481. struct __declspec(uuid("2933bf8b-7b36-11d2-b20e-00c04f983e60"))
  482. IXMLDOMDocumentType : IXMLDOMNode
  483. {
  484. //
  485. // Raw methods provided by interface
  486. //
  487. virtual HRESULT __stdcall get_name (
  488. BSTR * rootName ) = 0;
  489. virtual HRESULT __stdcall get_entities (
  490. struct IXMLDOMNamedNodeMap * * entityMap ) = 0;
  491. virtual HRESULT __stdcall get_notations (
  492. struct IXMLDOMNamedNodeMap * * notationMap ) = 0;
  493. };
  494. struct __declspec(uuid("2933bf86-7b36-11d2-b20e-00c04f983e60"))
  495. IXMLDOMElement : IXMLDOMNode
  496. {
  497. //
  498. // Raw methods provided by interface
  499. //
  500. virtual HRESULT __stdcall get_tagName (
  501. BSTR * tagName ) = 0;
  502. virtual HRESULT __stdcall getAttribute (
  503. BSTR name,
  504. VARIANT * value ) = 0;
  505. virtual HRESULT __stdcall setAttribute (
  506. BSTR name,
  507. VARIANT value ) = 0;
  508. virtual HRESULT __stdcall removeAttribute (
  509. BSTR name ) = 0;
  510. virtual HRESULT __stdcall getAttributeNode (
  511. BSTR name,
  512. struct IXMLDOMAttribute * * attributeNode ) = 0;
  513. virtual HRESULT __stdcall setAttributeNode (
  514. struct IXMLDOMAttribute * DOMAttribute,
  515. struct IXMLDOMAttribute * * attributeNode ) = 0;
  516. virtual HRESULT __stdcall removeAttributeNode (
  517. struct IXMLDOMAttribute * DOMAttribute,
  518. struct IXMLDOMAttribute * * attributeNode ) = 0;
  519. virtual HRESULT __stdcall getElementsByTagName (
  520. BSTR tagName,
  521. struct IXMLDOMNodeList * * resultList ) = 0;
  522. virtual HRESULT __stdcall normalize ( ) = 0;
  523. };
  524. struct __declspec(uuid("2933bf85-7b36-11d2-b20e-00c04f983e60"))
  525. IXMLDOMAttribute : IXMLDOMNode
  526. {
  527. //
  528. // Raw methods provided by interface
  529. //
  530. virtual HRESULT __stdcall get_name (
  531. BSTR * attributeName ) = 0;
  532. virtual HRESULT __stdcall get_value (
  533. VARIANT * attributeValue ) = 0;
  534. virtual HRESULT __stdcall put_value (
  535. VARIANT attributeValue ) = 0;
  536. };
  537. struct __declspec(uuid("3efaa413-272f-11d2-836f-0000f87a7782"))
  538. IXMLDOMDocumentFragment : IXMLDOMNode
  539. {};
  540. struct __declspec(uuid("2933bf84-7b36-11d2-b20e-00c04f983e60"))
  541. IXMLDOMCharacterData : IXMLDOMNode
  542. {
  543. //
  544. // Raw methods provided by interface
  545. //
  546. virtual HRESULT __stdcall get_data (
  547. BSTR * data ) = 0;
  548. virtual HRESULT __stdcall put_data (
  549. BSTR data ) = 0;
  550. virtual HRESULT __stdcall get_length (
  551. long * dataLength ) = 0;
  552. virtual HRESULT __stdcall substringData (
  553. long offset,
  554. long count,
  555. BSTR * data ) = 0;
  556. virtual HRESULT __stdcall appendData (
  557. BSTR data ) = 0;
  558. virtual HRESULT __stdcall insertData (
  559. long offset,
  560. BSTR data ) = 0;
  561. virtual HRESULT __stdcall deleteData (
  562. long offset,
  563. long count ) = 0;
  564. virtual HRESULT __stdcall replaceData (
  565. long offset,
  566. long count,
  567. BSTR data ) = 0;
  568. };
  569. struct __declspec(uuid("2933bf87-7b36-11d2-b20e-00c04f983e60"))
  570. IXMLDOMText : IXMLDOMCharacterData
  571. {
  572. //
  573. // Raw methods provided by interface
  574. //
  575. virtual HRESULT __stdcall splitText (
  576. long offset,
  577. struct IXMLDOMText * * rightHandTextNode ) = 0;
  578. };
  579. struct __declspec(uuid("2933bf88-7b36-11d2-b20e-00c04f983e60"))
  580. IXMLDOMComment : IXMLDOMCharacterData
  581. {};
  582. struct __declspec(uuid("2933bf8a-7b36-11d2-b20e-00c04f983e60"))
  583. IXMLDOMCDATASection : IXMLDOMText
  584. {};
  585. struct __declspec(uuid("2933bf89-7b36-11d2-b20e-00c04f983e60"))
  586. IXMLDOMProcessingInstruction : IXMLDOMNode
  587. {
  588. //
  589. // Raw methods provided by interface
  590. //
  591. virtual HRESULT __stdcall get_target (
  592. BSTR * name ) = 0;
  593. virtual HRESULT __stdcall get_data (
  594. BSTR * value ) = 0;
  595. virtual HRESULT __stdcall put_data (
  596. BSTR value ) = 0;
  597. };
  598. struct __declspec(uuid("2933bf8e-7b36-11d2-b20e-00c04f983e60"))
  599. IXMLDOMEntityReference : IXMLDOMNode
  600. {};
  601. struct __declspec(uuid("3efaa426-272f-11d2-836f-0000f87a7782"))
  602. IXMLDOMParseError : IDispatch
  603. {
  604. //
  605. // Raw methods provided by interface
  606. //
  607. virtual HRESULT __stdcall get_errorCode (
  608. long * errorCode ) = 0;
  609. virtual HRESULT __stdcall get_url (
  610. BSTR * urlString ) = 0;
  611. virtual HRESULT __stdcall get_reason (
  612. BSTR * reasonString ) = 0;
  613. virtual HRESULT __stdcall get_srcText (
  614. BSTR * sourceString ) = 0;
  615. virtual HRESULT __stdcall get_line (
  616. long * lineNumber ) = 0;
  617. virtual HRESULT __stdcall get_linepos (
  618. long * linePosition ) = 0;
  619. virtual HRESULT __stdcall get_filepos (
  620. long * filePosition ) = 0;
  621. };
  622. struct __declspec(uuid("373984c8-b845-449b-91e7-45ac83036ade"))
  623. IXMLDOMSchemaCollection : IDispatch
  624. {
  625. //
  626. // Raw methods provided by interface
  627. //
  628. virtual HRESULT __stdcall add (
  629. BSTR namespaceURI,
  630. VARIANT var ) = 0;
  631. virtual HRESULT __stdcall get (
  632. BSTR namespaceURI,
  633. struct IXMLDOMNode * * schemaNode ) = 0;
  634. virtual HRESULT __stdcall remove (
  635. BSTR namespaceURI ) = 0;
  636. virtual HRESULT __stdcall get_length (
  637. long * length ) = 0;
  638. virtual HRESULT __stdcall get_namespaceURI (
  639. long index,
  640. BSTR * length ) = 0;
  641. virtual HRESULT __stdcall addCollection (
  642. struct IXMLDOMSchemaCollection * otherCollection ) = 0;
  643. virtual HRESULT __stdcall get__newEnum (
  644. IUnknown * * ppUnk ) = 0;
  645. };
  646. struct __declspec(uuid("2933bf95-7b36-11d2-b20e-00c04f983e60"))
  647. IXMLDOMDocument2 : IXMLDOMDocument
  648. {
  649. //
  650. // Raw methods provided by interface
  651. //
  652. virtual HRESULT __stdcall get_namespaces (
  653. struct IXMLDOMSchemaCollection * * namespaceCollection ) = 0;
  654. virtual HRESULT __stdcall get_schemas (
  655. VARIANT * otherCollection ) = 0;
  656. virtual HRESULT __stdcall putref_schemas (
  657. VARIANT otherCollection ) = 0;
  658. virtual HRESULT __stdcall validate (
  659. struct IXMLDOMParseError * * errorObj ) = 0;
  660. virtual HRESULT __stdcall setProperty (
  661. BSTR name,
  662. VARIANT value ) = 0;
  663. virtual HRESULT __stdcall getProperty (
  664. BSTR name,
  665. VARIANT * value ) = 0;
  666. };
  667. struct __declspec(uuid("2933bf8c-7b36-11d2-b20e-00c04f983e60"))
  668. IXMLDOMNotation : IXMLDOMNode
  669. {
  670. //
  671. // Raw methods provided by interface
  672. //
  673. virtual HRESULT __stdcall get_publicId (
  674. VARIANT * publicId ) = 0;
  675. virtual HRESULT __stdcall get_systemId (
  676. VARIANT * systemId ) = 0;
  677. };
  678. struct __declspec(uuid("2933bf8d-7b36-11d2-b20e-00c04f983e60"))
  679. IXMLDOMEntity : IXMLDOMNode
  680. {
  681. //
  682. // Raw methods provided by interface
  683. //
  684. virtual HRESULT __stdcall get_publicId (
  685. VARIANT * publicId ) = 0;
  686. virtual HRESULT __stdcall get_systemId (
  687. VARIANT * systemId ) = 0;
  688. virtual HRESULT __stdcall get_notationName (
  689. BSTR * name ) = 0;
  690. };
  691. struct __declspec(uuid("3efaa425-272f-11d2-836f-0000f87a7782"))
  692. IXTLRuntime : IXMLDOMNode
  693. {
  694. //
  695. // Raw methods provided by interface
  696. //
  697. virtual HRESULT __stdcall uniqueID (
  698. struct IXMLDOMNode * pNode,
  699. long * pID ) = 0;
  700. virtual HRESULT __stdcall depth (
  701. struct IXMLDOMNode * pNode,
  702. long * pDepth ) = 0;
  703. virtual HRESULT __stdcall childNumber (
  704. struct IXMLDOMNode * pNode,
  705. long * pNumber ) = 0;
  706. virtual HRESULT __stdcall ancestorChildNumber (
  707. BSTR bstrNodeName,
  708. struct IXMLDOMNode * pNode,
  709. long * pNumber ) = 0;
  710. virtual HRESULT __stdcall absoluteChildNumber (
  711. struct IXMLDOMNode * pNode,
  712. long * pNumber ) = 0;
  713. virtual HRESULT __stdcall formatIndex (
  714. long lIndex,
  715. BSTR bstrFormat,
  716. BSTR * pbstrFormattedString ) = 0;
  717. virtual HRESULT __stdcall formatNumber (
  718. double dblNumber,
  719. BSTR bstrFormat,
  720. BSTR * pbstrFormattedString ) = 0;
  721. virtual HRESULT __stdcall formatDate (
  722. VARIANT varDate,
  723. BSTR bstrFormat,
  724. VARIANT varDestLocale,
  725. BSTR * pbstrFormattedString ) = 0;
  726. virtual HRESULT __stdcall formatTime (
  727. VARIANT varTime,
  728. BSTR bstrFormat,
  729. VARIANT varDestLocale,
  730. BSTR * pbstrFormattedString ) = 0;
  731. };
  732. struct __declspec(uuid("2933bf93-7b36-11d2-b20e-00c04f983e60"))
  733. IXSLTemplate : IDispatch
  734. {
  735. //
  736. // Raw methods provided by interface
  737. //
  738. virtual HRESULT __stdcall putref_stylesheet (
  739. struct IXMLDOMNode * stylesheet ) = 0;
  740. virtual HRESULT __stdcall get_stylesheet (
  741. struct IXMLDOMNode * * stylesheet ) = 0;
  742. virtual HRESULT __stdcall createProcessor (
  743. struct IXSLProcessor * * ppProcessor ) = 0;
  744. };
  745. struct __declspec(uuid("2933bf92-7b36-11d2-b20e-00c04f983e60"))
  746. IXSLProcessor : IDispatch
  747. {
  748. //
  749. // Raw methods provided by interface
  750. //
  751. virtual HRESULT __stdcall put_input (
  752. VARIANT pVar ) = 0;
  753. virtual HRESULT __stdcall get_input (
  754. VARIANT * pVar ) = 0;
  755. virtual HRESULT __stdcall get_ownerTemplate (
  756. struct IXSLTemplate * * ppTemplate ) = 0;
  757. virtual HRESULT __stdcall setStartMode (
  758. BSTR mode,
  759. BSTR namespaceURI ) = 0;
  760. virtual HRESULT __stdcall get_startMode (
  761. BSTR * mode ) = 0;
  762. virtual HRESULT __stdcall get_startModeURI (
  763. BSTR * namespaceURI ) = 0;
  764. virtual HRESULT __stdcall put_output (
  765. VARIANT pOutput ) = 0;
  766. virtual HRESULT __stdcall get_output (
  767. VARIANT * pOutput ) = 0;
  768. virtual HRESULT __stdcall transform (
  769. VARIANT_BOOL * pDone ) = 0;
  770. virtual HRESULT __stdcall reset ( ) = 0;
  771. virtual HRESULT __stdcall get_readyState (
  772. long * pReadyState ) = 0;
  773. virtual HRESULT __stdcall addParameter (
  774. BSTR baseName,
  775. VARIANT parameter,
  776. BSTR namespaceURI ) = 0;
  777. virtual HRESULT __stdcall addObject (
  778. IDispatch * obj,
  779. BSTR namespaceURI ) = 0;
  780. virtual HRESULT __stdcall get_stylesheet (
  781. struct IXMLDOMNode * * stylesheet ) = 0;
  782. };
  783. struct __declspec(uuid("a4f96ed0-f829-476e-81c0-cdc7bd2a0802"))
  784. ISAXXMLReader : IUnknown
  785. {
  786. //
  787. // Raw methods provided by interface
  788. //
  789. virtual HRESULT __stdcall getFeature (
  790. unsigned short * pwchName,
  791. VARIANT_BOOL * pvfValue ) = 0;
  792. virtual HRESULT __stdcall putFeature (
  793. unsigned short * pwchName,
  794. VARIANT_BOOL vfValue ) = 0;
  795. virtual HRESULT __stdcall getProperty (
  796. unsigned short * pwchName,
  797. VARIANT * pvarValue ) = 0;
  798. virtual HRESULT __stdcall putProperty (
  799. unsigned short * pwchName,
  800. VARIANT varValue ) = 0;
  801. virtual HRESULT __stdcall getEntityResolver (
  802. struct ISAXEntityResolver * * ppResolver ) = 0;
  803. virtual HRESULT __stdcall putEntityResolver (
  804. struct ISAXEntityResolver * pResolver ) = 0;
  805. virtual HRESULT __stdcall getContentHandler (
  806. struct ISAXContentHandler * * ppHandler ) = 0;
  807. virtual HRESULT __stdcall putContentHandler (
  808. struct ISAXContentHandler * pHandler ) = 0;
  809. virtual HRESULT __stdcall getDTDHandler (
  810. struct ISAXDTDHandler * * ppHandler ) = 0;
  811. virtual HRESULT __stdcall putDTDHandler (
  812. struct ISAXDTDHandler * pHandler ) = 0;
  813. virtual HRESULT __stdcall getErrorHandler (
  814. struct ISAXErrorHandler * * ppHandler ) = 0;
  815. virtual HRESULT __stdcall putErrorHandler (
  816. struct ISAXErrorHandler * pHandler ) = 0;
  817. virtual HRESULT __stdcall getBaseURL (
  818. unsigned short * * ppwchBaseUrl ) = 0;
  819. virtual HRESULT __stdcall putBaseURL (
  820. unsigned short * pwchBaseUrl ) = 0;
  821. virtual HRESULT __stdcall getSecureBaseURL (
  822. unsigned short * * ppwchSecureBaseUrl ) = 0;
  823. virtual HRESULT __stdcall putSecureBaseURL (
  824. unsigned short * pwchSecureBaseUrl ) = 0;
  825. virtual HRESULT __stdcall parse (
  826. VARIANT varInput ) = 0;
  827. virtual HRESULT __stdcall parseURL (
  828. unsigned short * pwchUrl ) = 0;
  829. };
  830. struct __declspec(uuid("99bca7bd-e8c4-4d5f-a0cf-6d907901ff07"))
  831. ISAXEntityResolver : IUnknown
  832. {
  833. //
  834. // Raw methods provided by interface
  835. //
  836. virtual HRESULT __stdcall resolveEntity (
  837. unsigned short * pwchPublicId,
  838. unsigned short * pwchSystemId,
  839. VARIANT * pvarInput ) = 0;
  840. };
  841. struct __declspec(uuid("1545cdfa-9e4e-4497-a8a4-2bf7d0112c44"))
  842. ISAXContentHandler : IUnknown
  843. {
  844. //
  845. // Raw methods provided by interface
  846. //
  847. virtual HRESULT __stdcall putDocumentLocator (
  848. struct ISAXLocator * pLocator ) = 0;
  849. virtual HRESULT __stdcall startDocument ( ) = 0;
  850. virtual HRESULT __stdcall endDocument ( ) = 0;
  851. virtual HRESULT __stdcall startPrefixMapping (
  852. unsigned short * pwchPrefix,
  853. int cchPrefix,
  854. unsigned short * pwchUri,
  855. int cchUri ) = 0;
  856. virtual HRESULT __stdcall endPrefixMapping (
  857. unsigned short * pwchPrefix,
  858. int cchPrefix ) = 0;
  859. virtual HRESULT __stdcall startElement (
  860. unsigned short * pwchNamespaceUri,
  861. int cchNamespaceUri,
  862. unsigned short * pwchLocalName,
  863. int cchLocalName,
  864. unsigned short * pwchQName,
  865. int cchQName,
  866. struct ISAXAttributes * pAttributes ) = 0;
  867. virtual HRESULT __stdcall endElement (
  868. unsigned short * pwchNamespaceUri,
  869. int cchNamespaceUri,
  870. unsigned short * pwchLocalName,
  871. int cchLocalName,
  872. unsigned short * pwchQName,
  873. int cchQName ) = 0;
  874. virtual HRESULT __stdcall characters (
  875. unsigned short * pwchChars,
  876. int cchChars ) = 0;
  877. virtual HRESULT __stdcall ignorableWhitespace (
  878. unsigned short * pwchChars,
  879. int cchChars ) = 0;
  880. virtual HRESULT __stdcall processingInstruction (
  881. unsigned short * pwchTarget,
  882. int cchTarget,
  883. unsigned short * pwchData,
  884. int cchData ) = 0;
  885. virtual HRESULT __stdcall skippedEntity (
  886. unsigned short * pwchName,
  887. int cchName ) = 0;
  888. };
  889. struct __declspec(uuid("9b7e472a-0de4-4640-bff3-84d38a051c31"))
  890. ISAXLocator : IUnknown
  891. {
  892. //
  893. // Raw methods provided by interface
  894. //
  895. virtual HRESULT __stdcall getColumnNumber (
  896. int * pnColumn ) = 0;
  897. virtual HRESULT __stdcall getLineNumber (
  898. int * pnLine ) = 0;
  899. virtual HRESULT __stdcall getPublicId (
  900. unsigned short * * ppwchPublicId ) = 0;
  901. virtual HRESULT __stdcall getSystemId (
  902. unsigned short * * ppwchSystemId ) = 0;
  903. };
  904. struct __declspec(uuid("f078abe1-45d2-4832-91ea-4466ce2f25c9"))
  905. ISAXAttributes : IUnknown
  906. {
  907. //
  908. // Raw methods provided by interface
  909. //
  910. virtual HRESULT __stdcall getLength (
  911. int * pnLength ) = 0;
  912. virtual HRESULT __stdcall getURI (
  913. int nIndex,
  914. unsigned short * * ppwchUri,
  915. int * pcchUri ) = 0;
  916. virtual HRESULT __stdcall getLocalName (
  917. int nIndex,
  918. unsigned short * * ppwchLocalName,
  919. int * pcchLocalName ) = 0;
  920. virtual HRESULT __stdcall getQName (
  921. int nIndex,
  922. unsigned short * * ppwchQName,
  923. int * pcchQName ) = 0;
  924. virtual HRESULT __stdcall getName (
  925. int nIndex,
  926. unsigned short * * ppwchUri,
  927. int * pcchUri,
  928. unsigned short * * ppwchLocalName,
  929. int * pcchLocalName,
  930. unsigned short * * ppwchQName,
  931. int * pcchQName ) = 0;
  932. virtual HRESULT __stdcall getIndexFromName (
  933. unsigned short * pwchUri,
  934. int cchUri,
  935. unsigned short * pwchLocalName,
  936. int cchLocalName,
  937. int * pnIndex ) = 0;
  938. virtual HRESULT __stdcall getIndexFromQName (
  939. unsigned short * pwchQName,
  940. int cchQName,
  941. int * pnIndex ) = 0;
  942. virtual HRESULT __stdcall getType (
  943. int nIndex,
  944. unsigned short * * ppwchType,
  945. int * pcchType ) = 0;
  946. virtual HRESULT __stdcall getTypeFromName (
  947. unsigned short * pwchUri,
  948. int cchUri,
  949. unsigned short * pwchLocalName,
  950. int cchLocalName,
  951. unsigned short * * ppwchType,
  952. int * pcchType ) = 0;
  953. virtual HRESULT __stdcall getTypeFromQName (
  954. unsigned short * pwchQName,
  955. int cchQName,
  956. unsigned short * * ppwchType,
  957. int * pcchType ) = 0;
  958. virtual HRESULT __stdcall getValue (
  959. int nIndex,
  960. unsigned short * * ppwchValue,
  961. int * pcchValue ) = 0;
  962. virtual HRESULT __stdcall getValueFromName (
  963. unsigned short * pwchUri,
  964. int cchUri,
  965. unsigned short * pwchLocalName,
  966. int cchLocalName,
  967. unsigned short * * ppwchValue,
  968. int * pcchValue ) = 0;
  969. virtual HRESULT __stdcall getValueFromQName (
  970. unsigned short * pwchQName,
  971. int cchQName,
  972. unsigned short * * ppwchValue,
  973. int * pcchValue ) = 0;
  974. };
  975. struct __declspec(uuid("e15c1baf-afb3-4d60-8c36-19a8c45defed"))
  976. ISAXDTDHandler : IUnknown
  977. {
  978. //
  979. // Raw methods provided by interface
  980. //
  981. virtual HRESULT __stdcall notationDecl (
  982. unsigned short * pwchName,
  983. int cchName,
  984. unsigned short * pwchPublicId,
  985. int cchPublicId,
  986. unsigned short * pwchSystemId,
  987. int cchSystemId ) = 0;
  988. virtual HRESULT __stdcall unparsedEntityDecl (
  989. unsigned short * pwchName,
  990. int cchName,
  991. unsigned short * pwchPublicId,
  992. int cchPublicId,
  993. unsigned short * pwchSystemId,
  994. int cchSystemId,
  995. unsigned short * pwchNotationName,
  996. int cchNotationName ) = 0;
  997. };
  998. struct __declspec(uuid("a60511c4-ccf5-479e-98a3-dc8dc545b7d0"))
  999. ISAXErrorHandler : IUnknown
  1000. {
  1001. //
  1002. // Raw methods provided by interface
  1003. //
  1004. virtual HRESULT __stdcall error (
  1005. struct ISAXLocator * pLocator,
  1006. unsigned short * pwchErrorMessage,
  1007. HRESULT hrErrorCode ) = 0;
  1008. virtual HRESULT __stdcall fatalError (
  1009. struct ISAXLocator * pLocator,
  1010. unsigned short * pwchErrorMessage,
  1011. HRESULT hrErrorCode ) = 0;
  1012. virtual HRESULT __stdcall ignorableWarning (
  1013. struct ISAXLocator * pLocator,
  1014. unsigned short * pwchErrorMessage,
  1015. HRESULT hrErrorCode ) = 0;
  1016. };
  1017. struct __declspec(uuid("70409222-ca09-4475-acb8-40312fe8d145"))
  1018. ISAXXMLFilter : ISAXXMLReader
  1019. {
  1020. //
  1021. // Raw methods provided by interface
  1022. //
  1023. virtual HRESULT __stdcall getParent (
  1024. struct ISAXXMLReader * * ppReader ) = 0;
  1025. virtual HRESULT __stdcall putParent (
  1026. struct ISAXXMLReader * pReader ) = 0;
  1027. };
  1028. struct __declspec(uuid("7f85d5f5-47a8-4497-bda5-84ba04819ea6"))
  1029. ISAXLexicalHandler : IUnknown
  1030. {
  1031. //
  1032. // Raw methods provided by interface
  1033. //
  1034. virtual HRESULT __stdcall startDTD (
  1035. unsigned short * pwchName,
  1036. int cchName,
  1037. unsigned short * pwchPublicId,
  1038. int cchPublicId,
  1039. unsigned short * pwchSystemId,
  1040. int cchSystemId ) = 0;
  1041. virtual HRESULT __stdcall endDTD ( ) = 0;
  1042. virtual HRESULT __stdcall startEntity (
  1043. unsigned short * pwchName,
  1044. int cchName ) = 0;
  1045. virtual HRESULT __stdcall endEntity (
  1046. unsigned short * pwchName,
  1047. int cchName ) = 0;
  1048. virtual HRESULT __stdcall startCDATA ( ) = 0;
  1049. virtual HRESULT __stdcall endCDATA ( ) = 0;
  1050. virtual HRESULT __stdcall comment (
  1051. unsigned short * pwchChars,
  1052. int cchChars ) = 0;
  1053. };
  1054. struct __declspec(uuid("862629ac-771a-47b2-8337-4e6843c1be90"))
  1055. ISAXDeclHandler : IUnknown
  1056. {
  1057. //
  1058. // Raw methods provided by interface
  1059. //
  1060. virtual HRESULT __stdcall elementDecl (
  1061. unsigned short * pwchName,
  1062. int cchName,
  1063. unsigned short * pwchModel,
  1064. int cchModel ) = 0;
  1065. virtual HRESULT __stdcall attributeDecl (
  1066. unsigned short * pwchElementName,
  1067. int cchElementName,
  1068. unsigned short * pwchAttributeName,
  1069. int cchAttributeName,
  1070. unsigned short * pwchType,
  1071. int cchType,
  1072. unsigned short * pwchValueDefault,
  1073. int cchValueDefault,
  1074. unsigned short * pwchValue,
  1075. int cchValue ) = 0;
  1076. virtual HRESULT __stdcall internalEntityDecl (
  1077. unsigned short * pwchName,
  1078. int cchName,
  1079. unsigned short * pwchValue,
  1080. int cchValue ) = 0;
  1081. virtual HRESULT __stdcall externalEntityDecl (
  1082. unsigned short * pwchName,
  1083. int cchName,
  1084. unsigned short * pwchPublicId,
  1085. int cchPublicId,
  1086. unsigned short * pwchSystemId,
  1087. int cchSystemId ) = 0;
  1088. };
  1089. struct __declspec(uuid("8c033caa-6cd6-4f73-b728-4531af74945f"))
  1090. IVBSAXXMLReader : IDispatch
  1091. {
  1092. //
  1093. // Raw methods provided by interface
  1094. //
  1095. virtual HRESULT __stdcall getFeature (
  1096. BSTR strName,
  1097. VARIANT_BOOL * fValue ) = 0;
  1098. virtual HRESULT __stdcall putFeature (
  1099. BSTR strName,
  1100. VARIANT_BOOL fValue ) = 0;
  1101. virtual HRESULT __stdcall getProperty (
  1102. BSTR strName,
  1103. VARIANT * varValue ) = 0;
  1104. virtual HRESULT __stdcall putProperty (
  1105. BSTR strName,
  1106. VARIANT varValue ) = 0;
  1107. virtual HRESULT __stdcall get_entityResolver (
  1108. struct IVBSAXEntityResolver * * oResolver ) = 0;
  1109. virtual HRESULT __stdcall putref_entityResolver (
  1110. struct IVBSAXEntityResolver * oResolver ) = 0;
  1111. virtual HRESULT __stdcall get_contentHandler (
  1112. struct IVBSAXContentHandler * * oHandler ) = 0;
  1113. virtual HRESULT __stdcall putref_contentHandler (
  1114. struct IVBSAXContentHandler * oHandler ) = 0;
  1115. virtual HRESULT __stdcall get_dtdHandler (
  1116. struct IVBSAXDTDHandler * * oHandler ) = 0;
  1117. virtual HRESULT __stdcall putref_dtdHandler (
  1118. struct IVBSAXDTDHandler * oHandler ) = 0;
  1119. virtual HRESULT __stdcall get_errorHandler (
  1120. struct IVBSAXErrorHandler * * oHandler ) = 0;
  1121. virtual HRESULT __stdcall putref_errorHandler (
  1122. struct IVBSAXErrorHandler * oHandler ) = 0;
  1123. virtual HRESULT __stdcall get_baseURL (
  1124. BSTR * strBaseURL ) = 0;
  1125. virtual HRESULT __stdcall put_baseURL (
  1126. BSTR strBaseURL ) = 0;
  1127. virtual HRESULT __stdcall get_secureBaseURL (
  1128. BSTR * strSecureBaseURL ) = 0;
  1129. virtual HRESULT __stdcall put_secureBaseURL (
  1130. BSTR strSecureBaseURL ) = 0;
  1131. virtual HRESULT __stdcall parse (
  1132. VARIANT varInput ) = 0;
  1133. virtual HRESULT __stdcall parseURL (
  1134. BSTR strURL ) = 0;
  1135. };
  1136. struct __declspec(uuid("0c05d096-f45b-4aca-ad1a-aa0bc25518dc"))
  1137. IVBSAXEntityResolver : IDispatch
  1138. {
  1139. //
  1140. // Raw methods provided by interface
  1141. //
  1142. virtual HRESULT __stdcall resolveEntity (
  1143. BSTR * strPublicId,
  1144. BSTR * strSystemId,
  1145. VARIANT * varInput ) = 0;
  1146. };
  1147. struct __declspec(uuid("2ed7290a-4dd5-4b46-bb26-4e4155e77faa"))
  1148. IVBSAXContentHandler : IDispatch
  1149. {
  1150. //
  1151. // Raw methods provided by interface
  1152. //
  1153. virtual HRESULT __stdcall putref_documentLocator (
  1154. struct IVBSAXLocator * _arg1 ) = 0;
  1155. virtual HRESULT __stdcall startDocument ( ) = 0;
  1156. virtual HRESULT __stdcall endDocument ( ) = 0;
  1157. virtual HRESULT __stdcall startPrefixMapping (
  1158. BSTR * strPrefix,
  1159. BSTR * strURI ) = 0;
  1160. virtual HRESULT __stdcall endPrefixMapping (
  1161. BSTR * strPrefix ) = 0;
  1162. virtual HRESULT __stdcall startElement (
  1163. BSTR * strNamespaceURI,
  1164. BSTR * strLocalName,
  1165. BSTR * strQName,
  1166. struct IVBSAXAttributes * oAttributes ) = 0;
  1167. virtual HRESULT __stdcall endElement (
  1168. BSTR * strNamespaceURI,
  1169. BSTR * strLocalName,
  1170. BSTR * strQName ) = 0;
  1171. virtual HRESULT __stdcall characters (
  1172. BSTR * strChars ) = 0;
  1173. virtual HRESULT __stdcall ignorableWhitespace (
  1174. BSTR * strChars ) = 0;
  1175. virtual HRESULT __stdcall processingInstruction (
  1176. BSTR * strTarget,
  1177. BSTR * strData ) = 0;
  1178. virtual HRESULT __stdcall skippedEntity (
  1179. BSTR * strName ) = 0;
  1180. };
  1181. struct __declspec(uuid("796e7ac5-5aa2-4eff-acad-3faaf01a3288"))
  1182. IVBSAXLocator : IDispatch
  1183. {
  1184. //
  1185. // Raw methods provided by interface
  1186. //
  1187. virtual HRESULT __stdcall get_columnNumber (
  1188. int * nColumn ) = 0;
  1189. virtual HRESULT __stdcall get_lineNumber (
  1190. int * nLine ) = 0;
  1191. virtual HRESULT __stdcall get_publicId (
  1192. BSTR * strPublicId ) = 0;
  1193. virtual HRESULT __stdcall get_systemId (
  1194. BSTR * strSystemId ) = 0;
  1195. };
  1196. struct __declspec(uuid("10dc0586-132b-4cac-8bb3-db00ac8b7ee0"))
  1197. IVBSAXAttributes : IDispatch
  1198. {
  1199. //
  1200. // Raw methods provided by interface
  1201. //
  1202. virtual HRESULT __stdcall get_length (
  1203. int * nLength ) = 0;
  1204. virtual HRESULT __stdcall getURI (
  1205. int nIndex,
  1206. BSTR * strURI ) = 0;
  1207. virtual HRESULT __stdcall getLocalName (
  1208. int nIndex,
  1209. BSTR * strLocalName ) = 0;
  1210. virtual HRESULT __stdcall getQName (
  1211. int nIndex,
  1212. BSTR * strQName ) = 0;
  1213. virtual HRESULT __stdcall getIndexFromName (
  1214. BSTR strURI,
  1215. BSTR strLocalName,
  1216. int * nIndex ) = 0;
  1217. virtual HRESULT __stdcall getIndexFromQName (
  1218. BSTR strQName,
  1219. int * nIndex ) = 0;
  1220. virtual HRESULT __stdcall getType (
  1221. int nIndex,
  1222. BSTR * strType ) = 0;
  1223. virtual HRESULT __stdcall getTypeFromName (
  1224. BSTR strURI,
  1225. BSTR strLocalName,
  1226. BSTR * strType ) = 0;
  1227. virtual HRESULT __stdcall getTypeFromQName (
  1228. BSTR strQName,
  1229. BSTR * strType ) = 0;
  1230. virtual HRESULT __stdcall getValue (
  1231. int nIndex,
  1232. BSTR * strValue ) = 0;
  1233. virtual HRESULT __stdcall getValueFromName (
  1234. BSTR strURI,
  1235. BSTR strLocalName,
  1236. BSTR * strValue ) = 0;
  1237. virtual HRESULT __stdcall getValueFromQName (
  1238. BSTR strQName,
  1239. BSTR * strValue ) = 0;
  1240. };
  1241. struct __declspec(uuid("24fb3297-302d-4620-ba39-3a732d850558"))
  1242. IVBSAXDTDHandler : IDispatch
  1243. {
  1244. //
  1245. // Raw methods provided by interface
  1246. //
  1247. virtual HRESULT __stdcall notationDecl (
  1248. BSTR * strName,
  1249. BSTR * strPublicId,
  1250. BSTR * strSystemId ) = 0;
  1251. virtual HRESULT __stdcall unparsedEntityDecl (
  1252. BSTR * strName,
  1253. BSTR * strPublicId,
  1254. BSTR * strSystemId,
  1255. BSTR * strNotationName ) = 0;
  1256. };
  1257. struct __declspec(uuid("d963d3fe-173c-4862-9095-b92f66995f52"))
  1258. IVBSAXErrorHandler : IDispatch
  1259. {
  1260. //
  1261. // Raw methods provided by interface
  1262. //
  1263. virtual HRESULT __stdcall error (
  1264. struct IVBSAXLocator * oLocator,
  1265. BSTR * strErrorMessage,
  1266. long nErrorCode ) = 0;
  1267. virtual HRESULT __stdcall fatalError (
  1268. struct IVBSAXLocator * oLocator,
  1269. BSTR * strErrorMessage,
  1270. long nErrorCode ) = 0;
  1271. virtual HRESULT __stdcall ignorableWarning (
  1272. struct IVBSAXLocator * oLocator,
  1273. BSTR * strErrorMessage,
  1274. long nErrorCode ) = 0;
  1275. };
  1276. struct __declspec(uuid("1299eb1b-5b88-433e-82de-82ca75ad4e04"))
  1277. IVBSAXXMLFilter : IDispatch
  1278. {
  1279. //
  1280. // Raw methods provided by interface
  1281. //
  1282. virtual HRESULT __stdcall get_parent (
  1283. struct IVBSAXXMLReader * * oReader ) = 0;
  1284. virtual HRESULT __stdcall putref_parent (
  1285. struct IVBSAXXMLReader * oReader ) = 0;
  1286. };
  1287. struct __declspec(uuid("032aac35-8c0e-4d9d-979f-e3b702935576"))
  1288. IVBSAXLexicalHandler : IDispatch
  1289. {
  1290. //
  1291. // Raw methods provided by interface
  1292. //
  1293. virtual HRESULT __stdcall startDTD (
  1294. BSTR * strName,
  1295. BSTR * strPublicId,
  1296. BSTR * strSystemId ) = 0;
  1297. virtual HRESULT __stdcall endDTD ( ) = 0;
  1298. virtual HRESULT __stdcall startEntity (
  1299. BSTR * strName ) = 0;
  1300. virtual HRESULT __stdcall endEntity (
  1301. BSTR * strName ) = 0;
  1302. virtual HRESULT __stdcall startCDATA ( ) = 0;
  1303. virtual HRESULT __stdcall endCDATA ( ) = 0;
  1304. virtual HRESULT __stdcall comment (
  1305. BSTR * strChars ) = 0;
  1306. };
  1307. struct __declspec(uuid("e8917260-7579-4be1-b5dd-7afbfa6f077b"))
  1308. IVBSAXDeclHandler : IDispatch
  1309. {
  1310. //
  1311. // Raw methods provided by interface
  1312. //
  1313. virtual HRESULT __stdcall elementDecl (
  1314. BSTR * strName,
  1315. BSTR * strModel ) = 0;
  1316. virtual HRESULT __stdcall attributeDecl (
  1317. BSTR * strElementName,
  1318. BSTR * strAttributeName,
  1319. BSTR * strType,
  1320. BSTR * strValueDefault,
  1321. BSTR * strValue ) = 0;
  1322. virtual HRESULT __stdcall internalEntityDecl (
  1323. BSTR * strName,
  1324. BSTR * strValue ) = 0;
  1325. virtual HRESULT __stdcall externalEntityDecl (
  1326. BSTR * strName,
  1327. BSTR * strPublicId,
  1328. BSTR * strSystemId ) = 0;
  1329. };
  1330. struct __declspec(uuid("4d7ff4ba-1565-4ea8-94e1-6e724a46f98d"))
  1331. IMXWriter : IDispatch
  1332. {
  1333. //
  1334. // Raw methods provided by interface
  1335. //
  1336. virtual HRESULT __stdcall put_output (
  1337. VARIANT varDestination ) = 0;
  1338. virtual HRESULT __stdcall get_output (
  1339. VARIANT * varDestination ) = 0;
  1340. virtual HRESULT __stdcall put_encoding (
  1341. BSTR strEncoding ) = 0;
  1342. virtual HRESULT __stdcall get_encoding (
  1343. BSTR * strEncoding ) = 0;
  1344. virtual HRESULT __stdcall put_byteOrderMark (
  1345. VARIANT_BOOL fWriteByteOrderMark ) = 0;
  1346. virtual HRESULT __stdcall get_byteOrderMark (
  1347. VARIANT_BOOL * fWriteByteOrderMark ) = 0;
  1348. virtual HRESULT __stdcall put_indent (
  1349. VARIANT_BOOL fIndentMode ) = 0;
  1350. virtual HRESULT __stdcall get_indent (
  1351. VARIANT_BOOL * fIndentMode ) = 0;
  1352. virtual HRESULT __stdcall put_standalone (
  1353. VARIANT_BOOL fValue ) = 0;
  1354. virtual HRESULT __stdcall get_standalone (
  1355. VARIANT_BOOL * fValue ) = 0;
  1356. virtual HRESULT __stdcall put_omitXMLDeclaration (
  1357. VARIANT_BOOL fValue ) = 0;
  1358. virtual HRESULT __stdcall get_omitXMLDeclaration (
  1359. VARIANT_BOOL * fValue ) = 0;
  1360. virtual HRESULT __stdcall put_version (
  1361. BSTR strVersion ) = 0;
  1362. virtual HRESULT __stdcall get_version (
  1363. BSTR * strVersion ) = 0;
  1364. virtual HRESULT __stdcall put_disableOutputEscaping (
  1365. VARIANT_BOOL fValue ) = 0;
  1366. virtual HRESULT __stdcall get_disableOutputEscaping (
  1367. VARIANT_BOOL * fValue ) = 0;
  1368. virtual HRESULT __stdcall flush ( ) = 0;
  1369. };
  1370. struct __declspec(uuid("f10d27cc-3ec0-415c-8ed8-77ab1c5e7262"))
  1371. IMXAttributes : IDispatch
  1372. {
  1373. //
  1374. // Raw methods provided by interface
  1375. //
  1376. virtual HRESULT __stdcall addAttribute (
  1377. BSTR strURI,
  1378. BSTR strLocalName,
  1379. BSTR strQName,
  1380. BSTR strType,
  1381. BSTR strValue ) = 0;
  1382. virtual HRESULT __stdcall addAttributeFromIndex (
  1383. VARIANT varAtts,
  1384. int nIndex ) = 0;
  1385. virtual HRESULT __stdcall clear ( ) = 0;
  1386. virtual HRESULT __stdcall removeAttribute (
  1387. int nIndex ) = 0;
  1388. virtual HRESULT __stdcall setAttribute (
  1389. int nIndex,
  1390. BSTR strURI,
  1391. BSTR strLocalName,
  1392. BSTR strQName,
  1393. BSTR strType,
  1394. BSTR strValue ) = 0;
  1395. virtual HRESULT __stdcall setAttributes (
  1396. VARIANT varAtts ) = 0;
  1397. virtual HRESULT __stdcall setLocalName (
  1398. int nIndex,
  1399. BSTR strLocalName ) = 0;
  1400. virtual HRESULT __stdcall setQName (
  1401. int nIndex,
  1402. BSTR strQName ) = 0;
  1403. virtual HRESULT __stdcall setType (
  1404. int nIndex,
  1405. BSTR strType ) = 0;
  1406. virtual HRESULT __stdcall setURI (
  1407. int nIndex,
  1408. BSTR strURI ) = 0;
  1409. virtual HRESULT __stdcall setValue (
  1410. int nIndex,
  1411. BSTR strValue ) = 0;
  1412. };
  1413. struct __declspec(uuid("808f4e35-8d5a-4fbe-8466-33a41279ed30"))
  1414. IMXReaderControl : IDispatch
  1415. {
  1416. //
  1417. // Raw methods provided by interface
  1418. //
  1419. virtual HRESULT __stdcall abort ( ) = 0;
  1420. virtual HRESULT __stdcall resume ( ) = 0;
  1421. virtual HRESULT __stdcall suspend ( ) = 0;
  1422. };
  1423. struct __declspec(uuid("65725580-9b5d-11d0-9bfe-00c04fc99c8e"))
  1424. IXMLElementCollection : IDispatch
  1425. {
  1426. //
  1427. // Raw methods provided by interface
  1428. //
  1429. virtual HRESULT __stdcall put_length (
  1430. long p ) = 0;
  1431. virtual HRESULT __stdcall get_length (
  1432. long * p ) = 0;
  1433. virtual HRESULT __stdcall get__newEnum (
  1434. IUnknown * * ppUnk ) = 0;
  1435. virtual HRESULT __stdcall item (
  1436. VARIANT var1,
  1437. VARIANT var2,
  1438. IDispatch * * ppDisp ) = 0;
  1439. };
  1440. struct __declspec(uuid("f52e2b61-18a1-11d1-b105-00805f49916b"))
  1441. IXMLDocument : IDispatch
  1442. {
  1443. //
  1444. // Raw methods provided by interface
  1445. //
  1446. virtual HRESULT __stdcall get_root (
  1447. struct IXMLElement * * p ) = 0;
  1448. virtual HRESULT __stdcall get_fileSize (
  1449. BSTR * p ) = 0;
  1450. virtual HRESULT __stdcall get_fileModifiedDate (
  1451. BSTR * p ) = 0;
  1452. virtual HRESULT __stdcall get_fileUpdatedDate (
  1453. BSTR * p ) = 0;
  1454. virtual HRESULT __stdcall get_url (
  1455. BSTR * p ) = 0;
  1456. virtual HRESULT __stdcall put_url (
  1457. BSTR p ) = 0;
  1458. virtual HRESULT __stdcall get_mimeType (
  1459. BSTR * p ) = 0;
  1460. virtual HRESULT __stdcall get_readyState (
  1461. long * pl ) = 0;
  1462. virtual HRESULT __stdcall get_charset (
  1463. BSTR * p ) = 0;
  1464. virtual HRESULT __stdcall put_charset (
  1465. BSTR p ) = 0;
  1466. virtual HRESULT __stdcall get_version (
  1467. BSTR * p ) = 0;
  1468. virtual HRESULT __stdcall get_doctype (
  1469. BSTR * p ) = 0;
  1470. virtual HRESULT __stdcall get_dtdURL (
  1471. BSTR * p ) = 0;
  1472. virtual HRESULT __stdcall createElement (
  1473. VARIANT vType,
  1474. VARIANT var1,
  1475. struct IXMLElement * * ppElem ) = 0;
  1476. };
  1477. struct __declspec(uuid("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e"))
  1478. IXMLElement : IDispatch
  1479. {
  1480. //
  1481. // Raw methods provided by interface
  1482. //
  1483. virtual HRESULT __stdcall get_tagName (
  1484. BSTR * p ) = 0;
  1485. virtual HRESULT __stdcall put_tagName (
  1486. BSTR p ) = 0;
  1487. virtual HRESULT __stdcall get_parent (
  1488. struct IXMLElement * * ppParent ) = 0;
  1489. virtual HRESULT __stdcall setAttribute (
  1490. BSTR strPropertyName,
  1491. VARIANT PropertyValue ) = 0;
  1492. virtual HRESULT __stdcall getAttribute (
  1493. BSTR strPropertyName,
  1494. VARIANT * PropertyValue ) = 0;
  1495. virtual HRESULT __stdcall removeAttribute (
  1496. BSTR strPropertyName ) = 0;
  1497. virtual HRESULT __stdcall get_children (
  1498. struct IXMLElementCollection * * pp ) = 0;
  1499. virtual HRESULT __stdcall get_type (
  1500. long * plType ) = 0;
  1501. virtual HRESULT __stdcall get_text (
  1502. BSTR * p ) = 0;
  1503. virtual HRESULT __stdcall put_text (
  1504. BSTR p ) = 0;
  1505. virtual HRESULT __stdcall addChild (
  1506. struct IXMLElement * pChildElem,
  1507. long lIndex,
  1508. long lReserved ) = 0;
  1509. virtual HRESULT __stdcall removeChild (
  1510. struct IXMLElement * pChildElem ) = 0;
  1511. };
  1512. struct __declspec(uuid("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9"))
  1513. IXMLDocument2 : IDispatch
  1514. {
  1515. //
  1516. // Raw methods provided by interface
  1517. //
  1518. virtual HRESULT __stdcall get_root (
  1519. struct IXMLElement2 * * p ) = 0;
  1520. virtual HRESULT __stdcall get_fileSize (
  1521. BSTR * p ) = 0;
  1522. virtual HRESULT __stdcall get_fileModifiedDate (
  1523. BSTR * p ) = 0;
  1524. virtual HRESULT __stdcall get_fileUpdatedDate (
  1525. BSTR * p ) = 0;
  1526. virtual HRESULT __stdcall get_url (
  1527. BSTR * p ) = 0;
  1528. virtual HRESULT __stdcall put_url (
  1529. BSTR p ) = 0;
  1530. virtual HRESULT __stdcall get_mimeType (
  1531. BSTR * p ) = 0;
  1532. virtual HRESULT __stdcall get_readyState (
  1533. long * pl ) = 0;
  1534. virtual HRESULT __stdcall get_charset (
  1535. BSTR * p ) = 0;
  1536. virtual HRESULT __stdcall put_charset (
  1537. BSTR p ) = 0;
  1538. virtual HRESULT __stdcall get_version (
  1539. BSTR * p ) = 0;
  1540. virtual HRESULT __stdcall get_doctype (
  1541. BSTR * p ) = 0;
  1542. virtual HRESULT __stdcall get_dtdURL (
  1543. BSTR * p ) = 0;
  1544. virtual HRESULT __stdcall createElement (
  1545. VARIANT vType,
  1546. VARIANT var1,
  1547. struct IXMLElement2 * * ppElem ) = 0;
  1548. virtual HRESULT __stdcall get_async (
  1549. VARIANT_BOOL * pf ) = 0;
  1550. virtual HRESULT __stdcall put_async (
  1551. VARIANT_BOOL pf ) = 0;
  1552. };
  1553. struct __declspec(uuid("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9"))
  1554. IXMLElement2 : IDispatch
  1555. {
  1556. //
  1557. // Raw methods provided by interface
  1558. //
  1559. virtual HRESULT __stdcall get_tagName (
  1560. BSTR * p ) = 0;
  1561. virtual HRESULT __stdcall put_tagName (
  1562. BSTR p ) = 0;
  1563. virtual HRESULT __stdcall get_parent (
  1564. struct IXMLElement2 * * ppParent ) = 0;
  1565. virtual HRESULT __stdcall setAttribute (
  1566. BSTR strPropertyName,
  1567. VARIANT PropertyValue ) = 0;
  1568. virtual HRESULT __stdcall getAttribute (
  1569. BSTR strPropertyName,
  1570. VARIANT * PropertyValue ) = 0;
  1571. virtual HRESULT __stdcall removeAttribute (
  1572. BSTR strPropertyName ) = 0;
  1573. virtual HRESULT __stdcall get_children (
  1574. struct IXMLElementCollection * * pp ) = 0;
  1575. virtual HRESULT __stdcall get_type (
  1576. long * plType ) = 0;
  1577. virtual HRESULT __stdcall get_text (
  1578. BSTR * p ) = 0;
  1579. virtual HRESULT __stdcall put_text (
  1580. BSTR p ) = 0;
  1581. virtual HRESULT __stdcall addChild (
  1582. struct IXMLElement2 * pChildElem,
  1583. long lIndex,
  1584. long lReserved ) = 0;
  1585. virtual HRESULT __stdcall removeChild (
  1586. struct IXMLElement2 * pChildElem ) = 0;
  1587. virtual HRESULT __stdcall get_attributes (
  1588. struct IXMLElementCollection * * pp ) = 0;
  1589. };
  1590. struct __declspec(uuid("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596"))
  1591. IXMLAttribute : IDispatch
  1592. {
  1593. //
  1594. // Raw methods provided by interface
  1595. //
  1596. virtual HRESULT __stdcall get_name (
  1597. BSTR * n ) = 0;
  1598. virtual HRESULT __stdcall get_value (
  1599. BSTR * v ) = 0;
  1600. };
  1601. struct __declspec(uuid("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e"))
  1602. IXMLError : IUnknown
  1603. {
  1604. //
  1605. // Raw methods provided by interface
  1606. //
  1607. virtual HRESULT __stdcall GetErrorInfo (
  1608. struct _xml_error * pErrorReturn ) = 0;
  1609. };
  1610. struct _xml_error
  1611. {
  1612. unsigned int _nLine;
  1613. BSTR _pchBuf;
  1614. unsigned int _cchBuf;
  1615. unsigned int _ich;
  1616. BSTR _pszFound;
  1617. BSTR _pszExpected;
  1618. unsigned long _reserved1;
  1619. unsigned long _reserved2;
  1620. };
  1621. enum tagXMLEMEM_TYPE
  1622. {
  1623. XMLELEMTYPE_ELEMENT = 0,
  1624. XMLELEMTYPE_TEXT = 1,
  1625. XMLELEMTYPE_COMMENT = 2,
  1626. XMLELEMTYPE_DOCUMENT = 3,
  1627. XMLELEMTYPE_DTD = 4,
  1628. XMLELEMTYPE_PI = 5,
  1629. XMLELEMTYPE_OTHER = 6
  1630. };
  1631. struct __declspec(uuid("aa634fc7-5888-44a7-a257-3a47150d3a0e"))
  1632. IXMLDOMSelection : IXMLDOMNodeList
  1633. {
  1634. //
  1635. // Raw methods provided by interface
  1636. //
  1637. virtual HRESULT __stdcall get_expr (
  1638. BSTR * expression ) = 0;
  1639. virtual HRESULT __stdcall put_expr (
  1640. BSTR expression ) = 0;
  1641. virtual HRESULT __stdcall get_context (
  1642. struct IXMLDOMNode * * ppNode ) = 0;
  1643. virtual HRESULT __stdcall putref_context (
  1644. struct IXMLDOMNode * ppNode ) = 0;
  1645. virtual HRESULT __stdcall peekNode (
  1646. struct IXMLDOMNode * * ppNode ) = 0;
  1647. virtual HRESULT __stdcall matches (
  1648. struct IXMLDOMNode * pNode,
  1649. struct IXMLDOMNode * * ppNode ) = 0;
  1650. virtual HRESULT __stdcall removeNext (
  1651. struct IXMLDOMNode * * ppNode ) = 0;
  1652. virtual HRESULT __stdcall removeAll ( ) = 0;
  1653. virtual HRESULT __stdcall clone (
  1654. struct IXMLDOMSelection * * ppNode ) = 0;
  1655. virtual HRESULT __stdcall getProperty (
  1656. BSTR name,
  1657. VARIANT * value ) = 0;
  1658. virtual HRESULT __stdcall setProperty (
  1659. BSTR name,
  1660. VARIANT value ) = 0;
  1661. };
  1662. struct __declspec(uuid("3efaa427-272f-11d2-836f-0000f87a7782"))
  1663. XMLDOMDocumentEvents : IDispatch
  1664. {};
  1665. struct __declspec(uuid("310afa62-0575-11d2-9ca9-0060b0ec3d39"))
  1666. IDSOControl : IDispatch
  1667. {
  1668. //
  1669. // Raw methods provided by interface
  1670. //
  1671. virtual HRESULT __stdcall get_XMLDocument (
  1672. struct IXMLDOMDocument * * ppDoc ) = 0;
  1673. virtual HRESULT __stdcall put_XMLDocument (
  1674. struct IXMLDOMDocument * ppDoc ) = 0;
  1675. virtual HRESULT __stdcall get_JavaDSOCompatible (
  1676. long * fJavaDSOCompatible ) = 0;
  1677. virtual HRESULT __stdcall put_JavaDSOCompatible (
  1678. long fJavaDSOCompatible ) = 0;
  1679. virtual HRESULT __stdcall get_readyState (
  1680. long * state ) = 0;
  1681. };
  1682. struct __declspec(uuid("ed8c108d-4349-11d2-91a4-00c04f7969e8"))
  1683. IXMLHTTPRequest : IDispatch
  1684. {
  1685. //
  1686. // Raw methods provided by interface
  1687. //
  1688. virtual HRESULT __stdcall open (
  1689. BSTR bstrMethod,
  1690. BSTR bstrUrl,
  1691. VARIANT varAsync = vtMissing,
  1692. VARIANT bstrUser = vtMissing,
  1693. VARIANT bstrPassword = vtMissing ) = 0;
  1694. virtual HRESULT __stdcall setRequestHeader (
  1695. BSTR bstrHeader,
  1696. BSTR bstrValue ) = 0;
  1697. virtual HRESULT __stdcall getResponseHeader (
  1698. BSTR bstrHeader,
  1699. BSTR * pbstrValue ) = 0;
  1700. virtual HRESULT __stdcall getAllResponseHeaders (
  1701. BSTR * pbstrHeaders ) = 0;
  1702. virtual HRESULT __stdcall send (
  1703. VARIANT varBody = vtMissing ) = 0;
  1704. virtual HRESULT __stdcall abort ( ) = 0;
  1705. virtual HRESULT __stdcall get_status (
  1706. long * plStatus ) = 0;
  1707. virtual HRESULT __stdcall get_statusText (
  1708. BSTR * pbstrStatus ) = 0;
  1709. virtual HRESULT __stdcall get_responseXML (
  1710. IDispatch * * ppBody ) = 0;
  1711. virtual HRESULT __stdcall get_responseText (
  1712. BSTR * pbstrBody ) = 0;
  1713. virtual HRESULT __stdcall get_responseBody (
  1714. VARIANT * pvarBody ) = 0;
  1715. virtual HRESULT __stdcall get_responseStream (
  1716. VARIANT * pvarBody ) = 0;
  1717. virtual HRESULT __stdcall get_readyState (
  1718. long * plState ) = 0;
  1719. virtual HRESULT __stdcall put_onreadystatechange (
  1720. IDispatch * _arg1 ) = 0;
  1721. };
  1722. enum _SERVERXMLHTTP_OPTION
  1723. {
  1724. SXH_OPTION_URL_CODEPAGE = 0,
  1725. SXH_OPTION_ESCAPE_PERCENT_IN_URL = 1,
  1726. SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS = 2,
  1727. SXH_OPTION_SELECT_CLIENT_SSL_CERT = 3
  1728. };
  1729. enum _SXH_SERVER_CERT_OPTION
  1730. {
  1731. SXH_SERVER_CERT_IGNORE_UNKNOWN_CA = 256,
  1732. SXH_SERVER_CERT_IGNORE_WRONG_USAGE = 512,
  1733. SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID = 4096,
  1734. SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID = 8192,
  1735. SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056
  1736. };
  1737. struct __declspec(uuid("2e9196bf-13ba-4dd4-91ca-6c571f281495"))
  1738. IServerXMLHTTPRequest : IXMLHTTPRequest
  1739. {
  1740. //
  1741. // Raw methods provided by interface
  1742. //
  1743. virtual HRESULT __stdcall setTimeouts (
  1744. long resolveTimeout,
  1745. long connectTimeout,
  1746. long sendTimeout,
  1747. long receiveTimeout ) = 0;
  1748. virtual HRESULT __stdcall waitForResponse (
  1749. VARIANT timeoutInSeconds,
  1750. VARIANT_BOOL * isSuccessful ) = 0;
  1751. virtual HRESULT __stdcall getOption (
  1752. SERVERXMLHTTP_OPTION option,
  1753. VARIANT * value ) = 0;
  1754. virtual HRESULT __stdcall setOption (
  1755. SERVERXMLHTTP_OPTION option,
  1756. VARIANT value ) = 0;
  1757. };
  1758. struct __declspec(uuid("f6d90f11-9c73-11d3-b32e-00c04f990bb4"))
  1759. DOMDocument;
  1760. // [ default ] interface IXMLDOMDocument2
  1761. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1762. struct __declspec(uuid("f5078f1b-c551-11d3-89b9-0000f81fe221"))
  1763. DOMDocument26;
  1764. // [ default ] interface IXMLDOMDocument2
  1765. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1766. struct __declspec(uuid("f5078f32-c551-11d3-89b9-0000f81fe221"))
  1767. DOMDocument30;
  1768. // [ default ] interface IXMLDOMDocument2
  1769. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1770. struct __declspec(uuid("f6d90f12-9c73-11d3-b32e-00c04f990bb4"))
  1771. FreeThreadedDOMDocument;
  1772. // [ default ] interface IXMLDOMDocument2
  1773. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1774. struct __declspec(uuid("f5078f1c-c551-11d3-89b9-0000f81fe221"))
  1775. FreeThreadedDOMDocument26;
  1776. // [ default ] interface IXMLDOMDocument2
  1777. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1778. struct __declspec(uuid("f5078f33-c551-11d3-89b9-0000f81fe221"))
  1779. FreeThreadedDOMDocument30;
  1780. // [ default ] interface IXMLDOMDocument2
  1781. // [ default, source ] dispinterface XMLDOMDocumentEvents
  1782. struct __declspec(uuid("373984c9-b845-449b-91e7-45ac83036ade"))
  1783. XMLSchemaCache;
  1784. // [ default ] interface IXMLDOMSchemaCollection
  1785. struct __declspec(uuid("f5078f1d-c551-11d3-89b9-0000f81fe221"))
  1786. XMLSchemaCache26;
  1787. // [ default ] interface IXMLDOMSchemaCollection
  1788. struct __declspec(uuid("f5078f34-c551-11d3-89b9-0000f81fe221"))
  1789. XMLSchemaCache30;
  1790. // [ default ] interface IXMLDOMSchemaCollection
  1791. struct __declspec(uuid("2933bf94-7b36-11d2-b20e-00c04f983e60"))
  1792. XSLTemplate;
  1793. // [ default ] interface IXSLTemplate
  1794. struct __declspec(uuid("f5078f21-c551-11d3-89b9-0000f81fe221"))
  1795. XSLTemplate26;
  1796. // [ default ] interface IXSLTemplate
  1797. struct __declspec(uuid("f5078f36-c551-11d3-89b9-0000f81fe221"))
  1798. XSLTemplate30;
  1799. // [ default ] interface IXSLTemplate
  1800. struct __declspec(uuid("f6d90f14-9c73-11d3-b32e-00c04f990bb4"))
  1801. DSOControl;
  1802. // [ default ] interface IDSOControl
  1803. struct __declspec(uuid("f5078f1f-c551-11d3-89b9-0000f81fe221"))
  1804. DSOControl26;
  1805. // [ default ] interface IDSOControl
  1806. struct __declspec(uuid("f5078f39-c551-11d3-89b9-0000f81fe221"))
  1807. DSOControl30;
  1808. // [ default ] interface IDSOControl
  1809. struct __declspec(uuid("f6d90f16-9c73-11d3-b32e-00c04f990bb4"))
  1810. XMLHTTP;
  1811. // [ default ] interface IXMLHTTPRequest
  1812. struct __declspec(uuid("f5078f1e-c551-11d3-89b9-0000f81fe221"))
  1813. XMLHTTP26;
  1814. // [ default ] interface IXMLHTTPRequest
  1815. struct __declspec(uuid("f5078f35-c551-11d3-89b9-0000f81fe221"))
  1816. XMLHTTP30;
  1817. // [ default ] interface IXMLHTTPRequest
  1818. struct __declspec(uuid("afba6b42-5692-48ea-8141-dc517dcf0ef1"))
  1819. ServerXMLHTTP;
  1820. // [ default ] interface IServerXMLHTTPRequest
  1821. struct __declspec(uuid("afb40ffd-b609-40a3-9828-f88bbe11e4e3"))
  1822. ServerXMLHTTP30;
  1823. // [ default ] interface IServerXMLHTTPRequest
  1824. struct __declspec(uuid("079aa557-4a18-424a-8eee-e39f0a8d41b9"))
  1825. SAXXMLReader;
  1826. // [ default ] interface IVBSAXXMLReader
  1827. // interface ISAXXMLReader
  1828. // interface IMXReaderControl
  1829. struct __declspec(uuid("3124c396-fb13-4836-a6ad-1317f1713688"))
  1830. SAXXMLReader30;
  1831. // [ default ] interface IVBSAXXMLReader
  1832. // interface ISAXXMLReader
  1833. // interface IMXReaderControl
  1834. struct __declspec(uuid("fc220ad8-a72a-4ee8-926e-0b7ad152a020"))
  1835. MXXMLWriter;
  1836. // [ default ] interface IMXWriter
  1837. // interface ISAXContentHandler
  1838. // interface ISAXErrorHandler
  1839. // interface ISAXDTDHandler
  1840. // interface ISAXLexicalHandler
  1841. // interface ISAXDeclHandler
  1842. // interface IVBSAXContentHandler
  1843. // interface IVBSAXDeclHandler
  1844. // interface IVBSAXDTDHandler
  1845. // interface IVBSAXErrorHandler
  1846. // interface IVBSAXLexicalHandler
  1847. struct __declspec(uuid("3d813dfe-6c91-4a4e-8f41-04346a841d9c"))
  1848. MXXMLWriter30;
  1849. // [ default ] interface IMXWriter
  1850. // interface ISAXContentHandler
  1851. // interface ISAXDeclHandler
  1852. // interface ISAXDTDHandler
  1853. // interface ISAXErrorHandler
  1854. // interface ISAXLexicalHandler
  1855. // interface IVBSAXContentHandler
  1856. // interface IVBSAXDeclHandler
  1857. // interface IVBSAXDTDHandler
  1858. // interface IVBSAXErrorHandler
  1859. // interface IVBSAXLexicalHandler
  1860. struct __declspec(uuid("4dd441ad-526d-4a77-9f1b-9841ed802fb0"))
  1861. SAXAttributes;
  1862. // [ default ] interface IMXAttributes
  1863. // interface IVBSAXAttributes
  1864. // interface ISAXAttributes
  1865. struct __declspec(uuid("3e784a01-f3ae-4dc0-9354-9526b9370eba"))
  1866. SAXAttributes30;
  1867. // [ default ] interface IMXAttributes
  1868. // interface IVBSAXAttributes
  1869. // interface ISAXAttributes
  1870. struct __declspec(uuid("cfc399af-d876-11d0-9c10-00c04fc99c8e"))
  1871. XMLDocument;
  1872. // [ default ] interface IXMLDocument2
  1873. } // namespace MSXML2
  1874. #pragma pack(pop)