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.

1389 lines
42 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for xmlparser.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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 __IXMLNodeFactory_FWD_DEFINED__
  34. #define __IXMLNodeFactory_FWD_DEFINED__
  35. typedef interface IXMLNodeFactory IXMLNodeFactory;
  36. #endif /* __IXMLNodeFactory_FWD_DEFINED__ */
  37. #ifndef __XMLParser_FWD_DEFINED__
  38. #define __XMLParser_FWD_DEFINED__
  39. #ifdef __cplusplus
  40. typedef class XMLParser XMLParser;
  41. #else
  42. typedef struct XMLParser XMLParser;
  43. #endif /* __cplusplus */
  44. #endif /* __XMLParser_FWD_DEFINED__ */
  45. /* header files for imported files */
  46. #include "unknwn.h"
  47. #include "objidl.h"
  48. #include "oaidl.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. void * __RPC_USER MIDL_user_allocate(size_t);
  53. void __RPC_USER MIDL_user_free( void * );
  54. /* interface __MIDL_itf_xmlparser_0000 */
  55. /* [local] */
  56. //+-------------------------------------------------------------------------
  57. //
  58. // Microsoft Windows
  59. // Copyright (C) Microsoft Corporation, 1998.
  60. //
  61. //--------------------------------------------------------------------------
  62. typedef /* [public] */
  63. enum __MIDL___MIDL_itf_xmlparser_0000_0001
  64. { XML_ELEMENT = 1,
  65. XML_ATTRIBUTE = XML_ELEMENT + 1,
  66. XML_PI = XML_ATTRIBUTE + 1,
  67. XML_XMLDECL = XML_PI + 1,
  68. XML_DOCTYPE = XML_XMLDECL + 1,
  69. XML_DTDATTRIBUTE = XML_DOCTYPE + 1,
  70. XML_ENTITYDECL = XML_DTDATTRIBUTE + 1,
  71. XML_ELEMENTDECL = XML_ENTITYDECL + 1,
  72. XML_ATTLISTDECL = XML_ELEMENTDECL + 1,
  73. XML_NOTATION = XML_ATTLISTDECL + 1,
  74. XML_GROUP = XML_NOTATION + 1,
  75. XML_INCLUDESECT = XML_GROUP + 1,
  76. XML_PCDATA = XML_INCLUDESECT + 1,
  77. XML_CDATA = XML_PCDATA + 1,
  78. XML_IGNORESECT = XML_CDATA + 1,
  79. XML_COMMENT = XML_IGNORESECT + 1,
  80. XML_ENTITYREF = XML_COMMENT + 1,
  81. XML_WHITESPACE = XML_ENTITYREF + 1,
  82. XML_NAME = XML_WHITESPACE + 1,
  83. XML_NMTOKEN = XML_NAME + 1,
  84. XML_STRING = XML_NMTOKEN + 1,
  85. XML_PEREF = XML_STRING + 1,
  86. XML_MODEL = XML_PEREF + 1,
  87. XML_ATTDEF = XML_MODEL + 1,
  88. XML_ATTTYPE = XML_ATTDEF + 1,
  89. XML_ATTPRESENCE = XML_ATTTYPE + 1,
  90. XML_DTDSUBSET = XML_ATTPRESENCE + 1,
  91. XML_LASTNODETYPE = XML_DTDSUBSET + 1
  92. } XML_NODE_TYPE;
  93. typedef /* [public] */
  94. enum __MIDL___MIDL_itf_xmlparser_0000_0002
  95. { XML_VERSION = XML_LASTNODETYPE,
  96. XML_ENCODING = XML_VERSION + 1,
  97. XML_STANDALONE = XML_ENCODING + 1,
  98. XML_NS = XML_STANDALONE + 1,
  99. XML_XMLSPACE = XML_NS + 1,
  100. XML_XMLLANG = XML_XMLSPACE + 1,
  101. XML_SYSTEM = XML_XMLLANG + 1,
  102. XML_PUBLIC = XML_SYSTEM + 1,
  103. XML_NDATA = XML_PUBLIC + 1,
  104. XML_AT_CDATA = XML_NDATA + 1,
  105. XML_AT_ID = XML_AT_CDATA + 1,
  106. XML_AT_IDREF = XML_AT_ID + 1,
  107. XML_AT_IDREFS = XML_AT_IDREF + 1,
  108. XML_AT_ENTITY = XML_AT_IDREFS + 1,
  109. XML_AT_ENTITIES = XML_AT_ENTITY + 1,
  110. XML_AT_NMTOKEN = XML_AT_ENTITIES + 1,
  111. XML_AT_NMTOKENS = XML_AT_NMTOKEN + 1,
  112. XML_AT_NOTATION = XML_AT_NMTOKENS + 1,
  113. XML_AT_REQUIRED = XML_AT_NOTATION + 1,
  114. XML_AT_IMPLIED = XML_AT_REQUIRED + 1,
  115. XML_AT_FIXED = XML_AT_IMPLIED + 1,
  116. XML_PENTITYDECL = XML_AT_FIXED + 1,
  117. XML_EMPTY = XML_PENTITYDECL + 1,
  118. XML_ANY = XML_EMPTY + 1,
  119. XML_MIXED = XML_ANY + 1,
  120. XML_SEQUENCE = XML_MIXED + 1,
  121. XML_CHOICE = XML_SEQUENCE + 1,
  122. XML_STAR = XML_CHOICE + 1,
  123. XML_PLUS = XML_STAR + 1,
  124. XML_QUESTIONMARK = XML_PLUS + 1,
  125. XML_LASTSUBNODETYPE = XML_QUESTIONMARK + 1
  126. } XML_NODE_SUBTYPE;
  127. typedef /* [public] */
  128. enum __MIDL___MIDL_itf_xmlparser_0000_0003
  129. { XML_E_PARSEERRORBASE = 0xc00ce500L,
  130. XML_E_ENDOFINPUT = XML_E_PARSEERRORBASE,
  131. XML_E_MISSINGEQUALS = XML_E_ENDOFINPUT + 1,
  132. XML_E_MISSINGQUOTE = XML_E_MISSINGEQUALS + 1,
  133. XML_E_COMMENTSYNTAX = XML_E_MISSINGQUOTE + 1,
  134. XML_E_BADSTARTNAMECHAR = XML_E_COMMENTSYNTAX + 1,
  135. XML_E_BADNAMECHAR = XML_E_BADSTARTNAMECHAR + 1,
  136. XML_E_BADCHARINSTRING = XML_E_BADNAMECHAR + 1,
  137. XML_E_XMLDECLSYNTAX = XML_E_BADCHARINSTRING + 1,
  138. XML_E_BADCHARDATA = XML_E_XMLDECLSYNTAX + 1,
  139. XML_E_MISSINGWHITESPACE = XML_E_BADCHARDATA + 1,
  140. XML_E_EXPECTINGTAGEND = XML_E_MISSINGWHITESPACE + 1,
  141. XML_E_BADCHARINDTD = XML_E_EXPECTINGTAGEND + 1,
  142. XML_E_BADCHARINDECL = XML_E_BADCHARINDTD + 1,
  143. XML_E_MISSINGSEMICOLON = XML_E_BADCHARINDECL + 1,
  144. XML_E_BADCHARINENTREF = XML_E_MISSINGSEMICOLON + 1,
  145. XML_E_UNBALANCEDPAREN = XML_E_BADCHARINENTREF + 1,
  146. XML_E_EXPECTINGOPENBRACKET = XML_E_UNBALANCEDPAREN + 1,
  147. XML_E_BADENDCONDSECT = XML_E_EXPECTINGOPENBRACKET + 1,
  148. XML_E_INTERNALERROR = XML_E_BADENDCONDSECT + 1,
  149. XML_E_UNEXPECTED_WHITESPACE = XML_E_INTERNALERROR + 1,
  150. XML_E_INCOMPLETE_ENCODING = XML_E_UNEXPECTED_WHITESPACE + 1,
  151. XML_E_BADCHARINMIXEDMODEL = XML_E_INCOMPLETE_ENCODING + 1,
  152. XML_E_MISSING_STAR = XML_E_BADCHARINMIXEDMODEL + 1,
  153. XML_E_BADCHARINMODEL = XML_E_MISSING_STAR + 1,
  154. XML_E_MISSING_PAREN = XML_E_BADCHARINMODEL + 1,
  155. XML_E_BADCHARINENUMERATION = XML_E_MISSING_PAREN + 1,
  156. XML_E_PIDECLSYNTAX = XML_E_BADCHARINENUMERATION + 1,
  157. XML_E_EXPECTINGCLOSEQUOTE = XML_E_PIDECLSYNTAX + 1,
  158. XML_E_MULTIPLE_COLONS = XML_E_EXPECTINGCLOSEQUOTE + 1,
  159. XML_E_INVALID_DECIMAL = XML_E_MULTIPLE_COLONS + 1,
  160. XML_E_INVALID_HEXIDECIMAL = XML_E_INVALID_DECIMAL + 1,
  161. XML_E_INVALID_UNICODE = XML_E_INVALID_HEXIDECIMAL + 1,
  162. XML_E_WHITESPACEORQUESTIONMARK = XML_E_INVALID_UNICODE + 1,
  163. XML_E_TOKEN_ERROR = XML_E_PARSEERRORBASE + 0x50,
  164. XML_E_SUSPENDED = XML_E_TOKEN_ERROR,
  165. XML_E_STOPPED = XML_E_SUSPENDED + 1,
  166. XML_E_UNEXPECTEDENDTAG = XML_E_STOPPED + 1,
  167. XML_E_UNCLOSEDTAG = XML_E_UNEXPECTEDENDTAG + 1,
  168. XML_E_DUPLICATEATTRIBUTE = XML_E_UNCLOSEDTAG + 1,
  169. XML_E_MULTIPLEROOTS = XML_E_DUPLICATEATTRIBUTE + 1,
  170. XML_E_INVALIDATROOTLEVEL = XML_E_MULTIPLEROOTS + 1,
  171. XML_E_BADXMLDECL = XML_E_INVALIDATROOTLEVEL + 1,
  172. XML_E_MISSINGROOT = XML_E_BADXMLDECL + 1,
  173. XML_E_UNEXPECTEDEOF = XML_E_MISSINGROOT + 1,
  174. XML_E_BADPEREFINSUBSET = XML_E_UNEXPECTEDEOF + 1,
  175. XML_E_PE_NESTING = XML_E_BADPEREFINSUBSET + 1,
  176. XML_E_INVALID_CDATACLOSINGTAG = XML_E_PE_NESTING + 1,
  177. XML_E_UNCLOSEDPI = XML_E_INVALID_CDATACLOSINGTAG + 1,
  178. XML_E_UNCLOSEDSTARTTAG = XML_E_UNCLOSEDPI + 1,
  179. XML_E_UNCLOSEDENDTAG = XML_E_UNCLOSEDSTARTTAG + 1,
  180. XML_E_UNCLOSEDSTRING = XML_E_UNCLOSEDENDTAG + 1,
  181. XML_E_UNCLOSEDCOMMENT = XML_E_UNCLOSEDSTRING + 1,
  182. XML_E_UNCLOSEDDECL = XML_E_UNCLOSEDCOMMENT + 1,
  183. XML_E_UNCLOSEDMARKUPDECL = XML_E_UNCLOSEDDECL + 1,
  184. XML_E_UNCLOSEDCDATA = XML_E_UNCLOSEDMARKUPDECL + 1,
  185. XML_E_BADDECLNAME = XML_E_UNCLOSEDCDATA + 1,
  186. XML_E_BADEXTERNALID = XML_E_BADDECLNAME + 1,
  187. XML_E_BADELEMENTINDTD = XML_E_BADEXTERNALID + 1,
  188. XML_E_RESERVEDNAMESPACE = XML_E_BADELEMENTINDTD + 1,
  189. XML_E_EXPECTING_VERSION = XML_E_RESERVEDNAMESPACE + 1,
  190. XML_E_EXPECTING_ENCODING = XML_E_EXPECTING_VERSION + 1,
  191. XML_E_EXPECTING_NAME = XML_E_EXPECTING_ENCODING + 1,
  192. XML_E_UNEXPECTED_ATTRIBUTE = XML_E_EXPECTING_NAME + 1,
  193. XML_E_ENDTAGMISMATCH = XML_E_UNEXPECTED_ATTRIBUTE + 1,
  194. XML_E_INVALIDENCODING = XML_E_ENDTAGMISMATCH + 1,
  195. XML_E_INVALIDSWITCH = XML_E_INVALIDENCODING + 1,
  196. XML_E_EXPECTING_NDATA = XML_E_INVALIDSWITCH + 1,
  197. XML_E_INVALID_MODEL = XML_E_EXPECTING_NDATA + 1,
  198. XML_E_INVALID_TYPE = XML_E_INVALID_MODEL + 1,
  199. XML_E_INVALIDXMLSPACE = XML_E_INVALID_TYPE + 1,
  200. XML_E_MULTI_ATTR_VALUE = XML_E_INVALIDXMLSPACE + 1,
  201. XML_E_INVALID_PRESENCE = XML_E_MULTI_ATTR_VALUE + 1,
  202. XML_E_BADXMLCASE = XML_E_INVALID_PRESENCE + 1,
  203. XML_E_CONDSECTINSUBSET = XML_E_BADXMLCASE + 1,
  204. XML_E_CDATAINVALID = XML_E_CONDSECTINSUBSET + 1,
  205. XML_E_INVALID_STANDALONE = XML_E_CDATAINVALID + 1,
  206. XML_E_UNEXPECTED_STANDALONE = XML_E_INVALID_STANDALONE + 1,
  207. XML_E_DOCTYPE_IN_DTD = XML_E_UNEXPECTED_STANDALONE + 1,
  208. XML_E_MISSING_ENTITY = XML_E_DOCTYPE_IN_DTD + 1,
  209. XML_E_ENTITYREF_INNAME = XML_E_MISSING_ENTITY + 1,
  210. XML_E_DOCTYPE_OUTSIDE_PROLOG = XML_E_ENTITYREF_INNAME + 1,
  211. XML_E_INVALID_VERSION = XML_E_DOCTYPE_OUTSIDE_PROLOG + 1,
  212. XML_E_DTDELEMENT_OUTSIDE_DTD = XML_E_INVALID_VERSION + 1,
  213. XML_E_DUPLICATEDOCTYPE = XML_E_DTDELEMENT_OUTSIDE_DTD + 1,
  214. XML_E_RESOURCE = XML_E_DUPLICATEDOCTYPE + 1,
  215. XML_E_LASTERROR = XML_E_RESOURCE + 1
  216. } XML_ERROR_CODE;
  217. typedef /* [public] */
  218. enum __MIDL___MIDL_itf_xmlparser_0000_0004
  219. { XMLPARSER_IDLE = 0,
  220. XMLPARSER_WAITING = XMLPARSER_IDLE + 1,
  221. XMLPARSER_BUSY = XMLPARSER_WAITING + 1,
  222. XMLPARSER_ERROR = XMLPARSER_BUSY + 1,
  223. XMLPARSER_STOPPED = XMLPARSER_ERROR + 1,
  224. XMLPARSER_SUSPENDED = XMLPARSER_STOPPED + 1
  225. } XML_PARSER_STATE;
  226. typedef /* [public] */
  227. enum __MIDL___MIDL_itf_xmlparser_0000_0005
  228. { XMLFLAG_FLOATINGAMP = 1,
  229. XMLFLAG_SHORTENDTAGS = 2,
  230. XMLFLAG_CASEINSENSITIVE = 4,
  231. XMLFLAG_NONAMESPACES = 8,
  232. XMLFLAG_NOWHITESPACE = 16,
  233. XMLFLAG_IE4QUIRKS = 32,
  234. XMLFLAG_NODTDNODES = 64,
  235. XMLFLAG_IE4COMPATIBILITY = 255
  236. } XML_PARSER_FLAGS;
  237. typedef /* [public][public] */
  238. enum __MIDL___MIDL_itf_xmlparser_0000_0006
  239. { XMLNF_STARTDOCUMENT = 0,
  240. XMLNF_STARTDTD = XMLNF_STARTDOCUMENT + 1,
  241. XMLNF_ENDDTD = XMLNF_STARTDTD + 1,
  242. XMLNF_STARTDTDSUBSET = XMLNF_ENDDTD + 1,
  243. XMLNF_ENDDTDSUBSET = XMLNF_STARTDTDSUBSET + 1,
  244. XMLNF_ENDPROLOG = XMLNF_ENDDTDSUBSET + 1,
  245. XMLNF_STARTENTITY = XMLNF_ENDPROLOG + 1,
  246. XMLNF_ENDENTITY = XMLNF_STARTENTITY + 1,
  247. XMLNF_ENDDOCUMENT = XMLNF_ENDENTITY + 1,
  248. XMLNF_DATAAVAILABLE = XMLNF_ENDDOCUMENT + 1,
  249. XMLNF_LASTEVENT = XMLNF_DATAAVAILABLE
  250. } XML_NODEFACTORY_EVENT;
  251. typedef struct _XML_NODE_INFO
  252. {
  253. DWORD dwSize;
  254. DWORD dwType;
  255. DWORD dwSubType;
  256. BOOL fTerminal;
  257. const WCHAR *pwcText;
  258. ULONG ulLen;
  259. ULONG ulNsPrefixLen;
  260. PVOID pNode;
  261. PVOID pReserved;
  262. } XML_NODE_INFO;
  263. extern RPC_IF_HANDLE __MIDL_itf_xmlparser_0000_v0_0_c_ifspec;
  264. extern RPC_IF_HANDLE __MIDL_itf_xmlparser_0000_v0_0_s_ifspec;
  265. #ifndef __XMLPSR_LIBRARY_DEFINED__
  266. #define __XMLPSR_LIBRARY_DEFINED__
  267. /* library XMLPSR */
  268. /* [version][lcid][helpstring][uuid] */
  269. EXTERN_C const IID LIBID_XMLPSR;
  270. #ifndef __IXMLNodeSource_INTERFACE_DEFINED__
  271. #define __IXMLNodeSource_INTERFACE_DEFINED__
  272. /* interface IXMLNodeSource */
  273. /* [unique][helpstring][uuid][local][object] */
  274. EXTERN_C const IID IID_IXMLNodeSource;
  275. #if defined(__cplusplus) && !defined(CINTERFACE)
  276. MIDL_INTERFACE("d242361d-51a0-11d2-9caf-0060b0ec3d39")
  277. IXMLNodeSource : public IUnknown
  278. {
  279. public:
  280. virtual HRESULT STDMETHODCALLTYPE SetFactory(
  281. /* [in] */ IXMLNodeFactory *pNodeFactory) = 0;
  282. virtual HRESULT STDMETHODCALLTYPE GetFactory(
  283. /* [out] */ IXMLNodeFactory **ppNodeFactory) = 0;
  284. virtual HRESULT STDMETHODCALLTYPE Abort(
  285. /* [in] */ BSTR bstrErrorInfo) = 0;
  286. virtual ULONG STDMETHODCALLTYPE GetLineNumber( void) = 0;
  287. virtual ULONG STDMETHODCALLTYPE GetLinePosition( void) = 0;
  288. virtual ULONG STDMETHODCALLTYPE GetAbsolutePosition( void) = 0;
  289. virtual HRESULT STDMETHODCALLTYPE GetLineBuffer(
  290. /* [out] */ const WCHAR **ppwcBuf,
  291. /* [out] */ ULONG *pulLen,
  292. /* [out] */ ULONG *pulStartPos) = 0;
  293. virtual HRESULT STDMETHODCALLTYPE GetLastError( void) = 0;
  294. virtual HRESULT STDMETHODCALLTYPE GetErrorInfo(
  295. /* [out] */ BSTR *pbstrErrorInfo) = 0;
  296. virtual ULONG STDMETHODCALLTYPE GetFlags( void) = 0;
  297. virtual HRESULT STDMETHODCALLTYPE GetURL(
  298. /* [out] */ const WCHAR **ppwcBuf) = 0;
  299. };
  300. #else /* C style interface */
  301. typedef struct IXMLNodeSourceVtbl
  302. {
  303. BEGIN_INTERFACE
  304. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  305. IXMLNodeSource * This,
  306. /* [in] */ REFIID riid,
  307. /* [iid_is][out] */ void **ppvObject);
  308. ULONG ( STDMETHODCALLTYPE *AddRef )(
  309. IXMLNodeSource * This);
  310. ULONG ( STDMETHODCALLTYPE *Release )(
  311. IXMLNodeSource * This);
  312. HRESULT ( STDMETHODCALLTYPE *SetFactory )(
  313. IXMLNodeSource * This,
  314. /* [in] */ IXMLNodeFactory *pNodeFactory);
  315. HRESULT ( STDMETHODCALLTYPE *GetFactory )(
  316. IXMLNodeSource * This,
  317. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  318. HRESULT ( STDMETHODCALLTYPE *Abort )(
  319. IXMLNodeSource * This,
  320. /* [in] */ BSTR bstrErrorInfo);
  321. ULONG ( STDMETHODCALLTYPE *GetLineNumber )(
  322. IXMLNodeSource * This);
  323. ULONG ( STDMETHODCALLTYPE *GetLinePosition )(
  324. IXMLNodeSource * This);
  325. ULONG ( STDMETHODCALLTYPE *GetAbsolutePosition )(
  326. IXMLNodeSource * This);
  327. HRESULT ( STDMETHODCALLTYPE *GetLineBuffer )(
  328. IXMLNodeSource * This,
  329. /* [out] */ const WCHAR **ppwcBuf,
  330. /* [out] */ ULONG *pulLen,
  331. /* [out] */ ULONG *pulStartPos);
  332. HRESULT ( STDMETHODCALLTYPE *GetLastError )(
  333. IXMLNodeSource * This);
  334. HRESULT ( STDMETHODCALLTYPE *GetErrorInfo )(
  335. IXMLNodeSource * This,
  336. /* [out] */ BSTR *pbstrErrorInfo);
  337. ULONG ( STDMETHODCALLTYPE *GetFlags )(
  338. IXMLNodeSource * This);
  339. HRESULT ( STDMETHODCALLTYPE *GetURL )(
  340. IXMLNodeSource * This,
  341. /* [out] */ const WCHAR **ppwcBuf);
  342. END_INTERFACE
  343. } IXMLNodeSourceVtbl;
  344. interface IXMLNodeSource
  345. {
  346. CONST_VTBL struct IXMLNodeSourceVtbl *lpVtbl;
  347. };
  348. #ifdef COBJMACROS
  349. #define IXMLNodeSource_QueryInterface(This,riid,ppvObject) \
  350. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  351. #define IXMLNodeSource_AddRef(This) \
  352. (This)->lpVtbl -> AddRef(This)
  353. #define IXMLNodeSource_Release(This) \
  354. (This)->lpVtbl -> Release(This)
  355. #define IXMLNodeSource_SetFactory(This,pNodeFactory) \
  356. (This)->lpVtbl -> SetFactory(This,pNodeFactory)
  357. #define IXMLNodeSource_GetFactory(This,ppNodeFactory) \
  358. (This)->lpVtbl -> GetFactory(This,ppNodeFactory)
  359. #define IXMLNodeSource_Abort(This,bstrErrorInfo) \
  360. (This)->lpVtbl -> Abort(This,bstrErrorInfo)
  361. #define IXMLNodeSource_GetLineNumber(This) \
  362. (This)->lpVtbl -> GetLineNumber(This)
  363. #define IXMLNodeSource_GetLinePosition(This) \
  364. (This)->lpVtbl -> GetLinePosition(This)
  365. #define IXMLNodeSource_GetAbsolutePosition(This) \
  366. (This)->lpVtbl -> GetAbsolutePosition(This)
  367. #define IXMLNodeSource_GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos) \
  368. (This)->lpVtbl -> GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos)
  369. #define IXMLNodeSource_GetLastError(This) \
  370. (This)->lpVtbl -> GetLastError(This)
  371. #define IXMLNodeSource_GetErrorInfo(This,pbstrErrorInfo) \
  372. (This)->lpVtbl -> GetErrorInfo(This,pbstrErrorInfo)
  373. #define IXMLNodeSource_GetFlags(This) \
  374. (This)->lpVtbl -> GetFlags(This)
  375. #define IXMLNodeSource_GetURL(This,ppwcBuf) \
  376. (This)->lpVtbl -> GetURL(This,ppwcBuf)
  377. #endif /* COBJMACROS */
  378. #endif /* C style interface */
  379. HRESULT STDMETHODCALLTYPE IXMLNodeSource_SetFactory_Proxy(
  380. IXMLNodeSource * This,
  381. /* [in] */ IXMLNodeFactory *pNodeFactory);
  382. void __RPC_STUB IXMLNodeSource_SetFactory_Stub(
  383. IRpcStubBuffer *This,
  384. IRpcChannelBuffer *_pRpcChannelBuffer,
  385. PRPC_MESSAGE _pRpcMessage,
  386. DWORD *_pdwStubPhase);
  387. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetFactory_Proxy(
  388. IXMLNodeSource * This,
  389. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  390. void __RPC_STUB IXMLNodeSource_GetFactory_Stub(
  391. IRpcStubBuffer *This,
  392. IRpcChannelBuffer *_pRpcChannelBuffer,
  393. PRPC_MESSAGE _pRpcMessage,
  394. DWORD *_pdwStubPhase);
  395. HRESULT STDMETHODCALLTYPE IXMLNodeSource_Abort_Proxy(
  396. IXMLNodeSource * This,
  397. /* [in] */ BSTR bstrErrorInfo);
  398. void __RPC_STUB IXMLNodeSource_Abort_Stub(
  399. IRpcStubBuffer *This,
  400. IRpcChannelBuffer *_pRpcChannelBuffer,
  401. PRPC_MESSAGE _pRpcMessage,
  402. DWORD *_pdwStubPhase);
  403. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetLineNumber_Proxy(
  404. IXMLNodeSource * This);
  405. void __RPC_STUB IXMLNodeSource_GetLineNumber_Stub(
  406. IRpcStubBuffer *This,
  407. IRpcChannelBuffer *_pRpcChannelBuffer,
  408. PRPC_MESSAGE _pRpcMessage,
  409. DWORD *_pdwStubPhase);
  410. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetLinePosition_Proxy(
  411. IXMLNodeSource * This);
  412. void __RPC_STUB IXMLNodeSource_GetLinePosition_Stub(
  413. IRpcStubBuffer *This,
  414. IRpcChannelBuffer *_pRpcChannelBuffer,
  415. PRPC_MESSAGE _pRpcMessage,
  416. DWORD *_pdwStubPhase);
  417. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetAbsolutePosition_Proxy(
  418. IXMLNodeSource * This);
  419. void __RPC_STUB IXMLNodeSource_GetAbsolutePosition_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetLineBuffer_Proxy(
  425. IXMLNodeSource * This,
  426. /* [out] */ const WCHAR **ppwcBuf,
  427. /* [out] */ ULONG *pulLen,
  428. /* [out] */ ULONG *pulStartPos);
  429. void __RPC_STUB IXMLNodeSource_GetLineBuffer_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetLastError_Proxy(
  435. IXMLNodeSource * This);
  436. void __RPC_STUB IXMLNodeSource_GetLastError_Stub(
  437. IRpcStubBuffer *This,
  438. IRpcChannelBuffer *_pRpcChannelBuffer,
  439. PRPC_MESSAGE _pRpcMessage,
  440. DWORD *_pdwStubPhase);
  441. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetErrorInfo_Proxy(
  442. IXMLNodeSource * This,
  443. /* [out] */ BSTR *pbstrErrorInfo);
  444. void __RPC_STUB IXMLNodeSource_GetErrorInfo_Stub(
  445. IRpcStubBuffer *This,
  446. IRpcChannelBuffer *_pRpcChannelBuffer,
  447. PRPC_MESSAGE _pRpcMessage,
  448. DWORD *_pdwStubPhase);
  449. ULONG STDMETHODCALLTYPE IXMLNodeSource_GetFlags_Proxy(
  450. IXMLNodeSource * This);
  451. void __RPC_STUB IXMLNodeSource_GetFlags_Stub(
  452. IRpcStubBuffer *This,
  453. IRpcChannelBuffer *_pRpcChannelBuffer,
  454. PRPC_MESSAGE _pRpcMessage,
  455. DWORD *_pdwStubPhase);
  456. HRESULT STDMETHODCALLTYPE IXMLNodeSource_GetURL_Proxy(
  457. IXMLNodeSource * This,
  458. /* [out] */ const WCHAR **ppwcBuf);
  459. void __RPC_STUB IXMLNodeSource_GetURL_Stub(
  460. IRpcStubBuffer *This,
  461. IRpcChannelBuffer *_pRpcChannelBuffer,
  462. PRPC_MESSAGE _pRpcMessage,
  463. DWORD *_pdwStubPhase);
  464. #endif /* __IXMLNodeSource_INTERFACE_DEFINED__ */
  465. #ifndef __IXMLParser_INTERFACE_DEFINED__
  466. #define __IXMLParser_INTERFACE_DEFINED__
  467. /* interface IXMLParser */
  468. /* [unique][helpstring][uuid][local][object] */
  469. EXTERN_C const IID IID_IXMLParser;
  470. #if defined(__cplusplus) && !defined(CINTERFACE)
  471. MIDL_INTERFACE("d242361e-51a0-11d2-9caf-0060b0ec3d39")
  472. IXMLParser : public IXMLNodeSource
  473. {
  474. public:
  475. virtual HRESULT STDMETHODCALLTYPE SetURL(
  476. /* [in] */ const WCHAR *pszBaseUrl,
  477. /* [in] */ const WCHAR *pszRelativeUrl,
  478. /* [in] */ BOOL fAsync) = 0;
  479. virtual HRESULT STDMETHODCALLTYPE Load(
  480. /* [in] */ BOOL fFullyAvailable,
  481. /* [in] */ IMoniker *pimkName,
  482. /* [in] */ LPBC pibc,
  483. /* [in] */ DWORD grfMode) = 0;
  484. virtual HRESULT STDMETHODCALLTYPE SetInput(
  485. /* [in] */ IUnknown *pStm) = 0;
  486. virtual HRESULT STDMETHODCALLTYPE PushData(
  487. /* [in] */ const char *pData,
  488. /* [in] */ ULONG ulChars,
  489. /* [in] */ BOOL fLastBuffer) = 0;
  490. virtual HRESULT STDMETHODCALLTYPE LoadDTD(
  491. /* [in] */ const WCHAR *pszBaseUrl,
  492. /* [in] */ const WCHAR *pszRelativeUrl) = 0;
  493. virtual HRESULT STDMETHODCALLTYPE LoadEntity(
  494. /* [in] */ const WCHAR *pszBaseUrl,
  495. /* [in] */ const WCHAR *pszRelativeUrl,
  496. /* [in] */ BOOL fpe) = 0;
  497. virtual HRESULT STDMETHODCALLTYPE ParseEntity(
  498. /* [in] */ const WCHAR *pwcText,
  499. /* [in] */ ULONG ulLen,
  500. /* [in] */ BOOL fpe) = 0;
  501. virtual HRESULT STDMETHODCALLTYPE ExpandEntity(
  502. /* [in] */ const WCHAR *pwcText,
  503. /* [in] */ ULONG ulLen) = 0;
  504. virtual HRESULT STDMETHODCALLTYPE SetRoot(
  505. /* [in] */ PVOID pRoot) = 0;
  506. virtual HRESULT STDMETHODCALLTYPE GetRoot(
  507. /* [in] */ PVOID *ppRoot) = 0;
  508. virtual HRESULT STDMETHODCALLTYPE Run(
  509. /* [in] */ long lChars) = 0;
  510. virtual HRESULT STDMETHODCALLTYPE GetParserState( void) = 0;
  511. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  512. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  513. virtual HRESULT STDMETHODCALLTYPE SetFlags(
  514. /* [in] */ ULONG iFlags) = 0;
  515. virtual HRESULT STDMETHODCALLTYPE SetSecureBaseURL(
  516. /* [in] */ const WCHAR *pszBaseUrl) = 0;
  517. virtual HRESULT STDMETHODCALLTYPE GetSecureBaseURL(
  518. /* [out] */ const WCHAR **ppwcBuf) = 0;
  519. };
  520. #else /* C style interface */
  521. typedef struct IXMLParserVtbl
  522. {
  523. BEGIN_INTERFACE
  524. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  525. IXMLParser * This,
  526. /* [in] */ REFIID riid,
  527. /* [iid_is][out] */ void **ppvObject);
  528. ULONG ( STDMETHODCALLTYPE *AddRef )(
  529. IXMLParser * This);
  530. ULONG ( STDMETHODCALLTYPE *Release )(
  531. IXMLParser * This);
  532. HRESULT ( STDMETHODCALLTYPE *SetFactory )(
  533. IXMLParser * This,
  534. /* [in] */ IXMLNodeFactory *pNodeFactory);
  535. HRESULT ( STDMETHODCALLTYPE *GetFactory )(
  536. IXMLParser * This,
  537. /* [out] */ IXMLNodeFactory **ppNodeFactory);
  538. HRESULT ( STDMETHODCALLTYPE *Abort )(
  539. IXMLParser * This,
  540. /* [in] */ BSTR bstrErrorInfo);
  541. ULONG ( STDMETHODCALLTYPE *GetLineNumber )(
  542. IXMLParser * This);
  543. ULONG ( STDMETHODCALLTYPE *GetLinePosition )(
  544. IXMLParser * This);
  545. ULONG ( STDMETHODCALLTYPE *GetAbsolutePosition )(
  546. IXMLParser * This);
  547. HRESULT ( STDMETHODCALLTYPE *GetLineBuffer )(
  548. IXMLParser * This,
  549. /* [out] */ const WCHAR **ppwcBuf,
  550. /* [out] */ ULONG *pulLen,
  551. /* [out] */ ULONG *pulStartPos);
  552. HRESULT ( STDMETHODCALLTYPE *GetLastError )(
  553. IXMLParser * This);
  554. HRESULT ( STDMETHODCALLTYPE *GetErrorInfo )(
  555. IXMLParser * This,
  556. /* [out] */ BSTR *pbstrErrorInfo);
  557. ULONG ( STDMETHODCALLTYPE *GetFlags )(
  558. IXMLParser * This);
  559. HRESULT ( STDMETHODCALLTYPE *GetURL )(
  560. IXMLParser * This,
  561. /* [out] */ const WCHAR **ppwcBuf);
  562. HRESULT ( STDMETHODCALLTYPE *SetURL )(
  563. IXMLParser * This,
  564. /* [in] */ const WCHAR *pszBaseUrl,
  565. /* [in] */ const WCHAR *pszRelativeUrl,
  566. /* [in] */ BOOL fAsync);
  567. HRESULT ( STDMETHODCALLTYPE *Load )(
  568. IXMLParser * This,
  569. /* [in] */ BOOL fFullyAvailable,
  570. /* [in] */ IMoniker *pimkName,
  571. /* [in] */ LPBC pibc,
  572. /* [in] */ DWORD grfMode);
  573. HRESULT ( STDMETHODCALLTYPE *SetInput )(
  574. IXMLParser * This,
  575. /* [in] */ IUnknown *pStm);
  576. HRESULT ( STDMETHODCALLTYPE *PushData )(
  577. IXMLParser * This,
  578. /* [in] */ const char *pData,
  579. /* [in] */ ULONG ulChars,
  580. /* [in] */ BOOL fLastBuffer);
  581. HRESULT ( STDMETHODCALLTYPE *LoadDTD )(
  582. IXMLParser * This,
  583. /* [in] */ const WCHAR *pszBaseUrl,
  584. /* [in] */ const WCHAR *pszRelativeUrl);
  585. HRESULT ( STDMETHODCALLTYPE *LoadEntity )(
  586. IXMLParser * This,
  587. /* [in] */ const WCHAR *pszBaseUrl,
  588. /* [in] */ const WCHAR *pszRelativeUrl,
  589. /* [in] */ BOOL fpe);
  590. HRESULT ( STDMETHODCALLTYPE *ParseEntity )(
  591. IXMLParser * This,
  592. /* [in] */ const WCHAR *pwcText,
  593. /* [in] */ ULONG ulLen,
  594. /* [in] */ BOOL fpe);
  595. HRESULT ( STDMETHODCALLTYPE *ExpandEntity )(
  596. IXMLParser * This,
  597. /* [in] */ const WCHAR *pwcText,
  598. /* [in] */ ULONG ulLen);
  599. HRESULT ( STDMETHODCALLTYPE *SetRoot )(
  600. IXMLParser * This,
  601. /* [in] */ PVOID pRoot);
  602. HRESULT ( STDMETHODCALLTYPE *GetRoot )(
  603. IXMLParser * This,
  604. /* [in] */ PVOID *ppRoot);
  605. HRESULT ( STDMETHODCALLTYPE *Run )(
  606. IXMLParser * This,
  607. /* [in] */ long lChars);
  608. HRESULT ( STDMETHODCALLTYPE *GetParserState )(
  609. IXMLParser * This);
  610. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  611. IXMLParser * This);
  612. HRESULT ( STDMETHODCALLTYPE *Reset )(
  613. IXMLParser * This);
  614. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  615. IXMLParser * This,
  616. /* [in] */ ULONG iFlags);
  617. HRESULT ( STDMETHODCALLTYPE *SetSecureBaseURL )(
  618. IXMLParser * This,
  619. /* [in] */ const WCHAR *pszBaseUrl);
  620. HRESULT ( STDMETHODCALLTYPE *GetSecureBaseURL )(
  621. IXMLParser * This,
  622. /* [out] */ const WCHAR **ppwcBuf);
  623. END_INTERFACE
  624. } IXMLParserVtbl;
  625. interface IXMLParser
  626. {
  627. CONST_VTBL struct IXMLParserVtbl *lpVtbl;
  628. };
  629. #ifdef COBJMACROS
  630. #define IXMLParser_QueryInterface(This,riid,ppvObject) \
  631. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  632. #define IXMLParser_AddRef(This) \
  633. (This)->lpVtbl -> AddRef(This)
  634. #define IXMLParser_Release(This) \
  635. (This)->lpVtbl -> Release(This)
  636. #define IXMLParser_SetFactory(This,pNodeFactory) \
  637. (This)->lpVtbl -> SetFactory(This,pNodeFactory)
  638. #define IXMLParser_GetFactory(This,ppNodeFactory) \
  639. (This)->lpVtbl -> GetFactory(This,ppNodeFactory)
  640. #define IXMLParser_Abort(This,bstrErrorInfo) \
  641. (This)->lpVtbl -> Abort(This,bstrErrorInfo)
  642. #define IXMLParser_GetLineNumber(This) \
  643. (This)->lpVtbl -> GetLineNumber(This)
  644. #define IXMLParser_GetLinePosition(This) \
  645. (This)->lpVtbl -> GetLinePosition(This)
  646. #define IXMLParser_GetAbsolutePosition(This) \
  647. (This)->lpVtbl -> GetAbsolutePosition(This)
  648. #define IXMLParser_GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos) \
  649. (This)->lpVtbl -> GetLineBuffer(This,ppwcBuf,pulLen,pulStartPos)
  650. #define IXMLParser_GetLastError(This) \
  651. (This)->lpVtbl -> GetLastError(This)
  652. #define IXMLParser_GetErrorInfo(This,pbstrErrorInfo) \
  653. (This)->lpVtbl -> GetErrorInfo(This,pbstrErrorInfo)
  654. #define IXMLParser_GetFlags(This) \
  655. (This)->lpVtbl -> GetFlags(This)
  656. #define IXMLParser_GetURL(This,ppwcBuf) \
  657. (This)->lpVtbl -> GetURL(This,ppwcBuf)
  658. #define IXMLParser_SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync) \
  659. (This)->lpVtbl -> SetURL(This,pszBaseUrl,pszRelativeUrl,fAsync)
  660. #define IXMLParser_Load(This,fFullyAvailable,pimkName,pibc,grfMode) \
  661. (This)->lpVtbl -> Load(This,fFullyAvailable,pimkName,pibc,grfMode)
  662. #define IXMLParser_SetInput(This,pStm) \
  663. (This)->lpVtbl -> SetInput(This,pStm)
  664. #define IXMLParser_PushData(This,pData,ulChars,fLastBuffer) \
  665. (This)->lpVtbl -> PushData(This,pData,ulChars,fLastBuffer)
  666. #define IXMLParser_LoadDTD(This,pszBaseUrl,pszRelativeUrl) \
  667. (This)->lpVtbl -> LoadDTD(This,pszBaseUrl,pszRelativeUrl)
  668. #define IXMLParser_LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe) \
  669. (This)->lpVtbl -> LoadEntity(This,pszBaseUrl,pszRelativeUrl,fpe)
  670. #define IXMLParser_ParseEntity(This,pwcText,ulLen,fpe) \
  671. (This)->lpVtbl -> ParseEntity(This,pwcText,ulLen,fpe)
  672. #define IXMLParser_ExpandEntity(This,pwcText,ulLen) \
  673. (This)->lpVtbl -> ExpandEntity(This,pwcText,ulLen)
  674. #define IXMLParser_SetRoot(This,pRoot) \
  675. (This)->lpVtbl -> SetRoot(This,pRoot)
  676. #define IXMLParser_GetRoot(This,ppRoot) \
  677. (This)->lpVtbl -> GetRoot(This,ppRoot)
  678. #define IXMLParser_Run(This,lChars) \
  679. (This)->lpVtbl -> Run(This,lChars)
  680. #define IXMLParser_GetParserState(This) \
  681. (This)->lpVtbl -> GetParserState(This)
  682. #define IXMLParser_Suspend(This) \
  683. (This)->lpVtbl -> Suspend(This)
  684. #define IXMLParser_Reset(This) \
  685. (This)->lpVtbl -> Reset(This)
  686. #define IXMLParser_SetFlags(This,iFlags) \
  687. (This)->lpVtbl -> SetFlags(This,iFlags)
  688. #define IXMLParser_SetSecureBaseURL(This,pszBaseUrl) \
  689. (This)->lpVtbl -> SetSecureBaseURL(This,pszBaseUrl)
  690. #define IXMLParser_GetSecureBaseURL(This,ppwcBuf) \
  691. (This)->lpVtbl -> GetSecureBaseURL(This,ppwcBuf)
  692. #endif /* COBJMACROS */
  693. #endif /* C style interface */
  694. HRESULT STDMETHODCALLTYPE IXMLParser_SetURL_Proxy(
  695. IXMLParser * This,
  696. /* [in] */ const WCHAR *pszBaseUrl,
  697. /* [in] */ const WCHAR *pszRelativeUrl,
  698. /* [in] */ BOOL fAsync);
  699. void __RPC_STUB IXMLParser_SetURL_Stub(
  700. IRpcStubBuffer *This,
  701. IRpcChannelBuffer *_pRpcChannelBuffer,
  702. PRPC_MESSAGE _pRpcMessage,
  703. DWORD *_pdwStubPhase);
  704. HRESULT STDMETHODCALLTYPE IXMLParser_Load_Proxy(
  705. IXMLParser * This,
  706. /* [in] */ BOOL fFullyAvailable,
  707. /* [in] */ IMoniker *pimkName,
  708. /* [in] */ LPBC pibc,
  709. /* [in] */ DWORD grfMode);
  710. void __RPC_STUB IXMLParser_Load_Stub(
  711. IRpcStubBuffer *This,
  712. IRpcChannelBuffer *_pRpcChannelBuffer,
  713. PRPC_MESSAGE _pRpcMessage,
  714. DWORD *_pdwStubPhase);
  715. HRESULT STDMETHODCALLTYPE IXMLParser_SetInput_Proxy(
  716. IXMLParser * This,
  717. /* [in] */ IUnknown *pStm);
  718. void __RPC_STUB IXMLParser_SetInput_Stub(
  719. IRpcStubBuffer *This,
  720. IRpcChannelBuffer *_pRpcChannelBuffer,
  721. PRPC_MESSAGE _pRpcMessage,
  722. DWORD *_pdwStubPhase);
  723. HRESULT STDMETHODCALLTYPE IXMLParser_PushData_Proxy(
  724. IXMLParser * This,
  725. /* [in] */ const char *pData,
  726. /* [in] */ ULONG ulChars,
  727. /* [in] */ BOOL fLastBuffer);
  728. void __RPC_STUB IXMLParser_PushData_Stub(
  729. IRpcStubBuffer *This,
  730. IRpcChannelBuffer *_pRpcChannelBuffer,
  731. PRPC_MESSAGE _pRpcMessage,
  732. DWORD *_pdwStubPhase);
  733. HRESULT STDMETHODCALLTYPE IXMLParser_LoadDTD_Proxy(
  734. IXMLParser * This,
  735. /* [in] */ const WCHAR *pszBaseUrl,
  736. /* [in] */ const WCHAR *pszRelativeUrl);
  737. void __RPC_STUB IXMLParser_LoadDTD_Stub(
  738. IRpcStubBuffer *This,
  739. IRpcChannelBuffer *_pRpcChannelBuffer,
  740. PRPC_MESSAGE _pRpcMessage,
  741. DWORD *_pdwStubPhase);
  742. HRESULT STDMETHODCALLTYPE IXMLParser_LoadEntity_Proxy(
  743. IXMLParser * This,
  744. /* [in] */ const WCHAR *pszBaseUrl,
  745. /* [in] */ const WCHAR *pszRelativeUrl,
  746. /* [in] */ BOOL fpe);
  747. void __RPC_STUB IXMLParser_LoadEntity_Stub(
  748. IRpcStubBuffer *This,
  749. IRpcChannelBuffer *_pRpcChannelBuffer,
  750. PRPC_MESSAGE _pRpcMessage,
  751. DWORD *_pdwStubPhase);
  752. HRESULT STDMETHODCALLTYPE IXMLParser_ParseEntity_Proxy(
  753. IXMLParser * This,
  754. /* [in] */ const WCHAR *pwcText,
  755. /* [in] */ ULONG ulLen,
  756. /* [in] */ BOOL fpe);
  757. void __RPC_STUB IXMLParser_ParseEntity_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. HRESULT STDMETHODCALLTYPE IXMLParser_ExpandEntity_Proxy(
  763. IXMLParser * This,
  764. /* [in] */ const WCHAR *pwcText,
  765. /* [in] */ ULONG ulLen);
  766. void __RPC_STUB IXMLParser_ExpandEntity_Stub(
  767. IRpcStubBuffer *This,
  768. IRpcChannelBuffer *_pRpcChannelBuffer,
  769. PRPC_MESSAGE _pRpcMessage,
  770. DWORD *_pdwStubPhase);
  771. HRESULT STDMETHODCALLTYPE IXMLParser_SetRoot_Proxy(
  772. IXMLParser * This,
  773. /* [in] */ PVOID pRoot);
  774. void __RPC_STUB IXMLParser_SetRoot_Stub(
  775. IRpcStubBuffer *This,
  776. IRpcChannelBuffer *_pRpcChannelBuffer,
  777. PRPC_MESSAGE _pRpcMessage,
  778. DWORD *_pdwStubPhase);
  779. HRESULT STDMETHODCALLTYPE IXMLParser_GetRoot_Proxy(
  780. IXMLParser * This,
  781. /* [in] */ PVOID *ppRoot);
  782. void __RPC_STUB IXMLParser_GetRoot_Stub(
  783. IRpcStubBuffer *This,
  784. IRpcChannelBuffer *_pRpcChannelBuffer,
  785. PRPC_MESSAGE _pRpcMessage,
  786. DWORD *_pdwStubPhase);
  787. HRESULT STDMETHODCALLTYPE IXMLParser_Run_Proxy(
  788. IXMLParser * This,
  789. /* [in] */ long lChars);
  790. void __RPC_STUB IXMLParser_Run_Stub(
  791. IRpcStubBuffer *This,
  792. IRpcChannelBuffer *_pRpcChannelBuffer,
  793. PRPC_MESSAGE _pRpcMessage,
  794. DWORD *_pdwStubPhase);
  795. HRESULT STDMETHODCALLTYPE IXMLParser_GetParserState_Proxy(
  796. IXMLParser * This);
  797. void __RPC_STUB IXMLParser_GetParserState_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. HRESULT STDMETHODCALLTYPE IXMLParser_Suspend_Proxy(
  803. IXMLParser * This);
  804. void __RPC_STUB IXMLParser_Suspend_Stub(
  805. IRpcStubBuffer *This,
  806. IRpcChannelBuffer *_pRpcChannelBuffer,
  807. PRPC_MESSAGE _pRpcMessage,
  808. DWORD *_pdwStubPhase);
  809. HRESULT STDMETHODCALLTYPE IXMLParser_Reset_Proxy(
  810. IXMLParser * This);
  811. void __RPC_STUB IXMLParser_Reset_Stub(
  812. IRpcStubBuffer *This,
  813. IRpcChannelBuffer *_pRpcChannelBuffer,
  814. PRPC_MESSAGE _pRpcMessage,
  815. DWORD *_pdwStubPhase);
  816. HRESULT STDMETHODCALLTYPE IXMLParser_SetFlags_Proxy(
  817. IXMLParser * This,
  818. /* [in] */ ULONG iFlags);
  819. void __RPC_STUB IXMLParser_SetFlags_Stub(
  820. IRpcStubBuffer *This,
  821. IRpcChannelBuffer *_pRpcChannelBuffer,
  822. PRPC_MESSAGE _pRpcMessage,
  823. DWORD *_pdwStubPhase);
  824. HRESULT STDMETHODCALLTYPE IXMLParser_SetSecureBaseURL_Proxy(
  825. IXMLParser * This,
  826. /* [in] */ const WCHAR *pszBaseUrl);
  827. void __RPC_STUB IXMLParser_SetSecureBaseURL_Stub(
  828. IRpcStubBuffer *This,
  829. IRpcChannelBuffer *_pRpcChannelBuffer,
  830. PRPC_MESSAGE _pRpcMessage,
  831. DWORD *_pdwStubPhase);
  832. HRESULT STDMETHODCALLTYPE IXMLParser_GetSecureBaseURL_Proxy(
  833. IXMLParser * This,
  834. /* [out] */ const WCHAR **ppwcBuf);
  835. void __RPC_STUB IXMLParser_GetSecureBaseURL_Stub(
  836. IRpcStubBuffer *This,
  837. IRpcChannelBuffer *_pRpcChannelBuffer,
  838. PRPC_MESSAGE _pRpcMessage,
  839. DWORD *_pdwStubPhase);
  840. #endif /* __IXMLParser_INTERFACE_DEFINED__ */
  841. #ifndef __IXMLNodeFactory_INTERFACE_DEFINED__
  842. #define __IXMLNodeFactory_INTERFACE_DEFINED__
  843. /* interface IXMLNodeFactory */
  844. /* [unique][helpstring][uuid][local][object] */
  845. EXTERN_C const IID IID_IXMLNodeFactory;
  846. #if defined(__cplusplus) && !defined(CINTERFACE)
  847. MIDL_INTERFACE("d242361f-51a0-11d2-9caf-0060b0ec3d39")
  848. IXMLNodeFactory : public IUnknown
  849. {
  850. public:
  851. virtual HRESULT STDMETHODCALLTYPE NotifyEvent(
  852. /* [in] */ IXMLNodeSource *pSource,
  853. /* [in] */ XML_NODEFACTORY_EVENT iEvt) = 0;
  854. virtual HRESULT STDMETHODCALLTYPE BeginChildren(
  855. /* [in] */ IXMLNodeSource *pSource,
  856. /* [in] */ XML_NODE_INFO *pNodeInfo) = 0;
  857. virtual HRESULT STDMETHODCALLTYPE EndChildren(
  858. /* [in] */ IXMLNodeSource *pSource,
  859. /* [in] */ BOOL fEmpty,
  860. /* [in] */ XML_NODE_INFO *pNodeInfo) = 0;
  861. virtual HRESULT STDMETHODCALLTYPE Error(
  862. /* [in] */ IXMLNodeSource *pSource,
  863. /* [in] */ HRESULT hrErrorCode,
  864. /* [in] */ USHORT cNumRecs,
  865. /* [in] */ XML_NODE_INFO **apNodeInfo) = 0;
  866. virtual HRESULT STDMETHODCALLTYPE CreateNode(
  867. /* [in] */ IXMLNodeSource *pSource,
  868. /* [in] */ PVOID pNodeParent,
  869. /* [in] */ USHORT cNumRecs,
  870. /* [in] */ XML_NODE_INFO **apNodeInfo) = 0;
  871. };
  872. #else /* C style interface */
  873. typedef struct IXMLNodeFactoryVtbl
  874. {
  875. BEGIN_INTERFACE
  876. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  877. IXMLNodeFactory * This,
  878. /* [in] */ REFIID riid,
  879. /* [iid_is][out] */ void **ppvObject);
  880. ULONG ( STDMETHODCALLTYPE *AddRef )(
  881. IXMLNodeFactory * This);
  882. ULONG ( STDMETHODCALLTYPE *Release )(
  883. IXMLNodeFactory * This);
  884. HRESULT ( STDMETHODCALLTYPE *NotifyEvent )(
  885. IXMLNodeFactory * This,
  886. /* [in] */ IXMLNodeSource *pSource,
  887. /* [in] */ XML_NODEFACTORY_EVENT iEvt);
  888. HRESULT ( STDMETHODCALLTYPE *BeginChildren )(
  889. IXMLNodeFactory * This,
  890. /* [in] */ IXMLNodeSource *pSource,
  891. /* [in] */ XML_NODE_INFO *pNodeInfo);
  892. HRESULT ( STDMETHODCALLTYPE *EndChildren )(
  893. IXMLNodeFactory * This,
  894. /* [in] */ IXMLNodeSource *pSource,
  895. /* [in] */ BOOL fEmpty,
  896. /* [in] */ XML_NODE_INFO *pNodeInfo);
  897. HRESULT ( STDMETHODCALLTYPE *Error )(
  898. IXMLNodeFactory * This,
  899. /* [in] */ IXMLNodeSource *pSource,
  900. /* [in] */ HRESULT hrErrorCode,
  901. /* [in] */ USHORT cNumRecs,
  902. /* [in] */ XML_NODE_INFO **apNodeInfo);
  903. HRESULT ( STDMETHODCALLTYPE *CreateNode )(
  904. IXMLNodeFactory * This,
  905. /* [in] */ IXMLNodeSource *pSource,
  906. /* [in] */ PVOID pNodeParent,
  907. /* [in] */ USHORT cNumRecs,
  908. /* [in] */ XML_NODE_INFO **apNodeInfo);
  909. END_INTERFACE
  910. } IXMLNodeFactoryVtbl;
  911. interface IXMLNodeFactory
  912. {
  913. CONST_VTBL struct IXMLNodeFactoryVtbl *lpVtbl;
  914. };
  915. #ifdef COBJMACROS
  916. #define IXMLNodeFactory_QueryInterface(This,riid,ppvObject) \
  917. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  918. #define IXMLNodeFactory_AddRef(This) \
  919. (This)->lpVtbl -> AddRef(This)
  920. #define IXMLNodeFactory_Release(This) \
  921. (This)->lpVtbl -> Release(This)
  922. #define IXMLNodeFactory_NotifyEvent(This,pSource,iEvt) \
  923. (This)->lpVtbl -> NotifyEvent(This,pSource,iEvt)
  924. #define IXMLNodeFactory_BeginChildren(This,pSource,pNodeInfo) \
  925. (This)->lpVtbl -> BeginChildren(This,pSource,pNodeInfo)
  926. #define IXMLNodeFactory_EndChildren(This,pSource,fEmpty,pNodeInfo) \
  927. (This)->lpVtbl -> EndChildren(This,pSource,fEmpty,pNodeInfo)
  928. #define IXMLNodeFactory_Error(This,pSource,hrErrorCode,cNumRecs,apNodeInfo) \
  929. (This)->lpVtbl -> Error(This,pSource,hrErrorCode,cNumRecs,apNodeInfo)
  930. #define IXMLNodeFactory_CreateNode(This,pSource,pNodeParent,cNumRecs,apNodeInfo) \
  931. (This)->lpVtbl -> CreateNode(This,pSource,pNodeParent,cNumRecs,apNodeInfo)
  932. #endif /* COBJMACROS */
  933. #endif /* C style interface */
  934. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_NotifyEvent_Proxy(
  935. IXMLNodeFactory * This,
  936. /* [in] */ IXMLNodeSource *pSource,
  937. /* [in] */ XML_NODEFACTORY_EVENT iEvt);
  938. void __RPC_STUB IXMLNodeFactory_NotifyEvent_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_BeginChildren_Proxy(
  944. IXMLNodeFactory * This,
  945. /* [in] */ IXMLNodeSource *pSource,
  946. /* [in] */ XML_NODE_INFO *pNodeInfo);
  947. void __RPC_STUB IXMLNodeFactory_BeginChildren_Stub(
  948. IRpcStubBuffer *This,
  949. IRpcChannelBuffer *_pRpcChannelBuffer,
  950. PRPC_MESSAGE _pRpcMessage,
  951. DWORD *_pdwStubPhase);
  952. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_EndChildren_Proxy(
  953. IXMLNodeFactory * This,
  954. /* [in] */ IXMLNodeSource *pSource,
  955. /* [in] */ BOOL fEmpty,
  956. /* [in] */ XML_NODE_INFO *pNodeInfo);
  957. void __RPC_STUB IXMLNodeFactory_EndChildren_Stub(
  958. IRpcStubBuffer *This,
  959. IRpcChannelBuffer *_pRpcChannelBuffer,
  960. PRPC_MESSAGE _pRpcMessage,
  961. DWORD *_pdwStubPhase);
  962. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_Error_Proxy(
  963. IXMLNodeFactory * This,
  964. /* [in] */ IXMLNodeSource *pSource,
  965. /* [in] */ HRESULT hrErrorCode,
  966. /* [in] */ USHORT cNumRecs,
  967. /* [in] */ XML_NODE_INFO **apNodeInfo);
  968. void __RPC_STUB IXMLNodeFactory_Error_Stub(
  969. IRpcStubBuffer *This,
  970. IRpcChannelBuffer *_pRpcChannelBuffer,
  971. PRPC_MESSAGE _pRpcMessage,
  972. DWORD *_pdwStubPhase);
  973. HRESULT STDMETHODCALLTYPE IXMLNodeFactory_CreateNode_Proxy(
  974. IXMLNodeFactory * This,
  975. /* [in] */ IXMLNodeSource *pSource,
  976. /* [in] */ PVOID pNodeParent,
  977. /* [in] */ USHORT cNumRecs,
  978. /* [in] */ XML_NODE_INFO **apNodeInfo);
  979. void __RPC_STUB IXMLNodeFactory_CreateNode_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. #endif /* __IXMLNodeFactory_INTERFACE_DEFINED__ */
  985. EXTERN_C const CLSID CLSID_XMLParser;
  986. #ifdef __cplusplus
  987. class DECLSPEC_UUID("d2423620-51a0-11d2-9caf-0060b0ec3d39")
  988. XMLParser;
  989. #endif
  990. #endif /* __XMLPSR_LIBRARY_DEFINED__ */
  991. /* Additional Prototypes for ALL interfaces */
  992. /* end of Additional Prototypes */
  993. #ifdef __cplusplus
  994. }
  995. #endif
  996. #endif