msado15.tli 159 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537
  1. // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (79fcb7a0).
  2. //
  3. // msado15.tli
  4. //
  5. // Wrapper implementations for Win32 type library C:\Program Files (x86)\Common Files\System\ADO\msado15.dll
  6. // compiler-generated file created 10/07/15 at 11:48:46 - DO NOT EDIT!
  7. //
  8. // interface _Collection wrapper method implementations
  9. //
  10. #pragma implementation_key(1)
  11. inline long _Collection::GetCount ( ) {
  12. long _result;
  13. HRESULT _hr = get_Count(&_result);
  14. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15. return _result;
  16. }
  17. #pragma implementation_key(2)
  18. inline IUnknownPtr _Collection::_NewEnum ( ) {
  19. IUnknown * _result;
  20. HRESULT _hr = raw__NewEnum(&_result);
  21. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22. return IUnknownPtr(_result, false);
  23. }
  24. #pragma implementation_key(3)
  25. inline HRESULT _Collection::Refresh ( ) {
  26. HRESULT _hr = raw_Refresh();
  27. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28. return _hr;
  29. }
  30. //
  31. // interface _DynaCollection wrapper method implementations
  32. //
  33. #pragma implementation_key(4)
  34. inline HRESULT _DynaCollection::Append ( IDispatch * Object ) {
  35. HRESULT _hr = raw_Append(Object);
  36. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  37. return _hr;
  38. }
  39. #pragma implementation_key(5)
  40. inline HRESULT _DynaCollection::Delete ( const _variant_t & Index ) {
  41. HRESULT _hr = raw_Delete(Index);
  42. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  43. return _hr;
  44. }
  45. //
  46. // interface _ADO wrapper method implementations
  47. //
  48. #pragma implementation_key(6)
  49. inline PropertiesPtr _ADO::GetProperties ( ) {
  50. struct Properties * _result;
  51. HRESULT _hr = get_Properties(&_result);
  52. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  53. return PropertiesPtr(_result, false);
  54. }
  55. //
  56. // interface Properties wrapper method implementations
  57. //
  58. #pragma implementation_key(7)
  59. inline PropertyPtr Properties::GetItem ( const _variant_t & Index ) {
  60. struct Property * _result;
  61. HRESULT _hr = get_Item(Index, &_result);
  62. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  63. return PropertyPtr(_result, false);
  64. }
  65. //
  66. // interface Property wrapper method implementations
  67. //
  68. #pragma implementation_key(8)
  69. inline _variant_t Property::GetValue ( ) {
  70. VARIANT _result;
  71. VariantInit(&_result);
  72. HRESULT _hr = get_Value(&_result);
  73. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  74. return _variant_t(_result, false);
  75. }
  76. #pragma implementation_key(9)
  77. inline void Property::PutValue ( const _variant_t & pval ) {
  78. HRESULT _hr = put_Value(pval);
  79. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  80. }
  81. #pragma implementation_key(10)
  82. inline _bstr_t Property::GetName ( ) {
  83. BSTR _result;
  84. HRESULT _hr = get_Name(&_result);
  85. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  86. return _bstr_t(_result, false);
  87. }
  88. #pragma implementation_key(11)
  89. inline enum DataTypeEnum Property::GetType ( ) {
  90. enum DataTypeEnum _result;
  91. HRESULT _hr = get_Type(&_result);
  92. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  93. return _result;
  94. }
  95. #pragma implementation_key(12)
  96. inline long Property::GetAttributes ( ) {
  97. long _result;
  98. HRESULT _hr = get_Attributes(&_result);
  99. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  100. return _result;
  101. }
  102. #pragma implementation_key(13)
  103. inline void Property::PutAttributes ( long plAttributes ) {
  104. HRESULT _hr = put_Attributes(plAttributes);
  105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  106. }
  107. //
  108. // interface Error wrapper method implementations
  109. //
  110. #pragma implementation_key(14)
  111. inline long Error::GetNumber ( ) {
  112. long _result;
  113. HRESULT _hr = get_Number(&_result);
  114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  115. return _result;
  116. }
  117. #pragma implementation_key(15)
  118. inline _bstr_t Error::GetSource ( ) {
  119. BSTR _result;
  120. HRESULT _hr = get_Source(&_result);
  121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  122. return _bstr_t(_result, false);
  123. }
  124. #pragma implementation_key(16)
  125. inline _bstr_t Error::GetDescription ( ) {
  126. BSTR _result;
  127. HRESULT _hr = get_Description(&_result);
  128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  129. return _bstr_t(_result, false);
  130. }
  131. #pragma implementation_key(17)
  132. inline _bstr_t Error::GetHelpFile ( ) {
  133. BSTR _result;
  134. HRESULT _hr = get_HelpFile(&_result);
  135. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  136. return _bstr_t(_result, false);
  137. }
  138. #pragma implementation_key(18)
  139. inline long Error::GetHelpContext ( ) {
  140. long _result;
  141. HRESULT _hr = get_HelpContext(&_result);
  142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  143. return _result;
  144. }
  145. #pragma implementation_key(19)
  146. inline _bstr_t Error::GetSQLState ( ) {
  147. BSTR _result;
  148. HRESULT _hr = get_SQLState(&_result);
  149. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  150. return _bstr_t(_result, false);
  151. }
  152. #pragma implementation_key(20)
  153. inline long Error::GetNativeError ( ) {
  154. long _result;
  155. HRESULT _hr = get_NativeError(&_result);
  156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  157. return _result;
  158. }
  159. //
  160. // interface Errors wrapper method implementations
  161. //
  162. #pragma implementation_key(21)
  163. inline ErrorPtr Errors::GetItem ( const _variant_t & Index ) {
  164. struct Error * _result;
  165. HRESULT _hr = get_Item(Index, &_result);
  166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  167. return ErrorPtr(_result, false);
  168. }
  169. #pragma implementation_key(22)
  170. inline HRESULT Errors::Clear ( ) {
  171. HRESULT _hr = raw_Clear();
  172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  173. return _hr;
  174. }
  175. //
  176. // interface Command15 wrapper method implementations
  177. //
  178. #pragma implementation_key(23)
  179. inline _ConnectionPtr Command15::GetActiveConnection ( ) {
  180. struct _Connection * _result;
  181. HRESULT _hr = get_ActiveConnection(&_result);
  182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  183. return _ConnectionPtr(_result, false);
  184. }
  185. #pragma implementation_key(24)
  186. inline void Command15::PutRefActiveConnection ( struct _Connection * ppvObject ) {
  187. HRESULT _hr = putref_ActiveConnection(ppvObject);
  188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  189. }
  190. #pragma implementation_key(25)
  191. inline void Command15::PutActiveConnection ( const _variant_t & ppvObject ) {
  192. HRESULT _hr = put_ActiveConnection(ppvObject);
  193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  194. }
  195. #pragma implementation_key(26)
  196. inline _bstr_t Command15::GetCommandText ( ) {
  197. BSTR _result;
  198. HRESULT _hr = get_CommandText(&_result);
  199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  200. return _bstr_t(_result, false);
  201. }
  202. #pragma implementation_key(27)
  203. inline void Command15::PutCommandText ( _bstr_t pbstr ) {
  204. HRESULT _hr = put_CommandText(pbstr);
  205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  206. }
  207. #pragma implementation_key(28)
  208. inline long Command15::GetCommandTimeout ( ) {
  209. long _result;
  210. HRESULT _hr = get_CommandTimeout(&_result);
  211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  212. return _result;
  213. }
  214. #pragma implementation_key(29)
  215. inline void Command15::PutCommandTimeout ( long pl ) {
  216. HRESULT _hr = put_CommandTimeout(pl);
  217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  218. }
  219. #pragma implementation_key(30)
  220. inline VARIANT_BOOL Command15::GetPrepared ( ) {
  221. VARIANT_BOOL _result;
  222. HRESULT _hr = get_Prepared(&_result);
  223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  224. return _result;
  225. }
  226. #pragma implementation_key(31)
  227. inline void Command15::PutPrepared ( VARIANT_BOOL pfPrepared ) {
  228. HRESULT _hr = put_Prepared(pfPrepared);
  229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  230. }
  231. #pragma implementation_key(32)
  232. inline _RecordsetPtr Command15::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options ) {
  233. struct _Recordset * _result;
  234. HRESULT _hr = raw_Execute(RecordsAffected, Parameters, Options, &_result);
  235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  236. return _RecordsetPtr(_result, false);
  237. }
  238. #pragma implementation_key(33)
  239. inline _ParameterPtr Command15::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, long Size, const _variant_t & Value ) {
  240. struct _Parameter * _result;
  241. HRESULT _hr = raw_CreateParameter(Name, Type, Direction, Size, Value, &_result);
  242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  243. return _ParameterPtr(_result, false);
  244. }
  245. #pragma implementation_key(34)
  246. inline ParametersPtr Command15::GetParameters ( ) {
  247. struct Parameters * _result;
  248. HRESULT _hr = get_Parameters(&_result);
  249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  250. return ParametersPtr(_result, false);
  251. }
  252. #pragma implementation_key(35)
  253. inline void Command15::PutCommandType ( enum CommandTypeEnum plCmdType ) {
  254. HRESULT _hr = put_CommandType(plCmdType);
  255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  256. }
  257. #pragma implementation_key(36)
  258. inline enum CommandTypeEnum Command15::GetCommandType ( ) {
  259. enum CommandTypeEnum _result;
  260. HRESULT _hr = get_CommandType(&_result);
  261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  262. return _result;
  263. }
  264. #pragma implementation_key(37)
  265. inline _bstr_t Command15::GetName ( ) {
  266. BSTR _result;
  267. HRESULT _hr = get_Name(&_result);
  268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  269. return _bstr_t(_result, false);
  270. }
  271. #pragma implementation_key(38)
  272. inline void Command15::PutName ( _bstr_t pbstrName ) {
  273. HRESULT _hr = put_Name(pbstrName);
  274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  275. }
  276. //
  277. // interface Connection15 wrapper method implementations
  278. //
  279. #pragma implementation_key(39)
  280. inline _bstr_t Connection15::GetConnectionString ( ) {
  281. BSTR _result;
  282. HRESULT _hr = get_ConnectionString(&_result);
  283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  284. return _bstr_t(_result, false);
  285. }
  286. #pragma implementation_key(40)
  287. inline void Connection15::PutConnectionString ( _bstr_t pbstr ) {
  288. HRESULT _hr = put_ConnectionString(pbstr);
  289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  290. }
  291. #pragma implementation_key(41)
  292. inline long Connection15::GetCommandTimeout ( ) {
  293. long _result;
  294. HRESULT _hr = get_CommandTimeout(&_result);
  295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  296. return _result;
  297. }
  298. #pragma implementation_key(42)
  299. inline void Connection15::PutCommandTimeout ( long plTimeout ) {
  300. HRESULT _hr = put_CommandTimeout(plTimeout);
  301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  302. }
  303. #pragma implementation_key(43)
  304. inline long Connection15::GetConnectionTimeout ( ) {
  305. long _result;
  306. HRESULT _hr = get_ConnectionTimeout(&_result);
  307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  308. return _result;
  309. }
  310. #pragma implementation_key(44)
  311. inline void Connection15::PutConnectionTimeout ( long plTimeout ) {
  312. HRESULT _hr = put_ConnectionTimeout(plTimeout);
  313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  314. }
  315. #pragma implementation_key(45)
  316. inline _bstr_t Connection15::GetVersion ( ) {
  317. BSTR _result;
  318. HRESULT _hr = get_Version(&_result);
  319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  320. return _bstr_t(_result, false);
  321. }
  322. #pragma implementation_key(46)
  323. inline HRESULT Connection15::Close ( ) {
  324. HRESULT _hr = raw_Close();
  325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  326. return _hr;
  327. }
  328. #pragma implementation_key(47)
  329. inline _RecordsetPtr Connection15::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options ) {
  330. struct _Recordset * _result;
  331. HRESULT _hr = raw_Execute(CommandText, RecordsAffected, Options, &_result);
  332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  333. return _RecordsetPtr(_result, false);
  334. }
  335. #pragma implementation_key(48)
  336. inline long Connection15::BeginTrans ( ) {
  337. long _result;
  338. HRESULT _hr = raw_BeginTrans(&_result);
  339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  340. return _result;
  341. }
  342. #pragma implementation_key(49)
  343. inline HRESULT Connection15::CommitTrans ( ) {
  344. HRESULT _hr = raw_CommitTrans();
  345. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  346. return _hr;
  347. }
  348. #pragma implementation_key(50)
  349. inline HRESULT Connection15::RollbackTrans ( ) {
  350. HRESULT _hr = raw_RollbackTrans();
  351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  352. return _hr;
  353. }
  354. #pragma implementation_key(51)
  355. inline HRESULT Connection15::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options ) {
  356. HRESULT _hr = raw_Open(ConnectionString, UserID, Password, Options);
  357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  358. return _hr;
  359. }
  360. #pragma implementation_key(52)
  361. inline ErrorsPtr Connection15::GetErrors ( ) {
  362. struct Errors * _result;
  363. HRESULT _hr = get_Errors(&_result);
  364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  365. return ErrorsPtr(_result, false);
  366. }
  367. #pragma implementation_key(53)
  368. inline _bstr_t Connection15::GetDefaultDatabase ( ) {
  369. BSTR _result;
  370. HRESULT _hr = get_DefaultDatabase(&_result);
  371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  372. return _bstr_t(_result, false);
  373. }
  374. #pragma implementation_key(54)
  375. inline void Connection15::PutDefaultDatabase ( _bstr_t pbstr ) {
  376. HRESULT _hr = put_DefaultDatabase(pbstr);
  377. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  378. }
  379. #pragma implementation_key(55)
  380. inline enum IsolationLevelEnum Connection15::GetIsolationLevel ( ) {
  381. enum IsolationLevelEnum _result;
  382. HRESULT _hr = get_IsolationLevel(&_result);
  383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  384. return _result;
  385. }
  386. #pragma implementation_key(56)
  387. inline void Connection15::PutIsolationLevel ( enum IsolationLevelEnum Level ) {
  388. HRESULT _hr = put_IsolationLevel(Level);
  389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  390. }
  391. #pragma implementation_key(57)
  392. inline long Connection15::GetAttributes ( ) {
  393. long _result;
  394. HRESULT _hr = get_Attributes(&_result);
  395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  396. return _result;
  397. }
  398. #pragma implementation_key(58)
  399. inline void Connection15::PutAttributes ( long plAttr ) {
  400. HRESULT _hr = put_Attributes(plAttr);
  401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  402. }
  403. #pragma implementation_key(59)
  404. inline enum CursorLocationEnum Connection15::GetCursorLocation ( ) {
  405. enum CursorLocationEnum _result;
  406. HRESULT _hr = get_CursorLocation(&_result);
  407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  408. return _result;
  409. }
  410. #pragma implementation_key(60)
  411. inline void Connection15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
  412. HRESULT _hr = put_CursorLocation(plCursorLoc);
  413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  414. }
  415. #pragma implementation_key(61)
  416. inline enum ConnectModeEnum Connection15::GetMode ( ) {
  417. enum ConnectModeEnum _result;
  418. HRESULT _hr = get_Mode(&_result);
  419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  420. return _result;
  421. }
  422. #pragma implementation_key(62)
  423. inline void Connection15::PutMode ( enum ConnectModeEnum plMode ) {
  424. HRESULT _hr = put_Mode(plMode);
  425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  426. }
  427. #pragma implementation_key(63)
  428. inline _bstr_t Connection15::GetProvider ( ) {
  429. BSTR _result;
  430. HRESULT _hr = get_Provider(&_result);
  431. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  432. return _bstr_t(_result, false);
  433. }
  434. #pragma implementation_key(64)
  435. inline void Connection15::PutProvider ( _bstr_t pbstr ) {
  436. HRESULT _hr = put_Provider(pbstr);
  437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  438. }
  439. #pragma implementation_key(65)
  440. inline long Connection15::GetState ( ) {
  441. long _result;
  442. HRESULT _hr = get_State(&_result);
  443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  444. return _result;
  445. }
  446. #pragma implementation_key(66)
  447. inline _RecordsetPtr Connection15::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID ) {
  448. struct _Recordset * _result;
  449. HRESULT _hr = raw_OpenSchema(Schema, Restrictions, SchemaID, &_result);
  450. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  451. return _RecordsetPtr(_result, false);
  452. }
  453. //
  454. // interface _Connection wrapper method implementations
  455. //
  456. #pragma implementation_key(67)
  457. inline HRESULT _Connection::Cancel ( ) {
  458. HRESULT _hr = raw_Cancel();
  459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  460. return _hr;
  461. }
  462. //
  463. // interface Recordset15 wrapper method implementations
  464. //
  465. #pragma implementation_key(68)
  466. inline enum PositionEnum Recordset15::GetAbsolutePosition ( ) {
  467. enum PositionEnum _result;
  468. HRESULT _hr = get_AbsolutePosition(&_result);
  469. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  470. return _result;
  471. }
  472. #pragma implementation_key(69)
  473. inline void Recordset15::PutAbsolutePosition ( enum PositionEnum pl ) {
  474. HRESULT _hr = put_AbsolutePosition(pl);
  475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  476. }
  477. #pragma implementation_key(70)
  478. inline void Recordset15::PutRefActiveConnection ( IDispatch * pvar ) {
  479. HRESULT _hr = putref_ActiveConnection(pvar);
  480. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  481. }
  482. #pragma implementation_key(71)
  483. inline void Recordset15::PutActiveConnection ( const _variant_t & pvar ) {
  484. HRESULT _hr = put_ActiveConnection(pvar);
  485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  486. }
  487. #pragma implementation_key(72)
  488. inline _variant_t Recordset15::GetActiveConnection ( ) {
  489. VARIANT _result;
  490. VariantInit(&_result);
  491. HRESULT _hr = get_ActiveConnection(&_result);
  492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  493. return _variant_t(_result, false);
  494. }
  495. #pragma implementation_key(73)
  496. inline VARIANT_BOOL Recordset15::GetBOF ( ) {
  497. VARIANT_BOOL _result;
  498. HRESULT _hr = get_BOF(&_result);
  499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  500. return _result;
  501. }
  502. #pragma implementation_key(74)
  503. inline _variant_t Recordset15::GetBookmark ( ) {
  504. VARIANT _result;
  505. VariantInit(&_result);
  506. HRESULT _hr = get_Bookmark(&_result);
  507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  508. return _variant_t(_result, false);
  509. }
  510. #pragma implementation_key(75)
  511. inline void Recordset15::PutBookmark ( const _variant_t & pvBookmark ) {
  512. HRESULT _hr = put_Bookmark(pvBookmark);
  513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  514. }
  515. #pragma implementation_key(76)
  516. inline long Recordset15::GetCacheSize ( ) {
  517. long _result;
  518. HRESULT _hr = get_CacheSize(&_result);
  519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  520. return _result;
  521. }
  522. #pragma implementation_key(77)
  523. inline void Recordset15::PutCacheSize ( long pl ) {
  524. HRESULT _hr = put_CacheSize(pl);
  525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  526. }
  527. #pragma implementation_key(78)
  528. inline enum CursorTypeEnum Recordset15::GetCursorType ( ) {
  529. enum CursorTypeEnum _result;
  530. HRESULT _hr = get_CursorType(&_result);
  531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  532. return _result;
  533. }
  534. #pragma implementation_key(79)
  535. inline void Recordset15::PutCursorType ( enum CursorTypeEnum plCursorType ) {
  536. HRESULT _hr = put_CursorType(plCursorType);
  537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  538. }
  539. #pragma implementation_key(80)
  540. inline VARIANT_BOOL Recordset15::GetadoEOF ( ) {
  541. VARIANT_BOOL _result;
  542. HRESULT _hr = get_adoEOF(&_result);
  543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  544. return _result;
  545. }
  546. #pragma implementation_key(81)
  547. inline FieldsPtr Recordset15::GetFields ( ) {
  548. struct Fields * _result;
  549. HRESULT _hr = get_Fields(&_result);
  550. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  551. return FieldsPtr(_result, false);
  552. }
  553. #pragma implementation_key(82)
  554. inline enum LockTypeEnum Recordset15::GetLockType ( ) {
  555. enum LockTypeEnum _result;
  556. HRESULT _hr = get_LockType(&_result);
  557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  558. return _result;
  559. }
  560. #pragma implementation_key(83)
  561. inline void Recordset15::PutLockType ( enum LockTypeEnum plLockType ) {
  562. HRESULT _hr = put_LockType(plLockType);
  563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  564. }
  565. #pragma implementation_key(84)
  566. inline long Recordset15::GetMaxRecords ( ) {
  567. long _result;
  568. HRESULT _hr = get_MaxRecords(&_result);
  569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  570. return _result;
  571. }
  572. #pragma implementation_key(85)
  573. inline void Recordset15::PutMaxRecords ( long plMaxRecords ) {
  574. HRESULT _hr = put_MaxRecords(plMaxRecords);
  575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  576. }
  577. #pragma implementation_key(86)
  578. inline long Recordset15::GetRecordCount ( ) {
  579. long _result;
  580. HRESULT _hr = get_RecordCount(&_result);
  581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  582. return _result;
  583. }
  584. #pragma implementation_key(87)
  585. inline void Recordset15::PutRefSource ( IDispatch * pvSource ) {
  586. HRESULT _hr = putref_Source(pvSource);
  587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  588. }
  589. #pragma implementation_key(88)
  590. inline void Recordset15::PutSource ( _bstr_t pvSource ) {
  591. HRESULT _hr = put_Source(pvSource);
  592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  593. }
  594. #pragma implementation_key(89)
  595. inline _variant_t Recordset15::GetSource ( ) {
  596. VARIANT _result;
  597. VariantInit(&_result);
  598. HRESULT _hr = get_Source(&_result);
  599. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  600. return _variant_t(_result, false);
  601. }
  602. #pragma implementation_key(90)
  603. inline HRESULT Recordset15::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
  604. HRESULT _hr = raw_AddNew(FieldList, Values);
  605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  606. return _hr;
  607. }
  608. #pragma implementation_key(91)
  609. inline HRESULT Recordset15::CancelUpdate ( ) {
  610. HRESULT _hr = raw_CancelUpdate();
  611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  612. return _hr;
  613. }
  614. #pragma implementation_key(92)
  615. inline HRESULT Recordset15::Close ( ) {
  616. HRESULT _hr = raw_Close();
  617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  618. return _hr;
  619. }
  620. #pragma implementation_key(93)
  621. inline HRESULT Recordset15::Delete ( enum AffectEnum AffectRecords ) {
  622. HRESULT _hr = raw_Delete(AffectRecords);
  623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  624. return _hr;
  625. }
  626. #pragma implementation_key(94)
  627. inline _variant_t Recordset15::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
  628. VARIANT _result;
  629. VariantInit(&_result);
  630. HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
  631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  632. return _variant_t(_result, false);
  633. }
  634. #pragma implementation_key(95)
  635. inline HRESULT Recordset15::Move ( long NumRecords, const _variant_t & Start ) {
  636. HRESULT _hr = raw_Move(NumRecords, Start);
  637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  638. return _hr;
  639. }
  640. #pragma implementation_key(96)
  641. inline HRESULT Recordset15::MoveNext ( ) {
  642. HRESULT _hr = raw_MoveNext();
  643. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  644. return _hr;
  645. }
  646. #pragma implementation_key(97)
  647. inline HRESULT Recordset15::MovePrevious ( ) {
  648. HRESULT _hr = raw_MovePrevious();
  649. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  650. return _hr;
  651. }
  652. #pragma implementation_key(98)
  653. inline HRESULT Recordset15::MoveFirst ( ) {
  654. HRESULT _hr = raw_MoveFirst();
  655. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  656. return _hr;
  657. }
  658. #pragma implementation_key(99)
  659. inline HRESULT Recordset15::MoveLast ( ) {
  660. HRESULT _hr = raw_MoveLast();
  661. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  662. return _hr;
  663. }
  664. #pragma implementation_key(100)
  665. inline HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
  666. HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
  667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  668. return _hr;
  669. }
  670. #pragma implementation_key(101)
  671. inline HRESULT Recordset15::Requery ( long Options ) {
  672. HRESULT _hr = raw_Requery(Options);
  673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  674. return _hr;
  675. }
  676. #pragma implementation_key(102)
  677. inline HRESULT Recordset15::_xResync ( enum AffectEnum AffectRecords ) {
  678. HRESULT _hr = raw__xResync(AffectRecords);
  679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  680. return _hr;
  681. }
  682. #pragma implementation_key(103)
  683. inline HRESULT Recordset15::Update ( const _variant_t & Fields, const _variant_t & Values ) {
  684. HRESULT _hr = raw_Update(Fields, Values);
  685. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  686. return _hr;
  687. }
  688. #pragma implementation_key(104)
  689. inline enum PositionEnum Recordset15::GetAbsolutePage ( ) {
  690. enum PositionEnum _result;
  691. HRESULT _hr = get_AbsolutePage(&_result);
  692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  693. return _result;
  694. }
  695. #pragma implementation_key(105)
  696. inline void Recordset15::PutAbsolutePage ( enum PositionEnum pl ) {
  697. HRESULT _hr = put_AbsolutePage(pl);
  698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  699. }
  700. #pragma implementation_key(106)
  701. inline enum EditModeEnum Recordset15::GetEditMode ( ) {
  702. enum EditModeEnum _result;
  703. HRESULT _hr = get_EditMode(&_result);
  704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  705. return _result;
  706. }
  707. #pragma implementation_key(107)
  708. inline _variant_t Recordset15::GetFilter ( ) {
  709. VARIANT _result;
  710. VariantInit(&_result);
  711. HRESULT _hr = get_Filter(&_result);
  712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  713. return _variant_t(_result, false);
  714. }
  715. #pragma implementation_key(108)
  716. inline void Recordset15::PutFilter ( const _variant_t & Criteria ) {
  717. HRESULT _hr = put_Filter(Criteria);
  718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  719. }
  720. #pragma implementation_key(109)
  721. inline long Recordset15::GetPageCount ( ) {
  722. long _result;
  723. HRESULT _hr = get_PageCount(&_result);
  724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  725. return _result;
  726. }
  727. #pragma implementation_key(110)
  728. inline long Recordset15::GetPageSize ( ) {
  729. long _result;
  730. HRESULT _hr = get_PageSize(&_result);
  731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  732. return _result;
  733. }
  734. #pragma implementation_key(111)
  735. inline void Recordset15::PutPageSize ( long pl ) {
  736. HRESULT _hr = put_PageSize(pl);
  737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  738. }
  739. #pragma implementation_key(112)
  740. inline _bstr_t Recordset15::GetSort ( ) {
  741. BSTR _result;
  742. HRESULT _hr = get_Sort(&_result);
  743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  744. return _bstr_t(_result, false);
  745. }
  746. #pragma implementation_key(113)
  747. inline void Recordset15::PutSort ( _bstr_t Criteria ) {
  748. HRESULT _hr = put_Sort(Criteria);
  749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  750. }
  751. #pragma implementation_key(114)
  752. inline long Recordset15::GetStatus ( ) {
  753. long _result;
  754. HRESULT _hr = get_Status(&_result);
  755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  756. return _result;
  757. }
  758. #pragma implementation_key(115)
  759. inline long Recordset15::GetState ( ) {
  760. long _result;
  761. HRESULT _hr = get_State(&_result);
  762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  763. return _result;
  764. }
  765. #pragma implementation_key(116)
  766. inline _RecordsetPtr Recordset15::_xClone ( ) {
  767. struct _Recordset * _result;
  768. HRESULT _hr = raw__xClone(&_result);
  769. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  770. return _RecordsetPtr(_result, false);
  771. }
  772. #pragma implementation_key(117)
  773. inline HRESULT Recordset15::UpdateBatch ( enum AffectEnum AffectRecords ) {
  774. HRESULT _hr = raw_UpdateBatch(AffectRecords);
  775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  776. return _hr;
  777. }
  778. #pragma implementation_key(118)
  779. inline HRESULT Recordset15::CancelBatch ( enum AffectEnum AffectRecords ) {
  780. HRESULT _hr = raw_CancelBatch(AffectRecords);
  781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  782. return _hr;
  783. }
  784. #pragma implementation_key(119)
  785. inline enum CursorLocationEnum Recordset15::GetCursorLocation ( ) {
  786. enum CursorLocationEnum _result;
  787. HRESULT _hr = get_CursorLocation(&_result);
  788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  789. return _result;
  790. }
  791. #pragma implementation_key(120)
  792. inline void Recordset15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
  793. HRESULT _hr = put_CursorLocation(plCursorLoc);
  794. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  795. }
  796. #pragma implementation_key(121)
  797. inline _RecordsetPtr Recordset15::NextRecordset ( VARIANT * RecordsAffected ) {
  798. struct _Recordset * _result;
  799. HRESULT _hr = raw_NextRecordset(RecordsAffected, &_result);
  800. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  801. return _RecordsetPtr(_result, false);
  802. }
  803. #pragma implementation_key(122)
  804. inline VARIANT_BOOL Recordset15::Supports ( enum CursorOptionEnum CursorOptions ) {
  805. VARIANT_BOOL _result;
  806. HRESULT _hr = raw_Supports(CursorOptions, &_result);
  807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  808. return _result;
  809. }
  810. #pragma implementation_key(123)
  811. inline _variant_t Recordset15::GetCollect ( const _variant_t & Index ) {
  812. VARIANT _result;
  813. VariantInit(&_result);
  814. HRESULT _hr = get_Collect(Index, &_result);
  815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  816. return _variant_t(_result, false);
  817. }
  818. #pragma implementation_key(124)
  819. inline void Recordset15::PutCollect ( const _variant_t & Index, const _variant_t & pvar ) {
  820. HRESULT _hr = put_Collect(Index, pvar);
  821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  822. }
  823. #pragma implementation_key(125)
  824. inline enum MarshalOptionsEnum Recordset15::GetMarshalOptions ( ) {
  825. enum MarshalOptionsEnum _result;
  826. HRESULT _hr = get_MarshalOptions(&_result);
  827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  828. return _result;
  829. }
  830. #pragma implementation_key(126)
  831. inline void Recordset15::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal ) {
  832. HRESULT _hr = put_MarshalOptions(peMarshal);
  833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  834. }
  835. #pragma implementation_key(127)
  836. inline HRESULT Recordset15::Find ( _bstr_t Criteria, long SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start ) {
  837. HRESULT _hr = raw_Find(Criteria, SkipRecords, SearchDirection, Start);
  838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  839. return _hr;
  840. }
  841. //
  842. // interface Recordset20 wrapper method implementations
  843. //
  844. #pragma implementation_key(128)
  845. inline HRESULT Recordset20::Cancel ( ) {
  846. HRESULT _hr = raw_Cancel();
  847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  848. return _hr;
  849. }
  850. #pragma implementation_key(129)
  851. inline IUnknownPtr Recordset20::GetDataSource ( ) {
  852. IUnknown * _result;
  853. HRESULT _hr = get_DataSource(&_result);
  854. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  855. return IUnknownPtr(_result, false);
  856. }
  857. #pragma implementation_key(130)
  858. inline void Recordset20::PutRefDataSource ( IUnknown * ppunkDataSource ) {
  859. HRESULT _hr = putref_DataSource(ppunkDataSource);
  860. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  861. }
  862. #pragma implementation_key(131)
  863. inline HRESULT Recordset20::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat ) {
  864. HRESULT _hr = raw__xSave(FileName, PersistFormat);
  865. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  866. return _hr;
  867. }
  868. #pragma implementation_key(132)
  869. inline IDispatchPtr Recordset20::GetActiveCommand ( ) {
  870. IDispatch * _result;
  871. HRESULT _hr = get_ActiveCommand(&_result);
  872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  873. return IDispatchPtr(_result, false);
  874. }
  875. #pragma implementation_key(133)
  876. inline void Recordset20::PutStayInSync ( VARIANT_BOOL pbStayInSync ) {
  877. HRESULT _hr = put_StayInSync(pbStayInSync);
  878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  879. }
  880. #pragma implementation_key(134)
  881. inline VARIANT_BOOL Recordset20::GetStayInSync ( ) {
  882. VARIANT_BOOL _result;
  883. HRESULT _hr = get_StayInSync(&_result);
  884. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  885. return _result;
  886. }
  887. #pragma implementation_key(135)
  888. inline _bstr_t Recordset20::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr ) {
  889. BSTR _result;
  890. HRESULT _hr = raw_GetString(StringFormat, NumRows, ColumnDelimeter, RowDelimeter, NullExpr, &_result);
  891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  892. return _bstr_t(_result, false);
  893. }
  894. #pragma implementation_key(136)
  895. inline _bstr_t Recordset20::GetDataMember ( ) {
  896. BSTR _result;
  897. HRESULT _hr = get_DataMember(&_result);
  898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  899. return _bstr_t(_result, false);
  900. }
  901. #pragma implementation_key(137)
  902. inline void Recordset20::PutDataMember ( _bstr_t pbstrDataMember ) {
  903. HRESULT _hr = put_DataMember(pbstrDataMember);
  904. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  905. }
  906. #pragma implementation_key(138)
  907. inline enum CompareEnum Recordset20::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 ) {
  908. enum CompareEnum _result;
  909. HRESULT _hr = raw_CompareBookmarks(Bookmark1, Bookmark2, &_result);
  910. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  911. return _result;
  912. }
  913. #pragma implementation_key(139)
  914. inline _RecordsetPtr Recordset20::Clone ( enum LockTypeEnum LockType ) {
  915. struct _Recordset * _result;
  916. HRESULT _hr = raw_Clone(LockType, &_result);
  917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  918. return _RecordsetPtr(_result, false);
  919. }
  920. #pragma implementation_key(140)
  921. inline HRESULT Recordset20::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues ) {
  922. HRESULT _hr = raw_Resync(AffectRecords, ResyncValues);
  923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  924. return _hr;
  925. }
  926. //
  927. // interface Recordset21 wrapper method implementations
  928. //
  929. #pragma implementation_key(141)
  930. inline HRESULT Recordset21::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption ) {
  931. HRESULT _hr = raw_Seek(KeyValues, SeekOption);
  932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  933. return _hr;
  934. }
  935. #pragma implementation_key(142)
  936. inline void Recordset21::PutIndex ( _bstr_t pbstrIndex ) {
  937. HRESULT _hr = put_Index(pbstrIndex);
  938. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  939. }
  940. #pragma implementation_key(143)
  941. inline _bstr_t Recordset21::GetIndex ( ) {
  942. BSTR _result;
  943. HRESULT _hr = get_Index(&_result);
  944. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  945. return _bstr_t(_result, false);
  946. }
  947. //
  948. // interface _Recordset wrapper method implementations
  949. //
  950. #pragma implementation_key(144)
  951. inline HRESULT _Recordset::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat ) {
  952. HRESULT _hr = raw_Save(Destination, PersistFormat);
  953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  954. return _hr;
  955. }
  956. //
  957. // interface Fields15 wrapper method implementations
  958. //
  959. #pragma implementation_key(145)
  960. inline FieldPtr Fields15::GetItem ( const _variant_t & Index ) {
  961. struct Field * _result;
  962. HRESULT _hr = get_Item(Index, &_result);
  963. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  964. return FieldPtr(_result, false);
  965. }
  966. //
  967. // interface Fields20 wrapper method implementations
  968. //
  969. #pragma implementation_key(146)
  970. inline HRESULT Fields20::_Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib ) {
  971. HRESULT _hr = raw__Append(Name, Type, DefinedSize, Attrib);
  972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  973. return _hr;
  974. }
  975. #pragma implementation_key(147)
  976. inline HRESULT Fields20::Delete ( const _variant_t & Index ) {
  977. HRESULT _hr = raw_Delete(Index);
  978. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  979. return _hr;
  980. }
  981. //
  982. // interface Fields wrapper method implementations
  983. //
  984. #pragma implementation_key(148)
  985. inline HRESULT Fields::Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue ) {
  986. HRESULT _hr = raw_Append(Name, Type, DefinedSize, Attrib, FieldValue);
  987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  988. return _hr;
  989. }
  990. #pragma implementation_key(149)
  991. inline HRESULT Fields::Update ( ) {
  992. HRESULT _hr = raw_Update();
  993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  994. return _hr;
  995. }
  996. #pragma implementation_key(150)
  997. inline HRESULT Fields::Resync ( enum ResyncEnum ResyncValues ) {
  998. HRESULT _hr = raw_Resync(ResyncValues);
  999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1000. return _hr;
  1001. }
  1002. #pragma implementation_key(151)
  1003. inline HRESULT Fields::CancelUpdate ( ) {
  1004. HRESULT _hr = raw_CancelUpdate();
  1005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1006. return _hr;
  1007. }
  1008. //
  1009. // interface Field20 wrapper method implementations
  1010. //
  1011. #pragma implementation_key(152)
  1012. inline long Field20::GetActualSize ( ) {
  1013. long _result;
  1014. HRESULT _hr = get_ActualSize(&_result);
  1015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1016. return _result;
  1017. }
  1018. #pragma implementation_key(153)
  1019. inline long Field20::GetAttributes ( ) {
  1020. long _result;
  1021. HRESULT _hr = get_Attributes(&_result);
  1022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1023. return _result;
  1024. }
  1025. #pragma implementation_key(154)
  1026. inline long Field20::GetDefinedSize ( ) {
  1027. long _result;
  1028. HRESULT _hr = get_DefinedSize(&_result);
  1029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1030. return _result;
  1031. }
  1032. #pragma implementation_key(155)
  1033. inline _bstr_t Field20::GetName ( ) {
  1034. BSTR _result;
  1035. HRESULT _hr = get_Name(&_result);
  1036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1037. return _bstr_t(_result, false);
  1038. }
  1039. #pragma implementation_key(156)
  1040. inline enum DataTypeEnum Field20::GetType ( ) {
  1041. enum DataTypeEnum _result;
  1042. HRESULT _hr = get_Type(&_result);
  1043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1044. return _result;
  1045. }
  1046. #pragma implementation_key(157)
  1047. inline _variant_t Field20::GetValue ( ) {
  1048. VARIANT _result;
  1049. VariantInit(&_result);
  1050. HRESULT _hr = get_Value(&_result);
  1051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1052. return _variant_t(_result, false);
  1053. }
  1054. #pragma implementation_key(158)
  1055. inline void Field20::PutValue ( const _variant_t & pvar ) {
  1056. HRESULT _hr = put_Value(pvar);
  1057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1058. }
  1059. #pragma implementation_key(159)
  1060. inline unsigned char Field20::GetPrecision ( ) {
  1061. unsigned char _result;
  1062. HRESULT _hr = get_Precision(&_result);
  1063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1064. return _result;
  1065. }
  1066. #pragma implementation_key(160)
  1067. inline unsigned char Field20::GetNumericScale ( ) {
  1068. unsigned char _result;
  1069. HRESULT _hr = get_NumericScale(&_result);
  1070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1071. return _result;
  1072. }
  1073. #pragma implementation_key(161)
  1074. inline HRESULT Field20::AppendChunk ( const _variant_t & Data ) {
  1075. HRESULT _hr = raw_AppendChunk(Data);
  1076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1077. return _hr;
  1078. }
  1079. #pragma implementation_key(162)
  1080. inline _variant_t Field20::GetChunk ( long Length ) {
  1081. VARIANT _result;
  1082. VariantInit(&_result);
  1083. HRESULT _hr = raw_GetChunk(Length, &_result);
  1084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1085. return _variant_t(_result, false);
  1086. }
  1087. #pragma implementation_key(163)
  1088. inline _variant_t Field20::GetOriginalValue ( ) {
  1089. VARIANT _result;
  1090. VariantInit(&_result);
  1091. HRESULT _hr = get_OriginalValue(&_result);
  1092. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1093. return _variant_t(_result, false);
  1094. }
  1095. #pragma implementation_key(164)
  1096. inline _variant_t Field20::GetUnderlyingValue ( ) {
  1097. VARIANT _result;
  1098. VariantInit(&_result);
  1099. HRESULT _hr = get_UnderlyingValue(&_result);
  1100. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1101. return _variant_t(_result, false);
  1102. }
  1103. #pragma implementation_key(165)
  1104. inline IUnknownPtr Field20::GetDataFormat ( ) {
  1105. IUnknown * _result;
  1106. HRESULT _hr = get_DataFormat(&_result);
  1107. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1108. return IUnknownPtr(_result, false);
  1109. }
  1110. #pragma implementation_key(166)
  1111. inline void Field20::PutRefDataFormat ( IUnknown * ppiDF ) {
  1112. HRESULT _hr = putref_DataFormat(ppiDF);
  1113. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1114. }
  1115. #pragma implementation_key(167)
  1116. inline void Field20::PutPrecision ( unsigned char pbPrecision ) {
  1117. HRESULT _hr = put_Precision(pbPrecision);
  1118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1119. }
  1120. #pragma implementation_key(168)
  1121. inline void Field20::PutNumericScale ( unsigned char pbNumericScale ) {
  1122. HRESULT _hr = put_NumericScale(pbNumericScale);
  1123. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1124. }
  1125. #pragma implementation_key(169)
  1126. inline void Field20::PutType ( enum DataTypeEnum pDataType ) {
  1127. HRESULT _hr = put_Type(pDataType);
  1128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1129. }
  1130. #pragma implementation_key(170)
  1131. inline void Field20::PutDefinedSize ( long pl ) {
  1132. HRESULT _hr = put_DefinedSize(pl);
  1133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1134. }
  1135. #pragma implementation_key(171)
  1136. inline void Field20::PutAttributes ( long pl ) {
  1137. HRESULT _hr = put_Attributes(pl);
  1138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1139. }
  1140. //
  1141. // interface Field wrapper method implementations
  1142. //
  1143. #pragma implementation_key(172)
  1144. inline long Field::GetStatus ( ) {
  1145. long _result;
  1146. HRESULT _hr = get_Status(&_result);
  1147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1148. return _result;
  1149. }
  1150. //
  1151. // interface _Parameter wrapper method implementations
  1152. //
  1153. #pragma implementation_key(173)
  1154. inline _bstr_t _Parameter::GetName ( ) {
  1155. BSTR _result;
  1156. HRESULT _hr = get_Name(&_result);
  1157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1158. return _bstr_t(_result, false);
  1159. }
  1160. #pragma implementation_key(174)
  1161. inline void _Parameter::PutName ( _bstr_t pbstr ) {
  1162. HRESULT _hr = put_Name(pbstr);
  1163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1164. }
  1165. #pragma implementation_key(175)
  1166. inline _variant_t _Parameter::GetValue ( ) {
  1167. VARIANT _result;
  1168. VariantInit(&_result);
  1169. HRESULT _hr = get_Value(&_result);
  1170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1171. return _variant_t(_result, false);
  1172. }
  1173. #pragma implementation_key(176)
  1174. inline void _Parameter::PutValue ( const _variant_t & pvar ) {
  1175. HRESULT _hr = put_Value(pvar);
  1176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1177. }
  1178. #pragma implementation_key(177)
  1179. inline enum DataTypeEnum _Parameter::GetType ( ) {
  1180. enum DataTypeEnum _result;
  1181. HRESULT _hr = get_Type(&_result);
  1182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1183. return _result;
  1184. }
  1185. #pragma implementation_key(178)
  1186. inline void _Parameter::PutType ( enum DataTypeEnum psDataType ) {
  1187. HRESULT _hr = put_Type(psDataType);
  1188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1189. }
  1190. #pragma implementation_key(179)
  1191. inline void _Parameter::PutDirection ( enum ParameterDirectionEnum plParmDirection ) {
  1192. HRESULT _hr = put_Direction(plParmDirection);
  1193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1194. }
  1195. #pragma implementation_key(180)
  1196. inline enum ParameterDirectionEnum _Parameter::GetDirection ( ) {
  1197. enum ParameterDirectionEnum _result;
  1198. HRESULT _hr = get_Direction(&_result);
  1199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1200. return _result;
  1201. }
  1202. #pragma implementation_key(181)
  1203. inline void _Parameter::PutPrecision ( unsigned char pbPrecision ) {
  1204. HRESULT _hr = put_Precision(pbPrecision);
  1205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1206. }
  1207. #pragma implementation_key(182)
  1208. inline unsigned char _Parameter::GetPrecision ( ) {
  1209. unsigned char _result;
  1210. HRESULT _hr = get_Precision(&_result);
  1211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1212. return _result;
  1213. }
  1214. #pragma implementation_key(183)
  1215. inline void _Parameter::PutNumericScale ( unsigned char pbScale ) {
  1216. HRESULT _hr = put_NumericScale(pbScale);
  1217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1218. }
  1219. #pragma implementation_key(184)
  1220. inline unsigned char _Parameter::GetNumericScale ( ) {
  1221. unsigned char _result;
  1222. HRESULT _hr = get_NumericScale(&_result);
  1223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1224. return _result;
  1225. }
  1226. #pragma implementation_key(185)
  1227. inline void _Parameter::PutSize ( long pl ) {
  1228. HRESULT _hr = put_Size(pl);
  1229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1230. }
  1231. #pragma implementation_key(186)
  1232. inline long _Parameter::GetSize ( ) {
  1233. long _result;
  1234. HRESULT _hr = get_Size(&_result);
  1235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1236. return _result;
  1237. }
  1238. #pragma implementation_key(187)
  1239. inline HRESULT _Parameter::AppendChunk ( const _variant_t & Val ) {
  1240. HRESULT _hr = raw_AppendChunk(Val);
  1241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1242. return _hr;
  1243. }
  1244. #pragma implementation_key(188)
  1245. inline long _Parameter::GetAttributes ( ) {
  1246. long _result;
  1247. HRESULT _hr = get_Attributes(&_result);
  1248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1249. return _result;
  1250. }
  1251. #pragma implementation_key(189)
  1252. inline void _Parameter::PutAttributes ( long plParmAttribs ) {
  1253. HRESULT _hr = put_Attributes(plParmAttribs);
  1254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1255. }
  1256. //
  1257. // interface Parameters wrapper method implementations
  1258. //
  1259. #pragma implementation_key(190)
  1260. inline _ParameterPtr Parameters::GetItem ( const _variant_t & Index ) {
  1261. struct _Parameter * _result;
  1262. HRESULT _hr = get_Item(Index, &_result);
  1263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1264. return _ParameterPtr(_result, false);
  1265. }
  1266. //
  1267. // interface Command25 wrapper method implementations
  1268. //
  1269. #pragma implementation_key(191)
  1270. inline long Command25::GetState ( ) {
  1271. long _result;
  1272. HRESULT _hr = get_State(&_result);
  1273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1274. return _result;
  1275. }
  1276. #pragma implementation_key(192)
  1277. inline HRESULT Command25::Cancel ( ) {
  1278. HRESULT _hr = raw_Cancel();
  1279. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1280. return _hr;
  1281. }
  1282. //
  1283. // interface _Command wrapper method implementations
  1284. //
  1285. #pragma implementation_key(193)
  1286. inline void _Command::PutRefCommandStream ( IUnknown * pvStream ) {
  1287. HRESULT _hr = putref_CommandStream(pvStream);
  1288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1289. }
  1290. #pragma implementation_key(194)
  1291. inline _variant_t _Command::GetCommandStream ( ) {
  1292. VARIANT _result;
  1293. VariantInit(&_result);
  1294. HRESULT _hr = get_CommandStream(&_result);
  1295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1296. return _variant_t(_result, false);
  1297. }
  1298. #pragma implementation_key(195)
  1299. inline void _Command::PutDialect ( _bstr_t pbstrDialect ) {
  1300. HRESULT _hr = put_Dialect(pbstrDialect);
  1301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1302. }
  1303. #pragma implementation_key(196)
  1304. inline _bstr_t _Command::GetDialect ( ) {
  1305. BSTR _result;
  1306. HRESULT _hr = get_Dialect(&_result);
  1307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1308. return _bstr_t(_result, false);
  1309. }
  1310. #pragma implementation_key(197)
  1311. inline void _Command::PutNamedParameters ( VARIANT_BOOL pfNamedParameters ) {
  1312. HRESULT _hr = put_NamedParameters(pfNamedParameters);
  1313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1314. }
  1315. #pragma implementation_key(198)
  1316. inline VARIANT_BOOL _Command::GetNamedParameters ( ) {
  1317. VARIANT_BOOL _result;
  1318. HRESULT _hr = get_NamedParameters(&_result);
  1319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1320. return _result;
  1321. }
  1322. //
  1323. // interface ConnectionEventsVt wrapper method implementations
  1324. //
  1325. #pragma implementation_key(199)
  1326. inline HRESULT ConnectionEventsVt::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1327. HRESULT _hr = raw_InfoMessage(pError, adStatus, pConnection);
  1328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1329. return _hr;
  1330. }
  1331. #pragma implementation_key(200)
  1332. inline HRESULT ConnectionEventsVt::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1333. HRESULT _hr = raw_BeginTransComplete(TransactionLevel, pError, adStatus, pConnection);
  1334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1335. return _hr;
  1336. }
  1337. #pragma implementation_key(201)
  1338. inline HRESULT ConnectionEventsVt::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1339. HRESULT _hr = raw_CommitTransComplete(pError, adStatus, pConnection);
  1340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1341. return _hr;
  1342. }
  1343. #pragma implementation_key(202)
  1344. inline HRESULT ConnectionEventsVt::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1345. HRESULT _hr = raw_RollbackTransComplete(pError, adStatus, pConnection);
  1346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1347. return _hr;
  1348. }
  1349. #pragma implementation_key(203)
  1350. inline HRESULT ConnectionEventsVt::WillExecute ( BSTR * Source, enum CursorTypeEnum * CursorType, enum LockTypeEnum * LockType, long * Options, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
  1351. HRESULT _hr = raw_WillExecute(Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
  1352. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1353. return _hr;
  1354. }
  1355. #pragma implementation_key(204)
  1356. inline HRESULT ConnectionEventsVt::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
  1357. HRESULT _hr = raw_ExecuteComplete(RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
  1358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1359. return _hr;
  1360. }
  1361. #pragma implementation_key(205)
  1362. inline HRESULT ConnectionEventsVt::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1363. HRESULT _hr = raw_WillConnect(ConnectionString, UserID, Password, Options, adStatus, pConnection);
  1364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1365. return _hr;
  1366. }
  1367. #pragma implementation_key(206)
  1368. inline HRESULT ConnectionEventsVt::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1369. HRESULT _hr = raw_ConnectComplete(pError, adStatus, pConnection);
  1370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1371. return _hr;
  1372. }
  1373. #pragma implementation_key(207)
  1374. inline HRESULT ConnectionEventsVt::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1375. HRESULT _hr = raw_Disconnect(adStatus, pConnection);
  1376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1377. return _hr;
  1378. }
  1379. //
  1380. // interface RecordsetEventsVt wrapper method implementations
  1381. //
  1382. #pragma implementation_key(208)
  1383. inline HRESULT RecordsetEventsVt::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1384. HRESULT _hr = raw_WillChangeField(cFields, Fields, adStatus, pRecordset);
  1385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1386. return _hr;
  1387. }
  1388. #pragma implementation_key(209)
  1389. inline HRESULT RecordsetEventsVt::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1390. HRESULT _hr = raw_FieldChangeComplete(cFields, Fields, pError, adStatus, pRecordset);
  1391. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1392. return _hr;
  1393. }
  1394. #pragma implementation_key(210)
  1395. inline HRESULT RecordsetEventsVt::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1396. HRESULT _hr = raw_WillChangeRecord(adReason, cRecords, adStatus, pRecordset);
  1397. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1398. return _hr;
  1399. }
  1400. #pragma implementation_key(211)
  1401. inline HRESULT RecordsetEventsVt::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1402. HRESULT _hr = raw_RecordChangeComplete(adReason, cRecords, pError, adStatus, pRecordset);
  1403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1404. return _hr;
  1405. }
  1406. #pragma implementation_key(212)
  1407. inline HRESULT RecordsetEventsVt::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1408. HRESULT _hr = raw_WillChangeRecordset(adReason, adStatus, pRecordset);
  1409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1410. return _hr;
  1411. }
  1412. #pragma implementation_key(213)
  1413. inline HRESULT RecordsetEventsVt::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1414. HRESULT _hr = raw_RecordsetChangeComplete(adReason, pError, adStatus, pRecordset);
  1415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1416. return _hr;
  1417. }
  1418. #pragma implementation_key(214)
  1419. inline HRESULT RecordsetEventsVt::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1420. HRESULT _hr = raw_WillMove(adReason, adStatus, pRecordset);
  1421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1422. return _hr;
  1423. }
  1424. #pragma implementation_key(215)
  1425. inline HRESULT RecordsetEventsVt::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1426. HRESULT _hr = raw_MoveComplete(adReason, pError, adStatus, pRecordset);
  1427. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1428. return _hr;
  1429. }
  1430. #pragma implementation_key(216)
  1431. inline HRESULT RecordsetEventsVt::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1432. HRESULT _hr = raw_EndOfRecordset(fMoreData, adStatus, pRecordset);
  1433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1434. return _hr;
  1435. }
  1436. #pragma implementation_key(217)
  1437. inline HRESULT RecordsetEventsVt::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1438. HRESULT _hr = raw_FetchProgress(Progress, MaxProgress, adStatus, pRecordset);
  1439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1440. return _hr;
  1441. }
  1442. #pragma implementation_key(218)
  1443. inline HRESULT RecordsetEventsVt::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1444. HRESULT _hr = raw_FetchComplete(pError, adStatus, pRecordset);
  1445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1446. return _hr;
  1447. }
  1448. //
  1449. // dispinterface ConnectionEvents wrapper method implementations
  1450. //
  1451. #pragma implementation_key(219)
  1452. inline HRESULT ConnectionEvents::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1453. HRESULT _result;
  1454. _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1455. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  1456. return _result;
  1457. }
  1458. #pragma implementation_key(220)
  1459. inline HRESULT ConnectionEvents::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1460. HRESULT _result;
  1461. _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1462. L"\x0003\x0009\x4003\x0009", TransactionLevel, pError, adStatus, pConnection);
  1463. return _result;
  1464. }
  1465. #pragma implementation_key(221)
  1466. inline HRESULT ConnectionEvents::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1467. HRESULT _result;
  1468. _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1469. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  1470. return _result;
  1471. }
  1472. #pragma implementation_key(222)
  1473. inline HRESULT ConnectionEvents::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1474. HRESULT _result;
  1475. _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1476. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  1477. return _result;
  1478. }
  1479. #pragma implementation_key(223)
  1480. inline HRESULT ConnectionEvents::WillExecute ( BSTR * Source, enum CursorTypeEnum * CursorType, enum LockTypeEnum * LockType, long * Options, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
  1481. HRESULT _result;
  1482. _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1483. L"\x4008\x4003\x4003\x4003\x4003\x0009\x0009\x0009", Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
  1484. return _result;
  1485. }
  1486. #pragma implementation_key(224)
  1487. inline HRESULT ConnectionEvents::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
  1488. HRESULT _result;
  1489. _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1490. L"\x0003\x0009\x4003\x0009\x0009\x0009", RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
  1491. return _result;
  1492. }
  1493. #pragma implementation_key(225)
  1494. inline HRESULT ConnectionEvents::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1495. HRESULT _result;
  1496. _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1497. L"\x4008\x4008\x4008\x4003\x4003\x0009", ConnectionString, UserID, Password, Options, adStatus, pConnection);
  1498. return _result;
  1499. }
  1500. #pragma implementation_key(226)
  1501. inline HRESULT ConnectionEvents::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1502. HRESULT _result;
  1503. _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1504. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  1505. return _result;
  1506. }
  1507. #pragma implementation_key(227)
  1508. inline HRESULT ConnectionEvents::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
  1509. HRESULT _result;
  1510. _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1511. L"\x4003\x0009", adStatus, pConnection);
  1512. return _result;
  1513. }
  1514. //
  1515. // dispinterface RecordsetEvents wrapper method implementations
  1516. //
  1517. #pragma implementation_key(228)
  1518. inline HRESULT RecordsetEvents::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1519. HRESULT _result;
  1520. _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1521. L"\x0003\x000c\x4003\x0009", cFields, &Fields, adStatus, pRecordset);
  1522. return _result;
  1523. }
  1524. #pragma implementation_key(229)
  1525. inline HRESULT RecordsetEvents::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1526. HRESULT _result;
  1527. _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1528. L"\x0003\x000c\x0009\x4003\x0009", cFields, &Fields, pError, adStatus, pRecordset);
  1529. return _result;
  1530. }
  1531. #pragma implementation_key(230)
  1532. inline HRESULT RecordsetEvents::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1533. HRESULT _result;
  1534. _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1535. L"\x0003\x0003\x4003\x0009", adReason, cRecords, adStatus, pRecordset);
  1536. return _result;
  1537. }
  1538. #pragma implementation_key(231)
  1539. inline HRESULT RecordsetEvents::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1540. HRESULT _result;
  1541. _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1542. L"\x0003\x0003\x0009\x4003\x0009", adReason, cRecords, pError, adStatus, pRecordset);
  1543. return _result;
  1544. }
  1545. #pragma implementation_key(232)
  1546. inline HRESULT RecordsetEvents::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1547. HRESULT _result;
  1548. _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1549. L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
  1550. return _result;
  1551. }
  1552. #pragma implementation_key(233)
  1553. inline HRESULT RecordsetEvents::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1554. HRESULT _result;
  1555. _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1556. L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
  1557. return _result;
  1558. }
  1559. #pragma implementation_key(234)
  1560. inline HRESULT RecordsetEvents::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1561. HRESULT _result;
  1562. _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1563. L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
  1564. return _result;
  1565. }
  1566. #pragma implementation_key(235)
  1567. inline HRESULT RecordsetEvents::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1568. HRESULT _result;
  1569. _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1570. L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
  1571. return _result;
  1572. }
  1573. #pragma implementation_key(236)
  1574. inline HRESULT RecordsetEvents::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1575. HRESULT _result;
  1576. _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1577. L"\x400b\x4003\x0009", fMoreData, adStatus, pRecordset);
  1578. return _result;
  1579. }
  1580. #pragma implementation_key(237)
  1581. inline HRESULT RecordsetEvents::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1582. HRESULT _result;
  1583. _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1584. L"\x0003\x0003\x4003\x0009", Progress, MaxProgress, adStatus, pRecordset);
  1585. return _result;
  1586. }
  1587. #pragma implementation_key(238)
  1588. inline HRESULT RecordsetEvents::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
  1589. HRESULT _result;
  1590. _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  1591. L"\x0009\x4003\x0009", pError, adStatus, pRecordset);
  1592. return _result;
  1593. }
  1594. //
  1595. // interface ADOConnectionConstruction15 wrapper method implementations
  1596. //
  1597. #pragma implementation_key(239)
  1598. inline IUnknownPtr ADOConnectionConstruction15::GetDSO ( ) {
  1599. IUnknown * _result;
  1600. HRESULT _hr = get_DSO(&_result);
  1601. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1602. return IUnknownPtr(_result, false);
  1603. }
  1604. #pragma implementation_key(240)
  1605. inline IUnknownPtr ADOConnectionConstruction15::GetSession ( ) {
  1606. IUnknown * _result;
  1607. HRESULT _hr = get_Session(&_result);
  1608. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1609. return IUnknownPtr(_result, false);
  1610. }
  1611. #pragma implementation_key(241)
  1612. inline HRESULT ADOConnectionConstruction15::WrapDSOandSession ( IUnknown * pDSO, IUnknown * pSession ) {
  1613. HRESULT _hr = raw_WrapDSOandSession(pDSO, pSession);
  1614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1615. return _hr;
  1616. }
  1617. //
  1618. // interface _Record wrapper method implementations
  1619. //
  1620. #pragma implementation_key(242)
  1621. inline _variant_t _Record::GetActiveConnection ( ) {
  1622. VARIANT _result;
  1623. VariantInit(&_result);
  1624. HRESULT _hr = get_ActiveConnection(&_result);
  1625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1626. return _variant_t(_result, false);
  1627. }
  1628. #pragma implementation_key(243)
  1629. inline void _Record::PutActiveConnection ( _bstr_t pvar ) {
  1630. HRESULT _hr = put_ActiveConnection(pvar);
  1631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1632. }
  1633. #pragma implementation_key(244)
  1634. inline void _Record::PutRefActiveConnection ( struct _Connection * pvar ) {
  1635. HRESULT _hr = putref_ActiveConnection(pvar);
  1636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1637. }
  1638. #pragma implementation_key(245)
  1639. inline enum ObjectStateEnum _Record::GetState ( ) {
  1640. enum ObjectStateEnum _result;
  1641. HRESULT _hr = get_State(&_result);
  1642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1643. return _result;
  1644. }
  1645. #pragma implementation_key(246)
  1646. inline _variant_t _Record::GetSource ( ) {
  1647. VARIANT _result;
  1648. VariantInit(&_result);
  1649. HRESULT _hr = get_Source(&_result);
  1650. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1651. return _variant_t(_result, false);
  1652. }
  1653. #pragma implementation_key(247)
  1654. inline void _Record::PutSource ( _bstr_t pvar ) {
  1655. HRESULT _hr = put_Source(pvar);
  1656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1657. }
  1658. #pragma implementation_key(248)
  1659. inline void _Record::PutRefSource ( IDispatch * pvar ) {
  1660. HRESULT _hr = putref_Source(pvar);
  1661. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1662. }
  1663. #pragma implementation_key(249)
  1664. inline enum ConnectModeEnum _Record::GetMode ( ) {
  1665. enum ConnectModeEnum _result;
  1666. HRESULT _hr = get_Mode(&_result);
  1667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1668. return _result;
  1669. }
  1670. #pragma implementation_key(250)
  1671. inline void _Record::PutMode ( enum ConnectModeEnum pMode ) {
  1672. HRESULT _hr = put_Mode(pMode);
  1673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1674. }
  1675. #pragma implementation_key(251)
  1676. inline _bstr_t _Record::GetParentURL ( ) {
  1677. BSTR _result;
  1678. HRESULT _hr = get_ParentURL(&_result);
  1679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1680. return _bstr_t(_result, false);
  1681. }
  1682. #pragma implementation_key(252)
  1683. inline _bstr_t _Record::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async ) {
  1684. BSTR _result;
  1685. HRESULT _hr = raw_MoveRecord(Source, Destination, UserName, Password, Options, Async, &_result);
  1686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1687. return _bstr_t(_result, false);
  1688. }
  1689. #pragma implementation_key(253)
  1690. inline _bstr_t _Record::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async ) {
  1691. BSTR _result;
  1692. HRESULT _hr = raw_CopyRecord(Source, Destination, UserName, Password, Options, Async, &_result);
  1693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1694. return _bstr_t(_result, false);
  1695. }
  1696. #pragma implementation_key(254)
  1697. inline HRESULT _Record::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async ) {
  1698. HRESULT _hr = raw_DeleteRecord(Source, Async);
  1699. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1700. return _hr;
  1701. }
  1702. #pragma implementation_key(255)
  1703. inline HRESULT _Record::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum ConnectModeEnum Mode, enum RecordCreateOptionsEnum CreateOptions, enum RecordOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
  1704. HRESULT _hr = raw_Open(Source, ActiveConnection, Mode, CreateOptions, Options, UserName, Password);
  1705. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1706. return _hr;
  1707. }
  1708. #pragma implementation_key(256)
  1709. inline HRESULT _Record::Close ( ) {
  1710. HRESULT _hr = raw_Close();
  1711. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1712. return _hr;
  1713. }
  1714. #pragma implementation_key(257)
  1715. inline FieldsPtr _Record::GetFields ( ) {
  1716. struct Fields * _result;
  1717. HRESULT _hr = get_Fields(&_result);
  1718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1719. return FieldsPtr(_result, false);
  1720. }
  1721. #pragma implementation_key(258)
  1722. inline enum RecordTypeEnum _Record::GetRecordType ( ) {
  1723. enum RecordTypeEnum _result;
  1724. HRESULT _hr = get_RecordType(&_result);
  1725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1726. return _result;
  1727. }
  1728. #pragma implementation_key(259)
  1729. inline _RecordsetPtr _Record::GetChildren ( ) {
  1730. struct _Recordset * _result;
  1731. HRESULT _hr = raw_GetChildren(&_result);
  1732. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1733. return _RecordsetPtr(_result, false);
  1734. }
  1735. #pragma implementation_key(260)
  1736. inline HRESULT _Record::Cancel ( ) {
  1737. HRESULT _hr = raw_Cancel();
  1738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1739. return _hr;
  1740. }
  1741. //
  1742. // interface _Stream wrapper method implementations
  1743. //
  1744. #pragma implementation_key(261)
  1745. inline long _Stream::GetSize ( ) {
  1746. long _result;
  1747. HRESULT _hr = get_Size(&_result);
  1748. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1749. return _result;
  1750. }
  1751. #pragma implementation_key(262)
  1752. inline VARIANT_BOOL _Stream::GetEOS ( ) {
  1753. VARIANT_BOOL _result;
  1754. HRESULT _hr = get_EOS(&_result);
  1755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1756. return _result;
  1757. }
  1758. #pragma implementation_key(263)
  1759. inline long _Stream::GetPosition ( ) {
  1760. long _result;
  1761. HRESULT _hr = get_Position(&_result);
  1762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1763. return _result;
  1764. }
  1765. #pragma implementation_key(264)
  1766. inline void _Stream::PutPosition ( long pPos ) {
  1767. HRESULT _hr = put_Position(pPos);
  1768. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1769. }
  1770. #pragma implementation_key(265)
  1771. inline enum StreamTypeEnum _Stream::GetType ( ) {
  1772. enum StreamTypeEnum _result;
  1773. HRESULT _hr = get_Type(&_result);
  1774. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1775. return _result;
  1776. }
  1777. #pragma implementation_key(266)
  1778. inline void _Stream::PutType ( enum StreamTypeEnum ptype ) {
  1779. HRESULT _hr = put_Type(ptype);
  1780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1781. }
  1782. #pragma implementation_key(267)
  1783. inline enum LineSeparatorEnum _Stream::GetLineSeparator ( ) {
  1784. enum LineSeparatorEnum _result;
  1785. HRESULT _hr = get_LineSeparator(&_result);
  1786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1787. return _result;
  1788. }
  1789. #pragma implementation_key(268)
  1790. inline void _Stream::PutLineSeparator ( enum LineSeparatorEnum pLS ) {
  1791. HRESULT _hr = put_LineSeparator(pLS);
  1792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1793. }
  1794. #pragma implementation_key(269)
  1795. inline enum ObjectStateEnum _Stream::GetState ( ) {
  1796. enum ObjectStateEnum _result;
  1797. HRESULT _hr = get_State(&_result);
  1798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1799. return _result;
  1800. }
  1801. #pragma implementation_key(270)
  1802. inline enum ConnectModeEnum _Stream::GetMode ( ) {
  1803. enum ConnectModeEnum _result;
  1804. HRESULT _hr = get_Mode(&_result);
  1805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1806. return _result;
  1807. }
  1808. #pragma implementation_key(271)
  1809. inline void _Stream::PutMode ( enum ConnectModeEnum pMode ) {
  1810. HRESULT _hr = put_Mode(pMode);
  1811. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1812. }
  1813. #pragma implementation_key(272)
  1814. inline _bstr_t _Stream::GetCharset ( ) {
  1815. BSTR _result;
  1816. HRESULT _hr = get_Charset(&_result);
  1817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1818. return _bstr_t(_result, false);
  1819. }
  1820. #pragma implementation_key(273)
  1821. inline void _Stream::PutCharset ( _bstr_t pbstrCharset ) {
  1822. HRESULT _hr = put_Charset(pbstrCharset);
  1823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1824. }
  1825. #pragma implementation_key(274)
  1826. inline _variant_t _Stream::Read ( long NumBytes ) {
  1827. VARIANT _result;
  1828. VariantInit(&_result);
  1829. HRESULT _hr = raw_Read(NumBytes, &_result);
  1830. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1831. return _variant_t(_result, false);
  1832. }
  1833. #pragma implementation_key(275)
  1834. inline HRESULT _Stream::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
  1835. HRESULT _hr = raw_Open(Source, Mode, Options, UserName, Password);
  1836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1837. return _hr;
  1838. }
  1839. #pragma implementation_key(276)
  1840. inline HRESULT _Stream::Close ( ) {
  1841. HRESULT _hr = raw_Close();
  1842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1843. return _hr;
  1844. }
  1845. #pragma implementation_key(277)
  1846. inline HRESULT _Stream::SkipLine ( ) {
  1847. HRESULT _hr = raw_SkipLine();
  1848. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1849. return _hr;
  1850. }
  1851. #pragma implementation_key(278)
  1852. inline HRESULT _Stream::Write ( const _variant_t & Buffer ) {
  1853. HRESULT _hr = raw_Write(Buffer);
  1854. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1855. return _hr;
  1856. }
  1857. #pragma implementation_key(279)
  1858. inline HRESULT _Stream::SetEOS ( ) {
  1859. HRESULT _hr = raw_SetEOS();
  1860. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1861. return _hr;
  1862. }
  1863. #pragma implementation_key(280)
  1864. inline HRESULT _Stream::CopyTo ( struct _Stream * DestStream, long CharNumber ) {
  1865. HRESULT _hr = raw_CopyTo(DestStream, CharNumber);
  1866. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1867. return _hr;
  1868. }
  1869. #pragma implementation_key(281)
  1870. inline HRESULT _Stream::Flush ( ) {
  1871. HRESULT _hr = raw_Flush();
  1872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1873. return _hr;
  1874. }
  1875. #pragma implementation_key(282)
  1876. inline HRESULT _Stream::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options ) {
  1877. HRESULT _hr = raw_SaveToFile(FileName, Options);
  1878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1879. return _hr;
  1880. }
  1881. #pragma implementation_key(283)
  1882. inline HRESULT _Stream::LoadFromFile ( _bstr_t FileName ) {
  1883. HRESULT _hr = raw_LoadFromFile(FileName);
  1884. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1885. return _hr;
  1886. }
  1887. #pragma implementation_key(284)
  1888. inline _bstr_t _Stream::ReadText ( long NumChars ) {
  1889. BSTR _result;
  1890. HRESULT _hr = raw_ReadText(NumChars, &_result);
  1891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1892. return _bstr_t(_result, false);
  1893. }
  1894. #pragma implementation_key(285)
  1895. inline HRESULT _Stream::WriteText ( _bstr_t Data, enum StreamWriteEnum Options ) {
  1896. HRESULT _hr = raw_WriteText(Data, Options);
  1897. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1898. return _hr;
  1899. }
  1900. #pragma implementation_key(286)
  1901. inline HRESULT _Stream::Cancel ( ) {
  1902. HRESULT _hr = raw_Cancel();
  1903. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1904. return _hr;
  1905. }
  1906. //
  1907. // interface ADORecordConstruction wrapper method implementations
  1908. //
  1909. #pragma implementation_key(287)
  1910. inline IUnknownPtr ADORecordConstruction::GetRow ( ) {
  1911. IUnknown * _result;
  1912. HRESULT _hr = get_Row(&_result);
  1913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1914. return IUnknownPtr(_result, false);
  1915. }
  1916. #pragma implementation_key(288)
  1917. inline void ADORecordConstruction::PutRow ( IUnknown * ppRow ) {
  1918. HRESULT _hr = put_Row(ppRow);
  1919. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1920. }
  1921. #pragma implementation_key(289)
  1922. inline void ADORecordConstruction::PutParentRow ( IUnknown * _arg1 ) {
  1923. HRESULT _hr = put_ParentRow(_arg1);
  1924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1925. }
  1926. //
  1927. // interface ADOStreamConstruction wrapper method implementations
  1928. //
  1929. #pragma implementation_key(290)
  1930. inline IUnknownPtr ADOStreamConstruction::GetStream ( ) {
  1931. IUnknown * _result;
  1932. HRESULT _hr = get_Stream(&_result);
  1933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1934. return IUnknownPtr(_result, false);
  1935. }
  1936. #pragma implementation_key(291)
  1937. inline void ADOStreamConstruction::PutStream ( IUnknown * ppStm ) {
  1938. HRESULT _hr = put_Stream(ppStm);
  1939. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1940. }
  1941. //
  1942. // interface ADOCommandConstruction wrapper method implementations
  1943. //
  1944. #pragma implementation_key(292)
  1945. inline IUnknownPtr ADOCommandConstruction::GetOLEDBCommand ( ) {
  1946. IUnknown * _result;
  1947. HRESULT _hr = get_OLEDBCommand(&_result);
  1948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1949. return IUnknownPtr(_result, false);
  1950. }
  1951. #pragma implementation_key(293)
  1952. inline void ADOCommandConstruction::PutOLEDBCommand ( IUnknown * ppOLEDBCommand ) {
  1953. HRESULT _hr = put_OLEDBCommand(ppOLEDBCommand);
  1954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1955. }
  1956. //
  1957. // interface ADORecordsetConstruction wrapper method implementations
  1958. //
  1959. #pragma implementation_key(294)
  1960. inline IUnknownPtr ADORecordsetConstruction::GetRowset ( ) {
  1961. IUnknown * _result;
  1962. HRESULT _hr = get_Rowset(&_result);
  1963. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1964. return IUnknownPtr(_result, false);
  1965. }
  1966. #pragma implementation_key(295)
  1967. inline void ADORecordsetConstruction::PutRowset ( IUnknown * ppRowset ) {
  1968. HRESULT _hr = put_Rowset(ppRowset);
  1969. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1970. }
  1971. #pragma implementation_key(296)
  1972. inline ADO_LONGPTR ADORecordsetConstruction::GetChapter ( ) {
  1973. ADO_LONGPTR _result;
  1974. HRESULT _hr = get_Chapter(&_result);
  1975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1976. return _result;
  1977. }
  1978. #pragma implementation_key(297)
  1979. inline void ADORecordsetConstruction::PutChapter ( ADO_LONGPTR plChapter ) {
  1980. HRESULT _hr = put_Chapter(plChapter);
  1981. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1982. }
  1983. #pragma implementation_key(298)
  1984. inline IUnknownPtr ADORecordsetConstruction::GetRowPosition ( ) {
  1985. IUnknown * _result;
  1986. HRESULT _hr = get_RowPosition(&_result);
  1987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1988. return IUnknownPtr(_result, false);
  1989. }
  1990. #pragma implementation_key(299)
  1991. inline void ADORecordsetConstruction::PutRowPosition ( IUnknown * ppRowPos ) {
  1992. HRESULT _hr = put_RowPosition(ppRowPos);
  1993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1994. }
  1995. //
  1996. // interface Field15 wrapper method implementations
  1997. //
  1998. #pragma implementation_key(300)
  1999. inline long Field15::GetActualSize ( ) {
  2000. long _result;
  2001. HRESULT _hr = get_ActualSize(&_result);
  2002. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2003. return _result;
  2004. }
  2005. #pragma implementation_key(301)
  2006. inline long Field15::GetAttributes ( ) {
  2007. long _result;
  2008. HRESULT _hr = get_Attributes(&_result);
  2009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2010. return _result;
  2011. }
  2012. #pragma implementation_key(302)
  2013. inline long Field15::GetDefinedSize ( ) {
  2014. long _result;
  2015. HRESULT _hr = get_DefinedSize(&_result);
  2016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2017. return _result;
  2018. }
  2019. #pragma implementation_key(303)
  2020. inline _bstr_t Field15::GetName ( ) {
  2021. BSTR _result;
  2022. HRESULT _hr = get_Name(&_result);
  2023. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2024. return _bstr_t(_result, false);
  2025. }
  2026. #pragma implementation_key(304)
  2027. inline enum DataTypeEnum Field15::GetType ( ) {
  2028. enum DataTypeEnum _result;
  2029. HRESULT _hr = get_Type(&_result);
  2030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2031. return _result;
  2032. }
  2033. #pragma implementation_key(305)
  2034. inline _variant_t Field15::GetValue ( ) {
  2035. VARIANT _result;
  2036. VariantInit(&_result);
  2037. HRESULT _hr = get_Value(&_result);
  2038. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2039. return _variant_t(_result, false);
  2040. }
  2041. #pragma implementation_key(306)
  2042. inline void Field15::PutValue ( const _variant_t & pvar ) {
  2043. HRESULT _hr = put_Value(pvar);
  2044. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2045. }
  2046. #pragma implementation_key(307)
  2047. inline unsigned char Field15::GetPrecision ( ) {
  2048. unsigned char _result;
  2049. HRESULT _hr = get_Precision(&_result);
  2050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2051. return _result;
  2052. }
  2053. #pragma implementation_key(308)
  2054. inline unsigned char Field15::GetNumericScale ( ) {
  2055. unsigned char _result;
  2056. HRESULT _hr = get_NumericScale(&_result);
  2057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2058. return _result;
  2059. }
  2060. #pragma implementation_key(309)
  2061. inline HRESULT Field15::AppendChunk ( const _variant_t & Data ) {
  2062. HRESULT _hr = raw_AppendChunk(Data);
  2063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2064. return _hr;
  2065. }
  2066. #pragma implementation_key(310)
  2067. inline _variant_t Field15::GetChunk ( long Length ) {
  2068. VARIANT _result;
  2069. VariantInit(&_result);
  2070. HRESULT _hr = raw_GetChunk(Length, &_result);
  2071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2072. return _variant_t(_result, false);
  2073. }
  2074. #pragma implementation_key(311)
  2075. inline _variant_t Field15::GetOriginalValue ( ) {
  2076. VARIANT _result;
  2077. VariantInit(&_result);
  2078. HRESULT _hr = get_OriginalValue(&_result);
  2079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2080. return _variant_t(_result, false);
  2081. }
  2082. #pragma implementation_key(312)
  2083. inline _variant_t Field15::GetUnderlyingValue ( ) {
  2084. VARIANT _result;
  2085. VariantInit(&_result);
  2086. HRESULT _hr = get_UnderlyingValue(&_result);
  2087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2088. return _variant_t(_result, false);
  2089. }
  2090. //
  2091. // interface ConnectionEventsVt_Deprecated wrapper method implementations
  2092. //
  2093. #pragma implementation_key(313)
  2094. inline HRESULT ConnectionEventsVt_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2095. HRESULT _hr = raw_InfoMessage(pError, adStatus, pConnection);
  2096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2097. return _hr;
  2098. }
  2099. #pragma implementation_key(314)
  2100. inline HRESULT ConnectionEventsVt_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2101. HRESULT _hr = raw_BeginTransComplete(TransactionLevel, pError, adStatus, pConnection);
  2102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2103. return _hr;
  2104. }
  2105. #pragma implementation_key(315)
  2106. inline HRESULT ConnectionEventsVt_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2107. HRESULT _hr = raw_CommitTransComplete(pError, adStatus, pConnection);
  2108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2109. return _hr;
  2110. }
  2111. #pragma implementation_key(316)
  2112. inline HRESULT ConnectionEventsVt_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2113. HRESULT _hr = raw_RollbackTransComplete(pError, adStatus, pConnection);
  2114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2115. return _hr;
  2116. }
  2117. #pragma implementation_key(317)
  2118. inline HRESULT ConnectionEventsVt_Deprecated::WillExecute ( BSTR * Source, enum CursorTypeEnum * CursorType, enum LockTypeEnum * LockType, long * Options, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection ) {
  2119. HRESULT _hr = raw_WillExecute(Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
  2120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2121. return _hr;
  2122. }
  2123. #pragma implementation_key(318)
  2124. inline HRESULT ConnectionEventsVt_Deprecated::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection ) {
  2125. HRESULT _hr = raw_ExecuteComplete(RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
  2126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2127. return _hr;
  2128. }
  2129. #pragma implementation_key(319)
  2130. inline HRESULT ConnectionEventsVt_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2131. HRESULT _hr = raw_WillConnect(ConnectionString, UserID, Password, Options, adStatus, pConnection);
  2132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2133. return _hr;
  2134. }
  2135. #pragma implementation_key(320)
  2136. inline HRESULT ConnectionEventsVt_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2137. HRESULT _hr = raw_ConnectComplete(pError, adStatus, pConnection);
  2138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2139. return _hr;
  2140. }
  2141. #pragma implementation_key(321)
  2142. inline HRESULT ConnectionEventsVt_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  2143. HRESULT _hr = raw_Disconnect(adStatus, pConnection);
  2144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2145. return _hr;
  2146. }
  2147. //
  2148. // interface Connection15_Deprecated wrapper method implementations
  2149. //
  2150. #pragma implementation_key(322)
  2151. inline _bstr_t Connection15_Deprecated::GetConnectionString ( ) {
  2152. BSTR _result;
  2153. HRESULT _hr = get_ConnectionString(&_result);
  2154. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2155. return _bstr_t(_result, false);
  2156. }
  2157. #pragma implementation_key(323)
  2158. inline void Connection15_Deprecated::PutConnectionString ( _bstr_t pbstr ) {
  2159. HRESULT _hr = put_ConnectionString(pbstr);
  2160. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2161. }
  2162. #pragma implementation_key(324)
  2163. inline long Connection15_Deprecated::GetCommandTimeout ( ) {
  2164. long _result;
  2165. HRESULT _hr = get_CommandTimeout(&_result);
  2166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2167. return _result;
  2168. }
  2169. #pragma implementation_key(325)
  2170. inline void Connection15_Deprecated::PutCommandTimeout ( long plTimeout ) {
  2171. HRESULT _hr = put_CommandTimeout(plTimeout);
  2172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2173. }
  2174. #pragma implementation_key(326)
  2175. inline long Connection15_Deprecated::GetConnectionTimeout ( ) {
  2176. long _result;
  2177. HRESULT _hr = get_ConnectionTimeout(&_result);
  2178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2179. return _result;
  2180. }
  2181. #pragma implementation_key(327)
  2182. inline void Connection15_Deprecated::PutConnectionTimeout ( long plTimeout ) {
  2183. HRESULT _hr = put_ConnectionTimeout(plTimeout);
  2184. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2185. }
  2186. #pragma implementation_key(328)
  2187. inline _bstr_t Connection15_Deprecated::GetVersion ( ) {
  2188. BSTR _result;
  2189. HRESULT _hr = get_Version(&_result);
  2190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2191. return _bstr_t(_result, false);
  2192. }
  2193. #pragma implementation_key(329)
  2194. inline HRESULT Connection15_Deprecated::Close ( ) {
  2195. HRESULT _hr = raw_Close();
  2196. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2197. return _hr;
  2198. }
  2199. #pragma implementation_key(330)
  2200. inline _Recordset_DeprecatedPtr Connection15_Deprecated::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options ) {
  2201. struct _Recordset_Deprecated * _result;
  2202. HRESULT _hr = raw_Execute(CommandText, RecordsAffected, Options, &_result);
  2203. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2204. return _Recordset_DeprecatedPtr(_result, false);
  2205. }
  2206. #pragma implementation_key(331)
  2207. inline long Connection15_Deprecated::BeginTrans ( ) {
  2208. long _result;
  2209. HRESULT _hr = raw_BeginTrans(&_result);
  2210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2211. return _result;
  2212. }
  2213. #pragma implementation_key(332)
  2214. inline HRESULT Connection15_Deprecated::CommitTrans ( ) {
  2215. HRESULT _hr = raw_CommitTrans();
  2216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2217. return _hr;
  2218. }
  2219. #pragma implementation_key(333)
  2220. inline HRESULT Connection15_Deprecated::RollbackTrans ( ) {
  2221. HRESULT _hr = raw_RollbackTrans();
  2222. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2223. return _hr;
  2224. }
  2225. #pragma implementation_key(334)
  2226. inline HRESULT Connection15_Deprecated::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options ) {
  2227. HRESULT _hr = raw_Open(ConnectionString, UserID, Password, Options);
  2228. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2229. return _hr;
  2230. }
  2231. #pragma implementation_key(335)
  2232. inline ErrorsPtr Connection15_Deprecated::GetErrors ( ) {
  2233. struct Errors * _result;
  2234. HRESULT _hr = get_Errors(&_result);
  2235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2236. return ErrorsPtr(_result, false);
  2237. }
  2238. #pragma implementation_key(336)
  2239. inline _bstr_t Connection15_Deprecated::GetDefaultDatabase ( ) {
  2240. BSTR _result;
  2241. HRESULT _hr = get_DefaultDatabase(&_result);
  2242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2243. return _bstr_t(_result, false);
  2244. }
  2245. #pragma implementation_key(337)
  2246. inline void Connection15_Deprecated::PutDefaultDatabase ( _bstr_t pbstr ) {
  2247. HRESULT _hr = put_DefaultDatabase(pbstr);
  2248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2249. }
  2250. #pragma implementation_key(338)
  2251. inline enum IsolationLevelEnum Connection15_Deprecated::GetIsolationLevel ( ) {
  2252. enum IsolationLevelEnum _result;
  2253. HRESULT _hr = get_IsolationLevel(&_result);
  2254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2255. return _result;
  2256. }
  2257. #pragma implementation_key(339)
  2258. inline void Connection15_Deprecated::PutIsolationLevel ( enum IsolationLevelEnum Level ) {
  2259. HRESULT _hr = put_IsolationLevel(Level);
  2260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2261. }
  2262. #pragma implementation_key(340)
  2263. inline long Connection15_Deprecated::GetAttributes ( ) {
  2264. long _result;
  2265. HRESULT _hr = get_Attributes(&_result);
  2266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2267. return _result;
  2268. }
  2269. #pragma implementation_key(341)
  2270. inline void Connection15_Deprecated::PutAttributes ( long plAttr ) {
  2271. HRESULT _hr = put_Attributes(plAttr);
  2272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2273. }
  2274. #pragma implementation_key(342)
  2275. inline enum CursorLocationEnum Connection15_Deprecated::GetCursorLocation ( ) {
  2276. enum CursorLocationEnum _result;
  2277. HRESULT _hr = get_CursorLocation(&_result);
  2278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2279. return _result;
  2280. }
  2281. #pragma implementation_key(343)
  2282. inline void Connection15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
  2283. HRESULT _hr = put_CursorLocation(plCursorLoc);
  2284. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2285. }
  2286. #pragma implementation_key(344)
  2287. inline enum ConnectModeEnum Connection15_Deprecated::GetMode ( ) {
  2288. enum ConnectModeEnum _result;
  2289. HRESULT _hr = get_Mode(&_result);
  2290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2291. return _result;
  2292. }
  2293. #pragma implementation_key(345)
  2294. inline void Connection15_Deprecated::PutMode ( enum ConnectModeEnum plMode ) {
  2295. HRESULT _hr = put_Mode(plMode);
  2296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2297. }
  2298. #pragma implementation_key(346)
  2299. inline _bstr_t Connection15_Deprecated::GetProvider ( ) {
  2300. BSTR _result;
  2301. HRESULT _hr = get_Provider(&_result);
  2302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2303. return _bstr_t(_result, false);
  2304. }
  2305. #pragma implementation_key(347)
  2306. inline void Connection15_Deprecated::PutProvider ( _bstr_t pbstr ) {
  2307. HRESULT _hr = put_Provider(pbstr);
  2308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2309. }
  2310. #pragma implementation_key(348)
  2311. inline long Connection15_Deprecated::GetState ( ) {
  2312. long _result;
  2313. HRESULT _hr = get_State(&_result);
  2314. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2315. return _result;
  2316. }
  2317. #pragma implementation_key(349)
  2318. inline _Recordset_DeprecatedPtr Connection15_Deprecated::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID ) {
  2319. struct _Recordset_Deprecated * _result;
  2320. HRESULT _hr = raw_OpenSchema(Schema, Restrictions, SchemaID, &_result);
  2321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2322. return _Recordset_DeprecatedPtr(_result, false);
  2323. }
  2324. //
  2325. // interface _Connection_Deprecated wrapper method implementations
  2326. //
  2327. #pragma implementation_key(350)
  2328. inline HRESULT _Connection_Deprecated::Cancel ( ) {
  2329. HRESULT _hr = raw_Cancel();
  2330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2331. return _hr;
  2332. }
  2333. //
  2334. // interface Recordset15_Deprecated wrapper method implementations
  2335. //
  2336. #pragma implementation_key(351)
  2337. inline PositionEnum_Param Recordset15_Deprecated::GetAbsolutePosition ( ) {
  2338. PositionEnum_Param _result;
  2339. HRESULT _hr = get_AbsolutePosition(&_result);
  2340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2341. return _result;
  2342. }
  2343. #pragma implementation_key(352)
  2344. inline void Recordset15_Deprecated::PutAbsolutePosition ( PositionEnum_Param pl ) {
  2345. HRESULT _hr = put_AbsolutePosition(pl);
  2346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2347. }
  2348. #pragma implementation_key(353)
  2349. inline void Recordset15_Deprecated::PutRefActiveConnection ( IDispatch * pvar ) {
  2350. HRESULT _hr = putref_ActiveConnection(pvar);
  2351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2352. }
  2353. #pragma implementation_key(354)
  2354. inline void Recordset15_Deprecated::PutActiveConnection ( const _variant_t & pvar ) {
  2355. HRESULT _hr = put_ActiveConnection(pvar);
  2356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2357. }
  2358. #pragma implementation_key(355)
  2359. inline _variant_t Recordset15_Deprecated::GetActiveConnection ( ) {
  2360. VARIANT _result;
  2361. VariantInit(&_result);
  2362. HRESULT _hr = get_ActiveConnection(&_result);
  2363. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2364. return _variant_t(_result, false);
  2365. }
  2366. #pragma implementation_key(356)
  2367. inline VARIANT_BOOL Recordset15_Deprecated::GetBOF ( ) {
  2368. VARIANT_BOOL _result;
  2369. HRESULT _hr = get_BOF(&_result);
  2370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2371. return _result;
  2372. }
  2373. #pragma implementation_key(357)
  2374. inline _variant_t Recordset15_Deprecated::GetBookmark ( ) {
  2375. VARIANT _result;
  2376. VariantInit(&_result);
  2377. HRESULT _hr = get_Bookmark(&_result);
  2378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2379. return _variant_t(_result, false);
  2380. }
  2381. #pragma implementation_key(358)
  2382. inline void Recordset15_Deprecated::PutBookmark ( const _variant_t & pvBookmark ) {
  2383. HRESULT _hr = put_Bookmark(pvBookmark);
  2384. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2385. }
  2386. #pragma implementation_key(359)
  2387. inline long Recordset15_Deprecated::GetCacheSize ( ) {
  2388. long _result;
  2389. HRESULT _hr = get_CacheSize(&_result);
  2390. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2391. return _result;
  2392. }
  2393. #pragma implementation_key(360)
  2394. inline void Recordset15_Deprecated::PutCacheSize ( long pl ) {
  2395. HRESULT _hr = put_CacheSize(pl);
  2396. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2397. }
  2398. #pragma implementation_key(361)
  2399. inline enum CursorTypeEnum Recordset15_Deprecated::GetCursorType ( ) {
  2400. enum CursorTypeEnum _result;
  2401. HRESULT _hr = get_CursorType(&_result);
  2402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2403. return _result;
  2404. }
  2405. #pragma implementation_key(362)
  2406. inline void Recordset15_Deprecated::PutCursorType ( enum CursorTypeEnum plCursorType ) {
  2407. HRESULT _hr = put_CursorType(plCursorType);
  2408. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2409. }
  2410. #pragma implementation_key(363)
  2411. inline VARIANT_BOOL Recordset15_Deprecated::GetadoEOF ( ) {
  2412. VARIANT_BOOL _result;
  2413. HRESULT _hr = get_adoEOF(&_result);
  2414. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2415. return _result;
  2416. }
  2417. #pragma implementation_key(364)
  2418. inline Fields_DeprecatedPtr Recordset15_Deprecated::GetFields ( ) {
  2419. struct Fields_Deprecated * _result;
  2420. HRESULT _hr = get_Fields(&_result);
  2421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2422. return Fields_DeprecatedPtr(_result, false);
  2423. }
  2424. #pragma implementation_key(365)
  2425. inline enum LockTypeEnum Recordset15_Deprecated::GetLockType ( ) {
  2426. enum LockTypeEnum _result;
  2427. HRESULT _hr = get_LockType(&_result);
  2428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2429. return _result;
  2430. }
  2431. #pragma implementation_key(366)
  2432. inline void Recordset15_Deprecated::PutLockType ( enum LockTypeEnum plLockType ) {
  2433. HRESULT _hr = put_LockType(plLockType);
  2434. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2435. }
  2436. #pragma implementation_key(367)
  2437. inline ADO_LONGPTR Recordset15_Deprecated::GetMaxRecords ( ) {
  2438. ADO_LONGPTR _result;
  2439. HRESULT _hr = get_MaxRecords(&_result);
  2440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2441. return _result;
  2442. }
  2443. #pragma implementation_key(368)
  2444. inline void Recordset15_Deprecated::PutMaxRecords ( ADO_LONGPTR plMaxRecords ) {
  2445. HRESULT _hr = put_MaxRecords(plMaxRecords);
  2446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2447. }
  2448. #pragma implementation_key(369)
  2449. inline ADO_LONGPTR Recordset15_Deprecated::GetRecordCount ( ) {
  2450. ADO_LONGPTR _result;
  2451. HRESULT _hr = get_RecordCount(&_result);
  2452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2453. return _result;
  2454. }
  2455. #pragma implementation_key(370)
  2456. inline void Recordset15_Deprecated::PutRefSource ( IDispatch * pvSource ) {
  2457. HRESULT _hr = putref_Source(pvSource);
  2458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2459. }
  2460. #pragma implementation_key(371)
  2461. inline void Recordset15_Deprecated::PutSource ( _bstr_t pvSource ) {
  2462. HRESULT _hr = put_Source(pvSource);
  2463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2464. }
  2465. #pragma implementation_key(372)
  2466. inline _variant_t Recordset15_Deprecated::GetSource ( ) {
  2467. VARIANT _result;
  2468. VariantInit(&_result);
  2469. HRESULT _hr = get_Source(&_result);
  2470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2471. return _variant_t(_result, false);
  2472. }
  2473. #pragma implementation_key(373)
  2474. inline HRESULT Recordset15_Deprecated::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
  2475. HRESULT _hr = raw_AddNew(FieldList, Values);
  2476. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2477. return _hr;
  2478. }
  2479. #pragma implementation_key(374)
  2480. inline HRESULT Recordset15_Deprecated::CancelUpdate ( ) {
  2481. HRESULT _hr = raw_CancelUpdate();
  2482. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2483. return _hr;
  2484. }
  2485. #pragma implementation_key(375)
  2486. inline HRESULT Recordset15_Deprecated::Close ( ) {
  2487. HRESULT _hr = raw_Close();
  2488. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2489. return _hr;
  2490. }
  2491. #pragma implementation_key(376)
  2492. inline HRESULT Recordset15_Deprecated::Delete ( enum AffectEnum AffectRecords ) {
  2493. HRESULT _hr = raw_Delete(AffectRecords);
  2494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2495. return _hr;
  2496. }
  2497. #pragma implementation_key(377)
  2498. inline _variant_t Recordset15_Deprecated::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
  2499. VARIANT _result;
  2500. VariantInit(&_result);
  2501. HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
  2502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2503. return _variant_t(_result, false);
  2504. }
  2505. #pragma implementation_key(378)
  2506. inline HRESULT Recordset15_Deprecated::Move ( ADO_LONGPTR NumRecords, const _variant_t & Start ) {
  2507. HRESULT _hr = raw_Move(NumRecords, Start);
  2508. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2509. return _hr;
  2510. }
  2511. #pragma implementation_key(379)
  2512. inline HRESULT Recordset15_Deprecated::MoveNext ( ) {
  2513. HRESULT _hr = raw_MoveNext();
  2514. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2515. return _hr;
  2516. }
  2517. #pragma implementation_key(380)
  2518. inline HRESULT Recordset15_Deprecated::MovePrevious ( ) {
  2519. HRESULT _hr = raw_MovePrevious();
  2520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2521. return _hr;
  2522. }
  2523. #pragma implementation_key(381)
  2524. inline HRESULT Recordset15_Deprecated::MoveFirst ( ) {
  2525. HRESULT _hr = raw_MoveFirst();
  2526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2527. return _hr;
  2528. }
  2529. #pragma implementation_key(382)
  2530. inline HRESULT Recordset15_Deprecated::MoveLast ( ) {
  2531. HRESULT _hr = raw_MoveLast();
  2532. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2533. return _hr;
  2534. }
  2535. #pragma implementation_key(383)
  2536. inline HRESULT Recordset15_Deprecated::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
  2537. HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
  2538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2539. return _hr;
  2540. }
  2541. #pragma implementation_key(384)
  2542. inline HRESULT Recordset15_Deprecated::Requery ( long Options ) {
  2543. HRESULT _hr = raw_Requery(Options);
  2544. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2545. return _hr;
  2546. }
  2547. #pragma implementation_key(385)
  2548. inline HRESULT Recordset15_Deprecated::_xResync ( enum AffectEnum AffectRecords ) {
  2549. HRESULT _hr = raw__xResync(AffectRecords);
  2550. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2551. return _hr;
  2552. }
  2553. #pragma implementation_key(386)
  2554. inline HRESULT Recordset15_Deprecated::Update ( const _variant_t & Fields, const _variant_t & Values ) {
  2555. HRESULT _hr = raw_Update(Fields, Values);
  2556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2557. return _hr;
  2558. }
  2559. #pragma implementation_key(387)
  2560. inline PositionEnum_Param Recordset15_Deprecated::GetAbsolutePage ( ) {
  2561. PositionEnum_Param _result;
  2562. HRESULT _hr = get_AbsolutePage(&_result);
  2563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2564. return _result;
  2565. }
  2566. #pragma implementation_key(388)
  2567. inline void Recordset15_Deprecated::PutAbsolutePage ( PositionEnum_Param pl ) {
  2568. HRESULT _hr = put_AbsolutePage(pl);
  2569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2570. }
  2571. #pragma implementation_key(389)
  2572. inline enum EditModeEnum Recordset15_Deprecated::GetEditMode ( ) {
  2573. enum EditModeEnum _result;
  2574. HRESULT _hr = get_EditMode(&_result);
  2575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2576. return _result;
  2577. }
  2578. #pragma implementation_key(390)
  2579. inline _variant_t Recordset15_Deprecated::GetFilter ( ) {
  2580. VARIANT _result;
  2581. VariantInit(&_result);
  2582. HRESULT _hr = get_Filter(&_result);
  2583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2584. return _variant_t(_result, false);
  2585. }
  2586. #pragma implementation_key(391)
  2587. inline void Recordset15_Deprecated::PutFilter ( const _variant_t & Criteria ) {
  2588. HRESULT _hr = put_Filter(Criteria);
  2589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2590. }
  2591. #pragma implementation_key(392)
  2592. inline ADO_LONGPTR Recordset15_Deprecated::GetPageCount ( ) {
  2593. ADO_LONGPTR _result;
  2594. HRESULT _hr = get_PageCount(&_result);
  2595. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2596. return _result;
  2597. }
  2598. #pragma implementation_key(393)
  2599. inline long Recordset15_Deprecated::GetPageSize ( ) {
  2600. long _result;
  2601. HRESULT _hr = get_PageSize(&_result);
  2602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2603. return _result;
  2604. }
  2605. #pragma implementation_key(394)
  2606. inline void Recordset15_Deprecated::PutPageSize ( long pl ) {
  2607. HRESULT _hr = put_PageSize(pl);
  2608. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2609. }
  2610. #pragma implementation_key(395)
  2611. inline _bstr_t Recordset15_Deprecated::GetSort ( ) {
  2612. BSTR _result;
  2613. HRESULT _hr = get_Sort(&_result);
  2614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2615. return _bstr_t(_result, false);
  2616. }
  2617. #pragma implementation_key(396)
  2618. inline void Recordset15_Deprecated::PutSort ( _bstr_t Criteria ) {
  2619. HRESULT _hr = put_Sort(Criteria);
  2620. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2621. }
  2622. #pragma implementation_key(397)
  2623. inline long Recordset15_Deprecated::GetStatus ( ) {
  2624. long _result;
  2625. HRESULT _hr = get_Status(&_result);
  2626. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2627. return _result;
  2628. }
  2629. #pragma implementation_key(398)
  2630. inline long Recordset15_Deprecated::GetState ( ) {
  2631. long _result;
  2632. HRESULT _hr = get_State(&_result);
  2633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2634. return _result;
  2635. }
  2636. #pragma implementation_key(399)
  2637. inline _Recordset_DeprecatedPtr Recordset15_Deprecated::_xClone ( ) {
  2638. struct _Recordset_Deprecated * _result;
  2639. HRESULT _hr = raw__xClone(&_result);
  2640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2641. return _Recordset_DeprecatedPtr(_result, false);
  2642. }
  2643. #pragma implementation_key(400)
  2644. inline HRESULT Recordset15_Deprecated::UpdateBatch ( enum AffectEnum AffectRecords ) {
  2645. HRESULT _hr = raw_UpdateBatch(AffectRecords);
  2646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2647. return _hr;
  2648. }
  2649. #pragma implementation_key(401)
  2650. inline HRESULT Recordset15_Deprecated::CancelBatch ( enum AffectEnum AffectRecords ) {
  2651. HRESULT _hr = raw_CancelBatch(AffectRecords);
  2652. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2653. return _hr;
  2654. }
  2655. #pragma implementation_key(402)
  2656. inline enum CursorLocationEnum Recordset15_Deprecated::GetCursorLocation ( ) {
  2657. enum CursorLocationEnum _result;
  2658. HRESULT _hr = get_CursorLocation(&_result);
  2659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2660. return _result;
  2661. }
  2662. #pragma implementation_key(403)
  2663. inline void Recordset15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
  2664. HRESULT _hr = put_CursorLocation(plCursorLoc);
  2665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2666. }
  2667. #pragma implementation_key(404)
  2668. inline _Recordset_DeprecatedPtr Recordset15_Deprecated::NextRecordset ( VARIANT * RecordsAffected ) {
  2669. struct _Recordset_Deprecated * _result;
  2670. HRESULT _hr = raw_NextRecordset(RecordsAffected, &_result);
  2671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2672. return _Recordset_DeprecatedPtr(_result, false);
  2673. }
  2674. #pragma implementation_key(405)
  2675. inline VARIANT_BOOL Recordset15_Deprecated::Supports ( enum CursorOptionEnum CursorOptions ) {
  2676. VARIANT_BOOL _result;
  2677. HRESULT _hr = raw_Supports(CursorOptions, &_result);
  2678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2679. return _result;
  2680. }
  2681. #pragma implementation_key(406)
  2682. inline _variant_t Recordset15_Deprecated::GetCollect ( const _variant_t & Index ) {
  2683. VARIANT _result;
  2684. VariantInit(&_result);
  2685. HRESULT _hr = get_Collect(Index, &_result);
  2686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2687. return _variant_t(_result, false);
  2688. }
  2689. #pragma implementation_key(407)
  2690. inline void Recordset15_Deprecated::PutCollect ( const _variant_t & Index, const _variant_t & pvar ) {
  2691. HRESULT _hr = put_Collect(Index, pvar);
  2692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2693. }
  2694. #pragma implementation_key(408)
  2695. inline enum MarshalOptionsEnum Recordset15_Deprecated::GetMarshalOptions ( ) {
  2696. enum MarshalOptionsEnum _result;
  2697. HRESULT _hr = get_MarshalOptions(&_result);
  2698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2699. return _result;
  2700. }
  2701. #pragma implementation_key(409)
  2702. inline void Recordset15_Deprecated::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal ) {
  2703. HRESULT _hr = put_MarshalOptions(peMarshal);
  2704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2705. }
  2706. #pragma implementation_key(410)
  2707. inline HRESULT Recordset15_Deprecated::Find ( _bstr_t Criteria, ADO_LONGPTR SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start ) {
  2708. HRESULT _hr = raw_Find(Criteria, SkipRecords, SearchDirection, Start);
  2709. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2710. return _hr;
  2711. }
  2712. //
  2713. // interface Recordset20_Deprecated wrapper method implementations
  2714. //
  2715. #pragma implementation_key(411)
  2716. inline HRESULT Recordset20_Deprecated::Cancel ( ) {
  2717. HRESULT _hr = raw_Cancel();
  2718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2719. return _hr;
  2720. }
  2721. #pragma implementation_key(412)
  2722. inline IUnknownPtr Recordset20_Deprecated::GetDataSource ( ) {
  2723. IUnknown * _result;
  2724. HRESULT _hr = get_DataSource(&_result);
  2725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2726. return IUnknownPtr(_result, false);
  2727. }
  2728. #pragma implementation_key(413)
  2729. inline void Recordset20_Deprecated::PutRefDataSource ( IUnknown * ppunkDataSource ) {
  2730. HRESULT _hr = putref_DataSource(ppunkDataSource);
  2731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2732. }
  2733. #pragma implementation_key(414)
  2734. inline HRESULT Recordset20_Deprecated::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat ) {
  2735. HRESULT _hr = raw__xSave(FileName, PersistFormat);
  2736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2737. return _hr;
  2738. }
  2739. #pragma implementation_key(415)
  2740. inline IDispatchPtr Recordset20_Deprecated::GetActiveCommand ( ) {
  2741. IDispatch * _result;
  2742. HRESULT _hr = get_ActiveCommand(&_result);
  2743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2744. return IDispatchPtr(_result, false);
  2745. }
  2746. #pragma implementation_key(416)
  2747. inline void Recordset20_Deprecated::PutStayInSync ( VARIANT_BOOL pbStayInSync ) {
  2748. HRESULT _hr = put_StayInSync(pbStayInSync);
  2749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2750. }
  2751. #pragma implementation_key(417)
  2752. inline VARIANT_BOOL Recordset20_Deprecated::GetStayInSync ( ) {
  2753. VARIANT_BOOL _result;
  2754. HRESULT _hr = get_StayInSync(&_result);
  2755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2756. return _result;
  2757. }
  2758. #pragma implementation_key(418)
  2759. inline _bstr_t Recordset20_Deprecated::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr ) {
  2760. BSTR _result;
  2761. HRESULT _hr = raw_GetString(StringFormat, NumRows, ColumnDelimeter, RowDelimeter, NullExpr, &_result);
  2762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2763. return _bstr_t(_result, false);
  2764. }
  2765. #pragma implementation_key(419)
  2766. inline _bstr_t Recordset20_Deprecated::GetDataMember ( ) {
  2767. BSTR _result;
  2768. HRESULT _hr = get_DataMember(&_result);
  2769. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2770. return _bstr_t(_result, false);
  2771. }
  2772. #pragma implementation_key(420)
  2773. inline void Recordset20_Deprecated::PutDataMember ( _bstr_t pbstrDataMember ) {
  2774. HRESULT _hr = put_DataMember(pbstrDataMember);
  2775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2776. }
  2777. #pragma implementation_key(421)
  2778. inline enum CompareEnum Recordset20_Deprecated::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 ) {
  2779. enum CompareEnum _result;
  2780. HRESULT _hr = raw_CompareBookmarks(Bookmark1, Bookmark2, &_result);
  2781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2782. return _result;
  2783. }
  2784. #pragma implementation_key(422)
  2785. inline _Recordset_DeprecatedPtr Recordset20_Deprecated::Clone ( enum LockTypeEnum LockType ) {
  2786. struct _Recordset_Deprecated * _result;
  2787. HRESULT _hr = raw_Clone(LockType, &_result);
  2788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2789. return _Recordset_DeprecatedPtr(_result, false);
  2790. }
  2791. #pragma implementation_key(423)
  2792. inline HRESULT Recordset20_Deprecated::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues ) {
  2793. HRESULT _hr = raw_Resync(AffectRecords, ResyncValues);
  2794. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2795. return _hr;
  2796. }
  2797. //
  2798. // interface Recordset21_Deprecated wrapper method implementations
  2799. //
  2800. #pragma implementation_key(424)
  2801. inline HRESULT Recordset21_Deprecated::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption ) {
  2802. HRESULT _hr = raw_Seek(KeyValues, SeekOption);
  2803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2804. return _hr;
  2805. }
  2806. #pragma implementation_key(425)
  2807. inline void Recordset21_Deprecated::PutIndex ( _bstr_t pbstrIndex ) {
  2808. HRESULT _hr = put_Index(pbstrIndex);
  2809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2810. }
  2811. #pragma implementation_key(426)
  2812. inline _bstr_t Recordset21_Deprecated::GetIndex ( ) {
  2813. BSTR _result;
  2814. HRESULT _hr = get_Index(&_result);
  2815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2816. return _bstr_t(_result, false);
  2817. }
  2818. //
  2819. // interface _Recordset_Deprecated wrapper method implementations
  2820. //
  2821. #pragma implementation_key(427)
  2822. inline HRESULT _Recordset_Deprecated::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat ) {
  2823. HRESULT _hr = raw_Save(Destination, PersistFormat);
  2824. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2825. return _hr;
  2826. }
  2827. //
  2828. // interface Fields15_Deprecated wrapper method implementations
  2829. //
  2830. #pragma implementation_key(428)
  2831. inline Field_DeprecatedPtr Fields15_Deprecated::GetItem ( const _variant_t & Index ) {
  2832. struct Field_Deprecated * _result;
  2833. HRESULT _hr = get_Item(Index, &_result);
  2834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2835. return Field_DeprecatedPtr(_result, false);
  2836. }
  2837. //
  2838. // interface Fields20_Deprecated wrapper method implementations
  2839. //
  2840. #pragma implementation_key(429)
  2841. inline HRESULT Fields20_Deprecated::_Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib ) {
  2842. HRESULT _hr = raw__Append(Name, Type, DefinedSize, Attrib);
  2843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2844. return _hr;
  2845. }
  2846. #pragma implementation_key(430)
  2847. inline HRESULT Fields20_Deprecated::Delete ( const _variant_t & Index ) {
  2848. HRESULT _hr = raw_Delete(Index);
  2849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2850. return _hr;
  2851. }
  2852. //
  2853. // interface Fields_Deprecated wrapper method implementations
  2854. //
  2855. #pragma implementation_key(431)
  2856. inline HRESULT Fields_Deprecated::Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue ) {
  2857. HRESULT _hr = raw_Append(Name, Type, DefinedSize, Attrib, FieldValue);
  2858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2859. return _hr;
  2860. }
  2861. #pragma implementation_key(432)
  2862. inline HRESULT Fields_Deprecated::Update ( ) {
  2863. HRESULT _hr = raw_Update();
  2864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2865. return _hr;
  2866. }
  2867. #pragma implementation_key(433)
  2868. inline HRESULT Fields_Deprecated::Resync ( enum ResyncEnum ResyncValues ) {
  2869. HRESULT _hr = raw_Resync(ResyncValues);
  2870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2871. return _hr;
  2872. }
  2873. #pragma implementation_key(434)
  2874. inline HRESULT Fields_Deprecated::CancelUpdate ( ) {
  2875. HRESULT _hr = raw_CancelUpdate();
  2876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2877. return _hr;
  2878. }
  2879. //
  2880. // interface Field20_Deprecated wrapper method implementations
  2881. //
  2882. #pragma implementation_key(435)
  2883. inline ADO_LONGPTR Field20_Deprecated::GetActualSize ( ) {
  2884. ADO_LONGPTR _result;
  2885. HRESULT _hr = get_ActualSize(&_result);
  2886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2887. return _result;
  2888. }
  2889. #pragma implementation_key(436)
  2890. inline long Field20_Deprecated::GetAttributes ( ) {
  2891. long _result;
  2892. HRESULT _hr = get_Attributes(&_result);
  2893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2894. return _result;
  2895. }
  2896. #pragma implementation_key(437)
  2897. inline ADO_LONGPTR Field20_Deprecated::GetDefinedSize ( ) {
  2898. ADO_LONGPTR _result;
  2899. HRESULT _hr = get_DefinedSize(&_result);
  2900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2901. return _result;
  2902. }
  2903. #pragma implementation_key(438)
  2904. inline _bstr_t Field20_Deprecated::GetName ( ) {
  2905. BSTR _result;
  2906. HRESULT _hr = get_Name(&_result);
  2907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2908. return _bstr_t(_result, false);
  2909. }
  2910. #pragma implementation_key(439)
  2911. inline enum DataTypeEnum Field20_Deprecated::GetType ( ) {
  2912. enum DataTypeEnum _result;
  2913. HRESULT _hr = get_Type(&_result);
  2914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2915. return _result;
  2916. }
  2917. #pragma implementation_key(440)
  2918. inline _variant_t Field20_Deprecated::GetValue ( ) {
  2919. VARIANT _result;
  2920. VariantInit(&_result);
  2921. HRESULT _hr = get_Value(&_result);
  2922. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2923. return _variant_t(_result, false);
  2924. }
  2925. #pragma implementation_key(441)
  2926. inline void Field20_Deprecated::PutValue ( const _variant_t & pvar ) {
  2927. HRESULT _hr = put_Value(pvar);
  2928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2929. }
  2930. #pragma implementation_key(442)
  2931. inline unsigned char Field20_Deprecated::GetPrecision ( ) {
  2932. unsigned char _result;
  2933. HRESULT _hr = get_Precision(&_result);
  2934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2935. return _result;
  2936. }
  2937. #pragma implementation_key(443)
  2938. inline unsigned char Field20_Deprecated::GetNumericScale ( ) {
  2939. unsigned char _result;
  2940. HRESULT _hr = get_NumericScale(&_result);
  2941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2942. return _result;
  2943. }
  2944. #pragma implementation_key(444)
  2945. inline HRESULT Field20_Deprecated::AppendChunk ( const _variant_t & Data ) {
  2946. HRESULT _hr = raw_AppendChunk(Data);
  2947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2948. return _hr;
  2949. }
  2950. #pragma implementation_key(445)
  2951. inline _variant_t Field20_Deprecated::GetChunk ( long Length ) {
  2952. VARIANT _result;
  2953. VariantInit(&_result);
  2954. HRESULT _hr = raw_GetChunk(Length, &_result);
  2955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2956. return _variant_t(_result, false);
  2957. }
  2958. #pragma implementation_key(446)
  2959. inline _variant_t Field20_Deprecated::GetOriginalValue ( ) {
  2960. VARIANT _result;
  2961. VariantInit(&_result);
  2962. HRESULT _hr = get_OriginalValue(&_result);
  2963. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2964. return _variant_t(_result, false);
  2965. }
  2966. #pragma implementation_key(447)
  2967. inline _variant_t Field20_Deprecated::GetUnderlyingValue ( ) {
  2968. VARIANT _result;
  2969. VariantInit(&_result);
  2970. HRESULT _hr = get_UnderlyingValue(&_result);
  2971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2972. return _variant_t(_result, false);
  2973. }
  2974. #pragma implementation_key(448)
  2975. inline IUnknownPtr Field20_Deprecated::GetDataFormat ( ) {
  2976. IUnknown * _result;
  2977. HRESULT _hr = get_DataFormat(&_result);
  2978. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2979. return IUnknownPtr(_result, false);
  2980. }
  2981. #pragma implementation_key(449)
  2982. inline void Field20_Deprecated::PutRefDataFormat ( IUnknown * ppiDF ) {
  2983. HRESULT _hr = putref_DataFormat(ppiDF);
  2984. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2985. }
  2986. #pragma implementation_key(450)
  2987. inline void Field20_Deprecated::PutPrecision ( unsigned char pbPrecision ) {
  2988. HRESULT _hr = put_Precision(pbPrecision);
  2989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2990. }
  2991. #pragma implementation_key(451)
  2992. inline void Field20_Deprecated::PutNumericScale ( unsigned char pbNumericScale ) {
  2993. HRESULT _hr = put_NumericScale(pbNumericScale);
  2994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2995. }
  2996. #pragma implementation_key(452)
  2997. inline void Field20_Deprecated::PutType ( enum DataTypeEnum pDataType ) {
  2998. HRESULT _hr = put_Type(pDataType);
  2999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3000. }
  3001. #pragma implementation_key(453)
  3002. inline void Field20_Deprecated::PutDefinedSize ( ADO_LONGPTR pl ) {
  3003. HRESULT _hr = put_DefinedSize(pl);
  3004. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3005. }
  3006. #pragma implementation_key(454)
  3007. inline void Field20_Deprecated::PutAttributes ( long pl ) {
  3008. HRESULT _hr = put_Attributes(pl);
  3009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3010. }
  3011. //
  3012. // interface Field_Deprecated wrapper method implementations
  3013. //
  3014. #pragma implementation_key(455)
  3015. inline long Field_Deprecated::GetStatus ( ) {
  3016. long _result;
  3017. HRESULT _hr = get_Status(&_result);
  3018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3019. return _result;
  3020. }
  3021. //
  3022. // interface Command15_Deprecated wrapper method implementations
  3023. //
  3024. #pragma implementation_key(456)
  3025. inline _Connection_DeprecatedPtr Command15_Deprecated::GetActiveConnection ( ) {
  3026. struct _Connection_Deprecated * _result;
  3027. HRESULT _hr = get_ActiveConnection(&_result);
  3028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3029. return _Connection_DeprecatedPtr(_result, false);
  3030. }
  3031. #pragma implementation_key(457)
  3032. inline void Command15_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * ppvObject ) {
  3033. HRESULT _hr = putref_ActiveConnection(ppvObject);
  3034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3035. }
  3036. #pragma implementation_key(458)
  3037. inline void Command15_Deprecated::PutActiveConnection ( const _variant_t & ppvObject ) {
  3038. HRESULT _hr = put_ActiveConnection(ppvObject);
  3039. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3040. }
  3041. #pragma implementation_key(459)
  3042. inline _bstr_t Command15_Deprecated::GetCommandText ( ) {
  3043. BSTR _result;
  3044. HRESULT _hr = get_CommandText(&_result);
  3045. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3046. return _bstr_t(_result, false);
  3047. }
  3048. #pragma implementation_key(460)
  3049. inline void Command15_Deprecated::PutCommandText ( _bstr_t pbstr ) {
  3050. HRESULT _hr = put_CommandText(pbstr);
  3051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3052. }
  3053. #pragma implementation_key(461)
  3054. inline long Command15_Deprecated::GetCommandTimeout ( ) {
  3055. long _result;
  3056. HRESULT _hr = get_CommandTimeout(&_result);
  3057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3058. return _result;
  3059. }
  3060. #pragma implementation_key(462)
  3061. inline void Command15_Deprecated::PutCommandTimeout ( long pl ) {
  3062. HRESULT _hr = put_CommandTimeout(pl);
  3063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3064. }
  3065. #pragma implementation_key(463)
  3066. inline VARIANT_BOOL Command15_Deprecated::GetPrepared ( ) {
  3067. VARIANT_BOOL _result;
  3068. HRESULT _hr = get_Prepared(&_result);
  3069. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3070. return _result;
  3071. }
  3072. #pragma implementation_key(464)
  3073. inline void Command15_Deprecated::PutPrepared ( VARIANT_BOOL pfPrepared ) {
  3074. HRESULT _hr = put_Prepared(pfPrepared);
  3075. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3076. }
  3077. #pragma implementation_key(465)
  3078. inline _Recordset_DeprecatedPtr Command15_Deprecated::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options ) {
  3079. struct _Recordset_Deprecated * _result;
  3080. HRESULT _hr = raw_Execute(RecordsAffected, Parameters, Options, &_result);
  3081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3082. return _Recordset_DeprecatedPtr(_result, false);
  3083. }
  3084. #pragma implementation_key(466)
  3085. inline _Parameter_DeprecatedPtr Command15_Deprecated::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, ADO_LONGPTR Size, const _variant_t & Value ) {
  3086. struct _Parameter_Deprecated * _result;
  3087. HRESULT _hr = raw_CreateParameter(Name, Type, Direction, Size, Value, &_result);
  3088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3089. return _Parameter_DeprecatedPtr(_result, false);
  3090. }
  3091. #pragma implementation_key(467)
  3092. inline Parameters_DeprecatedPtr Command15_Deprecated::GetParameters ( ) {
  3093. struct Parameters_Deprecated * _result;
  3094. HRESULT _hr = get_Parameters(&_result);
  3095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3096. return Parameters_DeprecatedPtr(_result, false);
  3097. }
  3098. #pragma implementation_key(468)
  3099. inline void Command15_Deprecated::PutCommandType ( enum CommandTypeEnum plCmdType ) {
  3100. HRESULT _hr = put_CommandType(plCmdType);
  3101. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3102. }
  3103. #pragma implementation_key(469)
  3104. inline enum CommandTypeEnum Command15_Deprecated::GetCommandType ( ) {
  3105. enum CommandTypeEnum _result;
  3106. HRESULT _hr = get_CommandType(&_result);
  3107. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3108. return _result;
  3109. }
  3110. #pragma implementation_key(470)
  3111. inline _bstr_t Command15_Deprecated::GetName ( ) {
  3112. BSTR _result;
  3113. HRESULT _hr = get_Name(&_result);
  3114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3115. return _bstr_t(_result, false);
  3116. }
  3117. #pragma implementation_key(471)
  3118. inline void Command15_Deprecated::PutName ( _bstr_t pbstrName ) {
  3119. HRESULT _hr = put_Name(pbstrName);
  3120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3121. }
  3122. //
  3123. // interface Command25_Deprecated wrapper method implementations
  3124. //
  3125. #pragma implementation_key(472)
  3126. inline long Command25_Deprecated::GetState ( ) {
  3127. long _result;
  3128. HRESULT _hr = get_State(&_result);
  3129. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3130. return _result;
  3131. }
  3132. #pragma implementation_key(473)
  3133. inline HRESULT Command25_Deprecated::Cancel ( ) {
  3134. HRESULT _hr = raw_Cancel();
  3135. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3136. return _hr;
  3137. }
  3138. //
  3139. // interface _Command_Deprecated wrapper method implementations
  3140. //
  3141. #pragma implementation_key(474)
  3142. inline void _Command_Deprecated::PutRefCommandStream ( IUnknown * pvStream ) {
  3143. HRESULT _hr = putref_CommandStream(pvStream);
  3144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3145. }
  3146. #pragma implementation_key(475)
  3147. inline _variant_t _Command_Deprecated::GetCommandStream ( ) {
  3148. VARIANT _result;
  3149. VariantInit(&_result);
  3150. HRESULT _hr = get_CommandStream(&_result);
  3151. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3152. return _variant_t(_result, false);
  3153. }
  3154. #pragma implementation_key(476)
  3155. inline void _Command_Deprecated::PutDialect ( _bstr_t pbstrDialect ) {
  3156. HRESULT _hr = put_Dialect(pbstrDialect);
  3157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3158. }
  3159. #pragma implementation_key(477)
  3160. inline _bstr_t _Command_Deprecated::GetDialect ( ) {
  3161. BSTR _result;
  3162. HRESULT _hr = get_Dialect(&_result);
  3163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3164. return _bstr_t(_result, false);
  3165. }
  3166. #pragma implementation_key(478)
  3167. inline void _Command_Deprecated::PutNamedParameters ( VARIANT_BOOL pfNamedParameters ) {
  3168. HRESULT _hr = put_NamedParameters(pfNamedParameters);
  3169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3170. }
  3171. #pragma implementation_key(479)
  3172. inline VARIANT_BOOL _Command_Deprecated::GetNamedParameters ( ) {
  3173. VARIANT_BOOL _result;
  3174. HRESULT _hr = get_NamedParameters(&_result);
  3175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3176. return _result;
  3177. }
  3178. //
  3179. // interface _Parameter_Deprecated wrapper method implementations
  3180. //
  3181. #pragma implementation_key(480)
  3182. inline _bstr_t _Parameter_Deprecated::GetName ( ) {
  3183. BSTR _result;
  3184. HRESULT _hr = get_Name(&_result);
  3185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3186. return _bstr_t(_result, false);
  3187. }
  3188. #pragma implementation_key(481)
  3189. inline void _Parameter_Deprecated::PutName ( _bstr_t pbstr ) {
  3190. HRESULT _hr = put_Name(pbstr);
  3191. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3192. }
  3193. #pragma implementation_key(482)
  3194. inline _variant_t _Parameter_Deprecated::GetValue ( ) {
  3195. VARIANT _result;
  3196. VariantInit(&_result);
  3197. HRESULT _hr = get_Value(&_result);
  3198. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3199. return _variant_t(_result, false);
  3200. }
  3201. #pragma implementation_key(483)
  3202. inline void _Parameter_Deprecated::PutValue ( const _variant_t & pvar ) {
  3203. HRESULT _hr = put_Value(pvar);
  3204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3205. }
  3206. #pragma implementation_key(484)
  3207. inline enum DataTypeEnum _Parameter_Deprecated::GetType ( ) {
  3208. enum DataTypeEnum _result;
  3209. HRESULT _hr = get_Type(&_result);
  3210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3211. return _result;
  3212. }
  3213. #pragma implementation_key(485)
  3214. inline void _Parameter_Deprecated::PutType ( enum DataTypeEnum psDataType ) {
  3215. HRESULT _hr = put_Type(psDataType);
  3216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3217. }
  3218. #pragma implementation_key(486)
  3219. inline void _Parameter_Deprecated::PutDirection ( enum ParameterDirectionEnum plParmDirection ) {
  3220. HRESULT _hr = put_Direction(plParmDirection);
  3221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3222. }
  3223. #pragma implementation_key(487)
  3224. inline enum ParameterDirectionEnum _Parameter_Deprecated::GetDirection ( ) {
  3225. enum ParameterDirectionEnum _result;
  3226. HRESULT _hr = get_Direction(&_result);
  3227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3228. return _result;
  3229. }
  3230. #pragma implementation_key(488)
  3231. inline void _Parameter_Deprecated::PutPrecision ( unsigned char pbPrecision ) {
  3232. HRESULT _hr = put_Precision(pbPrecision);
  3233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3234. }
  3235. #pragma implementation_key(489)
  3236. inline unsigned char _Parameter_Deprecated::GetPrecision ( ) {
  3237. unsigned char _result;
  3238. HRESULT _hr = get_Precision(&_result);
  3239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3240. return _result;
  3241. }
  3242. #pragma implementation_key(490)
  3243. inline void _Parameter_Deprecated::PutNumericScale ( unsigned char pbScale ) {
  3244. HRESULT _hr = put_NumericScale(pbScale);
  3245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3246. }
  3247. #pragma implementation_key(491)
  3248. inline unsigned char _Parameter_Deprecated::GetNumericScale ( ) {
  3249. unsigned char _result;
  3250. HRESULT _hr = get_NumericScale(&_result);
  3251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3252. return _result;
  3253. }
  3254. #pragma implementation_key(492)
  3255. inline void _Parameter_Deprecated::PutSize ( ADO_LONGPTR pl ) {
  3256. HRESULT _hr = put_Size(pl);
  3257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3258. }
  3259. #pragma implementation_key(493)
  3260. inline ADO_LONGPTR _Parameter_Deprecated::GetSize ( ) {
  3261. ADO_LONGPTR _result;
  3262. HRESULT _hr = get_Size(&_result);
  3263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3264. return _result;
  3265. }
  3266. #pragma implementation_key(494)
  3267. inline HRESULT _Parameter_Deprecated::AppendChunk ( const _variant_t & Val ) {
  3268. HRESULT _hr = raw_AppendChunk(Val);
  3269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3270. return _hr;
  3271. }
  3272. #pragma implementation_key(495)
  3273. inline long _Parameter_Deprecated::GetAttributes ( ) {
  3274. long _result;
  3275. HRESULT _hr = get_Attributes(&_result);
  3276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3277. return _result;
  3278. }
  3279. #pragma implementation_key(496)
  3280. inline void _Parameter_Deprecated::PutAttributes ( long plParmAttribs ) {
  3281. HRESULT _hr = put_Attributes(plParmAttribs);
  3282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3283. }
  3284. //
  3285. // interface Parameters_Deprecated wrapper method implementations
  3286. //
  3287. #pragma implementation_key(497)
  3288. inline _Parameter_DeprecatedPtr Parameters_Deprecated::GetItem ( const _variant_t & Index ) {
  3289. struct _Parameter_Deprecated * _result;
  3290. HRESULT _hr = get_Item(Index, &_result);
  3291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3292. return _Parameter_DeprecatedPtr(_result, false);
  3293. }
  3294. //
  3295. // interface RecordsetEventsVt_Deprecated wrapper method implementations
  3296. //
  3297. #pragma implementation_key(498)
  3298. inline HRESULT RecordsetEventsVt_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3299. HRESULT _hr = raw_WillChangeField(cFields, Fields, adStatus, pRecordset);
  3300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3301. return _hr;
  3302. }
  3303. #pragma implementation_key(499)
  3304. inline HRESULT RecordsetEventsVt_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3305. HRESULT _hr = raw_FieldChangeComplete(cFields, Fields, pError, adStatus, pRecordset);
  3306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3307. return _hr;
  3308. }
  3309. #pragma implementation_key(500)
  3310. inline HRESULT RecordsetEventsVt_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3311. HRESULT _hr = raw_WillChangeRecord(adReason, cRecords, adStatus, pRecordset);
  3312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3313. return _hr;
  3314. }
  3315. #pragma implementation_key(501)
  3316. inline HRESULT RecordsetEventsVt_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3317. HRESULT _hr = raw_RecordChangeComplete(adReason, cRecords, pError, adStatus, pRecordset);
  3318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3319. return _hr;
  3320. }
  3321. #pragma implementation_key(502)
  3322. inline HRESULT RecordsetEventsVt_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3323. HRESULT _hr = raw_WillChangeRecordset(adReason, adStatus, pRecordset);
  3324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3325. return _hr;
  3326. }
  3327. #pragma implementation_key(503)
  3328. inline HRESULT RecordsetEventsVt_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3329. HRESULT _hr = raw_RecordsetChangeComplete(adReason, pError, adStatus, pRecordset);
  3330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3331. return _hr;
  3332. }
  3333. #pragma implementation_key(504)
  3334. inline HRESULT RecordsetEventsVt_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3335. HRESULT _hr = raw_WillMove(adReason, adStatus, pRecordset);
  3336. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3337. return _hr;
  3338. }
  3339. #pragma implementation_key(505)
  3340. inline HRESULT RecordsetEventsVt_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3341. HRESULT _hr = raw_MoveComplete(adReason, pError, adStatus, pRecordset);
  3342. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3343. return _hr;
  3344. }
  3345. #pragma implementation_key(506)
  3346. inline HRESULT RecordsetEventsVt_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3347. HRESULT _hr = raw_EndOfRecordset(fMoreData, adStatus, pRecordset);
  3348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3349. return _hr;
  3350. }
  3351. #pragma implementation_key(507)
  3352. inline HRESULT RecordsetEventsVt_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3353. HRESULT _hr = raw_FetchProgress(Progress, MaxProgress, adStatus, pRecordset);
  3354. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3355. return _hr;
  3356. }
  3357. #pragma implementation_key(508)
  3358. inline HRESULT RecordsetEventsVt_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3359. HRESULT _hr = raw_FetchComplete(pError, adStatus, pRecordset);
  3360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3361. return _hr;
  3362. }
  3363. //
  3364. // dispinterface ConnectionEvents_Deprecated wrapper method implementations
  3365. //
  3366. #pragma implementation_key(509)
  3367. inline HRESULT ConnectionEvents_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3368. HRESULT _result;
  3369. _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3370. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  3371. return _result;
  3372. }
  3373. #pragma implementation_key(510)
  3374. inline HRESULT ConnectionEvents_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3375. HRESULT _result;
  3376. _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3377. L"\x0003\x0009\x4003\x0009", TransactionLevel, pError, adStatus, pConnection);
  3378. return _result;
  3379. }
  3380. #pragma implementation_key(511)
  3381. inline HRESULT ConnectionEvents_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3382. HRESULT _result;
  3383. _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3384. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  3385. return _result;
  3386. }
  3387. #pragma implementation_key(512)
  3388. inline HRESULT ConnectionEvents_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3389. HRESULT _result;
  3390. _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3391. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  3392. return _result;
  3393. }
  3394. #pragma implementation_key(513)
  3395. inline HRESULT ConnectionEvents_Deprecated::WillExecute ( BSTR * Source, enum CursorTypeEnum * CursorType, enum LockTypeEnum * LockType, long * Options, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection ) {
  3396. HRESULT _result;
  3397. _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3398. L"\x4008\x4003\x4003\x4003\x4003\x0009\x0009\x0009", Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
  3399. return _result;
  3400. }
  3401. #pragma implementation_key(514)
  3402. inline HRESULT ConnectionEvents_Deprecated::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection ) {
  3403. HRESULT _result;
  3404. _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3405. L"\x0003\x0009\x4003\x0009\x0009\x0009", RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
  3406. return _result;
  3407. }
  3408. #pragma implementation_key(515)
  3409. inline HRESULT ConnectionEvents_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3410. HRESULT _result;
  3411. _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3412. L"\x4008\x4008\x4008\x4003\x4003\x0009", ConnectionString, UserID, Password, Options, adStatus, pConnection);
  3413. return _result;
  3414. }
  3415. #pragma implementation_key(516)
  3416. inline HRESULT ConnectionEvents_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3417. HRESULT _result;
  3418. _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3419. L"\x0009\x4003\x0009", pError, adStatus, pConnection);
  3420. return _result;
  3421. }
  3422. #pragma implementation_key(517)
  3423. inline HRESULT ConnectionEvents_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
  3424. HRESULT _result;
  3425. _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3426. L"\x4003\x0009", adStatus, pConnection);
  3427. return _result;
  3428. }
  3429. //
  3430. // dispinterface RecordsetEvents_Deprecated wrapper method implementations
  3431. //
  3432. #pragma implementation_key(518)
  3433. inline HRESULT RecordsetEvents_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3434. HRESULT _result;
  3435. _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3436. L"\x0003\x000c\x4003\x0009", cFields, &Fields, adStatus, pRecordset);
  3437. return _result;
  3438. }
  3439. #pragma implementation_key(519)
  3440. inline HRESULT RecordsetEvents_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3441. HRESULT _result;
  3442. _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3443. L"\x0003\x000c\x0009\x4003\x0009", cFields, &Fields, pError, adStatus, pRecordset);
  3444. return _result;
  3445. }
  3446. #pragma implementation_key(520)
  3447. inline HRESULT RecordsetEvents_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3448. HRESULT _result;
  3449. _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3450. L"\x0003\x0003\x4003\x0009", adReason, cRecords, adStatus, pRecordset);
  3451. return _result;
  3452. }
  3453. #pragma implementation_key(521)
  3454. inline HRESULT RecordsetEvents_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3455. HRESULT _result;
  3456. _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3457. L"\x0003\x0003\x0009\x4003\x0009", adReason, cRecords, pError, adStatus, pRecordset);
  3458. return _result;
  3459. }
  3460. #pragma implementation_key(522)
  3461. inline HRESULT RecordsetEvents_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3462. HRESULT _result;
  3463. _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3464. L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
  3465. return _result;
  3466. }
  3467. #pragma implementation_key(523)
  3468. inline HRESULT RecordsetEvents_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3469. HRESULT _result;
  3470. _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3471. L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
  3472. return _result;
  3473. }
  3474. #pragma implementation_key(524)
  3475. inline HRESULT RecordsetEvents_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3476. HRESULT _result;
  3477. _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3478. L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
  3479. return _result;
  3480. }
  3481. #pragma implementation_key(525)
  3482. inline HRESULT RecordsetEvents_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3483. HRESULT _result;
  3484. _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3485. L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
  3486. return _result;
  3487. }
  3488. #pragma implementation_key(526)
  3489. inline HRESULT RecordsetEvents_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3490. HRESULT _result;
  3491. _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3492. L"\x400b\x4003\x0009", fMoreData, adStatus, pRecordset);
  3493. return _result;
  3494. }
  3495. #pragma implementation_key(527)
  3496. inline HRESULT RecordsetEvents_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3497. HRESULT _result;
  3498. _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3499. L"\x0003\x0003\x4003\x0009", Progress, MaxProgress, adStatus, pRecordset);
  3500. return _result;
  3501. }
  3502. #pragma implementation_key(528)
  3503. inline HRESULT RecordsetEvents_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
  3504. HRESULT _result;
  3505. _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
  3506. L"\x0009\x4003\x0009", pError, adStatus, pRecordset);
  3507. return _result;
  3508. }
  3509. //
  3510. // interface _Record_Deprecated wrapper method implementations
  3511. //
  3512. #pragma implementation_key(529)
  3513. inline _variant_t _Record_Deprecated::GetActiveConnection ( ) {
  3514. VARIANT _result;
  3515. VariantInit(&_result);
  3516. HRESULT _hr = get_ActiveConnection(&_result);
  3517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3518. return _variant_t(_result, false);
  3519. }
  3520. #pragma implementation_key(530)
  3521. inline void _Record_Deprecated::PutActiveConnection ( _bstr_t pvar ) {
  3522. HRESULT _hr = put_ActiveConnection(pvar);
  3523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3524. }
  3525. #pragma implementation_key(531)
  3526. inline void _Record_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * pvar ) {
  3527. HRESULT _hr = putref_ActiveConnection(pvar);
  3528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3529. }
  3530. #pragma implementation_key(532)
  3531. inline enum ObjectStateEnum _Record_Deprecated::GetState ( ) {
  3532. enum ObjectStateEnum _result;
  3533. HRESULT _hr = get_State(&_result);
  3534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3535. return _result;
  3536. }
  3537. #pragma implementation_key(533)
  3538. inline _variant_t _Record_Deprecated::GetSource ( ) {
  3539. VARIANT _result;
  3540. VariantInit(&_result);
  3541. HRESULT _hr = get_Source(&_result);
  3542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3543. return _variant_t(_result, false);
  3544. }
  3545. #pragma implementation_key(534)
  3546. inline void _Record_Deprecated::PutSource ( _bstr_t pvar ) {
  3547. HRESULT _hr = put_Source(pvar);
  3548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3549. }
  3550. #pragma implementation_key(535)
  3551. inline void _Record_Deprecated::PutRefSource ( IDispatch * pvar ) {
  3552. HRESULT _hr = putref_Source(pvar);
  3553. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3554. }
  3555. #pragma implementation_key(536)
  3556. inline enum ConnectModeEnum _Record_Deprecated::GetMode ( ) {
  3557. enum ConnectModeEnum _result;
  3558. HRESULT _hr = get_Mode(&_result);
  3559. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3560. return _result;
  3561. }
  3562. #pragma implementation_key(537)
  3563. inline void _Record_Deprecated::PutMode ( enum ConnectModeEnum pMode ) {
  3564. HRESULT _hr = put_Mode(pMode);
  3565. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3566. }
  3567. #pragma implementation_key(538)
  3568. inline _bstr_t _Record_Deprecated::GetParentURL ( ) {
  3569. BSTR _result;
  3570. HRESULT _hr = get_ParentURL(&_result);
  3571. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3572. return _bstr_t(_result, false);
  3573. }
  3574. #pragma implementation_key(539)
  3575. inline _bstr_t _Record_Deprecated::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async ) {
  3576. BSTR _result;
  3577. HRESULT _hr = raw_MoveRecord(Source, Destination, UserName, Password, Options, Async, &_result);
  3578. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3579. return _bstr_t(_result, false);
  3580. }
  3581. #pragma implementation_key(540)
  3582. inline _bstr_t _Record_Deprecated::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async ) {
  3583. BSTR _result;
  3584. HRESULT _hr = raw_CopyRecord(Source, Destination, UserName, Password, Options, Async, &_result);
  3585. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3586. return _bstr_t(_result, false);
  3587. }
  3588. #pragma implementation_key(541)
  3589. inline HRESULT _Record_Deprecated::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async ) {
  3590. HRESULT _hr = raw_DeleteRecord(Source, Async);
  3591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3592. return _hr;
  3593. }
  3594. #pragma implementation_key(542)
  3595. inline HRESULT _Record_Deprecated::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum ConnectModeEnum Mode, enum RecordCreateOptionsEnum CreateOptions, enum RecordOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
  3596. HRESULT _hr = raw_Open(Source, ActiveConnection, Mode, CreateOptions, Options, UserName, Password);
  3597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3598. return _hr;
  3599. }
  3600. #pragma implementation_key(543)
  3601. inline HRESULT _Record_Deprecated::Close ( ) {
  3602. HRESULT _hr = raw_Close();
  3603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3604. return _hr;
  3605. }
  3606. #pragma implementation_key(544)
  3607. inline Fields_DeprecatedPtr _Record_Deprecated::GetFields ( ) {
  3608. struct Fields_Deprecated * _result;
  3609. HRESULT _hr = get_Fields(&_result);
  3610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3611. return Fields_DeprecatedPtr(_result, false);
  3612. }
  3613. #pragma implementation_key(545)
  3614. inline enum RecordTypeEnum _Record_Deprecated::GetRecordType ( ) {
  3615. enum RecordTypeEnum _result;
  3616. HRESULT _hr = get_RecordType(&_result);
  3617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3618. return _result;
  3619. }
  3620. #pragma implementation_key(546)
  3621. inline _Recordset_DeprecatedPtr _Record_Deprecated::GetChildren ( ) {
  3622. struct _Recordset_Deprecated * _result;
  3623. HRESULT _hr = raw_GetChildren(&_result);
  3624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3625. return _Recordset_DeprecatedPtr(_result, false);
  3626. }
  3627. #pragma implementation_key(547)
  3628. inline HRESULT _Record_Deprecated::Cancel ( ) {
  3629. HRESULT _hr = raw_Cancel();
  3630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3631. return _hr;
  3632. }
  3633. //
  3634. // interface _Stream_Deprecated wrapper method implementations
  3635. //
  3636. #pragma implementation_key(548)
  3637. inline ADO_LONGPTR _Stream_Deprecated::GetSize ( ) {
  3638. ADO_LONGPTR _result;
  3639. HRESULT _hr = get_Size(&_result);
  3640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3641. return _result;
  3642. }
  3643. #pragma implementation_key(549)
  3644. inline VARIANT_BOOL _Stream_Deprecated::GetEOS ( ) {
  3645. VARIANT_BOOL _result;
  3646. HRESULT _hr = get_EOS(&_result);
  3647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3648. return _result;
  3649. }
  3650. #pragma implementation_key(550)
  3651. inline ADO_LONGPTR _Stream_Deprecated::GetPosition ( ) {
  3652. ADO_LONGPTR _result;
  3653. HRESULT _hr = get_Position(&_result);
  3654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3655. return _result;
  3656. }
  3657. #pragma implementation_key(551)
  3658. inline void _Stream_Deprecated::PutPosition ( ADO_LONGPTR pPos ) {
  3659. HRESULT _hr = put_Position(pPos);
  3660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3661. }
  3662. #pragma implementation_key(552)
  3663. inline enum StreamTypeEnum _Stream_Deprecated::GetType ( ) {
  3664. enum StreamTypeEnum _result;
  3665. HRESULT _hr = get_Type(&_result);
  3666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3667. return _result;
  3668. }
  3669. #pragma implementation_key(553)
  3670. inline void _Stream_Deprecated::PutType ( enum StreamTypeEnum ptype ) {
  3671. HRESULT _hr = put_Type(ptype);
  3672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3673. }
  3674. #pragma implementation_key(554)
  3675. inline enum LineSeparatorEnum _Stream_Deprecated::GetLineSeparator ( ) {
  3676. enum LineSeparatorEnum _result;
  3677. HRESULT _hr = get_LineSeparator(&_result);
  3678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3679. return _result;
  3680. }
  3681. #pragma implementation_key(555)
  3682. inline void _Stream_Deprecated::PutLineSeparator ( enum LineSeparatorEnum pLS ) {
  3683. HRESULT _hr = put_LineSeparator(pLS);
  3684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3685. }
  3686. #pragma implementation_key(556)
  3687. inline enum ObjectStateEnum _Stream_Deprecated::GetState ( ) {
  3688. enum ObjectStateEnum _result;
  3689. HRESULT _hr = get_State(&_result);
  3690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3691. return _result;
  3692. }
  3693. #pragma implementation_key(557)
  3694. inline enum ConnectModeEnum _Stream_Deprecated::GetMode ( ) {
  3695. enum ConnectModeEnum _result;
  3696. HRESULT _hr = get_Mode(&_result);
  3697. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3698. return _result;
  3699. }
  3700. #pragma implementation_key(558)
  3701. inline void _Stream_Deprecated::PutMode ( enum ConnectModeEnum pMode ) {
  3702. HRESULT _hr = put_Mode(pMode);
  3703. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3704. }
  3705. #pragma implementation_key(559)
  3706. inline _bstr_t _Stream_Deprecated::GetCharset ( ) {
  3707. BSTR _result;
  3708. HRESULT _hr = get_Charset(&_result);
  3709. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3710. return _bstr_t(_result, false);
  3711. }
  3712. #pragma implementation_key(560)
  3713. inline void _Stream_Deprecated::PutCharset ( _bstr_t pbstrCharset ) {
  3714. HRESULT _hr = put_Charset(pbstrCharset);
  3715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3716. }
  3717. #pragma implementation_key(561)
  3718. inline _variant_t _Stream_Deprecated::Read ( long NumBytes ) {
  3719. VARIANT _result;
  3720. VariantInit(&_result);
  3721. HRESULT _hr = raw_Read(NumBytes, &_result);
  3722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3723. return _variant_t(_result, false);
  3724. }
  3725. #pragma implementation_key(562)
  3726. inline HRESULT _Stream_Deprecated::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
  3727. HRESULT _hr = raw_Open(Source, Mode, Options, UserName, Password);
  3728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3729. return _hr;
  3730. }
  3731. #pragma implementation_key(563)
  3732. inline HRESULT _Stream_Deprecated::Close ( ) {
  3733. HRESULT _hr = raw_Close();
  3734. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3735. return _hr;
  3736. }
  3737. #pragma implementation_key(564)
  3738. inline HRESULT _Stream_Deprecated::SkipLine ( ) {
  3739. HRESULT _hr = raw_SkipLine();
  3740. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3741. return _hr;
  3742. }
  3743. #pragma implementation_key(565)
  3744. inline HRESULT _Stream_Deprecated::Write ( const _variant_t & Buffer ) {
  3745. HRESULT _hr = raw_Write(Buffer);
  3746. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3747. return _hr;
  3748. }
  3749. #pragma implementation_key(566)
  3750. inline HRESULT _Stream_Deprecated::SetEOS ( ) {
  3751. HRESULT _hr = raw_SetEOS();
  3752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3753. return _hr;
  3754. }
  3755. #pragma implementation_key(567)
  3756. inline HRESULT _Stream_Deprecated::CopyTo ( struct _Stream_Deprecated * DestStream, ADO_LONGPTR CharNumber ) {
  3757. HRESULT _hr = raw_CopyTo(DestStream, CharNumber);
  3758. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3759. return _hr;
  3760. }
  3761. #pragma implementation_key(568)
  3762. inline HRESULT _Stream_Deprecated::Flush ( ) {
  3763. HRESULT _hr = raw_Flush();
  3764. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3765. return _hr;
  3766. }
  3767. #pragma implementation_key(569)
  3768. inline HRESULT _Stream_Deprecated::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options ) {
  3769. HRESULT _hr = raw_SaveToFile(FileName, Options);
  3770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3771. return _hr;
  3772. }
  3773. #pragma implementation_key(570)
  3774. inline HRESULT _Stream_Deprecated::LoadFromFile ( _bstr_t FileName ) {
  3775. HRESULT _hr = raw_LoadFromFile(FileName);
  3776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3777. return _hr;
  3778. }
  3779. #pragma implementation_key(571)
  3780. inline _bstr_t _Stream_Deprecated::ReadText ( long NumChars ) {
  3781. BSTR _result;
  3782. HRESULT _hr = raw_ReadText(NumChars, &_result);
  3783. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3784. return _bstr_t(_result, false);
  3785. }
  3786. #pragma implementation_key(572)
  3787. inline HRESULT _Stream_Deprecated::WriteText ( _bstr_t Data, enum StreamWriteEnum Options ) {
  3788. HRESULT _hr = raw_WriteText(Data, Options);
  3789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3790. return _hr;
  3791. }
  3792. #pragma implementation_key(573)
  3793. inline HRESULT _Stream_Deprecated::Cancel ( ) {
  3794. HRESULT _hr = raw_Cancel();
  3795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3796. return _hr;
  3797. }
  3798. //
  3799. // interface Field15_Deprecated wrapper method implementations
  3800. //
  3801. #pragma implementation_key(574)
  3802. inline ADO_LONGPTR Field15_Deprecated::GetActualSize ( ) {
  3803. ADO_LONGPTR _result;
  3804. HRESULT _hr = get_ActualSize(&_result);
  3805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3806. return _result;
  3807. }
  3808. #pragma implementation_key(575)
  3809. inline long Field15_Deprecated::GetAttributes ( ) {
  3810. long _result;
  3811. HRESULT _hr = get_Attributes(&_result);
  3812. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3813. return _result;
  3814. }
  3815. #pragma implementation_key(576)
  3816. inline ADO_LONGPTR Field15_Deprecated::GetDefinedSize ( ) {
  3817. ADO_LONGPTR _result;
  3818. HRESULT _hr = get_DefinedSize(&_result);
  3819. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3820. return _result;
  3821. }
  3822. #pragma implementation_key(577)
  3823. inline _bstr_t Field15_Deprecated::GetName ( ) {
  3824. BSTR _result;
  3825. HRESULT _hr = get_Name(&_result);
  3826. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3827. return _bstr_t(_result, false);
  3828. }
  3829. #pragma implementation_key(578)
  3830. inline enum DataTypeEnum Field15_Deprecated::GetType ( ) {
  3831. enum DataTypeEnum _result;
  3832. HRESULT _hr = get_Type(&_result);
  3833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3834. return _result;
  3835. }
  3836. #pragma implementation_key(579)
  3837. inline _variant_t Field15_Deprecated::GetValue ( ) {
  3838. VARIANT _result;
  3839. VariantInit(&_result);
  3840. HRESULT _hr = get_Value(&_result);
  3841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3842. return _variant_t(_result, false);
  3843. }
  3844. #pragma implementation_key(580)
  3845. inline void Field15_Deprecated::PutValue ( const _variant_t & pvar ) {
  3846. HRESULT _hr = put_Value(pvar);
  3847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3848. }
  3849. #pragma implementation_key(581)
  3850. inline unsigned char Field15_Deprecated::GetPrecision ( ) {
  3851. unsigned char _result;
  3852. HRESULT _hr = get_Precision(&_result);
  3853. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3854. return _result;
  3855. }
  3856. #pragma implementation_key(582)
  3857. inline unsigned char Field15_Deprecated::GetNumericScale ( ) {
  3858. unsigned char _result;
  3859. HRESULT _hr = get_NumericScale(&_result);
  3860. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3861. return _result;
  3862. }
  3863. #pragma implementation_key(583)
  3864. inline HRESULT Field15_Deprecated::AppendChunk ( const _variant_t & Data ) {
  3865. HRESULT _hr = raw_AppendChunk(Data);
  3866. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3867. return _hr;
  3868. }
  3869. #pragma implementation_key(584)
  3870. inline _variant_t Field15_Deprecated::GetChunk ( long Length ) {
  3871. VARIANT _result;
  3872. VariantInit(&_result);
  3873. HRESULT _hr = raw_GetChunk(Length, &_result);
  3874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3875. return _variant_t(_result, false);
  3876. }
  3877. #pragma implementation_key(585)
  3878. inline _variant_t Field15_Deprecated::GetOriginalValue ( ) {
  3879. VARIANT _result;
  3880. VariantInit(&_result);
  3881. HRESULT _hr = get_OriginalValue(&_result);
  3882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3883. return _variant_t(_result, false);
  3884. }
  3885. #pragma implementation_key(586)
  3886. inline _variant_t Field15_Deprecated::GetUnderlyingValue ( ) {
  3887. VARIANT _result;
  3888. VariantInit(&_result);
  3889. HRESULT _hr = get_UnderlyingValue(&_result);
  3890. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3891. return _variant_t(_result, false);
  3892. }