升龙物业 老版本 ocx IPO, 加密狗 转值班电话

msxml6.tli 122KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519
  1. // Created by Microsoft (R) C/C++ Compiler Version 10.00.30319.01 (8483a3e9).
  2. //
  3. // e:\zproject\code\middleware-slwy\ivr\debug\msxml6.tli
  4. //
  5. // Wrapper implementations for Win32 type library msxml6.dll
  6. // compiler-generated file created 07/03/17 at 17:15:29 - DO NOT EDIT!
  7. #pragma once
  8. //
  9. // interface IXMLDOMImplementation wrapper method implementations
  10. //
  11. inline VARIANT_BOOL IXMLDOMImplementation::hasFeature ( _bstr_t feature, _bstr_t version ) {
  12. VARIANT_BOOL _result = 0;
  13. HRESULT _hr = raw_hasFeature(feature, version, &_result);
  14. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15. return _result;
  16. }
  17. //
  18. // interface IXMLDOMParseError wrapper method implementations
  19. //
  20. inline long IXMLDOMParseError::GeterrorCode ( ) {
  21. long _result = 0;
  22. HRESULT _hr = get_errorCode(&_result);
  23. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24. return _result;
  25. }
  26. inline _bstr_t IXMLDOMParseError::Geturl ( ) {
  27. BSTR _result = 0;
  28. HRESULT _hr = get_url(&_result);
  29. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30. return _bstr_t(_result, false);
  31. }
  32. inline _bstr_t IXMLDOMParseError::Getreason ( ) {
  33. BSTR _result = 0;
  34. HRESULT _hr = get_reason(&_result);
  35. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  36. return _bstr_t(_result, false);
  37. }
  38. inline _bstr_t IXMLDOMParseError::GetsrcText ( ) {
  39. BSTR _result = 0;
  40. HRESULT _hr = get_srcText(&_result);
  41. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  42. return _bstr_t(_result, false);
  43. }
  44. inline long IXMLDOMParseError::Getline ( ) {
  45. long _result = 0;
  46. HRESULT _hr = get_line(&_result);
  47. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  48. return _result;
  49. }
  50. inline long IXMLDOMParseError::Getlinepos ( ) {
  51. long _result = 0;
  52. HRESULT _hr = get_linepos(&_result);
  53. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  54. return _result;
  55. }
  56. inline long IXMLDOMParseError::Getfilepos ( ) {
  57. long _result = 0;
  58. HRESULT _hr = get_filepos(&_result);
  59. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  60. return _result;
  61. }
  62. //
  63. // interface ISAXEntityResolver wrapper method implementations
  64. //
  65. inline _variant_t ISAXEntityResolver::resolveEntity ( unsigned short * pwchPublicId, unsigned short * pwchSystemId ) {
  66. VARIANT _result;
  67. VariantInit(&_result);
  68. HRESULT _hr = raw_resolveEntity(pwchPublicId, pwchSystemId, &_result);
  69. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  70. return _variant_t(_result, false);
  71. }
  72. //
  73. // interface ISAXLocator wrapper method implementations
  74. //
  75. inline int ISAXLocator::getColumnNumber ( ) {
  76. int _result = 0;
  77. HRESULT _hr = raw_getColumnNumber(&_result);
  78. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  79. return _result;
  80. }
  81. inline int ISAXLocator::getLineNumber ( ) {
  82. int _result = 0;
  83. HRESULT _hr = raw_getLineNumber(&_result);
  84. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  85. return _result;
  86. }
  87. inline unsigned short * ISAXLocator::getPublicId ( ) {
  88. unsigned short * _result = 0;
  89. HRESULT _hr = raw_getPublicId(&_result);
  90. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  91. return _result;
  92. }
  93. inline unsigned short * ISAXLocator::getSystemId ( ) {
  94. unsigned short * _result = 0;
  95. HRESULT _hr = raw_getSystemId(&_result);
  96. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  97. return _result;
  98. }
  99. //
  100. // interface ISAXAttributes wrapper method implementations
  101. //
  102. inline int ISAXAttributes::getLength ( ) {
  103. int _result = 0;
  104. HRESULT _hr = raw_getLength(&_result);
  105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  106. return _result;
  107. }
  108. inline HRESULT ISAXAttributes::getURI ( int nIndex, unsigned short * * ppwchUri, int * pcchUri ) {
  109. HRESULT _hr = raw_getURI(nIndex, ppwchUri, pcchUri);
  110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  111. return _hr;
  112. }
  113. inline HRESULT ISAXAttributes::getLocalName ( int nIndex, unsigned short * * ppwchLocalName, int * pcchLocalName ) {
  114. HRESULT _hr = raw_getLocalName(nIndex, ppwchLocalName, pcchLocalName);
  115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  116. return _hr;
  117. }
  118. inline HRESULT ISAXAttributes::getQName ( int nIndex, unsigned short * * ppwchQName, int * pcchQName ) {
  119. HRESULT _hr = raw_getQName(nIndex, ppwchQName, pcchQName);
  120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  121. return _hr;
  122. }
  123. inline HRESULT ISAXAttributes::getName ( int nIndex, unsigned short * * ppwchUri, int * pcchUri, unsigned short * * ppwchLocalName, int * pcchLocalName, unsigned short * * ppwchQName, int * pcchQName ) {
  124. HRESULT _hr = raw_getName(nIndex, ppwchUri, pcchUri, ppwchLocalName, pcchLocalName, ppwchQName, pcchQName);
  125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  126. return _hr;
  127. }
  128. inline int ISAXAttributes::getIndexFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName ) {
  129. int _result = 0;
  130. HRESULT _hr = raw_getIndexFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, &_result);
  131. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  132. return _result;
  133. }
  134. inline int ISAXAttributes::getIndexFromQName ( unsigned short * pwchQName, int cchQName ) {
  135. int _result = 0;
  136. HRESULT _hr = raw_getIndexFromQName(pwchQName, cchQName, &_result);
  137. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  138. return _result;
  139. }
  140. inline HRESULT ISAXAttributes::getType ( int nIndex, unsigned short * * ppwchType, int * pcchType ) {
  141. HRESULT _hr = raw_getType(nIndex, ppwchType, pcchType);
  142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  143. return _hr;
  144. }
  145. inline HRESULT ISAXAttributes::getTypeFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchType, int * pcchType ) {
  146. HRESULT _hr = raw_getTypeFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchType, pcchType);
  147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  148. return _hr;
  149. }
  150. inline HRESULT ISAXAttributes::getTypeFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchType, int * pcchType ) {
  151. HRESULT _hr = raw_getTypeFromQName(pwchQName, cchQName, ppwchType, pcchType);
  152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  153. return _hr;
  154. }
  155. inline HRESULT ISAXAttributes::getValue ( int nIndex, unsigned short * * ppwchValue, int * pcchValue ) {
  156. HRESULT _hr = raw_getValue(nIndex, ppwchValue, pcchValue);
  157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  158. return _hr;
  159. }
  160. inline HRESULT ISAXAttributes::getValueFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchValue, int * pcchValue ) {
  161. HRESULT _hr = raw_getValueFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchValue, pcchValue);
  162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  163. return _hr;
  164. }
  165. inline HRESULT ISAXAttributes::getValueFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchValue, int * pcchValue ) {
  166. HRESULT _hr = raw_getValueFromQName(pwchQName, cchQName, ppwchValue, pcchValue);
  167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  168. return _hr;
  169. }
  170. //
  171. // interface ISAXContentHandler wrapper method implementations
  172. //
  173. inline HRESULT ISAXContentHandler::putDocumentLocator ( struct ISAXLocator * pLocator ) {
  174. HRESULT _hr = raw_putDocumentLocator(pLocator);
  175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  176. return _hr;
  177. }
  178. inline HRESULT ISAXContentHandler::startDocument ( ) {
  179. HRESULT _hr = raw_startDocument();
  180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  181. return _hr;
  182. }
  183. inline HRESULT ISAXContentHandler::endDocument ( ) {
  184. HRESULT _hr = raw_endDocument();
  185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  186. return _hr;
  187. }
  188. inline HRESULT ISAXContentHandler::startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) {
  189. HRESULT _hr = raw_startPrefixMapping(pwchPrefix, cchPrefix, pwchUri, cchUri);
  190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  191. return _hr;
  192. }
  193. inline HRESULT ISAXContentHandler::endPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix ) {
  194. HRESULT _hr = raw_endPrefixMapping(pwchPrefix, cchPrefix);
  195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  196. return _hr;
  197. }
  198. inline HRESULT ISAXContentHandler::startElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName, struct ISAXAttributes * pAttributes ) {
  199. HRESULT _hr = raw_startElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName, pAttributes);
  200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  201. return _hr;
  202. }
  203. inline HRESULT ISAXContentHandler::endElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName ) {
  204. HRESULT _hr = raw_endElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName);
  205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  206. return _hr;
  207. }
  208. inline HRESULT ISAXContentHandler::characters ( unsigned short * pwchChars, int cchChars ) {
  209. HRESULT _hr = raw_characters(pwchChars, cchChars);
  210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  211. return _hr;
  212. }
  213. inline HRESULT ISAXContentHandler::ignorableWhitespace ( unsigned short * pwchChars, int cchChars ) {
  214. HRESULT _hr = raw_ignorableWhitespace(pwchChars, cchChars);
  215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  216. return _hr;
  217. }
  218. inline HRESULT ISAXContentHandler::processingInstruction ( unsigned short * pwchTarget, int cchTarget, unsigned short * pwchData, int cchData ) {
  219. HRESULT _hr = raw_processingInstruction(pwchTarget, cchTarget, pwchData, cchData);
  220. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  221. return _hr;
  222. }
  223. inline HRESULT ISAXContentHandler::skippedEntity ( unsigned short * pwchName, int cchName ) {
  224. HRESULT _hr = raw_skippedEntity(pwchName, cchName);
  225. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  226. return _hr;
  227. }
  228. //
  229. // interface ISAXDTDHandler wrapper method implementations
  230. //
  231. inline HRESULT ISAXDTDHandler::notationDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
  232. HRESULT _hr = raw_notationDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
  233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  234. return _hr;
  235. }
  236. inline HRESULT ISAXDTDHandler::unparsedEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId, unsigned short * pwchNotationName, int cchNotationName ) {
  237. HRESULT _hr = raw_unparsedEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId, pwchNotationName, cchNotationName);
  238. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  239. return _hr;
  240. }
  241. //
  242. // interface ISAXErrorHandler wrapper method implementations
  243. //
  244. inline HRESULT ISAXErrorHandler::error ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
  245. HRESULT _hr = raw_error(pLocator, pwchErrorMessage, hrErrorCode);
  246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  247. return _hr;
  248. }
  249. inline HRESULT ISAXErrorHandler::fatalError ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
  250. HRESULT _hr = raw_fatalError(pLocator, pwchErrorMessage, hrErrorCode);
  251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  252. return _hr;
  253. }
  254. inline HRESULT ISAXErrorHandler::ignorableWarning ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
  255. HRESULT _hr = raw_ignorableWarning(pLocator, pwchErrorMessage, hrErrorCode);
  256. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  257. return _hr;
  258. }
  259. //
  260. // interface ISAXXMLReader wrapper method implementations
  261. //
  262. inline VARIANT_BOOL ISAXXMLReader::getFeature ( unsigned short * pwchName ) {
  263. VARIANT_BOOL _result = 0;
  264. HRESULT _hr = raw_getFeature(pwchName, &_result);
  265. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  266. return _result;
  267. }
  268. inline HRESULT ISAXXMLReader::putFeature ( unsigned short * pwchName, VARIANT_BOOL vfValue ) {
  269. HRESULT _hr = raw_putFeature(pwchName, vfValue);
  270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  271. return _hr;
  272. }
  273. inline _variant_t ISAXXMLReader::getProperty ( unsigned short * pwchName ) {
  274. VARIANT _result;
  275. VariantInit(&_result);
  276. HRESULT _hr = raw_getProperty(pwchName, &_result);
  277. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  278. return _variant_t(_result, false);
  279. }
  280. inline HRESULT ISAXXMLReader::putProperty ( unsigned short * pwchName, const _variant_t & varValue ) {
  281. HRESULT _hr = raw_putProperty(pwchName, varValue);
  282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  283. return _hr;
  284. }
  285. inline ISAXEntityResolverPtr ISAXXMLReader::getEntityResolver ( ) {
  286. struct ISAXEntityResolver * _result = 0;
  287. HRESULT _hr = raw_getEntityResolver(&_result);
  288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  289. return ISAXEntityResolverPtr(_result, false);
  290. }
  291. inline HRESULT ISAXXMLReader::putEntityResolver ( struct ISAXEntityResolver * pResolver ) {
  292. HRESULT _hr = raw_putEntityResolver(pResolver);
  293. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  294. return _hr;
  295. }
  296. inline ISAXContentHandlerPtr ISAXXMLReader::getContentHandler ( ) {
  297. struct ISAXContentHandler * _result = 0;
  298. HRESULT _hr = raw_getContentHandler(&_result);
  299. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  300. return ISAXContentHandlerPtr(_result, false);
  301. }
  302. inline HRESULT ISAXXMLReader::putContentHandler ( struct ISAXContentHandler * pHandler ) {
  303. HRESULT _hr = raw_putContentHandler(pHandler);
  304. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  305. return _hr;
  306. }
  307. inline ISAXDTDHandlerPtr ISAXXMLReader::getDTDHandler ( ) {
  308. struct ISAXDTDHandler * _result = 0;
  309. HRESULT _hr = raw_getDTDHandler(&_result);
  310. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  311. return ISAXDTDHandlerPtr(_result, false);
  312. }
  313. inline HRESULT ISAXXMLReader::putDTDHandler ( struct ISAXDTDHandler * pHandler ) {
  314. HRESULT _hr = raw_putDTDHandler(pHandler);
  315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  316. return _hr;
  317. }
  318. inline ISAXErrorHandlerPtr ISAXXMLReader::getErrorHandler ( ) {
  319. struct ISAXErrorHandler * _result = 0;
  320. HRESULT _hr = raw_getErrorHandler(&_result);
  321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  322. return ISAXErrorHandlerPtr(_result, false);
  323. }
  324. inline HRESULT ISAXXMLReader::putErrorHandler ( struct ISAXErrorHandler * pHandler ) {
  325. HRESULT _hr = raw_putErrorHandler(pHandler);
  326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  327. return _hr;
  328. }
  329. inline unsigned short * ISAXXMLReader::getBaseURL ( ) {
  330. unsigned short * _result = 0;
  331. HRESULT _hr = raw_getBaseURL(&_result);
  332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  333. return _result;
  334. }
  335. inline HRESULT ISAXXMLReader::putBaseURL ( unsigned short * pwchBaseUrl ) {
  336. HRESULT _hr = raw_putBaseURL(pwchBaseUrl);
  337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  338. return _hr;
  339. }
  340. inline unsigned short * ISAXXMLReader::getSecureBaseURL ( ) {
  341. unsigned short * _result = 0;
  342. HRESULT _hr = raw_getSecureBaseURL(&_result);
  343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  344. return _result;
  345. }
  346. inline HRESULT ISAXXMLReader::putSecureBaseURL ( unsigned short * pwchSecureBaseUrl ) {
  347. HRESULT _hr = raw_putSecureBaseURL(pwchSecureBaseUrl);
  348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  349. return _hr;
  350. }
  351. inline HRESULT ISAXXMLReader::parse ( const _variant_t & varInput ) {
  352. HRESULT _hr = raw_parse(varInput);
  353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  354. return _hr;
  355. }
  356. inline HRESULT ISAXXMLReader::parseURL ( unsigned short * pwchUrl ) {
  357. HRESULT _hr = raw_parseURL(pwchUrl);
  358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  359. return _hr;
  360. }
  361. //
  362. // interface ISAXXMLFilter wrapper method implementations
  363. //
  364. inline ISAXXMLReaderPtr ISAXXMLFilter::getParent ( ) {
  365. struct ISAXXMLReader * _result = 0;
  366. HRESULT _hr = raw_getParent(&_result);
  367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  368. return ISAXXMLReaderPtr(_result, false);
  369. }
  370. inline HRESULT ISAXXMLFilter::putParent ( struct ISAXXMLReader * pReader ) {
  371. HRESULT _hr = raw_putParent(pReader);
  372. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  373. return _hr;
  374. }
  375. //
  376. // interface ISAXLexicalHandler wrapper method implementations
  377. //
  378. inline HRESULT ISAXLexicalHandler::startDTD ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
  379. HRESULT _hr = raw_startDTD(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
  380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  381. return _hr;
  382. }
  383. inline HRESULT ISAXLexicalHandler::endDTD ( ) {
  384. HRESULT _hr = raw_endDTD();
  385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  386. return _hr;
  387. }
  388. inline HRESULT ISAXLexicalHandler::startEntity ( unsigned short * pwchName, int cchName ) {
  389. HRESULT _hr = raw_startEntity(pwchName, cchName);
  390. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  391. return _hr;
  392. }
  393. inline HRESULT ISAXLexicalHandler::endEntity ( unsigned short * pwchName, int cchName ) {
  394. HRESULT _hr = raw_endEntity(pwchName, cchName);
  395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  396. return _hr;
  397. }
  398. inline HRESULT ISAXLexicalHandler::startCDATA ( ) {
  399. HRESULT _hr = raw_startCDATA();
  400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  401. return _hr;
  402. }
  403. inline HRESULT ISAXLexicalHandler::endCDATA ( ) {
  404. HRESULT _hr = raw_endCDATA();
  405. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  406. return _hr;
  407. }
  408. inline HRESULT ISAXLexicalHandler::comment ( unsigned short * pwchChars, int cchChars ) {
  409. HRESULT _hr = raw_comment(pwchChars, cchChars);
  410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  411. return _hr;
  412. }
  413. //
  414. // interface ISAXDeclHandler wrapper method implementations
  415. //
  416. inline HRESULT ISAXDeclHandler::elementDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchModel, int cchModel ) {
  417. HRESULT _hr = raw_elementDecl(pwchName, cchName, pwchModel, cchModel);
  418. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  419. return _hr;
  420. }
  421. 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 ) {
  422. HRESULT _hr = raw_attributeDecl(pwchElementName, cchElementName, pwchAttributeName, cchAttributeName, pwchType, cchType, pwchValueDefault, cchValueDefault, pwchValue, cchValue);
  423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  424. return _hr;
  425. }
  426. inline HRESULT ISAXDeclHandler::internalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchValue, int cchValue ) {
  427. HRESULT _hr = raw_internalEntityDecl(pwchName, cchName, pwchValue, cchValue);
  428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  429. return _hr;
  430. }
  431. inline HRESULT ISAXDeclHandler::externalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
  432. HRESULT _hr = raw_externalEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
  433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  434. return _hr;
  435. }
  436. //
  437. // interface IVBSAXEntityResolver wrapper method implementations
  438. //
  439. inline _variant_t IVBSAXEntityResolver::resolveEntity ( BSTR * strPublicId, BSTR * strSystemId ) {
  440. VARIANT _result;
  441. VariantInit(&_result);
  442. HRESULT _hr = raw_resolveEntity(strPublicId, strSystemId, &_result);
  443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  444. return _variant_t(_result, false);
  445. }
  446. //
  447. // interface IVBSAXLocator wrapper method implementations
  448. //
  449. inline int IVBSAXLocator::GetcolumnNumber ( ) {
  450. int _result = 0;
  451. HRESULT _hr = get_columnNumber(&_result);
  452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  453. return _result;
  454. }
  455. inline int IVBSAXLocator::GetlineNumber ( ) {
  456. int _result = 0;
  457. HRESULT _hr = get_lineNumber(&_result);
  458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  459. return _result;
  460. }
  461. inline _bstr_t IVBSAXLocator::GetpublicId ( ) {
  462. BSTR _result = 0;
  463. HRESULT _hr = get_publicId(&_result);
  464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  465. return _bstr_t(_result, false);
  466. }
  467. inline _bstr_t IVBSAXLocator::GetsystemId ( ) {
  468. BSTR _result = 0;
  469. HRESULT _hr = get_systemId(&_result);
  470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  471. return _bstr_t(_result, false);
  472. }
  473. //
  474. // interface IVBSAXAttributes wrapper method implementations
  475. //
  476. inline int IVBSAXAttributes::Getlength ( ) {
  477. int _result = 0;
  478. HRESULT _hr = get_length(&_result);
  479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  480. return _result;
  481. }
  482. inline _bstr_t IVBSAXAttributes::getURI ( int nIndex ) {
  483. BSTR _result = 0;
  484. HRESULT _hr = raw_getURI(nIndex, &_result);
  485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  486. return _bstr_t(_result, false);
  487. }
  488. inline _bstr_t IVBSAXAttributes::getLocalName ( int nIndex ) {
  489. BSTR _result = 0;
  490. HRESULT _hr = raw_getLocalName(nIndex, &_result);
  491. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  492. return _bstr_t(_result, false);
  493. }
  494. inline _bstr_t IVBSAXAttributes::getQName ( int nIndex ) {
  495. BSTR _result = 0;
  496. HRESULT _hr = raw_getQName(nIndex, &_result);
  497. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  498. return _bstr_t(_result, false);
  499. }
  500. inline int IVBSAXAttributes::getIndexFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
  501. int _result = 0;
  502. HRESULT _hr = raw_getIndexFromName(strURI, strLocalName, &_result);
  503. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  504. return _result;
  505. }
  506. inline int IVBSAXAttributes::getIndexFromQName ( _bstr_t strQName ) {
  507. int _result = 0;
  508. HRESULT _hr = raw_getIndexFromQName(strQName, &_result);
  509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  510. return _result;
  511. }
  512. inline _bstr_t IVBSAXAttributes::getType ( int nIndex ) {
  513. BSTR _result = 0;
  514. HRESULT _hr = raw_getType(nIndex, &_result);
  515. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  516. return _bstr_t(_result, false);
  517. }
  518. inline _bstr_t IVBSAXAttributes::getTypeFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
  519. BSTR _result = 0;
  520. HRESULT _hr = raw_getTypeFromName(strURI, strLocalName, &_result);
  521. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  522. return _bstr_t(_result, false);
  523. }
  524. inline _bstr_t IVBSAXAttributes::getTypeFromQName ( _bstr_t strQName ) {
  525. BSTR _result = 0;
  526. HRESULT _hr = raw_getTypeFromQName(strQName, &_result);
  527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  528. return _bstr_t(_result, false);
  529. }
  530. inline _bstr_t IVBSAXAttributes::getValue ( int nIndex ) {
  531. BSTR _result = 0;
  532. HRESULT _hr = raw_getValue(nIndex, &_result);
  533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  534. return _bstr_t(_result, false);
  535. }
  536. inline _bstr_t IVBSAXAttributes::getValueFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
  537. BSTR _result = 0;
  538. HRESULT _hr = raw_getValueFromName(strURI, strLocalName, &_result);
  539. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  540. return _bstr_t(_result, false);
  541. }
  542. inline _bstr_t IVBSAXAttributes::getValueFromQName ( _bstr_t strQName ) {
  543. BSTR _result = 0;
  544. HRESULT _hr = raw_getValueFromQName(strQName, &_result);
  545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  546. return _bstr_t(_result, false);
  547. }
  548. //
  549. // interface IVBSAXContentHandler wrapper method implementations
  550. //
  551. inline void IVBSAXContentHandler::PutRefdocumentLocator ( struct IVBSAXLocator * _arg1 ) {
  552. HRESULT _hr = putref_documentLocator(_arg1);
  553. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  554. }
  555. inline HRESULT IVBSAXContentHandler::startDocument ( ) {
  556. HRESULT _hr = raw_startDocument();
  557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  558. return _hr;
  559. }
  560. inline HRESULT IVBSAXContentHandler::endDocument ( ) {
  561. HRESULT _hr = raw_endDocument();
  562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  563. return _hr;
  564. }
  565. inline HRESULT IVBSAXContentHandler::startPrefixMapping ( BSTR * strPrefix, BSTR * strURI ) {
  566. HRESULT _hr = raw_startPrefixMapping(strPrefix, strURI);
  567. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  568. return _hr;
  569. }
  570. inline HRESULT IVBSAXContentHandler::endPrefixMapping ( BSTR * strPrefix ) {
  571. HRESULT _hr = raw_endPrefixMapping(strPrefix);
  572. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  573. return _hr;
  574. }
  575. inline HRESULT IVBSAXContentHandler::startElement ( BSTR * strNamespaceURI, BSTR * strLocalName, BSTR * strQName, struct IVBSAXAttributes * oAttributes ) {
  576. HRESULT _hr = raw_startElement(strNamespaceURI, strLocalName, strQName, oAttributes);
  577. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  578. return _hr;
  579. }
  580. inline HRESULT IVBSAXContentHandler::endElement ( BSTR * strNamespaceURI, BSTR * strLocalName, BSTR * strQName ) {
  581. HRESULT _hr = raw_endElement(strNamespaceURI, strLocalName, strQName);
  582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  583. return _hr;
  584. }
  585. inline HRESULT IVBSAXContentHandler::characters ( BSTR * strChars ) {
  586. HRESULT _hr = raw_characters(strChars);
  587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  588. return _hr;
  589. }
  590. inline HRESULT IVBSAXContentHandler::ignorableWhitespace ( BSTR * strChars ) {
  591. HRESULT _hr = raw_ignorableWhitespace(strChars);
  592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  593. return _hr;
  594. }
  595. inline HRESULT IVBSAXContentHandler::processingInstruction ( BSTR * strTarget, BSTR * strData ) {
  596. HRESULT _hr = raw_processingInstruction(strTarget, strData);
  597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  598. return _hr;
  599. }
  600. inline HRESULT IVBSAXContentHandler::skippedEntity ( BSTR * strName ) {
  601. HRESULT _hr = raw_skippedEntity(strName);
  602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  603. return _hr;
  604. }
  605. //
  606. // interface IVBSAXDTDHandler wrapper method implementations
  607. //
  608. inline HRESULT IVBSAXDTDHandler::notationDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
  609. HRESULT _hr = raw_notationDecl(strName, strPublicId, strSystemId);
  610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  611. return _hr;
  612. }
  613. inline HRESULT IVBSAXDTDHandler::unparsedEntityDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId, BSTR * strNotationName ) {
  614. HRESULT _hr = raw_unparsedEntityDecl(strName, strPublicId, strSystemId, strNotationName);
  615. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  616. return _hr;
  617. }
  618. //
  619. // interface IVBSAXErrorHandler wrapper method implementations
  620. //
  621. inline HRESULT IVBSAXErrorHandler::error ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
  622. HRESULT _hr = raw_error(oLocator, strErrorMessage, nErrorCode);
  623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  624. return _hr;
  625. }
  626. inline HRESULT IVBSAXErrorHandler::fatalError ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
  627. HRESULT _hr = raw_fatalError(oLocator, strErrorMessage, nErrorCode);
  628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  629. return _hr;
  630. }
  631. inline HRESULT IVBSAXErrorHandler::ignorableWarning ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
  632. HRESULT _hr = raw_ignorableWarning(oLocator, strErrorMessage, nErrorCode);
  633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  634. return _hr;
  635. }
  636. //
  637. // interface IVBSAXXMLReader wrapper method implementations
  638. //
  639. inline VARIANT_BOOL IVBSAXXMLReader::getFeature ( _bstr_t strName ) {
  640. VARIANT_BOOL _result = 0;
  641. HRESULT _hr = raw_getFeature(strName, &_result);
  642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  643. return _result;
  644. }
  645. inline HRESULT IVBSAXXMLReader::putFeature ( _bstr_t strName, VARIANT_BOOL fValue ) {
  646. HRESULT _hr = raw_putFeature(strName, fValue);
  647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  648. return _hr;
  649. }
  650. inline _variant_t IVBSAXXMLReader::getProperty ( _bstr_t strName ) {
  651. VARIANT _result;
  652. VariantInit(&_result);
  653. HRESULT _hr = raw_getProperty(strName, &_result);
  654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  655. return _variant_t(_result, false);
  656. }
  657. inline HRESULT IVBSAXXMLReader::putProperty ( _bstr_t strName, const _variant_t & varValue ) {
  658. HRESULT _hr = raw_putProperty(strName, varValue);
  659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  660. return _hr;
  661. }
  662. inline IVBSAXEntityResolverPtr IVBSAXXMLReader::GetentityResolver ( ) {
  663. struct IVBSAXEntityResolver * _result = 0;
  664. HRESULT _hr = get_entityResolver(&_result);
  665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  666. return IVBSAXEntityResolverPtr(_result, false);
  667. }
  668. inline void IVBSAXXMLReader::PutRefentityResolver ( struct IVBSAXEntityResolver * oResolver ) {
  669. HRESULT _hr = putref_entityResolver(oResolver);
  670. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  671. }
  672. inline IVBSAXContentHandlerPtr IVBSAXXMLReader::GetcontentHandler ( ) {
  673. struct IVBSAXContentHandler * _result = 0;
  674. HRESULT _hr = get_contentHandler(&_result);
  675. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  676. return IVBSAXContentHandlerPtr(_result, false);
  677. }
  678. inline void IVBSAXXMLReader::PutRefcontentHandler ( struct IVBSAXContentHandler * oHandler ) {
  679. HRESULT _hr = putref_contentHandler(oHandler);
  680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  681. }
  682. inline IVBSAXDTDHandlerPtr IVBSAXXMLReader::GetdtdHandler ( ) {
  683. struct IVBSAXDTDHandler * _result = 0;
  684. HRESULT _hr = get_dtdHandler(&_result);
  685. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  686. return IVBSAXDTDHandlerPtr(_result, false);
  687. }
  688. inline void IVBSAXXMLReader::PutRefdtdHandler ( struct IVBSAXDTDHandler * oHandler ) {
  689. HRESULT _hr = putref_dtdHandler(oHandler);
  690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  691. }
  692. inline IVBSAXErrorHandlerPtr IVBSAXXMLReader::GeterrorHandler ( ) {
  693. struct IVBSAXErrorHandler * _result = 0;
  694. HRESULT _hr = get_errorHandler(&_result);
  695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  696. return IVBSAXErrorHandlerPtr(_result, false);
  697. }
  698. inline void IVBSAXXMLReader::PutReferrorHandler ( struct IVBSAXErrorHandler * oHandler ) {
  699. HRESULT _hr = putref_errorHandler(oHandler);
  700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  701. }
  702. inline _bstr_t IVBSAXXMLReader::GetbaseURL ( ) {
  703. BSTR _result = 0;
  704. HRESULT _hr = get_baseURL(&_result);
  705. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  706. return _bstr_t(_result, false);
  707. }
  708. inline void IVBSAXXMLReader::PutbaseURL ( _bstr_t strBaseURL ) {
  709. HRESULT _hr = put_baseURL(strBaseURL);
  710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  711. }
  712. inline _bstr_t IVBSAXXMLReader::GetsecureBaseURL ( ) {
  713. BSTR _result = 0;
  714. HRESULT _hr = get_secureBaseURL(&_result);
  715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  716. return _bstr_t(_result, false);
  717. }
  718. inline void IVBSAXXMLReader::PutsecureBaseURL ( _bstr_t strSecureBaseURL ) {
  719. HRESULT _hr = put_secureBaseURL(strSecureBaseURL);
  720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  721. }
  722. inline HRESULT IVBSAXXMLReader::parse ( const _variant_t & varInput ) {
  723. HRESULT _hr = raw_parse(varInput);
  724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  725. return _hr;
  726. }
  727. inline HRESULT IVBSAXXMLReader::parseURL ( _bstr_t strURL ) {
  728. HRESULT _hr = raw_parseURL(strURL);
  729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  730. return _hr;
  731. }
  732. //
  733. // interface IVBSAXXMLFilter wrapper method implementations
  734. //
  735. inline IVBSAXXMLReaderPtr IVBSAXXMLFilter::Getparent ( ) {
  736. struct IVBSAXXMLReader * _result = 0;
  737. HRESULT _hr = get_parent(&_result);
  738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  739. return IVBSAXXMLReaderPtr(_result, false);
  740. }
  741. inline void IVBSAXXMLFilter::PutRefparent ( struct IVBSAXXMLReader * oReader ) {
  742. HRESULT _hr = putref_parent(oReader);
  743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  744. }
  745. //
  746. // interface IVBSAXLexicalHandler wrapper method implementations
  747. //
  748. inline HRESULT IVBSAXLexicalHandler::startDTD ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
  749. HRESULT _hr = raw_startDTD(strName, strPublicId, strSystemId);
  750. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  751. return _hr;
  752. }
  753. inline HRESULT IVBSAXLexicalHandler::endDTD ( ) {
  754. HRESULT _hr = raw_endDTD();
  755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  756. return _hr;
  757. }
  758. inline HRESULT IVBSAXLexicalHandler::startEntity ( BSTR * strName ) {
  759. HRESULT _hr = raw_startEntity(strName);
  760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  761. return _hr;
  762. }
  763. inline HRESULT IVBSAXLexicalHandler::endEntity ( BSTR * strName ) {
  764. HRESULT _hr = raw_endEntity(strName);
  765. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  766. return _hr;
  767. }
  768. inline HRESULT IVBSAXLexicalHandler::startCDATA ( ) {
  769. HRESULT _hr = raw_startCDATA();
  770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  771. return _hr;
  772. }
  773. inline HRESULT IVBSAXLexicalHandler::endCDATA ( ) {
  774. HRESULT _hr = raw_endCDATA();
  775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  776. return _hr;
  777. }
  778. inline HRESULT IVBSAXLexicalHandler::comment ( BSTR * strChars ) {
  779. HRESULT _hr = raw_comment(strChars);
  780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  781. return _hr;
  782. }
  783. //
  784. // interface IVBSAXDeclHandler wrapper method implementations
  785. //
  786. inline HRESULT IVBSAXDeclHandler::elementDecl ( BSTR * strName, BSTR * strModel ) {
  787. HRESULT _hr = raw_elementDecl(strName, strModel);
  788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  789. return _hr;
  790. }
  791. inline HRESULT IVBSAXDeclHandler::attributeDecl ( BSTR * strElementName, BSTR * strAttributeName, BSTR * strType, BSTR * strValueDefault, BSTR * strValue ) {
  792. HRESULT _hr = raw_attributeDecl(strElementName, strAttributeName, strType, strValueDefault, strValue);
  793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  794. return _hr;
  795. }
  796. inline HRESULT IVBSAXDeclHandler::internalEntityDecl ( BSTR * strName, BSTR * strValue ) {
  797. HRESULT _hr = raw_internalEntityDecl(strName, strValue);
  798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  799. return _hr;
  800. }
  801. inline HRESULT IVBSAXDeclHandler::externalEntityDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
  802. HRESULT _hr = raw_externalEntityDecl(strName, strPublicId, strSystemId);
  803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  804. return _hr;
  805. }
  806. //
  807. // interface IMXWriter wrapper method implementations
  808. //
  809. inline void IMXWriter::Putoutput ( const _variant_t & varDestination ) {
  810. HRESULT _hr = put_output(varDestination);
  811. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  812. }
  813. inline _variant_t IMXWriter::Getoutput ( ) {
  814. VARIANT _result;
  815. VariantInit(&_result);
  816. HRESULT _hr = get_output(&_result);
  817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  818. return _variant_t(_result, false);
  819. }
  820. inline void IMXWriter::Putencoding ( _bstr_t strEncoding ) {
  821. HRESULT _hr = put_encoding(strEncoding);
  822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  823. }
  824. inline _bstr_t IMXWriter::Getencoding ( ) {
  825. BSTR _result = 0;
  826. HRESULT _hr = get_encoding(&_result);
  827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  828. return _bstr_t(_result, false);
  829. }
  830. inline void IMXWriter::PutbyteOrderMark ( VARIANT_BOOL fWriteByteOrderMark ) {
  831. HRESULT _hr = put_byteOrderMark(fWriteByteOrderMark);
  832. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  833. }
  834. inline VARIANT_BOOL IMXWriter::GetbyteOrderMark ( ) {
  835. VARIANT_BOOL _result = 0;
  836. HRESULT _hr = get_byteOrderMark(&_result);
  837. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  838. return _result;
  839. }
  840. inline void IMXWriter::Putindent ( VARIANT_BOOL fIndentMode ) {
  841. HRESULT _hr = put_indent(fIndentMode);
  842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  843. }
  844. inline VARIANT_BOOL IMXWriter::Getindent ( ) {
  845. VARIANT_BOOL _result = 0;
  846. HRESULT _hr = get_indent(&_result);
  847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  848. return _result;
  849. }
  850. inline void IMXWriter::Putstandalone ( VARIANT_BOOL fValue ) {
  851. HRESULT _hr = put_standalone(fValue);
  852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  853. }
  854. inline VARIANT_BOOL IMXWriter::Getstandalone ( ) {
  855. VARIANT_BOOL _result = 0;
  856. HRESULT _hr = get_standalone(&_result);
  857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  858. return _result;
  859. }
  860. inline void IMXWriter::PutomitXMLDeclaration ( VARIANT_BOOL fValue ) {
  861. HRESULT _hr = put_omitXMLDeclaration(fValue);
  862. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  863. }
  864. inline VARIANT_BOOL IMXWriter::GetomitXMLDeclaration ( ) {
  865. VARIANT_BOOL _result = 0;
  866. HRESULT _hr = get_omitXMLDeclaration(&_result);
  867. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  868. return _result;
  869. }
  870. inline void IMXWriter::Putversion ( _bstr_t strVersion ) {
  871. HRESULT _hr = put_version(strVersion);
  872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  873. }
  874. inline _bstr_t IMXWriter::Getversion ( ) {
  875. BSTR _result = 0;
  876. HRESULT _hr = get_version(&_result);
  877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  878. return _bstr_t(_result, false);
  879. }
  880. inline void IMXWriter::PutdisableOutputEscaping ( VARIANT_BOOL fValue ) {
  881. HRESULT _hr = put_disableOutputEscaping(fValue);
  882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  883. }
  884. inline VARIANT_BOOL IMXWriter::GetdisableOutputEscaping ( ) {
  885. VARIANT_BOOL _result = 0;
  886. HRESULT _hr = get_disableOutputEscaping(&_result);
  887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  888. return _result;
  889. }
  890. inline HRESULT IMXWriter::flush ( ) {
  891. HRESULT _hr = raw_flush();
  892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  893. return _hr;
  894. }
  895. //
  896. // interface IMXAttributes wrapper method implementations
  897. //
  898. inline HRESULT IMXAttributes::addAttribute ( _bstr_t strURI, _bstr_t strLocalName, _bstr_t strQName, _bstr_t strType, _bstr_t strValue ) {
  899. HRESULT _hr = raw_addAttribute(strURI, strLocalName, strQName, strType, strValue);
  900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  901. return _hr;
  902. }
  903. inline HRESULT IMXAttributes::addAttributeFromIndex ( const _variant_t & varAtts, int nIndex ) {
  904. HRESULT _hr = raw_addAttributeFromIndex(varAtts, nIndex);
  905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  906. return _hr;
  907. }
  908. inline HRESULT IMXAttributes::clear ( ) {
  909. HRESULT _hr = raw_clear();
  910. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  911. return _hr;
  912. }
  913. inline HRESULT IMXAttributes::removeAttribute ( int nIndex ) {
  914. HRESULT _hr = raw_removeAttribute(nIndex);
  915. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  916. return _hr;
  917. }
  918. inline HRESULT IMXAttributes::setAttribute ( int nIndex, _bstr_t strURI, _bstr_t strLocalName, _bstr_t strQName, _bstr_t strType, _bstr_t strValue ) {
  919. HRESULT _hr = raw_setAttribute(nIndex, strURI, strLocalName, strQName, strType, strValue);
  920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  921. return _hr;
  922. }
  923. inline HRESULT IMXAttributes::setAttributes ( const _variant_t & varAtts ) {
  924. HRESULT _hr = raw_setAttributes(varAtts);
  925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  926. return _hr;
  927. }
  928. inline HRESULT IMXAttributes::setLocalName ( int nIndex, _bstr_t strLocalName ) {
  929. HRESULT _hr = raw_setLocalName(nIndex, strLocalName);
  930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  931. return _hr;
  932. }
  933. inline HRESULT IMXAttributes::setQName ( int nIndex, _bstr_t strQName ) {
  934. HRESULT _hr = raw_setQName(nIndex, strQName);
  935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  936. return _hr;
  937. }
  938. inline HRESULT IMXAttributes::setType ( int nIndex, _bstr_t strType ) {
  939. HRESULT _hr = raw_setType(nIndex, strType);
  940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  941. return _hr;
  942. }
  943. inline HRESULT IMXAttributes::setURI ( int nIndex, _bstr_t strURI ) {
  944. HRESULT _hr = raw_setURI(nIndex, strURI);
  945. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  946. return _hr;
  947. }
  948. inline HRESULT IMXAttributes::setValue ( int nIndex, _bstr_t strValue ) {
  949. HRESULT _hr = raw_setValue(nIndex, strValue);
  950. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  951. return _hr;
  952. }
  953. //
  954. // interface IMXReaderControl wrapper method implementations
  955. //
  956. inline HRESULT IMXReaderControl::abort ( ) {
  957. HRESULT _hr = raw_abort();
  958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  959. return _hr;
  960. }
  961. inline HRESULT IMXReaderControl::resume ( ) {
  962. HRESULT _hr = raw_resume();
  963. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  964. return _hr;
  965. }
  966. inline HRESULT IMXReaderControl::suspend ( ) {
  967. HRESULT _hr = raw_suspend();
  968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  969. return _hr;
  970. }
  971. //
  972. // interface ISchemaStringCollection wrapper method implementations
  973. //
  974. inline _bstr_t ISchemaStringCollection::Getitem ( long index ) {
  975. BSTR _result = 0;
  976. HRESULT _hr = get_item(index, &_result);
  977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  978. return _bstr_t(_result, false);
  979. }
  980. inline long ISchemaStringCollection::Getlength ( ) {
  981. long _result = 0;
  982. HRESULT _hr = get_length(&_result);
  983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  984. return _result;
  985. }
  986. inline IUnknownPtr ISchemaStringCollection::Get_newEnum ( ) {
  987. IUnknown * _result = 0;
  988. HRESULT _hr = get__newEnum(&_result);
  989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  990. return IUnknownPtr(_result, false);
  991. }
  992. //
  993. // interface IMXXMLFilter wrapper method implementations
  994. //
  995. inline VARIANT_BOOL IMXXMLFilter::getFeature ( _bstr_t strName ) {
  996. VARIANT_BOOL _result = 0;
  997. HRESULT _hr = raw_getFeature(strName, &_result);
  998. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  999. return _result;
  1000. }
  1001. inline HRESULT IMXXMLFilter::putFeature ( _bstr_t strName, VARIANT_BOOL fValue ) {
  1002. HRESULT _hr = raw_putFeature(strName, fValue);
  1003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1004. return _hr;
  1005. }
  1006. inline _variant_t IMXXMLFilter::getProperty ( _bstr_t strName ) {
  1007. VARIANT _result;
  1008. VariantInit(&_result);
  1009. HRESULT _hr = raw_getProperty(strName, &_result);
  1010. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1011. return _variant_t(_result, false);
  1012. }
  1013. inline HRESULT IMXXMLFilter::putProperty ( _bstr_t strName, const _variant_t & varValue ) {
  1014. HRESULT _hr = raw_putProperty(strName, varValue);
  1015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1016. return _hr;
  1017. }
  1018. inline IUnknownPtr IMXXMLFilter::GetentityResolver ( ) {
  1019. IUnknown * _result = 0;
  1020. HRESULT _hr = get_entityResolver(&_result);
  1021. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1022. return IUnknownPtr(_result, false);
  1023. }
  1024. inline void IMXXMLFilter::PutRefentityResolver ( IUnknown * oResolver ) {
  1025. HRESULT _hr = putref_entityResolver(oResolver);
  1026. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1027. }
  1028. inline IUnknownPtr IMXXMLFilter::GetcontentHandler ( ) {
  1029. IUnknown * _result = 0;
  1030. HRESULT _hr = get_contentHandler(&_result);
  1031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1032. return IUnknownPtr(_result, false);
  1033. }
  1034. inline void IMXXMLFilter::PutRefcontentHandler ( IUnknown * oHandler ) {
  1035. HRESULT _hr = putref_contentHandler(oHandler);
  1036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1037. }
  1038. inline IUnknownPtr IMXXMLFilter::GetdtdHandler ( ) {
  1039. IUnknown * _result = 0;
  1040. HRESULT _hr = get_dtdHandler(&_result);
  1041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1042. return IUnknownPtr(_result, false);
  1043. }
  1044. inline void IMXXMLFilter::PutRefdtdHandler ( IUnknown * oHandler ) {
  1045. HRESULT _hr = putref_dtdHandler(oHandler);
  1046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1047. }
  1048. inline IUnknownPtr IMXXMLFilter::GeterrorHandler ( ) {
  1049. IUnknown * _result = 0;
  1050. HRESULT _hr = get_errorHandler(&_result);
  1051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1052. return IUnknownPtr(_result, false);
  1053. }
  1054. inline void IMXXMLFilter::PutReferrorHandler ( IUnknown * oHandler ) {
  1055. HRESULT _hr = putref_errorHandler(oHandler);
  1056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1057. }
  1058. //
  1059. // dispinterface XMLDOMDocumentEvents wrapper method implementations
  1060. //
  1061. inline HRESULT XMLDOMDocumentEvents::ondataavailable ( ) {
  1062. HRESULT _result = 0;
  1063. _com_dispatch_method(this, 0xc6, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
  1064. return _result;
  1065. }
  1066. inline HRESULT XMLDOMDocumentEvents::onreadystatechange ( ) {
  1067. HRESULT _result = 0;
  1068. _com_dispatch_method(this, DISPID_READYSTATECHANGE, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
  1069. return _result;
  1070. }
  1071. //
  1072. // interface IXMLHTTPRequest wrapper method implementations
  1073. //
  1074. inline HRESULT IXMLHTTPRequest::open ( _bstr_t bstrMethod, _bstr_t bstrUrl, const _variant_t & varAsync, const _variant_t & bstrUser, const _variant_t & bstrPassword ) {
  1075. HRESULT _hr = raw_open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);
  1076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1077. return _hr;
  1078. }
  1079. inline HRESULT IXMLHTTPRequest::setRequestHeader ( _bstr_t bstrHeader, _bstr_t bstrValue ) {
  1080. HRESULT _hr = raw_setRequestHeader(bstrHeader, bstrValue);
  1081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1082. return _hr;
  1083. }
  1084. inline _bstr_t IXMLHTTPRequest::getResponseHeader ( _bstr_t bstrHeader ) {
  1085. BSTR _result = 0;
  1086. HRESULT _hr = raw_getResponseHeader(bstrHeader, &_result);
  1087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1088. return _bstr_t(_result, false);
  1089. }
  1090. inline _bstr_t IXMLHTTPRequest::getAllResponseHeaders ( ) {
  1091. BSTR _result = 0;
  1092. HRESULT _hr = raw_getAllResponseHeaders(&_result);
  1093. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1094. return _bstr_t(_result, false);
  1095. }
  1096. inline HRESULT IXMLHTTPRequest::send ( const _variant_t & varBody ) {
  1097. HRESULT _hr = raw_send(varBody);
  1098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1099. return _hr;
  1100. }
  1101. inline HRESULT IXMLHTTPRequest::abort ( ) {
  1102. HRESULT _hr = raw_abort();
  1103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1104. return _hr;
  1105. }
  1106. inline long IXMLHTTPRequest::Getstatus ( ) {
  1107. long _result = 0;
  1108. HRESULT _hr = get_status(&_result);
  1109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1110. return _result;
  1111. }
  1112. inline _bstr_t IXMLHTTPRequest::GetstatusText ( ) {
  1113. BSTR _result = 0;
  1114. HRESULT _hr = get_statusText(&_result);
  1115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1116. return _bstr_t(_result, false);
  1117. }
  1118. inline IDispatchPtr IXMLHTTPRequest::GetresponseXML ( ) {
  1119. IDispatch * _result = 0;
  1120. HRESULT _hr = get_responseXML(&_result);
  1121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1122. return IDispatchPtr(_result, false);
  1123. }
  1124. inline _bstr_t IXMLHTTPRequest::GetresponseText ( ) {
  1125. BSTR _result = 0;
  1126. HRESULT _hr = get_responseText(&_result);
  1127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1128. return _bstr_t(_result, false);
  1129. }
  1130. inline _variant_t IXMLHTTPRequest::GetresponseBody ( ) {
  1131. VARIANT _result;
  1132. VariantInit(&_result);
  1133. HRESULT _hr = get_responseBody(&_result);
  1134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1135. return _variant_t(_result, false);
  1136. }
  1137. inline _variant_t IXMLHTTPRequest::GetresponseStream ( ) {
  1138. VARIANT _result;
  1139. VariantInit(&_result);
  1140. HRESULT _hr = get_responseStream(&_result);
  1141. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1142. return _variant_t(_result, false);
  1143. }
  1144. inline long IXMLHTTPRequest::GetreadyState ( ) {
  1145. long _result = 0;
  1146. HRESULT _hr = get_readyState(&_result);
  1147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1148. return _result;
  1149. }
  1150. inline void IXMLHTTPRequest::Putonreadystatechange ( IDispatch * _arg1 ) {
  1151. HRESULT _hr = put_onreadystatechange(_arg1);
  1152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1153. }
  1154. //
  1155. // interface IServerXMLHTTPRequest wrapper method implementations
  1156. //
  1157. inline HRESULT IServerXMLHTTPRequest::setTimeouts ( long resolveTimeout, long connectTimeout, long sendTimeout, long receiveTimeout ) {
  1158. HRESULT _hr = raw_setTimeouts(resolveTimeout, connectTimeout, sendTimeout, receiveTimeout);
  1159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1160. return _hr;
  1161. }
  1162. inline VARIANT_BOOL IServerXMLHTTPRequest::waitForResponse ( const _variant_t & timeoutInSeconds ) {
  1163. VARIANT_BOOL _result = 0;
  1164. HRESULT _hr = raw_waitForResponse(timeoutInSeconds, &_result);
  1165. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1166. return _result;
  1167. }
  1168. inline _variant_t IServerXMLHTTPRequest::getOption ( SERVERXMLHTTP_OPTION option ) {
  1169. VARIANT _result;
  1170. VariantInit(&_result);
  1171. HRESULT _hr = raw_getOption(option, &_result);
  1172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1173. return _variant_t(_result, false);
  1174. }
  1175. inline HRESULT IServerXMLHTTPRequest::setOption ( SERVERXMLHTTP_OPTION option, const _variant_t & value ) {
  1176. HRESULT _hr = raw_setOption(option, value);
  1177. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1178. return _hr;
  1179. }
  1180. //
  1181. // interface IServerXMLHTTPRequest2 wrapper method implementations
  1182. //
  1183. inline HRESULT IServerXMLHTTPRequest2::setProxy ( SXH_PROXY_SETTING proxySetting, const _variant_t & varProxyServer, const _variant_t & varBypassList ) {
  1184. HRESULT _hr = raw_setProxy(proxySetting, varProxyServer, varBypassList);
  1185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1186. return _hr;
  1187. }
  1188. inline HRESULT IServerXMLHTTPRequest2::setProxyCredentials ( _bstr_t bstrUserName, _bstr_t bstrPassword ) {
  1189. HRESULT _hr = raw_setProxyCredentials(bstrUserName, bstrPassword);
  1190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1191. return _hr;
  1192. }
  1193. //
  1194. // interface IMXNamespacePrefixes wrapper method implementations
  1195. //
  1196. inline _bstr_t IMXNamespacePrefixes::Getitem ( long index ) {
  1197. BSTR _result = 0;
  1198. HRESULT _hr = get_item(index, &_result);
  1199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1200. return _bstr_t(_result, false);
  1201. }
  1202. inline long IMXNamespacePrefixes::Getlength ( ) {
  1203. long _result = 0;
  1204. HRESULT _hr = get_length(&_result);
  1205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1206. return _result;
  1207. }
  1208. inline IUnknownPtr IMXNamespacePrefixes::Get_newEnum ( ) {
  1209. IUnknown * _result = 0;
  1210. HRESULT _hr = get__newEnum(&_result);
  1211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1212. return IUnknownPtr(_result, false);
  1213. }
  1214. //
  1215. // interface IXMLDOMNode wrapper method implementations
  1216. //
  1217. inline _bstr_t IXMLDOMNode::GetnodeName ( ) {
  1218. BSTR _result = 0;
  1219. HRESULT _hr = get_nodeName(&_result);
  1220. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1221. return _bstr_t(_result, false);
  1222. }
  1223. inline _variant_t IXMLDOMNode::GetnodeValue ( ) {
  1224. VARIANT _result;
  1225. VariantInit(&_result);
  1226. HRESULT _hr = get_nodeValue(&_result);
  1227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1228. return _variant_t(_result, false);
  1229. }
  1230. inline void IXMLDOMNode::PutnodeValue ( const _variant_t & value ) {
  1231. HRESULT _hr = put_nodeValue(value);
  1232. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1233. }
  1234. inline DOMNodeType IXMLDOMNode::GetnodeType ( ) {
  1235. DOMNodeType _result;
  1236. HRESULT _hr = get_nodeType(&_result);
  1237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1238. return _result;
  1239. }
  1240. inline IXMLDOMNodePtr IXMLDOMNode::GetparentNode ( ) {
  1241. struct IXMLDOMNode * _result = 0;
  1242. HRESULT _hr = get_parentNode(&_result);
  1243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1244. return IXMLDOMNodePtr(_result, false);
  1245. }
  1246. inline IXMLDOMNodeListPtr IXMLDOMNode::GetchildNodes ( ) {
  1247. struct IXMLDOMNodeList * _result = 0;
  1248. HRESULT _hr = get_childNodes(&_result);
  1249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1250. return IXMLDOMNodeListPtr(_result, false);
  1251. }
  1252. inline IXMLDOMNodePtr IXMLDOMNode::GetfirstChild ( ) {
  1253. struct IXMLDOMNode * _result = 0;
  1254. HRESULT _hr = get_firstChild(&_result);
  1255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1256. return IXMLDOMNodePtr(_result, false);
  1257. }
  1258. inline IXMLDOMNodePtr IXMLDOMNode::GetlastChild ( ) {
  1259. struct IXMLDOMNode * _result = 0;
  1260. HRESULT _hr = get_lastChild(&_result);
  1261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1262. return IXMLDOMNodePtr(_result, false);
  1263. }
  1264. inline IXMLDOMNodePtr IXMLDOMNode::GetpreviousSibling ( ) {
  1265. struct IXMLDOMNode * _result = 0;
  1266. HRESULT _hr = get_previousSibling(&_result);
  1267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1268. return IXMLDOMNodePtr(_result, false);
  1269. }
  1270. inline IXMLDOMNodePtr IXMLDOMNode::GetnextSibling ( ) {
  1271. struct IXMLDOMNode * _result = 0;
  1272. HRESULT _hr = get_nextSibling(&_result);
  1273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1274. return IXMLDOMNodePtr(_result, false);
  1275. }
  1276. inline IXMLDOMNamedNodeMapPtr IXMLDOMNode::Getattributes ( ) {
  1277. struct IXMLDOMNamedNodeMap * _result = 0;
  1278. HRESULT _hr = get_attributes(&_result);
  1279. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1280. return IXMLDOMNamedNodeMapPtr(_result, false);
  1281. }
  1282. inline IXMLDOMNodePtr IXMLDOMNode::insertBefore ( struct IXMLDOMNode * newChild, const _variant_t & refChild ) {
  1283. struct IXMLDOMNode * _result = 0;
  1284. HRESULT _hr = raw_insertBefore(newChild, refChild, &_result);
  1285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1286. return IXMLDOMNodePtr(_result, false);
  1287. }
  1288. inline IXMLDOMNodePtr IXMLDOMNode::replaceChild ( struct IXMLDOMNode * newChild, struct IXMLDOMNode * oldChild ) {
  1289. struct IXMLDOMNode * _result = 0;
  1290. HRESULT _hr = raw_replaceChild(newChild, oldChild, &_result);
  1291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1292. return IXMLDOMNodePtr(_result, false);
  1293. }
  1294. inline IXMLDOMNodePtr IXMLDOMNode::removeChild ( struct IXMLDOMNode * childNode ) {
  1295. struct IXMLDOMNode * _result = 0;
  1296. HRESULT _hr = raw_removeChild(childNode, &_result);
  1297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1298. return IXMLDOMNodePtr(_result, false);
  1299. }
  1300. inline IXMLDOMNodePtr IXMLDOMNode::appendChild ( struct IXMLDOMNode * newChild ) {
  1301. struct IXMLDOMNode * _result = 0;
  1302. HRESULT _hr = raw_appendChild(newChild, &_result);
  1303. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1304. return IXMLDOMNodePtr(_result, false);
  1305. }
  1306. inline VARIANT_BOOL IXMLDOMNode::hasChildNodes ( ) {
  1307. VARIANT_BOOL _result = 0;
  1308. HRESULT _hr = raw_hasChildNodes(&_result);
  1309. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1310. return _result;
  1311. }
  1312. inline IXMLDOMDocumentPtr IXMLDOMNode::GetownerDocument ( ) {
  1313. struct IXMLDOMDocument * _result = 0;
  1314. HRESULT _hr = get_ownerDocument(&_result);
  1315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1316. return IXMLDOMDocumentPtr(_result, false);
  1317. }
  1318. inline IXMLDOMNodePtr IXMLDOMNode::cloneNode ( VARIANT_BOOL deep ) {
  1319. struct IXMLDOMNode * _result = 0;
  1320. HRESULT _hr = raw_cloneNode(deep, &_result);
  1321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1322. return IXMLDOMNodePtr(_result, false);
  1323. }
  1324. inline _bstr_t IXMLDOMNode::GetnodeTypeString ( ) {
  1325. BSTR _result = 0;
  1326. HRESULT _hr = get_nodeTypeString(&_result);
  1327. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1328. return _bstr_t(_result, false);
  1329. }
  1330. inline _bstr_t IXMLDOMNode::Gettext ( ) {
  1331. BSTR _result = 0;
  1332. HRESULT _hr = get_text(&_result);
  1333. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1334. return _bstr_t(_result, false);
  1335. }
  1336. inline void IXMLDOMNode::Puttext ( _bstr_t text ) {
  1337. HRESULT _hr = put_text(text);
  1338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1339. }
  1340. inline VARIANT_BOOL IXMLDOMNode::Getspecified ( ) {
  1341. VARIANT_BOOL _result = 0;
  1342. HRESULT _hr = get_specified(&_result);
  1343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1344. return _result;
  1345. }
  1346. inline IXMLDOMNodePtr IXMLDOMNode::Getdefinition ( ) {
  1347. struct IXMLDOMNode * _result = 0;
  1348. HRESULT _hr = get_definition(&_result);
  1349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1350. return IXMLDOMNodePtr(_result, false);
  1351. }
  1352. inline _variant_t IXMLDOMNode::GetnodeTypedValue ( ) {
  1353. VARIANT _result;
  1354. VariantInit(&_result);
  1355. HRESULT _hr = get_nodeTypedValue(&_result);
  1356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1357. return _variant_t(_result, false);
  1358. }
  1359. inline void IXMLDOMNode::PutnodeTypedValue ( const _variant_t & typedValue ) {
  1360. HRESULT _hr = put_nodeTypedValue(typedValue);
  1361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1362. }
  1363. inline _variant_t IXMLDOMNode::GetdataType ( ) {
  1364. VARIANT _result;
  1365. VariantInit(&_result);
  1366. HRESULT _hr = get_dataType(&_result);
  1367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1368. return _variant_t(_result, false);
  1369. }
  1370. inline void IXMLDOMNode::PutdataType ( _bstr_t dataTypeName ) {
  1371. HRESULT _hr = put_dataType(dataTypeName);
  1372. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1373. }
  1374. inline _bstr_t IXMLDOMNode::Getxml ( ) {
  1375. BSTR _result = 0;
  1376. HRESULT _hr = get_xml(&_result);
  1377. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1378. return _bstr_t(_result, false);
  1379. }
  1380. inline _bstr_t IXMLDOMNode::transformNode ( struct IXMLDOMNode * stylesheet ) {
  1381. BSTR _result = 0;
  1382. HRESULT _hr = raw_transformNode(stylesheet, &_result);
  1383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1384. return _bstr_t(_result, false);
  1385. }
  1386. inline IXMLDOMNodeListPtr IXMLDOMNode::selectNodes ( _bstr_t queryString ) {
  1387. struct IXMLDOMNodeList * _result = 0;
  1388. HRESULT _hr = raw_selectNodes(queryString, &_result);
  1389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1390. return IXMLDOMNodeListPtr(_result, false);
  1391. }
  1392. inline IXMLDOMNodePtr IXMLDOMNode::selectSingleNode ( _bstr_t queryString ) {
  1393. struct IXMLDOMNode * _result = 0;
  1394. HRESULT _hr = raw_selectSingleNode(queryString, &_result);
  1395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1396. return IXMLDOMNodePtr(_result, false);
  1397. }
  1398. inline VARIANT_BOOL IXMLDOMNode::Getparsed ( ) {
  1399. VARIANT_BOOL _result = 0;
  1400. HRESULT _hr = get_parsed(&_result);
  1401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1402. return _result;
  1403. }
  1404. inline _bstr_t IXMLDOMNode::GetnamespaceURI ( ) {
  1405. BSTR _result = 0;
  1406. HRESULT _hr = get_namespaceURI(&_result);
  1407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1408. return _bstr_t(_result, false);
  1409. }
  1410. inline _bstr_t IXMLDOMNode::Getprefix ( ) {
  1411. BSTR _result = 0;
  1412. HRESULT _hr = get_prefix(&_result);
  1413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1414. return _bstr_t(_result, false);
  1415. }
  1416. inline _bstr_t IXMLDOMNode::GetbaseName ( ) {
  1417. BSTR _result = 0;
  1418. HRESULT _hr = get_baseName(&_result);
  1419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1420. return _bstr_t(_result, false);
  1421. }
  1422. inline HRESULT IXMLDOMNode::transformNodeToObject ( struct IXMLDOMNode * stylesheet, const _variant_t & outputObject ) {
  1423. HRESULT _hr = raw_transformNodeToObject(stylesheet, outputObject);
  1424. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1425. return _hr;
  1426. }
  1427. //
  1428. // interface IXMLDOMNodeList wrapper method implementations
  1429. //
  1430. inline IXMLDOMNodePtr IXMLDOMNodeList::Getitem ( long index ) {
  1431. struct IXMLDOMNode * _result = 0;
  1432. HRESULT _hr = get_item(index, &_result);
  1433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1434. return IXMLDOMNodePtr(_result, false);
  1435. }
  1436. inline long IXMLDOMNodeList::Getlength ( ) {
  1437. long _result = 0;
  1438. HRESULT _hr = get_length(&_result);
  1439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1440. return _result;
  1441. }
  1442. inline IXMLDOMNodePtr IXMLDOMNodeList::nextNode ( ) {
  1443. struct IXMLDOMNode * _result = 0;
  1444. HRESULT _hr = raw_nextNode(&_result);
  1445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1446. return IXMLDOMNodePtr(_result, false);
  1447. }
  1448. inline HRESULT IXMLDOMNodeList::reset ( ) {
  1449. HRESULT _hr = raw_reset();
  1450. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1451. return _hr;
  1452. }
  1453. inline IUnknownPtr IXMLDOMNodeList::Get_newEnum ( ) {
  1454. IUnknown * _result = 0;
  1455. HRESULT _hr = get__newEnum(&_result);
  1456. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1457. return IUnknownPtr(_result, false);
  1458. }
  1459. //
  1460. // interface IXMLDOMNamedNodeMap wrapper method implementations
  1461. //
  1462. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getNamedItem ( _bstr_t name ) {
  1463. struct IXMLDOMNode * _result = 0;
  1464. HRESULT _hr = raw_getNamedItem(name, &_result);
  1465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1466. return IXMLDOMNodePtr(_result, false);
  1467. }
  1468. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::setNamedItem ( struct IXMLDOMNode * newItem ) {
  1469. struct IXMLDOMNode * _result = 0;
  1470. HRESULT _hr = raw_setNamedItem(newItem, &_result);
  1471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1472. return IXMLDOMNodePtr(_result, false);
  1473. }
  1474. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeNamedItem ( _bstr_t name ) {
  1475. struct IXMLDOMNode * _result = 0;
  1476. HRESULT _hr = raw_removeNamedItem(name, &_result);
  1477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1478. return IXMLDOMNodePtr(_result, false);
  1479. }
  1480. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::Getitem ( long index ) {
  1481. struct IXMLDOMNode * _result = 0;
  1482. HRESULT _hr = get_item(index, &_result);
  1483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1484. return IXMLDOMNodePtr(_result, false);
  1485. }
  1486. inline long IXMLDOMNamedNodeMap::Getlength ( ) {
  1487. long _result = 0;
  1488. HRESULT _hr = get_length(&_result);
  1489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1490. return _result;
  1491. }
  1492. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
  1493. struct IXMLDOMNode * _result = 0;
  1494. HRESULT _hr = raw_getQualifiedItem(baseName, namespaceURI, &_result);
  1495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1496. return IXMLDOMNodePtr(_result, false);
  1497. }
  1498. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
  1499. struct IXMLDOMNode * _result = 0;
  1500. HRESULT _hr = raw_removeQualifiedItem(baseName, namespaceURI, &_result);
  1501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1502. return IXMLDOMNodePtr(_result, false);
  1503. }
  1504. inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::nextNode ( ) {
  1505. struct IXMLDOMNode * _result = 0;
  1506. HRESULT _hr = raw_nextNode(&_result);
  1507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1508. return IXMLDOMNodePtr(_result, false);
  1509. }
  1510. inline HRESULT IXMLDOMNamedNodeMap::reset ( ) {
  1511. HRESULT _hr = raw_reset();
  1512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1513. return _hr;
  1514. }
  1515. inline IUnknownPtr IXMLDOMNamedNodeMap::Get_newEnum ( ) {
  1516. IUnknown * _result = 0;
  1517. HRESULT _hr = get__newEnum(&_result);
  1518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1519. return IUnknownPtr(_result, false);
  1520. }
  1521. //
  1522. // interface IXMLDOMDocumentType wrapper method implementations
  1523. //
  1524. inline _bstr_t IXMLDOMDocumentType::Getname ( ) {
  1525. BSTR _result = 0;
  1526. HRESULT _hr = get_name(&_result);
  1527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1528. return _bstr_t(_result, false);
  1529. }
  1530. inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getentities ( ) {
  1531. struct IXMLDOMNamedNodeMap * _result = 0;
  1532. HRESULT _hr = get_entities(&_result);
  1533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1534. return IXMLDOMNamedNodeMapPtr(_result, false);
  1535. }
  1536. inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getnotations ( ) {
  1537. struct IXMLDOMNamedNodeMap * _result = 0;
  1538. HRESULT _hr = get_notations(&_result);
  1539. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1540. return IXMLDOMNamedNodeMapPtr(_result, false);
  1541. }
  1542. //
  1543. // interface IXMLDOMAttribute wrapper method implementations
  1544. //
  1545. inline _bstr_t IXMLDOMAttribute::Getname ( ) {
  1546. BSTR _result = 0;
  1547. HRESULT _hr = get_name(&_result);
  1548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1549. return _bstr_t(_result, false);
  1550. }
  1551. inline _variant_t IXMLDOMAttribute::Getvalue ( ) {
  1552. VARIANT _result;
  1553. VariantInit(&_result);
  1554. HRESULT _hr = get_value(&_result);
  1555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1556. return _variant_t(_result, false);
  1557. }
  1558. inline void IXMLDOMAttribute::Putvalue ( const _variant_t & attributeValue ) {
  1559. HRESULT _hr = put_value(attributeValue);
  1560. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1561. }
  1562. //
  1563. // interface IXMLDOMElement wrapper method implementations
  1564. //
  1565. inline _bstr_t IXMLDOMElement::GettagName ( ) {
  1566. BSTR _result = 0;
  1567. HRESULT _hr = get_tagName(&_result);
  1568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1569. return _bstr_t(_result, false);
  1570. }
  1571. inline _variant_t IXMLDOMElement::getAttribute ( _bstr_t name ) {
  1572. VARIANT _result;
  1573. VariantInit(&_result);
  1574. HRESULT _hr = raw_getAttribute(name, &_result);
  1575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1576. return _variant_t(_result, false);
  1577. }
  1578. inline HRESULT IXMLDOMElement::setAttribute ( _bstr_t name, const _variant_t & value ) {
  1579. HRESULT _hr = raw_setAttribute(name, value);
  1580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1581. return _hr;
  1582. }
  1583. inline HRESULT IXMLDOMElement::removeAttribute ( _bstr_t name ) {
  1584. HRESULT _hr = raw_removeAttribute(name);
  1585. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1586. return _hr;
  1587. }
  1588. inline IXMLDOMAttributePtr IXMLDOMElement::getAttributeNode ( _bstr_t name ) {
  1589. struct IXMLDOMAttribute * _result = 0;
  1590. HRESULT _hr = raw_getAttributeNode(name, &_result);
  1591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1592. return IXMLDOMAttributePtr(_result, false);
  1593. }
  1594. inline IXMLDOMAttributePtr IXMLDOMElement::setAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
  1595. struct IXMLDOMAttribute * _result = 0;
  1596. HRESULT _hr = raw_setAttributeNode(DOMAttribute, &_result);
  1597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1598. return IXMLDOMAttributePtr(_result, false);
  1599. }
  1600. inline IXMLDOMAttributePtr IXMLDOMElement::removeAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
  1601. struct IXMLDOMAttribute * _result = 0;
  1602. HRESULT _hr = raw_removeAttributeNode(DOMAttribute, &_result);
  1603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1604. return IXMLDOMAttributePtr(_result, false);
  1605. }
  1606. inline IXMLDOMNodeListPtr IXMLDOMElement::getElementsByTagName ( _bstr_t tagName ) {
  1607. struct IXMLDOMNodeList * _result = 0;
  1608. HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
  1609. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1610. return IXMLDOMNodeListPtr(_result, false);
  1611. }
  1612. inline HRESULT IXMLDOMElement::normalize ( ) {
  1613. HRESULT _hr = raw_normalize();
  1614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1615. return _hr;
  1616. }
  1617. //
  1618. // interface IXMLDOMCharacterData wrapper method implementations
  1619. //
  1620. inline _bstr_t IXMLDOMCharacterData::Getdata ( ) {
  1621. BSTR _result = 0;
  1622. HRESULT _hr = get_data(&_result);
  1623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1624. return _bstr_t(_result, false);
  1625. }
  1626. inline void IXMLDOMCharacterData::Putdata ( _bstr_t data ) {
  1627. HRESULT _hr = put_data(data);
  1628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1629. }
  1630. inline long IXMLDOMCharacterData::Getlength ( ) {
  1631. long _result = 0;
  1632. HRESULT _hr = get_length(&_result);
  1633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1634. return _result;
  1635. }
  1636. inline _bstr_t IXMLDOMCharacterData::substringData ( long offset, long count ) {
  1637. BSTR _result = 0;
  1638. HRESULT _hr = raw_substringData(offset, count, &_result);
  1639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1640. return _bstr_t(_result, false);
  1641. }
  1642. inline HRESULT IXMLDOMCharacterData::appendData ( _bstr_t data ) {
  1643. HRESULT _hr = raw_appendData(data);
  1644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1645. return _hr;
  1646. }
  1647. inline HRESULT IXMLDOMCharacterData::insertData ( long offset, _bstr_t data ) {
  1648. HRESULT _hr = raw_insertData(offset, data);
  1649. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1650. return _hr;
  1651. }
  1652. inline HRESULT IXMLDOMCharacterData::deleteData ( long offset, long count ) {
  1653. HRESULT _hr = raw_deleteData(offset, count);
  1654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1655. return _hr;
  1656. }
  1657. inline HRESULT IXMLDOMCharacterData::replaceData ( long offset, long count, _bstr_t data ) {
  1658. HRESULT _hr = raw_replaceData(offset, count, data);
  1659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1660. return _hr;
  1661. }
  1662. //
  1663. // interface IXMLDOMText wrapper method implementations
  1664. //
  1665. inline IXMLDOMTextPtr IXMLDOMText::splitText ( long offset ) {
  1666. struct IXMLDOMText * _result = 0;
  1667. HRESULT _hr = raw_splitText(offset, &_result);
  1668. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1669. return IXMLDOMTextPtr(_result, false);
  1670. }
  1671. //
  1672. // interface IXMLDOMProcessingInstruction wrapper method implementations
  1673. //
  1674. inline _bstr_t IXMLDOMProcessingInstruction::Gettarget ( ) {
  1675. BSTR _result = 0;
  1676. HRESULT _hr = get_target(&_result);
  1677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1678. return _bstr_t(_result, false);
  1679. }
  1680. inline _bstr_t IXMLDOMProcessingInstruction::Getdata ( ) {
  1681. BSTR _result = 0;
  1682. HRESULT _hr = get_data(&_result);
  1683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1684. return _bstr_t(_result, false);
  1685. }
  1686. inline void IXMLDOMProcessingInstruction::Putdata ( _bstr_t value ) {
  1687. HRESULT _hr = put_data(value);
  1688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1689. }
  1690. //
  1691. // interface IXMLDOMDocument wrapper method implementations
  1692. //
  1693. inline IXMLDOMDocumentTypePtr IXMLDOMDocument::Getdoctype ( ) {
  1694. struct IXMLDOMDocumentType * _result = 0;
  1695. HRESULT _hr = get_doctype(&_result);
  1696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1697. return IXMLDOMDocumentTypePtr(_result, false);
  1698. }
  1699. inline IXMLDOMImplementationPtr IXMLDOMDocument::Getimplementation ( ) {
  1700. struct IXMLDOMImplementation * _result = 0;
  1701. HRESULT _hr = get_implementation(&_result);
  1702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1703. return IXMLDOMImplementationPtr(_result, false);
  1704. }
  1705. inline IXMLDOMElementPtr IXMLDOMDocument::GetdocumentElement ( ) {
  1706. struct IXMLDOMElement * _result = 0;
  1707. HRESULT _hr = get_documentElement(&_result);
  1708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1709. return IXMLDOMElementPtr(_result, false);
  1710. }
  1711. inline void IXMLDOMDocument::PutRefdocumentElement ( struct IXMLDOMElement * DOMElement ) {
  1712. HRESULT _hr = putref_documentElement(DOMElement);
  1713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1714. }
  1715. inline IXMLDOMElementPtr IXMLDOMDocument::createElement ( _bstr_t tagName ) {
  1716. struct IXMLDOMElement * _result = 0;
  1717. HRESULT _hr = raw_createElement(tagName, &_result);
  1718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1719. return IXMLDOMElementPtr(_result, false);
  1720. }
  1721. inline IXMLDOMDocumentFragmentPtr IXMLDOMDocument::createDocumentFragment ( ) {
  1722. struct IXMLDOMDocumentFragment * _result = 0;
  1723. HRESULT _hr = raw_createDocumentFragment(&_result);
  1724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1725. return IXMLDOMDocumentFragmentPtr(_result, false);
  1726. }
  1727. inline IXMLDOMTextPtr IXMLDOMDocument::createTextNode ( _bstr_t data ) {
  1728. struct IXMLDOMText * _result = 0;
  1729. HRESULT _hr = raw_createTextNode(data, &_result);
  1730. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1731. return IXMLDOMTextPtr(_result, false);
  1732. }
  1733. inline IXMLDOMCommentPtr IXMLDOMDocument::createComment ( _bstr_t data ) {
  1734. struct IXMLDOMComment * _result = 0;
  1735. HRESULT _hr = raw_createComment(data, &_result);
  1736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1737. return IXMLDOMCommentPtr(_result, false);
  1738. }
  1739. inline IXMLDOMCDATASectionPtr IXMLDOMDocument::createCDATASection ( _bstr_t data ) {
  1740. struct IXMLDOMCDATASection * _result = 0;
  1741. HRESULT _hr = raw_createCDATASection(data, &_result);
  1742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1743. return IXMLDOMCDATASectionPtr(_result, false);
  1744. }
  1745. inline IXMLDOMProcessingInstructionPtr IXMLDOMDocument::createProcessingInstruction ( _bstr_t target, _bstr_t data ) {
  1746. struct IXMLDOMProcessingInstruction * _result = 0;
  1747. HRESULT _hr = raw_createProcessingInstruction(target, data, &_result);
  1748. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1749. return IXMLDOMProcessingInstructionPtr(_result, false);
  1750. }
  1751. inline IXMLDOMAttributePtr IXMLDOMDocument::createAttribute ( _bstr_t name ) {
  1752. struct IXMLDOMAttribute * _result = 0;
  1753. HRESULT _hr = raw_createAttribute(name, &_result);
  1754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1755. return IXMLDOMAttributePtr(_result, false);
  1756. }
  1757. inline IXMLDOMEntityReferencePtr IXMLDOMDocument::createEntityReference ( _bstr_t name ) {
  1758. struct IXMLDOMEntityReference * _result = 0;
  1759. HRESULT _hr = raw_createEntityReference(name, &_result);
  1760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1761. return IXMLDOMEntityReferencePtr(_result, false);
  1762. }
  1763. inline IXMLDOMNodeListPtr IXMLDOMDocument::getElementsByTagName ( _bstr_t tagName ) {
  1764. struct IXMLDOMNodeList * _result = 0;
  1765. HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
  1766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1767. return IXMLDOMNodeListPtr(_result, false);
  1768. }
  1769. inline IXMLDOMNodePtr IXMLDOMDocument::createNode ( const _variant_t & type, _bstr_t name, _bstr_t namespaceURI ) {
  1770. struct IXMLDOMNode * _result = 0;
  1771. HRESULT _hr = raw_createNode(type, name, namespaceURI, &_result);
  1772. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1773. return IXMLDOMNodePtr(_result, false);
  1774. }
  1775. inline IXMLDOMNodePtr IXMLDOMDocument::nodeFromID ( _bstr_t idString ) {
  1776. struct IXMLDOMNode * _result = 0;
  1777. HRESULT _hr = raw_nodeFromID(idString, &_result);
  1778. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1779. return IXMLDOMNodePtr(_result, false);
  1780. }
  1781. inline VARIANT_BOOL IXMLDOMDocument::load ( const _variant_t & xmlSource ) {
  1782. VARIANT_BOOL _result = 0;
  1783. HRESULT _hr = raw_load(xmlSource, &_result);
  1784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1785. return _result;
  1786. }
  1787. inline long IXMLDOMDocument::GetreadyState ( ) {
  1788. long _result = 0;
  1789. HRESULT _hr = get_readyState(&_result);
  1790. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1791. return _result;
  1792. }
  1793. inline IXMLDOMParseErrorPtr IXMLDOMDocument::GetparseError ( ) {
  1794. struct IXMLDOMParseError * _result = 0;
  1795. HRESULT _hr = get_parseError(&_result);
  1796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1797. return IXMLDOMParseErrorPtr(_result, false);
  1798. }
  1799. inline _bstr_t IXMLDOMDocument::Geturl ( ) {
  1800. BSTR _result = 0;
  1801. HRESULT _hr = get_url(&_result);
  1802. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1803. return _bstr_t(_result, false);
  1804. }
  1805. inline VARIANT_BOOL IXMLDOMDocument::Getasync ( ) {
  1806. VARIANT_BOOL _result = 0;
  1807. HRESULT _hr = get_async(&_result);
  1808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1809. return _result;
  1810. }
  1811. inline void IXMLDOMDocument::Putasync ( VARIANT_BOOL isAsync ) {
  1812. HRESULT _hr = put_async(isAsync);
  1813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1814. }
  1815. inline HRESULT IXMLDOMDocument::abort ( ) {
  1816. HRESULT _hr = raw_abort();
  1817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1818. return _hr;
  1819. }
  1820. inline VARIANT_BOOL IXMLDOMDocument::loadXML ( _bstr_t bstrXML ) {
  1821. VARIANT_BOOL _result = 0;
  1822. HRESULT _hr = raw_loadXML(bstrXML, &_result);
  1823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1824. return _result;
  1825. }
  1826. inline HRESULT IXMLDOMDocument::save ( const _variant_t & destination ) {
  1827. HRESULT _hr = raw_save(destination);
  1828. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1829. return _hr;
  1830. }
  1831. inline VARIANT_BOOL IXMLDOMDocument::GetvalidateOnParse ( ) {
  1832. VARIANT_BOOL _result = 0;
  1833. HRESULT _hr = get_validateOnParse(&_result);
  1834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1835. return _result;
  1836. }
  1837. inline void IXMLDOMDocument::PutvalidateOnParse ( VARIANT_BOOL isValidating ) {
  1838. HRESULT _hr = put_validateOnParse(isValidating);
  1839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1840. }
  1841. inline VARIANT_BOOL IXMLDOMDocument::GetresolveExternals ( ) {
  1842. VARIANT_BOOL _result = 0;
  1843. HRESULT _hr = get_resolveExternals(&_result);
  1844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1845. return _result;
  1846. }
  1847. inline void IXMLDOMDocument::PutresolveExternals ( VARIANT_BOOL isResolving ) {
  1848. HRESULT _hr = put_resolveExternals(isResolving);
  1849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1850. }
  1851. inline VARIANT_BOOL IXMLDOMDocument::GetpreserveWhiteSpace ( ) {
  1852. VARIANT_BOOL _result = 0;
  1853. HRESULT _hr = get_preserveWhiteSpace(&_result);
  1854. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1855. return _result;
  1856. }
  1857. inline void IXMLDOMDocument::PutpreserveWhiteSpace ( VARIANT_BOOL isPreserving ) {
  1858. HRESULT _hr = put_preserveWhiteSpace(isPreserving);
  1859. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1860. }
  1861. inline void IXMLDOMDocument::Putonreadystatechange ( const _variant_t & _arg1 ) {
  1862. HRESULT _hr = put_onreadystatechange(_arg1);
  1863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1864. }
  1865. inline void IXMLDOMDocument::Putondataavailable ( const _variant_t & _arg1 ) {
  1866. HRESULT _hr = put_ondataavailable(_arg1);
  1867. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1868. }
  1869. inline void IXMLDOMDocument::Putontransformnode ( const _variant_t & _arg1 ) {
  1870. HRESULT _hr = put_ontransformnode(_arg1);
  1871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1872. }
  1873. //
  1874. // interface IXMLDOMSchemaCollection wrapper method implementations
  1875. //
  1876. inline HRESULT IXMLDOMSchemaCollection::add ( _bstr_t namespaceURI, const _variant_t & var ) {
  1877. HRESULT _hr = raw_add(namespaceURI, var);
  1878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1879. return _hr;
  1880. }
  1881. inline IXMLDOMNodePtr IXMLDOMSchemaCollection::get ( _bstr_t namespaceURI ) {
  1882. struct IXMLDOMNode * _result = 0;
  1883. HRESULT _hr = raw_get(namespaceURI, &_result);
  1884. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1885. return IXMLDOMNodePtr(_result, false);
  1886. }
  1887. inline HRESULT IXMLDOMSchemaCollection::remove ( _bstr_t namespaceURI ) {
  1888. HRESULT _hr = raw_remove(namespaceURI);
  1889. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1890. return _hr;
  1891. }
  1892. inline long IXMLDOMSchemaCollection::Getlength ( ) {
  1893. long _result = 0;
  1894. HRESULT _hr = get_length(&_result);
  1895. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1896. return _result;
  1897. }
  1898. inline _bstr_t IXMLDOMSchemaCollection::GetnamespaceURI ( long index ) {
  1899. BSTR _result = 0;
  1900. HRESULT _hr = get_namespaceURI(index, &_result);
  1901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1902. return _bstr_t(_result, false);
  1903. }
  1904. inline HRESULT IXMLDOMSchemaCollection::addCollection ( struct IXMLDOMSchemaCollection * otherCollection ) {
  1905. HRESULT _hr = raw_addCollection(otherCollection);
  1906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1907. return _hr;
  1908. }
  1909. inline IUnknownPtr IXMLDOMSchemaCollection::Get_newEnum ( ) {
  1910. IUnknown * _result = 0;
  1911. HRESULT _hr = get__newEnum(&_result);
  1912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1913. return IUnknownPtr(_result, false);
  1914. }
  1915. //
  1916. // interface IXMLDOMDocument2 wrapper method implementations
  1917. //
  1918. inline IXMLDOMSchemaCollectionPtr IXMLDOMDocument2::Getnamespaces ( ) {
  1919. struct IXMLDOMSchemaCollection * _result = 0;
  1920. HRESULT _hr = get_namespaces(&_result);
  1921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1922. return IXMLDOMSchemaCollectionPtr(_result, false);
  1923. }
  1924. inline _variant_t IXMLDOMDocument2::Getschemas ( ) {
  1925. VARIANT _result;
  1926. VariantInit(&_result);
  1927. HRESULT _hr = get_schemas(&_result);
  1928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1929. return _variant_t(_result, false);
  1930. }
  1931. inline void IXMLDOMDocument2::PutRefschemas ( const _variant_t & otherCollection ) {
  1932. HRESULT _hr = putref_schemas(otherCollection);
  1933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1934. }
  1935. inline IXMLDOMParseErrorPtr IXMLDOMDocument2::validate ( ) {
  1936. struct IXMLDOMParseError * _result = 0;
  1937. HRESULT _hr = raw_validate(&_result);
  1938. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1939. return IXMLDOMParseErrorPtr(_result, false);
  1940. }
  1941. inline HRESULT IXMLDOMDocument2::setProperty ( _bstr_t name, const _variant_t & value ) {
  1942. HRESULT _hr = raw_setProperty(name, value);
  1943. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1944. return _hr;
  1945. }
  1946. inline _variant_t IXMLDOMDocument2::getProperty ( _bstr_t name ) {
  1947. VARIANT _result;
  1948. VariantInit(&_result);
  1949. HRESULT _hr = raw_getProperty(name, &_result);
  1950. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1951. return _variant_t(_result, false);
  1952. }
  1953. //
  1954. // interface IXMLDOMDocument3 wrapper method implementations
  1955. //
  1956. inline IXMLDOMParseErrorPtr IXMLDOMDocument3::validateNode ( struct IXMLDOMNode * node ) {
  1957. struct IXMLDOMParseError * _result = 0;
  1958. HRESULT _hr = raw_validateNode(node, &_result);
  1959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1960. return IXMLDOMParseErrorPtr(_result, false);
  1961. }
  1962. inline IXMLDOMNodePtr IXMLDOMDocument3::importNode ( struct IXMLDOMNode * node, VARIANT_BOOL deep ) {
  1963. struct IXMLDOMNode * _result = 0;
  1964. HRESULT _hr = raw_importNode(node, deep, &_result);
  1965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1966. return IXMLDOMNodePtr(_result, false);
  1967. }
  1968. //
  1969. // interface IXMLDOMNotation wrapper method implementations
  1970. //
  1971. inline _variant_t IXMLDOMNotation::GetpublicId ( ) {
  1972. VARIANT _result;
  1973. VariantInit(&_result);
  1974. HRESULT _hr = get_publicId(&_result);
  1975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1976. return _variant_t(_result, false);
  1977. }
  1978. inline _variant_t IXMLDOMNotation::GetsystemId ( ) {
  1979. VARIANT _result;
  1980. VariantInit(&_result);
  1981. HRESULT _hr = get_systemId(&_result);
  1982. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1983. return _variant_t(_result, false);
  1984. }
  1985. //
  1986. // interface IXMLDOMEntity wrapper method implementations
  1987. //
  1988. inline _variant_t IXMLDOMEntity::GetpublicId ( ) {
  1989. VARIANT _result;
  1990. VariantInit(&_result);
  1991. HRESULT _hr = get_publicId(&_result);
  1992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1993. return _variant_t(_result, false);
  1994. }
  1995. inline _variant_t IXMLDOMEntity::GetsystemId ( ) {
  1996. VARIANT _result;
  1997. VariantInit(&_result);
  1998. HRESULT _hr = get_systemId(&_result);
  1999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2000. return _variant_t(_result, false);
  2001. }
  2002. inline _bstr_t IXMLDOMEntity::GetnotationName ( ) {
  2003. BSTR _result = 0;
  2004. HRESULT _hr = get_notationName(&_result);
  2005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2006. return _bstr_t(_result, false);
  2007. }
  2008. //
  2009. // interface IXTLRuntime wrapper method implementations
  2010. //
  2011. inline long IXTLRuntime::uniqueID ( struct IXMLDOMNode * pNode ) {
  2012. long _result = 0;
  2013. HRESULT _hr = raw_uniqueID(pNode, &_result);
  2014. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2015. return _result;
  2016. }
  2017. inline long IXTLRuntime::depth ( struct IXMLDOMNode * pNode ) {
  2018. long _result = 0;
  2019. HRESULT _hr = raw_depth(pNode, &_result);
  2020. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2021. return _result;
  2022. }
  2023. inline long IXTLRuntime::childNumber ( struct IXMLDOMNode * pNode ) {
  2024. long _result = 0;
  2025. HRESULT _hr = raw_childNumber(pNode, &_result);
  2026. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2027. return _result;
  2028. }
  2029. inline long IXTLRuntime::ancestorChildNumber ( _bstr_t bstrNodeName, struct IXMLDOMNode * pNode ) {
  2030. long _result = 0;
  2031. HRESULT _hr = raw_ancestorChildNumber(bstrNodeName, pNode, &_result);
  2032. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2033. return _result;
  2034. }
  2035. inline long IXTLRuntime::absoluteChildNumber ( struct IXMLDOMNode * pNode ) {
  2036. long _result = 0;
  2037. HRESULT _hr = raw_absoluteChildNumber(pNode, &_result);
  2038. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2039. return _result;
  2040. }
  2041. inline _bstr_t IXTLRuntime::formatIndex ( long lIndex, _bstr_t bstrFormat ) {
  2042. BSTR _result = 0;
  2043. HRESULT _hr = raw_formatIndex(lIndex, bstrFormat, &_result);
  2044. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2045. return _bstr_t(_result, false);
  2046. }
  2047. inline _bstr_t IXTLRuntime::formatNumber ( double dblNumber, _bstr_t bstrFormat ) {
  2048. BSTR _result = 0;
  2049. HRESULT _hr = raw_formatNumber(dblNumber, bstrFormat, &_result);
  2050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2051. return _bstr_t(_result, false);
  2052. }
  2053. inline _bstr_t IXTLRuntime::formatDate ( const _variant_t & varDate, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
  2054. BSTR _result = 0;
  2055. HRESULT _hr = raw_formatDate(varDate, bstrFormat, varDestLocale, &_result);
  2056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2057. return _bstr_t(_result, false);
  2058. }
  2059. inline _bstr_t IXTLRuntime::formatTime ( const _variant_t & varTime, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
  2060. BSTR _result = 0;
  2061. HRESULT _hr = raw_formatTime(varTime, bstrFormat, varDestLocale, &_result);
  2062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2063. return _bstr_t(_result, false);
  2064. }
  2065. //
  2066. // interface IXMLDOMSelection wrapper method implementations
  2067. //
  2068. inline _bstr_t IXMLDOMSelection::Getexpr ( ) {
  2069. BSTR _result = 0;
  2070. HRESULT _hr = get_expr(&_result);
  2071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2072. return _bstr_t(_result, false);
  2073. }
  2074. inline void IXMLDOMSelection::Putexpr ( _bstr_t expression ) {
  2075. HRESULT _hr = put_expr(expression);
  2076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2077. }
  2078. inline IXMLDOMNodePtr IXMLDOMSelection::Getcontext ( ) {
  2079. struct IXMLDOMNode * _result = 0;
  2080. HRESULT _hr = get_context(&_result);
  2081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2082. return IXMLDOMNodePtr(_result, false);
  2083. }
  2084. inline void IXMLDOMSelection::PutRefcontext ( struct IXMLDOMNode * ppNode ) {
  2085. HRESULT _hr = putref_context(ppNode);
  2086. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2087. }
  2088. inline IXMLDOMNodePtr IXMLDOMSelection::peekNode ( ) {
  2089. struct IXMLDOMNode * _result = 0;
  2090. HRESULT _hr = raw_peekNode(&_result);
  2091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2092. return IXMLDOMNodePtr(_result, false);
  2093. }
  2094. inline IXMLDOMNodePtr IXMLDOMSelection::matches ( struct IXMLDOMNode * pNode ) {
  2095. struct IXMLDOMNode * _result = 0;
  2096. HRESULT _hr = raw_matches(pNode, &_result);
  2097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2098. return IXMLDOMNodePtr(_result, false);
  2099. }
  2100. inline IXMLDOMNodePtr IXMLDOMSelection::removeNext ( ) {
  2101. struct IXMLDOMNode * _result = 0;
  2102. HRESULT _hr = raw_removeNext(&_result);
  2103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2104. return IXMLDOMNodePtr(_result, false);
  2105. }
  2106. inline HRESULT IXMLDOMSelection::removeAll ( ) {
  2107. HRESULT _hr = raw_removeAll();
  2108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2109. return _hr;
  2110. }
  2111. inline IXMLDOMSelectionPtr IXMLDOMSelection::clone ( ) {
  2112. struct IXMLDOMSelection * _result = 0;
  2113. HRESULT _hr = raw_clone(&_result);
  2114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2115. return IXMLDOMSelectionPtr(_result, false);
  2116. }
  2117. inline _variant_t IXMLDOMSelection::getProperty ( _bstr_t name ) {
  2118. VARIANT _result;
  2119. VariantInit(&_result);
  2120. HRESULT _hr = raw_getProperty(name, &_result);
  2121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2122. return _variant_t(_result, false);
  2123. }
  2124. inline HRESULT IXMLDOMSelection::setProperty ( _bstr_t name, const _variant_t & value ) {
  2125. HRESULT _hr = raw_setProperty(name, value);
  2126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2127. return _hr;
  2128. }
  2129. //
  2130. // interface IDSOControl wrapper method implementations
  2131. //
  2132. inline IXMLDOMDocumentPtr IDSOControl::GetXMLDocument ( ) {
  2133. struct IXMLDOMDocument * _result = 0;
  2134. HRESULT _hr = get_XMLDocument(&_result);
  2135. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2136. return IXMLDOMDocumentPtr(_result, false);
  2137. }
  2138. inline void IDSOControl::PutXMLDocument ( struct IXMLDOMDocument * ppDoc ) {
  2139. HRESULT _hr = put_XMLDocument(ppDoc);
  2140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2141. }
  2142. inline long IDSOControl::GetJavaDSOCompatible ( ) {
  2143. long _result = 0;
  2144. HRESULT _hr = get_JavaDSOCompatible(&_result);
  2145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2146. return _result;
  2147. }
  2148. inline void IDSOControl::PutJavaDSOCompatible ( long fJavaDSOCompatible ) {
  2149. HRESULT _hr = put_JavaDSOCompatible(fJavaDSOCompatible);
  2150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2151. }
  2152. inline long IDSOControl::GetreadyState ( ) {
  2153. long _result = 0;
  2154. HRESULT _hr = get_readyState(&_result);
  2155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2156. return _result;
  2157. }
  2158. //
  2159. // interface IVBMXNamespaceManager wrapper method implementations
  2160. //
  2161. inline void IVBMXNamespaceManager::PutallowOverride ( VARIANT_BOOL fOverride ) {
  2162. HRESULT _hr = put_allowOverride(fOverride);
  2163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2164. }
  2165. inline VARIANT_BOOL IVBMXNamespaceManager::GetallowOverride ( ) {
  2166. VARIANT_BOOL _result = 0;
  2167. HRESULT _hr = get_allowOverride(&_result);
  2168. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2169. return _result;
  2170. }
  2171. inline HRESULT IVBMXNamespaceManager::reset ( ) {
  2172. HRESULT _hr = raw_reset();
  2173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2174. return _hr;
  2175. }
  2176. inline HRESULT IVBMXNamespaceManager::pushContext ( ) {
  2177. HRESULT _hr = raw_pushContext();
  2178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2179. return _hr;
  2180. }
  2181. inline HRESULT IVBMXNamespaceManager::pushNodeContext ( struct IXMLDOMNode * contextNode, VARIANT_BOOL fDeep ) {
  2182. HRESULT _hr = raw_pushNodeContext(contextNode, fDeep);
  2183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2184. return _hr;
  2185. }
  2186. inline HRESULT IVBMXNamespaceManager::popContext ( ) {
  2187. HRESULT _hr = raw_popContext();
  2188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2189. return _hr;
  2190. }
  2191. inline HRESULT IVBMXNamespaceManager::declarePrefix ( _bstr_t prefix, _bstr_t namespaceURI ) {
  2192. HRESULT _hr = raw_declarePrefix(prefix, namespaceURI);
  2193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2194. return _hr;
  2195. }
  2196. inline IMXNamespacePrefixesPtr IVBMXNamespaceManager::getDeclaredPrefixes ( ) {
  2197. struct IMXNamespacePrefixes * _result = 0;
  2198. HRESULT _hr = raw_getDeclaredPrefixes(&_result);
  2199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2200. return IMXNamespacePrefixesPtr(_result, false);
  2201. }
  2202. inline IMXNamespacePrefixesPtr IVBMXNamespaceManager::getPrefixes ( _bstr_t namespaceURI ) {
  2203. struct IMXNamespacePrefixes * _result = 0;
  2204. HRESULT _hr = raw_getPrefixes(namespaceURI, &_result);
  2205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2206. return IMXNamespacePrefixesPtr(_result, false);
  2207. }
  2208. inline _variant_t IVBMXNamespaceManager::getURI ( _bstr_t prefix ) {
  2209. VARIANT _result;
  2210. VariantInit(&_result);
  2211. HRESULT _hr = raw_getURI(prefix, &_result);
  2212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2213. return _variant_t(_result, false);
  2214. }
  2215. inline _variant_t IVBMXNamespaceManager::getURIFromNode ( _bstr_t strPrefix, struct IXMLDOMNode * contextNode ) {
  2216. VARIANT _result;
  2217. VariantInit(&_result);
  2218. HRESULT _hr = raw_getURIFromNode(strPrefix, contextNode, &_result);
  2219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2220. return _variant_t(_result, false);
  2221. }
  2222. //
  2223. // interface IMXNamespaceManager wrapper method implementations
  2224. //
  2225. inline HRESULT IMXNamespaceManager::putAllowOverride ( VARIANT_BOOL fOverride ) {
  2226. HRESULT _hr = raw_putAllowOverride(fOverride);
  2227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2228. return _hr;
  2229. }
  2230. inline VARIANT_BOOL IMXNamespaceManager::getAllowOverride ( ) {
  2231. VARIANT_BOOL _result = 0;
  2232. HRESULT _hr = raw_getAllowOverride(&_result);
  2233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2234. return _result;
  2235. }
  2236. inline HRESULT IMXNamespaceManager::reset ( ) {
  2237. HRESULT _hr = raw_reset();
  2238. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2239. return _hr;
  2240. }
  2241. inline HRESULT IMXNamespaceManager::pushContext ( ) {
  2242. HRESULT _hr = raw_pushContext();
  2243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2244. return _hr;
  2245. }
  2246. inline HRESULT IMXNamespaceManager::pushNodeContext ( struct IXMLDOMNode * contextNode, VARIANT_BOOL fDeep ) {
  2247. HRESULT _hr = raw_pushNodeContext(contextNode, fDeep);
  2248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2249. return _hr;
  2250. }
  2251. inline HRESULT IMXNamespaceManager::popContext ( ) {
  2252. HRESULT _hr = raw_popContext();
  2253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2254. return _hr;
  2255. }
  2256. inline HRESULT IMXNamespaceManager::declarePrefix ( unsigned short * prefix, unsigned short * namespaceURI ) {
  2257. HRESULT _hr = raw_declarePrefix(prefix, namespaceURI);
  2258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2259. return _hr;
  2260. }
  2261. inline HRESULT IMXNamespaceManager::getDeclaredPrefix ( long nIndex, unsigned short * pwchPrefix, int * pcchPrefix ) {
  2262. HRESULT _hr = raw_getDeclaredPrefix(nIndex, pwchPrefix, pcchPrefix);
  2263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2264. return _hr;
  2265. }
  2266. inline HRESULT IMXNamespaceManager::getPrefix ( unsigned short * pwszNamespaceURI, long nIndex, unsigned short * pwchPrefix, int * pcchPrefix ) {
  2267. HRESULT _hr = raw_getPrefix(pwszNamespaceURI, nIndex, pwchPrefix, pcchPrefix);
  2268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2269. return _hr;
  2270. }
  2271. inline HRESULT IMXNamespaceManager::getURI ( unsigned short * pwchPrefix, struct IXMLDOMNode * pContextNode, unsigned short * pwchUri, int * pcchUri ) {
  2272. HRESULT _hr = raw_getURI(pwchPrefix, pContextNode, pwchUri, pcchUri);
  2273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2274. return _hr;
  2275. }
  2276. //
  2277. // interface IXMLDOMParseError2 wrapper method implementations
  2278. //
  2279. inline _bstr_t IXMLDOMParseError2::GeterrorXPath ( ) {
  2280. BSTR _result = 0;
  2281. HRESULT _hr = get_errorXPath(&_result);
  2282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2283. return _bstr_t(_result, false);
  2284. }
  2285. inline IXMLDOMParseErrorCollectionPtr IXMLDOMParseError2::GetallErrors ( ) {
  2286. struct IXMLDOMParseErrorCollection * _result = 0;
  2287. HRESULT _hr = get_allErrors(&_result);
  2288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2289. return IXMLDOMParseErrorCollectionPtr(_result, false);
  2290. }
  2291. inline _bstr_t IXMLDOMParseError2::errorParameters ( long index ) {
  2292. BSTR _result = 0;
  2293. HRESULT _hr = raw_errorParameters(index, &_result);
  2294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2295. return _bstr_t(_result, false);
  2296. }
  2297. inline long IXMLDOMParseError2::GeterrorParametersCount ( ) {
  2298. long _result = 0;
  2299. HRESULT _hr = get_errorParametersCount(&_result);
  2300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2301. return _result;
  2302. }
  2303. //
  2304. // interface IXMLDOMParseErrorCollection wrapper method implementations
  2305. //
  2306. inline IXMLDOMParseError2Ptr IXMLDOMParseErrorCollection::Getitem ( long index ) {
  2307. struct IXMLDOMParseError2 * _result = 0;
  2308. HRESULT _hr = get_item(index, &_result);
  2309. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2310. return IXMLDOMParseError2Ptr(_result, false);
  2311. }
  2312. inline long IXMLDOMParseErrorCollection::Getlength ( ) {
  2313. long _result = 0;
  2314. HRESULT _hr = get_length(&_result);
  2315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2316. return _result;
  2317. }
  2318. inline IXMLDOMParseError2Ptr IXMLDOMParseErrorCollection::Getnext ( ) {
  2319. struct IXMLDOMParseError2 * _result = 0;
  2320. HRESULT _hr = get_next(&_result);
  2321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2322. return IXMLDOMParseError2Ptr(_result, false);
  2323. }
  2324. inline HRESULT IXMLDOMParseErrorCollection::reset ( ) {
  2325. HRESULT _hr = raw_reset();
  2326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2327. return _hr;
  2328. }
  2329. inline IUnknownPtr IXMLDOMParseErrorCollection::Get_newEnum ( ) {
  2330. IUnknown * _result = 0;
  2331. HRESULT _hr = get__newEnum(&_result);
  2332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2333. return IUnknownPtr(_result, false);
  2334. }
  2335. //
  2336. // interface IXSLTemplate wrapper method implementations
  2337. //
  2338. inline void IXSLTemplate::PutRefstylesheet ( struct IXMLDOMNode * stylesheet ) {
  2339. HRESULT _hr = putref_stylesheet(stylesheet);
  2340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2341. }
  2342. inline IXMLDOMNodePtr IXSLTemplate::Getstylesheet ( ) {
  2343. struct IXMLDOMNode * _result = 0;
  2344. HRESULT _hr = get_stylesheet(&_result);
  2345. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2346. return IXMLDOMNodePtr(_result, false);
  2347. }
  2348. inline IXSLProcessorPtr IXSLTemplate::createProcessor ( ) {
  2349. struct IXSLProcessor * _result = 0;
  2350. HRESULT _hr = raw_createProcessor(&_result);
  2351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2352. return IXSLProcessorPtr(_result, false);
  2353. }
  2354. //
  2355. // interface IXSLProcessor wrapper method implementations
  2356. //
  2357. inline void IXSLProcessor::Putinput ( const _variant_t & pVar ) {
  2358. HRESULT _hr = put_input(pVar);
  2359. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2360. }
  2361. inline _variant_t IXSLProcessor::Getinput ( ) {
  2362. VARIANT _result;
  2363. VariantInit(&_result);
  2364. HRESULT _hr = get_input(&_result);
  2365. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2366. return _variant_t(_result, false);
  2367. }
  2368. inline IXSLTemplatePtr IXSLProcessor::GetownerTemplate ( ) {
  2369. struct IXSLTemplate * _result = 0;
  2370. HRESULT _hr = get_ownerTemplate(&_result);
  2371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2372. return IXSLTemplatePtr(_result, false);
  2373. }
  2374. inline HRESULT IXSLProcessor::setStartMode ( _bstr_t mode, _bstr_t namespaceURI ) {
  2375. HRESULT _hr = raw_setStartMode(mode, namespaceURI);
  2376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2377. return _hr;
  2378. }
  2379. inline _bstr_t IXSLProcessor::GetstartMode ( ) {
  2380. BSTR _result = 0;
  2381. HRESULT _hr = get_startMode(&_result);
  2382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2383. return _bstr_t(_result, false);
  2384. }
  2385. inline _bstr_t IXSLProcessor::GetstartModeURI ( ) {
  2386. BSTR _result = 0;
  2387. HRESULT _hr = get_startModeURI(&_result);
  2388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2389. return _bstr_t(_result, false);
  2390. }
  2391. inline void IXSLProcessor::Putoutput ( const _variant_t & pOutput ) {
  2392. HRESULT _hr = put_output(pOutput);
  2393. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2394. }
  2395. inline _variant_t IXSLProcessor::Getoutput ( ) {
  2396. VARIANT _result;
  2397. VariantInit(&_result);
  2398. HRESULT _hr = get_output(&_result);
  2399. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2400. return _variant_t(_result, false);
  2401. }
  2402. inline VARIANT_BOOL IXSLProcessor::transform ( ) {
  2403. VARIANT_BOOL _result = 0;
  2404. HRESULT _hr = raw_transform(&_result);
  2405. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2406. return _result;
  2407. }
  2408. inline HRESULT IXSLProcessor::reset ( ) {
  2409. HRESULT _hr = raw_reset();
  2410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2411. return _hr;
  2412. }
  2413. inline long IXSLProcessor::GetreadyState ( ) {
  2414. long _result = 0;
  2415. HRESULT _hr = get_readyState(&_result);
  2416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2417. return _result;
  2418. }
  2419. inline HRESULT IXSLProcessor::addParameter ( _bstr_t baseName, const _variant_t & parameter, _bstr_t namespaceURI ) {
  2420. HRESULT _hr = raw_addParameter(baseName, parameter, namespaceURI);
  2421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2422. return _hr;
  2423. }
  2424. inline HRESULT IXSLProcessor::addObject ( IDispatch * obj, _bstr_t namespaceURI ) {
  2425. HRESULT _hr = raw_addObject(obj, namespaceURI);
  2426. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2427. return _hr;
  2428. }
  2429. inline IXMLDOMNodePtr IXSLProcessor::Getstylesheet ( ) {
  2430. struct IXMLDOMNode * _result = 0;
  2431. HRESULT _hr = get_stylesheet(&_result);
  2432. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2433. return IXMLDOMNodePtr(_result, false);
  2434. }
  2435. //
  2436. // interface IMXSchemaDeclHandler wrapper method implementations
  2437. //
  2438. inline HRESULT IMXSchemaDeclHandler::schemaElementDecl ( struct ISchemaElement * oSchemaElement ) {
  2439. HRESULT _hr = raw_schemaElementDecl(oSchemaElement);
  2440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2441. return _hr;
  2442. }
  2443. //
  2444. // interface ISchemaItem wrapper method implementations
  2445. //
  2446. inline _bstr_t ISchemaItem::Getname ( ) {
  2447. BSTR _result = 0;
  2448. HRESULT _hr = get_name(&_result);
  2449. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2450. return _bstr_t(_result, false);
  2451. }
  2452. inline _bstr_t ISchemaItem::GetnamespaceURI ( ) {
  2453. BSTR _result = 0;
  2454. HRESULT _hr = get_namespaceURI(&_result);
  2455. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2456. return _bstr_t(_result, false);
  2457. }
  2458. inline ISchemaPtr ISchemaItem::Getschema ( ) {
  2459. struct ISchema * _result = 0;
  2460. HRESULT _hr = get_schema(&_result);
  2461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2462. return ISchemaPtr(_result, false);
  2463. }
  2464. inline _bstr_t ISchemaItem::Getid ( ) {
  2465. BSTR _result = 0;
  2466. HRESULT _hr = get_id(&_result);
  2467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2468. return _bstr_t(_result, false);
  2469. }
  2470. inline SOMITEMTYPE ISchemaItem::GetitemType ( ) {
  2471. SOMITEMTYPE _result;
  2472. HRESULT _hr = get_itemType(&_result);
  2473. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2474. return _result;
  2475. }
  2476. inline IVBSAXAttributesPtr ISchemaItem::GetunhandledAttributes ( ) {
  2477. struct IVBSAXAttributes * _result = 0;
  2478. HRESULT _hr = get_unhandledAttributes(&_result);
  2479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2480. return IVBSAXAttributesPtr(_result, false);
  2481. }
  2482. inline VARIANT_BOOL ISchemaItem::writeAnnotation ( IUnknown * annotationSink ) {
  2483. VARIANT_BOOL _result = 0;
  2484. HRESULT _hr = raw_writeAnnotation(annotationSink, &_result);
  2485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2486. return _result;
  2487. }
  2488. //
  2489. // interface ISchemaParticle wrapper method implementations
  2490. //
  2491. inline _variant_t ISchemaParticle::GetminOccurs ( ) {
  2492. VARIANT _result;
  2493. VariantInit(&_result);
  2494. HRESULT _hr = get_minOccurs(&_result);
  2495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2496. return _variant_t(_result, false);
  2497. }
  2498. inline _variant_t ISchemaParticle::GetmaxOccurs ( ) {
  2499. VARIANT _result;
  2500. VariantInit(&_result);
  2501. HRESULT _hr = get_maxOccurs(&_result);
  2502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2503. return _variant_t(_result, false);
  2504. }
  2505. //
  2506. // interface ISchemaItemCollection wrapper method implementations
  2507. //
  2508. inline ISchemaItemPtr ISchemaItemCollection::Getitem ( long index ) {
  2509. struct ISchemaItem * _result = 0;
  2510. HRESULT _hr = get_item(index, &_result);
  2511. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2512. return ISchemaItemPtr(_result, false);
  2513. }
  2514. inline ISchemaItemPtr ISchemaItemCollection::itemByName ( _bstr_t name ) {
  2515. struct ISchemaItem * _result = 0;
  2516. HRESULT _hr = raw_itemByName(name, &_result);
  2517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2518. return ISchemaItemPtr(_result, false);
  2519. }
  2520. inline ISchemaItemPtr ISchemaItemCollection::itemByQName ( _bstr_t name, _bstr_t namespaceURI ) {
  2521. struct ISchemaItem * _result = 0;
  2522. HRESULT _hr = raw_itemByQName(name, namespaceURI, &_result);
  2523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2524. return ISchemaItemPtr(_result, false);
  2525. }
  2526. inline long ISchemaItemCollection::Getlength ( ) {
  2527. long _result = 0;
  2528. HRESULT _hr = get_length(&_result);
  2529. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2530. return _result;
  2531. }
  2532. inline IUnknownPtr ISchemaItemCollection::Get_newEnum ( ) {
  2533. IUnknown * _result = 0;
  2534. HRESULT _hr = get__newEnum(&_result);
  2535. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2536. return IUnknownPtr(_result, false);
  2537. }
  2538. //
  2539. // interface ISchema wrapper method implementations
  2540. //
  2541. inline _bstr_t ISchema::GettargetNamespace ( ) {
  2542. BSTR _result = 0;
  2543. HRESULT _hr = get_targetNamespace(&_result);
  2544. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2545. return _bstr_t(_result, false);
  2546. }
  2547. inline _bstr_t ISchema::Getversion ( ) {
  2548. BSTR _result = 0;
  2549. HRESULT _hr = get_version(&_result);
  2550. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2551. return _bstr_t(_result, false);
  2552. }
  2553. inline ISchemaItemCollectionPtr ISchema::Gettypes ( ) {
  2554. struct ISchemaItemCollection * _result = 0;
  2555. HRESULT _hr = get_types(&_result);
  2556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2557. return ISchemaItemCollectionPtr(_result, false);
  2558. }
  2559. inline ISchemaItemCollectionPtr ISchema::Getelements ( ) {
  2560. struct ISchemaItemCollection * _result = 0;
  2561. HRESULT _hr = get_elements(&_result);
  2562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2563. return ISchemaItemCollectionPtr(_result, false);
  2564. }
  2565. inline ISchemaItemCollectionPtr ISchema::Getattributes ( ) {
  2566. struct ISchemaItemCollection * _result = 0;
  2567. HRESULT _hr = get_attributes(&_result);
  2568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2569. return ISchemaItemCollectionPtr(_result, false);
  2570. }
  2571. inline ISchemaItemCollectionPtr ISchema::GetattributeGroups ( ) {
  2572. struct ISchemaItemCollection * _result = 0;
  2573. HRESULT _hr = get_attributeGroups(&_result);
  2574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2575. return ISchemaItemCollectionPtr(_result, false);
  2576. }
  2577. inline ISchemaItemCollectionPtr ISchema::GetmodelGroups ( ) {
  2578. struct ISchemaItemCollection * _result = 0;
  2579. HRESULT _hr = get_modelGroups(&_result);
  2580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2581. return ISchemaItemCollectionPtr(_result, false);
  2582. }
  2583. inline ISchemaItemCollectionPtr ISchema::Getnotations ( ) {
  2584. struct ISchemaItemCollection * _result = 0;
  2585. HRESULT _hr = get_notations(&_result);
  2586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2587. return ISchemaItemCollectionPtr(_result, false);
  2588. }
  2589. inline ISchemaStringCollectionPtr ISchema::GetschemaLocations ( ) {
  2590. struct ISchemaStringCollection * _result = 0;
  2591. HRESULT _hr = get_schemaLocations(&_result);
  2592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2593. return ISchemaStringCollectionPtr(_result, false);
  2594. }
  2595. //
  2596. // interface ISchemaType wrapper method implementations
  2597. //
  2598. inline ISchemaItemCollectionPtr ISchemaType::GetbaseTypes ( ) {
  2599. struct ISchemaItemCollection * _result = 0;
  2600. HRESULT _hr = get_baseTypes(&_result);
  2601. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2602. return ISchemaItemCollectionPtr(_result, false);
  2603. }
  2604. inline SCHEMADERIVATIONMETHOD ISchemaType::Getfinal ( ) {
  2605. SCHEMADERIVATIONMETHOD _result;
  2606. HRESULT _hr = get_final(&_result);
  2607. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2608. return _result;
  2609. }
  2610. inline SCHEMATYPEVARIETY ISchemaType::Getvariety ( ) {
  2611. SCHEMATYPEVARIETY _result;
  2612. HRESULT _hr = get_variety(&_result);
  2613. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2614. return _result;
  2615. }
  2616. inline SCHEMADERIVATIONMETHOD ISchemaType::GetderivedBy ( ) {
  2617. SCHEMADERIVATIONMETHOD _result;
  2618. HRESULT _hr = get_derivedBy(&_result);
  2619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2620. return _result;
  2621. }
  2622. inline VARIANT_BOOL ISchemaType::isValid ( _bstr_t data ) {
  2623. VARIANT_BOOL _result = 0;
  2624. HRESULT _hr = raw_isValid(data, &_result);
  2625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2626. return _result;
  2627. }
  2628. inline _bstr_t ISchemaType::GetminExclusive ( ) {
  2629. BSTR _result = 0;
  2630. HRESULT _hr = get_minExclusive(&_result);
  2631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2632. return _bstr_t(_result, false);
  2633. }
  2634. inline _bstr_t ISchemaType::GetminInclusive ( ) {
  2635. BSTR _result = 0;
  2636. HRESULT _hr = get_minInclusive(&_result);
  2637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2638. return _bstr_t(_result, false);
  2639. }
  2640. inline _bstr_t ISchemaType::GetmaxExclusive ( ) {
  2641. BSTR _result = 0;
  2642. HRESULT _hr = get_maxExclusive(&_result);
  2643. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2644. return _bstr_t(_result, false);
  2645. }
  2646. inline _bstr_t ISchemaType::GetmaxInclusive ( ) {
  2647. BSTR _result = 0;
  2648. HRESULT _hr = get_maxInclusive(&_result);
  2649. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2650. return _bstr_t(_result, false);
  2651. }
  2652. inline _variant_t ISchemaType::GettotalDigits ( ) {
  2653. VARIANT _result;
  2654. VariantInit(&_result);
  2655. HRESULT _hr = get_totalDigits(&_result);
  2656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2657. return _variant_t(_result, false);
  2658. }
  2659. inline _variant_t ISchemaType::GetfractionDigits ( ) {
  2660. VARIANT _result;
  2661. VariantInit(&_result);
  2662. HRESULT _hr = get_fractionDigits(&_result);
  2663. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2664. return _variant_t(_result, false);
  2665. }
  2666. inline _variant_t ISchemaType::Getlength ( ) {
  2667. VARIANT _result;
  2668. VariantInit(&_result);
  2669. HRESULT _hr = get_length(&_result);
  2670. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2671. return _variant_t(_result, false);
  2672. }
  2673. inline _variant_t ISchemaType::GetminLength ( ) {
  2674. VARIANT _result;
  2675. VariantInit(&_result);
  2676. HRESULT _hr = get_minLength(&_result);
  2677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2678. return _variant_t(_result, false);
  2679. }
  2680. inline _variant_t ISchemaType::GetmaxLength ( ) {
  2681. VARIANT _result;
  2682. VariantInit(&_result);
  2683. HRESULT _hr = get_maxLength(&_result);
  2684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2685. return _variant_t(_result, false);
  2686. }
  2687. inline ISchemaStringCollectionPtr ISchemaType::Getenumeration ( ) {
  2688. struct ISchemaStringCollection * _result = 0;
  2689. HRESULT _hr = get_enumeration(&_result);
  2690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2691. return ISchemaStringCollectionPtr(_result, false);
  2692. }
  2693. inline SCHEMAWHITESPACE ISchemaType::Getwhitespace ( ) {
  2694. SCHEMAWHITESPACE _result;
  2695. HRESULT _hr = get_whitespace(&_result);
  2696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2697. return _result;
  2698. }
  2699. inline ISchemaStringCollectionPtr ISchemaType::Getpatterns ( ) {
  2700. struct ISchemaStringCollection * _result = 0;
  2701. HRESULT _hr = get_patterns(&_result);
  2702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2703. return ISchemaStringCollectionPtr(_result, false);
  2704. }
  2705. //
  2706. // interface ISchemaAny wrapper method implementations
  2707. //
  2708. inline ISchemaStringCollectionPtr ISchemaAny::Getnamespaces ( ) {
  2709. struct ISchemaStringCollection * _result = 0;
  2710. HRESULT _hr = get_namespaces(&_result);
  2711. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2712. return ISchemaStringCollectionPtr(_result, false);
  2713. }
  2714. inline SCHEMAPROCESSCONTENTS ISchemaAny::GetprocessContents ( ) {
  2715. SCHEMAPROCESSCONTENTS _result;
  2716. HRESULT _hr = get_processContents(&_result);
  2717. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2718. return _result;
  2719. }
  2720. //
  2721. // interface ISchemaModelGroup wrapper method implementations
  2722. //
  2723. inline ISchemaItemCollectionPtr ISchemaModelGroup::Getparticles ( ) {
  2724. struct ISchemaItemCollection * _result = 0;
  2725. HRESULT _hr = get_particles(&_result);
  2726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2727. return ISchemaItemCollectionPtr(_result, false);
  2728. }
  2729. //
  2730. // interface ISchemaComplexType wrapper method implementations
  2731. //
  2732. inline VARIANT_BOOL ISchemaComplexType::GetisAbstract ( ) {
  2733. VARIANT_BOOL _result = 0;
  2734. HRESULT _hr = get_isAbstract(&_result);
  2735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2736. return _result;
  2737. }
  2738. inline ISchemaAnyPtr ISchemaComplexType::GetanyAttribute ( ) {
  2739. struct ISchemaAny * _result = 0;
  2740. HRESULT _hr = get_anyAttribute(&_result);
  2741. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2742. return ISchemaAnyPtr(_result, false);
  2743. }
  2744. inline ISchemaItemCollectionPtr ISchemaComplexType::Getattributes ( ) {
  2745. struct ISchemaItemCollection * _result = 0;
  2746. HRESULT _hr = get_attributes(&_result);
  2747. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2748. return ISchemaItemCollectionPtr(_result, false);
  2749. }
  2750. inline SCHEMACONTENTTYPE ISchemaComplexType::GetcontentType ( ) {
  2751. SCHEMACONTENTTYPE _result;
  2752. HRESULT _hr = get_contentType(&_result);
  2753. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2754. return _result;
  2755. }
  2756. inline ISchemaModelGroupPtr ISchemaComplexType::GetcontentModel ( ) {
  2757. struct ISchemaModelGroup * _result = 0;
  2758. HRESULT _hr = get_contentModel(&_result);
  2759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2760. return ISchemaModelGroupPtr(_result, false);
  2761. }
  2762. inline SCHEMADERIVATIONMETHOD ISchemaComplexType::GetprohibitedSubstitutions ( ) {
  2763. SCHEMADERIVATIONMETHOD _result;
  2764. HRESULT _hr = get_prohibitedSubstitutions(&_result);
  2765. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2766. return _result;
  2767. }
  2768. //
  2769. // interface ISchemaElement wrapper method implementations
  2770. //
  2771. inline ISchemaTypePtr ISchemaElement::Gettype ( ) {
  2772. struct ISchemaType * _result = 0;
  2773. HRESULT _hr = get_type(&_result);
  2774. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2775. return ISchemaTypePtr(_result, false);
  2776. }
  2777. inline ISchemaComplexTypePtr ISchemaElement::Getscope ( ) {
  2778. struct ISchemaComplexType * _result = 0;
  2779. HRESULT _hr = get_scope(&_result);
  2780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2781. return ISchemaComplexTypePtr(_result, false);
  2782. }
  2783. inline _bstr_t ISchemaElement::GetdefaultValue ( ) {
  2784. BSTR _result = 0;
  2785. HRESULT _hr = get_defaultValue(&_result);
  2786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2787. return _bstr_t(_result, false);
  2788. }
  2789. inline _bstr_t ISchemaElement::GetfixedValue ( ) {
  2790. BSTR _result = 0;
  2791. HRESULT _hr = get_fixedValue(&_result);
  2792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2793. return _bstr_t(_result, false);
  2794. }
  2795. inline VARIANT_BOOL ISchemaElement::GetisNillable ( ) {
  2796. VARIANT_BOOL _result = 0;
  2797. HRESULT _hr = get_isNillable(&_result);
  2798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2799. return _result;
  2800. }
  2801. inline ISchemaItemCollectionPtr ISchemaElement::GetidentityConstraints ( ) {
  2802. struct ISchemaItemCollection * _result = 0;
  2803. HRESULT _hr = get_identityConstraints(&_result);
  2804. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2805. return ISchemaItemCollectionPtr(_result, false);
  2806. }
  2807. inline ISchemaElementPtr ISchemaElement::GetsubstitutionGroup ( ) {
  2808. struct ISchemaElement * _result = 0;
  2809. HRESULT _hr = get_substitutionGroup(&_result);
  2810. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2811. return ISchemaElementPtr(_result, false);
  2812. }
  2813. inline SCHEMADERIVATIONMETHOD ISchemaElement::GetsubstitutionGroupExclusions ( ) {
  2814. SCHEMADERIVATIONMETHOD _result;
  2815. HRESULT _hr = get_substitutionGroupExclusions(&_result);
  2816. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2817. return _result;
  2818. }
  2819. inline SCHEMADERIVATIONMETHOD ISchemaElement::GetdisallowedSubstitutions ( ) {
  2820. SCHEMADERIVATIONMETHOD _result;
  2821. HRESULT _hr = get_disallowedSubstitutions(&_result);
  2822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2823. return _result;
  2824. }
  2825. inline VARIANT_BOOL ISchemaElement::GetisAbstract ( ) {
  2826. VARIANT_BOOL _result = 0;
  2827. HRESULT _hr = get_isAbstract(&_result);
  2828. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2829. return _result;
  2830. }
  2831. inline VARIANT_BOOL ISchemaElement::GetisReference ( ) {
  2832. VARIANT_BOOL _result = 0;
  2833. HRESULT _hr = get_isReference(&_result);
  2834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2835. return _result;
  2836. }
  2837. //
  2838. // interface IXMLDOMSchemaCollection2 wrapper method implementations
  2839. //
  2840. inline HRESULT IXMLDOMSchemaCollection2::validate ( ) {
  2841. HRESULT _hr = raw_validate();
  2842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2843. return _hr;
  2844. }
  2845. inline void IXMLDOMSchemaCollection2::PutvalidateOnLoad ( VARIANT_BOOL validateOnLoad ) {
  2846. HRESULT _hr = put_validateOnLoad(validateOnLoad);
  2847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2848. }
  2849. inline VARIANT_BOOL IXMLDOMSchemaCollection2::GetvalidateOnLoad ( ) {
  2850. VARIANT_BOOL _result = 0;
  2851. HRESULT _hr = get_validateOnLoad(&_result);
  2852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2853. return _result;
  2854. }
  2855. inline ISchemaPtr IXMLDOMSchemaCollection2::getSchema ( _bstr_t namespaceURI ) {
  2856. struct ISchema * _result = 0;
  2857. HRESULT _hr = raw_getSchema(namespaceURI, &_result);
  2858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2859. return ISchemaPtr(_result, false);
  2860. }
  2861. inline ISchemaItemPtr IXMLDOMSchemaCollection2::getDeclaration ( struct IXMLDOMNode * node ) {
  2862. struct ISchemaItem * _result = 0;
  2863. HRESULT _hr = raw_getDeclaration(node, &_result);
  2864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2865. return ISchemaItemPtr(_result, false);
  2866. }
  2867. //
  2868. // interface ISchemaAttribute wrapper method implementations
  2869. //
  2870. inline ISchemaTypePtr ISchemaAttribute::Gettype ( ) {
  2871. struct ISchemaType * _result = 0;
  2872. HRESULT _hr = get_type(&_result);
  2873. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2874. return ISchemaTypePtr(_result, false);
  2875. }
  2876. inline ISchemaComplexTypePtr ISchemaAttribute::Getscope ( ) {
  2877. struct ISchemaComplexType * _result = 0;
  2878. HRESULT _hr = get_scope(&_result);
  2879. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2880. return ISchemaComplexTypePtr(_result, false);
  2881. }
  2882. inline _bstr_t ISchemaAttribute::GetdefaultValue ( ) {
  2883. BSTR _result = 0;
  2884. HRESULT _hr = get_defaultValue(&_result);
  2885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2886. return _bstr_t(_result, false);
  2887. }
  2888. inline _bstr_t ISchemaAttribute::GetfixedValue ( ) {
  2889. BSTR _result = 0;
  2890. HRESULT _hr = get_fixedValue(&_result);
  2891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2892. return _bstr_t(_result, false);
  2893. }
  2894. inline SCHEMAUSE ISchemaAttribute::Getuse ( ) {
  2895. SCHEMAUSE _result;
  2896. HRESULT _hr = get_use(&_result);
  2897. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2898. return _result;
  2899. }
  2900. inline VARIANT_BOOL ISchemaAttribute::GetisReference ( ) {
  2901. VARIANT_BOOL _result = 0;
  2902. HRESULT _hr = get_isReference(&_result);
  2903. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2904. return _result;
  2905. }
  2906. //
  2907. // interface ISchemaAttributeGroup wrapper method implementations
  2908. //
  2909. inline ISchemaAnyPtr ISchemaAttributeGroup::GetanyAttribute ( ) {
  2910. struct ISchemaAny * _result = 0;
  2911. HRESULT _hr = get_anyAttribute(&_result);
  2912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2913. return ISchemaAnyPtr(_result, false);
  2914. }
  2915. inline ISchemaItemCollectionPtr ISchemaAttributeGroup::Getattributes ( ) {
  2916. struct ISchemaItemCollection * _result = 0;
  2917. HRESULT _hr = get_attributes(&_result);
  2918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2919. return ISchemaItemCollectionPtr(_result, false);
  2920. }
  2921. //
  2922. // interface ISchemaIdentityConstraint wrapper method implementations
  2923. //
  2924. inline _bstr_t ISchemaIdentityConstraint::Getselector ( ) {
  2925. BSTR _result = 0;
  2926. HRESULT _hr = get_selector(&_result);
  2927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2928. return _bstr_t(_result, false);
  2929. }
  2930. inline ISchemaStringCollectionPtr ISchemaIdentityConstraint::Getfields ( ) {
  2931. struct ISchemaStringCollection * _result = 0;
  2932. HRESULT _hr = get_fields(&_result);
  2933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2934. return ISchemaStringCollectionPtr(_result, false);
  2935. }
  2936. inline ISchemaIdentityConstraintPtr ISchemaIdentityConstraint::GetreferencedKey ( ) {
  2937. struct ISchemaIdentityConstraint * _result = 0;
  2938. HRESULT _hr = get_referencedKey(&_result);
  2939. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2940. return ISchemaIdentityConstraintPtr(_result, false);
  2941. }
  2942. //
  2943. // interface ISchemaNotation wrapper method implementations
  2944. //
  2945. inline _bstr_t ISchemaNotation::GetsystemIdentifier ( ) {
  2946. BSTR _result = 0;
  2947. HRESULT _hr = get_systemIdentifier(&_result);
  2948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2949. return _bstr_t(_result, false);
  2950. }
  2951. inline _bstr_t ISchemaNotation::GetpublicIdentifier ( ) {
  2952. BSTR _result = 0;
  2953. HRESULT _hr = get_publicIdentifier(&_result);
  2954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2955. return _bstr_t(_result, false);
  2956. }