📄 msxml3.tli
字号:
}
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);
}
//
// interface IXSLTemplate wrapper method implementations
//
inline void IXSLTemplate::PutRefstylesheet ( struct IXMLDOMNode * stylesheet ) {
HRESULT _hr = putref_stylesheet(stylesheet);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline IXMLDOMNodePtr IXSLTemplate::Getstylesheet ( ) {
struct IXMLDOMNode * _result;
HRESULT _hr = get_stylesheet(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMNodePtr(_result, false);
}
inline IXSLProcessorPtr IXSLTemplate::createProcessor ( ) {
struct IXSLProcessor * _result;
HRESULT _hr = raw_createProcessor(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXSLProcessorPtr(_result, false);
}
//
// interface IXSLProcessor wrapper method implementations
//
inline void IXSLProcessor::Putinput ( const _variant_t & pVar ) {
HRESULT _hr = put_input(pVar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t IXSLProcessor::Getinput ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_input(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline IXSLTemplatePtr IXSLProcessor::GetownerTemplate ( ) {
struct IXSLTemplate * _result;
HRESULT _hr = get_ownerTemplate(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXSLTemplatePtr(_result, false);
}
inline HRESULT IXSLProcessor::setStartMode ( _bstr_t mode, _bstr_t namespaceURI ) {
HRESULT _hr = raw_setStartMode(mode, namespaceURI);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _bstr_t IXSLProcessor::GetstartMode ( ) {
BSTR _result;
HRESULT _hr = get_startMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _bstr_t IXSLProcessor::GetstartModeURI ( ) {
BSTR _result;
HRESULT _hr = get_startModeURI(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IXSLProcessor::Putoutput ( const _variant_t & pOutput ) {
HRESULT _hr = put_output(pOutput);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t IXSLProcessor::Getoutput ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_output(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline VARIANT_BOOL IXSLProcessor::transform ( ) {
VARIANT_BOOL _result;
HRESULT _hr = raw_transform(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT IXSLProcessor::reset ( ) {
HRESULT _hr = raw_reset();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline long IXSLProcessor::GetreadyState ( ) {
long _result;
HRESULT _hr = get_readyState(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT IXSLProcessor::addParameter ( _bstr_t baseName, const _variant_t & parameter, _bstr_t namespaceURI ) {
HRESULT _hr = raw_addParameter(baseName, parameter, namespaceURI);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT IXSLProcessor::addObject ( IDispatch * obj, _bstr_t namespaceURI ) {
HRESULT _hr = raw_addObject(obj, namespaceURI);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline IXMLDOMNodePtr IXSLProcessor::Getstylesheet ( ) {
struct IXMLDOMNode * _result;
HRESULT _hr = get_stylesheet(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IXMLDOMNodePtr(_result, false);
}
//
// interface ISAXXMLReader wrapper method implementations
//
inline VARIANT_BOOL ISAXXMLReader::getFeature ( unsigned short * pwchName ) {
VARIANT_BOOL _result;
HRESULT _hr = raw_getFeature(pwchName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT ISAXXMLReader::putFeature ( unsigned short * pwchName, VARIANT_BOOL vfValue ) {
HRESULT _hr = raw_putFeature(pwchName, vfValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _variant_t ISAXXMLReader::getProperty ( unsigned short * pwchName ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_getProperty(pwchName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline HRESULT ISAXXMLReader::putProperty ( unsigned short * pwchName, const _variant_t & varValue ) {
HRESULT _hr = raw_putProperty(pwchName, varValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline ISAXEntityResolverPtr ISAXXMLReader::getEntityResolver ( ) {
struct ISAXEntityResolver * _result;
HRESULT _hr = raw_getEntityResolver(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISAXEntityResolverPtr(_result, false);
}
inline HRESULT ISAXXMLReader::putEntityResolver ( struct ISAXEntityResolver * pResolver ) {
HRESULT _hr = raw_putEntityResolver(pResolver);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline ISAXContentHandlerPtr ISAXXMLReader::getContentHandler ( ) {
struct ISAXContentHandler * _result;
HRESULT _hr = raw_getContentHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISAXContentHandlerPtr(_result, false);
}
inline HRESULT ISAXXMLReader::putContentHandler ( struct ISAXContentHandler * pHandler ) {
HRESULT _hr = raw_putContentHandler(pHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline ISAXDTDHandlerPtr ISAXXMLReader::getDTDHandler ( ) {
struct ISAXDTDHandler * _result;
HRESULT _hr = raw_getDTDHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISAXDTDHandlerPtr(_result, false);
}
inline HRESULT ISAXXMLReader::putDTDHandler ( struct ISAXDTDHandler * pHandler ) {
HRESULT _hr = raw_putDTDHandler(pHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline ISAXErrorHandlerPtr ISAXXMLReader::getErrorHandler ( ) {
struct ISAXErrorHandler * _result;
HRESULT _hr = raw_getErrorHandler(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISAXErrorHandlerPtr(_result, false);
}
inline HRESULT ISAXXMLReader::putErrorHandler ( struct ISAXErrorHandler * pHandler ) {
HRESULT _hr = raw_putErrorHandler(pHandler);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline unsigned short * ISAXXMLReader::getBaseURL ( ) {
unsigned short * _result;
HRESULT _hr = raw_getBaseURL(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT ISAXXMLReader::putBaseURL ( unsigned short * pwchBaseUrl ) {
HRESULT _hr = raw_putBaseURL(pwchBaseUrl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline unsigned short * ISAXXMLReader::getSecureBaseURL ( ) {
unsigned short * _result;
HRESULT _hr = raw_getSecureBaseURL(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT ISAXXMLReader::putSecureBaseURL ( unsigned short * pwchSecureBaseUrl ) {
HRESULT _hr = raw_putSecureBaseURL(pwchSecureBaseUrl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXXMLReader::parse ( const _variant_t & varInput ) {
HRESULT _hr = raw_parse(varInput);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXXMLReader::parseURL ( unsigned short * pwchUrl ) {
HRESULT _hr = raw_parseURL(pwchUrl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXEntityResolver wrapper method implementations
//
inline _variant_t ISAXEntityResolver::resolveEntity ( unsigned short * pwchPublicId, unsigned short * pwchSystemId ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_resolveEntity(pwchPublicId, pwchSystemId, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
//
// interface ISAXContentHandler wrapper method implementations
//
inline HRESULT ISAXContentHandler::putDocumentLocator ( struct ISAXLocator * pLocator ) {
HRESULT _hr = raw_putDocumentLocator(pLocator);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::startDocument ( ) {
HRESULT _hr = raw_startDocument();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::endDocument ( ) {
HRESULT _hr = raw_endDocument();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) {
HRESULT _hr = raw_startPrefixMapping(pwchPrefix, cchPrefix, pwchUri, cchUri);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::endPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix ) {
HRESULT _hr = raw_endPrefixMapping(pwchPrefix, cchPrefix);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::startElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName, struct ISAXAttributes * pAttributes ) {
HRESULT _hr = raw_startElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName, pAttributes);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::endElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName ) {
HRESULT _hr = raw_endElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::characters ( unsigned short * pwchChars, int cchChars ) {
HRESULT _hr = raw_characters(pwchChars, cchChars);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::ignorableWhitespace ( unsigned short * pwchChars, int cchChars ) {
HRESULT _hr = raw_ignorableWhitespace(pwchChars, cchChars);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::processingInstruction ( unsigned short * pwchTarget, int cchTarget, unsigned short * pwchData, int cchData ) {
HRESULT _hr = raw_processingInstruction(pwchTarget, cchTarget, pwchData, cchData);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT ISAXContentHandler::skippedEntity ( unsigned short * pwchName, int cchName ) {
HRESULT _hr = raw_skippedEntity(pwchName, cchName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface ISAXLocator wrapper method implementations
//
inline int ISAXLocator::getColumnNumber ( ) {
int _result;
HRESULT _hr = raw_getColumnNumber(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline int ISAXLocator::getLineNumber ( ) {
int _result;
HRESULT _hr = raw_getLineNumber(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline unsigned short * ISAXLocator::getPublicId ( ) {
unsigned short * _result;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -