📄 msxml2.tlh
字号:
_bstr_t charset;
__declspec(property(get=Getversion))
_bstr_t version;
__declspec(property(get=Getdoctype))
_bstr_t doctype;
__declspec(property(get=GetdtdURL))
_bstr_t dtdURL;
//
// Wrapper methods for error-handling
//
IXMLElementPtr Getroot ( );
_bstr_t GetfileSize ( );
_bstr_t GetfileModifiedDate ( );
_bstr_t GetfileUpdatedDate ( );
_bstr_t Geturl ( );
void Puturl (
_bstr_t p );
_bstr_t GetmimeType ( );
long GetreadyState ( );
_bstr_t Getcharset ( );
void Putcharset (
_bstr_t p );
_bstr_t Getversion ( );
_bstr_t Getdoctype ( );
_bstr_t GetdtdURL ( );
IXMLElementPtr createElement (
const _variant_t & vType,
const _variant_t & var1 = vtMissing );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_root (
struct IXMLElement * * p ) = 0;
virtual HRESULT __stdcall get_fileSize (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_fileModifiedDate (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_fileUpdatedDate (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_url (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_url (
BSTR p ) = 0;
virtual HRESULT __stdcall get_mimeType (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_readyState (
long * pl ) = 0;
virtual HRESULT __stdcall get_charset (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_charset (
BSTR p ) = 0;
virtual HRESULT __stdcall get_version (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_doctype (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_dtdURL (
BSTR * p ) = 0;
virtual HRESULT __stdcall raw_createElement (
VARIANT vType,
VARIANT var1,
struct IXMLElement * * ppElem ) = 0;
};
struct __declspec(uuid("3f7f31ac-e15f-11d0-9c25-00c04fc99c8e"))
IXMLElement : IDispatch
{
//
// Property data
//
__declspec(property(get=GettagName,put=PuttagName))
_bstr_t tagName;
__declspec(property(get=Getparent))
IXMLElementPtr parent;
__declspec(property(get=Getchildren))
IXMLElementCollectionPtr children;
__declspec(property(get=Gettype))
long type;
__declspec(property(get=Gettext,put=Puttext))
_bstr_t text;
//
// Wrapper methods for error-handling
//
_bstr_t GettagName ( );
void PuttagName (
_bstr_t p );
IXMLElementPtr Getparent ( );
HRESULT setAttribute (
_bstr_t strPropertyName,
const _variant_t & PropertyValue );
_variant_t getAttribute (
_bstr_t strPropertyName );
HRESULT removeAttribute (
_bstr_t strPropertyName );
IXMLElementCollectionPtr Getchildren ( );
long Gettype ( );
_bstr_t Gettext ( );
void Puttext (
_bstr_t p );
HRESULT addChild (
struct IXMLElement * pChildElem,
long lIndex,
long lReserved );
HRESULT removeChild (
struct IXMLElement * pChildElem );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_tagName (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_tagName (
BSTR p ) = 0;
virtual HRESULT __stdcall get_parent (
struct IXMLElement * * ppParent ) = 0;
virtual HRESULT __stdcall raw_setAttribute (
BSTR strPropertyName,
VARIANT PropertyValue ) = 0;
virtual HRESULT __stdcall raw_getAttribute (
BSTR strPropertyName,
VARIANT * PropertyValue ) = 0;
virtual HRESULT __stdcall raw_removeAttribute (
BSTR strPropertyName ) = 0;
virtual HRESULT __stdcall get_children (
struct IXMLElementCollection * * pp ) = 0;
virtual HRESULT __stdcall get_type (
long * plType ) = 0;
virtual HRESULT __stdcall get_text (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_text (
BSTR p ) = 0;
virtual HRESULT __stdcall raw_addChild (
struct IXMLElement * pChildElem,
long lIndex,
long lReserved ) = 0;
virtual HRESULT __stdcall raw_removeChild (
struct IXMLElement * pChildElem ) = 0;
};
struct __declspec(uuid("2b8de2fe-8d2d-11d1-b2fc-00c04fd915a9"))
IXMLDocument2 : IDispatch
{
//
// Property data
//
__declspec(property(get=Getroot))
IXMLElement2Ptr root;
__declspec(property(get=GetfileSize))
_bstr_t fileSize;
__declspec(property(get=GetfileModifiedDate))
_bstr_t fileModifiedDate;
__declspec(property(get=GetfileUpdatedDate))
_bstr_t fileUpdatedDate;
__declspec(property(get=Geturl,put=Puturl))
_bstr_t url;
__declspec(property(get=GetmimeType))
_bstr_t mimeType;
__declspec(property(get=GetreadyState))
long readyState;
__declspec(property(get=Getcharset,put=Putcharset))
_bstr_t charset;
__declspec(property(get=Getversion))
_bstr_t version;
__declspec(property(get=Getdoctype))
_bstr_t doctype;
__declspec(property(get=GetdtdURL))
_bstr_t dtdURL;
__declspec(property(get=Getasync,put=Putasync))
VARIANT_BOOL async;
//
// Wrapper methods for error-handling
//
IXMLElement2Ptr Getroot ( );
_bstr_t GetfileSize ( );
_bstr_t GetfileModifiedDate ( );
_bstr_t GetfileUpdatedDate ( );
_bstr_t Geturl ( );
void Puturl (
_bstr_t p );
_bstr_t GetmimeType ( );
long GetreadyState ( );
_bstr_t Getcharset ( );
void Putcharset (
_bstr_t p );
_bstr_t Getversion ( );
_bstr_t Getdoctype ( );
_bstr_t GetdtdURL ( );
IXMLElement2Ptr createElement (
const _variant_t & vType,
const _variant_t & var1 = vtMissing );
VARIANT_BOOL Getasync ( );
void Putasync (
VARIANT_BOOL pf );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_root (
struct IXMLElement2 * * p ) = 0;
virtual HRESULT __stdcall get_fileSize (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_fileModifiedDate (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_fileUpdatedDate (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_url (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_url (
BSTR p ) = 0;
virtual HRESULT __stdcall get_mimeType (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_readyState (
long * pl ) = 0;
virtual HRESULT __stdcall get_charset (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_charset (
BSTR p ) = 0;
virtual HRESULT __stdcall get_version (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_doctype (
BSTR * p ) = 0;
virtual HRESULT __stdcall get_dtdURL (
BSTR * p ) = 0;
virtual HRESULT __stdcall raw_createElement (
VARIANT vType,
VARIANT var1,
struct IXMLElement2 * * ppElem ) = 0;
virtual HRESULT __stdcall get_async (
VARIANT_BOOL * pf ) = 0;
virtual HRESULT __stdcall put_async (
VARIANT_BOOL pf ) = 0;
};
struct __declspec(uuid("2b8de2ff-8d2d-11d1-b2fc-00c04fd915a9"))
IXMLElement2 : IDispatch
{
//
// Property data
//
__declspec(property(get=GettagName,put=PuttagName))
_bstr_t tagName;
__declspec(property(get=Getparent))
IXMLElement2Ptr parent;
__declspec(property(get=Getchildren))
IXMLElementCollectionPtr children;
__declspec(property(get=Gettype))
long type;
__declspec(property(get=Gettext,put=Puttext))
_bstr_t text;
__declspec(property(get=Getattributes))
IXMLElementCollectionPtr attributes;
//
// Wrapper methods for error-handling
//
_bstr_t GettagName ( );
void PuttagName (
_bstr_t p );
IXMLElement2Ptr Getparent ( );
HRESULT setAttribute (
_bstr_t strPropertyName,
const _variant_t & PropertyValue );
_variant_t getAttribute (
_bstr_t strPropertyName );
HRESULT removeAttribute (
_bstr_t strPropertyName );
IXMLElementCollectionPtr Getchildren ( );
long Gettype ( );
_bstr_t Gettext ( );
void Puttext (
_bstr_t p );
HRESULT addChild (
struct IXMLElement2 * pChildElem,
long lIndex,
long lReserved );
HRESULT removeChild (
struct IXMLElement2 * pChildElem );
IXMLElementCollectionPtr Getattributes ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_tagName (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_tagName (
BSTR p ) = 0;
virtual HRESULT __stdcall get_parent (
struct IXMLElement2 * * ppParent ) = 0;
virtual HRESULT __stdcall raw_setAttribute (
BSTR strPropertyName,
VARIANT PropertyValue ) = 0;
virtual HRESULT __stdcall raw_getAttribute (
BSTR strPropertyName,
VARIANT * PropertyValue ) = 0;
virtual HRESULT __stdcall raw_removeAttribute (
BSTR strPropertyName ) = 0;
virtual HRESULT __stdcall get_children (
struct IXMLElementCollection * * pp ) = 0;
virtual HRESULT __stdcall get_type (
long * plType ) = 0;
virtual HRESULT __stdcall get_text (
BSTR * p ) = 0;
virtual HRESULT __stdcall put_text (
BSTR p ) = 0;
virtual HRESULT __stdcall raw_addChild (
struct IXMLElement2 * pChildElem,
long lIndex,
long lReserved ) = 0;
virtual HRESULT __stdcall raw_removeChild (
struct IXMLElement2 * pChildElem ) = 0;
virtual HRESULT __stdcall get_attributes (
struct IXMLElementCollection * * pp ) = 0;
};
struct __declspec(uuid("d4d4a0fc-3b73-11d1-b2b4-00c04fb92596"))
IXMLAttribute : IDispatch
{
//
// Property data
//
__declspec(property(get=Getname))
_bstr_t name;
__declspec(property(get=Getvalue))
_bstr_t value;
//
// Wrapper methods for error-handling
//
_bstr_t Getname ( );
_bstr_t Getvalue ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_name (
BSTR * n ) = 0;
virtual HRESULT __stdcall get_value (
BSTR * v ) = 0;
};
struct __declspec(uuid("948c5ad3-c58d-11d0-9c0b-00c04fc99c8e"))
IXMLError : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT GetErrorInfo (
struct _xml_error * pErrorReturn );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetErrorInfo (
struct _xml_error * pErrorReturn ) = 0;
};
struct _xml_error
{
unsigned int _nLine;
BSTR _pchBuf;
unsigned int _cchBuf;
unsigned int _ich;
BSTR _pszFound;
BSTR _pszExpected;
unsigned long _reserved1;
unsigned long _reserved2;
};
enum tagXMLEMEM_TYPE
{
XMLELEMTYPE_ELEMENT = 0,
XMLELEMTYPE_TEXT = 1,
XMLELEMTYPE_COMMENT = 2,
XMLELEMTYPE_DOCUMENT = 3,
XMLELEMTYPE_DTD = 4,
XMLELEMTYPE_PI = 5,
XMLELEMTYPE_OTHER = 6
};
struct __declspec(uuid("f6d90f10-9c73-11d3-b32e-00c04f990bb4"))
XMLDocument;
// [ default ] interface IXMLDocument2
struct __declspec(uuid("f5078f22-c551-11d3-89b9-0000f81fe221"))
XMLDocument26;
// [ default ] interface IXMLDocument2
//
// Wrapper method implementations
//
#include "msxml2.tli"
} // namespace MSXML2
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -