📄 msxml3.tli
字号:
HRESULT _hr = get_value(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void IXMLDOMAttribute::Putvalue ( const _variant_t & attributeValue ) {
HRESULT _hr = put_value(attributeValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface IXMLDOMCharacterData wrapper method implementations
//
inline _bstr_t IXMLDOMCharacterData::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 IXMLDOMCharacterData::Putdata ( _bstr_t data ) {
HRESULT _hr = put_data(data);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long IXMLDOMCharacterData::Getlength ( ) {
long _result;
HRESULT _hr = get_length(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _bstr_t IXMLDOMCharacterData::substringData ( long offset, long count ) {
BSTR _result;
HRESULT _hr = raw_substringData(offset, count, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline HRESULT IXMLDOMCharacterData::appendData ( _bstr_t data ) {
HRESULT _hr = raw_appendData(data);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXMLDOMCharacterData::insertData ( long offset, _bstr_t data ) {
HRESULT _hr = raw_insertData(offset, data);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXMLDOMCharacterData::deleteData ( long offset, long count ) {
HRESULT _hr = raw_deleteData(offset, count);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXMLDOMCharacterData::replaceData ( long offset, long count, _bstr_t data ) {
HRESULT _hr = raw_replaceData(offset, count, data);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface IXMLDOMText wrapper method implementations
//
inline IXMLDOMTextPtr IXMLDOMText::splitText ( long offset ) {
struct IXMLDOMText * _result;
HRESULT _hr = raw_splitText(offset, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMTextPtr(_result, false);
}
//
// 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 IXMLDOMSchemaCollection wrapper method implementations
//
inline HRESULT IXMLDOMSchemaCollection::add ( _bstr_t namespaceURI, const _variant_t & var ) {
HRESULT _hr = raw_add(namespaceURI, var);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IXMLDOMNodePtr IXMLDOMSchemaCollection::get ( _bstr_t namespaceURI ) {
struct IXMLDOMNode * _result;
HRESULT _hr = raw_get(namespaceURI, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMNodePtr(_result, false);
}
inline HRESULT IXMLDOMSchemaCollection::remove ( _bstr_t namespaceURI ) {
HRESULT _hr = raw_remove(namespaceURI);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline long IXMLDOMSchemaCollection::Getlength ( ) {
long _result;
HRESULT _hr = get_length(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _bstr_t IXMLDOMSchemaCollection::GetnamespaceURI ( long index ) {
BSTR _result;
HRESULT _hr = get_namespaceURI(index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline HRESULT IXMLDOMSchemaCollection::addCollection ( struct IXMLDOMSchemaCollection * otherCollection ) {
HRESULT _hr = raw_addCollection(otherCollection);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IUnknownPtr IXMLDOMSchemaCollection::Get_newEnum ( ) {
IUnknown * _result;
HRESULT _hr = get__newEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
//
// interface IXMLDOMDocument2 wrapper method implementations
//
inline IXMLDOMSchemaCollectionPtr IXMLDOMDocument2::Getnamespaces ( ) {
struct IXMLDOMSchemaCollection * _result;
HRESULT _hr = get_namespaces(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMSchemaCollectionPtr(_result, false);
}
inline _variant_t IXMLDOMDocument2::Getschemas ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_schemas(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void IXMLDOMDocument2::PutRefschemas ( const _variant_t & otherCollection ) {
HRESULT _hr = putref_schemas(otherCollection);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IXMLDOMParseErrorPtr IXMLDOMDocument2::validate ( ) {
struct IXMLDOMParseError * _result;
HRESULT _hr = raw_validate(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMParseErrorPtr(_result, false);
}
inline HRESULT IXMLDOMDocument2::setProperty ( _bstr_t name, const _variant_t & value ) {
HRESULT _hr = raw_setProperty(name, value);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _variant_t IXMLDOMDocument2::getProperty ( _bstr_t name ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_getProperty(name, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
//
// 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);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -