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.

1764 lines
53 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for xmlparser.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __xmlparser_h__
  20. #define __xmlparser_h__
  21. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  22. #pragma once
  23. #endif
  24. /* Forward Declarations */
  25. #ifndef __IXMLNodeSource_FWD_DEFINED__
  26. #define __IXMLNodeSource_FWD_DEFINED__
  27. typedef interface IXMLNodeSource IXMLNodeSource;
  28. #endif /* __IXMLNodeSource_FWD_DEFINED__ */
  29. #ifndef __IXMLParser_FWD_DEFINED__
  30. #define __IXMLParser_FWD_DEFINED__
  31. typedef interface IXMLParser IXMLParser;
  32. #endif /* __IXMLParser_FWD_DEFINED__ */
  33. #ifndef __IXMLParser2_FWD_DEFINED__
  34. #define __IXMLParser2_FWD_DEFINED__
  35. typedef interface IXMLParser2 IXMLParser2;
  36. #endif /* __IXMLParser2_FWD_DEFINED__ */
  37. #ifndef __IXMLNodeFactory_FWD_DEFINED__
  38. #define __IXMLNodeFactory_FWD_DEFINED__
  39. typedef interface IXMLNodeFactory IXMLNodeFactory;
  40. #endif /* __IXMLNodeFactory_FWD_DEFINED__ */
  41. #ifndef __XMLParser_FWD_DEFINED__
  42. #define __XMLParser_FWD_DEFINED__
  43. #ifdef __cplusplus
  44. typedef class XMLParser XMLParser;
  45. #else
  46. typedef struct XMLParser XMLParser;
  47. #endif /* __cplusplus */
  48. #endif /* __XMLParser_FWD_DEFINED__ */
  49. #ifndef __XMLParser26_FWD_DEFINED__
  50. #define __XMLParser26_FWD_DEFINED__
  51. #ifdef __cplusplus
  52. typedef class XMLParser26 XMLParser26;
  53. #else
  54. typedef struct XMLParser26 XMLParser26;
  55. #endif /* __cplusplus */
  56. #endif /* __XMLParser26_FWD_DEFINED__ */
  57. #ifndef __XMLParser30_FWD_DEFINED__
  58. #define __XMLParser30_FWD_DEFINED__
  59. #ifdef __cplusplus
  60. typedef class XMLParser30 XMLParser30;
  61. #else
  62. typedef struct XMLParser30 XMLParser30;
  63. #endif /* __cplusplus */
  64. #endif /* __XMLParser30_FWD_DEFINED__ */
  65. /* header files for imported files */
  66. #include "unknwn.h"
  67. #include "objidl.h"
  68. #include "oaidl.h"
  69. #ifdef __cplusplus
  70. extern "C"{
  71. #endif
  72. void * __RPC_USER MIDL_user_allocate(size_t);
  73. void __RPC_USER MIDL_user_free( void * );
  74. /* interface __MIDL_itf_xmlparser_0000 */
  75. /* [local] */
  76. //+-------------------------------------------------------------------------
  77. //
  78. // Microsoft Windows
  79. // Copyright (C) Microsoft Corporation, 1998.
  80. //
  81. //--------------------------------------------------------------------------
  82. typedef /* [public] */
  83. enum __MIDL___MIDL_itf_xmlparser_0000_0001
  84. { XML_ELEMENT = 1,
  85. XML_ATTRIBUTE = XML_ELEMENT + 1,
  86. XML_PI = XML_ATTRIBUTE + 1,
  87. XML_XMLDECL = XML_PI + 1,
  88. XML_DOCTYPE = XML_XMLDECL + 1,
  89. XML_DTDATTRIBUTE = XML_DOCTYPE + 1,
  90. XML_ENTITYDECL = XML_DTDATTRIBUTE + 1,
  91. XML_ELEMENTDECL = XML_ENTITYDECL + 1,
  92. XML_ATTLISTDECL = XML_ELEMENTDECL + 1,
  93. XML_NOTATION = XML_ATTLISTDECL + 1,
  94. XML_GROUP = XML_NOTATION + 1,
  95. XML_INCLUDESECT = XML_GROUP + 1,
  96. XML_PCDATA = XML_INCLUDESECT + 1,
  97. XML_CDATA = XML_PCDATA + 1,
  98. XML_IGNORESECT = XML_CDATA + 1,
  99. XML_COMMENT = XML_IGNORESECT + 1,
  100. XML_ENTITYREF = XML_COMMENT + 1,
  101. XML_WHITESPACE = XML_ENTITYREF + 1,
  102. XML_NAME = XML_WHITESPACE + 1,
  103. XML_NMTOKEN = XML_NAME + 1,
  104. XML_STRING = XML_NMTOKEN + 1,
  105. XML_PEREF = XML_STRING + 1,
  106. XML_MODEL = XML_PEREF + 1,
  107. XML_ATTDEF = XML_MODEL + 1,
  108. XML_ATTTYPE = XML_ATTDEF + 1,
  109. XML_ATTPRESENCE = XML_ATTTYPE + 1,
  110. XML_DTDSUBSET = XML_ATTPRESENCE + 1,
  111. XML_LASTNODETYPE = XML_DTDSUBSET + 1
  112. } XML_NODE_TYPE;
  113. typedef /* [public] */
  114. enum __MIDL___MIDL_itf_xmlparser_0000_0002
  115. { XML_VERSION = XML_LASTNODETYPE,
  116. XML_ENCODING = XML_VERSION + 1,
  117. XML_STANDALONE = XML_ENCODING + 1,
  118. XML_NS = XML_STANDALONE + 1,
  119. XML_XMLSPACE = XML_NS + 1,
  120. XML_XMLLANG = XML_XMLSPACE + 1,
  121. XML_SYSTEM = XML_XMLLANG + 1,
  122. XML_PUBLIC = XML_SYSTEM + 1,
  123. XML_NDATA = XML_PUBLIC + 1,
  124. XML_AT_CDATA = XML_NDATA + 1,
  125. XML_AT_ID = XML_AT_CDATA + 1,
  126. XML_AT_IDREF = XML_AT_ID + 1,
  127. XML_AT_IDREFS = XML_AT_IDREF + 1,
  128. XML_AT_ENTITY = XML_AT_IDREFS + 1,
  129. XML_AT_ENTITIES = XML_AT_ENTITY + 1,
  130. XML_AT_NMTOKEN = XML_AT_ENTITIES + 1,
  131. XML_AT_NMTOKENS = XML_AT_NMTOKEN + 1,
  132. XML_AT_NOTATION = XML_AT_NMTOKENS + 1,
  133. XML_AT_REQUIRED = XML_AT_NOTATION + 1,
  134. XML_AT_IMPLIED = XML_AT_REQUIRED + 1,
  135. XML_AT_FIXED = XML_AT_IMPLIED + 1,
  136. XML_PENTITYDECL = XML_AT_FIXED + 1,
  137. XML_EMPTY = XML_PENTITYDECL + 1,
  138. XML_ANY = XML_EMPTY + 1,
  139. XML_MIXED = XML_ANY + 1,
  140. XML_SEQUENCE = XML_MIXED + 1,
  141. XML_CHOICE = XML_SEQUENCE + 1,
  142. XML_STAR = XML_CHOICE + 1,
  143. XML_PLUS = XML_STAR + 1,
  144. XML_QUESTIONMARK = XML_PLUS + 1,
  145. XML_LASTSUBNODETYPE = XML_QUESTIONMARK + 1
  146. } XML_NODE_SUBTYPE;
  147. typedef /* [public] */
  148. enum __MIDL___MIDL_itf_xmlparser_0000_0003
  149. { XML_E_PARSEERRORBASE = 0xc00ce500L,
  150. XML_E_ENDOFINPUT = XML_E_PARSEERRORBASE,
  151. XML_E_MISSINGEQUALS = XML_E_ENDOFINPUT + 1,
  152. XML_E_MISSINGQUOTE = XML_E_MISSINGEQUALS + 1,
  153. XML_E_COMMENTSYNTAX = XML_E_MISSINGQUOTE + 1,
  154. XML_E_BADSTARTNAMECHAR = XML_E_COMMENTSYNTAX + 1,
  155. XML_E_BADNAMECHAR = XML_E_BADSTARTNAMECHAR + 1,
  156. XML_E_BADCHARINSTRING = XML_E_BADNAMECHAR + 1,
  157. XML_E_XMLDECLSYNTAX = XML_E_BADCHARINSTRING + 1,
  158. XML_E_BADCHARDATA = XML_E_XMLDECLSYNTAX + 1,
  159. XML_E_MISSINGWHITESPACE = XML_E_BADCHARDATA + 1,
  160. XML_E_EXPECTINGTAGEND = XML_E_MISSINGWHITESPACE + 1,
  161. XML_E_BADCHARINDTD = XML_E_EXPECTINGTAGEND + 1,
  162. XML_E_BADCHARINDECL = XML_E_BADCHARINDTD + 1,
  163. XML_E_MISSINGSEMICOLON = XML_E_BADCHARINDECL + 1,
  164. XML_E_BADCHARINENTREF = XML_E_MISSINGSEMICOLON + 1,
  165. XML_E_UNBALANCEDPAREN = XML_E_BADCHARINENTREF + 1,
  166. XML_E_EXPECTINGOPENBRACKET = XML_E_UNBALANCEDPAREN + 1,
  167. XML_E_BADENDCONDSECT = XML_E_EXPECTINGOPENBRACKET + 1,
  168. XML_E_INTERNALERROR = XML_E_BADENDCONDSECT + 1,
  169. XML_E_UNEXPECTED_WHITESPACE = XML_E_INTERNALERROR + 1,
  170. XML_E_INCOMPLETE_ENCODING = XML_E_UNEXPECTED_WHITESPACE + 1,
  171. XML_E_BADCHARINMIXEDMODEL = XML_E_INCOMPLETE_ENCODING + 1,
  172. XML_E_MISSING_STAR = XML_E_BADCHARINMIXEDMODEL + 1,
  173. XML_E_BADCHARINMODEL = XML_E_MISSING_STAR + 1,
  174. XML_E_MISSING_PAREN = XML_E_BADCHARINMODEL + 1,
  175. XML_E_BADCHARINENUMERATION = XML_E_MISSING_PAREN + 1,
  176. XML_E_PIDECLSYNTAX = XML_E_BADCHARINENUMERATION + 1,
  177. XML_E_EXPECTINGCLOSEQUOTE = XML_E_PIDECLSYNTAX + 1,
  178. XML_E_MULTIPLE_COLONS = XML_E_EXPECTINGCLOSEQUOTE + 1,
  179. XML_E_INVALID_DECIMAL = XML_E_MULTIPLE_COLONS + 1,
  180. XML_E_INVALID_HEXIDECIMAL = XML_E_INVALID_DECIMAL + 1,
  181. XML_E_INVALID_UNICODE = XML_E_INVALID_HEXIDECIMAL + 1,
  182. XML_E_WHITESPACEORQUESTIONMARK = XML_E_INVALID_UNICODE + 1,
  183. XML_E_ENDOFPE = XML_E_WHITESPACEORQUESTIONMARK + 1,
  184. XML_E_TOKEN_ERROR = XML_E_PARSEERRORBASE + 0x50,
  185. XML_E_SUSPENDED = XML_E_TOKEN_ERROR,
  186. XML_E_STOPPED = XML_E_SUSPENDED + 1,
  187. XML_E_UNEXPECTEDENDTAG = XML_E_STOPPED + 1,
  188. XML_E_UNCLOSEDTAG = XML_E_UNEXPECTEDENDTAG + 1,
  189. XML_E_DUPLICATEATTRIBUTE = XML_E_UNCLOSEDTAG + 1,
  190. XML_E_MULTIPLEROOTS = XML_E_DUPLICATEATTRIBUTE + 1,
  191. XML_E_INVALIDATROOTLEVEL = XML_E_MULTIPLEROOTS + 1,
  192. XML_E_BADXMLDECL = XML_E_INVALIDATROOTLEVEL + 1,
  193. XML_E_MISSINGROOT = XML_E_BADXMLDECL + 1,
  194. XML_E_UNEXPECTEDEOF = XML_E_MISSINGROOT + 1,
  195. XML_E_BADPEREFINSUBSET = XML_E_UNEXPECTEDEOF + 1,
  196. XML_E_PE_NESTING = XML_E_BADPEREFINSUBSET + 1,
  197. XML_E_INVALID_CDATACLOSINGTAG = XML_E_PE_NESTING + 1,
  198. XML_E_UNCLOSEDPI = XML_E_INVALID_CDATACLOSINGTAG + 1,
  199. XML_E_UNCLOSEDSTARTTAG = XML_E_UNCLOSEDPI + 1,
  200. XML_E_UNCLOSEDENDTAG = XML_E_UNCLOSEDSTARTTAG + 1,
  201. XML_E_UNCLOSEDSTRING = XML_E_UNCLOSEDENDTAG + 1,
  202. XML_E_UNCLOSEDCOMMENT = XML_E_UNCLOSEDSTRING + 1,
  203. XML_E_UNCLOSEDDECL = XML_E_UNCLOSEDCOMMENT + 1,
  204. XML_E_UNCLOSEDMARKUPDECL = XML_E_UNCLOSEDDECL + 1,
  205. XML_E_UNCLOSEDCDATA = XML_E_UNCLOSEDMARKUPDECL + 1,
  206. XML_E_BADDECLNAME = XML_E_UNCLOSEDCDATA + 1,
  207. XML_E_BADEXTERNALID = XML_E_BADDECLNAME + 1,
  208. XML_E_BADELEMENTINDTD = XML_E_BADEXTERNALID + 1,
  209. XML_E_RESERVEDNAMESPACE = XML_E_BADELEMENTINDTD + 1,
  210. XML_E_EXPECTING_VERSION = XML_E_RESERVEDNAMESPACE + 1,
  211. XML_E_EXPECTING_ENCODING = XML_E_EXPECTING_VERSION + 1,
  212. XML_E_EXPECTING_NAME = XML_E_EXPECTING_ENCODING + 1,
  213. XML_E_UNEXPECTED_ATTRIBUTE = XML_E_EXPECTING_NAME + 1,
  214. XML_E_ENDTAGMISMATCH = XML_E_UNEXPECTED_ATTRIBUTE + 1,
  215. XML_E_INVALIDENCODING = XML_E_ENDTAGMISMATCH + 1,
  216. XML_E_INVALIDSWITCH = XML_E_INVALIDENCODING + 1,
  217. XML_E_EXPECTING_NDATA = XML_E_INVALIDSWITCH + 1,
  218. XML_E_INVALID_MODEL = XML_E_EXPECTING_NDATA + 1,
  219. XML_E_INVALID_TYPE = XML_E_INVALID_MODEL + 1,
  220. XML_E_INVALIDXMLSPACE = XML_E_INVALID_TYPE + 1,
  221. XML_E_MULTI_ATTR_VALUE = XML_E_INVALIDXMLSPACE + 1,
  222. XML_E_INVALID_PRESENCE = XML_E_MULTI_ATTR_VALUE + 1,
  223. XML_E_BADXMLCASE = XML_E_INVALID_PRESENCE + 1,
  224. XML_E_CONDSECTINSUBSET = XML_E_BADXMLCASE + 1,
  225. XML_E_CDATAINVALID = XML_E_CONDSECTINSUBSET + 1,
  226. XML_E_INVALID_STANDALONE = XML_E_CDATAINVALID + 1,
  227. XML_E_UNEXPECTED_STANDALONE = XML_E_INVALID_STANDALONE + 1,
  228. XML_E_DOCTYPE_IN_DTD = XML_E_UNEXPECTED_STANDALONE + 1,
  229. XML_E_MISSING_ENTITY = XML_E_DOCTYPE_IN_DTD + 1,
  230. XML_E_ENTITYREF_INNAME = XML_E_MISSING_ENTITY + 1,
  231. XML_E_DOCTYPE_OUTSIDE_PROLOG = XML_E_ENTITYREF_INNAME + 1,
  232. XML_E_INVALID_VERSION = XML_E_DOCTYPE_OUTSIDE_PROLOG + 1,
  233. XML_E_DTDELEMENT_OUTSIDE_DTD = XML_E_INVALID_VERSION + 1,
  234. XML_E_DUPLICATEDOCTYPE = XML_E_DTDELEMENT_OUTSIDE_DTD + 1,
  235. XML_E_RESOURCE = XML_E_DUPLICATEDOCTYPE + 1,
  236. XML_E_MISSINGNAME = XML_E_RESOURCE + 1,
  237. XML_E_LASTERROR = XML_E_MISSINGNAME + 1
  238. } XML_ERROR_CODE;
  239. typedef /* [public] */
  240. enum __MIDL___MIDL_itf_xmlparser_0000_0004
  241. { XMLPARSER_IDLE = 0,
  242. XMLPARSER_WAITING = XMLPARSER_IDLE + 1,
  243. XMLPARSER_BUSY = XMLPARSER_WAITING + 1,
  244. XMLPARSER_ERROR = XMLPARSER_BUSY + 1,
  245. XMLPARSER_STOPPED = XMLPARSER_ERROR + 1,
  246. XMLPARSER_SUSPENDED = XMLPARSER_STOPPED + 1
  247. } XML_PARSER_STATE;
  248. typedef /* [public] */
  249. enum __MIDL___MIDL_itf_xmlparser_0000_0005
  250. { XMLFLAG_FLOATINGAMP = 0x1,
  251. XMLFLAG_SHORTENDTAGS = 0x2,
  252. XMLFLAG_CASEINSENSITIVE = 0x4,
  253. XMLFLAG_NONAMESPACES = 0x8,
  254. XMLFLAG_NOWHITESPACE = 0x10,
  255. XMLFLAG_IE4QUIRKS = 0x20,
  256. XMLFLAG_NODTDNODES = 0x40,
  257. XMLFLAG_IE4COMPATIBILITY = 0xff,
  258. XMLFLAG_IGNORESXMLDECL = 0x100,
  259. XMLFLAG_SAX = 0x200,
  260. XMLFLAG_NORMALIZELB = 0x400,
  261. XMLFLAG_IGNOREENCODING = 0x800,
  262. XMLFLAG_USEWINHTTP = 0x1000,
  263. XMLFLAG_RUNBUFFERONLY = 0x2000,
  264. XMLFLAG_LAZYRESYNC = 0x4000,
  265. XMLFLAG_IGNOREILLEGALCHARS = 0x10000,
  266. XMLFLAG_IE5COMPATIBILITY = 0xf0100
  267. } XML_PARSER_FLAGS;
  268. typedef /* [public][public] */
  269. enum __MIDL___MIDL_itf_xmlparser_0000_0006
  270. { XMLNF_STARTDOCUMENT = 0,
  271. XMLNF_STARTDTD = XMLNF_STARTDOCUMENT + 1,
  272. XMLNF_ENDDTD = XMLNF_STARTDTD + 1,
  273. XMLNF_STARTDTDSUBSET = XMLNF_ENDDTD + 1,
  274. XMLNF_ENDDTDSUBSET = XMLNF_STARTDTDSUBSET + 1,
  275. XMLNF_ENDPROLOG = XMLNF_ENDDTDSUBSET + 1,
  276. XMLNF_STARTENTITY = XMLNF_ENDPROLOG + 1,
  277. XMLNF_ENDENTITY = XMLNF_STARTENTITY + 1,
  278. XMLNF_ENDDOCUMENT = XMLNF_ENDENTITY + 1,
  279. XMLNF_DATAAVAILABLE = XMLNF_ENDDOCUMENT + 1,
  280. XMLNF_LASTEVENT = XMLNF_DATAAVAILABLE
  281. } XML_NODEFACTORY_EVENT;
  282. typedef struct _XML_NODE_INFO
  283. {
  284. DWORD dwSize;
  285. DWORD dwType;
  286. DWORD dwSubType;
  287. BOOL fTerminal;
  288. const WCHAR *pwcText;
  289. ULONG ulLen;
  290. ULONG ulNsPrefixLen;
  291. PVOID pNode;
  292. PVOID pReserved;
  293. } XML_NODE_INFO;
  294. extern RPC_IF_HANDLE __MIDL_itf_xmlparser_0000_v0_0_c_ifspec;
  295. extern RPC_IF_HANDLE __MIDL_itf_xmlparser_0000_v0_0_s_ifspec;
  296. #ifndef __XMLPSR_LIBRARY_DEFINED__
  297. #define __XMLPSR_LIBRARY_DEFINED__
  298. /* library XMLPSR */
  299. /* [version][lcid][helpstring][uuid] */
  300. EXTERN_C const IID LIBID_XMLPSR;
  301. #ifndef __IXMLNodeSource_INTERFACE_DEFINED__
  302. #define __IXMLNodeSource_INTERFACE_DEFINED__
  303. /* interface IXMLNodeSource */
  304. /* [unique][helpstring][uuid][local][object] */
  305. EXTERN_C const IID IID_IXMLNodeSource;
  306. #if defined(__cplusplus) && !defined(CINTERFACE)
  307. MIDL_INTERFACE("d242361d-51a0-11d2-9caf-0060b0ec3d39")
  308. IXMLNodeSource : public IUnknown
  309. {
  310. public:
  311. virtual HRESULT STDMETHODCALLTYPE SetFactory(
  312. /* [in] */ IXMLNodeFactory *pNodeFactory) = 0;
  313. virtual HRESULT STDMETHODCALLTYPE GetFactory(
  314. /* [out] */ IXMLNodeFactory **ppNodeFactory) = 0;
  315. virtual HRESULT STDMETHODCALLTYPE Abort(
  316. /* [in] */ BSTR bstrErrorInfo) = 0;
  317. virtual ULONG STDMETHODCALLTYPE GetLineNumber( void) = 0;
  318. virtual ULONG STDMETHODCALLTYPE GetLinePosition( void) = 0;
  319. virtual ULONG STDMETHODCALLTYPE GetAbsolutePosition( void) = 0;
  320. virtual HRESULT STDMETHODCALLTYPE GetLineBuffer(
  321. /* [out] */ const WCHAR **ppwcBuf,
  322. /* [out] */ ULONG *pulLen,
  323. /* [out] */ ULONG *pulStartPos) = 0;
  324. virtual HRESULT STDMETHODCALLTYPE GetLastError( void) = 0;
  325. virtual HRESULT STDMETHODCALLTYPE GetErrorInfo(
  326. /* [out] */ BSTR *pbstrErrorInfo) = 0;
  327. virtual ULONG STDMETHODCALLTYPE GetFlags( void) = 0;
  328. virtual HRESULT STDMETHODCALLTYPE GetURL(
  329. /* [out] */ const WCHAR **ppwcBuf) = 0;
  330. };
  331. #else /* C style interface */
  332. typedef struct IXMLNodeSourceVtbl
  333. {
  334. BEGIN_INTERFACE
  335. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  336. IXMLNodeSource * This,
  337. /* [in] */ REFIID riid,
  338. /* [iid_is][out] */ void **ppvObject);
  339. ULONG ( STDMETHODCALLTYPE *AddRef )(
  340. IXMLNodeSource * This);
  341. ULONG ( STDMETHODCALLTYPE *Release )(
  342. IXMLNodeSource * This);
  343. HRESULT ( STDMETHODCALLTYPE *SetFactory )(
  344. IXMLNodeSource * This,
  345. /* [in] */ IXMLNodeFactory *pNodeFactory);
  346. HRESULT ( STDMETHODCALLTYPE *GetFactory )(
  347. IXMLNodeSource * This,
  348. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  349. HRESULT ( STDMETHODCALLTYPE *Abort )(
  350. IXMLNodeSource * This,
  351. /* [in] */ BSTR bstrErrorInfo);
  352. ULONG ( STDMETHODCALLTYPE *GetLineNumber )(
  353. IXMLNodeSource * This);
  354. ULONG ( STDMETHODCALLTYPE *GetLinePosition )(
  355. IXMLNodeSource * This);
  356. ULONG ( STDMETHODCALLTYPE *GetAbsolutePosition )(
  357. IXMLNodeSource * This);
  358. HRESULT ( STDMETHODCALLTYPE *GetLineBuffer )(
  359. IXMLNodeSource * This,
  360. /* [out] */ const WCHAR **ppwcBuf,
  361. /* [out] */ ULONG *pulLen,
  362. /* [out] */ ULONG *pulStartPos);
  363. HRESULT ( STDMETHODCALLTYPE *GetLastError )(
  364. IXMLNodeSource * This);
  365. HRESULT ( STDMETHODCALLTYPE *GetErrorInfo )(
  366. IXMLNodeSource * This,
  367. /* [out] */ BSTR *pbstrErrorInfo);
  368. ULONG ( STDMETHODCALLTYPE *GetFlags )(
  369. IXMLNodeSource * This);
  370. HRESULT ( STDMETHODCALLTYPE *GetURL )(
  371. IXMLNodeSource * This,
  372. /* [out] */ const WCHAR **ppwcBuf);
  373. END_INTERFACE
  374. } IXMLNodeSourceVtbl;
  375. interface IXMLNodeSource
  376. {
  377. CONST_VTBL struct IXMLNodeSourceVtbl *lpVtbl;
  378. };
  379. #ifdef COBJMACROS
  380. #define IXMLNodeSource_QueryInterface(This,riid,ppvObject) \
  381. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  382. #define IXMLNodeSource_AddRef(This) \
  383. (This)->lpVtbl -> AddRef(This)
  384. #define IXMLNodeSource_Release(This) \
  385. (This)->lpVtbl -> Release(This)
  386. #define IXMLNodeSource_SetFactory(This,pNodeFactory) \
  387. (This)->lpVtbl -> SetFactory(This,pNodeFactory)
  388. #define IXMLNodeSource_GetFactory(This,ppNodeFactory) \
  389. (This)->lpVtbl -> GetFactory(This,ppNodeFactory)
  390. #define IXMLNodeSource_Abort(This,bstrErrorInfo) \
  391. (This)->lpVtbl -> Abort(This,bstrErrorInfo)
  392. #define IXMLNodeSource_GetLineNumber(This) \
  393. (This)->lpVtbl -> GetLineNumber(This)
  394. #define IXMLNodeSource_GetLinePosition(This) \
  395. (This)->lpVtbl -> GetLinePosition(This)
  396. #define IXMLNodeSource_GetAbsolutePosition(This) \
  397. (This)->lpVtbl -> GetAbsolutePosition(This)
  398. #define IXMLNodeSource_GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos) \
  399. (This)->lpVtbl -> GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos)
  400. #define IXMLNodeSource_GetLastError(This) \
  401. (This)->lpVtbl -> GetLastError(This)
  402. #define IXMLNodeSource_GetErrorInfo(This,pbstrErrorInfo) \
  403. (This)->lpVtbl -> GetErrorInfo(This,pbstrErrorInfo)
  404. #define IXMLNodeSource_GetFlags(This) \
  405. (This)->lpVtbl -> GetFlags(This)
  406. #define IXMLNodeSource_GetURL(This,ppwcBuf) \
  407. (This)->lpVtbl -> GetURL(This,ppwcBuf)
  408. #endif /* COBJMACROS */
  409. #endif /* C style interface */
  410. HRESULT STDMETHODCALLTYPE IXMLNodeSource_SetFactory_Proxy(
  411. IXMLNodeSource * This,
  412. /* [in] */ IXMLNodeFactory *pNodeFactory);
  413. void __RPC_STUB IXMLNodeSource_SetFactory_Stub(
  414. IRpcStubBuffer *This,
  415. IRpcChannelBuffer *_pRpcChannelBuffer,
  416. PRPC_MESSAGE _pRpcMessage,
  417. DWORD *_pdwStubPhase);
  418. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetFactory_Proxy(
  419. IXMLNodeSource * This,
  420. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  421. void __RPC_STUB IXMLNodeSource_GetFactory_Stub(
  422. IRpcStubBuffer *This,
  423. IRpcChannelBuffer *_pRpcChannelBuffer,
  424. PRPC_MESSAGE _pRpcMessage,
  425. DWORD *_pdwStubPhase);
  426. HRESULT STDMETHODCALLTYPE IXMLNodeSource_Abort_Proxy(
  427. IXMLNodeSource * This,
  428. /* [in] */ BSTR bstrErrorInfo);
  429. void __RPC_STUB IXMLNodeSource_Abort_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetLineNumber_Proxy(
  435. IXMLNodeSource * This);
  436. void __RPC_STUB IXMLNodeSource_GetLineNumber_Stub(
  437. IRpcStubBuffer *This,
  438. IRpcChannelBuffer *_pRpcChannelBuffer,
  439. PRPC_MESSAGE _pRpcMessage,
  440. DWORD *_pdwStubPhase);
  441. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetLinePosition_Proxy(
  442. IXMLNodeSource * This);
  443. void __RPC_STUB IXMLNodeSource_GetLinePosition_Stub(
  444. IRpcStubBuffer *This,
  445. IRpcChannelBuffer *_pRpcChannelBuffer,
  446. PRPC_MESSAGE _pRpcMessage,
  447. DWORD *_pdwStubPhase);
  448. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetAbsolutePosition_Proxy(
  449. IXMLNodeSource * This);
  450. void __RPC_STUB IXMLNodeSource_GetAbsolutePosition_Stub(
  451. IRpcStubBuffer *This,
  452. IRpcChannelBuffer *_pRpcChannelBuffer,
  453. PRPC_MESSAGE _pRpcMessage,
  454. DWORD *_pdwStubPhase);
  455. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetLineBuffer_Proxy(
  456. IXMLNodeSource * This,
  457. /* [out] */ const WCHAR **ppwcBuf,
  458. /* [out] */ ULONG *pulLen,
  459. /* [out] */ ULONG *pulStartPos);
  460. void __RPC_STUB IXMLNodeSource_GetLineBuffer_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetLastError_Proxy(
  466. IXMLNodeSource * This);
  467. void __RPC_STUB IXMLNodeSource_GetLastError_Stub(
  468. IRpcStubBuffer *This,
  469. IRpcChannelBuffer *_pRpcChannelBuffer,
  470. PRPC_MESSAGE _pRpcMessage,
  471. DWORD *_pdwStubPhase);
  472. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetErrorInfo_Proxy(
  473. IXMLNodeSource * This,
  474. /* [out] */ BSTR *pbstrErrorInfo);
  475. void __RPC_STUB IXMLNodeSource_GetErrorInfo_Stub(
  476. IRpcStubBuffer *This,
  477. IRpcChannelBuffer *_pRpcChannelBuffer,
  478. PRPC_MESSAGE _pRpcMessage,
  479. DWORD *_pdwStubPhase);
  480. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetFlags_Proxy(
  481. IXMLNodeSource * This);
  482. void __RPC_STUB IXMLNodeSource_GetFlags_Stub(
  483. IRpcStubBuffer *This,
  484. IRpcChannelBuffer *_pRpcChannelBuffer,
  485. PRPC_MESSAGE _pRpcMessage,
  486. DWORD *_pdwStubPhase);
  487. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetURL_Proxy(
  488. IXMLNodeSource * This,
  489. /* [out] */ const WCHAR **ppwcBuf);
  490. void __RPC_STUB IXMLNodeSource_GetURL_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. #endif /* __IXMLNodeSource_INTERFACE_DEFINED__ */
  496. #ifndef __IXMLParser_INTERFACE_DEFINED__
  497. #define __IXMLParser_INTERFACE_DEFINED__
  498. /* interface IXMLParser */
  499. /* [unique][helpstring][uuid][local][object] */
  500. EXTERN_C const IID IID_IXMLParser;
  501. #if defined(__cplusplus) && !defined(CINTERFACE)
  502. MIDL_INTERFACE("d242361e-51a0-11d2-9caf-0060b0ec3d39")
  503. IXMLParser : public IXMLNodeSource
  504. {
  505. public:
  506. virtual HRESULT STDMETHODCALLTYPE SetURL(
  507. /* [in] */ const WCHAR *pszBaseUrl,
  508. /* [in] */ const WCHAR *pszRelativeUrl,
  509. /* [in] */ BOOL fAsync) = 0;
  510. virtual HRESULT STDMETHODCALLTYPE Load(
  511. /* [in] */ BOOL fFullyAvailable,
  512. /* [in] */ IMoniker *pimkName,
  513. /* [in] */ LPBC pibc,
  514. /* [in] */ DWORD grfMode) = 0;
  515. virtual HRESULT STDMETHODCALLTYPE SetInput(
  516. /* [in] */ IUnknown *pStm) = 0;
  517. virtual HRESULT STDMETHODCALLTYPE PushData(
  518. /* [in] */ const char *pData,
  519. /* [in] */ ULONG ulChars,
  520. /* [in] */ BOOL fLastBuffer) = 0;
  521. virtual HRESULT STDMETHODCALLTYPE LoadDTD(
  522. /* [in] */ const WCHAR *pszBaseUrl,
  523. /* [in] */ const WCHAR *pszRelativeUrl) = 0;
  524. virtual HRESULT STDMETHODCALLTYPE LoadEntity(
  525. /* [in] */ const WCHAR *pszBaseUrl,
  526. /* [in] */ const WCHAR *pszRelativeUrl,
  527. /* [in] */ BOOL fpe) = 0;
  528. virtual HRESULT STDMETHODCALLTYPE ParseEntity(
  529. /* [in] */ const WCHAR *pwcText,
  530. /* [in] */ ULONG ulLen,
  531. /* [in] */ BOOL fpe) = 0;
  532. virtual HRESULT STDMETHODCALLTYPE ExpandEntity(
  533. /* [in] */ const WCHAR *pwcText,
  534. /* [in] */ ULONG ulLen) = 0;
  535. virtual HRESULT STDMETHODCALLTYPE SetRoot(
  536. /* [in] */ PVOID pRoot) = 0;
  537. virtual HRESULT STDMETHODCALLTYPE GetRoot(
  538. /* [in] */ PVOID *ppRoot) = 0;
  539. virtual HRESULT STDMETHODCALLTYPE Run(
  540. /* [in] */ long lChars) = 0;
  541. virtual HRESULT STDMETHODCALLTYPE GetParserState( void) = 0;
  542. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  543. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  544. virtual HRESULT STDMETHODCALLTYPE SetFlags(
  545. /* [in] */ ULONG iFlags) = 0;
  546. virtual HRESULT STDMETHODCALLTYPE SetSecureBaseURL(
  547. /* [in] */ const WCHAR *pszBaseUrl) = 0;
  548. virtual HRESULT STDMETHODCALLTYPE GetSecureBaseURL(
  549. /* [out] */ const WCHAR **ppwcBuf) = 0;
  550. };
  551. #else /* C style interface */
  552. typedef struct IXMLParserVtbl
  553. {
  554. BEGIN_INTERFACE
  555. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  556. IXMLParser * This,
  557. /* [in] */ REFIID riid,
  558. /* [iid_is][out] */ void **ppvObject);
  559. ULONG ( STDMETHODCALLTYPE *AddRef )(
  560. IXMLParser * This);
  561. ULONG ( STDMETHODCALLTYPE *Release )(
  562. IXMLParser * This);
  563. HRESULT ( STDMETHODCALLTYPE *SetFactory )(
  564. IXMLParser * This,
  565. /* [in] */ IXMLNodeFactory *pNodeFactory);
  566. HRESULT ( STDMETHODCALLTYPE *GetFactory )(
  567. IXMLParser * This,
  568. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  569. HRESULT ( STDMETHODCALLTYPE *Abort )(
  570. IXMLParser * This,
  571. /* [in] */ BSTR bstrErrorInfo);
  572. ULONG ( STDMETHODCALLTYPE *GetLineNumber )(
  573. IXMLParser * This);
  574. ULONG ( STDMETHODCALLTYPE *GetLinePosition )(
  575. IXMLParser * This);
  576. ULONG ( STDMETHODCALLTYPE *GetAbsolutePosition )(
  577. IXMLParser * This);
  578. HRESULT ( STDMETHODCALLTYPE *GetLineBuffer )(
  579. IXMLParser * This,
  580. /* [out] */ const WCHAR **ppwcBuf,
  581. /* [out] */ ULONG *pulLen,
  582. /* [out] */ ULONG *pulStartPos);
  583. HRESULT ( STDMETHODCALLTYPE *GetLastError )(
  584. IXMLParser * This);
  585. HRESULT ( STDMETHODCALLTYPE *GetErrorInfo )(
  586. IXMLParser * This,
  587. /* [out] */ BSTR *pbstrErrorInfo);
  588. ULONG ( STDMETHODCALLTYPE *GetFlags )(
  589. IXMLParser * This);
  590. HRESULT ( STDMETHODCALLTYPE *GetURL )(
  591. IXMLParser * This,
  592. /* [out] */ const WCHAR **ppwcBuf);
  593. HRESULT ( STDMETHODCALLTYPE *SetURL )(
  594. IXMLParser * This,
  595. /* [in] */ const WCHAR *pszBaseUrl,
  596. /* [in] */ const WCHAR *pszRelativeUrl,
  597. /* [in] */ BOOL fAsync);
  598. HRESULT ( STDMETHODCALLTYPE *Load )(
  599. IXMLParser * This,
  600. /* [in] */ BOOL fFullyAvailable,
  601. /* [in] */ IMoniker *pimkName,
  602. /* [in] */ LPBC pibc,
  603. /* [in] */ DWORD grfMode);
  604. HRESULT ( STDMETHODCALLTYPE *SetInput )(
  605. IXMLParser * This,
  606. /* [in] */ IUnknown *pStm);
  607. HRESULT ( STDMETHODCALLTYPE *PushData )(
  608. IXMLParser * This,
  609. /* [in] */ const char *pData,
  610. /* [in] */ ULONG ulChars,
  611. /* [in] */ BOOL fLastBuffer);
  612. HRESULT ( STDMETHODCALLTYPE *LoadDTD )(
  613. IXMLParser * This,
  614. /* [in] */ const WCHAR *pszBaseUrl,
  615. /* [in] */ const WCHAR *pszRelativeUrl);
  616. HRESULT ( STDMETHODCALLTYPE *LoadEntity )(
  617. IXMLParser * This,
  618. /* [in] */ const WCHAR *pszBaseUrl,
  619. /* [in] */ const WCHAR *pszRelativeUrl,
  620. /* [in] */ BOOL fpe);
  621. HRESULT ( STDMETHODCALLTYPE *ParseEntity )(
  622. IXMLParser * This,
  623. /* [in] */ const WCHAR *pwcText,
  624. /* [in] */ ULONG ulLen,
  625. /* [in] */ BOOL fpe);
  626. HRESULT ( STDMETHODCALLTYPE *ExpandEntity )(
  627. IXMLParser * This,
  628. /* [in] */ const WCHAR *pwcText,
  629. /* [in] */ ULONG ulLen);
  630. HRESULT ( STDMETHODCALLTYPE *SetRoot )(
  631. IXMLParser * This,
  632. /* [in] */ PVOID pRoot);
  633. HRESULT ( STDMETHODCALLTYPE *GetRoot )(
  634. IXMLParser * This,
  635. /* [in] */ PVOID *ppRoot);
  636. HRESULT ( STDMETHODCALLTYPE *Run )(
  637. IXMLParser * This,
  638. /* [in] */ long lChars);
  639. HRESULT ( STDMETHODCALLTYPE *GetParserState )(
  640. IXMLParser * This);
  641. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  642. IXMLParser * This);
  643. HRESULT ( STDMETHODCALLTYPE *Reset )(
  644. IXMLParser * This);
  645. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  646. IXMLParser * This,
  647. /* [in] */ ULONG iFlags);
  648. HRESULT ( STDMETHODCALLTYPE *SetSecureBaseURL )(
  649. IXMLParser * This,
  650. /* [in] */ const WCHAR *pszBaseUrl);
  651. HRESULT ( STDMETHODCALLTYPE *GetSecureBaseURL )(
  652. IXMLParser * This,
  653. /* [out] */ const WCHAR **ppwcBuf);
  654. END_INTERFACE
  655. } IXMLParserVtbl;
  656. interface IXMLParser
  657. {
  658. CONST_VTBL struct IXMLParserVtbl *lpVtbl;
  659. };
  660. #ifdef COBJMACROS
  661. #define IXMLParser_QueryInterface(This,riid,ppvObject) \
  662. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  663. #define IXMLParser_AddRef(This) \
  664. (This)->lpVtbl -> AddRef(This)
  665. #define IXMLParser_Release(This) \
  666. (This)->lpVtbl -> Release(This)
  667. #define IXMLParser_SetFactory(This,pNodeFactory) \
  668. (This)->lpVtbl -> SetFactory(This,pNodeFactory)
  669. #define IXMLParser_GetFactory(This,ppNodeFactory) \
  670. (This)->lpVtbl -> GetFactory(This,ppNodeFactory)
  671. #define IXMLParser_Abort(This,bstrErrorInfo) \
  672. (This)->lpVtbl -> Abort(This,bstrErrorInfo)
  673. #define IXMLParser_GetLineNumber(This) \
  674. (This)->lpVtbl -> GetLineNumber(This)
  675. #define IXMLParser_GetLinePosition(This) \
  676. (This)->lpVtbl -> GetLinePosition(This)
  677. #define IXMLParser_GetAbsolutePosition(This) \
  678. (This)->lpVtbl -> GetAbsolutePosition(This)
  679. #define IXMLParser_GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos) \
  680. (This)->lpVtbl -> GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos)
  681. #define IXMLParser_GetLastError(This) \
  682. (This)->lpVtbl -> GetLastError(This)
  683. #define IXMLParser_GetErrorInfo(This,pbstrErrorInfo) \
  684. (This)->lpVtbl -> GetErrorInfo(This,pbstrErrorInfo)
  685. #define IXMLParser_GetFlags(This) \
  686. (This)->lpVtbl -> GetFlags(This)
  687. #define IXMLParser_GetURL(This,ppwcBuf) \
  688. (This)->lpVtbl -> GetURL(This,ppwcBuf)
  689. #define IXMLParser_SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync) \
  690. (This)->lpVtbl -> SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync)
  691. #define IXMLParser_Load(This,fFullyAvailable,pimkName,pibc,grfMode) \
  692. (This)->lpVtbl -> Load(This,fFullyAvailable,pimkName,pibc,grfMode)
  693. #define IXMLParser_SetInput(This,pStm) \
  694. (This)->lpVtbl -> SetInput(This,pStm)
  695. #define IXMLParser_PushData(This,pData,ulChars,fLastBuffer) \
  696. (This)->lpVtbl -> PushData(This,pData,ulChars,fLastBuffer)
  697. #define IXMLParser_LoadDTD(This,pszBaseUrl,pszRelativeUrl) \
  698. (This)->lpVtbl -> LoadDTD(This,pszBaseUrl,pszRelativeUrl)
  699. #define IXMLParser_LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe) \
  700. (This)->lpVtbl -> LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe)
  701. #define IXMLParser_ParseEntity(This,pwcText,ulLen,fpe) \
  702. (This)->lpVtbl -> ParseEntity(This,pwcText,ulLen,fpe)
  703. #define IXMLParser_ExpandEntity(This,pwcText,ulLen) \
  704. (This)->lpVtbl -> ExpandEntity(This,pwcText,ulLen)
  705. #define IXMLParser_SetRoot(This,pRoot) \
  706. (This)->lpVtbl -> SetRoot(This,pRoot)
  707. #define IXMLParser_GetRoot(This,ppRoot) \
  708. (This)->lpVtbl -> GetRoot(This,ppRoot)
  709. #define IXMLParser_Run(This,lChars) \
  710. (This)->lpVtbl -> Run(This,lChars)
  711. #define IXMLParser_GetParserState(This) \
  712. (This)->lpVtbl -> GetParserState(This)
  713. #define IXMLParser_Suspend(This) \
  714. (This)->lpVtbl -> Suspend(This)
  715. #define IXMLParser_Reset(This) \
  716. (This)->lpVtbl -> Reset(This)
  717. #define IXMLParser_SetFlags(This,iFlags) \
  718. (This)->lpVtbl -> SetFlags(This,iFlags)
  719. #define IXMLParser_SetSecureBaseURL(This,pszBaseUrl) \
  720. (This)->lpVtbl -> SetSecureBaseURL(This,pszBaseUrl)
  721. #define IXMLParser_GetSecureBaseURL(This,ppwcBuf) \
  722. (This)->lpVtbl -> GetSecureBaseURL(This,ppwcBuf)
  723. #endif /* COBJMACROS */
  724. #endif /* C style interface */
  725. HRESULT STDMETHODCALLTYPE IXMLParser_SetURL_Proxy(
  726. IXMLParser * This,
  727. /* [in] */ const WCHAR *pszBaseUrl,
  728. /* [in] */ const WCHAR *pszRelativeUrl,
  729. /* [in] */ BOOL fAsync);
  730. void __RPC_STUB IXMLParser_SetURL_Stub(
  731. IRpcStubBuffer *This,
  732. IRpcChannelBuffer *_pRpcChannelBuffer,
  733. PRPC_MESSAGE _pRpcMessage,
  734. DWORD *_pdwStubPhase);
  735. HRESULT STDMETHODCALLTYPE IXMLParser_Load_Proxy(
  736. IXMLParser * This,
  737. /* [in] */ BOOL fFullyAvailable,
  738. /* [in] */ IMoniker *pimkName,
  739. /* [in] */ LPBC pibc,
  740. /* [in] */ DWORD grfMode);
  741. void __RPC_STUB IXMLParser_Load_Stub(
  742. IRpcStubBuffer *This,
  743. IRpcChannelBuffer *_pRpcChannelBuffer,
  744. PRPC_MESSAGE _pRpcMessage,
  745. DWORD *_pdwStubPhase);
  746. HRESULT STDMETHODCALLTYPE IXMLParser_SetInput_Proxy(
  747. IXMLParser * This,
  748. /* [in] */ IUnknown *pStm);
  749. void __RPC_STUB IXMLParser_SetInput_Stub(
  750. IRpcStubBuffer *This,
  751. IRpcChannelBuffer *_pRpcChannelBuffer,
  752. PRPC_MESSAGE _pRpcMessage,
  753. DWORD *_pdwStubPhase);
  754. HRESULT STDMETHODCALLTYPE IXMLParser_PushData_Proxy(
  755. IXMLParser * This,
  756. /* [in] */ const char *pData,
  757. /* [in] */ ULONG ulChars,
  758. /* [in] */ BOOL fLastBuffer);
  759. void __RPC_STUB IXMLParser_PushData_Stub(
  760. IRpcStubBuffer *This,
  761. IRpcChannelBuffer *_pRpcChannelBuffer,
  762. PRPC_MESSAGE _pRpcMessage,
  763. DWORD *_pdwStubPhase);
  764. HRESULT STDMETHODCALLTYPE IXMLParser_LoadDTD_Proxy(
  765. IXMLParser * This,
  766. /* [in] */ const WCHAR *pszBaseUrl,
  767. /* [in] */ const WCHAR *pszRelativeUrl);
  768. void __RPC_STUB IXMLParser_LoadDTD_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. HRESULT STDMETHODCALLTYPE IXMLParser_LoadEntity_Proxy(
  774. IXMLParser * This,
  775. /* [in] */ const WCHAR *pszBaseUrl,
  776. /* [in] */ const WCHAR *pszRelativeUrl,
  777. /* [in] */ BOOL fpe);
  778. void __RPC_STUB IXMLParser_LoadEntity_Stub(
  779. IRpcStubBuffer *This,
  780. IRpcChannelBuffer *_pRpcChannelBuffer,
  781. PRPC_MESSAGE _pRpcMessage,
  782. DWORD *_pdwStubPhase);
  783. HRESULT STDMETHODCALLTYPE IXMLParser_ParseEntity_Proxy(
  784. IXMLParser * This,
  785. /* [in] */ const WCHAR *pwcText,
  786. /* [in] */ ULONG ulLen,
  787. /* [in] */ BOOL fpe);
  788. void __RPC_STUB IXMLParser_ParseEntity_Stub(
  789. IRpcStubBuffer *This,
  790. IRpcChannelBuffer *_pRpcChannelBuffer,
  791. PRPC_MESSAGE _pRpcMessage,
  792. DWORD *_pdwStubPhase);
  793. HRESULT STDMETHODCALLTYPE IXMLParser_ExpandEntity_Proxy(
  794. IXMLParser * This,
  795. /* [in] */ const WCHAR *pwcText,
  796. /* [in] */ ULONG ulLen);
  797. void __RPC_STUB IXMLParser_ExpandEntity_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. HRESULT STDMETHODCALLTYPE IXMLParser_SetRoot_Proxy(
  803. IXMLParser * This,
  804. /* [in] */ PVOID pRoot);
  805. void __RPC_STUB IXMLParser_SetRoot_Stub(
  806. IRpcStubBuffer *This,
  807. IRpcChannelBuffer *_pRpcChannelBuffer,
  808. PRPC_MESSAGE _pRpcMessage,
  809. DWORD *_pdwStubPhase);
  810. HRESULT STDMETHODCALLTYPE IXMLParser_GetRoot_Proxy(
  811. IXMLParser * This,
  812. /* [in] */ PVOID *ppRoot);
  813. void __RPC_STUB IXMLParser_GetRoot_Stub(
  814. IRpcStubBuffer *This,
  815. IRpcChannelBuffer *_pRpcChannelBuffer,
  816. PRPC_MESSAGE _pRpcMessage,
  817. DWORD *_pdwStubPhase);
  818. HRESULT STDMETHODCALLTYPE IXMLParser_Run_Proxy(
  819. IXMLParser * This,
  820. /* [in] */ long lChars);
  821. void __RPC_STUB IXMLParser_Run_Stub(
  822. IRpcStubBuffer *This,
  823. IRpcChannelBuffer *_pRpcChannelBuffer,
  824. PRPC_MESSAGE _pRpcMessage,
  825. DWORD *_pdwStubPhase);
  826. HRESULT STDMETHODCALLTYPE IXMLParser_GetParserState_Proxy(
  827. IXMLParser * This);
  828. void __RPC_STUB IXMLParser_GetParserState_Stub(
  829. IRpcStubBuffer *This,
  830. IRpcChannelBuffer *_pRpcChannelBuffer,
  831. PRPC_MESSAGE _pRpcMessage,
  832. DWORD *_pdwStubPhase);
  833. HRESULT STDMETHODCALLTYPE IXMLParser_Suspend_Proxy(
  834. IXMLParser * This);
  835. void __RPC_STUB IXMLParser_Suspend_Stub(
  836. IRpcStubBuffer *This,
  837. IRpcChannelBuffer *_pRpcChannelBuffer,
  838. PRPC_MESSAGE _pRpcMessage,
  839. DWORD *_pdwStubPhase);
  840. HRESULT STDMETHODCALLTYPE IXMLParser_Reset_Proxy(
  841. IXMLParser * This);
  842. void __RPC_STUB IXMLParser_Reset_Stub(
  843. IRpcStubBuffer *This,
  844. IRpcChannelBuffer *_pRpcChannelBuffer,
  845. PRPC_MESSAGE _pRpcMessage,
  846. DWORD *_pdwStubPhase);
  847. HRESULT STDMETHODCALLTYPE IXMLParser_SetFlags_Proxy(
  848. IXMLParser * This,
  849. /* [in] */ ULONG iFlags);
  850. void __RPC_STUB IXMLParser_SetFlags_Stub(
  851. IRpcStubBuffer *This,
  852. IRpcChannelBuffer *_pRpcChannelBuffer,
  853. PRPC_MESSAGE _pRpcMessage,
  854. DWORD *_pdwStubPhase);
  855. HRESULT STDMETHODCALLTYPE IXMLParser_SetSecureBaseURL_Proxy(
  856. IXMLParser * This,
  857. /* [in] */ const WCHAR *pszBaseUrl);
  858. void __RPC_STUB IXMLParser_SetSecureBaseURL_Stub(
  859. IRpcStubBuffer *This,
  860. IRpcChannelBuffer *_pRpcChannelBuffer,
  861. PRPC_MESSAGE _pRpcMessage,
  862. DWORD *_pdwStubPhase);
  863. HRESULT STDMETHODCALLTYPE IXMLParser_GetSecureBaseURL_Proxy(
  864. IXMLParser * This,
  865. /* [out] */ const WCHAR **ppwcBuf);
  866. void __RPC_STUB IXMLParser_GetSecureBaseURL_Stub(
  867. IRpcStubBuffer *This,
  868. IRpcChannelBuffer *_pRpcChannelBuffer,
  869. PRPC_MESSAGE _pRpcMessage,
  870. DWORD *_pdwStubPhase);
  871. #endif /* __IXMLParser_INTERFACE_DEFINED__ */
  872. #ifndef __IXMLParser2_INTERFACE_DEFINED__
  873. #define __IXMLParser2_INTERFACE_DEFINED__
  874. /* interface IXMLParser2 */
  875. /* [unique][helpstring][uuid][local][object] */
  876. EXTERN_C const IID IID_IXMLParser2;
  877. #if defined(__cplusplus) && !defined(CINTERFACE)
  878. MIDL_INTERFACE("50fb5b1a-a75c-4ff4-86b2-14c62189e2cc")
  879. IXMLParser2 : public IXMLParser
  880. {
  881. public:
  882. virtual HRESULT STDMETHODCALLTYPE SetMaxXmlSize(
  883. /* [in] */ ULONG MaxSizeCch) = 0;
  884. virtual HRESULT STDMETHODCALLTYPE GetMaxXmlSize(
  885. /* [out] */ ULONG *MaxSizeCch) = 0;
  886. };
  887. #else /* C style interface */
  888. typedef struct IXMLParser2Vtbl
  889. {
  890. BEGIN_INTERFACE
  891. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  892. IXMLParser2 * This,
  893. /* [in] */ REFIID riid,
  894. /* [iid_is][out] */ void **ppvObject);
  895. ULONG ( STDMETHODCALLTYPE *AddRef )(
  896. IXMLParser2 * This);
  897. ULONG ( STDMETHODCALLTYPE *Release )(
  898. IXMLParser2 * This);
  899. HRESULT ( STDMETHODCALLTYPE *SetFactory )(
  900. IXMLParser2 * This,
  901. /* [in] */ IXMLNodeFactory *pNodeFactory);
  902. HRESULT ( STDMETHODCALLTYPE *GetFactory )(
  903. IXMLParser2 * This,
  904. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  905. HRESULT ( STDMETHODCALLTYPE *Abort )(
  906. IXMLParser2 * This,
  907. /* [in] */ BSTR bstrErrorInfo);
  908. ULONG ( STDMETHODCALLTYPE *GetLineNumber )(
  909. IXMLParser2 * This);
  910. ULONG ( STDMETHODCALLTYPE *GetLinePosition )(
  911. IXMLParser2 * This);
  912. ULONG ( STDMETHODCALLTYPE *GetAbsolutePosition )(
  913. IXMLParser2 * This);
  914. HRESULT ( STDMETHODCALLTYPE *GetLineBuffer )(
  915. IXMLParser2 * This,
  916. /* [out] */ const WCHAR **ppwcBuf,
  917. /* [out] */ ULONG *pulLen,
  918. /* [out] */ ULONG *pulStartPos);
  919. HRESULT ( STDMETHODCALLTYPE *GetLastError )(
  920. IXMLParser2 * This);
  921. HRESULT ( STDMETHODCALLTYPE *GetErrorInfo )(
  922. IXMLParser2 * This,
  923. /* [out] */ BSTR *pbstrErrorInfo);
  924. ULONG ( STDMETHODCALLTYPE *GetFlags )(
  925. IXMLParser2 * This);
  926. HRESULT ( STDMETHODCALLTYPE *GetURL )(
  927. IXMLParser2 * This,
  928. /* [out] */ const WCHAR **ppwcBuf);
  929. HRESULT ( STDMETHODCALLTYPE *SetURL )(
  930. IXMLParser2 * This,
  931. /* [in] */ const WCHAR *pszBaseUrl,
  932. /* [in] */ const WCHAR *pszRelativeUrl,
  933. /* [in] */ BOOL fAsync);
  934. HRESULT ( STDMETHODCALLTYPE *Load )(
  935. IXMLParser2 * This,
  936. /* [in] */ BOOL fFullyAvailable,
  937. /* [in] */ IMoniker *pimkName,
  938. /* [in] */ LPBC pibc,
  939. /* [in] */ DWORD grfMode);
  940. HRESULT ( STDMETHODCALLTYPE *SetInput )(
  941. IXMLParser2 * This,
  942. /* [in] */ IUnknown *pStm);
  943. HRESULT ( STDMETHODCALLTYPE *PushData )(
  944. IXMLParser2 * This,
  945. /* [in] */ const char *pData,
  946. /* [in] */ ULONG ulChars,
  947. /* [in] */ BOOL fLastBuffer);
  948. HRESULT ( STDMETHODCALLTYPE *LoadDTD )(
  949. IXMLParser2 * This,
  950. /* [in] */ const WCHAR *pszBaseUrl,
  951. /* [in] */ const WCHAR *pszRelativeUrl);
  952. HRESULT ( STDMETHODCALLTYPE *LoadEntity )(
  953. IXMLParser2 * This,
  954. /* [in] */ const WCHAR *pszBaseUrl,
  955. /* [in] */ const WCHAR *pszRelativeUrl,
  956. /* [in] */ BOOL fpe);
  957. HRESULT ( STDMETHODCALLTYPE *ParseEntity )(
  958. IXMLParser2 * This,
  959. /* [in] */ const WCHAR *pwcText,
  960. /* [in] */ ULONG ulLen,
  961. /* [in] */ BOOL fpe);
  962. HRESULT ( STDMETHODCALLTYPE *ExpandEntity )(
  963. IXMLParser2 * This,
  964. /* [in] */ const WCHAR *pwcText,
  965. /* [in] */ ULONG ulLen);
  966. HRESULT ( STDMETHODCALLTYPE *SetRoot )(
  967. IXMLParser2 * This,
  968. /* [in] */ PVOID pRoot);
  969. HRESULT ( STDMETHODCALLTYPE *GetRoot )(
  970. IXMLParser2 * This,
  971. /* [in] */ PVOID *ppRoot);
  972. HRESULT ( STDMETHODCALLTYPE *Run )(
  973. IXMLParser2 * This,
  974. /* [in] */ long lChars);
  975. HRESULT ( STDMETHODCALLTYPE *GetParserState )(
  976. IXMLParser2 * This);
  977. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  978. IXMLParser2 * This);
  979. HRESULT ( STDMETHODCALLTYPE *Reset )(
  980. IXMLParser2 * This);
  981. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  982. IXMLParser2 * This,
  983. /* [in] */ ULONG iFlags);
  984. HRESULT ( STDMETHODCALLTYPE *SetSecureBaseURL )(
  985. IXMLParser2 * This,
  986. /* [in] */ const WCHAR *pszBaseUrl);
  987. HRESULT ( STDMETHODCALLTYPE *GetSecureBaseURL )(
  988. IXMLParser2 * This,
  989. /* [out] */ const WCHAR **ppwcBuf);
  990. HRESULT ( STDMETHODCALLTYPE *SetMaxXmlSize )(
  991. IXMLParser2 * This,
  992. /* [in] */ ULONG MaxSizeCch);
  993. HRESULT ( STDMETHODCALLTYPE *GetMaxXmlSize )(
  994. IXMLParser2 * This,
  995. /* [out] */ ULONG *MaxSizeCch);
  996. END_INTERFACE
  997. } IXMLParser2Vtbl;
  998. interface IXMLParser2
  999. {
  1000. CONST_VTBL struct IXMLParser2Vtbl *lpVtbl;
  1001. };
  1002. #ifdef COBJMACROS
  1003. #define IXMLParser2_QueryInterface(This,riid,ppvObject) \
  1004. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1005. #define IXMLParser2_AddRef(This) \
  1006. (This)->lpVtbl -> AddRef(This)
  1007. #define IXMLParser2_Release(This) \
  1008. (This)->lpVtbl -> Release(This)
  1009. #define IXMLParser2_SetFactory(This,pNodeFactory) \
  1010. (This)->lpVtbl -> SetFactory(This,pNodeFactory)
  1011. #define IXMLParser2_GetFactory(This,ppNodeFactory) \
  1012. (This)->lpVtbl -> GetFactory(This,ppNodeFactory)
  1013. #define IXMLParser2_Abort(This,bstrErrorInfo) \
  1014. (This)->lpVtbl -> Abort(This,bstrErrorInfo)
  1015. #define IXMLParser2_GetLineNumber(This) \
  1016. (This)->lpVtbl -> GetLineNumber(This)
  1017. #define IXMLParser2_GetLinePosition(This) \
  1018. (This)->lpVtbl -> GetLinePosition(This)
  1019. #define IXMLParser2_GetAbsolutePosition(This) \
  1020. (This)->lpVtbl -> GetAbsolutePosition(This)
  1021. #define IXMLParser2_GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos) \
  1022. (This)->lpVtbl -> GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos)
  1023. #define IXMLParser2_GetLastError(This) \
  1024. (This)->lpVtbl -> GetLastError(This)
  1025. #define IXMLParser2_GetErrorInfo(This,pbstrErrorInfo) \
  1026. (This)->lpVtbl -> GetErrorInfo(This,pbstrErrorInfo)
  1027. #define IXMLParser2_GetFlags(This) \
  1028. (This)->lpVtbl -> GetFlags(This)
  1029. #define IXMLParser2_GetURL(This,ppwcBuf) \
  1030. (This)->lpVtbl -> GetURL(This,ppwcBuf)
  1031. #define IXMLParser2_SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync) \
  1032. (This)->lpVtbl -> SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync)
  1033. #define IXMLParser2_Load(This,fFullyAvailable,pimkName,pibc,grfMode) \
  1034. (This)->lpVtbl -> Load(This,fFullyAvailable,pimkName,pibc,grfMode)
  1035. #define IXMLParser2_SetInput(This,pStm) \
  1036. (This)->lpVtbl -> SetInput(This,pStm)
  1037. #define IXMLParser2_PushData(This,pData,ulChars,fLastBuffer) \
  1038. (This)->lpVtbl -> PushData(This,pData,ulChars,fLastBuffer)
  1039. #define IXMLParser2_LoadDTD(This,pszBaseUrl,pszRelativeUrl) \
  1040. (This)->lpVtbl -> LoadDTD(This,pszBaseUrl,pszRelativeUrl)
  1041. #define IXMLParser2_LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe) \
  1042. (This)->lpVtbl -> LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe)
  1043. #define IXMLParser2_ParseEntity(This,pwcText,ulLen,fpe) \
  1044. (This)->lpVtbl -> ParseEntity(This,pwcText,ulLen,fpe)
  1045. #define IXMLParser2_ExpandEntity(This,pwcText,ulLen) \
  1046. (This)->lpVtbl -> ExpandEntity(This,pwcText,ulLen)
  1047. #define IXMLParser2_SetRoot(This,pRoot) \
  1048. (This)->lpVtbl -> SetRoot(This,pRoot)
  1049. #define IXMLParser2_GetRoot(This,ppRoot) \
  1050. (This)->lpVtbl -> GetRoot(This,ppRoot)
  1051. #define IXMLParser2_Run(This,lChars) \
  1052. (This)->lpVtbl -> Run(This,lChars)
  1053. #define IXMLParser2_GetParserState(This) \
  1054. (This)->lpVtbl -> GetParserState(This)
  1055. #define IXMLParser2_Suspend(This) \
  1056. (This)->lpVtbl -> Suspend(This)
  1057. #define IXMLParser2_Reset(This) \
  1058. (This)->lpVtbl -> Reset(This)
  1059. #define IXMLParser2_SetFlags(This,iFlags) \
  1060. (This)->lpVtbl -> SetFlags(This,iFlags)
  1061. #define IXMLParser2_SetSecureBaseURL(This,pszBaseUrl) \
  1062. (This)->lpVtbl -> SetSecureBaseURL(This,pszBaseUrl)
  1063. #define IXMLParser2_GetSecureBaseURL(This,ppwcBuf) \
  1064. (This)->lpVtbl -> GetSecureBaseURL(This,ppwcBuf)
  1065. #define IXMLParser2_SetMaxXmlSize(This,MaxSizeCch) \
  1066. (This)->lpVtbl -> SetMaxXmlSize(This,MaxSizeCch)
  1067. #define IXMLParser2_GetMaxXmlSize(This,MaxSizeCch) \
  1068. (This)->lpVtbl -> GetMaxXmlSize(This,MaxSizeCch)
  1069. #endif /* COBJMACROS */
  1070. #endif /* C style interface */
  1071. HRESULT STDMETHODCALLTYPE IXMLParser2_SetMaxXmlSize_Proxy(
  1072. IXMLParser2 * This,
  1073. /* [in] */ ULONG MaxSizeCch);
  1074. void __RPC_STUB IXMLParser2_SetMaxXmlSize_Stub(
  1075. IRpcStubBuffer *This,
  1076. IRpcChannelBuffer *_pRpcChannelBuffer,
  1077. PRPC_MESSAGE _pRpcMessage,
  1078. DWORD *_pdwStubPhase);
  1079. HRESULT STDMETHODCALLTYPE IXMLParser2_GetMaxXmlSize_Proxy(
  1080. IXMLParser2 * This,
  1081. /* [out] */ ULONG *MaxSizeCch);
  1082. void __RPC_STUB IXMLParser2_GetMaxXmlSize_Stub(
  1083. IRpcStubBuffer *This,
  1084. IRpcChannelBuffer *_pRpcChannelBuffer,
  1085. PRPC_MESSAGE _pRpcMessage,
  1086. DWORD *_pdwStubPhase);
  1087. #endif /* __IXMLParser2_INTERFACE_DEFINED__ */
  1088. #ifndef __IXMLNodeFactory_INTERFACE_DEFINED__
  1089. #define __IXMLNodeFactory_INTERFACE_DEFINED__
  1090. /* interface IXMLNodeFactory */
  1091. /* [unique][helpstring][uuid][local][object] */
  1092. EXTERN_C const IID IID_IXMLNodeFactory;
  1093. #if defined(__cplusplus) && !defined(CINTERFACE)
  1094. MIDL_INTERFACE("d242361f-51a0-11d2-9caf-0060b0ec3d39")
  1095. IXMLNodeFactory : public IUnknown
  1096. {
  1097. public:
  1098. virtual HRESULT STDMETHODCALLTYPE NotifyEvent(
  1099. /* [in] */ IXMLNodeSource *pSource,
  1100. /* [in] */ XML_NODEFACTORY_EVENT iEvt) = 0;
  1101. virtual HRESULT STDMETHODCALLTYPE BeginChildren(
  1102. /* [in] */ IXMLNodeSource *pSource,
  1103. /* [in] */ XML_NODE_INFO *pNodeInfo) = 0;
  1104. virtual HRESULT STDMETHODCALLTYPE EndChildren(
  1105. /* [in] */ IXMLNodeSource *pSource,
  1106. /* [in] */ BOOL fEmpty,
  1107. /* [in] */ XML_NODE_INFO *pNodeInfo) = 0;
  1108. virtual HRESULT STDMETHODCALLTYPE Error(
  1109. /* [in] */ IXMLNodeSource *pSource,
  1110. /* [in] */ HRESULT hrErrorCode,
  1111. /* [in] */ USHORT cNumRecs,
  1112. /* [in] */ XML_NODE_INFO **apNodeInfo) = 0;
  1113. virtual HRESULT STDMETHODCALLTYPE CreateNode(
  1114. /* [in] */ IXMLNodeSource *pSource,
  1115. /* [in] */ PVOID pNodeParent,
  1116. /* [in] */ USHORT cNumRecs,
  1117. /* [in] */ XML_NODE_INFO **apNodeInfo) = 0;
  1118. };
  1119. #else /* C style interface */
  1120. typedef struct IXMLNodeFactoryVtbl
  1121. {
  1122. BEGIN_INTERFACE
  1123. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1124. IXMLNodeFactory * This,
  1125. /* [in] */ REFIID riid,
  1126. /* [iid_is][out] */ void **ppvObject);
  1127. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1128. IXMLNodeFactory * This);
  1129. ULONG ( STDMETHODCALLTYPE *Release )(
  1130. IXMLNodeFactory * This);
  1131. HRESULT ( STDMETHODCALLTYPE *NotifyEvent )(
  1132. IXMLNodeFactory * This,
  1133. /* [in] */ IXMLNodeSource *pSource,
  1134. /* [in] */ XML_NODEFACTORY_EVENT iEvt);
  1135. HRESULT ( STDMETHODCALLTYPE *BeginChildren )(
  1136. IXMLNodeFactory * This,
  1137. /* [in] */ IXMLNodeSource *pSource,
  1138. /* [in] */ XML_NODE_INFO *pNodeInfo);
  1139. HRESULT ( STDMETHODCALLTYPE *EndChildren )(
  1140. IXMLNodeFactory * This,
  1141. /* [in] */ IXMLNodeSource *pSource,
  1142. /* [in] */ BOOL fEmpty,
  1143. /* [in] */ XML_NODE_INFO *pNodeInfo);
  1144. HRESULT ( STDMETHODCALLTYPE *Error )(
  1145. IXMLNodeFactory * This,
  1146. /* [in] */ IXMLNodeSource *pSource,
  1147. /* [in] */ HRESULT hrErrorCode,
  1148. /* [in] */ USHORT cNumRecs,
  1149. /* [in] */ XML_NODE_INFO **apNodeInfo);
  1150. HRESULT ( STDMETHODCALLTYPE *CreateNode )(
  1151. IXMLNodeFactory * This,
  1152. /* [in] */ IXMLNodeSource *pSource,
  1153. /* [in] */ PVOID pNodeParent,
  1154. /* [in] */ USHORT cNumRecs,
  1155. /* [in] */ XML_NODE_INFO **apNodeInfo);
  1156. END_INTERFACE
  1157. } IXMLNodeFactoryVtbl;
  1158. interface IXMLNodeFactory
  1159. {
  1160. CONST_VTBL struct IXMLNodeFactoryVtbl *lpVtbl;
  1161. };
  1162. #ifdef COBJMACROS
  1163. #define IXMLNodeFactory_QueryInterface(This,riid,ppvObject) \
  1164. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1165. #define IXMLNodeFactory_AddRef(This) \
  1166. (This)->lpVtbl -> AddRef(This)
  1167. #define IXMLNodeFactory_Release(This) \
  1168. (This)->lpVtbl -> Release(This)
  1169. #define IXMLNodeFactory_NotifyEvent(This,pSource,iEvt) \
  1170. (This)->lpVtbl -> NotifyEvent(This,pSource,iEvt)
  1171. #define IXMLNodeFactory_BeginChildren(This,pSource,pNodeInfo) \
  1172. (This)->lpVtbl -> BeginChildren(This,pSource,pNodeInfo)
  1173. #define IXMLNodeFactory_EndChildren(This,pSource,fEmpty,pNodeInfo) \
  1174. (This)->lpVtbl -> EndChildren(This,pSource,fEmpty,pNodeInfo)
  1175. #define IXMLNodeFactory_Error(This,pSource,hrErrorCode,cNumRecs,apNodeInfo) \
  1176. (This)->lpVtbl -> Error(This,pSource,hrErrorCode,cNumRecs,apNodeInfo)
  1177. #define IXMLNodeFactory_CreateNode(This,pSource,pNodeParent,cNumRecs,apNodeInfo) \
  1178. (This)->lpVtbl -> CreateNode(This,pSource,pNodeParent,cNumRecs,apNodeInfo)
  1179. #endif /* COBJMACROS */
  1180. #endif /* C style interface */
  1181. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_NotifyEvent_Proxy(
  1182. IXMLNodeFactory * This,
  1183. /* [in] */ IXMLNodeSource *pSource,
  1184. /* [in] */ XML_NODEFACTORY_EVENT iEvt);
  1185. void __RPC_STUB IXMLNodeFactory_NotifyEvent_Stub(
  1186. IRpcStubBuffer *This,
  1187. IRpcChannelBuffer *_pRpcChannelBuffer,
  1188. PRPC_MESSAGE _pRpcMessage,
  1189. DWORD *_pdwStubPhase);
  1190. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_BeginChildren_Proxy(
  1191. IXMLNodeFactory * This,
  1192. /* [in] */ IXMLNodeSource *pSource,
  1193. /* [in] */ XML_NODE_INFO *pNodeInfo);
  1194. void __RPC_STUB IXMLNodeFactory_BeginChildren_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_EndChildren_Proxy(
  1200. IXMLNodeFactory * This,
  1201. /* [in] */ IXMLNodeSource *pSource,
  1202. /* [in] */ BOOL fEmpty,
  1203. /* [in] */ XML_NODE_INFO *pNodeInfo);
  1204. void __RPC_STUB IXMLNodeFactory_EndChildren_Stub(
  1205. IRpcStubBuffer *This,
  1206. IRpcChannelBuffer *_pRpcChannelBuffer,
  1207. PRPC_MESSAGE _pRpcMessage,
  1208. DWORD *_pdwStubPhase);
  1209. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_Error_Proxy(
  1210. IXMLNodeFactory * This,
  1211. /* [in] */ IXMLNodeSource *pSource,
  1212. /* [in] */ HRESULT hrErrorCode,
  1213. /* [in] */ USHORT cNumRecs,
  1214. /* [in] */ XML_NODE_INFO **apNodeInfo);
  1215. void __RPC_STUB IXMLNodeFactory_Error_Stub(
  1216. IRpcStubBuffer *This,
  1217. IRpcChannelBuffer *_pRpcChannelBuffer,
  1218. PRPC_MESSAGE _pRpcMessage,
  1219. DWORD *_pdwStubPhase);
  1220. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_CreateNode_Proxy(
  1221. IXMLNodeFactory * This,
  1222. /* [in] */ IXMLNodeSource *pSource,
  1223. /* [in] */ PVOID pNodeParent,
  1224. /* [in] */ USHORT cNumRecs,
  1225. /* [in] */ XML_NODE_INFO **apNodeInfo);
  1226. void __RPC_STUB IXMLNodeFactory_CreateNode_Stub(
  1227. IRpcStubBuffer *This,
  1228. IRpcChannelBuffer *_pRpcChannelBuffer,
  1229. PRPC_MESSAGE _pRpcMessage,
  1230. DWORD *_pdwStubPhase);
  1231. #endif /* __IXMLNodeFactory_INTERFACE_DEFINED__ */
  1232. EXTERN_C const CLSID CLSID_XMLParser;
  1233. #ifdef __cplusplus
  1234. class DECLSPEC_UUID("f5078f19-c551-11d3-89b9-0000f81fe221")
  1235. XMLParser;
  1236. #endif
  1237. EXTERN_C const CLSID CLSID_XMLParser26;
  1238. #ifdef __cplusplus
  1239. class DECLSPEC_UUID("f5078f20-c551-11d3-89b9-0000f81fe221")
  1240. XMLParser26;
  1241. #endif
  1242. EXTERN_C const CLSID CLSID_XMLParser30;
  1243. #ifdef __cplusplus
  1244. class DECLSPEC_UUID("f5078f31-c551-11d3-89b9-0000f81fe221")
  1245. XMLParser30;
  1246. #endif
  1247. #endif /* __XMLPSR_LIBRARY_DEFINED__ */
  1248. /* Additional Prototypes for ALL interfaces */
  1249. /* end of Additional Prototypes */
  1250. #ifdef __cplusplus
  1251. }
  1252. #endif
  1253. #endif