📄 msxml.tli
字号:
//
// interface IXMLDOMProcessingInstruction wrapper method implementations
//
inline _bstr_t IXMLDOMProcessingInstruction::Gettarget ( ) {
BSTR _result;
HRESULT _hr = get_target(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXMLDOMProcessingInstruction::Getdata ( ) {
BSTR _result;
HRESULT _hr = get_data(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IXMLDOMProcessingInstruction::Putdata ( _bstr_t value ) {
HRESULT _hr = put_data(value);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface IXMLDOMParseError wrapper method implementations
//
inline long IXMLDOMParseError::GeterrorCode ( ) {
long _result;
HRESULT _hr = get_errorCode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _bstr_t IXMLDOMParseError::Geturl ( ) {
BSTR _result;
HRESULT _hr = get_url(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXMLDOMParseError::Getreason ( ) {
BSTR _result;
HRESULT _hr = get_reason(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXMLDOMParseError::GetsrcText ( ) {
BSTR _result;
HRESULT _hr = get_srcText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline long IXMLDOMParseError::Getline ( ) {
long _result;
HRESULT _hr = get_line(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXMLDOMParseError::Getlinepos ( ) {
long _result;
HRESULT _hr = get_linepos(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXMLDOMParseError::Getfilepos ( ) {
long _result;
HRESULT _hr = get_filepos(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
//
// interface IXMLDOMNotation wrapper method implementations
//
inline _variant_t IXMLDOMNotation::GetpublicId ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_publicId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t IXMLDOMNotation::GetsystemId ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_systemId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
//
// interface IXMLDOMEntity wrapper method implementations
//
inline _variant_t IXMLDOMEntity::GetpublicId ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_publicId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t IXMLDOMEntity::GetsystemId ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_systemId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _bstr_t IXMLDOMEntity::GetnotationName ( ) {
BSTR _result;
HRESULT _hr = get_notationName(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
//
// interface IXTLRuntime wrapper method implementations
//
inline long IXTLRuntime::uniqueID ( struct IXMLDOMNode * pNode ) {
long _result;
HRESULT _hr = raw_uniqueID(pNode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXTLRuntime::depth ( struct IXMLDOMNode * pNode ) {
long _result;
HRESULT _hr = raw_depth(pNode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXTLRuntime::childNumber ( struct IXMLDOMNode * pNode ) {
long _result;
HRESULT _hr = raw_childNumber(pNode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXTLRuntime::ancestorChildNumber ( _bstr_t bstrNodeName, struct IXMLDOMNode * pNode ) {
long _result;
HRESULT _hr = raw_ancestorChildNumber(bstrNodeName, pNode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IXTLRuntime::absoluteChildNumber ( struct IXMLDOMNode * pNode ) {
long _result;
HRESULT _hr = raw_absoluteChildNumber(pNode, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _bstr_t IXTLRuntime::formatIndex ( long lIndex, _bstr_t bstrFormat ) {
BSTR _result;
HRESULT _hr = raw_formatIndex(lIndex, bstrFormat, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXTLRuntime::formatNumber ( double dblNumber, _bstr_t bstrFormat ) {
BSTR _result;
HRESULT _hr = raw_formatNumber(dblNumber, bstrFormat, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXTLRuntime::formatDate ( const _variant_t & varDate, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
BSTR _result;
HRESULT _hr = raw_formatDate(varDate, bstrFormat, varDestLocale, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXTLRuntime::formatTime ( const _variant_t & varTime, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
BSTR _result;
HRESULT _hr = raw_formatTime(varTime, bstrFormat, varDestLocale, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
//
// dispinterface XMLDOMDocumentEvents wrapper method implementations
//
inline HRESULT XMLDOMDocumentEvents::ondataavailable ( ) {
HRESULT _result;
_com_dispatch_method(this, 0xc6, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
return _result;
}
inline HRESULT XMLDOMDocumentEvents::onreadystatechange ( ) {
HRESULT _result;
_com_dispatch_method(this, DISPID_READYSTATECHANGE, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
return _result;
}
//
// interface IXMLHttpRequest wrapper method implementations
//
inline HRESULT IXMLHttpRequest::open ( _bstr_t bstrMethod, _bstr_t bstrUrl, const _variant_t & varAsync, const _variant_t & bstrUser, const _variant_t & bstrPassword ) {
HRESULT _hr = raw_open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXMLHttpRequest::setRequestHeader ( _bstr_t bstrHeader, _bstr_t bstrValue ) {
HRESULT _hr = raw_setRequestHeader(bstrHeader, bstrValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _bstr_t IXMLHttpRequest::getResponseHeader ( _bstr_t bstrHeader ) {
BSTR _result;
HRESULT _hr = raw_getResponseHeader(bstrHeader, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXMLHttpRequest::getAllResponseHeaders ( ) {
BSTR _result;
HRESULT _hr = raw_getAllResponseHeaders(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline HRESULT IXMLHttpRequest::send ( const _variant_t & varBody ) {
HRESULT _hr = raw_send(varBody);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXMLHttpRequest::abort ( ) {
HRESULT _hr = raw_abort();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline long IXMLHttpRequest::Getstatus ( ) {
long _result;
HRESULT _hr = get_status(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _bstr_t IXMLHttpRequest::GetstatusText ( ) {
BSTR _result;
HRESULT _hr = get_statusText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline IDispatchPtr IXMLHttpRequest::GetresponseXML ( ) {
IDispatch * _result;
HRESULT _hr = get_responseXML(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
inline _bstr_t IXMLHttpRequest::GetresponseText ( ) {
BSTR _result;
HRESULT _hr = get_responseText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _variant_t IXMLHttpRequest::GetresponseBody ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_responseBody(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t IXMLHttpRequest::GetresponseStream ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_responseStream(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline long IXMLHttpRequest::GetreadyState ( ) {
long _result;
HRESULT _hr = get_readyState(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IXMLHttpRequest::Putonreadystatechange ( IDispatch * _arg1 ) {
HRESULT _hr = put_onreadystatechange(_arg1);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface IXMLDSOControl wrapper method implementations
//
inline IXMLDOMDocumentPtr IXMLDSOControl::GetXMLDocument ( ) {
struct IXMLDOMDocument * _result;
HRESULT _hr = get_XMLDocument(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMDocumentPtr(_result, false);
}
inline void IXMLDSOControl::PutXMLDocument ( struct IXMLDOMDocument * ppDoc ) {
HRESULT _hr = put_XMLDocument(ppDoc);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IXMLDSOControl::GetJavaDSOCompatible ( ) {
long _result;
HRESULT _hr = get_JavaDSOCompatible(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IXMLDSOControl::PutJavaDSOCompatible ( long fJavaDSOCompatible ) {
HRESULT _hr = put_JavaDSOCompatible(fJavaDSOCompatible);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IXMLDSOControl::GetreadyState ( ) {
long _result;
HRESULT _hr = get_readyState(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
//
// interface IXMLElementCollection wrapper method implementations
//
inline void IXMLElementCollection::Putlength ( long p ) {
HRESULT _hr = put_length(p);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IXMLElementCollection::Getlength ( ) {
long _result;
HRESULT _hr = get_length(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline IUnknownPtr IXMLElementCollection::Get_newEnum ( ) {
IUnknown * _result;
HRESULT _hr = get__newEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
inline IDispatchPtr IXMLElementCollection::item ( const _variant_t & var1, const _variant_t & var2 ) {
IDispatch * _result;
HRESULT _hr = raw_item(var1, var2, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
//
// interface IXMLDocument wrapper method implementations
//
inline IXMLElementPtr IXMLDocument::Getroot ( ) {
struct IXMLElement * _result;
HRESULT _hr = get_root(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLElementPtr(_result, false);
}
inline _bstr_t IXMLDocument::GetfileSize ( ) {
BSTR _result;
HRESULT _hr = get_fileSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -