1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537 |
- // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (79fcb7a0).
- //
- // msado15.tli
- //
- // Wrapper implementations for Win32 type library C:\Program Files (x86)\Common Files\System\ADO\msado15.dll
- // compiler-generated file created 10/07/15 at 11:48:46 - DO NOT EDIT!
- //
- // interface _Collection wrapper method implementations
- //
- #pragma implementation_key(1)
- inline long _Collection::GetCount ( ) {
- long _result;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2)
- inline IUnknownPtr _Collection::_NewEnum ( ) {
- IUnknown * _result;
- HRESULT _hr = raw__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3)
- inline HRESULT _Collection::Refresh ( ) {
- HRESULT _hr = raw_Refresh();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _DynaCollection wrapper method implementations
- //
- #pragma implementation_key(4)
- inline HRESULT _DynaCollection::Append ( IDispatch * Object ) {
- HRESULT _hr = raw_Append(Object);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5)
- inline HRESULT _DynaCollection::Delete ( const _variant_t & Index ) {
- HRESULT _hr = raw_Delete(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _ADO wrapper method implementations
- //
- #pragma implementation_key(6)
- inline PropertiesPtr _ADO::GetProperties ( ) {
- struct Properties * _result;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return PropertiesPtr(_result, false);
- }
- //
- // interface Properties wrapper method implementations
- //
- #pragma implementation_key(7)
- inline PropertyPtr Properties::GetItem ( const _variant_t & Index ) {
- struct Property * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return PropertyPtr(_result, false);
- }
- //
- // interface Property wrapper method implementations
- //
- #pragma implementation_key(8)
- inline _variant_t Property::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(9)
- inline void Property::PutValue ( const _variant_t & pval ) {
- HRESULT _hr = put_Value(pval);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(10)
- inline _bstr_t Property::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(11)
- inline enum DataTypeEnum Property::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(12)
- inline long Property::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(13)
- inline void Property::PutAttributes ( long plAttributes ) {
- HRESULT _hr = put_Attributes(plAttributes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Error wrapper method implementations
- //
- #pragma implementation_key(14)
- inline long Error::GetNumber ( ) {
- long _result;
- HRESULT _hr = get_Number(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(15)
- inline _bstr_t Error::GetSource ( ) {
- BSTR _result;
- HRESULT _hr = get_Source(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(16)
- inline _bstr_t Error::GetDescription ( ) {
- BSTR _result;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(17)
- inline _bstr_t Error::GetHelpFile ( ) {
- BSTR _result;
- HRESULT _hr = get_HelpFile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(18)
- inline long Error::GetHelpContext ( ) {
- long _result;
- HRESULT _hr = get_HelpContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(19)
- inline _bstr_t Error::GetSQLState ( ) {
- BSTR _result;
- HRESULT _hr = get_SQLState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(20)
- inline long Error::GetNativeError ( ) {
- long _result;
- HRESULT _hr = get_NativeError(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface Errors wrapper method implementations
- //
- #pragma implementation_key(21)
- inline ErrorPtr Errors::GetItem ( const _variant_t & Index ) {
- struct Error * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ErrorPtr(_result, false);
- }
- #pragma implementation_key(22)
- inline HRESULT Errors::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Command15 wrapper method implementations
- //
- #pragma implementation_key(23)
- inline _ConnectionPtr Command15::GetActiveConnection ( ) {
- struct _Connection * _result;
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _ConnectionPtr(_result, false);
- }
- #pragma implementation_key(24)
- inline void Command15::PutRefActiveConnection ( struct _Connection * ppvObject ) {
- HRESULT _hr = putref_ActiveConnection(ppvObject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(25)
- inline void Command15::PutActiveConnection ( const _variant_t & ppvObject ) {
- HRESULT _hr = put_ActiveConnection(ppvObject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(26)
- inline _bstr_t Command15::GetCommandText ( ) {
- BSTR _result;
- HRESULT _hr = get_CommandText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(27)
- inline void Command15::PutCommandText ( _bstr_t pbstr ) {
- HRESULT _hr = put_CommandText(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(28)
- inline long Command15::GetCommandTimeout ( ) {
- long _result;
- HRESULT _hr = get_CommandTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(29)
- inline void Command15::PutCommandTimeout ( long pl ) {
- HRESULT _hr = put_CommandTimeout(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(30)
- inline VARIANT_BOOL Command15::GetPrepared ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_Prepared(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(31)
- inline void Command15::PutPrepared ( VARIANT_BOOL pfPrepared ) {
- HRESULT _hr = put_Prepared(pfPrepared);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(32)
- inline _RecordsetPtr Command15::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_Execute(RecordsAffected, Parameters, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(33)
- inline _ParameterPtr Command15::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, long Size, const _variant_t & Value ) {
- struct _Parameter * _result;
- HRESULT _hr = raw_CreateParameter(Name, Type, Direction, Size, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _ParameterPtr(_result, false);
- }
- #pragma implementation_key(34)
- inline ParametersPtr Command15::GetParameters ( ) {
- struct Parameters * _result;
- HRESULT _hr = get_Parameters(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ParametersPtr(_result, false);
- }
- #pragma implementation_key(35)
- inline void Command15::PutCommandType ( enum CommandTypeEnum plCmdType ) {
- HRESULT _hr = put_CommandType(plCmdType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(36)
- inline enum CommandTypeEnum Command15::GetCommandType ( ) {
- enum CommandTypeEnum _result;
- HRESULT _hr = get_CommandType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(37)
- inline _bstr_t Command15::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(38)
- inline void Command15::PutName ( _bstr_t pbstrName ) {
- HRESULT _hr = put_Name(pbstrName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Connection15 wrapper method implementations
- //
- #pragma implementation_key(39)
- inline _bstr_t Connection15::GetConnectionString ( ) {
- BSTR _result;
- HRESULT _hr = get_ConnectionString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(40)
- inline void Connection15::PutConnectionString ( _bstr_t pbstr ) {
- HRESULT _hr = put_ConnectionString(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(41)
- inline long Connection15::GetCommandTimeout ( ) {
- long _result;
- HRESULT _hr = get_CommandTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(42)
- inline void Connection15::PutCommandTimeout ( long plTimeout ) {
- HRESULT _hr = put_CommandTimeout(plTimeout);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(43)
- inline long Connection15::GetConnectionTimeout ( ) {
- long _result;
- HRESULT _hr = get_ConnectionTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(44)
- inline void Connection15::PutConnectionTimeout ( long plTimeout ) {
- HRESULT _hr = put_ConnectionTimeout(plTimeout);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(45)
- inline _bstr_t Connection15::GetVersion ( ) {
- BSTR _result;
- HRESULT _hr = get_Version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(46)
- inline HRESULT Connection15::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(47)
- inline _RecordsetPtr Connection15::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_Execute(CommandText, RecordsAffected, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(48)
- inline long Connection15::BeginTrans ( ) {
- long _result;
- HRESULT _hr = raw_BeginTrans(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(49)
- inline HRESULT Connection15::CommitTrans ( ) {
- HRESULT _hr = raw_CommitTrans();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(50)
- inline HRESULT Connection15::RollbackTrans ( ) {
- HRESULT _hr = raw_RollbackTrans();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(51)
- inline HRESULT Connection15::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options ) {
- HRESULT _hr = raw_Open(ConnectionString, UserID, Password, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(52)
- inline ErrorsPtr Connection15::GetErrors ( ) {
- struct Errors * _result;
- HRESULT _hr = get_Errors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ErrorsPtr(_result, false);
- }
- #pragma implementation_key(53)
- inline _bstr_t Connection15::GetDefaultDatabase ( ) {
- BSTR _result;
- HRESULT _hr = get_DefaultDatabase(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(54)
- inline void Connection15::PutDefaultDatabase ( _bstr_t pbstr ) {
- HRESULT _hr = put_DefaultDatabase(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(55)
- inline enum IsolationLevelEnum Connection15::GetIsolationLevel ( ) {
- enum IsolationLevelEnum _result;
- HRESULT _hr = get_IsolationLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(56)
- inline void Connection15::PutIsolationLevel ( enum IsolationLevelEnum Level ) {
- HRESULT _hr = put_IsolationLevel(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(57)
- inline long Connection15::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(58)
- inline void Connection15::PutAttributes ( long plAttr ) {
- HRESULT _hr = put_Attributes(plAttr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(59)
- inline enum CursorLocationEnum Connection15::GetCursorLocation ( ) {
- enum CursorLocationEnum _result;
- HRESULT _hr = get_CursorLocation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(60)
- inline void Connection15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
- HRESULT _hr = put_CursorLocation(plCursorLoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(61)
- inline enum ConnectModeEnum Connection15::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(62)
- inline void Connection15::PutMode ( enum ConnectModeEnum plMode ) {
- HRESULT _hr = put_Mode(plMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(63)
- inline _bstr_t Connection15::GetProvider ( ) {
- BSTR _result;
- HRESULT _hr = get_Provider(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(64)
- inline void Connection15::PutProvider ( _bstr_t pbstr ) {
- HRESULT _hr = put_Provider(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(65)
- inline long Connection15::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(66)
- inline _RecordsetPtr Connection15::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_OpenSchema(Schema, Restrictions, SchemaID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- //
- // interface _Connection wrapper method implementations
- //
- #pragma implementation_key(67)
- inline HRESULT _Connection::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset15 wrapper method implementations
- //
- #pragma implementation_key(68)
- inline enum PositionEnum Recordset15::GetAbsolutePosition ( ) {
- enum PositionEnum _result;
- HRESULT _hr = get_AbsolutePosition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(69)
- inline void Recordset15::PutAbsolutePosition ( enum PositionEnum pl ) {
- HRESULT _hr = put_AbsolutePosition(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(70)
- inline void Recordset15::PutRefActiveConnection ( IDispatch * pvar ) {
- HRESULT _hr = putref_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(71)
- inline void Recordset15::PutActiveConnection ( const _variant_t & pvar ) {
- HRESULT _hr = put_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(72)
- inline _variant_t Recordset15::GetActiveConnection ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(73)
- inline VARIANT_BOOL Recordset15::GetBOF ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_BOF(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(74)
- inline _variant_t Recordset15::GetBookmark ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Bookmark(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(75)
- inline void Recordset15::PutBookmark ( const _variant_t & pvBookmark ) {
- HRESULT _hr = put_Bookmark(pvBookmark);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(76)
- inline long Recordset15::GetCacheSize ( ) {
- long _result;
- HRESULT _hr = get_CacheSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(77)
- inline void Recordset15::PutCacheSize ( long pl ) {
- HRESULT _hr = put_CacheSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(78)
- inline enum CursorTypeEnum Recordset15::GetCursorType ( ) {
- enum CursorTypeEnum _result;
- HRESULT _hr = get_CursorType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(79)
- inline void Recordset15::PutCursorType ( enum CursorTypeEnum plCursorType ) {
- HRESULT _hr = put_CursorType(plCursorType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(80)
- inline VARIANT_BOOL Recordset15::GetadoEOF ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_adoEOF(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(81)
- inline FieldsPtr Recordset15::GetFields ( ) {
- struct Fields * _result;
- HRESULT _hr = get_Fields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return FieldsPtr(_result, false);
- }
- #pragma implementation_key(82)
- inline enum LockTypeEnum Recordset15::GetLockType ( ) {
- enum LockTypeEnum _result;
- HRESULT _hr = get_LockType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(83)
- inline void Recordset15::PutLockType ( enum LockTypeEnum plLockType ) {
- HRESULT _hr = put_LockType(plLockType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(84)
- inline long Recordset15::GetMaxRecords ( ) {
- long _result;
- HRESULT _hr = get_MaxRecords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(85)
- inline void Recordset15::PutMaxRecords ( long plMaxRecords ) {
- HRESULT _hr = put_MaxRecords(plMaxRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(86)
- inline long Recordset15::GetRecordCount ( ) {
- long _result;
- HRESULT _hr = get_RecordCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(87)
- inline void Recordset15::PutRefSource ( IDispatch * pvSource ) {
- HRESULT _hr = putref_Source(pvSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(88)
- inline void Recordset15::PutSource ( _bstr_t pvSource ) {
- HRESULT _hr = put_Source(pvSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(89)
- inline _variant_t Recordset15::GetSource ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Source(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(90)
- inline HRESULT Recordset15::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
- HRESULT _hr = raw_AddNew(FieldList, Values);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(91)
- inline HRESULT Recordset15::CancelUpdate ( ) {
- HRESULT _hr = raw_CancelUpdate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(92)
- inline HRESULT Recordset15::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(93)
- inline HRESULT Recordset15::Delete ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_Delete(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(94)
- inline _variant_t Recordset15::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(95)
- inline HRESULT Recordset15::Move ( long NumRecords, const _variant_t & Start ) {
- HRESULT _hr = raw_Move(NumRecords, Start);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(96)
- inline HRESULT Recordset15::MoveNext ( ) {
- HRESULT _hr = raw_MoveNext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(97)
- inline HRESULT Recordset15::MovePrevious ( ) {
- HRESULT _hr = raw_MovePrevious();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(98)
- inline HRESULT Recordset15::MoveFirst ( ) {
- HRESULT _hr = raw_MoveFirst();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(99)
- inline HRESULT Recordset15::MoveLast ( ) {
- HRESULT _hr = raw_MoveLast();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(100)
- inline HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
- HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(101)
- inline HRESULT Recordset15::Requery ( long Options ) {
- HRESULT _hr = raw_Requery(Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(102)
- inline HRESULT Recordset15::_xResync ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw__xResync(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(103)
- inline HRESULT Recordset15::Update ( const _variant_t & Fields, const _variant_t & Values ) {
- HRESULT _hr = raw_Update(Fields, Values);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(104)
- inline enum PositionEnum Recordset15::GetAbsolutePage ( ) {
- enum PositionEnum _result;
- HRESULT _hr = get_AbsolutePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(105)
- inline void Recordset15::PutAbsolutePage ( enum PositionEnum pl ) {
- HRESULT _hr = put_AbsolutePage(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(106)
- inline enum EditModeEnum Recordset15::GetEditMode ( ) {
- enum EditModeEnum _result;
- HRESULT _hr = get_EditMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(107)
- inline _variant_t Recordset15::GetFilter ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Filter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(108)
- inline void Recordset15::PutFilter ( const _variant_t & Criteria ) {
- HRESULT _hr = put_Filter(Criteria);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(109)
- inline long Recordset15::GetPageCount ( ) {
- long _result;
- HRESULT _hr = get_PageCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(110)
- inline long Recordset15::GetPageSize ( ) {
- long _result;
- HRESULT _hr = get_PageSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(111)
- inline void Recordset15::PutPageSize ( long pl ) {
- HRESULT _hr = put_PageSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(112)
- inline _bstr_t Recordset15::GetSort ( ) {
- BSTR _result;
- HRESULT _hr = get_Sort(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(113)
- inline void Recordset15::PutSort ( _bstr_t Criteria ) {
- HRESULT _hr = put_Sort(Criteria);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(114)
- inline long Recordset15::GetStatus ( ) {
- long _result;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(115)
- inline long Recordset15::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(116)
- inline _RecordsetPtr Recordset15::_xClone ( ) {
- struct _Recordset * _result;
- HRESULT _hr = raw__xClone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(117)
- inline HRESULT Recordset15::UpdateBatch ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_UpdateBatch(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(118)
- inline HRESULT Recordset15::CancelBatch ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_CancelBatch(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(119)
- inline enum CursorLocationEnum Recordset15::GetCursorLocation ( ) {
- enum CursorLocationEnum _result;
- HRESULT _hr = get_CursorLocation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(120)
- inline void Recordset15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
- HRESULT _hr = put_CursorLocation(plCursorLoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(121)
- inline _RecordsetPtr Recordset15::NextRecordset ( VARIANT * RecordsAffected ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_NextRecordset(RecordsAffected, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(122)
- inline VARIANT_BOOL Recordset15::Supports ( enum CursorOptionEnum CursorOptions ) {
- VARIANT_BOOL _result;
- HRESULT _hr = raw_Supports(CursorOptions, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(123)
- inline _variant_t Recordset15::GetCollect ( const _variant_t & Index ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Collect(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(124)
- inline void Recordset15::PutCollect ( const _variant_t & Index, const _variant_t & pvar ) {
- HRESULT _hr = put_Collect(Index, pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(125)
- inline enum MarshalOptionsEnum Recordset15::GetMarshalOptions ( ) {
- enum MarshalOptionsEnum _result;
- HRESULT _hr = get_MarshalOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(126)
- inline void Recordset15::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal ) {
- HRESULT _hr = put_MarshalOptions(peMarshal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(127)
- inline HRESULT Recordset15::Find ( _bstr_t Criteria, long SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start ) {
- HRESULT _hr = raw_Find(Criteria, SkipRecords, SearchDirection, Start);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset20 wrapper method implementations
- //
- #pragma implementation_key(128)
- inline HRESULT Recordset20::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(129)
- inline IUnknownPtr Recordset20::GetDataSource ( ) {
- IUnknown * _result;
- HRESULT _hr = get_DataSource(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(130)
- inline void Recordset20::PutRefDataSource ( IUnknown * ppunkDataSource ) {
- HRESULT _hr = putref_DataSource(ppunkDataSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(131)
- inline HRESULT Recordset20::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat ) {
- HRESULT _hr = raw__xSave(FileName, PersistFormat);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(132)
- inline IDispatchPtr Recordset20::GetActiveCommand ( ) {
- IDispatch * _result;
- HRESULT _hr = get_ActiveCommand(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(133)
- inline void Recordset20::PutStayInSync ( VARIANT_BOOL pbStayInSync ) {
- HRESULT _hr = put_StayInSync(pbStayInSync);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(134)
- inline VARIANT_BOOL Recordset20::GetStayInSync ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_StayInSync(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(135)
- inline _bstr_t Recordset20::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr ) {
- BSTR _result;
- HRESULT _hr = raw_GetString(StringFormat, NumRows, ColumnDelimeter, RowDelimeter, NullExpr, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(136)
- inline _bstr_t Recordset20::GetDataMember ( ) {
- BSTR _result;
- HRESULT _hr = get_DataMember(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(137)
- inline void Recordset20::PutDataMember ( _bstr_t pbstrDataMember ) {
- HRESULT _hr = put_DataMember(pbstrDataMember);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(138)
- inline enum CompareEnum Recordset20::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 ) {
- enum CompareEnum _result;
- HRESULT _hr = raw_CompareBookmarks(Bookmark1, Bookmark2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(139)
- inline _RecordsetPtr Recordset20::Clone ( enum LockTypeEnum LockType ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_Clone(LockType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(140)
- inline HRESULT Recordset20::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues ) {
- HRESULT _hr = raw_Resync(AffectRecords, ResyncValues);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset21 wrapper method implementations
- //
- #pragma implementation_key(141)
- inline HRESULT Recordset21::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption ) {
- HRESULT _hr = raw_Seek(KeyValues, SeekOption);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(142)
- inline void Recordset21::PutIndex ( _bstr_t pbstrIndex ) {
- HRESULT _hr = put_Index(pbstrIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(143)
- inline _bstr_t Recordset21::GetIndex ( ) {
- BSTR _result;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface _Recordset wrapper method implementations
- //
- #pragma implementation_key(144)
- inline HRESULT _Recordset::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat ) {
- HRESULT _hr = raw_Save(Destination, PersistFormat);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Fields15 wrapper method implementations
- //
- #pragma implementation_key(145)
- inline FieldPtr Fields15::GetItem ( const _variant_t & Index ) {
- struct Field * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return FieldPtr(_result, false);
- }
- //
- // interface Fields20 wrapper method implementations
- //
- #pragma implementation_key(146)
- inline HRESULT Fields20::_Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib ) {
- HRESULT _hr = raw__Append(Name, Type, DefinedSize, Attrib);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(147)
- inline HRESULT Fields20::Delete ( const _variant_t & Index ) {
- HRESULT _hr = raw_Delete(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Fields wrapper method implementations
- //
- #pragma implementation_key(148)
- inline HRESULT Fields::Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue ) {
- HRESULT _hr = raw_Append(Name, Type, DefinedSize, Attrib, FieldValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(149)
- inline HRESULT Fields::Update ( ) {
- HRESULT _hr = raw_Update();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(150)
- inline HRESULT Fields::Resync ( enum ResyncEnum ResyncValues ) {
- HRESULT _hr = raw_Resync(ResyncValues);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(151)
- inline HRESULT Fields::CancelUpdate ( ) {
- HRESULT _hr = raw_CancelUpdate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Field20 wrapper method implementations
- //
- #pragma implementation_key(152)
- inline long Field20::GetActualSize ( ) {
- long _result;
- HRESULT _hr = get_ActualSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(153)
- inline long Field20::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(154)
- inline long Field20::GetDefinedSize ( ) {
- long _result;
- HRESULT _hr = get_DefinedSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(155)
- inline _bstr_t Field20::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(156)
- inline enum DataTypeEnum Field20::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(157)
- inline _variant_t Field20::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(158)
- inline void Field20::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(159)
- inline unsigned char Field20::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(160)
- inline unsigned char Field20::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(161)
- inline HRESULT Field20::AppendChunk ( const _variant_t & Data ) {
- HRESULT _hr = raw_AppendChunk(Data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(162)
- inline _variant_t Field20::GetChunk ( long Length ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetChunk(Length, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(163)
- inline _variant_t Field20::GetOriginalValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_OriginalValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(164)
- inline _variant_t Field20::GetUnderlyingValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_UnderlyingValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(165)
- inline IUnknownPtr Field20::GetDataFormat ( ) {
- IUnknown * _result;
- HRESULT _hr = get_DataFormat(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(166)
- inline void Field20::PutRefDataFormat ( IUnknown * ppiDF ) {
- HRESULT _hr = putref_DataFormat(ppiDF);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(167)
- inline void Field20::PutPrecision ( unsigned char pbPrecision ) {
- HRESULT _hr = put_Precision(pbPrecision);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(168)
- inline void Field20::PutNumericScale ( unsigned char pbNumericScale ) {
- HRESULT _hr = put_NumericScale(pbNumericScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(169)
- inline void Field20::PutType ( enum DataTypeEnum pDataType ) {
- HRESULT _hr = put_Type(pDataType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(170)
- inline void Field20::PutDefinedSize ( long pl ) {
- HRESULT _hr = put_DefinedSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(171)
- inline void Field20::PutAttributes ( long pl ) {
- HRESULT _hr = put_Attributes(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Field wrapper method implementations
- //
- #pragma implementation_key(172)
- inline long Field::GetStatus ( ) {
- long _result;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface _Parameter wrapper method implementations
- //
- #pragma implementation_key(173)
- inline _bstr_t _Parameter::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(174)
- inline void _Parameter::PutName ( _bstr_t pbstr ) {
- HRESULT _hr = put_Name(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(175)
- inline _variant_t _Parameter::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(176)
- inline void _Parameter::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(177)
- inline enum DataTypeEnum _Parameter::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(178)
- inline void _Parameter::PutType ( enum DataTypeEnum psDataType ) {
- HRESULT _hr = put_Type(psDataType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(179)
- inline void _Parameter::PutDirection ( enum ParameterDirectionEnum plParmDirection ) {
- HRESULT _hr = put_Direction(plParmDirection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(180)
- inline enum ParameterDirectionEnum _Parameter::GetDirection ( ) {
- enum ParameterDirectionEnum _result;
- HRESULT _hr = get_Direction(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(181)
- inline void _Parameter::PutPrecision ( unsigned char pbPrecision ) {
- HRESULT _hr = put_Precision(pbPrecision);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(182)
- inline unsigned char _Parameter::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(183)
- inline void _Parameter::PutNumericScale ( unsigned char pbScale ) {
- HRESULT _hr = put_NumericScale(pbScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(184)
- inline unsigned char _Parameter::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(185)
- inline void _Parameter::PutSize ( long pl ) {
- HRESULT _hr = put_Size(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(186)
- inline long _Parameter::GetSize ( ) {
- long _result;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(187)
- inline HRESULT _Parameter::AppendChunk ( const _variant_t & Val ) {
- HRESULT _hr = raw_AppendChunk(Val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(188)
- inline long _Parameter::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(189)
- inline void _Parameter::PutAttributes ( long plParmAttribs ) {
- HRESULT _hr = put_Attributes(plParmAttribs);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Parameters wrapper method implementations
- //
- #pragma implementation_key(190)
- inline _ParameterPtr Parameters::GetItem ( const _variant_t & Index ) {
- struct _Parameter * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _ParameterPtr(_result, false);
- }
- //
- // interface Command25 wrapper method implementations
- //
- #pragma implementation_key(191)
- inline long Command25::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(192)
- inline HRESULT Command25::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _Command wrapper method implementations
- //
- #pragma implementation_key(193)
- inline void _Command::PutRefCommandStream ( IUnknown * pvStream ) {
- HRESULT _hr = putref_CommandStream(pvStream);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(194)
- inline _variant_t _Command::GetCommandStream ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_CommandStream(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(195)
- inline void _Command::PutDialect ( _bstr_t pbstrDialect ) {
- HRESULT _hr = put_Dialect(pbstrDialect);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(196)
- inline _bstr_t _Command::GetDialect ( ) {
- BSTR _result;
- HRESULT _hr = get_Dialect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(197)
- inline void _Command::PutNamedParameters ( VARIANT_BOOL pfNamedParameters ) {
- HRESULT _hr = put_NamedParameters(pfNamedParameters);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(198)
- inline VARIANT_BOOL _Command::GetNamedParameters ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_NamedParameters(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ConnectionEventsVt wrapper method implementations
- //
- #pragma implementation_key(199)
- inline HRESULT ConnectionEventsVt::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_InfoMessage(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(200)
- inline HRESULT ConnectionEventsVt::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_BeginTransComplete(TransactionLevel, pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(201)
- inline HRESULT ConnectionEventsVt::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_CommitTransComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(202)
- inline HRESULT ConnectionEventsVt::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_RollbackTransComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(203)
- 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 ) {
- HRESULT _hr = raw_WillExecute(Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(204)
- inline HRESULT ConnectionEventsVt::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
- HRESULT _hr = raw_ExecuteComplete(RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(205)
- inline HRESULT ConnectionEventsVt::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_WillConnect(ConnectionString, UserID, Password, Options, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(206)
- inline HRESULT ConnectionEventsVt::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_ConnectComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(207)
- inline HRESULT ConnectionEventsVt::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _hr = raw_Disconnect(adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface RecordsetEventsVt wrapper method implementations
- //
- #pragma implementation_key(208)
- inline HRESULT RecordsetEventsVt::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_WillChangeField(cFields, Fields, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(209)
- inline HRESULT RecordsetEventsVt::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_FieldChangeComplete(cFields, Fields, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(210)
- inline HRESULT RecordsetEventsVt::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_WillChangeRecord(adReason, cRecords, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(211)
- inline HRESULT RecordsetEventsVt::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_RecordChangeComplete(adReason, cRecords, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(212)
- inline HRESULT RecordsetEventsVt::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_WillChangeRecordset(adReason, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(213)
- inline HRESULT RecordsetEventsVt::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_RecordsetChangeComplete(adReason, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(214)
- inline HRESULT RecordsetEventsVt::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_WillMove(adReason, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(215)
- inline HRESULT RecordsetEventsVt::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_MoveComplete(adReason, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(216)
- inline HRESULT RecordsetEventsVt::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_EndOfRecordset(fMoreData, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(217)
- inline HRESULT RecordsetEventsVt::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_FetchProgress(Progress, MaxProgress, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(218)
- inline HRESULT RecordsetEventsVt::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _hr = raw_FetchComplete(pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // dispinterface ConnectionEvents wrapper method implementations
- //
- #pragma implementation_key(219)
- inline HRESULT ConnectionEvents::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(220)
- inline HRESULT ConnectionEvents::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", TransactionLevel, pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(221)
- inline HRESULT ConnectionEvents::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(222)
- inline HRESULT ConnectionEvents::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(223)
- 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 ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4008\x4003\x4003\x4003\x4003\x0009\x0009\x0009", Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
- return _result;
- }
- #pragma implementation_key(224)
- inline HRESULT ConnectionEvents::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009\x0009\x0009", RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
- return _result;
- }
- #pragma implementation_key(225)
- inline HRESULT ConnectionEvents::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4008\x4008\x4008\x4003\x4003\x0009", ConnectionString, UserID, Password, Options, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(226)
- inline HRESULT ConnectionEvents::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(227)
- inline HRESULT ConnectionEvents::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4003\x0009", adStatus, pConnection);
- return _result;
- }
- //
- // dispinterface RecordsetEvents wrapper method implementations
- //
- #pragma implementation_key(228)
- inline HRESULT RecordsetEvents::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x000c\x4003\x0009", cFields, &Fields, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(229)
- inline HRESULT RecordsetEvents::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x000c\x0009\x4003\x0009", cFields, &Fields, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(230)
- inline HRESULT RecordsetEvents::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x4003\x0009", adReason, cRecords, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(231)
- inline HRESULT RecordsetEvents::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x0009\x4003\x0009", adReason, cRecords, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(232)
- inline HRESULT RecordsetEvents::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(233)
- inline HRESULT RecordsetEvents::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(234)
- inline HRESULT RecordsetEvents::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(235)
- inline HRESULT RecordsetEvents::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(236)
- inline HRESULT RecordsetEvents::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x400b\x4003\x0009", fMoreData, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(237)
- inline HRESULT RecordsetEvents::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x4003\x0009", Progress, MaxProgress, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(238)
- inline HRESULT RecordsetEvents::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pRecordset);
- return _result;
- }
- //
- // interface ADOConnectionConstruction15 wrapper method implementations
- //
- #pragma implementation_key(239)
- inline IUnknownPtr ADOConnectionConstruction15::GetDSO ( ) {
- IUnknown * _result;
- HRESULT _hr = get_DSO(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(240)
- inline IUnknownPtr ADOConnectionConstruction15::GetSession ( ) {
- IUnknown * _result;
- HRESULT _hr = get_Session(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(241)
- inline HRESULT ADOConnectionConstruction15::WrapDSOandSession ( IUnknown * pDSO, IUnknown * pSession ) {
- HRESULT _hr = raw_WrapDSOandSession(pDSO, pSession);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _Record wrapper method implementations
- //
- #pragma implementation_key(242)
- inline _variant_t _Record::GetActiveConnection ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(243)
- inline void _Record::PutActiveConnection ( _bstr_t pvar ) {
- HRESULT _hr = put_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(244)
- inline void _Record::PutRefActiveConnection ( struct _Connection * pvar ) {
- HRESULT _hr = putref_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(245)
- inline enum ObjectStateEnum _Record::GetState ( ) {
- enum ObjectStateEnum _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(246)
- inline _variant_t _Record::GetSource ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Source(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(247)
- inline void _Record::PutSource ( _bstr_t pvar ) {
- HRESULT _hr = put_Source(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(248)
- inline void _Record::PutRefSource ( IDispatch * pvar ) {
- HRESULT _hr = putref_Source(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(249)
- inline enum ConnectModeEnum _Record::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(250)
- inline void _Record::PutMode ( enum ConnectModeEnum pMode ) {
- HRESULT _hr = put_Mode(pMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(251)
- inline _bstr_t _Record::GetParentURL ( ) {
- BSTR _result;
- HRESULT _hr = get_ParentURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(252)
- inline _bstr_t _Record::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async ) {
- BSTR _result;
- HRESULT _hr = raw_MoveRecord(Source, Destination, UserName, Password, Options, Async, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(253)
- inline _bstr_t _Record::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async ) {
- BSTR _result;
- HRESULT _hr = raw_CopyRecord(Source, Destination, UserName, Password, Options, Async, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(254)
- inline HRESULT _Record::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async ) {
- HRESULT _hr = raw_DeleteRecord(Source, Async);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(255)
- 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 ) {
- HRESULT _hr = raw_Open(Source, ActiveConnection, Mode, CreateOptions, Options, UserName, Password);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(256)
- inline HRESULT _Record::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(257)
- inline FieldsPtr _Record::GetFields ( ) {
- struct Fields * _result;
- HRESULT _hr = get_Fields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return FieldsPtr(_result, false);
- }
- #pragma implementation_key(258)
- inline enum RecordTypeEnum _Record::GetRecordType ( ) {
- enum RecordTypeEnum _result;
- HRESULT _hr = get_RecordType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(259)
- inline _RecordsetPtr _Record::GetChildren ( ) {
- struct _Recordset * _result;
- HRESULT _hr = raw_GetChildren(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _RecordsetPtr(_result, false);
- }
- #pragma implementation_key(260)
- inline HRESULT _Record::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _Stream wrapper method implementations
- //
- #pragma implementation_key(261)
- inline long _Stream::GetSize ( ) {
- long _result;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(262)
- inline VARIANT_BOOL _Stream::GetEOS ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_EOS(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(263)
- inline long _Stream::GetPosition ( ) {
- long _result;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(264)
- inline void _Stream::PutPosition ( long pPos ) {
- HRESULT _hr = put_Position(pPos);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(265)
- inline enum StreamTypeEnum _Stream::GetType ( ) {
- enum StreamTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(266)
- inline void _Stream::PutType ( enum StreamTypeEnum ptype ) {
- HRESULT _hr = put_Type(ptype);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(267)
- inline enum LineSeparatorEnum _Stream::GetLineSeparator ( ) {
- enum LineSeparatorEnum _result;
- HRESULT _hr = get_LineSeparator(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(268)
- inline void _Stream::PutLineSeparator ( enum LineSeparatorEnum pLS ) {
- HRESULT _hr = put_LineSeparator(pLS);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(269)
- inline enum ObjectStateEnum _Stream::GetState ( ) {
- enum ObjectStateEnum _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(270)
- inline enum ConnectModeEnum _Stream::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(271)
- inline void _Stream::PutMode ( enum ConnectModeEnum pMode ) {
- HRESULT _hr = put_Mode(pMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(272)
- inline _bstr_t _Stream::GetCharset ( ) {
- BSTR _result;
- HRESULT _hr = get_Charset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(273)
- inline void _Stream::PutCharset ( _bstr_t pbstrCharset ) {
- HRESULT _hr = put_Charset(pbstrCharset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(274)
- inline _variant_t _Stream::Read ( long NumBytes ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_Read(NumBytes, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(275)
- inline HRESULT _Stream::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
- HRESULT _hr = raw_Open(Source, Mode, Options, UserName, Password);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(276)
- inline HRESULT _Stream::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(277)
- inline HRESULT _Stream::SkipLine ( ) {
- HRESULT _hr = raw_SkipLine();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(278)
- inline HRESULT _Stream::Write ( const _variant_t & Buffer ) {
- HRESULT _hr = raw_Write(Buffer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(279)
- inline HRESULT _Stream::SetEOS ( ) {
- HRESULT _hr = raw_SetEOS();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(280)
- inline HRESULT _Stream::CopyTo ( struct _Stream * DestStream, long CharNumber ) {
- HRESULT _hr = raw_CopyTo(DestStream, CharNumber);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(281)
- inline HRESULT _Stream::Flush ( ) {
- HRESULT _hr = raw_Flush();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(282)
- inline HRESULT _Stream::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options ) {
- HRESULT _hr = raw_SaveToFile(FileName, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(283)
- inline HRESULT _Stream::LoadFromFile ( _bstr_t FileName ) {
- HRESULT _hr = raw_LoadFromFile(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(284)
- inline _bstr_t _Stream::ReadText ( long NumChars ) {
- BSTR _result;
- HRESULT _hr = raw_ReadText(NumChars, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(285)
- inline HRESULT _Stream::WriteText ( _bstr_t Data, enum StreamWriteEnum Options ) {
- HRESULT _hr = raw_WriteText(Data, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(286)
- inline HRESULT _Stream::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ADORecordConstruction wrapper method implementations
- //
- #pragma implementation_key(287)
- inline IUnknownPtr ADORecordConstruction::GetRow ( ) {
- IUnknown * _result;
- HRESULT _hr = get_Row(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(288)
- inline void ADORecordConstruction::PutRow ( IUnknown * ppRow ) {
- HRESULT _hr = put_Row(ppRow);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(289)
- inline void ADORecordConstruction::PutParentRow ( IUnknown * _arg1 ) {
- HRESULT _hr = put_ParentRow(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface ADOStreamConstruction wrapper method implementations
- //
- #pragma implementation_key(290)
- inline IUnknownPtr ADOStreamConstruction::GetStream ( ) {
- IUnknown * _result;
- HRESULT _hr = get_Stream(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(291)
- inline void ADOStreamConstruction::PutStream ( IUnknown * ppStm ) {
- HRESULT _hr = put_Stream(ppStm);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface ADOCommandConstruction wrapper method implementations
- //
- #pragma implementation_key(292)
- inline IUnknownPtr ADOCommandConstruction::GetOLEDBCommand ( ) {
- IUnknown * _result;
- HRESULT _hr = get_OLEDBCommand(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(293)
- inline void ADOCommandConstruction::PutOLEDBCommand ( IUnknown * ppOLEDBCommand ) {
- HRESULT _hr = put_OLEDBCommand(ppOLEDBCommand);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface ADORecordsetConstruction wrapper method implementations
- //
- #pragma implementation_key(294)
- inline IUnknownPtr ADORecordsetConstruction::GetRowset ( ) {
- IUnknown * _result;
- HRESULT _hr = get_Rowset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(295)
- inline void ADORecordsetConstruction::PutRowset ( IUnknown * ppRowset ) {
- HRESULT _hr = put_Rowset(ppRowset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(296)
- inline ADO_LONGPTR ADORecordsetConstruction::GetChapter ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_Chapter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(297)
- inline void ADORecordsetConstruction::PutChapter ( ADO_LONGPTR plChapter ) {
- HRESULT _hr = put_Chapter(plChapter);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(298)
- inline IUnknownPtr ADORecordsetConstruction::GetRowPosition ( ) {
- IUnknown * _result;
- HRESULT _hr = get_RowPosition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(299)
- inline void ADORecordsetConstruction::PutRowPosition ( IUnknown * ppRowPos ) {
- HRESULT _hr = put_RowPosition(ppRowPos);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Field15 wrapper method implementations
- //
- #pragma implementation_key(300)
- inline long Field15::GetActualSize ( ) {
- long _result;
- HRESULT _hr = get_ActualSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(301)
- inline long Field15::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(302)
- inline long Field15::GetDefinedSize ( ) {
- long _result;
- HRESULT _hr = get_DefinedSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(303)
- inline _bstr_t Field15::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(304)
- inline enum DataTypeEnum Field15::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(305)
- inline _variant_t Field15::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(306)
- inline void Field15::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(307)
- inline unsigned char Field15::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(308)
- inline unsigned char Field15::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(309)
- inline HRESULT Field15::AppendChunk ( const _variant_t & Data ) {
- HRESULT _hr = raw_AppendChunk(Data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(310)
- inline _variant_t Field15::GetChunk ( long Length ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetChunk(Length, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(311)
- inline _variant_t Field15::GetOriginalValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_OriginalValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(312)
- inline _variant_t Field15::GetUnderlyingValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_UnderlyingValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface ConnectionEventsVt_Deprecated wrapper method implementations
- //
- #pragma implementation_key(313)
- inline HRESULT ConnectionEventsVt_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_InfoMessage(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(314)
- inline HRESULT ConnectionEventsVt_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_BeginTransComplete(TransactionLevel, pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(315)
- inline HRESULT ConnectionEventsVt_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_CommitTransComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(316)
- inline HRESULT ConnectionEventsVt_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_RollbackTransComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(317)
- 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 ) {
- HRESULT _hr = raw_WillExecute(Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(318)
- 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 ) {
- HRESULT _hr = raw_ExecuteComplete(RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(319)
- inline HRESULT ConnectionEventsVt_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_WillConnect(ConnectionString, UserID, Password, Options, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(320)
- inline HRESULT ConnectionEventsVt_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_ConnectComplete(pError, adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(321)
- inline HRESULT ConnectionEventsVt_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _hr = raw_Disconnect(adStatus, pConnection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Connection15_Deprecated wrapper method implementations
- //
- #pragma implementation_key(322)
- inline _bstr_t Connection15_Deprecated::GetConnectionString ( ) {
- BSTR _result;
- HRESULT _hr = get_ConnectionString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(323)
- inline void Connection15_Deprecated::PutConnectionString ( _bstr_t pbstr ) {
- HRESULT _hr = put_ConnectionString(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(324)
- inline long Connection15_Deprecated::GetCommandTimeout ( ) {
- long _result;
- HRESULT _hr = get_CommandTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(325)
- inline void Connection15_Deprecated::PutCommandTimeout ( long plTimeout ) {
- HRESULT _hr = put_CommandTimeout(plTimeout);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(326)
- inline long Connection15_Deprecated::GetConnectionTimeout ( ) {
- long _result;
- HRESULT _hr = get_ConnectionTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(327)
- inline void Connection15_Deprecated::PutConnectionTimeout ( long plTimeout ) {
- HRESULT _hr = put_ConnectionTimeout(plTimeout);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(328)
- inline _bstr_t Connection15_Deprecated::GetVersion ( ) {
- BSTR _result;
- HRESULT _hr = get_Version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(329)
- inline HRESULT Connection15_Deprecated::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(330)
- inline _Recordset_DeprecatedPtr Connection15_Deprecated::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_Execute(CommandText, RecordsAffected, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(331)
- inline long Connection15_Deprecated::BeginTrans ( ) {
- long _result;
- HRESULT _hr = raw_BeginTrans(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(332)
- inline HRESULT Connection15_Deprecated::CommitTrans ( ) {
- HRESULT _hr = raw_CommitTrans();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(333)
- inline HRESULT Connection15_Deprecated::RollbackTrans ( ) {
- HRESULT _hr = raw_RollbackTrans();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(334)
- inline HRESULT Connection15_Deprecated::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options ) {
- HRESULT _hr = raw_Open(ConnectionString, UserID, Password, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(335)
- inline ErrorsPtr Connection15_Deprecated::GetErrors ( ) {
- struct Errors * _result;
- HRESULT _hr = get_Errors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ErrorsPtr(_result, false);
- }
- #pragma implementation_key(336)
- inline _bstr_t Connection15_Deprecated::GetDefaultDatabase ( ) {
- BSTR _result;
- HRESULT _hr = get_DefaultDatabase(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(337)
- inline void Connection15_Deprecated::PutDefaultDatabase ( _bstr_t pbstr ) {
- HRESULT _hr = put_DefaultDatabase(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(338)
- inline enum IsolationLevelEnum Connection15_Deprecated::GetIsolationLevel ( ) {
- enum IsolationLevelEnum _result;
- HRESULT _hr = get_IsolationLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(339)
- inline void Connection15_Deprecated::PutIsolationLevel ( enum IsolationLevelEnum Level ) {
- HRESULT _hr = put_IsolationLevel(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(340)
- inline long Connection15_Deprecated::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(341)
- inline void Connection15_Deprecated::PutAttributes ( long plAttr ) {
- HRESULT _hr = put_Attributes(plAttr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(342)
- inline enum CursorLocationEnum Connection15_Deprecated::GetCursorLocation ( ) {
- enum CursorLocationEnum _result;
- HRESULT _hr = get_CursorLocation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(343)
- inline void Connection15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
- HRESULT _hr = put_CursorLocation(plCursorLoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(344)
- inline enum ConnectModeEnum Connection15_Deprecated::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(345)
- inline void Connection15_Deprecated::PutMode ( enum ConnectModeEnum plMode ) {
- HRESULT _hr = put_Mode(plMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(346)
- inline _bstr_t Connection15_Deprecated::GetProvider ( ) {
- BSTR _result;
- HRESULT _hr = get_Provider(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(347)
- inline void Connection15_Deprecated::PutProvider ( _bstr_t pbstr ) {
- HRESULT _hr = put_Provider(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(348)
- inline long Connection15_Deprecated::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(349)
- inline _Recordset_DeprecatedPtr Connection15_Deprecated::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_OpenSchema(Schema, Restrictions, SchemaID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- //
- // interface _Connection_Deprecated wrapper method implementations
- //
- #pragma implementation_key(350)
- inline HRESULT _Connection_Deprecated::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset15_Deprecated wrapper method implementations
- //
- #pragma implementation_key(351)
- inline PositionEnum_Param Recordset15_Deprecated::GetAbsolutePosition ( ) {
- PositionEnum_Param _result;
- HRESULT _hr = get_AbsolutePosition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(352)
- inline void Recordset15_Deprecated::PutAbsolutePosition ( PositionEnum_Param pl ) {
- HRESULT _hr = put_AbsolutePosition(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(353)
- inline void Recordset15_Deprecated::PutRefActiveConnection ( IDispatch * pvar ) {
- HRESULT _hr = putref_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(354)
- inline void Recordset15_Deprecated::PutActiveConnection ( const _variant_t & pvar ) {
- HRESULT _hr = put_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(355)
- inline _variant_t Recordset15_Deprecated::GetActiveConnection ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(356)
- inline VARIANT_BOOL Recordset15_Deprecated::GetBOF ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_BOF(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(357)
- inline _variant_t Recordset15_Deprecated::GetBookmark ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Bookmark(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(358)
- inline void Recordset15_Deprecated::PutBookmark ( const _variant_t & pvBookmark ) {
- HRESULT _hr = put_Bookmark(pvBookmark);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(359)
- inline long Recordset15_Deprecated::GetCacheSize ( ) {
- long _result;
- HRESULT _hr = get_CacheSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(360)
- inline void Recordset15_Deprecated::PutCacheSize ( long pl ) {
- HRESULT _hr = put_CacheSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(361)
- inline enum CursorTypeEnum Recordset15_Deprecated::GetCursorType ( ) {
- enum CursorTypeEnum _result;
- HRESULT _hr = get_CursorType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(362)
- inline void Recordset15_Deprecated::PutCursorType ( enum CursorTypeEnum plCursorType ) {
- HRESULT _hr = put_CursorType(plCursorType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(363)
- inline VARIANT_BOOL Recordset15_Deprecated::GetadoEOF ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_adoEOF(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(364)
- inline Fields_DeprecatedPtr Recordset15_Deprecated::GetFields ( ) {
- struct Fields_Deprecated * _result;
- HRESULT _hr = get_Fields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return Fields_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(365)
- inline enum LockTypeEnum Recordset15_Deprecated::GetLockType ( ) {
- enum LockTypeEnum _result;
- HRESULT _hr = get_LockType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(366)
- inline void Recordset15_Deprecated::PutLockType ( enum LockTypeEnum plLockType ) {
- HRESULT _hr = put_LockType(plLockType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(367)
- inline ADO_LONGPTR Recordset15_Deprecated::GetMaxRecords ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_MaxRecords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(368)
- inline void Recordset15_Deprecated::PutMaxRecords ( ADO_LONGPTR plMaxRecords ) {
- HRESULT _hr = put_MaxRecords(plMaxRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(369)
- inline ADO_LONGPTR Recordset15_Deprecated::GetRecordCount ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_RecordCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(370)
- inline void Recordset15_Deprecated::PutRefSource ( IDispatch * pvSource ) {
- HRESULT _hr = putref_Source(pvSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(371)
- inline void Recordset15_Deprecated::PutSource ( _bstr_t pvSource ) {
- HRESULT _hr = put_Source(pvSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(372)
- inline _variant_t Recordset15_Deprecated::GetSource ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Source(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(373)
- inline HRESULT Recordset15_Deprecated::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
- HRESULT _hr = raw_AddNew(FieldList, Values);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(374)
- inline HRESULT Recordset15_Deprecated::CancelUpdate ( ) {
- HRESULT _hr = raw_CancelUpdate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(375)
- inline HRESULT Recordset15_Deprecated::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(376)
- inline HRESULT Recordset15_Deprecated::Delete ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_Delete(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(377)
- inline _variant_t Recordset15_Deprecated::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(378)
- inline HRESULT Recordset15_Deprecated::Move ( ADO_LONGPTR NumRecords, const _variant_t & Start ) {
- HRESULT _hr = raw_Move(NumRecords, Start);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(379)
- inline HRESULT Recordset15_Deprecated::MoveNext ( ) {
- HRESULT _hr = raw_MoveNext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(380)
- inline HRESULT Recordset15_Deprecated::MovePrevious ( ) {
- HRESULT _hr = raw_MovePrevious();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(381)
- inline HRESULT Recordset15_Deprecated::MoveFirst ( ) {
- HRESULT _hr = raw_MoveFirst();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(382)
- inline HRESULT Recordset15_Deprecated::MoveLast ( ) {
- HRESULT _hr = raw_MoveLast();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(383)
- inline HRESULT Recordset15_Deprecated::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
- HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(384)
- inline HRESULT Recordset15_Deprecated::Requery ( long Options ) {
- HRESULT _hr = raw_Requery(Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(385)
- inline HRESULT Recordset15_Deprecated::_xResync ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw__xResync(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(386)
- inline HRESULT Recordset15_Deprecated::Update ( const _variant_t & Fields, const _variant_t & Values ) {
- HRESULT _hr = raw_Update(Fields, Values);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(387)
- inline PositionEnum_Param Recordset15_Deprecated::GetAbsolutePage ( ) {
- PositionEnum_Param _result;
- HRESULT _hr = get_AbsolutePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(388)
- inline void Recordset15_Deprecated::PutAbsolutePage ( PositionEnum_Param pl ) {
- HRESULT _hr = put_AbsolutePage(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(389)
- inline enum EditModeEnum Recordset15_Deprecated::GetEditMode ( ) {
- enum EditModeEnum _result;
- HRESULT _hr = get_EditMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(390)
- inline _variant_t Recordset15_Deprecated::GetFilter ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Filter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(391)
- inline void Recordset15_Deprecated::PutFilter ( const _variant_t & Criteria ) {
- HRESULT _hr = put_Filter(Criteria);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(392)
- inline ADO_LONGPTR Recordset15_Deprecated::GetPageCount ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_PageCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(393)
- inline long Recordset15_Deprecated::GetPageSize ( ) {
- long _result;
- HRESULT _hr = get_PageSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(394)
- inline void Recordset15_Deprecated::PutPageSize ( long pl ) {
- HRESULT _hr = put_PageSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(395)
- inline _bstr_t Recordset15_Deprecated::GetSort ( ) {
- BSTR _result;
- HRESULT _hr = get_Sort(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(396)
- inline void Recordset15_Deprecated::PutSort ( _bstr_t Criteria ) {
- HRESULT _hr = put_Sort(Criteria);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(397)
- inline long Recordset15_Deprecated::GetStatus ( ) {
- long _result;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(398)
- inline long Recordset15_Deprecated::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(399)
- inline _Recordset_DeprecatedPtr Recordset15_Deprecated::_xClone ( ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw__xClone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(400)
- inline HRESULT Recordset15_Deprecated::UpdateBatch ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_UpdateBatch(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(401)
- inline HRESULT Recordset15_Deprecated::CancelBatch ( enum AffectEnum AffectRecords ) {
- HRESULT _hr = raw_CancelBatch(AffectRecords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(402)
- inline enum CursorLocationEnum Recordset15_Deprecated::GetCursorLocation ( ) {
- enum CursorLocationEnum _result;
- HRESULT _hr = get_CursorLocation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(403)
- inline void Recordset15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
- HRESULT _hr = put_CursorLocation(plCursorLoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(404)
- inline _Recordset_DeprecatedPtr Recordset15_Deprecated::NextRecordset ( VARIANT * RecordsAffected ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_NextRecordset(RecordsAffected, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(405)
- inline VARIANT_BOOL Recordset15_Deprecated::Supports ( enum CursorOptionEnum CursorOptions ) {
- VARIANT_BOOL _result;
- HRESULT _hr = raw_Supports(CursorOptions, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(406)
- inline _variant_t Recordset15_Deprecated::GetCollect ( const _variant_t & Index ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Collect(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(407)
- inline void Recordset15_Deprecated::PutCollect ( const _variant_t & Index, const _variant_t & pvar ) {
- HRESULT _hr = put_Collect(Index, pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(408)
- inline enum MarshalOptionsEnum Recordset15_Deprecated::GetMarshalOptions ( ) {
- enum MarshalOptionsEnum _result;
- HRESULT _hr = get_MarshalOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(409)
- inline void Recordset15_Deprecated::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal ) {
- HRESULT _hr = put_MarshalOptions(peMarshal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(410)
- inline HRESULT Recordset15_Deprecated::Find ( _bstr_t Criteria, ADO_LONGPTR SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start ) {
- HRESULT _hr = raw_Find(Criteria, SkipRecords, SearchDirection, Start);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset20_Deprecated wrapper method implementations
- //
- #pragma implementation_key(411)
- inline HRESULT Recordset20_Deprecated::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(412)
- inline IUnknownPtr Recordset20_Deprecated::GetDataSource ( ) {
- IUnknown * _result;
- HRESULT _hr = get_DataSource(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(413)
- inline void Recordset20_Deprecated::PutRefDataSource ( IUnknown * ppunkDataSource ) {
- HRESULT _hr = putref_DataSource(ppunkDataSource);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(414)
- inline HRESULT Recordset20_Deprecated::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat ) {
- HRESULT _hr = raw__xSave(FileName, PersistFormat);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(415)
- inline IDispatchPtr Recordset20_Deprecated::GetActiveCommand ( ) {
- IDispatch * _result;
- HRESULT _hr = get_ActiveCommand(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(416)
- inline void Recordset20_Deprecated::PutStayInSync ( VARIANT_BOOL pbStayInSync ) {
- HRESULT _hr = put_StayInSync(pbStayInSync);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(417)
- inline VARIANT_BOOL Recordset20_Deprecated::GetStayInSync ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_StayInSync(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(418)
- inline _bstr_t Recordset20_Deprecated::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr ) {
- BSTR _result;
- HRESULT _hr = raw_GetString(StringFormat, NumRows, ColumnDelimeter, RowDelimeter, NullExpr, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(419)
- inline _bstr_t Recordset20_Deprecated::GetDataMember ( ) {
- BSTR _result;
- HRESULT _hr = get_DataMember(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(420)
- inline void Recordset20_Deprecated::PutDataMember ( _bstr_t pbstrDataMember ) {
- HRESULT _hr = put_DataMember(pbstrDataMember);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(421)
- inline enum CompareEnum Recordset20_Deprecated::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 ) {
- enum CompareEnum _result;
- HRESULT _hr = raw_CompareBookmarks(Bookmark1, Bookmark2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(422)
- inline _Recordset_DeprecatedPtr Recordset20_Deprecated::Clone ( enum LockTypeEnum LockType ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_Clone(LockType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(423)
- inline HRESULT Recordset20_Deprecated::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues ) {
- HRESULT _hr = raw_Resync(AffectRecords, ResyncValues);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Recordset21_Deprecated wrapper method implementations
- //
- #pragma implementation_key(424)
- inline HRESULT Recordset21_Deprecated::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption ) {
- HRESULT _hr = raw_Seek(KeyValues, SeekOption);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(425)
- inline void Recordset21_Deprecated::PutIndex ( _bstr_t pbstrIndex ) {
- HRESULT _hr = put_Index(pbstrIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(426)
- inline _bstr_t Recordset21_Deprecated::GetIndex ( ) {
- BSTR _result;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface _Recordset_Deprecated wrapper method implementations
- //
- #pragma implementation_key(427)
- inline HRESULT _Recordset_Deprecated::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat ) {
- HRESULT _hr = raw_Save(Destination, PersistFormat);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Fields15_Deprecated wrapper method implementations
- //
- #pragma implementation_key(428)
- inline Field_DeprecatedPtr Fields15_Deprecated::GetItem ( const _variant_t & Index ) {
- struct Field_Deprecated * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return Field_DeprecatedPtr(_result, false);
- }
- //
- // interface Fields20_Deprecated wrapper method implementations
- //
- #pragma implementation_key(429)
- inline HRESULT Fields20_Deprecated::_Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib ) {
- HRESULT _hr = raw__Append(Name, Type, DefinedSize, Attrib);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(430)
- inline HRESULT Fields20_Deprecated::Delete ( const _variant_t & Index ) {
- HRESULT _hr = raw_Delete(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Fields_Deprecated wrapper method implementations
- //
- #pragma implementation_key(431)
- inline HRESULT Fields_Deprecated::Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue ) {
- HRESULT _hr = raw_Append(Name, Type, DefinedSize, Attrib, FieldValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(432)
- inline HRESULT Fields_Deprecated::Update ( ) {
- HRESULT _hr = raw_Update();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(433)
- inline HRESULT Fields_Deprecated::Resync ( enum ResyncEnum ResyncValues ) {
- HRESULT _hr = raw_Resync(ResyncValues);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(434)
- inline HRESULT Fields_Deprecated::CancelUpdate ( ) {
- HRESULT _hr = raw_CancelUpdate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Field20_Deprecated wrapper method implementations
- //
- #pragma implementation_key(435)
- inline ADO_LONGPTR Field20_Deprecated::GetActualSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_ActualSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(436)
- inline long Field20_Deprecated::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(437)
- inline ADO_LONGPTR Field20_Deprecated::GetDefinedSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_DefinedSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(438)
- inline _bstr_t Field20_Deprecated::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(439)
- inline enum DataTypeEnum Field20_Deprecated::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(440)
- inline _variant_t Field20_Deprecated::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(441)
- inline void Field20_Deprecated::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(442)
- inline unsigned char Field20_Deprecated::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(443)
- inline unsigned char Field20_Deprecated::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(444)
- inline HRESULT Field20_Deprecated::AppendChunk ( const _variant_t & Data ) {
- HRESULT _hr = raw_AppendChunk(Data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(445)
- inline _variant_t Field20_Deprecated::GetChunk ( long Length ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetChunk(Length, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(446)
- inline _variant_t Field20_Deprecated::GetOriginalValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_OriginalValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(447)
- inline _variant_t Field20_Deprecated::GetUnderlyingValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_UnderlyingValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(448)
- inline IUnknownPtr Field20_Deprecated::GetDataFormat ( ) {
- IUnknown * _result;
- HRESULT _hr = get_DataFormat(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(449)
- inline void Field20_Deprecated::PutRefDataFormat ( IUnknown * ppiDF ) {
- HRESULT _hr = putref_DataFormat(ppiDF);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(450)
- inline void Field20_Deprecated::PutPrecision ( unsigned char pbPrecision ) {
- HRESULT _hr = put_Precision(pbPrecision);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(451)
- inline void Field20_Deprecated::PutNumericScale ( unsigned char pbNumericScale ) {
- HRESULT _hr = put_NumericScale(pbNumericScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(452)
- inline void Field20_Deprecated::PutType ( enum DataTypeEnum pDataType ) {
- HRESULT _hr = put_Type(pDataType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(453)
- inline void Field20_Deprecated::PutDefinedSize ( ADO_LONGPTR pl ) {
- HRESULT _hr = put_DefinedSize(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(454)
- inline void Field20_Deprecated::PutAttributes ( long pl ) {
- HRESULT _hr = put_Attributes(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Field_Deprecated wrapper method implementations
- //
- #pragma implementation_key(455)
- inline long Field_Deprecated::GetStatus ( ) {
- long _result;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface Command15_Deprecated wrapper method implementations
- //
- #pragma implementation_key(456)
- inline _Connection_DeprecatedPtr Command15_Deprecated::GetActiveConnection ( ) {
- struct _Connection_Deprecated * _result;
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Connection_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(457)
- inline void Command15_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * ppvObject ) {
- HRESULT _hr = putref_ActiveConnection(ppvObject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(458)
- inline void Command15_Deprecated::PutActiveConnection ( const _variant_t & ppvObject ) {
- HRESULT _hr = put_ActiveConnection(ppvObject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(459)
- inline _bstr_t Command15_Deprecated::GetCommandText ( ) {
- BSTR _result;
- HRESULT _hr = get_CommandText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(460)
- inline void Command15_Deprecated::PutCommandText ( _bstr_t pbstr ) {
- HRESULT _hr = put_CommandText(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(461)
- inline long Command15_Deprecated::GetCommandTimeout ( ) {
- long _result;
- HRESULT _hr = get_CommandTimeout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(462)
- inline void Command15_Deprecated::PutCommandTimeout ( long pl ) {
- HRESULT _hr = put_CommandTimeout(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(463)
- inline VARIANT_BOOL Command15_Deprecated::GetPrepared ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_Prepared(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(464)
- inline void Command15_Deprecated::PutPrepared ( VARIANT_BOOL pfPrepared ) {
- HRESULT _hr = put_Prepared(pfPrepared);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(465)
- inline _Recordset_DeprecatedPtr Command15_Deprecated::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_Execute(RecordsAffected, Parameters, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(466)
- inline _Parameter_DeprecatedPtr Command15_Deprecated::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, ADO_LONGPTR Size, const _variant_t & Value ) {
- struct _Parameter_Deprecated * _result;
- HRESULT _hr = raw_CreateParameter(Name, Type, Direction, Size, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Parameter_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(467)
- inline Parameters_DeprecatedPtr Command15_Deprecated::GetParameters ( ) {
- struct Parameters_Deprecated * _result;
- HRESULT _hr = get_Parameters(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return Parameters_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(468)
- inline void Command15_Deprecated::PutCommandType ( enum CommandTypeEnum plCmdType ) {
- HRESULT _hr = put_CommandType(plCmdType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(469)
- inline enum CommandTypeEnum Command15_Deprecated::GetCommandType ( ) {
- enum CommandTypeEnum _result;
- HRESULT _hr = get_CommandType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(470)
- inline _bstr_t Command15_Deprecated::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(471)
- inline void Command15_Deprecated::PutName ( _bstr_t pbstrName ) {
- HRESULT _hr = put_Name(pbstrName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Command25_Deprecated wrapper method implementations
- //
- #pragma implementation_key(472)
- inline long Command25_Deprecated::GetState ( ) {
- long _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(473)
- inline HRESULT Command25_Deprecated::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _Command_Deprecated wrapper method implementations
- //
- #pragma implementation_key(474)
- inline void _Command_Deprecated::PutRefCommandStream ( IUnknown * pvStream ) {
- HRESULT _hr = putref_CommandStream(pvStream);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(475)
- inline _variant_t _Command_Deprecated::GetCommandStream ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_CommandStream(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(476)
- inline void _Command_Deprecated::PutDialect ( _bstr_t pbstrDialect ) {
- HRESULT _hr = put_Dialect(pbstrDialect);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(477)
- inline _bstr_t _Command_Deprecated::GetDialect ( ) {
- BSTR _result;
- HRESULT _hr = get_Dialect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(478)
- inline void _Command_Deprecated::PutNamedParameters ( VARIANT_BOOL pfNamedParameters ) {
- HRESULT _hr = put_NamedParameters(pfNamedParameters);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(479)
- inline VARIANT_BOOL _Command_Deprecated::GetNamedParameters ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_NamedParameters(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface _Parameter_Deprecated wrapper method implementations
- //
- #pragma implementation_key(480)
- inline _bstr_t _Parameter_Deprecated::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(481)
- inline void _Parameter_Deprecated::PutName ( _bstr_t pbstr ) {
- HRESULT _hr = put_Name(pbstr);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(482)
- inline _variant_t _Parameter_Deprecated::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(483)
- inline void _Parameter_Deprecated::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(484)
- inline enum DataTypeEnum _Parameter_Deprecated::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(485)
- inline void _Parameter_Deprecated::PutType ( enum DataTypeEnum psDataType ) {
- HRESULT _hr = put_Type(psDataType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(486)
- inline void _Parameter_Deprecated::PutDirection ( enum ParameterDirectionEnum plParmDirection ) {
- HRESULT _hr = put_Direction(plParmDirection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(487)
- inline enum ParameterDirectionEnum _Parameter_Deprecated::GetDirection ( ) {
- enum ParameterDirectionEnum _result;
- HRESULT _hr = get_Direction(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(488)
- inline void _Parameter_Deprecated::PutPrecision ( unsigned char pbPrecision ) {
- HRESULT _hr = put_Precision(pbPrecision);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(489)
- inline unsigned char _Parameter_Deprecated::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(490)
- inline void _Parameter_Deprecated::PutNumericScale ( unsigned char pbScale ) {
- HRESULT _hr = put_NumericScale(pbScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(491)
- inline unsigned char _Parameter_Deprecated::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(492)
- inline void _Parameter_Deprecated::PutSize ( ADO_LONGPTR pl ) {
- HRESULT _hr = put_Size(pl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(493)
- inline ADO_LONGPTR _Parameter_Deprecated::GetSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(494)
- inline HRESULT _Parameter_Deprecated::AppendChunk ( const _variant_t & Val ) {
- HRESULT _hr = raw_AppendChunk(Val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(495)
- inline long _Parameter_Deprecated::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(496)
- inline void _Parameter_Deprecated::PutAttributes ( long plParmAttribs ) {
- HRESULT _hr = put_Attributes(plParmAttribs);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface Parameters_Deprecated wrapper method implementations
- //
- #pragma implementation_key(497)
- inline _Parameter_DeprecatedPtr Parameters_Deprecated::GetItem ( const _variant_t & Index ) {
- struct _Parameter_Deprecated * _result;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Parameter_DeprecatedPtr(_result, false);
- }
- //
- // interface RecordsetEventsVt_Deprecated wrapper method implementations
- //
- #pragma implementation_key(498)
- inline HRESULT RecordsetEventsVt_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_WillChangeField(cFields, Fields, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(499)
- inline HRESULT RecordsetEventsVt_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_FieldChangeComplete(cFields, Fields, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(500)
- inline HRESULT RecordsetEventsVt_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_WillChangeRecord(adReason, cRecords, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(501)
- inline HRESULT RecordsetEventsVt_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_RecordChangeComplete(adReason, cRecords, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(502)
- inline HRESULT RecordsetEventsVt_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_WillChangeRecordset(adReason, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(503)
- inline HRESULT RecordsetEventsVt_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_RecordsetChangeComplete(adReason, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(504)
- inline HRESULT RecordsetEventsVt_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_WillMove(adReason, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(505)
- inline HRESULT RecordsetEventsVt_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_MoveComplete(adReason, pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(506)
- inline HRESULT RecordsetEventsVt_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_EndOfRecordset(fMoreData, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(507)
- inline HRESULT RecordsetEventsVt_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_FetchProgress(Progress, MaxProgress, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(508)
- inline HRESULT RecordsetEventsVt_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _hr = raw_FetchComplete(pError, adStatus, pRecordset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // dispinterface ConnectionEvents_Deprecated wrapper method implementations
- //
- #pragma implementation_key(509)
- inline HRESULT ConnectionEvents_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(510)
- inline HRESULT ConnectionEvents_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", TransactionLevel, pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(511)
- inline HRESULT ConnectionEvents_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(512)
- inline HRESULT ConnectionEvents_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(513)
- 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 ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4008\x4003\x4003\x4003\x4003\x0009\x0009\x0009", Source, CursorType, LockType, Options, adStatus, pCommand, pRecordset, pConnection);
- return _result;
- }
- #pragma implementation_key(514)
- 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 ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009\x0009\x0009", RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection);
- return _result;
- }
- #pragma implementation_key(515)
- inline HRESULT ConnectionEvents_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4008\x4008\x4008\x4003\x4003\x0009", ConnectionString, UserID, Password, Options, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(516)
- inline HRESULT ConnectionEvents_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pConnection);
- return _result;
- }
- #pragma implementation_key(517)
- inline HRESULT ConnectionEvents_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x4003\x0009", adStatus, pConnection);
- return _result;
- }
- //
- // dispinterface RecordsetEvents_Deprecated wrapper method implementations
- //
- #pragma implementation_key(518)
- inline HRESULT RecordsetEvents_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x000c\x4003\x0009", cFields, &Fields, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(519)
- inline HRESULT RecordsetEvents_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x000c\x0009\x4003\x0009", cFields, &Fields, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(520)
- inline HRESULT RecordsetEvents_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x4003\x0009", adReason, cRecords, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(521)
- inline HRESULT RecordsetEvents_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x0009\x4003\x0009", adReason, cRecords, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(522)
- inline HRESULT RecordsetEvents_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(523)
- inline HRESULT RecordsetEvents_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(524)
- inline HRESULT RecordsetEvents_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x4003\x0009", adReason, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(525)
- inline HRESULT RecordsetEvents_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0009\x4003\x0009", adReason, pError, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(526)
- inline HRESULT RecordsetEvents_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x400b\x4003\x0009", fMoreData, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(527)
- inline HRESULT RecordsetEvents_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0003\x0003\x4003\x0009", Progress, MaxProgress, adStatus, pRecordset);
- return _result;
- }
- #pragma implementation_key(528)
- inline HRESULT RecordsetEvents_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset ) {
- HRESULT _result;
- _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
- L"\x0009\x4003\x0009", pError, adStatus, pRecordset);
- return _result;
- }
- //
- // interface _Record_Deprecated wrapper method implementations
- //
- #pragma implementation_key(529)
- inline _variant_t _Record_Deprecated::GetActiveConnection ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_ActiveConnection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(530)
- inline void _Record_Deprecated::PutActiveConnection ( _bstr_t pvar ) {
- HRESULT _hr = put_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(531)
- inline void _Record_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * pvar ) {
- HRESULT _hr = putref_ActiveConnection(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(532)
- inline enum ObjectStateEnum _Record_Deprecated::GetState ( ) {
- enum ObjectStateEnum _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(533)
- inline _variant_t _Record_Deprecated::GetSource ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Source(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(534)
- inline void _Record_Deprecated::PutSource ( _bstr_t pvar ) {
- HRESULT _hr = put_Source(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(535)
- inline void _Record_Deprecated::PutRefSource ( IDispatch * pvar ) {
- HRESULT _hr = putref_Source(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(536)
- inline enum ConnectModeEnum _Record_Deprecated::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(537)
- inline void _Record_Deprecated::PutMode ( enum ConnectModeEnum pMode ) {
- HRESULT _hr = put_Mode(pMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(538)
- inline _bstr_t _Record_Deprecated::GetParentURL ( ) {
- BSTR _result;
- HRESULT _hr = get_ParentURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(539)
- inline _bstr_t _Record_Deprecated::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async ) {
- BSTR _result;
- HRESULT _hr = raw_MoveRecord(Source, Destination, UserName, Password, Options, Async, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(540)
- inline _bstr_t _Record_Deprecated::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async ) {
- BSTR _result;
- HRESULT _hr = raw_CopyRecord(Source, Destination, UserName, Password, Options, Async, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(541)
- inline HRESULT _Record_Deprecated::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async ) {
- HRESULT _hr = raw_DeleteRecord(Source, Async);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(542)
- 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 ) {
- HRESULT _hr = raw_Open(Source, ActiveConnection, Mode, CreateOptions, Options, UserName, Password);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(543)
- inline HRESULT _Record_Deprecated::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(544)
- inline Fields_DeprecatedPtr _Record_Deprecated::GetFields ( ) {
- struct Fields_Deprecated * _result;
- HRESULT _hr = get_Fields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return Fields_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(545)
- inline enum RecordTypeEnum _Record_Deprecated::GetRecordType ( ) {
- enum RecordTypeEnum _result;
- HRESULT _hr = get_RecordType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(546)
- inline _Recordset_DeprecatedPtr _Record_Deprecated::GetChildren ( ) {
- struct _Recordset_Deprecated * _result;
- HRESULT _hr = raw_GetChildren(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _Recordset_DeprecatedPtr(_result, false);
- }
- #pragma implementation_key(547)
- inline HRESULT _Record_Deprecated::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface _Stream_Deprecated wrapper method implementations
- //
- #pragma implementation_key(548)
- inline ADO_LONGPTR _Stream_Deprecated::GetSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(549)
- inline VARIANT_BOOL _Stream_Deprecated::GetEOS ( ) {
- VARIANT_BOOL _result;
- HRESULT _hr = get_EOS(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(550)
- inline ADO_LONGPTR _Stream_Deprecated::GetPosition ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(551)
- inline void _Stream_Deprecated::PutPosition ( ADO_LONGPTR pPos ) {
- HRESULT _hr = put_Position(pPos);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(552)
- inline enum StreamTypeEnum _Stream_Deprecated::GetType ( ) {
- enum StreamTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(553)
- inline void _Stream_Deprecated::PutType ( enum StreamTypeEnum ptype ) {
- HRESULT _hr = put_Type(ptype);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(554)
- inline enum LineSeparatorEnum _Stream_Deprecated::GetLineSeparator ( ) {
- enum LineSeparatorEnum _result;
- HRESULT _hr = get_LineSeparator(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(555)
- inline void _Stream_Deprecated::PutLineSeparator ( enum LineSeparatorEnum pLS ) {
- HRESULT _hr = put_LineSeparator(pLS);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(556)
- inline enum ObjectStateEnum _Stream_Deprecated::GetState ( ) {
- enum ObjectStateEnum _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(557)
- inline enum ConnectModeEnum _Stream_Deprecated::GetMode ( ) {
- enum ConnectModeEnum _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(558)
- inline void _Stream_Deprecated::PutMode ( enum ConnectModeEnum pMode ) {
- HRESULT _hr = put_Mode(pMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(559)
- inline _bstr_t _Stream_Deprecated::GetCharset ( ) {
- BSTR _result;
- HRESULT _hr = get_Charset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(560)
- inline void _Stream_Deprecated::PutCharset ( _bstr_t pbstrCharset ) {
- HRESULT _hr = put_Charset(pbstrCharset);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(561)
- inline _variant_t _Stream_Deprecated::Read ( long NumBytes ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_Read(NumBytes, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(562)
- inline HRESULT _Stream_Deprecated::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password ) {
- HRESULT _hr = raw_Open(Source, Mode, Options, UserName, Password);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(563)
- inline HRESULT _Stream_Deprecated::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(564)
- inline HRESULT _Stream_Deprecated::SkipLine ( ) {
- HRESULT _hr = raw_SkipLine();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(565)
- inline HRESULT _Stream_Deprecated::Write ( const _variant_t & Buffer ) {
- HRESULT _hr = raw_Write(Buffer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(566)
- inline HRESULT _Stream_Deprecated::SetEOS ( ) {
- HRESULT _hr = raw_SetEOS();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(567)
- inline HRESULT _Stream_Deprecated::CopyTo ( struct _Stream_Deprecated * DestStream, ADO_LONGPTR CharNumber ) {
- HRESULT _hr = raw_CopyTo(DestStream, CharNumber);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(568)
- inline HRESULT _Stream_Deprecated::Flush ( ) {
- HRESULT _hr = raw_Flush();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(569)
- inline HRESULT _Stream_Deprecated::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options ) {
- HRESULT _hr = raw_SaveToFile(FileName, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(570)
- inline HRESULT _Stream_Deprecated::LoadFromFile ( _bstr_t FileName ) {
- HRESULT _hr = raw_LoadFromFile(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(571)
- inline _bstr_t _Stream_Deprecated::ReadText ( long NumChars ) {
- BSTR _result;
- HRESULT _hr = raw_ReadText(NumChars, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(572)
- inline HRESULT _Stream_Deprecated::WriteText ( _bstr_t Data, enum StreamWriteEnum Options ) {
- HRESULT _hr = raw_WriteText(Data, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(573)
- inline HRESULT _Stream_Deprecated::Cancel ( ) {
- HRESULT _hr = raw_Cancel();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface Field15_Deprecated wrapper method implementations
- //
- #pragma implementation_key(574)
- inline ADO_LONGPTR Field15_Deprecated::GetActualSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_ActualSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(575)
- inline long Field15_Deprecated::GetAttributes ( ) {
- long _result;
- HRESULT _hr = get_Attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(576)
- inline ADO_LONGPTR Field15_Deprecated::GetDefinedSize ( ) {
- ADO_LONGPTR _result;
- HRESULT _hr = get_DefinedSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(577)
- inline _bstr_t Field15_Deprecated::GetName ( ) {
- BSTR _result;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(578)
- inline enum DataTypeEnum Field15_Deprecated::GetType ( ) {
- enum DataTypeEnum _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(579)
- inline _variant_t Field15_Deprecated::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(580)
- inline void Field15_Deprecated::PutValue ( const _variant_t & pvar ) {
- HRESULT _hr = put_Value(pvar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(581)
- inline unsigned char Field15_Deprecated::GetPrecision ( ) {
- unsigned char _result;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(582)
- inline unsigned char Field15_Deprecated::GetNumericScale ( ) {
- unsigned char _result;
- HRESULT _hr = get_NumericScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(583)
- inline HRESULT Field15_Deprecated::AppendChunk ( const _variant_t & Data ) {
- HRESULT _hr = raw_AppendChunk(Data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(584)
- inline _variant_t Field15_Deprecated::GetChunk ( long Length ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetChunk(Length, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(585)
- inline _variant_t Field15_Deprecated::GetOriginalValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_OriginalValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(586)
- inline _variant_t Field15_Deprecated::GetUnderlyingValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_UnderlyingValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
|