📄 msxml3.tli
字号:
HRESULT _hr = raw_getPublicId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline unsigned short * ISAXLocator::getSystemId ( ) {
unsigned short * _result;
HRESULT _hr = raw_getSystemId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
//
// interface ISAXAttributes wrapper method implementations
//
inline int ISAXAttributes::getLength ( ) {
int _result;
HRESULT _hr = raw_getLength(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT ISAXAttributes::getURI ( int nIndex, unsigned short * * ppwchUri, int * pcchUri ) {
HRESULT _hr = raw_getURI(nIndex, ppwchUri, pcchUri);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getLocalName ( int nIndex, unsigned short * * ppwchLocalName, int * pcchLocalName ) {
HRESULT _hr = raw_getLocalName(nIndex, ppwchLocalName, pcchLocalName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getQName ( int nIndex, unsigned short * * ppwchQName, int * pcchQName ) {
HRESULT _hr = raw_getQName(nIndex, ppwchQName, pcchQName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getName ( int nIndex, unsigned short * * ppwchUri, int * pcchUri, unsigned short * * ppwchLocalName, int * pcchLocalName, unsigned short * * ppwchQName, int * pcchQName ) {
HRESULT _hr = raw_getName(nIndex, ppwchUri, pcchUri, ppwchLocalName, pcchLocalName, ppwchQName, pcchQName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline int ISAXAttributes::getIndexFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName ) {
int _result;
HRESULT _hr = raw_getIndexFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline int ISAXAttributes::getIndexFromQName ( unsigned short * pwchQName, int cchQName ) {
int _result;
HRESULT _hr = raw_getIndexFromQName(pwchQName, cchQName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT ISAXAttributes::getType ( int nIndex, unsigned short * * ppwchType, int * pcchType ) {
HRESULT _hr = raw_getType(nIndex, ppwchType, pcchType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getTypeFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchType, int * pcchType ) {
HRESULT _hr = raw_getTypeFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchType, pcchType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getTypeFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchType, int * pcchType ) {
HRESULT _hr = raw_getTypeFromQName(pwchQName, cchQName, ppwchType, pcchType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getValue ( int nIndex, unsigned short * * ppwchValue, int * pcchValue ) {
HRESULT _hr = raw_getValue(nIndex, ppwchValue, pcchValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getValueFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchValue, int * pcchValue ) {
HRESULT _hr = raw_getValueFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchValue, pcchValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXAttributes::getValueFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchValue, int * pcchValue ) {
HRESULT _hr = raw_getValueFromQName(pwchQName, cchQName, ppwchValue, pcchValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXDTDHandler wrapper method implementations
//
inline HRESULT ISAXDTDHandler::notationDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
HRESULT _hr = raw_notationDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXDTDHandler::unparsedEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId, unsigned short * pwchNotationName, int cchNotationName ) {
HRESULT _hr = raw_unparsedEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId, pwchNotationName, cchNotationName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXErrorHandler wrapper method implementations
//
inline HRESULT ISAXErrorHandler::error ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
HRESULT _hr = raw_error(pLocator, pwchErrorMessage, hrErrorCode);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXErrorHandler::fatalError ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
HRESULT _hr = raw_fatalError(pLocator, pwchErrorMessage, hrErrorCode);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXErrorHandler::ignorableWarning ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
HRESULT _hr = raw_ignorableWarning(pLocator, pwchErrorMessage, hrErrorCode);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXXMLFilter wrapper method implementations
//
inline ISAXXMLReaderPtr ISAXXMLFilter::getParent ( ) {
struct ISAXXMLReader * _result;
HRESULT _hr = raw_getParent(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISAXXMLReaderPtr(_result, false);
}
inline HRESULT ISAXXMLFilter::putParent ( struct ISAXXMLReader * pReader ) {
HRESULT _hr = raw_putParent(pReader);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXLexicalHandler wrapper method implementations
//
inline HRESULT ISAXLexicalHandler::startDTD ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
HRESULT _hr = raw_startDTD(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::endDTD ( ) {
HRESULT _hr = raw_endDTD();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::startEntity ( unsigned short * pwchName, int cchName ) {
HRESULT _hr = raw_startEntity(pwchName, cchName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::endEntity ( unsigned short * pwchName, int cchName ) {
HRESULT _hr = raw_endEntity(pwchName, cchName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::startCDATA ( ) {
HRESULT _hr = raw_startCDATA();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::endCDATA ( ) {
HRESULT _hr = raw_endCDATA();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXLexicalHandler::comment ( unsigned short * pwchChars, int cchChars ) {
HRESULT _hr = raw_comment(pwchChars, cchChars);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXDeclHandler wrapper method implementations
//
inline HRESULT ISAXDeclHandler::elementDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchModel, int cchModel ) {
HRESULT _hr = raw_elementDecl(pwchName, cchName, pwchModel, cchModel);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXDeclHandler::attributeDecl ( unsigned short * pwchElementName, int cchElementName, unsigned short * pwchAttributeName, int cchAttributeName, unsigned short * pwchType, int cchType, unsigned short * pwchValueDefault, int cchValueDefault, unsigned short * pwchValue, int cchValue ) {
HRESULT _hr = raw_attributeDecl(pwchElementName, cchElementName, pwchAttributeName, cchAttributeName, pwchType, cchType, pwchValueDefault, cchValueDefault, pwchValue, cchValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXDeclHandler::internalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchValue, int cchValue ) {
HRESULT _hr = raw_internalEntityDecl(pwchName, cchName, pwchValue, cchValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXDeclHandler::externalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
HRESULT _hr = raw_externalEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface IVBSAXXMLReader wrapper method implementations
//
inline VARIANT_BOOL IVBSAXXMLReader::getFeature ( _bstr_t strName ) {
VARIANT_BOOL _result;
HRESULT _hr = raw_getFeature(strName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT IVBSAXXMLReader::putFeature ( _bstr_t strName, VARIANT_BOOL fValue ) {
HRESULT _hr = raw_putFeature(strName, fValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _variant_t IVBSAXXMLReader::getProperty ( _bstr_t strName ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_getProperty(strName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline HRESULT IVBSAXXMLReader::putProperty ( _bstr_t strName, const _variant_t & varValue ) {
HRESULT _hr = raw_putProperty(strName, varValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IVBSAXEntityResolverPtr IVBSAXXMLReader::GetentityResolver ( ) {
struct IVBSAXEntityResolver * _result;
HRESULT _hr = get_entityResolver(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IVBSAXEntityResolverPtr(_result, false);
}
inline void IVBSAXXMLReader::PutRefentityResolver ( struct IVBSAXEntityResolver * oResolver ) {
HRESULT _hr = putref_entityResolver(oResolver);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IVBSAXContentHandlerPtr IVBSAXXMLReader::GetcontentHandler ( ) {
struct IVBSAXContentHandler * _result;
HRESULT _hr = get_contentHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IVBSAXContentHandlerPtr(_result, false);
}
inline void IVBSAXXMLReader::PutRefcontentHandler ( struct IVBSAXContentHandler * oHandler ) {
HRESULT _hr = putref_contentHandler(oHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IVBSAXDTDHandlerPtr IVBSAXXMLReader::GetdtdHandler ( ) {
struct IVBSAXDTDHandler * _result;
HRESULT _hr = get_dtdHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IVBSAXDTDHandlerPtr(_result, false);
}
inline void IVBSAXXMLReader::PutRefdtdHandler ( struct IVBSAXDTDHandler * oHandler ) {
HRESULT _hr = putref_dtdHandler(oHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IVBSAXErrorHandlerPtr IVBSAXXMLReader::GeterrorHandler ( ) {
struct IVBSAXErrorHandler * _result;
HRESULT _hr = get_errorHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IVBSAXErrorHandlerPtr(_result, false);
}
inline void IVBSAXXMLReader::PutReferrorHandler ( struct IVBSAXErrorHandler * oHandler ) {
HRESULT _hr = putref_errorHandler(oHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IVBSAXXMLReader::GetbaseURL ( ) {
BSTR _result;
HRESULT _hr = get_baseURL(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IVBSAXXMLReader::PutbaseURL ( _bstr_t strBaseURL ) {
HRESULT _hr = put_baseURL(strBaseURL);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IVBSAXXMLReader::GetsecureBaseURL ( ) {
BSTR _result;
HRESULT _hr = get_secureBaseURL(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IVBSAXXMLReader::PutsecureBaseURL ( _bstr_t strSecureBaseURL ) {
HRESULT _hr = put_secureBaseURL(strSecureBaseURL);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline HRESULT IVBSAXXMLReader::parse ( const _variant_t & varInput ) {
HRESULT _hr = raw_parse(varInput);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IVBSAXXMLReader::parseURL ( _bstr_t strURL ) {
HRESULT _hr = raw_parseURL(strURL);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface IVBSAXEntityResolver wrapper method implementations
//
inline _variant_t IVBSAXEntityResolver::resolveEntity ( BSTR * strPublicId, BSTR * strSystemId ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -