| xmllite.h (1.3.1001.0-Windows_7.0) | | xmllite.h (6.3.9600.17415-Windows_8.1) |
| | |
| /* this ALWAYS GENERATED file contains the definitions for the interfaces */ | | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| | |
|
| /* File created by MIDL compiler version 7.00.0555 */ | | /* File created by MIDL compiler version 8.00.0603 */ |
| /* Compiler settings for xmllite.idl: | | |
| Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 | | |
| protocol : dce , ms_ext, c_ext, robust | | |
| error checks: allocation ref bounds_check enum stub_data | | |
| VC __declspec() decoration level: | | |
| __declspec(uuid()), __declspec(selectany), __declspec(novtable) | | |
| DECLSPEC_UUID(), MIDL_INTERFACE() | | |
| */ | | |
| /* @@MIDL_FILE_HEADING( ) */ | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
| #pragma warning( disable: 4049 ) /* more than 64k source lines */ | | #pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| | |
| /* verify that the <rpcndr.h> version is high enough to compile this file*/ | | /* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ | | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
|
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 | | #define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| #endif | | #endif |
| | |
| /* verify that the <rpcsal.h> version is high enough to compile this file*/ | | /* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCSAL_H_VERSION__ | | #ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| #define __REQUIRED_RPCSAL_H_VERSION__ 100 | | #define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| #endif | | #endif |
| | |
| #include "rpc.h" | | #include "rpc.h" |
| #include "rpcndr.h" | | #include "rpcndr.h" |
| | |
| | |
| skipping to change at line 73 | | skipping to change at line 68 |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_xmllite_0000_0000 */ | | /* interface __MIDL_itf_xmllite_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
| //+------------------------------------------------------------------------- | | //+------------------------------------------------------------------------- |
| // | | // |
| // Microsoft Windows | | // Microsoft Windows |
|
| // Copyright (C) Microsoft Corporation, 2001. | | // Copyright (C) Microsoft. All rights reserved. |
| // | | // |
| //-------------------------------------------------------------------------- | | //-------------------------------------------------------------------------- |
| | |
| typedef IUnknown IXmlReaderInput; | | typedef IUnknown IXmlReaderInput; |
| typedef IUnknown IXmlWriterOutput; | | typedef IUnknown IXmlWriterOutput; |
| ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// | | ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// |
| // XmlReader Constructors | | // XmlReader Constructors |
|
| STDAPI CreateXmlReader(__in REFIID riid, | | STDAPI CreateXmlReader(_In_ REFIID riid, |
| __out void ** ppvObject, | | _Outptr_ void ** ppvObject, |
| __in_opt IMalloc * pMalloc); | | _In_opt_ IMalloc * pMalloc); |
| ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// | | ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// |
| // XmlReaderInput Constructors | | // XmlReaderInput Constructors |
| STDAPI CreateXmlReaderInputWithEncodingCodePage( | | STDAPI CreateXmlReaderInputWithEncodingCodePage( |
|
| __in IUnknown * pInputStream, | | _In_ IUnknown * pInputStream, |
| __in_opt IMalloc * pMalloc, | | _In_opt_ IMalloc * pMalloc, |
| __in UINT nEncodingCodePage, | | _In_ UINT nEncodingCodePage, |
| __in BOOL fEncodingHint, | | _In_ BOOL fEncodingHint, |
| __in_opt LPCWSTR pwszBaseUri, | | _In_opt_ LPCWSTR pwszBaseUri, |
| __out IXmlReaderInput ** ppInput); | | _Out_ IXmlReaderInput ** ppInput); |
| STDAPI CreateXmlReaderInputWithEncodingName( | | STDAPI CreateXmlReaderInputWithEncodingName( |
|
| __in IUnknown * pInputStream, | | _In_ IUnknown * pInputStream, |
| __in_opt IMalloc * pMalloc, | | _In_opt_ IMalloc * pMalloc, |
| __in LPCWSTR pwszEncodingName, | | _In_ LPCWSTR pwszEncodingName, |
| __in BOOL fEncodingHint, | | _In_ BOOL fEncodingHint, |
| __in_opt LPCWSTR pwszBaseUri, | | _In_opt_ LPCWSTR pwszBaseUri, |
| __out IXmlReaderInput ** ppInput); | | _Out_ IXmlReaderInput ** ppInput); |
| ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// | | ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// |
| // XmlWriter Constructors | | // XmlWriter Constructors |
|
| STDAPI CreateXmlWriter(__in REFIID riid, | | STDAPI CreateXmlWriter(_In_ REFIID riid, |
| __out void ** ppvObject, | | _Out_ void ** ppvObject, |
| __in_opt IMalloc * pMalloc); | | _In_opt_ IMalloc * pMalloc); |
| ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// | | ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// |
| // XmlWriterOutput Constructors | | // XmlWriterOutput Constructors |
| STDAPI CreateXmlWriterOutputWithEncodingCodePage( | | STDAPI CreateXmlWriterOutputWithEncodingCodePage( |
|
| __in IUnknown *pOutputStream, | | _In_ IUnknown *pOutputStream, |
| __in_opt IMalloc *pMalloc, | | _In_opt_ IMalloc *pMalloc, |
| __in UINT nEncodingCodePage, | | _In_ UINT nEncodingCodePage, |
| __out IXmlWriterOutput **ppOutput); | | _Out_ IXmlWriterOutput **ppOutput); |
| STDAPI CreateXmlWriterOutputWithEncodingName( | | STDAPI CreateXmlWriterOutputWithEncodingName( |
|
| __in IUnknown *pOutputStream, | | _In_ IUnknown *pOutputStream, |
| __in_opt IMalloc *pMalloc, | | _In_opt_ IMalloc *pMalloc, |
| __in LPCWSTR pwszEncodingName, | | _In_ LPCWSTR pwszEncodingName, |
| __out IXmlWriterOutput **ppOutput); | | _Out_ IXmlWriterOutput **ppOutput); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0000_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0000_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0000_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0000_v0_0_s_ifspec; |
| | |
| #ifndef __XmlLite_LIBRARY_DEFINED__ | | #ifndef __XmlLite_LIBRARY_DEFINED__ |
| #define __XmlLite_LIBRARY_DEFINED__ | | #define __XmlLite_LIBRARY_DEFINED__ |
| | |
| /* library XmlLite */ | | /* library XmlLite */ |
| /* [version][lcid][helpstring][uuid] */ | | /* [version][lcid][helpstring][uuid] */ |
| | |
| typedef | | typedef |
| enum XmlNodeType | | enum XmlNodeType |
|
| { XmlNodeType_None = 0, | | { |
| XmlNodeType_Element = 1, | | XmlNodeType_None = 0, |
| XmlNodeType_Attribute = 2, | | XmlNodeType_Element = 1, |
| XmlNodeType_Text = 3, | | XmlNodeType_Attribute = 2, |
| XmlNodeType_CDATA = 4, | | XmlNodeType_Text = 3, |
| XmlNodeType_ProcessingInstruction = 7, | | XmlNodeType_CDATA = 4, |
| XmlNodeType_Comment = 8, | | XmlNodeType_ProcessingInstruction = 7, |
| XmlNodeType_DocumentType = 10, | | XmlNodeType_Comment = 8, |
| XmlNodeType_Whitespace = 13, | | XmlNodeType_DocumentType = 10, |
| XmlNodeType_EndElement = 15, | | XmlNodeType_Whitespace = 13, |
| XmlNodeType_XmlDeclaration = 17, | | XmlNodeType_EndElement = 15, |
| _XmlNodeType_Last = 17 | | XmlNodeType_XmlDeclaration = 17, |
| | _XmlNodeType_Last = 17 |
| } XmlNodeType; | | } XmlNodeType; |
| | |
| typedef | | typedef |
| enum XmlConformanceLevel | | enum XmlConformanceLevel |
|
| { XmlConformanceLevel_Auto = 0, | | { |
| XmlConformanceLevel_Fragment = 1, | | XmlConformanceLevel_Auto = 0, |
| XmlConformanceLevel_Document = 2, | | XmlConformanceLevel_Fragment = 1, |
| _XmlConformanceLevel_Last = 2 | | XmlConformanceLevel_Document = 2, |
| | _XmlConformanceLevel_Last = 2 |
| } XmlConformanceLevel; | | } XmlConformanceLevel; |
| | |
| typedef | | typedef |
| enum DtdProcessing | | enum DtdProcessing |
|
| { DtdProcessing_Prohibit = 0, | | { |
| DtdProcessing_Parse = ( DtdProcessing_Prohibit + 1 ) , | | DtdProcessing_Prohibit = 0, |
| _DtdProcessing_Last = DtdProcessing_Parse | | DtdProcessing_Parse = ( DtdProcessing_Prohibit + 1 ) , |
| | _DtdProcessing_Last = DtdProcessing_Parse |
| } DtdProcessing; | | } DtdProcessing; |
| | |
| typedef | | typedef |
| enum XmlReadState | | enum XmlReadState |
|
| { XmlReadState_Initial = 0, | | { |
| XmlReadState_Interactive = 1, | | XmlReadState_Initial = 0, |
| XmlReadState_Error = 2, | | XmlReadState_Interactive = 1, |
| XmlReadState_EndOfFile = 3, | | XmlReadState_Error = 2, |
| XmlReadState_Closed = 4 | | XmlReadState_EndOfFile = 3, |
| | XmlReadState_Closed = 4 |
| } XmlReadState; | | } XmlReadState; |
| | |
| typedef | | typedef |
| enum XmlReaderProperty | | enum XmlReaderProperty |
|
| { XmlReaderProperty_MultiLanguage = 0, | | { |
| XmlReaderProperty_ConformanceLevel = ( XmlReaderProperty_MultiLangua | | XmlReaderProperty_MultiLanguage = 0, |
| ge + 1 ) , | | XmlReaderProperty_ConformanceLevel = ( XmlReaderProperty_MultiLangua |
| XmlReaderProperty_RandomAccess = ( XmlReaderProperty_ConformanceLevel + | | ge + 1 ) , |
| 1 ) , | | XmlReaderProperty_RandomAccess = ( XmlReaderProperty_ConformanceLevel + |
| XmlReaderProperty_XmlResolver = ( XmlReaderProperty_RandomAccess + 1 ) | | 1 ) , |
| , | | XmlReaderProperty_XmlResolver = ( XmlReaderProperty_RandomAccess + 1 ) |
| XmlReaderProperty_DtdProcessing = ( XmlReaderProperty_XmlResolver + 1 ) , | | , |
| XmlReaderProperty_ReadState = ( XmlReaderProperty_DtdProcessing + 1 ) | | XmlReaderProperty_DtdProcessing = ( XmlReaderProperty_XmlResolver |
| , | | + 1 ) , |
| XmlReaderProperty_MaxElementDepth = ( XmlReaderProperty_ReadState + | | XmlReaderProperty_ReadState = ( XmlReaderProperty_DtdProcessing + 1 ) |
| 1 ) , | | , |
| XmlReaderProperty_MaxEntityExpansion = ( XmlReaderProperty_MaxElementD | | XmlReaderProperty_MaxElementDepth = ( XmlReaderProperty_ReadState + |
| epth + 1 ) , | | 1 ) , |
| _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion | | XmlReaderProperty_MaxEntityExpansion = ( XmlReaderProperty_MaxElementD |
| | epth + 1 ) , |
| | _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion |
| } XmlReaderProperty; | | } XmlReaderProperty; |
| | |
| typedef | | typedef |
| enum XmlError | | enum XmlError |
|
| { MX_E_MX = 0xc00cee00, | | { |
| MX_E_INPUTEND = ( MX_E_MX + 1 ) , | | MX_E_MX = 0xc00cee00, |
| MX_E_ENCODING = ( MX_E_INPUTEND + 1 ) , | | MX_E_INPUTEND = ( MX_E_MX + 1 ) , |
| MX_E_ENCODINGSWITCH = ( MX_E_ENCODING + 1 ) , | | MX_E_ENCODING = ( MX_E_INPUTEND + 1 ) , |
| MX_E_ENCODINGSIGNATURE = ( MX_E_ENCODINGSWITCH + 1 ) , | | MX_E_ENCODINGSWITCH = ( MX_E_ENCODING + 1 ) , |
| WC_E_WC = 0xc00cee20, | | MX_E_ENCODINGSIGNATURE = ( MX_E_ENCODINGSWITCH + 1 ) , |
| WC_E_WHITESPACE = ( WC_E_WC + 1 ) , | | WC_E_WC = 0xc00cee20, |
| WC_E_SEMICOLON = ( WC_E_WHITESPACE + 1 ) , | | WC_E_WHITESPACE = ( WC_E_WC + 1 ) , |
| WC_E_GREATERTHAN = ( WC_E_SEMICOLON + 1 ) , | | WC_E_SEMICOLON = ( WC_E_WHITESPACE + 1 ) , |
| WC_E_QUOTE = ( WC_E_GREATERTHAN + 1 ) , | | WC_E_GREATERTHAN = ( WC_E_SEMICOLON + 1 ) , |
| WC_E_EQUAL = ( WC_E_QUOTE + 1 ) , | | WC_E_QUOTE = ( WC_E_GREATERTHAN + 1 ) , |
| WC_E_LESSTHAN = ( WC_E_EQUAL + 1 ) , | | WC_E_EQUAL = ( WC_E_QUOTE + 1 ) , |
| WC_E_HEXDIGIT = ( WC_E_LESSTHAN + 1 ) , | | WC_E_LESSTHAN = ( WC_E_EQUAL + 1 ) , |
| WC_E_DIGIT = ( WC_E_HEXDIGIT + 1 ) , | | WC_E_HEXDIGIT = ( WC_E_LESSTHAN + 1 ) , |
| WC_E_LEFTBRACKET = ( WC_E_DIGIT + 1 ) , | | WC_E_DIGIT = ( WC_E_HEXDIGIT + 1 ) , |
| WC_E_LEFTPAREN = ( WC_E_LEFTBRACKET + 1 ) , | | WC_E_LEFTBRACKET = ( WC_E_DIGIT + 1 ) , |
| WC_E_XMLCHARACTER = ( WC_E_LEFTPAREN + 1 ) , | | WC_E_LEFTPAREN = ( WC_E_LEFTBRACKET + 1 ) , |
| WC_E_NAMECHARACTER = ( WC_E_XMLCHARACTER + 1 ) , | | WC_E_XMLCHARACTER = ( WC_E_LEFTPAREN + 1 ) , |
| WC_E_SYNTAX = ( WC_E_NAMECHARACTER + 1 ) , | | WC_E_NAMECHARACTER = ( WC_E_XMLCHARACTER + 1 ) , |
| WC_E_CDSECT = ( WC_E_SYNTAX + 1 ) , | | WC_E_SYNTAX = ( WC_E_NAMECHARACTER + 1 ) , |
| WC_E_COMMENT = ( WC_E_CDSECT + 1 ) , | | WC_E_CDSECT = ( WC_E_SYNTAX + 1 ) , |
| WC_E_CONDSECT = ( WC_E_COMMENT + 1 ) , | | WC_E_COMMENT = ( WC_E_CDSECT + 1 ) , |
| WC_E_DECLATTLIST = ( WC_E_CONDSECT + 1 ) , | | WC_E_CONDSECT = ( WC_E_COMMENT + 1 ) , |
| WC_E_DECLDOCTYPE = ( WC_E_DECLATTLIST + 1 ) , | | WC_E_DECLATTLIST = ( WC_E_CONDSECT + 1 ) , |
| WC_E_DECLELEMENT = ( WC_E_DECLDOCTYPE + 1 ) , | | WC_E_DECLDOCTYPE = ( WC_E_DECLATTLIST + 1 ) , |
| WC_E_DECLENTITY = ( WC_E_DECLELEMENT + 1 ) , | | WC_E_DECLELEMENT = ( WC_E_DECLDOCTYPE + 1 ) , |
| WC_E_DECLNOTATION = ( WC_E_DECLENTITY + 1 ) , | | WC_E_DECLENTITY = ( WC_E_DECLELEMENT + 1 ) , |
| WC_E_NDATA = ( WC_E_DECLNOTATION + 1 ) , | | WC_E_DECLNOTATION = ( WC_E_DECLENTITY + 1 ) , |
| WC_E_PUBLIC = ( WC_E_NDATA + 1 ) , | | WC_E_NDATA = ( WC_E_DECLNOTATION + 1 ) , |
| WC_E_SYSTEM = ( WC_E_PUBLIC + 1 ) , | | WC_E_PUBLIC = ( WC_E_NDATA + 1 ) , |
| WC_E_NAME = ( WC_E_SYSTEM + 1 ) , | | WC_E_SYSTEM = ( WC_E_PUBLIC + 1 ) , |
| WC_E_ROOTELEMENT = ( WC_E_NAME + 1 ) , | | WC_E_NAME = ( WC_E_SYSTEM + 1 ) , |
| WC_E_ELEMENTMATCH = ( WC_E_ROOTELEMENT + 1 ) , | | WC_E_ROOTELEMENT = ( WC_E_NAME + 1 ) , |
| WC_E_UNIQUEATTRIBUTE = ( WC_E_ELEMENTMATCH + 1 ) , | | WC_E_ELEMENTMATCH = ( WC_E_ROOTELEMENT + 1 ) , |
| WC_E_TEXTXMLDECL = ( WC_E_UNIQUEATTRIBUTE + 1 ) , | | WC_E_UNIQUEATTRIBUTE = ( WC_E_ELEMENTMATCH + 1 ) , |
| WC_E_LEADINGXML = ( WC_E_TEXTXMLDECL + 1 ) , | | WC_E_TEXTXMLDECL = ( WC_E_UNIQUEATTRIBUTE + 1 ) , |
| WC_E_TEXTDECL = ( WC_E_LEADINGXML + 1 ) , | | WC_E_LEADINGXML = ( WC_E_TEXTXMLDECL + 1 ) , |
| WC_E_XMLDECL = ( WC_E_TEXTDECL + 1 ) , | | WC_E_TEXTDECL = ( WC_E_LEADINGXML + 1 ) , |
| WC_E_ENCNAME = ( WC_E_XMLDECL + 1 ) , | | WC_E_XMLDECL = ( WC_E_TEXTDECL + 1 ) , |
| WC_E_PUBLICID = ( WC_E_ENCNAME + 1 ) , | | WC_E_ENCNAME = ( WC_E_XMLDECL + 1 ) , |
| WC_E_PESINTERNALSUBSET = ( WC_E_PUBLICID + 1 ) , | | WC_E_PUBLICID = ( WC_E_ENCNAME + 1 ) , |
| WC_E_PESBETWEENDECLS = ( WC_E_PESINTERNALSUBSET + 1 ) , | | WC_E_PESINTERNALSUBSET = ( WC_E_PUBLICID + 1 ) , |
| WC_E_NORECURSION = ( WC_E_PESBETWEENDECLS + 1 ) , | | WC_E_PESBETWEENDECLS = ( WC_E_PESINTERNALSUBSET + 1 ) , |
| WC_E_ENTITYCONTENT = ( WC_E_NORECURSION + 1 ) , | | WC_E_NORECURSION = ( WC_E_PESBETWEENDECLS + 1 ) , |
| WC_E_UNDECLAREDENTITY = ( WC_E_ENTITYCONTENT + 1 ) , | | WC_E_ENTITYCONTENT = ( WC_E_NORECURSION + 1 ) , |
| WC_E_PARSEDENTITY = ( WC_E_UNDECLAREDENTITY + 1 ) , | | WC_E_UNDECLAREDENTITY = ( WC_E_ENTITYCONTENT + 1 ) , |
| WC_E_NOEXTERNALENTITYREF = ( WC_E_PARSEDENTITY + 1 ) , | | WC_E_PARSEDENTITY = ( WC_E_UNDECLAREDENTITY + 1 ) , |
| WC_E_PI = ( WC_E_NOEXTERNALENTITYREF + 1 ) , | | WC_E_NOEXTERNALENTITYREF = ( WC_E_PARSEDENTITY + 1 ) , |
| WC_E_SYSTEMID = ( WC_E_PI + 1 ) , | | WC_E_PI = ( WC_E_NOEXTERNALENTITYREF + 1 ) , |
| WC_E_QUESTIONMARK = ( WC_E_SYSTEMID + 1 ) , | | WC_E_SYSTEMID = ( WC_E_PI + 1 ) , |
| WC_E_CDSECTEND = ( WC_E_QUESTIONMARK + 1 ) , | | WC_E_QUESTIONMARK = ( WC_E_SYSTEMID + 1 ) , |
| WC_E_MOREDATA = ( WC_E_CDSECTEND + 1 ) , | | WC_E_CDSECTEND = ( WC_E_QUESTIONMARK + 1 ) , |
| WC_E_DTDPROHIBITED = ( WC_E_MOREDATA + 1 ) , | | WC_E_MOREDATA = ( WC_E_CDSECTEND + 1 ) , |
| WC_E_INVALIDXMLSPACE = ( WC_E_DTDPROHIBITED + 1 ) , | | WC_E_DTDPROHIBITED = ( WC_E_MOREDATA + 1 ) , |
| NC_E_NC = 0xc00cee60, | | WC_E_INVALIDXMLSPACE = ( WC_E_DTDPROHIBITED + 1 ) , |
| NC_E_QNAMECHARACTER = ( NC_E_NC + 1 ) , | | NC_E_NC = 0xc00cee60, |
| NC_E_QNAMECOLON = ( NC_E_QNAMECHARACTER + 1 ) , | | NC_E_QNAMECHARACTER = ( NC_E_NC + 1 ) , |
| NC_E_NAMECOLON = ( NC_E_QNAMECOLON + 1 ) , | | NC_E_QNAMECOLON = ( NC_E_QNAMECHARACTER + 1 ) , |
| NC_E_DECLAREDPREFIX = ( NC_E_NAMECOLON + 1 ) , | | NC_E_NAMECOLON = ( NC_E_QNAMECOLON + 1 ) , |
| NC_E_UNDECLAREDPREFIX = ( NC_E_DECLAREDPREFIX + 1 ) , | | NC_E_DECLAREDPREFIX = ( NC_E_NAMECOLON + 1 ) , |
| NC_E_EMPTYURI = ( NC_E_UNDECLAREDPREFIX + 1 ) , | | NC_E_UNDECLAREDPREFIX = ( NC_E_DECLAREDPREFIX + 1 ) , |
| NC_E_XMLPREFIXRESERVED = ( NC_E_EMPTYURI + 1 ) , | | NC_E_EMPTYURI = ( NC_E_UNDECLAREDPREFIX + 1 ) , |
| NC_E_XMLNSPREFIXRESERVED = ( NC_E_XMLPREFIXRESERVED + 1 ) , | | NC_E_XMLPREFIXRESERVED = ( NC_E_EMPTYURI + 1 ) , |
| NC_E_XMLURIRESERVED = ( NC_E_XMLNSPREFIXRESERVED + 1 ) , | | NC_E_XMLNSPREFIXRESERVED = ( NC_E_XMLPREFIXRESERVED + 1 ) , |
| NC_E_XMLNSURIRESERVED = ( NC_E_XMLURIRESERVED + 1 ) , | | NC_E_XMLURIRESERVED = ( NC_E_XMLNSPREFIXRESERVED + 1 ) , |
| SC_E_SC = 0xc00cee80, | | NC_E_XMLNSURIRESERVED = ( NC_E_XMLURIRESERVED + 1 ) , |
| SC_E_MAXELEMENTDEPTH = ( SC_E_SC + 1 ) , | | SC_E_SC = 0xc00cee80, |
| SC_E_MAXENTITYEXPANSION = ( SC_E_MAXELEMENTDEPTH + 1 ) , | | SC_E_MAXELEMENTDEPTH = ( SC_E_SC + 1 ) , |
| WR_E_WR = 0xc00cef00, | | SC_E_MAXENTITYEXPANSION = ( SC_E_MAXELEMENTDEPTH + 1 ) , |
| WR_E_NONWHITESPACE = ( WR_E_WR + 1 ) , | | WR_E_WR = 0xc00cef00, |
| WR_E_NSPREFIXDECLARED = ( WR_E_NONWHITESPACE + 1 ) , | | WR_E_NONWHITESPACE = ( WR_E_WR + 1 ) , |
| WR_E_NSPREFIXWITHEMPTYNSURI = ( WR_E_NSPREFIXDECLARED + 1 ) , | | WR_E_NSPREFIXDECLARED = ( WR_E_NONWHITESPACE + 1 ) , |
| WR_E_DUPLICATEATTRIBUTE = ( WR_E_NSPREFIXWITHEMPTYNSURI + 1 ) , | | WR_E_NSPREFIXWITHEMPTYNSURI = ( WR_E_NSPREFIXDECLARED + 1 ) , |
| WR_E_XMLNSPREFIXDECLARATION = ( WR_E_DUPLICATEATTRIBUTE + 1 ) , | | WR_E_DUPLICATEATTRIBUTE = ( WR_E_NSPREFIXWITHEMPTYNSURI + 1 ) , |
| WR_E_XMLPREFIXDECLARATION = ( WR_E_XMLNSPREFIXDECLARATION + 1 ) , | | WR_E_XMLNSPREFIXDECLARATION = ( WR_E_DUPLICATEATTRIBUTE + 1 ) , |
| WR_E_XMLURIDECLARATION = ( WR_E_XMLPREFIXDECLARATION + 1 ) , | | WR_E_XMLPREFIXDECLARATION = ( WR_E_XMLNSPREFIXDECLARATION + 1 ) , |
| WR_E_XMLNSURIDECLARATION = ( WR_E_XMLURIDECLARATION + 1 ) , | | WR_E_XMLURIDECLARATION = ( WR_E_XMLPREFIXDECLARATION + 1 ) , |
| WR_E_NAMESPACEUNDECLARED = ( WR_E_XMLNSURIDECLARATION + 1 ) , | | WR_E_XMLNSURIDECLARATION = ( WR_E_XMLURIDECLARATION + 1 ) , |
| WR_E_INVALIDXMLSPACE = ( WR_E_NAMESPACEUNDECLARED + 1 ) , | | WR_E_NAMESPACEUNDECLARED = ( WR_E_XMLNSURIDECLARATION + 1 ) , |
| WR_E_INVALIDACTION = ( WR_E_INVALIDXMLSPACE + 1 ) , | | WR_E_INVALIDXMLSPACE = ( WR_E_NAMESPACEUNDECLARED + 1 ) , |
| WR_E_INVALIDSURROGATEPAIR = ( WR_E_INVALIDACTION + 1 ) , | | WR_E_INVALIDACTION = ( WR_E_INVALIDXMLSPACE + 1 ) , |
| XML_E_INVALID_DECIMAL = 0xc00ce01d, | | WR_E_INVALIDSURROGATEPAIR = ( WR_E_INVALIDACTION + 1 ) , |
| XML_E_INVALID_HEXIDECIMAL = 0xc00ce01e, | | XML_E_INVALID_DECIMAL = 0xc00ce01d, |
| XML_E_INVALID_UNICODE = 0xc00ce01f, | | XML_E_INVALID_HEXIDECIMAL = 0xc00ce01e, |
| XML_E_INVALIDENCODING = 0xc00ce06e | | XML_E_INVALID_UNICODE = 0xc00ce01f, |
| | XML_E_INVALIDENCODING = 0xc00ce06e |
| } XmlError; | | } XmlError; |
| | |
| typedef | | typedef |
| enum XmlStandalone | | enum XmlStandalone |
|
| { XmlStandalone_Omit = 0, | | { |
| XmlStandalone_Yes = 1, | | XmlStandalone_Omit = 0, |
| XmlStandalone_No = 2, | | XmlStandalone_Yes = 1, |
| _XmlStandalone_Last = 2 | | XmlStandalone_No = 2, |
| | _XmlStandalone_Last = 2 |
| } XmlStandalone; | | } XmlStandalone; |
| | |
| typedef | | typedef |
| enum XmlWriterProperty | | enum XmlWriterProperty |
|
| { XmlWriterProperty_MultiLanguage = 0, | | { |
| XmlWriterProperty_Indent = ( XmlWriterProperty_MultiLanguage + 1 ) | | XmlWriterProperty_MultiLanguage = 0, |
| , | | XmlWriterProperty_Indent = ( XmlWriterProperty_MultiLanguage + 1 ) |
| XmlWriterProperty_ByteOrderMark = ( XmlWriterProperty_Indent + 1 ) , | | , |
| XmlWriterProperty_OmitXmlDeclaration = ( XmlWriterProperty_ByteOrderMa | | XmlWriterProperty_ByteOrderMark = ( XmlWriterProperty_Indent + 1 |
| rk + 1 ) , | | ) , |
| XmlWriterProperty_ConformanceLevel = ( XmlWriterProperty_OmitXmlDecl | | XmlWriterProperty_OmitXmlDeclaration = ( XmlWriterProperty_ByteOrderMa |
| aration + 1 ) , | | rk + 1 ) , |
| _XmlWriterProperty_Last = XmlWriterProperty_OmitXmlDeclaration | | XmlWriterProperty_ConformanceLevel = ( XmlWriterProperty_OmitXmlDecl |
| | aration + 1 ) , |
| | _XmlWriterProperty_Last = XmlWriterProperty_OmitXmlDeclaration |
| } XmlWriterProperty; | | } XmlWriterProperty; |
| | |
| EXTERN_C const IID LIBID_XmlLite; | | EXTERN_C const IID LIBID_XmlLite; |
| | |
| #ifndef __IXmlReader_INTERFACE_DEFINED__ | | #ifndef __IXmlReader_INTERFACE_DEFINED__ |
| #define __IXmlReader_INTERFACE_DEFINED__ | | #define __IXmlReader_INTERFACE_DEFINED__ |
| | |
| /* interface IXmlReader */ | | /* interface IXmlReader */ |
| /* [unique][uuid][local][object][hidden] */ | | /* [unique][uuid][local][object][hidden] */ |
| | |
| EXTERN_C const IID IID_IXmlReader; | | EXTERN_C const IID IID_IXmlReader; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("7279FC81-709D-4095-B63D-69FE4B0D9030") | | MIDL_INTERFACE("7279FC81-709D-4095-B63D-69FE4B0D9030") |
| IXmlReader : public IUnknown | | IXmlReader : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE SetInput( | | virtual HRESULT STDMETHODCALLTYPE SetInput( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt IUnknown *pInput) = 0; | | _In_opt_ IUnknown *pInput) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetProperty( | | virtual HRESULT STDMETHODCALLTYPE GetProperty( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LONG_PTR *ppValue) = 0; | | _Out_ LONG_PTR *ppValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetProperty( | | virtual HRESULT STDMETHODCALLTYPE SetProperty( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LONG_PTR pValue) = 0; | | _In_opt_ LONG_PTR pValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Read( | | virtual HRESULT STDMETHODCALLTYPE Read( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt XmlNodeType *pNodeType) = 0; | | _Out_opt_ XmlNodeType *pNodeType) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNodeType( | | virtual HRESULT STDMETHODCALLTYPE GetNodeType( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out XmlNodeType *pNodeType) = 0; | | _Out_ XmlNodeType *pNodeType) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE MoveToFirstAttribute( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE MoveToFirstAttribute( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE MoveToNextAttribute( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE MoveToNextAttribute( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE MoveToAttributeByName( | | virtual HRESULT STDMETHODCALLTYPE MoveToAttributeByName( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri) = 0; | | _In_opt_ LPCWSTR pwszNamespaceUri) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE MoveToElement( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE MoveToElement( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetQualifiedName( | | virtual HRESULT STDMETHODCALLTYPE GetQualifiedName( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszQualifiedName, | | _Outptr_result_buffer_maybenull_(*pcwchQualifiedName+1) LPCWSTR *pp
wszQualifiedName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchQualifiedName) = 0; | | _Out_opt_ UINT *pcwchQualifiedName) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNamespaceUri( | | virtual HRESULT STDMETHODCALLTYPE GetNamespaceUri( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszNamespaceUri, | | _Outptr_result_buffer_maybenull_(*pcwchNamespaceUri+1) LPCWSTR *ppw
szNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchNamespaceUri) = 0; | | _Out_opt_ UINT *pcwchNamespaceUri) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetLocalName( | | virtual HRESULT STDMETHODCALLTYPE GetLocalName( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszLocalName, | | _Outptr_result_buffer_maybenull_(*pcwchLocalName+1) LPCWSTR *ppwszL
ocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchLocalName) = 0; | | _Out_opt_ UINT *pcwchLocalName) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPrefix( | | virtual HRESULT STDMETHODCALLTYPE GetPrefix( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszPrefix, | | _Outptr_result_buffer_maybenull_(*pcwchPrefix+1) LPCWSTR *ppwszPref
ix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchPrefix) = 0; | | _Out_opt_ UINT *pcwchPrefix) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetValue( | | virtual HRESULT STDMETHODCALLTYPE GetValue( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszValue, | | _Outptr_result_buffer_maybenull_(*pcwchValue+1) LPCWSTR *ppwszValue
, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchValue) = 0; | | _Out_opt_ UINT *pcwchValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE ReadValueChunk( | | virtual HRESULT STDMETHODCALLTYPE ReadValueChunk( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_part(cwchChunkSize, *pcwchRead) WCHAR *pwchBuffer, | | _Out_writes_to_(cwchChunkSize, *pcwchRead) WCHAR *pwchBuffer, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwchChunkSize, | | _In_ UINT cwchChunkSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout UINT *pcwchRead) = 0; | | _Inout_ UINT *pcwchRead) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetBaseUri( | | virtual HRESULT STDMETHODCALLTYPE GetBaseUri( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszBaseUri, | | _Outptr_result_buffer_maybenull_(*pcwchBaseUri+1) LPCWSTR *ppwszBas
eUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchBaseUri) = 0; | | _Out_opt_ UINT *pcwchBaseUri) = 0; |
| | |
| virtual BOOL STDMETHODCALLTYPE IsDefault( void) = 0; | | virtual BOOL STDMETHODCALLTYPE IsDefault( void) = 0; |
| | |
| virtual BOOL STDMETHODCALLTYPE IsEmptyElement( void) = 0; | | virtual BOOL STDMETHODCALLTYPE IsEmptyElement( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetLineNumber( | | virtual HRESULT STDMETHODCALLTYPE GetLineNumber( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnLineNumber) = 0; | | _Out_ UINT *pnLineNumber) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetLinePosition( | | virtual HRESULT STDMETHODCALLTYPE GetLinePosition( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnLinePosition) = 0; | | _Out_ UINT *pnLinePosition) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetAttributeCount( | | virtual HRESULT STDMETHODCALLTYPE GetAttributeCount( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnAttributeCount) = 0; | | _Out_ UINT *pnAttributeCount) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetDepth( | | virtual HRESULT STDMETHODCALLTYPE GetDepth( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnDepth) = 0; | | _Out_ UINT *pnDepth) = 0; |
| | |
| virtual BOOL STDMETHODCALLTYPE IsEOF( void) = 0; | | virtual BOOL STDMETHODCALLTYPE IsEOF( void) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IXmlReaderVtbl | | typedef struct IXmlReaderVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetInput )( | | HRESULT ( STDMETHODCALLTYPE *SetInput )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt IUnknown *pInput); | | _In_opt_ IUnknown *pInput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetProperty )( | | HRESULT ( STDMETHODCALLTYPE *GetProperty )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LONG_PTR *ppValue); | | _Out_ LONG_PTR *ppValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetProperty )( | | HRESULT ( STDMETHODCALLTYPE *SetProperty )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LONG_PTR pValue); | | _In_opt_ LONG_PTR pValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Read )( | | HRESULT ( STDMETHODCALLTYPE *Read )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt XmlNodeType *pNodeType); | | _Out_opt_ XmlNodeType *pNodeType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNodeType )( | | HRESULT ( STDMETHODCALLTYPE *GetNodeType )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out XmlNodeType *pNodeType); | | _Out_ XmlNodeType *pNodeType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MoveToFirstAttribute )( | | HRESULT ( STDMETHODCALLTYPE *MoveToFirstAttribute )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MoveToNextAttribute )( | | HRESULT ( STDMETHODCALLTYPE *MoveToNextAttribute )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MoveToAttributeByName )( | | HRESULT ( STDMETHODCALLTYPE *MoveToAttributeByName )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri); | | _In_opt_ LPCWSTR pwszNamespaceUri); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MoveToElement )( | | HRESULT ( STDMETHODCALLTYPE *MoveToElement )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetQualifiedName )( | | HRESULT ( STDMETHODCALLTYPE *GetQualifiedName )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszQualifiedName, | | _Outptr_result_buffer_maybenull_(*pcwchQualifiedName+1) LPCWSTR *pp
wszQualifiedName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchQualifiedName); | | _Out_opt_ UINT *pcwchQualifiedName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNamespaceUri )( | | HRESULT ( STDMETHODCALLTYPE *GetNamespaceUri )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszNamespaceUri, | | _Outptr_result_buffer_maybenull_(*pcwchNamespaceUri+1) LPCWSTR *ppw
szNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchNamespaceUri); | | _Out_opt_ UINT *pcwchNamespaceUri); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetLocalName )( | | HRESULT ( STDMETHODCALLTYPE *GetLocalName )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszLocalName, | | _Outptr_result_buffer_maybenull_(*pcwchLocalName+1) LPCWSTR *ppwszL
ocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchLocalName); | | _Out_opt_ UINT *pcwchLocalName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPrefix )( | | HRESULT ( STDMETHODCALLTYPE *GetPrefix )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszPrefix, | | _Outptr_result_buffer_maybenull_(*pcwchPrefix+1) LPCWSTR *ppwszPref
ix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchPrefix); | | _Out_opt_ UINT *pcwchPrefix); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetValue )( | | HRESULT ( STDMETHODCALLTYPE *GetValue )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszValue, | | _Outptr_result_buffer_maybenull_(*pcwchValue+1) LPCWSTR *ppwszValue
, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchValue); | | _Out_opt_ UINT *pcwchValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ReadValueChunk )( | | HRESULT ( STDMETHODCALLTYPE *ReadValueChunk )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_part(cwchChunkSize, *pcwchRead) WCHAR *pwchBuffer, | | _Out_writes_to_(cwchChunkSize, *pcwchRead) WCHAR *pwchBuffer, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwchChunkSize, | | _In_ UINT cwchChunkSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout UINT *pcwchRead); | | _Inout_ UINT *pcwchRead); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetBaseUri )( | | HRESULT ( STDMETHODCALLTYPE *GetBaseUri )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LPCWSTR *ppwszBaseUri, | | _Outptr_result_buffer_maybenull_(*pcwchBaseUri+1) LPCWSTR *ppwszBas
eUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pcwchBaseUri); | | _Out_opt_ UINT *pcwchBaseUri); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsDefault )( | | BOOL ( STDMETHODCALLTYPE *IsDefault )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsEmptyElement )( | | BOOL ( STDMETHODCALLTYPE *IsEmptyElement )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetLineNumber )( | | HRESULT ( STDMETHODCALLTYPE *GetLineNumber )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnLineNumber); | | _Out_ UINT *pnLineNumber); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetLinePosition )( | | HRESULT ( STDMETHODCALLTYPE *GetLinePosition )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnLinePosition); | | _Out_ UINT *pnLinePosition); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAttributeCount )( | | HRESULT ( STDMETHODCALLTYPE *GetAttributeCount )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnAttributeCount); | | _Out_ UINT *pnAttributeCount); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDepth )( | | HRESULT ( STDMETHODCALLTYPE *GetDepth )( |
| IXmlReader * This, | | IXmlReader * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pnDepth); | | _Out_ UINT *pnDepth); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsEOF )( | | BOOL ( STDMETHODCALLTYPE *IsEOF )( |
| IXmlReader * This); | | IXmlReader * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IXmlReaderVtbl; | | } IXmlReaderVtbl; |
| | |
| interface IXmlReader | | interface IXmlReader |
| { | | { |
| CONST_VTBL struct IXmlReaderVtbl *lpVtbl; | | CONST_VTBL struct IXmlReaderVtbl *lpVtbl; |
| | |
| skipping to change at line 660 | | skipping to change at line 663 |
| EXTERN_C const IID IID_IXmlResolver; | | EXTERN_C const IID IID_IXmlResolver; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("7279FC82-709D-4095-B63D-69FE4B0D9030") | | MIDL_INTERFACE("7279FC82-709D-4095-B63D-69FE4B0D9030") |
| IXmlResolver : public IUnknown | | IXmlResolver : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE ResolveUri( | | virtual HRESULT STDMETHODCALLTYPE ResolveUri( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszBaseUri, | | _In_opt_ LPCWSTR pwszBaseUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPublicIdentifier, | | _In_opt_ LPCWSTR pwszPublicIdentifier, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSystemIdentifier, | | _In_opt_ LPCWSTR pwszSystemIdentifier, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out IUnknown **ppResolvedInput) = 0; | | _Out_ IUnknown **ppResolvedInput) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IXmlResolverVtbl | | typedef struct IXmlResolverVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IXmlResolver * This, | | IXmlResolver * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IXmlResolver * This); | | IXmlResolver * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IXmlResolver * This); | | IXmlResolver * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ResolveUri )( | | HRESULT ( STDMETHODCALLTYPE *ResolveUri )( |
| IXmlResolver * This, | | IXmlResolver * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszBaseUri, | | _In_opt_ LPCWSTR pwszBaseUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPublicIdentifier, | | _In_opt_ LPCWSTR pwszPublicIdentifier, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSystemIdentifier, | | _In_opt_ LPCWSTR pwszSystemIdentifier, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out IUnknown **ppResolvedInput); | | _Out_ IUnknown **ppResolvedInput); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IXmlResolverVtbl; | | } IXmlResolverVtbl; |
| | |
| interface IXmlResolver | | interface IXmlResolver |
| { | | { |
| CONST_VTBL struct IXmlResolverVtbl *lpVtbl; | | CONST_VTBL struct IXmlResolverVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 743 | | skipping to change at line 746 |
| EXTERN_C const IID IID_IXmlWriter; | | EXTERN_C const IID IID_IXmlWriter; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("7279FC88-709D-4095-B63D-69FE4B0D9030") | | MIDL_INTERFACE("7279FC88-709D-4095-B63D-69FE4B0D9030") |
| IXmlWriter : public IUnknown | | IXmlWriter : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE SetOutput( | | virtual HRESULT STDMETHODCALLTYPE SetOutput( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt IUnknown *pOutput) = 0; | | _In_opt_ IUnknown *pOutput) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetProperty( | | virtual HRESULT STDMETHODCALLTYPE GetProperty( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LONG_PTR *ppValue) = 0; | | _Out_ LONG_PTR *ppValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetProperty( | | virtual HRESULT STDMETHODCALLTYPE SetProperty( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LONG_PTR pValue) = 0; | | _In_opt_ LONG_PTR pValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteAttributes( | | virtual HRESULT STDMETHODCALLTYPE WriteAttributes( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes) = 0; | | _In_ BOOL fWriteDefaultAttributes) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteAttributeString( | | virtual HRESULT STDMETHODCALLTYPE WriteAttributeString( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszLocalName, | | _In_opt_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri, | | _In_opt_ LPCWSTR pwszNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszValue) = 0; | | _In_opt_ LPCWSTR pwszValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteCData( | | virtual HRESULT STDMETHODCALLTYPE WriteCData( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText) = 0; | | _In_opt_ LPCWSTR pwszText) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteCharEntity( | | virtual HRESULT STDMETHODCALLTYPE WriteCharEntity( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wch) = 0; | | _In_ WCHAR wch) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteChars( | | virtual HRESULT STDMETHODCALLTYPE WriteChars( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(cwch) const WCHAR *pwch, | | _In_reads_opt_(cwch) const WCHAR *pwch, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwch) = 0; | | _In_ UINT cwch) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteComment( | | virtual HRESULT STDMETHODCALLTYPE WriteComment( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszComment) = 0; | | _In_opt_ LPCWSTR pwszComment) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteDocType( | | virtual HRESULT STDMETHODCALLTYPE WriteDocType( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszName, | | _In_opt_ LPCWSTR pwszName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPublicId, | | _In_opt_ LPCWSTR pwszPublicId, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSystemId, | | _In_opt_ LPCWSTR pwszSystemId, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSubset) = 0; | | _In_opt_ LPCWSTR pwszSubset) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteElementString( | | virtual HRESULT STDMETHODCALLTYPE WriteElementString( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri, | | _In_opt_ LPCWSTR pwszNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszValue) = 0; | | _In_opt_ LPCWSTR pwszValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteEndDocument( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE WriteEndDocument( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteEndElement( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE WriteEndElement( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteEntityRef( | | virtual HRESULT STDMETHODCALLTYPE WriteEntityRef( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName) = 0; | | _In_ LPCWSTR pwszName) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteFullEndElement( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE WriteFullEndElement( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteName( | | virtual HRESULT STDMETHODCALLTYPE WriteName( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName) = 0; | | _In_ LPCWSTR pwszName) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteNmToken( | | virtual HRESULT STDMETHODCALLTYPE WriteNmToken( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszNmToken) = 0; | | _In_ LPCWSTR pwszNmToken) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteNode( | | virtual HRESULT STDMETHODCALLTYPE WriteNode( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes) = 0; | | _In_ BOOL fWriteDefaultAttributes) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteNodeShallow( | | virtual HRESULT STDMETHODCALLTYPE WriteNodeShallow( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes) = 0; | | _In_ BOOL fWriteDefaultAttributes) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteProcessingInstruction( | | virtual HRESULT STDMETHODCALLTYPE WriteProcessingInstruction( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName, | | _In_ LPCWSTR pwszName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText) = 0; | | _In_opt_ LPCWSTR pwszText) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteQualifiedName( | | virtual HRESULT STDMETHODCALLTYPE WriteQualifiedName( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri) = 0; | | _In_opt_ LPCWSTR pwszNamespaceUri) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteRaw( | | virtual HRESULT STDMETHODCALLTYPE WriteRaw( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszData) = 0; | | _In_opt_ LPCWSTR pwszData) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteRawChars( | | virtual HRESULT STDMETHODCALLTYPE WriteRawChars( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(cwch) const WCHAR *pwch, | | _In_reads_opt_(cwch) const WCHAR *pwch, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwch) = 0; | | _In_ UINT cwch) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteStartDocument( | | virtual HRESULT STDMETHODCALLTYPE WriteStartDocument( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in XmlStandalone standalone) = 0; | | _In_ XmlStandalone standalone) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteStartElement( | | virtual HRESULT STDMETHODCALLTYPE WriteStartElement( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri) = 0; | | _In_opt_ LPCWSTR pwszNamespaceUri) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteString( | | virtual HRESULT STDMETHODCALLTYPE WriteString( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText) = 0; | | _In_opt_ LPCWSTR pwszText) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteSurrogateCharEntity( | | virtual HRESULT STDMETHODCALLTYPE WriteSurrogateCharEntity( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wchLow, | | _In_ WCHAR wchLow, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wchHigh) = 0; | | _In_ WCHAR wchHigh) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteWhitespace( | | virtual HRESULT STDMETHODCALLTYPE WriteWhitespace( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszWhitespace) = 0; | | _In_opt_ LPCWSTR pwszWhitespace) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IXmlWriterVtbl | | typedef struct IXmlWriterVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetOutput )( | | HRESULT ( STDMETHODCALLTYPE *SetOutput )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt IUnknown *pOutput); | | _In_opt_ IUnknown *pOutput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetProperty )( | | HRESULT ( STDMETHODCALLTYPE *GetProperty )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out LONG_PTR *ppValue); | | _Out_ LONG_PTR *ppValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetProperty )( | | HRESULT ( STDMETHODCALLTYPE *SetProperty )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT nProperty, | | _In_ UINT nProperty, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LONG_PTR pValue); | | _In_opt_ LONG_PTR pValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteAttributes )( | | HRESULT ( STDMETHODCALLTYPE *WriteAttributes )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes); | | _In_ BOOL fWriteDefaultAttributes); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteAttributeString )( | | HRESULT ( STDMETHODCALLTYPE *WriteAttributeString )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszLocalName, | | _In_opt_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri, | | _In_opt_ LPCWSTR pwszNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszValue); | | _In_opt_ LPCWSTR pwszValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteCData )( | | HRESULT ( STDMETHODCALLTYPE *WriteCData )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText); | | _In_opt_ LPCWSTR pwszText); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteCharEntity )( | | HRESULT ( STDMETHODCALLTYPE *WriteCharEntity )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wch); | | _In_ WCHAR wch); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteChars )( | | HRESULT ( STDMETHODCALLTYPE *WriteChars )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(cwch) const WCHAR *pwch, | | _In_reads_opt_(cwch) const WCHAR *pwch, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwch); | | _In_ UINT cwch); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteComment )( | | HRESULT ( STDMETHODCALLTYPE *WriteComment )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszComment); | | _In_opt_ LPCWSTR pwszComment); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteDocType )( | | HRESULT ( STDMETHODCALLTYPE *WriteDocType )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszName, | | _In_opt_ LPCWSTR pwszName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPublicId, | | _In_opt_ LPCWSTR pwszPublicId, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSystemId, | | _In_opt_ LPCWSTR pwszSystemId, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszSubset); | | _In_opt_ LPCWSTR pwszSubset); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteElementString )( | | HRESULT ( STDMETHODCALLTYPE *WriteElementString )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri, | | _In_opt_ LPCWSTR pwszNamespaceUri, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszValue); | | _In_opt_ LPCWSTR pwszValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteEndDocument )( | | HRESULT ( STDMETHODCALLTYPE *WriteEndDocument )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteEndElement )( | | HRESULT ( STDMETHODCALLTYPE *WriteEndElement )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteEntityRef )( | | HRESULT ( STDMETHODCALLTYPE *WriteEntityRef )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName); | | _In_ LPCWSTR pwszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteFullEndElement )( | | HRESULT ( STDMETHODCALLTYPE *WriteFullEndElement )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteName )( | | HRESULT ( STDMETHODCALLTYPE *WriteName )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName); | | _In_ LPCWSTR pwszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteNmToken )( | | HRESULT ( STDMETHODCALLTYPE *WriteNmToken )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszNmToken); | | _In_ LPCWSTR pwszNmToken); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteNode )( | | HRESULT ( STDMETHODCALLTYPE *WriteNode )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes); | | _In_ BOOL fWriteDefaultAttributes); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteNodeShallow )( | | HRESULT ( STDMETHODCALLTYPE *WriteNodeShallow )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in IXmlReader *pReader, | | _In_ IXmlReader *pReader, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL fWriteDefaultAttributes); | | _In_ BOOL fWriteDefaultAttributes); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteProcessingInstruction )( | | HRESULT ( STDMETHODCALLTYPE *WriteProcessingInstruction )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszName, | | _In_ LPCWSTR pwszName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText); | | _In_opt_ LPCWSTR pwszText); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteQualifiedName )( | | HRESULT ( STDMETHODCALLTYPE *WriteQualifiedName )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri); | | _In_opt_ LPCWSTR pwszNamespaceUri); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteRaw )( | | HRESULT ( STDMETHODCALLTYPE *WriteRaw )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszData); | | _In_opt_ LPCWSTR pwszData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteRawChars )( | | HRESULT ( STDMETHODCALLTYPE *WriteRawChars )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(cwch) const WCHAR *pwch, | | _In_reads_opt_(cwch) const WCHAR *pwch, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT cwch); | | _In_ UINT cwch); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteStartDocument )( | | HRESULT ( STDMETHODCALLTYPE *WriteStartDocument )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in XmlStandalone standalone); | | _In_ XmlStandalone standalone); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteStartElement )( | | HRESULT ( STDMETHODCALLTYPE *WriteStartElement )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszPrefix, | | _In_opt_ LPCWSTR pwszPrefix, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in LPCWSTR pwszLocalName, | | _In_ LPCWSTR pwszLocalName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszNamespaceUri); | | _In_opt_ LPCWSTR pwszNamespaceUri); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteString )( | | HRESULT ( STDMETHODCALLTYPE *WriteString )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszText); | | _In_opt_ LPCWSTR pwszText); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteSurrogateCharEntity )( | | HRESULT ( STDMETHODCALLTYPE *WriteSurrogateCharEntity )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wchLow, | | _In_ WCHAR wchLow, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in WCHAR wchHigh); | | _In_ WCHAR wchHigh); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteWhitespace )( | | HRESULT ( STDMETHODCALLTYPE *WriteWhitespace )( |
| IXmlWriter * This, | | IXmlWriter * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt LPCWSTR pwszWhitespace); | | _In_opt_ LPCWSTR pwszWhitespace); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Flush )( | | HRESULT ( STDMETHODCALLTYPE *Flush )( |
| IXmlWriter * This); | | IXmlWriter * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IXmlWriterVtbl; | | } IXmlWriterVtbl; |
| | |
| interface IXmlWriter | | interface IXmlWriter |
| { | | { |
| CONST_VTBL struct IXmlWriterVtbl *lpVtbl; | | CONST_VTBL struct IXmlWriterVtbl *lpVtbl; |
| | |
| skipping to change at line 1204 | | skipping to change at line 1207 |
| ( (This)->lpVtbl -> Flush(This) ) | | ( (This)->lpVtbl -> Flush(This) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IXmlWriter_INTERFACE_DEFINED__ */ | | #endif /* __IXmlWriter_INTERFACE_DEFINED__ */ |
| | |
| #endif /* __XmlLite_LIBRARY_DEFINED__ */ | | #endif /* __XmlLite_LIBRARY_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_xmllite_0001_0113 */ | | /* interface __MIDL_itf_xmllite_0000_0001 */ |
| /* [local] */ | | /* [local] */ |
| | |
| ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// | | ////////////////////////////////////////////////////////////////////////////////
//////////////////////////// |
| // IID helpers | | // IID helpers |
|
| #define IID_IXmlReader __uuidof(IXmlReader) | | static const IID _IID_IXmlReader = { 0x7279FC81, 0x709D, 0x4095, { 0xB6, 0x3D, 0 |
| #define IID_IXmlWriter __uuidof(IXmlWriter) | | x69, 0xFE, 0x4B, 0x0D, 0x90, 0x30 } }; |
| #define IID_IXmlResolver __uuidof(IXmlResolver) | | static const IID _IID_IXmlWriter = { 0x7279FC88, 0x709D, 0x4095, { 0xB6, 0x3D, 0 |
| | x69, 0xFE, 0x4B, 0x0D, 0x90, 0x30 } }; |
| | static const IID _IID_IXmlResolver = { 0x7279FC82, 0x709D, 0x4095, { 0xB6, 0x3D, |
| | 0x69, 0xFE, 0x4B, 0x0D, 0x90, 0x30 } }; |
| | #define IID_IXmlReader _IID_IXmlReader |
| | #define IID_IXmlWriter _IID_IXmlWriter |
| | #define IID_IXmlResolver _IID_IXmlResolver |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_xmllite_0001_0113_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0001_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_xmllite_0001_0113_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xmllite_0000_0001_v0_0_s_ifspec; |
| | |
| /* Additional Prototypes for ALL interfaces */ | | /* Additional Prototypes for ALL interfaces */ |
| | |
| /* end of Additional Prototypes */ | | /* end of Additional Prototypes */ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
| #endif | | #endif |
| | |
| End of changes. 179 change blocks. |
| 339 lines changed or deleted | | 347 lines changed or added |
|