msado15.tlh 211 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511
  1. // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (79fcb7a0).
  2. //
  3. // msado15.tlh
  4. //
  5. // C++ source equivalent of Win32 type library C:\Program Files (x86)\Common Files\System\ADO\msado15.dll
  6. // compiler-generated file created 10/07/15 at 11:48:46 - DO NOT EDIT!
  7. #pragma once
  8. #pragma pack(push, 8)
  9. #include <comdef.h>
  10. //
  11. // Forward references and typedefs
  12. //
  13. typedef enum PositionEnum PositionEnum_Param;
  14. typedef enum SearchDirectionEnum SearchDirection;
  15. struct __declspec(uuid("00000512-0000-0010-8000-00aa006d2ea4"))
  16. /* dual interface */ _Collection;
  17. struct __declspec(uuid("00000513-0000-0010-8000-00aa006d2ea4"))
  18. /* dual interface */ _DynaCollection;
  19. struct __declspec(uuid("00000534-0000-0010-8000-00aa006d2ea4"))
  20. /* dual interface */ _ADO;
  21. struct __declspec(uuid("00000504-0000-0010-8000-00aa006d2ea4"))
  22. /* dual interface */ Properties;
  23. struct __declspec(uuid("00000503-0000-0010-8000-00aa006d2ea4"))
  24. /* dual interface */ Property;
  25. struct __declspec(uuid("00000500-0000-0010-8000-00aa006d2ea4"))
  26. /* dual interface */ Error;
  27. struct __declspec(uuid("00000501-0000-0010-8000-00aa006d2ea4"))
  28. /* dual interface */ Errors;
  29. struct __declspec(uuid("00001508-0000-0010-8000-00aa006d2ea4"))
  30. /* dual interface */ Command15;
  31. struct __declspec(uuid("00001550-0000-0010-8000-00aa006d2ea4"))
  32. /* dual interface */ _Connection;
  33. struct __declspec(uuid("00001515-0000-0010-8000-00aa006d2ea4"))
  34. /* dual interface */ Connection15;
  35. struct __declspec(uuid("00001556-0000-0010-8000-00aa006d2ea4"))
  36. /* dual interface */ _Recordset;
  37. struct __declspec(uuid("00001555-0000-0010-8000-00aa006d2ea4"))
  38. /* dual interface */ Recordset21;
  39. struct __declspec(uuid("0000154f-0000-0010-8000-00aa006d2ea4"))
  40. /* dual interface */ Recordset20;
  41. struct __declspec(uuid("0000150e-0000-0010-8000-00aa006d2ea4"))
  42. /* dual interface */ Recordset15;
  43. struct __declspec(uuid("00001564-0000-0010-8000-00aa006d2ea4"))
  44. /* dual interface */ Fields;
  45. struct __declspec(uuid("0000154d-0000-0010-8000-00aa006d2ea4"))
  46. /* dual interface */ Fields20;
  47. struct __declspec(uuid("00001506-0000-0010-8000-00aa006d2ea4"))
  48. /* dual interface */ Fields15;
  49. struct __declspec(uuid("00001569-0000-0010-8000-00aa006d2ea4"))
  50. /* dual interface */ Field;
  51. struct __declspec(uuid("0000154c-0000-0010-8000-00aa006d2ea4"))
  52. /* dual interface */ Field20;
  53. struct __declspec(uuid("0000150c-0000-0010-8000-00aa006d2ea4"))
  54. /* dual interface */ _Parameter;
  55. struct __declspec(uuid("0000150d-0000-0010-8000-00aa006d2ea4"))
  56. /* dual interface */ Parameters;
  57. struct __declspec(uuid("0000154e-0000-0010-8000-00aa006d2ea4"))
  58. /* dual interface */ Command25;
  59. struct __declspec(uuid("986761e8-7269-4890-aa65-ad7c03697a6d"))
  60. /* dual interface */ _Command;
  61. struct __declspec(uuid("00001402-0000-0010-8000-00aa006d2ea4"))
  62. /* interface */ ConnectionEventsVt;
  63. struct __declspec(uuid("00001403-0000-0010-8000-00aa006d2ea4"))
  64. /* interface */ RecordsetEventsVt;
  65. struct __declspec(uuid("00001400-0000-0010-8000-00aa006d2ea4"))
  66. /* dispinterface */ ConnectionEvents;
  67. struct __declspec(uuid("00001266-0000-0010-8000-00aa006d2ea4"))
  68. /* dispinterface */ RecordsetEvents;
  69. struct __declspec(uuid("00000516-0000-0010-8000-00aa006d2ea4"))
  70. /* interface */ ADOConnectionConstruction15;
  71. struct __declspec(uuid("00000551-0000-0010-8000-00aa006d2ea4"))
  72. /* interface */ ADOConnectionConstruction;
  73. struct /* coclass */ Connection;
  74. struct __declspec(uuid("00001562-0000-0010-8000-00aa006d2ea4"))
  75. /* dual interface */ _Record;
  76. struct /* coclass */ Record;
  77. struct __declspec(uuid("00001565-0000-0010-8000-00aa006d2ea4"))
  78. /* dual interface */ _Stream;
  79. struct /* coclass */ Stream;
  80. struct __declspec(uuid("00000567-0000-0010-8000-00aa006d2ea4"))
  81. /* interface */ ADORecordConstruction;
  82. struct __declspec(uuid("00000568-0000-0010-8000-00aa006d2ea4"))
  83. /* interface */ ADOStreamConstruction;
  84. struct __declspec(uuid("00000517-0000-0010-8000-00aa006d2ea4"))
  85. /* interface */ ADOCommandConstruction;
  86. struct /* coclass */ Command;
  87. struct /* coclass */ Recordset;
  88. struct __declspec(uuid("00000283-0000-0010-8000-00aa006d2ea4"))
  89. /* interface */ ADORecordsetConstruction;
  90. typedef long ADO_LONGPTR;
  91. struct __declspec(uuid("00001505-0000-0010-8000-00aa006d2ea4"))
  92. /* dual interface */ Field15;
  93. struct /* coclass */ Parameter;
  94. struct __declspec(uuid("00000402-0000-0010-8000-00aa006d2ea4"))
  95. /* interface */ ConnectionEventsVt_Deprecated;
  96. struct __declspec(uuid("00000550-0000-0010-8000-00aa006d2ea4"))
  97. /* dual interface */ _Connection_Deprecated;
  98. struct __declspec(uuid("00000515-0000-0010-8000-00aa006d2ea4"))
  99. /* dual interface */ Connection15_Deprecated;
  100. struct __declspec(uuid("00000556-0000-0010-8000-00aa006d2ea4"))
  101. /* dual interface */ _Recordset_Deprecated;
  102. struct __declspec(uuid("00000555-0000-0010-8000-00aa006d2ea4"))
  103. /* dual interface */ Recordset21_Deprecated;
  104. struct __declspec(uuid("0000054f-0000-0010-8000-00aa006d2ea4"))
  105. /* dual interface */ Recordset20_Deprecated;
  106. struct __declspec(uuid("0000050e-0000-0010-8000-00aa006d2ea4"))
  107. /* dual interface */ Recordset15_Deprecated;
  108. struct __declspec(uuid("00000564-0000-0010-8000-00aa006d2ea4"))
  109. /* dual interface */ Fields_Deprecated;
  110. struct __declspec(uuid("0000054d-0000-0010-8000-00aa006d2ea4"))
  111. /* dual interface */ Fields20_Deprecated;
  112. struct __declspec(uuid("00000506-0000-0010-8000-00aa006d2ea4"))
  113. /* dual interface */ Fields15_Deprecated;
  114. struct __declspec(uuid("00000569-0000-0010-8000-00aa006d2ea4"))
  115. /* dual interface */ Field_Deprecated;
  116. struct __declspec(uuid("0000054c-0000-0010-8000-00aa006d2ea4"))
  117. /* dual interface */ Field20_Deprecated;
  118. struct __declspec(uuid("b08400bd-f9d1-4d02-b856-71d5dba123e9"))
  119. /* dual interface */ _Command_Deprecated;
  120. struct __declspec(uuid("0000054e-0000-0010-8000-00aa006d2ea4"))
  121. /* dual interface */ Command25_Deprecated;
  122. struct __declspec(uuid("00000508-0000-0010-8000-00aa006d2ea4"))
  123. /* dual interface */ Command15_Deprecated;
  124. struct __declspec(uuid("0000050c-0000-0010-8000-00aa006d2ea4"))
  125. /* dual interface */ _Parameter_Deprecated;
  126. struct __declspec(uuid("0000050d-0000-0010-8000-00aa006d2ea4"))
  127. /* dual interface */ Parameters_Deprecated;
  128. struct __declspec(uuid("00000403-0000-0010-8000-00aa006d2ea4"))
  129. /* interface */ RecordsetEventsVt_Deprecated;
  130. struct __declspec(uuid("00000400-0000-0010-8000-00aa006d2ea4"))
  131. /* dispinterface */ ConnectionEvents_Deprecated;
  132. struct __declspec(uuid("00000266-0000-0010-8000-00aa006d2ea4"))
  133. /* dispinterface */ RecordsetEvents_Deprecated;
  134. struct __declspec(uuid("00000562-0000-0010-8000-00aa006d2ea4"))
  135. /* dual interface */ _Record_Deprecated;
  136. struct __declspec(uuid("00000565-0000-0010-8000-00aa006d2ea4"))
  137. /* dual interface */ _Stream_Deprecated;
  138. struct __declspec(uuid("00000505-0000-0010-8000-00aa006d2ea4"))
  139. /* dual interface */ Field15_Deprecated;
  140. //
  141. // Smart pointer typedef declarations
  142. //
  143. _COM_SMARTPTR_TYPEDEF(_Collection, __uuidof(_Collection));
  144. _COM_SMARTPTR_TYPEDEF(_DynaCollection, __uuidof(_DynaCollection));
  145. _COM_SMARTPTR_TYPEDEF(_ADO, __uuidof(_ADO));
  146. _COM_SMARTPTR_TYPEDEF(Properties, __uuidof(Properties));
  147. _COM_SMARTPTR_TYPEDEF(Property, __uuidof(Property));
  148. _COM_SMARTPTR_TYPEDEF(Error, __uuidof(Error));
  149. _COM_SMARTPTR_TYPEDEF(Errors, __uuidof(Errors));
  150. _COM_SMARTPTR_TYPEDEF(Command15, __uuidof(Command15));
  151. _COM_SMARTPTR_TYPEDEF(Connection15, __uuidof(Connection15));
  152. _COM_SMARTPTR_TYPEDEF(_Connection, __uuidof(_Connection));
  153. _COM_SMARTPTR_TYPEDEF(Recordset15, __uuidof(Recordset15));
  154. _COM_SMARTPTR_TYPEDEF(Recordset20, __uuidof(Recordset20));
  155. _COM_SMARTPTR_TYPEDEF(Recordset21, __uuidof(Recordset21));
  156. _COM_SMARTPTR_TYPEDEF(_Recordset, __uuidof(_Recordset));
  157. _COM_SMARTPTR_TYPEDEF(Fields15, __uuidof(Fields15));
  158. _COM_SMARTPTR_TYPEDEF(Fields20, __uuidof(Fields20));
  159. _COM_SMARTPTR_TYPEDEF(Fields, __uuidof(Fields));
  160. _COM_SMARTPTR_TYPEDEF(Field20, __uuidof(Field20));
  161. _COM_SMARTPTR_TYPEDEF(Field, __uuidof(Field));
  162. _COM_SMARTPTR_TYPEDEF(_Parameter, __uuidof(_Parameter));
  163. _COM_SMARTPTR_TYPEDEF(Parameters, __uuidof(Parameters));
  164. _COM_SMARTPTR_TYPEDEF(Command25, __uuidof(Command25));
  165. _COM_SMARTPTR_TYPEDEF(_Command, __uuidof(_Command));
  166. _COM_SMARTPTR_TYPEDEF(ConnectionEventsVt, __uuidof(ConnectionEventsVt));
  167. _COM_SMARTPTR_TYPEDEF(RecordsetEventsVt, __uuidof(RecordsetEventsVt));
  168. _COM_SMARTPTR_TYPEDEF(ConnectionEvents, __uuidof(IDispatch));
  169. _COM_SMARTPTR_TYPEDEF(RecordsetEvents, __uuidof(IDispatch));
  170. _COM_SMARTPTR_TYPEDEF(ADOConnectionConstruction15, __uuidof(ADOConnectionConstruction15));
  171. _COM_SMARTPTR_TYPEDEF(ADOConnectionConstruction, __uuidof(ADOConnectionConstruction));
  172. _COM_SMARTPTR_TYPEDEF(_Record, __uuidof(_Record));
  173. _COM_SMARTPTR_TYPEDEF(_Stream, __uuidof(_Stream));
  174. _COM_SMARTPTR_TYPEDEF(ADORecordConstruction, __uuidof(ADORecordConstruction));
  175. _COM_SMARTPTR_TYPEDEF(ADOStreamConstruction, __uuidof(ADOStreamConstruction));
  176. _COM_SMARTPTR_TYPEDEF(ADOCommandConstruction, __uuidof(ADOCommandConstruction));
  177. _COM_SMARTPTR_TYPEDEF(ADORecordsetConstruction, __uuidof(ADORecordsetConstruction));
  178. _COM_SMARTPTR_TYPEDEF(Field15, __uuidof(Field15));
  179. _COM_SMARTPTR_TYPEDEF(ConnectionEventsVt_Deprecated, __uuidof(ConnectionEventsVt_Deprecated));
  180. _COM_SMARTPTR_TYPEDEF(Connection15_Deprecated, __uuidof(Connection15_Deprecated));
  181. _COM_SMARTPTR_TYPEDEF(_Connection_Deprecated, __uuidof(_Connection_Deprecated));
  182. _COM_SMARTPTR_TYPEDEF(Recordset15_Deprecated, __uuidof(Recordset15_Deprecated));
  183. _COM_SMARTPTR_TYPEDEF(Recordset20_Deprecated, __uuidof(Recordset20_Deprecated));
  184. _COM_SMARTPTR_TYPEDEF(Recordset21_Deprecated, __uuidof(Recordset21_Deprecated));
  185. _COM_SMARTPTR_TYPEDEF(_Recordset_Deprecated, __uuidof(_Recordset_Deprecated));
  186. _COM_SMARTPTR_TYPEDEF(Fields15_Deprecated, __uuidof(Fields15_Deprecated));
  187. _COM_SMARTPTR_TYPEDEF(Fields20_Deprecated, __uuidof(Fields20_Deprecated));
  188. _COM_SMARTPTR_TYPEDEF(Fields_Deprecated, __uuidof(Fields_Deprecated));
  189. _COM_SMARTPTR_TYPEDEF(Field20_Deprecated, __uuidof(Field20_Deprecated));
  190. _COM_SMARTPTR_TYPEDEF(Field_Deprecated, __uuidof(Field_Deprecated));
  191. _COM_SMARTPTR_TYPEDEF(Command15_Deprecated, __uuidof(Command15_Deprecated));
  192. _COM_SMARTPTR_TYPEDEF(Command25_Deprecated, __uuidof(Command25_Deprecated));
  193. _COM_SMARTPTR_TYPEDEF(_Command_Deprecated, __uuidof(_Command_Deprecated));
  194. _COM_SMARTPTR_TYPEDEF(_Parameter_Deprecated, __uuidof(_Parameter_Deprecated));
  195. _COM_SMARTPTR_TYPEDEF(Parameters_Deprecated, __uuidof(Parameters_Deprecated));
  196. _COM_SMARTPTR_TYPEDEF(RecordsetEventsVt_Deprecated, __uuidof(RecordsetEventsVt_Deprecated));
  197. _COM_SMARTPTR_TYPEDEF(ConnectionEvents_Deprecated, __uuidof(IDispatch));
  198. _COM_SMARTPTR_TYPEDEF(RecordsetEvents_Deprecated, __uuidof(IDispatch));
  199. _COM_SMARTPTR_TYPEDEF(_Record_Deprecated, __uuidof(_Record_Deprecated));
  200. _COM_SMARTPTR_TYPEDEF(_Stream_Deprecated, __uuidof(_Stream_Deprecated));
  201. _COM_SMARTPTR_TYPEDEF(Field15_Deprecated, __uuidof(Field15_Deprecated));
  202. //
  203. // Type library items
  204. //
  205. enum CursorTypeEnum
  206. {
  207. adOpenUnspecified = -1,
  208. adOpenForwardOnly = 0,
  209. adOpenKeyset = 1,
  210. adOpenDynamic = 2,
  211. adOpenStatic = 3
  212. };
  213. enum CursorOptionEnum
  214. {
  215. adHoldRecords = 256,
  216. adMovePrevious = 512,
  217. adAddNew = 16778240,
  218. adDelete = 16779264,
  219. adUpdate = 16809984,
  220. adBookmark = 8192,
  221. adApproxPosition = 16384,
  222. adUpdateBatch = 65536,
  223. adResync = 131072,
  224. adNotify = 262144,
  225. adFind = 524288,
  226. adSeek = 4194304,
  227. adIndex = 8388608
  228. };
  229. enum LockTypeEnum
  230. {
  231. adLockUnspecified = -1,
  232. adLockReadOnly = 1,
  233. adLockPessimistic = 2,
  234. adLockOptimistic = 3,
  235. adLockBatchOptimistic = 4
  236. };
  237. enum ExecuteOptionEnum
  238. {
  239. adOptionUnspecified = -1,
  240. adAsyncExecute = 16,
  241. adAsyncFetch = 32,
  242. adAsyncFetchNonBlocking = 64,
  243. adExecuteNoRecords = 128,
  244. adExecuteStream = 1024,
  245. adExecuteRecord = 2048
  246. };
  247. enum ConnectOptionEnum
  248. {
  249. adConnectUnspecified = -1,
  250. adAsyncConnect = 16
  251. };
  252. enum ObjectStateEnum
  253. {
  254. adStateClosed = 0,
  255. adStateOpen = 1,
  256. adStateConnecting = 2,
  257. adStateExecuting = 4,
  258. adStateFetching = 8
  259. };
  260. enum CursorLocationEnum
  261. {
  262. adUseNone = 1,
  263. adUseServer = 2,
  264. adUseClient = 3,
  265. adUseClientBatch = 3
  266. };
  267. enum DataTypeEnum
  268. {
  269. adEmpty = 0,
  270. adTinyInt = 16,
  271. adSmallInt = 2,
  272. adInteger = 3,
  273. adBigInt = 20,
  274. adUnsignedTinyInt = 17,
  275. adUnsignedSmallInt = 18,
  276. adUnsignedInt = 19,
  277. adUnsignedBigInt = 21,
  278. adSingle = 4,
  279. adDouble = 5,
  280. adCurrency = 6,
  281. adDecimal = 14,
  282. adNumeric = 131,
  283. adBoolean = 11,
  284. adError = 10,
  285. adUserDefined = 132,
  286. adVariant = 12,
  287. adIDispatch = 9,
  288. adIUnknown = 13,
  289. adGUID = 72,
  290. adDate = 7,
  291. adDBDate = 133,
  292. adDBTime = 134,
  293. adDBTimeStamp = 135,
  294. adBSTR = 8,
  295. adChar = 129,
  296. adVarChar = 200,
  297. adLongVarChar = 201,
  298. adWChar = 130,
  299. adVarWChar = 202,
  300. adLongVarWChar = 203,
  301. adBinary = 128,
  302. adVarBinary = 204,
  303. adLongVarBinary = 205,
  304. adChapter = 136,
  305. adFileTime = 64,
  306. adPropVariant = 138,
  307. adVarNumeric = 139,
  308. adArray = 8192
  309. };
  310. enum FieldAttributeEnum
  311. {
  312. adFldUnspecified = -1,
  313. adFldMayDefer = 2,
  314. adFldUpdatable = 4,
  315. adFldUnknownUpdatable = 8,
  316. adFldFixed = 16,
  317. adFldIsNullable = 32,
  318. adFldMayBeNull = 64,
  319. adFldLong = 128,
  320. adFldRowID = 256,
  321. adFldRowVersion = 512,
  322. adFldCacheDeferred = 4096,
  323. adFldIsChapter = 8192,
  324. adFldNegativeScale = 16384,
  325. adFldKeyColumn = 32768,
  326. adFldIsRowURL = 65536,
  327. adFldIsDefaultStream = 131072,
  328. adFldIsCollection = 262144
  329. };
  330. enum EditModeEnum
  331. {
  332. adEditNone = 0,
  333. adEditInProgress = 1,
  334. adEditAdd = 2,
  335. adEditDelete = 4
  336. };
  337. enum RecordStatusEnum
  338. {
  339. adRecOK = 0,
  340. adRecNew = 1,
  341. adRecModified = 2,
  342. adRecDeleted = 4,
  343. adRecUnmodified = 8,
  344. adRecInvalid = 16,
  345. adRecMultipleChanges = 64,
  346. adRecPendingChanges = 128,
  347. adRecCanceled = 256,
  348. adRecCantRelease = 1024,
  349. adRecConcurrencyViolation = 2048,
  350. adRecIntegrityViolation = 4096,
  351. adRecMaxChangesExceeded = 8192,
  352. adRecObjectOpen = 16384,
  353. adRecOutOfMemory = 32768,
  354. adRecPermissionDenied = 65536,
  355. adRecSchemaViolation = 131072,
  356. adRecDBDeleted = 262144
  357. };
  358. enum GetRowsOptionEnum
  359. {
  360. adGetRowsRest = -1
  361. };
  362. enum PositionEnum
  363. {
  364. adPosUnknown = -1,
  365. adPosBOF = -2,
  366. adPosEOF = -3
  367. };
  368. enum BookmarkEnum
  369. {
  370. adBookmarkCurrent = 0,
  371. adBookmarkFirst = 1,
  372. adBookmarkLast = 2
  373. };
  374. enum MarshalOptionsEnum
  375. {
  376. adMarshalAll = 0,
  377. adMarshalModifiedOnly = 1
  378. };
  379. enum AffectEnum
  380. {
  381. adAffectCurrent = 1,
  382. adAffectGroup = 2,
  383. adAffectAll = 3,
  384. adAffectAllChapters = 4
  385. };
  386. enum ResyncEnum
  387. {
  388. adResyncUnderlyingValues = 1,
  389. adResyncAllValues = 2
  390. };
  391. enum CompareEnum
  392. {
  393. adCompareLessThan = 0,
  394. adCompareEqual = 1,
  395. adCompareGreaterThan = 2,
  396. adCompareNotEqual = 3,
  397. adCompareNotComparable = 4
  398. };
  399. enum FilterGroupEnum
  400. {
  401. adFilterNone = 0,
  402. adFilterPendingRecords = 1,
  403. adFilterAffectedRecords = 2,
  404. adFilterFetchedRecords = 3,
  405. adFilterPredicate = 4,
  406. adFilterConflictingRecords = 5
  407. };
  408. enum SearchDirectionEnum
  409. {
  410. adSearchForward = 1,
  411. adSearchBackward = -1
  412. };
  413. enum PersistFormatEnum
  414. {
  415. adPersistADTG = 0,
  416. adPersistXML = 1
  417. };
  418. enum StringFormatEnum
  419. {
  420. adClipString = 2
  421. };
  422. enum ConnectPromptEnum
  423. {
  424. adPromptAlways = 1,
  425. adPromptComplete = 2,
  426. adPromptCompleteRequired = 3,
  427. adPromptNever = 4
  428. };
  429. enum ConnectModeEnum
  430. {
  431. adModeUnknown = 0,
  432. adModeRead = 1,
  433. adModeWrite = 2,
  434. adModeReadWrite = 3,
  435. adModeShareDenyRead = 4,
  436. adModeShareDenyWrite = 8,
  437. adModeShareExclusive = 12,
  438. adModeShareDenyNone = 16,
  439. adModeRecursive = 4194304
  440. };
  441. enum RecordCreateOptionsEnum
  442. {
  443. adCreateCollection = 8192,
  444. adCreateStructDoc = -2147483648,
  445. adCreateNonCollection = 0,
  446. adOpenIfExists = 33554432,
  447. adCreateOverwrite = 67108864,
  448. adFailIfNotExists = -1
  449. };
  450. enum RecordOpenOptionsEnum
  451. {
  452. adOpenRecordUnspecified = -1,
  453. adOpenSource = 8388608,
  454. adOpenOutput = 8388608,
  455. adOpenAsync = 4096,
  456. adDelayFetchStream = 16384,
  457. adDelayFetchFields = 32768,
  458. adOpenExecuteCommand = 65536
  459. };
  460. enum IsolationLevelEnum
  461. {
  462. adXactUnspecified = -1,
  463. adXactChaos = 16,
  464. adXactReadUncommitted = 256,
  465. adXactBrowse = 256,
  466. adXactCursorStability = 4096,
  467. adXactReadCommitted = 4096,
  468. adXactRepeatableRead = 65536,
  469. adXactSerializable = 1048576,
  470. adXactIsolated = 1048576
  471. };
  472. enum XactAttributeEnum
  473. {
  474. adXactCommitRetaining = 131072,
  475. adXactAbortRetaining = 262144,
  476. adXactAsyncPhaseOne = 524288,
  477. adXactSyncPhaseOne = 1048576
  478. };
  479. enum PropertyAttributesEnum
  480. {
  481. adPropNotSupported = 0,
  482. adPropRequired = 1,
  483. adPropOptional = 2,
  484. adPropRead = 512,
  485. adPropWrite = 1024
  486. };
  487. enum ErrorValueEnum
  488. {
  489. adErrProviderFailed = 3000,
  490. adErrInvalidArgument = 3001,
  491. adErrOpeningFile = 3002,
  492. adErrReadFile = 3003,
  493. adErrWriteFile = 3004,
  494. adErrNoCurrentRecord = 3021,
  495. adErrIllegalOperation = 3219,
  496. adErrCantChangeProvider = 3220,
  497. adErrInTransaction = 3246,
  498. adErrFeatureNotAvailable = 3251,
  499. adErrItemNotFound = 3265,
  500. adErrObjectInCollection = 3367,
  501. adErrObjectNotSet = 3420,
  502. adErrDataConversion = 3421,
  503. adErrObjectClosed = 3704,
  504. adErrObjectOpen = 3705,
  505. adErrProviderNotFound = 3706,
  506. adErrBoundToCommand = 3707,
  507. adErrInvalidParamInfo = 3708,
  508. adErrInvalidConnection = 3709,
  509. adErrNotReentrant = 3710,
  510. adErrStillExecuting = 3711,
  511. adErrOperationCancelled = 3712,
  512. adErrStillConnecting = 3713,
  513. adErrInvalidTransaction = 3714,
  514. adErrNotExecuting = 3715,
  515. adErrUnsafeOperation = 3716,
  516. adwrnSecurityDialog = 3717,
  517. adwrnSecurityDialogHeader = 3718,
  518. adErrIntegrityViolation = 3719,
  519. adErrPermissionDenied = 3720,
  520. adErrDataOverflow = 3721,
  521. adErrSchemaViolation = 3722,
  522. adErrSignMismatch = 3723,
  523. adErrCantConvertvalue = 3724,
  524. adErrCantCreate = 3725,
  525. adErrColumnNotOnThisRow = 3726,
  526. adErrURLDoesNotExist = 3727,
  527. adErrTreePermissionDenied = 3728,
  528. adErrInvalidURL = 3729,
  529. adErrResourceLocked = 3730,
  530. adErrResourceExists = 3731,
  531. adErrCannotComplete = 3732,
  532. adErrVolumeNotFound = 3733,
  533. adErrOutOfSpace = 3734,
  534. adErrResourceOutOfScope = 3735,
  535. adErrUnavailable = 3736,
  536. adErrURLNamedRowDoesNotExist = 3737,
  537. adErrDelResOutOfScope = 3738,
  538. adErrPropInvalidColumn = 3739,
  539. adErrPropInvalidOption = 3740,
  540. adErrPropInvalidValue = 3741,
  541. adErrPropConflicting = 3742,
  542. adErrPropNotAllSettable = 3743,
  543. adErrPropNotSet = 3744,
  544. adErrPropNotSettable = 3745,
  545. adErrPropNotSupported = 3746,
  546. adErrCatalogNotSet = 3747,
  547. adErrCantChangeConnection = 3748,
  548. adErrFieldsUpdateFailed = 3749,
  549. adErrDenyNotSupported = 3750,
  550. adErrDenyTypeNotSupported = 3751,
  551. adErrProviderNotSpecified = 3753,
  552. adErrConnectionStringTooLong = 3754
  553. };
  554. enum ParameterAttributesEnum
  555. {
  556. adParamSigned = 16,
  557. adParamNullable = 64,
  558. adParamLong = 128
  559. };
  560. enum ParameterDirectionEnum
  561. {
  562. adParamUnknown = 0,
  563. adParamInput = 1,
  564. adParamOutput = 2,
  565. adParamInputOutput = 3,
  566. adParamReturnValue = 4
  567. };
  568. enum CommandTypeEnum
  569. {
  570. adCmdUnspecified = -1,
  571. adCmdUnknown = 8,
  572. adCmdText = 1,
  573. adCmdTable = 2,
  574. adCmdStoredProc = 4,
  575. adCmdFile = 256,
  576. adCmdTableDirect = 512
  577. };
  578. enum EventStatusEnum
  579. {
  580. adStatusOK = 1,
  581. adStatusErrorsOccurred = 2,
  582. adStatusCantDeny = 3,
  583. adStatusCancel = 4,
  584. adStatusUnwantedEvent = 5
  585. };
  586. enum EventReasonEnum
  587. {
  588. adRsnAddNew = 1,
  589. adRsnDelete = 2,
  590. adRsnUpdate = 3,
  591. adRsnUndoUpdate = 4,
  592. adRsnUndoAddNew = 5,
  593. adRsnUndoDelete = 6,
  594. adRsnRequery = 7,
  595. adRsnResynch = 8,
  596. adRsnClose = 9,
  597. adRsnMove = 10,
  598. adRsnFirstChange = 11,
  599. adRsnMoveFirst = 12,
  600. adRsnMoveNext = 13,
  601. adRsnMovePrevious = 14,
  602. adRsnMoveLast = 15
  603. };
  604. enum SchemaEnum
  605. {
  606. adSchemaProviderSpecific = -1,
  607. adSchemaAsserts = 0,
  608. adSchemaCatalogs = 1,
  609. adSchemaCharacterSets = 2,
  610. adSchemaCollations = 3,
  611. adSchemaColumns = 4,
  612. adSchemaCheckConstraints = 5,
  613. adSchemaConstraintColumnUsage = 6,
  614. adSchemaConstraintTableUsage = 7,
  615. adSchemaKeyColumnUsage = 8,
  616. adSchemaReferentialContraints = 9,
  617. adSchemaReferentialConstraints = 9,
  618. adSchemaTableConstraints = 10,
  619. adSchemaColumnsDomainUsage = 11,
  620. adSchemaIndexes = 12,
  621. adSchemaColumnPrivileges = 13,
  622. adSchemaTablePrivileges = 14,
  623. adSchemaUsagePrivileges = 15,
  624. adSchemaProcedures = 16,
  625. adSchemaSchemata = 17,
  626. adSchemaSQLLanguages = 18,
  627. adSchemaStatistics = 19,
  628. adSchemaTables = 20,
  629. adSchemaTranslations = 21,
  630. adSchemaProviderTypes = 22,
  631. adSchemaViews = 23,
  632. adSchemaViewColumnUsage = 24,
  633. adSchemaViewTableUsage = 25,
  634. adSchemaProcedureParameters = 26,
  635. adSchemaForeignKeys = 27,
  636. adSchemaPrimaryKeys = 28,
  637. adSchemaProcedureColumns = 29,
  638. adSchemaDBInfoKeywords = 30,
  639. adSchemaDBInfoLiterals = 31,
  640. adSchemaCubes = 32,
  641. adSchemaDimensions = 33,
  642. adSchemaHierarchies = 34,
  643. adSchemaLevels = 35,
  644. adSchemaMeasures = 36,
  645. adSchemaProperties = 37,
  646. adSchemaMembers = 38,
  647. adSchemaTrustees = 39,
  648. adSchemaFunctions = 40,
  649. adSchemaActions = 41,
  650. adSchemaCommands = 42,
  651. adSchemaSets = 43
  652. };
  653. enum FieldStatusEnum
  654. {
  655. adFieldOK = 0,
  656. adFieldCantConvertValue = 2,
  657. adFieldIsNull = 3,
  658. adFieldTruncated = 4,
  659. adFieldSignMismatch = 5,
  660. adFieldDataOverflow = 6,
  661. adFieldCantCreate = 7,
  662. adFieldUnavailable = 8,
  663. adFieldPermissionDenied = 9,
  664. adFieldIntegrityViolation = 10,
  665. adFieldSchemaViolation = 11,
  666. adFieldBadStatus = 12,
  667. adFieldDefault = 13,
  668. adFieldIgnore = 15,
  669. adFieldDoesNotExist = 16,
  670. adFieldInvalidURL = 17,
  671. adFieldResourceLocked = 18,
  672. adFieldResourceExists = 19,
  673. adFieldCannotComplete = 20,
  674. adFieldVolumeNotFound = 21,
  675. adFieldOutOfSpace = 22,
  676. adFieldCannotDeleteSource = 23,
  677. adFieldReadOnly = 24,
  678. adFieldResourceOutOfScope = 25,
  679. adFieldAlreadyExists = 26,
  680. adFieldPendingInsert = 65536,
  681. adFieldPendingDelete = 131072,
  682. adFieldPendingChange = 262144,
  683. adFieldPendingUnknown = 524288,
  684. adFieldPendingUnknownDelete = 1048576
  685. };
  686. enum SeekEnum
  687. {
  688. adSeekFirstEQ = 1,
  689. adSeekLastEQ = 2,
  690. adSeekAfterEQ = 4,
  691. adSeekAfter = 8,
  692. adSeekBeforeEQ = 16,
  693. adSeekBefore = 32
  694. };
  695. enum ADCPROP_UPDATECRITERIA_ENUM
  696. {
  697. adCriteriaKey = 0,
  698. adCriteriaAllCols = 1,
  699. adCriteriaUpdCols = 2,
  700. adCriteriaTimeStamp = 3
  701. };
  702. enum ADCPROP_ASYNCTHREADPRIORITY_ENUM
  703. {
  704. adPriorityLowest = 1,
  705. adPriorityBelowNormal = 2,
  706. adPriorityNormal = 3,
  707. adPriorityAboveNormal = 4,
  708. adPriorityHighest = 5
  709. };
  710. enum ADCPROP_AUTORECALC_ENUM
  711. {
  712. adRecalcUpFront = 0,
  713. adRecalcAlways = 1
  714. };
  715. enum ADCPROP_UPDATERESYNC_ENUM
  716. {
  717. adResyncNone = 0,
  718. adResyncAutoIncrement = 1,
  719. adResyncConflicts = 2,
  720. adResyncUpdates = 4,
  721. adResyncInserts = 8,
  722. adResyncAll = 15
  723. };
  724. enum MoveRecordOptionsEnum
  725. {
  726. adMoveUnspecified = -1,
  727. adMoveOverWrite = 1,
  728. adMoveDontUpdateLinks = 2,
  729. adMoveAllowEmulation = 4
  730. };
  731. enum CopyRecordOptionsEnum
  732. {
  733. adCopyUnspecified = -1,
  734. adCopyOverWrite = 1,
  735. adCopyAllowEmulation = 4,
  736. adCopyNonRecursive = 2
  737. };
  738. enum StreamTypeEnum
  739. {
  740. adTypeBinary = 1,
  741. adTypeText = 2
  742. };
  743. enum LineSeparatorEnum
  744. {
  745. adLF = 10,
  746. adCR = 13,
  747. adCRLF = -1
  748. };
  749. enum StreamOpenOptionsEnum
  750. {
  751. adOpenStreamUnspecified = -1,
  752. adOpenStreamAsync = 1,
  753. adOpenStreamFromRecord = 4
  754. };
  755. enum StreamWriteEnum
  756. {
  757. adWriteChar = 0,
  758. adWriteLine = 1,
  759. stWriteChar = 0,
  760. stWriteLine = 1
  761. };
  762. enum SaveOptionsEnum
  763. {
  764. adSaveCreateNotExist = 1,
  765. adSaveCreateOverWrite = 2
  766. };
  767. enum FieldEnum
  768. {
  769. adDefaultStream = -1,
  770. adRecordURL = -2
  771. };
  772. enum StreamReadEnum
  773. {
  774. adReadAll = -1,
  775. adReadLine = -2
  776. };
  777. enum RecordTypeEnum
  778. {
  779. adSimpleRecord = 0,
  780. adCollectionRecord = 1,
  781. adStructDoc = 2
  782. };
  783. struct __declspec(uuid("00000512-0000-0010-8000-00aa006d2ea4"))
  784. _Collection : IDispatch
  785. {
  786. //
  787. // Property data
  788. //
  789. __declspec(property(get=GetCount))
  790. long Count;
  791. //
  792. // Wrapper methods for error-handling
  793. //
  794. long GetCount ( );
  795. IUnknownPtr _NewEnum ( );
  796. HRESULT Refresh ( );
  797. //
  798. // Raw methods provided by interface
  799. //
  800. virtual HRESULT __stdcall get_Count (
  801. long * c ) = 0;
  802. virtual HRESULT __stdcall raw__NewEnum (
  803. IUnknown * * ppvObject ) = 0;
  804. virtual HRESULT __stdcall raw_Refresh ( ) = 0;
  805. };
  806. struct __declspec(uuid("00000513-0000-0010-8000-00aa006d2ea4"))
  807. _DynaCollection : _Collection
  808. {
  809. //
  810. // Wrapper methods for error-handling
  811. //
  812. HRESULT Append (
  813. IDispatch * Object );
  814. HRESULT Delete (
  815. const _variant_t & Index );
  816. //
  817. // Raw methods provided by interface
  818. //
  819. virtual HRESULT __stdcall raw_Append (
  820. IDispatch * Object ) = 0;
  821. virtual HRESULT __stdcall raw_Delete (
  822. VARIANT Index ) = 0;
  823. };
  824. struct __declspec(uuid("00000534-0000-0010-8000-00aa006d2ea4"))
  825. _ADO : IDispatch
  826. {
  827. //
  828. // Property data
  829. //
  830. __declspec(property(get=GetProperties))
  831. PropertiesPtr Properties;
  832. //
  833. // Wrapper methods for error-handling
  834. //
  835. PropertiesPtr GetProperties ( );
  836. //
  837. // Raw methods provided by interface
  838. //
  839. virtual HRESULT __stdcall get_Properties (
  840. struct Properties * * ppvObject ) = 0;
  841. };
  842. struct __declspec(uuid("00000504-0000-0010-8000-00aa006d2ea4"))
  843. Properties : _Collection
  844. {
  845. //
  846. // Property data
  847. //
  848. __declspec(property(get=GetItem))
  849. PropertyPtr Item[];
  850. //
  851. // Wrapper methods for error-handling
  852. //
  853. PropertyPtr GetItem (
  854. const _variant_t & Index );
  855. //
  856. // Raw methods provided by interface
  857. //
  858. virtual HRESULT __stdcall get_Item (
  859. VARIANT Index,
  860. struct Property * * ppvObject ) = 0;
  861. };
  862. struct __declspec(uuid("00000503-0000-0010-8000-00aa006d2ea4"))
  863. Property : IDispatch
  864. {
  865. //
  866. // Property data
  867. //
  868. __declspec(property(get=GetValue,put=PutValue))
  869. _variant_t Value;
  870. __declspec(property(get=GetName))
  871. _bstr_t Name;
  872. __declspec(property(get=GetType))
  873. enum DataTypeEnum Type;
  874. __declspec(property(get=GetAttributes,put=PutAttributes))
  875. long Attributes;
  876. //
  877. // Wrapper methods for error-handling
  878. //
  879. _variant_t GetValue ( );
  880. void PutValue (
  881. const _variant_t & pval );
  882. _bstr_t GetName ( );
  883. enum DataTypeEnum GetType ( );
  884. long GetAttributes ( );
  885. void PutAttributes (
  886. long plAttributes );
  887. //
  888. // Raw methods provided by interface
  889. //
  890. virtual HRESULT __stdcall get_Value (
  891. VARIANT * pval ) = 0;
  892. virtual HRESULT __stdcall put_Value (
  893. VARIANT pval ) = 0;
  894. virtual HRESULT __stdcall get_Name (
  895. BSTR * pbstr ) = 0;
  896. virtual HRESULT __stdcall get_Type (
  897. enum DataTypeEnum * ptype ) = 0;
  898. virtual HRESULT __stdcall get_Attributes (
  899. long * plAttributes ) = 0;
  900. virtual HRESULT __stdcall put_Attributes (
  901. long plAttributes ) = 0;
  902. };
  903. struct __declspec(uuid("00000500-0000-0010-8000-00aa006d2ea4"))
  904. Error : IDispatch
  905. {
  906. //
  907. // Property data
  908. //
  909. __declspec(property(get=GetDescription))
  910. _bstr_t Description;
  911. __declspec(property(get=GetNumber))
  912. long Number;
  913. __declspec(property(get=GetSource))
  914. _bstr_t Source;
  915. __declspec(property(get=GetHelpFile))
  916. _bstr_t HelpFile;
  917. __declspec(property(get=GetHelpContext))
  918. long HelpContext;
  919. __declspec(property(get=GetSQLState))
  920. _bstr_t SQLState;
  921. __declspec(property(get=GetNativeError))
  922. long NativeError;
  923. //
  924. // Wrapper methods for error-handling
  925. //
  926. long GetNumber ( );
  927. _bstr_t GetSource ( );
  928. _bstr_t GetDescription ( );
  929. _bstr_t GetHelpFile ( );
  930. long GetHelpContext ( );
  931. _bstr_t GetSQLState ( );
  932. long GetNativeError ( );
  933. //
  934. // Raw methods provided by interface
  935. //
  936. virtual HRESULT __stdcall get_Number (
  937. long * pl ) = 0;
  938. virtual HRESULT __stdcall get_Source (
  939. BSTR * pbstr ) = 0;
  940. virtual HRESULT __stdcall get_Description (
  941. BSTR * pbstr ) = 0;
  942. virtual HRESULT __stdcall get_HelpFile (
  943. BSTR * pbstr ) = 0;
  944. virtual HRESULT __stdcall get_HelpContext (
  945. long * pl ) = 0;
  946. virtual HRESULT __stdcall get_SQLState (
  947. BSTR * pbstr ) = 0;
  948. virtual HRESULT __stdcall get_NativeError (
  949. long * pl ) = 0;
  950. };
  951. struct __declspec(uuid("00000501-0000-0010-8000-00aa006d2ea4"))
  952. Errors : _Collection
  953. {
  954. //
  955. // Property data
  956. //
  957. __declspec(property(get=GetItem))
  958. ErrorPtr Item[];
  959. //
  960. // Wrapper methods for error-handling
  961. //
  962. ErrorPtr GetItem (
  963. const _variant_t & Index );
  964. HRESULT Clear ( );
  965. //
  966. // Raw methods provided by interface
  967. //
  968. virtual HRESULT __stdcall get_Item (
  969. VARIANT Index,
  970. struct Error * * ppvObject ) = 0;
  971. virtual HRESULT __stdcall raw_Clear ( ) = 0;
  972. };
  973. struct __declspec(uuid("00001508-0000-0010-8000-00aa006d2ea4"))
  974. Command15 : _ADO
  975. {
  976. //
  977. // Property data
  978. //
  979. __declspec(property(get=GetParameters))
  980. ParametersPtr Parameters;
  981. __declspec(property(get=GetActiveConnection,put=PutRefActiveConnection))
  982. _ConnectionPtr ActiveConnection;
  983. __declspec(property(get=GetCommandText,put=PutCommandText))
  984. _bstr_t CommandText;
  985. __declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
  986. long CommandTimeout;
  987. __declspec(property(get=GetPrepared,put=PutPrepared))
  988. VARIANT_BOOL Prepared;
  989. __declspec(property(get=GetCommandType,put=PutCommandType))
  990. enum CommandTypeEnum CommandType;
  991. __declspec(property(get=GetName,put=PutName))
  992. _bstr_t Name;
  993. //
  994. // Wrapper methods for error-handling
  995. //
  996. _ConnectionPtr GetActiveConnection ( );
  997. void PutRefActiveConnection (
  998. struct _Connection * ppvObject );
  999. void PutActiveConnection (
  1000. const _variant_t & ppvObject );
  1001. _bstr_t GetCommandText ( );
  1002. void PutCommandText (
  1003. _bstr_t pbstr );
  1004. long GetCommandTimeout ( );
  1005. void PutCommandTimeout (
  1006. long pl );
  1007. VARIANT_BOOL GetPrepared ( );
  1008. void PutPrepared (
  1009. VARIANT_BOOL pfPrepared );
  1010. _RecordsetPtr Execute (
  1011. VARIANT * RecordsAffected,
  1012. VARIANT * Parameters,
  1013. long Options );
  1014. _ParameterPtr CreateParameter (
  1015. _bstr_t Name,
  1016. enum DataTypeEnum Type,
  1017. enum ParameterDirectionEnum Direction,
  1018. long Size,
  1019. const _variant_t & Value = vtMissing );
  1020. ParametersPtr GetParameters ( );
  1021. void PutCommandType (
  1022. enum CommandTypeEnum plCmdType );
  1023. enum CommandTypeEnum GetCommandType ( );
  1024. _bstr_t GetName ( );
  1025. void PutName (
  1026. _bstr_t pbstrName );
  1027. //
  1028. // Raw methods provided by interface
  1029. //
  1030. virtual HRESULT __stdcall get_ActiveConnection (
  1031. struct _Connection * * ppvObject ) = 0;
  1032. virtual HRESULT __stdcall putref_ActiveConnection (
  1033. struct _Connection * ppvObject ) = 0;
  1034. virtual HRESULT __stdcall put_ActiveConnection (
  1035. VARIANT ppvObject ) = 0;
  1036. virtual HRESULT __stdcall get_CommandText (
  1037. BSTR * pbstr ) = 0;
  1038. virtual HRESULT __stdcall put_CommandText (
  1039. BSTR pbstr ) = 0;
  1040. virtual HRESULT __stdcall get_CommandTimeout (
  1041. long * pl ) = 0;
  1042. virtual HRESULT __stdcall put_CommandTimeout (
  1043. long pl ) = 0;
  1044. virtual HRESULT __stdcall get_Prepared (
  1045. VARIANT_BOOL * pfPrepared ) = 0;
  1046. virtual HRESULT __stdcall put_Prepared (
  1047. VARIANT_BOOL pfPrepared ) = 0;
  1048. virtual HRESULT __stdcall raw_Execute (
  1049. VARIANT * RecordsAffected,
  1050. VARIANT * Parameters,
  1051. long Options,
  1052. struct _Recordset * * ppiRs ) = 0;
  1053. virtual HRESULT __stdcall raw_CreateParameter (
  1054. BSTR Name,
  1055. enum DataTypeEnum Type,
  1056. enum ParameterDirectionEnum Direction,
  1057. long Size,
  1058. VARIANT Value,
  1059. struct _Parameter * * ppiprm ) = 0;
  1060. virtual HRESULT __stdcall get_Parameters (
  1061. struct Parameters * * ppvObject ) = 0;
  1062. virtual HRESULT __stdcall put_CommandType (
  1063. enum CommandTypeEnum plCmdType ) = 0;
  1064. virtual HRESULT __stdcall get_CommandType (
  1065. enum CommandTypeEnum * plCmdType ) = 0;
  1066. virtual HRESULT __stdcall get_Name (
  1067. BSTR * pbstrName ) = 0;
  1068. virtual HRESULT __stdcall put_Name (
  1069. BSTR pbstrName ) = 0;
  1070. };
  1071. struct __declspec(uuid("00001515-0000-0010-8000-00aa006d2ea4"))
  1072. Connection15 : _ADO
  1073. {
  1074. //
  1075. // Property data
  1076. //
  1077. __declspec(property(get=GetConnectionString,put=PutConnectionString))
  1078. _bstr_t ConnectionString;
  1079. __declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
  1080. long CommandTimeout;
  1081. __declspec(property(get=GetConnectionTimeout,put=PutConnectionTimeout))
  1082. long ConnectionTimeout;
  1083. __declspec(property(get=GetVersion))
  1084. _bstr_t Version;
  1085. __declspec(property(get=GetErrors))
  1086. ErrorsPtr Errors;
  1087. __declspec(property(get=GetDefaultDatabase,put=PutDefaultDatabase))
  1088. _bstr_t DefaultDatabase;
  1089. __declspec(property(get=GetIsolationLevel,put=PutIsolationLevel))
  1090. enum IsolationLevelEnum IsolationLevel;
  1091. __declspec(property(get=GetAttributes,put=PutAttributes))
  1092. long Attributes;
  1093. __declspec(property(get=GetCursorLocation,put=PutCursorLocation))
  1094. enum CursorLocationEnum CursorLocation;
  1095. __declspec(property(get=GetMode,put=PutMode))
  1096. enum ConnectModeEnum Mode;
  1097. __declspec(property(get=GetProvider,put=PutProvider))
  1098. _bstr_t Provider;
  1099. __declspec(property(get=GetState))
  1100. long State;
  1101. //
  1102. // Wrapper methods for error-handling
  1103. //
  1104. _bstr_t GetConnectionString ( );
  1105. void PutConnectionString (
  1106. _bstr_t pbstr );
  1107. long GetCommandTimeout ( );
  1108. void PutCommandTimeout (
  1109. long plTimeout );
  1110. long GetConnectionTimeout ( );
  1111. void PutConnectionTimeout (
  1112. long plTimeout );
  1113. _bstr_t GetVersion ( );
  1114. HRESULT Close ( );
  1115. _RecordsetPtr Execute (
  1116. _bstr_t CommandText,
  1117. VARIANT * RecordsAffected,
  1118. long Options );
  1119. long BeginTrans ( );
  1120. HRESULT CommitTrans ( );
  1121. HRESULT RollbackTrans ( );
  1122. HRESULT Open (
  1123. _bstr_t ConnectionString,
  1124. _bstr_t UserID,
  1125. _bstr_t Password,
  1126. long Options );
  1127. ErrorsPtr GetErrors ( );
  1128. _bstr_t GetDefaultDatabase ( );
  1129. void PutDefaultDatabase (
  1130. _bstr_t pbstr );
  1131. enum IsolationLevelEnum GetIsolationLevel ( );
  1132. void PutIsolationLevel (
  1133. enum IsolationLevelEnum Level );
  1134. long GetAttributes ( );
  1135. void PutAttributes (
  1136. long plAttr );
  1137. enum CursorLocationEnum GetCursorLocation ( );
  1138. void PutCursorLocation (
  1139. enum CursorLocationEnum plCursorLoc );
  1140. enum ConnectModeEnum GetMode ( );
  1141. void PutMode (
  1142. enum ConnectModeEnum plMode );
  1143. _bstr_t GetProvider ( );
  1144. void PutProvider (
  1145. _bstr_t pbstr );
  1146. long GetState ( );
  1147. _RecordsetPtr OpenSchema (
  1148. enum SchemaEnum Schema,
  1149. const _variant_t & Restrictions = vtMissing,
  1150. const _variant_t & SchemaID = vtMissing );
  1151. //
  1152. // Raw methods provided by interface
  1153. //
  1154. virtual HRESULT __stdcall get_ConnectionString (
  1155. BSTR * pbstr ) = 0;
  1156. virtual HRESULT __stdcall put_ConnectionString (
  1157. BSTR pbstr ) = 0;
  1158. virtual HRESULT __stdcall get_CommandTimeout (
  1159. long * plTimeout ) = 0;
  1160. virtual HRESULT __stdcall put_CommandTimeout (
  1161. long plTimeout ) = 0;
  1162. virtual HRESULT __stdcall get_ConnectionTimeout (
  1163. long * plTimeout ) = 0;
  1164. virtual HRESULT __stdcall put_ConnectionTimeout (
  1165. long plTimeout ) = 0;
  1166. virtual HRESULT __stdcall get_Version (
  1167. BSTR * pbstr ) = 0;
  1168. virtual HRESULT __stdcall raw_Close ( ) = 0;
  1169. virtual HRESULT __stdcall raw_Execute (
  1170. BSTR CommandText,
  1171. VARIANT * RecordsAffected,
  1172. long Options,
  1173. struct _Recordset * * ppiRset ) = 0;
  1174. virtual HRESULT __stdcall raw_BeginTrans (
  1175. long * TransactionLevel ) = 0;
  1176. virtual HRESULT __stdcall raw_CommitTrans ( ) = 0;
  1177. virtual HRESULT __stdcall raw_RollbackTrans ( ) = 0;
  1178. virtual HRESULT __stdcall raw_Open (
  1179. BSTR ConnectionString,
  1180. BSTR UserID,
  1181. BSTR Password,
  1182. long Options ) = 0;
  1183. virtual HRESULT __stdcall get_Errors (
  1184. struct Errors * * ppvObject ) = 0;
  1185. virtual HRESULT __stdcall get_DefaultDatabase (
  1186. BSTR * pbstr ) = 0;
  1187. virtual HRESULT __stdcall put_DefaultDatabase (
  1188. BSTR pbstr ) = 0;
  1189. virtual HRESULT __stdcall get_IsolationLevel (
  1190. enum IsolationLevelEnum * Level ) = 0;
  1191. virtual HRESULT __stdcall put_IsolationLevel (
  1192. enum IsolationLevelEnum Level ) = 0;
  1193. virtual HRESULT __stdcall get_Attributes (
  1194. long * plAttr ) = 0;
  1195. virtual HRESULT __stdcall put_Attributes (
  1196. long plAttr ) = 0;
  1197. virtual HRESULT __stdcall get_CursorLocation (
  1198. enum CursorLocationEnum * plCursorLoc ) = 0;
  1199. virtual HRESULT __stdcall put_CursorLocation (
  1200. enum CursorLocationEnum plCursorLoc ) = 0;
  1201. virtual HRESULT __stdcall get_Mode (
  1202. enum ConnectModeEnum * plMode ) = 0;
  1203. virtual HRESULT __stdcall put_Mode (
  1204. enum ConnectModeEnum plMode ) = 0;
  1205. virtual HRESULT __stdcall get_Provider (
  1206. BSTR * pbstr ) = 0;
  1207. virtual HRESULT __stdcall put_Provider (
  1208. BSTR pbstr ) = 0;
  1209. virtual HRESULT __stdcall get_State (
  1210. long * plObjState ) = 0;
  1211. virtual HRESULT __stdcall raw_OpenSchema (
  1212. enum SchemaEnum Schema,
  1213. VARIANT Restrictions,
  1214. VARIANT SchemaID,
  1215. struct _Recordset * * pprset ) = 0;
  1216. };
  1217. struct __declspec(uuid("00001550-0000-0010-8000-00aa006d2ea4"))
  1218. _Connection : Connection15
  1219. {
  1220. //
  1221. // Wrapper methods for error-handling
  1222. //
  1223. HRESULT Cancel ( );
  1224. //
  1225. // Raw methods provided by interface
  1226. //
  1227. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  1228. };
  1229. struct __declspec(uuid("0000150e-0000-0010-8000-00aa006d2ea4"))
  1230. Recordset15 : _ADO
  1231. {
  1232. //
  1233. // Property data
  1234. //
  1235. __declspec(property(get=GetFields))
  1236. FieldsPtr Fields;
  1237. __declspec(property(get=GetPageSize,put=PutPageSize))
  1238. long PageSize;
  1239. __declspec(property(get=GetPageCount))
  1240. long PageCount;
  1241. __declspec(property(get=GetCursorLocation,put=PutCursorLocation))
  1242. enum CursorLocationEnum CursorLocation;
  1243. __declspec(property(get=GetState))
  1244. long State;
  1245. __declspec(property(get=GetMarshalOptions,put=PutMarshalOptions))
  1246. enum MarshalOptionsEnum MarshalOptions;
  1247. __declspec(property(get=GetCollect,put=PutCollect))
  1248. _variant_t Collect[];
  1249. __declspec(property(get=GetEditMode))
  1250. enum EditModeEnum EditMode;
  1251. __declspec(property(get=GetStatus))
  1252. long Status;
  1253. __declspec(property(get=GetFilter,put=PutFilter))
  1254. _variant_t Filter;
  1255. __declspec(property(get=GetSort,put=PutSort))
  1256. _bstr_t Sort;
  1257. __declspec(property(get=GetAbsolutePosition,put=PutAbsolutePosition))
  1258. enum PositionEnum AbsolutePosition;
  1259. __declspec(property(get=GetBOF))
  1260. VARIANT_BOOL BOF;
  1261. __declspec(property(get=GetBookmark,put=PutBookmark))
  1262. _variant_t Bookmark;
  1263. __declspec(property(get=GetCacheSize,put=PutCacheSize))
  1264. long CacheSize;
  1265. __declspec(property(get=GetCursorType,put=PutCursorType))
  1266. enum CursorTypeEnum CursorType;
  1267. __declspec(property(get=GetadoEOF))
  1268. VARIANT_BOOL adoEOF;
  1269. __declspec(property(get=GetAbsolutePage,put=PutAbsolutePage))
  1270. enum PositionEnum AbsolutePage;
  1271. __declspec(property(get=GetLockType,put=PutLockType))
  1272. enum LockTypeEnum LockType;
  1273. __declspec(property(get=GetMaxRecords,put=PutMaxRecords))
  1274. long MaxRecords;
  1275. __declspec(property(get=GetRecordCount))
  1276. long RecordCount;
  1277. //
  1278. // Wrapper methods for error-handling
  1279. //
  1280. enum PositionEnum GetAbsolutePosition ( );
  1281. void PutAbsolutePosition (
  1282. enum PositionEnum pl );
  1283. void PutRefActiveConnection (
  1284. IDispatch * pvar );
  1285. void PutActiveConnection (
  1286. const _variant_t & pvar );
  1287. _variant_t GetActiveConnection ( );
  1288. VARIANT_BOOL GetBOF ( );
  1289. _variant_t GetBookmark ( );
  1290. void PutBookmark (
  1291. const _variant_t & pvBookmark );
  1292. long GetCacheSize ( );
  1293. void PutCacheSize (
  1294. long pl );
  1295. enum CursorTypeEnum GetCursorType ( );
  1296. void PutCursorType (
  1297. enum CursorTypeEnum plCursorType );
  1298. VARIANT_BOOL GetadoEOF ( );
  1299. FieldsPtr GetFields ( );
  1300. enum LockTypeEnum GetLockType ( );
  1301. void PutLockType (
  1302. enum LockTypeEnum plLockType );
  1303. long GetMaxRecords ( );
  1304. void PutMaxRecords (
  1305. long plMaxRecords );
  1306. long GetRecordCount ( );
  1307. void PutRefSource (
  1308. IDispatch * pvSource );
  1309. void PutSource (
  1310. _bstr_t pvSource );
  1311. _variant_t GetSource ( );
  1312. HRESULT AddNew (
  1313. const _variant_t & FieldList = vtMissing,
  1314. const _variant_t & Values = vtMissing );
  1315. HRESULT CancelUpdate ( );
  1316. HRESULT Close ( );
  1317. HRESULT Delete (
  1318. enum AffectEnum AffectRecords );
  1319. _variant_t GetRows (
  1320. long Rows,
  1321. const _variant_t & Start = vtMissing,
  1322. const _variant_t & Fields = vtMissing );
  1323. HRESULT Move (
  1324. long NumRecords,
  1325. const _variant_t & Start = vtMissing );
  1326. HRESULT MoveNext ( );
  1327. HRESULT MovePrevious ( );
  1328. HRESULT MoveFirst ( );
  1329. HRESULT MoveLast ( );
  1330. HRESULT Open (
  1331. const _variant_t & Source,
  1332. const _variant_t & ActiveConnection,
  1333. enum CursorTypeEnum CursorType,
  1334. enum LockTypeEnum LockType,
  1335. long Options );
  1336. HRESULT Requery (
  1337. long Options );
  1338. HRESULT _xResync (
  1339. enum AffectEnum AffectRecords );
  1340. HRESULT Update (
  1341. const _variant_t & Fields = vtMissing,
  1342. const _variant_t & Values = vtMissing );
  1343. enum PositionEnum GetAbsolutePage ( );
  1344. void PutAbsolutePage (
  1345. enum PositionEnum pl );
  1346. enum EditModeEnum GetEditMode ( );
  1347. _variant_t GetFilter ( );
  1348. void PutFilter (
  1349. const _variant_t & Criteria );
  1350. long GetPageCount ( );
  1351. long GetPageSize ( );
  1352. void PutPageSize (
  1353. long pl );
  1354. _bstr_t GetSort ( );
  1355. void PutSort (
  1356. _bstr_t Criteria );
  1357. long GetStatus ( );
  1358. long GetState ( );
  1359. _RecordsetPtr _xClone ( );
  1360. HRESULT UpdateBatch (
  1361. enum AffectEnum AffectRecords );
  1362. HRESULT CancelBatch (
  1363. enum AffectEnum AffectRecords );
  1364. enum CursorLocationEnum GetCursorLocation ( );
  1365. void PutCursorLocation (
  1366. enum CursorLocationEnum plCursorLoc );
  1367. _RecordsetPtr NextRecordset (
  1368. VARIANT * RecordsAffected );
  1369. VARIANT_BOOL Supports (
  1370. enum CursorOptionEnum CursorOptions );
  1371. _variant_t GetCollect (
  1372. const _variant_t & Index );
  1373. void PutCollect (
  1374. const _variant_t & Index,
  1375. const _variant_t & pvar );
  1376. enum MarshalOptionsEnum GetMarshalOptions ( );
  1377. void PutMarshalOptions (
  1378. enum MarshalOptionsEnum peMarshal );
  1379. HRESULT Find (
  1380. _bstr_t Criteria,
  1381. long SkipRecords,
  1382. enum SearchDirectionEnum SearchDirection,
  1383. const _variant_t & Start = vtMissing );
  1384. //
  1385. // Raw methods provided by interface
  1386. //
  1387. virtual HRESULT __stdcall get_AbsolutePosition (
  1388. enum PositionEnum * pl ) = 0;
  1389. virtual HRESULT __stdcall put_AbsolutePosition (
  1390. enum PositionEnum pl ) = 0;
  1391. virtual HRESULT __stdcall putref_ActiveConnection (
  1392. IDispatch * pvar ) = 0;
  1393. virtual HRESULT __stdcall put_ActiveConnection (
  1394. VARIANT pvar ) = 0;
  1395. virtual HRESULT __stdcall get_ActiveConnection (
  1396. VARIANT * pvar ) = 0;
  1397. virtual HRESULT __stdcall get_BOF (
  1398. VARIANT_BOOL * pb ) = 0;
  1399. virtual HRESULT __stdcall get_Bookmark (
  1400. VARIANT * pvBookmark ) = 0;
  1401. virtual HRESULT __stdcall put_Bookmark (
  1402. VARIANT pvBookmark ) = 0;
  1403. virtual HRESULT __stdcall get_CacheSize (
  1404. long * pl ) = 0;
  1405. virtual HRESULT __stdcall put_CacheSize (
  1406. long pl ) = 0;
  1407. virtual HRESULT __stdcall get_CursorType (
  1408. enum CursorTypeEnum * plCursorType ) = 0;
  1409. virtual HRESULT __stdcall put_CursorType (
  1410. enum CursorTypeEnum plCursorType ) = 0;
  1411. virtual HRESULT __stdcall get_adoEOF (
  1412. VARIANT_BOOL * pb ) = 0;
  1413. virtual HRESULT __stdcall get_Fields (
  1414. struct Fields * * ppvObject ) = 0;
  1415. virtual HRESULT __stdcall get_LockType (
  1416. enum LockTypeEnum * plLockType ) = 0;
  1417. virtual HRESULT __stdcall put_LockType (
  1418. enum LockTypeEnum plLockType ) = 0;
  1419. virtual HRESULT __stdcall get_MaxRecords (
  1420. long * plMaxRecords ) = 0;
  1421. virtual HRESULT __stdcall put_MaxRecords (
  1422. long plMaxRecords ) = 0;
  1423. virtual HRESULT __stdcall get_RecordCount (
  1424. long * pl ) = 0;
  1425. virtual HRESULT __stdcall putref_Source (
  1426. IDispatch * pvSource ) = 0;
  1427. virtual HRESULT __stdcall put_Source (
  1428. BSTR pvSource ) = 0;
  1429. virtual HRESULT __stdcall get_Source (
  1430. VARIANT * pvSource ) = 0;
  1431. virtual HRESULT __stdcall raw_AddNew (
  1432. VARIANT FieldList = vtMissing,
  1433. VARIANT Values = vtMissing ) = 0;
  1434. virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
  1435. virtual HRESULT __stdcall raw_Close ( ) = 0;
  1436. virtual HRESULT __stdcall raw_Delete (
  1437. enum AffectEnum AffectRecords ) = 0;
  1438. virtual HRESULT __stdcall raw_GetRows (
  1439. long Rows,
  1440. VARIANT Start,
  1441. VARIANT Fields,
  1442. VARIANT * pvar ) = 0;
  1443. virtual HRESULT __stdcall raw_Move (
  1444. long NumRecords,
  1445. VARIANT Start = vtMissing ) = 0;
  1446. virtual HRESULT __stdcall raw_MoveNext ( ) = 0;
  1447. virtual HRESULT __stdcall raw_MovePrevious ( ) = 0;
  1448. virtual HRESULT __stdcall raw_MoveFirst ( ) = 0;
  1449. virtual HRESULT __stdcall raw_MoveLast ( ) = 0;
  1450. virtual HRESULT __stdcall raw_Open (
  1451. VARIANT Source,
  1452. VARIANT ActiveConnection,
  1453. enum CursorTypeEnum CursorType,
  1454. enum LockTypeEnum LockType,
  1455. long Options ) = 0;
  1456. virtual HRESULT __stdcall raw_Requery (
  1457. long Options ) = 0;
  1458. virtual HRESULT __stdcall raw__xResync (
  1459. enum AffectEnum AffectRecords ) = 0;
  1460. virtual HRESULT __stdcall raw_Update (
  1461. VARIANT Fields = vtMissing,
  1462. VARIANT Values = vtMissing ) = 0;
  1463. virtual HRESULT __stdcall get_AbsolutePage (
  1464. enum PositionEnum * pl ) = 0;
  1465. virtual HRESULT __stdcall put_AbsolutePage (
  1466. enum PositionEnum pl ) = 0;
  1467. virtual HRESULT __stdcall get_EditMode (
  1468. enum EditModeEnum * pl ) = 0;
  1469. virtual HRESULT __stdcall get_Filter (
  1470. VARIANT * Criteria ) = 0;
  1471. virtual HRESULT __stdcall put_Filter (
  1472. VARIANT Criteria ) = 0;
  1473. virtual HRESULT __stdcall get_PageCount (
  1474. long * pl ) = 0;
  1475. virtual HRESULT __stdcall get_PageSize (
  1476. long * pl ) = 0;
  1477. virtual HRESULT __stdcall put_PageSize (
  1478. long pl ) = 0;
  1479. virtual HRESULT __stdcall get_Sort (
  1480. BSTR * Criteria ) = 0;
  1481. virtual HRESULT __stdcall put_Sort (
  1482. BSTR Criteria ) = 0;
  1483. virtual HRESULT __stdcall get_Status (
  1484. long * pl ) = 0;
  1485. virtual HRESULT __stdcall get_State (
  1486. long * plObjState ) = 0;
  1487. virtual HRESULT __stdcall raw__xClone (
  1488. struct _Recordset * * ppvObject ) = 0;
  1489. virtual HRESULT __stdcall raw_UpdateBatch (
  1490. enum AffectEnum AffectRecords ) = 0;
  1491. virtual HRESULT __stdcall raw_CancelBatch (
  1492. enum AffectEnum AffectRecords ) = 0;
  1493. virtual HRESULT __stdcall get_CursorLocation (
  1494. enum CursorLocationEnum * plCursorLoc ) = 0;
  1495. virtual HRESULT __stdcall put_CursorLocation (
  1496. enum CursorLocationEnum plCursorLoc ) = 0;
  1497. virtual HRESULT __stdcall raw_NextRecordset (
  1498. VARIANT * RecordsAffected,
  1499. struct _Recordset * * ppiRs ) = 0;
  1500. virtual HRESULT __stdcall raw_Supports (
  1501. enum CursorOptionEnum CursorOptions,
  1502. VARIANT_BOOL * pb ) = 0;
  1503. virtual HRESULT __stdcall get_Collect (
  1504. VARIANT Index,
  1505. VARIANT * pvar ) = 0;
  1506. virtual HRESULT __stdcall put_Collect (
  1507. VARIANT Index,
  1508. VARIANT pvar ) = 0;
  1509. virtual HRESULT __stdcall get_MarshalOptions (
  1510. enum MarshalOptionsEnum * peMarshal ) = 0;
  1511. virtual HRESULT __stdcall put_MarshalOptions (
  1512. enum MarshalOptionsEnum peMarshal ) = 0;
  1513. virtual HRESULT __stdcall raw_Find (
  1514. BSTR Criteria,
  1515. long SkipRecords,
  1516. enum SearchDirectionEnum SearchDirection,
  1517. VARIANT Start = vtMissing ) = 0;
  1518. };
  1519. struct __declspec(uuid("0000154f-0000-0010-8000-00aa006d2ea4"))
  1520. Recordset20 : Recordset15
  1521. {
  1522. //
  1523. // Property data
  1524. //
  1525. __declspec(property(get=GetDataSource,put=PutRefDataSource))
  1526. IUnknownPtr DataSource;
  1527. __declspec(property(get=GetActiveCommand))
  1528. IDispatchPtr ActiveCommand;
  1529. __declspec(property(get=GetStayInSync,put=PutStayInSync))
  1530. VARIANT_BOOL StayInSync;
  1531. __declspec(property(get=GetDataMember,put=PutDataMember))
  1532. _bstr_t DataMember;
  1533. //
  1534. // Wrapper methods for error-handling
  1535. //
  1536. HRESULT Cancel ( );
  1537. IUnknownPtr GetDataSource ( );
  1538. void PutRefDataSource (
  1539. IUnknown * ppunkDataSource );
  1540. HRESULT _xSave (
  1541. _bstr_t FileName,
  1542. enum PersistFormatEnum PersistFormat );
  1543. IDispatchPtr GetActiveCommand ( );
  1544. void PutStayInSync (
  1545. VARIANT_BOOL pbStayInSync );
  1546. VARIANT_BOOL GetStayInSync ( );
  1547. _bstr_t GetString (
  1548. enum StringFormatEnum StringFormat,
  1549. long NumRows,
  1550. _bstr_t ColumnDelimeter,
  1551. _bstr_t RowDelimeter,
  1552. _bstr_t NullExpr );
  1553. _bstr_t GetDataMember ( );
  1554. void PutDataMember (
  1555. _bstr_t pbstrDataMember );
  1556. enum CompareEnum CompareBookmarks (
  1557. const _variant_t & Bookmark1,
  1558. const _variant_t & Bookmark2 );
  1559. _RecordsetPtr Clone (
  1560. enum LockTypeEnum LockType );
  1561. HRESULT Resync (
  1562. enum AffectEnum AffectRecords,
  1563. enum ResyncEnum ResyncValues );
  1564. //
  1565. // Raw methods provided by interface
  1566. //
  1567. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  1568. virtual HRESULT __stdcall get_DataSource (
  1569. IUnknown * * ppunkDataSource ) = 0;
  1570. virtual HRESULT __stdcall putref_DataSource (
  1571. IUnknown * ppunkDataSource ) = 0;
  1572. virtual HRESULT __stdcall raw__xSave (
  1573. BSTR FileName,
  1574. enum PersistFormatEnum PersistFormat ) = 0;
  1575. virtual HRESULT __stdcall get_ActiveCommand (
  1576. IDispatch * * ppCmd ) = 0;
  1577. virtual HRESULT __stdcall put_StayInSync (
  1578. VARIANT_BOOL pbStayInSync ) = 0;
  1579. virtual HRESULT __stdcall get_StayInSync (
  1580. VARIANT_BOOL * pbStayInSync ) = 0;
  1581. virtual HRESULT __stdcall raw_GetString (
  1582. enum StringFormatEnum StringFormat,
  1583. long NumRows,
  1584. BSTR ColumnDelimeter,
  1585. BSTR RowDelimeter,
  1586. BSTR NullExpr,
  1587. BSTR * pRetString ) = 0;
  1588. virtual HRESULT __stdcall get_DataMember (
  1589. BSTR * pbstrDataMember ) = 0;
  1590. virtual HRESULT __stdcall put_DataMember (
  1591. BSTR pbstrDataMember ) = 0;
  1592. virtual HRESULT __stdcall raw_CompareBookmarks (
  1593. VARIANT Bookmark1,
  1594. VARIANT Bookmark2,
  1595. enum CompareEnum * pCompare ) = 0;
  1596. virtual HRESULT __stdcall raw_Clone (
  1597. enum LockTypeEnum LockType,
  1598. struct _Recordset * * ppvObject ) = 0;
  1599. virtual HRESULT __stdcall raw_Resync (
  1600. enum AffectEnum AffectRecords,
  1601. enum ResyncEnum ResyncValues ) = 0;
  1602. };
  1603. struct __declspec(uuid("00001555-0000-0010-8000-00aa006d2ea4"))
  1604. Recordset21 : Recordset20
  1605. {
  1606. //
  1607. // Property data
  1608. //
  1609. __declspec(property(get=GetIndex,put=PutIndex))
  1610. _bstr_t Index;
  1611. //
  1612. // Wrapper methods for error-handling
  1613. //
  1614. HRESULT Seek (
  1615. const _variant_t & KeyValues,
  1616. enum SeekEnum SeekOption );
  1617. void PutIndex (
  1618. _bstr_t pbstrIndex );
  1619. _bstr_t GetIndex ( );
  1620. //
  1621. // Raw methods provided by interface
  1622. //
  1623. virtual HRESULT __stdcall raw_Seek (
  1624. VARIANT KeyValues,
  1625. enum SeekEnum SeekOption ) = 0;
  1626. virtual HRESULT __stdcall put_Index (
  1627. BSTR pbstrIndex ) = 0;
  1628. virtual HRESULT __stdcall get_Index (
  1629. BSTR * pbstrIndex ) = 0;
  1630. };
  1631. struct __declspec(uuid("00001556-0000-0010-8000-00aa006d2ea4"))
  1632. _Recordset : Recordset21
  1633. {
  1634. //
  1635. // Wrapper methods for error-handling
  1636. //
  1637. HRESULT Save (
  1638. const _variant_t & Destination,
  1639. enum PersistFormatEnum PersistFormat );
  1640. //
  1641. // Raw methods provided by interface
  1642. //
  1643. virtual HRESULT __stdcall raw_Save (
  1644. VARIANT Destination,
  1645. enum PersistFormatEnum PersistFormat ) = 0;
  1646. };
  1647. struct __declspec(uuid("00001506-0000-0010-8000-00aa006d2ea4"))
  1648. Fields15 : _Collection
  1649. {
  1650. //
  1651. // Property data
  1652. //
  1653. __declspec(property(get=GetItem))
  1654. FieldPtr Item[];
  1655. //
  1656. // Wrapper methods for error-handling
  1657. //
  1658. FieldPtr GetItem (
  1659. const _variant_t & Index );
  1660. //
  1661. // Raw methods provided by interface
  1662. //
  1663. virtual HRESULT __stdcall get_Item (
  1664. VARIANT Index,
  1665. struct Field * * ppvObject ) = 0;
  1666. };
  1667. struct __declspec(uuid("0000154d-0000-0010-8000-00aa006d2ea4"))
  1668. Fields20 : Fields15
  1669. {
  1670. //
  1671. // Wrapper methods for error-handling
  1672. //
  1673. HRESULT _Append (
  1674. _bstr_t Name,
  1675. enum DataTypeEnum Type,
  1676. long DefinedSize,
  1677. enum FieldAttributeEnum Attrib );
  1678. HRESULT Delete (
  1679. const _variant_t & Index );
  1680. //
  1681. // Raw methods provided by interface
  1682. //
  1683. virtual HRESULT __stdcall raw__Append (
  1684. BSTR Name,
  1685. enum DataTypeEnum Type,
  1686. long DefinedSize,
  1687. enum FieldAttributeEnum Attrib ) = 0;
  1688. virtual HRESULT __stdcall raw_Delete (
  1689. VARIANT Index ) = 0;
  1690. };
  1691. struct __declspec(uuid("00001564-0000-0010-8000-00aa006d2ea4"))
  1692. Fields : Fields20
  1693. {
  1694. //
  1695. // Wrapper methods for error-handling
  1696. //
  1697. HRESULT Append (
  1698. _bstr_t Name,
  1699. enum DataTypeEnum Type,
  1700. long DefinedSize,
  1701. enum FieldAttributeEnum Attrib,
  1702. const _variant_t & FieldValue = vtMissing );
  1703. HRESULT Update ( );
  1704. HRESULT Resync (
  1705. enum ResyncEnum ResyncValues );
  1706. HRESULT CancelUpdate ( );
  1707. //
  1708. // Raw methods provided by interface
  1709. //
  1710. virtual HRESULT __stdcall raw_Append (
  1711. BSTR Name,
  1712. enum DataTypeEnum Type,
  1713. long DefinedSize,
  1714. enum FieldAttributeEnum Attrib,
  1715. VARIANT FieldValue = vtMissing ) = 0;
  1716. virtual HRESULT __stdcall raw_Update ( ) = 0;
  1717. virtual HRESULT __stdcall raw_Resync (
  1718. enum ResyncEnum ResyncValues ) = 0;
  1719. virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
  1720. };
  1721. struct __declspec(uuid("0000154c-0000-0010-8000-00aa006d2ea4"))
  1722. Field20 : _ADO
  1723. {
  1724. //
  1725. // Property data
  1726. //
  1727. __declspec(property(get=GetValue,put=PutValue))
  1728. _variant_t Value;
  1729. __declspec(property(get=GetName))
  1730. _bstr_t Name;
  1731. __declspec(property(get=GetType,put=PutType))
  1732. enum DataTypeEnum Type;
  1733. __declspec(property(get=GetDefinedSize,put=PutDefinedSize))
  1734. long DefinedSize;
  1735. __declspec(property(get=GetOriginalValue))
  1736. _variant_t OriginalValue;
  1737. __declspec(property(get=GetUnderlyingValue))
  1738. _variant_t UnderlyingValue;
  1739. __declspec(property(get=GetActualSize))
  1740. long ActualSize;
  1741. __declspec(property(get=GetPrecision,put=PutPrecision))
  1742. unsigned char Precision;
  1743. __declspec(property(get=GetNumericScale,put=PutNumericScale))
  1744. unsigned char NumericScale;
  1745. __declspec(property(get=GetAttributes,put=PutAttributes))
  1746. long Attributes;
  1747. __declspec(property(get=GetDataFormat,put=PutRefDataFormat))
  1748. IUnknownPtr DataFormat;
  1749. //
  1750. // Wrapper methods for error-handling
  1751. //
  1752. long GetActualSize ( );
  1753. long GetAttributes ( );
  1754. long GetDefinedSize ( );
  1755. _bstr_t GetName ( );
  1756. enum DataTypeEnum GetType ( );
  1757. _variant_t GetValue ( );
  1758. void PutValue (
  1759. const _variant_t & pvar );
  1760. unsigned char GetPrecision ( );
  1761. unsigned char GetNumericScale ( );
  1762. HRESULT AppendChunk (
  1763. const _variant_t & Data );
  1764. _variant_t GetChunk (
  1765. long Length );
  1766. _variant_t GetOriginalValue ( );
  1767. _variant_t GetUnderlyingValue ( );
  1768. IUnknownPtr GetDataFormat ( );
  1769. void PutRefDataFormat (
  1770. IUnknown * ppiDF );
  1771. void PutPrecision (
  1772. unsigned char pbPrecision );
  1773. void PutNumericScale (
  1774. unsigned char pbNumericScale );
  1775. void PutType (
  1776. enum DataTypeEnum pDataType );
  1777. void PutDefinedSize (
  1778. long pl );
  1779. void PutAttributes (
  1780. long pl );
  1781. //
  1782. // Raw methods provided by interface
  1783. //
  1784. virtual HRESULT __stdcall get_ActualSize (
  1785. long * pl ) = 0;
  1786. virtual HRESULT __stdcall get_Attributes (
  1787. long * pl ) = 0;
  1788. virtual HRESULT __stdcall get_DefinedSize (
  1789. long * pl ) = 0;
  1790. virtual HRESULT __stdcall get_Name (
  1791. BSTR * pbstr ) = 0;
  1792. virtual HRESULT __stdcall get_Type (
  1793. enum DataTypeEnum * pDataType ) = 0;
  1794. virtual HRESULT __stdcall get_Value (
  1795. VARIANT * pvar ) = 0;
  1796. virtual HRESULT __stdcall put_Value (
  1797. VARIANT pvar ) = 0;
  1798. virtual HRESULT __stdcall get_Precision (
  1799. unsigned char * pbPrecision ) = 0;
  1800. virtual HRESULT __stdcall get_NumericScale (
  1801. unsigned char * pbNumericScale ) = 0;
  1802. virtual HRESULT __stdcall raw_AppendChunk (
  1803. VARIANT Data ) = 0;
  1804. virtual HRESULT __stdcall raw_GetChunk (
  1805. long Length,
  1806. VARIANT * pvar ) = 0;
  1807. virtual HRESULT __stdcall get_OriginalValue (
  1808. VARIANT * pvar ) = 0;
  1809. virtual HRESULT __stdcall get_UnderlyingValue (
  1810. VARIANT * pvar ) = 0;
  1811. virtual HRESULT __stdcall get_DataFormat (
  1812. IUnknown * * ppiDF ) = 0;
  1813. virtual HRESULT __stdcall putref_DataFormat (
  1814. IUnknown * ppiDF ) = 0;
  1815. virtual HRESULT __stdcall put_Precision (
  1816. unsigned char pbPrecision ) = 0;
  1817. virtual HRESULT __stdcall put_NumericScale (
  1818. unsigned char pbNumericScale ) = 0;
  1819. virtual HRESULT __stdcall put_Type (
  1820. enum DataTypeEnum pDataType ) = 0;
  1821. virtual HRESULT __stdcall put_DefinedSize (
  1822. long pl ) = 0;
  1823. virtual HRESULT __stdcall put_Attributes (
  1824. long pl ) = 0;
  1825. };
  1826. struct __declspec(uuid("00001569-0000-0010-8000-00aa006d2ea4"))
  1827. Field : Field20
  1828. {
  1829. //
  1830. // Property data
  1831. //
  1832. __declspec(property(get=GetStatus))
  1833. long Status;
  1834. //
  1835. // Wrapper methods for error-handling
  1836. //
  1837. long GetStatus ( );
  1838. //
  1839. // Raw methods provided by interface
  1840. //
  1841. virtual HRESULT __stdcall get_Status (
  1842. long * pFStatus ) = 0;
  1843. };
  1844. struct __declspec(uuid("0000150c-0000-0010-8000-00aa006d2ea4"))
  1845. _Parameter : _ADO
  1846. {
  1847. //
  1848. // Property data
  1849. //
  1850. __declspec(property(get=GetValue,put=PutValue))
  1851. _variant_t Value;
  1852. __declspec(property(get=GetName,put=PutName))
  1853. _bstr_t Name;
  1854. __declspec(property(get=GetType,put=PutType))
  1855. enum DataTypeEnum Type;
  1856. __declspec(property(get=GetDirection,put=PutDirection))
  1857. enum ParameterDirectionEnum Direction;
  1858. __declspec(property(get=GetPrecision,put=PutPrecision))
  1859. unsigned char Precision;
  1860. __declspec(property(get=GetNumericScale,put=PutNumericScale))
  1861. unsigned char NumericScale;
  1862. __declspec(property(get=GetSize,put=PutSize))
  1863. long Size;
  1864. __declspec(property(get=GetAttributes,put=PutAttributes))
  1865. long Attributes;
  1866. //
  1867. // Wrapper methods for error-handling
  1868. //
  1869. _bstr_t GetName ( );
  1870. void PutName (
  1871. _bstr_t pbstr );
  1872. _variant_t GetValue ( );
  1873. void PutValue (
  1874. const _variant_t & pvar );
  1875. enum DataTypeEnum GetType ( );
  1876. void PutType (
  1877. enum DataTypeEnum psDataType );
  1878. void PutDirection (
  1879. enum ParameterDirectionEnum plParmDirection );
  1880. enum ParameterDirectionEnum GetDirection ( );
  1881. void PutPrecision (
  1882. unsigned char pbPrecision );
  1883. unsigned char GetPrecision ( );
  1884. void PutNumericScale (
  1885. unsigned char pbScale );
  1886. unsigned char GetNumericScale ( );
  1887. void PutSize (
  1888. long pl );
  1889. long GetSize ( );
  1890. HRESULT AppendChunk (
  1891. const _variant_t & Val );
  1892. long GetAttributes ( );
  1893. void PutAttributes (
  1894. long plParmAttribs );
  1895. //
  1896. // Raw methods provided by interface
  1897. //
  1898. virtual HRESULT __stdcall get_Name (
  1899. BSTR * pbstr ) = 0;
  1900. virtual HRESULT __stdcall put_Name (
  1901. BSTR pbstr ) = 0;
  1902. virtual HRESULT __stdcall get_Value (
  1903. VARIANT * pvar ) = 0;
  1904. virtual HRESULT __stdcall put_Value (
  1905. VARIANT pvar ) = 0;
  1906. virtual HRESULT __stdcall get_Type (
  1907. enum DataTypeEnum * psDataType ) = 0;
  1908. virtual HRESULT __stdcall put_Type (
  1909. enum DataTypeEnum psDataType ) = 0;
  1910. virtual HRESULT __stdcall put_Direction (
  1911. enum ParameterDirectionEnum plParmDirection ) = 0;
  1912. virtual HRESULT __stdcall get_Direction (
  1913. enum ParameterDirectionEnum * plParmDirection ) = 0;
  1914. virtual HRESULT __stdcall put_Precision (
  1915. unsigned char pbPrecision ) = 0;
  1916. virtual HRESULT __stdcall get_Precision (
  1917. unsigned char * pbPrecision ) = 0;
  1918. virtual HRESULT __stdcall put_NumericScale (
  1919. unsigned char pbScale ) = 0;
  1920. virtual HRESULT __stdcall get_NumericScale (
  1921. unsigned char * pbScale ) = 0;
  1922. virtual HRESULT __stdcall put_Size (
  1923. long pl ) = 0;
  1924. virtual HRESULT __stdcall get_Size (
  1925. long * pl ) = 0;
  1926. virtual HRESULT __stdcall raw_AppendChunk (
  1927. VARIANT Val ) = 0;
  1928. virtual HRESULT __stdcall get_Attributes (
  1929. long * plParmAttribs ) = 0;
  1930. virtual HRESULT __stdcall put_Attributes (
  1931. long plParmAttribs ) = 0;
  1932. };
  1933. struct __declspec(uuid("0000150d-0000-0010-8000-00aa006d2ea4"))
  1934. Parameters : _DynaCollection
  1935. {
  1936. //
  1937. // Property data
  1938. //
  1939. __declspec(property(get=GetItem))
  1940. _ParameterPtr Item[];
  1941. //
  1942. // Wrapper methods for error-handling
  1943. //
  1944. _ParameterPtr GetItem (
  1945. const _variant_t & Index );
  1946. //
  1947. // Raw methods provided by interface
  1948. //
  1949. virtual HRESULT __stdcall get_Item (
  1950. VARIANT Index,
  1951. struct _Parameter * * ppvObject ) = 0;
  1952. };
  1953. struct __declspec(uuid("0000154e-0000-0010-8000-00aa006d2ea4"))
  1954. Command25 : Command15
  1955. {
  1956. //
  1957. // Property data
  1958. //
  1959. __declspec(property(get=GetState))
  1960. long State;
  1961. //
  1962. // Wrapper methods for error-handling
  1963. //
  1964. long GetState ( );
  1965. HRESULT Cancel ( );
  1966. //
  1967. // Raw methods provided by interface
  1968. //
  1969. virtual HRESULT __stdcall get_State (
  1970. long * plObjState ) = 0;
  1971. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  1972. };
  1973. struct __declspec(uuid("986761e8-7269-4890-aa65-ad7c03697a6d"))
  1974. _Command : Command25
  1975. {
  1976. //
  1977. // Property data
  1978. //
  1979. __declspec(property(get=GetDialect,put=PutDialect))
  1980. _bstr_t Dialect;
  1981. __declspec(property(get=GetNamedParameters,put=PutNamedParameters))
  1982. VARIANT_BOOL NamedParameters;
  1983. //
  1984. // Wrapper methods for error-handling
  1985. //
  1986. void PutRefCommandStream (
  1987. IUnknown * pvStream );
  1988. _variant_t GetCommandStream ( );
  1989. void PutDialect (
  1990. _bstr_t pbstrDialect );
  1991. _bstr_t GetDialect ( );
  1992. void PutNamedParameters (
  1993. VARIANT_BOOL pfNamedParameters );
  1994. VARIANT_BOOL GetNamedParameters ( );
  1995. //
  1996. // Raw methods provided by interface
  1997. //
  1998. virtual HRESULT __stdcall putref_CommandStream (
  1999. IUnknown * pvStream ) = 0;
  2000. virtual HRESULT __stdcall get_CommandStream (
  2001. VARIANT * pvStream ) = 0;
  2002. virtual HRESULT __stdcall put_Dialect (
  2003. BSTR pbstrDialect ) = 0;
  2004. virtual HRESULT __stdcall get_Dialect (
  2005. BSTR * pbstrDialect ) = 0;
  2006. virtual HRESULT __stdcall put_NamedParameters (
  2007. VARIANT_BOOL pfNamedParameters ) = 0;
  2008. virtual HRESULT __stdcall get_NamedParameters (
  2009. VARIANT_BOOL * pfNamedParameters ) = 0;
  2010. };
  2011. struct __declspec(uuid("00001402-0000-0010-8000-00aa006d2ea4"))
  2012. ConnectionEventsVt : IUnknown
  2013. {
  2014. //
  2015. // Wrapper methods for error-handling
  2016. //
  2017. HRESULT InfoMessage (
  2018. struct Error * pError,
  2019. enum EventStatusEnum * adStatus,
  2020. struct _Connection * pConnection );
  2021. HRESULT BeginTransComplete (
  2022. long TransactionLevel,
  2023. struct Error * pError,
  2024. enum EventStatusEnum * adStatus,
  2025. struct _Connection * pConnection );
  2026. HRESULT CommitTransComplete (
  2027. struct Error * pError,
  2028. enum EventStatusEnum * adStatus,
  2029. struct _Connection * pConnection );
  2030. HRESULT RollbackTransComplete (
  2031. struct Error * pError,
  2032. enum EventStatusEnum * adStatus,
  2033. struct _Connection * pConnection );
  2034. HRESULT WillExecute (
  2035. BSTR * Source,
  2036. enum CursorTypeEnum * CursorType,
  2037. enum LockTypeEnum * LockType,
  2038. long * Options,
  2039. enum EventStatusEnum * adStatus,
  2040. struct _Command * pCommand,
  2041. struct _Recordset * pRecordset,
  2042. struct _Connection * pConnection );
  2043. HRESULT ExecuteComplete (
  2044. long RecordsAffected,
  2045. struct Error * pError,
  2046. enum EventStatusEnum * adStatus,
  2047. struct _Command * pCommand,
  2048. struct _Recordset * pRecordset,
  2049. struct _Connection * pConnection );
  2050. HRESULT WillConnect (
  2051. BSTR * ConnectionString,
  2052. BSTR * UserID,
  2053. BSTR * Password,
  2054. long * Options,
  2055. enum EventStatusEnum * adStatus,
  2056. struct _Connection * pConnection );
  2057. HRESULT ConnectComplete (
  2058. struct Error * pError,
  2059. enum EventStatusEnum * adStatus,
  2060. struct _Connection * pConnection );
  2061. HRESULT Disconnect (
  2062. enum EventStatusEnum * adStatus,
  2063. struct _Connection * pConnection );
  2064. //
  2065. // Raw methods provided by interface
  2066. //
  2067. virtual HRESULT __stdcall raw_InfoMessage (
  2068. struct Error * pError,
  2069. enum EventStatusEnum * adStatus,
  2070. struct _Connection * pConnection ) = 0;
  2071. virtual HRESULT __stdcall raw_BeginTransComplete (
  2072. long TransactionLevel,
  2073. struct Error * pError,
  2074. enum EventStatusEnum * adStatus,
  2075. struct _Connection * pConnection ) = 0;
  2076. virtual HRESULT __stdcall raw_CommitTransComplete (
  2077. struct Error * pError,
  2078. enum EventStatusEnum * adStatus,
  2079. struct _Connection * pConnection ) = 0;
  2080. virtual HRESULT __stdcall raw_RollbackTransComplete (
  2081. struct Error * pError,
  2082. enum EventStatusEnum * adStatus,
  2083. struct _Connection * pConnection ) = 0;
  2084. virtual HRESULT __stdcall raw_WillExecute (
  2085. BSTR * Source,
  2086. enum CursorTypeEnum * CursorType,
  2087. enum LockTypeEnum * LockType,
  2088. long * Options,
  2089. enum EventStatusEnum * adStatus,
  2090. struct _Command * pCommand,
  2091. struct _Recordset * pRecordset,
  2092. struct _Connection * pConnection ) = 0;
  2093. virtual HRESULT __stdcall raw_ExecuteComplete (
  2094. long RecordsAffected,
  2095. struct Error * pError,
  2096. enum EventStatusEnum * adStatus,
  2097. struct _Command * pCommand,
  2098. struct _Recordset * pRecordset,
  2099. struct _Connection * pConnection ) = 0;
  2100. virtual HRESULT __stdcall raw_WillConnect (
  2101. BSTR * ConnectionString,
  2102. BSTR * UserID,
  2103. BSTR * Password,
  2104. long * Options,
  2105. enum EventStatusEnum * adStatus,
  2106. struct _Connection * pConnection ) = 0;
  2107. virtual HRESULT __stdcall raw_ConnectComplete (
  2108. struct Error * pError,
  2109. enum EventStatusEnum * adStatus,
  2110. struct _Connection * pConnection ) = 0;
  2111. virtual HRESULT __stdcall raw_Disconnect (
  2112. enum EventStatusEnum * adStatus,
  2113. struct _Connection * pConnection ) = 0;
  2114. };
  2115. struct __declspec(uuid("00001403-0000-0010-8000-00aa006d2ea4"))
  2116. RecordsetEventsVt : IUnknown
  2117. {
  2118. //
  2119. // Wrapper methods for error-handling
  2120. //
  2121. HRESULT WillChangeField (
  2122. long cFields,
  2123. const _variant_t & Fields,
  2124. enum EventStatusEnum * adStatus,
  2125. struct _Recordset * pRecordset );
  2126. HRESULT FieldChangeComplete (
  2127. long cFields,
  2128. const _variant_t & Fields,
  2129. struct Error * pError,
  2130. enum EventStatusEnum * adStatus,
  2131. struct _Recordset * pRecordset );
  2132. HRESULT WillChangeRecord (
  2133. enum EventReasonEnum adReason,
  2134. long cRecords,
  2135. enum EventStatusEnum * adStatus,
  2136. struct _Recordset * pRecordset );
  2137. HRESULT RecordChangeComplete (
  2138. enum EventReasonEnum adReason,
  2139. long cRecords,
  2140. struct Error * pError,
  2141. enum EventStatusEnum * adStatus,
  2142. struct _Recordset * pRecordset );
  2143. HRESULT WillChangeRecordset (
  2144. enum EventReasonEnum adReason,
  2145. enum EventStatusEnum * adStatus,
  2146. struct _Recordset * pRecordset );
  2147. HRESULT RecordsetChangeComplete (
  2148. enum EventReasonEnum adReason,
  2149. struct Error * pError,
  2150. enum EventStatusEnum * adStatus,
  2151. struct _Recordset * pRecordset );
  2152. HRESULT WillMove (
  2153. enum EventReasonEnum adReason,
  2154. enum EventStatusEnum * adStatus,
  2155. struct _Recordset * pRecordset );
  2156. HRESULT MoveComplete (
  2157. enum EventReasonEnum adReason,
  2158. struct Error * pError,
  2159. enum EventStatusEnum * adStatus,
  2160. struct _Recordset * pRecordset );
  2161. HRESULT EndOfRecordset (
  2162. VARIANT_BOOL * fMoreData,
  2163. enum EventStatusEnum * adStatus,
  2164. struct _Recordset * pRecordset );
  2165. HRESULT FetchProgress (
  2166. long Progress,
  2167. long MaxProgress,
  2168. enum EventStatusEnum * adStatus,
  2169. struct _Recordset * pRecordset );
  2170. HRESULT FetchComplete (
  2171. struct Error * pError,
  2172. enum EventStatusEnum * adStatus,
  2173. struct _Recordset * pRecordset );
  2174. //
  2175. // Raw methods provided by interface
  2176. //
  2177. virtual HRESULT __stdcall raw_WillChangeField (
  2178. long cFields,
  2179. VARIANT Fields,
  2180. enum EventStatusEnum * adStatus,
  2181. struct _Recordset * pRecordset ) = 0;
  2182. virtual HRESULT __stdcall raw_FieldChangeComplete (
  2183. long cFields,
  2184. VARIANT Fields,
  2185. struct Error * pError,
  2186. enum EventStatusEnum * adStatus,
  2187. struct _Recordset * pRecordset ) = 0;
  2188. virtual HRESULT __stdcall raw_WillChangeRecord (
  2189. enum EventReasonEnum adReason,
  2190. long cRecords,
  2191. enum EventStatusEnum * adStatus,
  2192. struct _Recordset * pRecordset ) = 0;
  2193. virtual HRESULT __stdcall raw_RecordChangeComplete (
  2194. enum EventReasonEnum adReason,
  2195. long cRecords,
  2196. struct Error * pError,
  2197. enum EventStatusEnum * adStatus,
  2198. struct _Recordset * pRecordset ) = 0;
  2199. virtual HRESULT __stdcall raw_WillChangeRecordset (
  2200. enum EventReasonEnum adReason,
  2201. enum EventStatusEnum * adStatus,
  2202. struct _Recordset * pRecordset ) = 0;
  2203. virtual HRESULT __stdcall raw_RecordsetChangeComplete (
  2204. enum EventReasonEnum adReason,
  2205. struct Error * pError,
  2206. enum EventStatusEnum * adStatus,
  2207. struct _Recordset * pRecordset ) = 0;
  2208. virtual HRESULT __stdcall raw_WillMove (
  2209. enum EventReasonEnum adReason,
  2210. enum EventStatusEnum * adStatus,
  2211. struct _Recordset * pRecordset ) = 0;
  2212. virtual HRESULT __stdcall raw_MoveComplete (
  2213. enum EventReasonEnum adReason,
  2214. struct Error * pError,
  2215. enum EventStatusEnum * adStatus,
  2216. struct _Recordset * pRecordset ) = 0;
  2217. virtual HRESULT __stdcall raw_EndOfRecordset (
  2218. VARIANT_BOOL * fMoreData,
  2219. enum EventStatusEnum * adStatus,
  2220. struct _Recordset * pRecordset ) = 0;
  2221. virtual HRESULT __stdcall raw_FetchProgress (
  2222. long Progress,
  2223. long MaxProgress,
  2224. enum EventStatusEnum * adStatus,
  2225. struct _Recordset * pRecordset ) = 0;
  2226. virtual HRESULT __stdcall raw_FetchComplete (
  2227. struct Error * pError,
  2228. enum EventStatusEnum * adStatus,
  2229. struct _Recordset * pRecordset ) = 0;
  2230. };
  2231. struct __declspec(uuid("00001400-0000-0010-8000-00aa006d2ea4"))
  2232. ConnectionEvents : IDispatch
  2233. {
  2234. //
  2235. // Wrapper methods for error-handling
  2236. //
  2237. // Methods:
  2238. HRESULT InfoMessage (
  2239. struct Error * pError,
  2240. enum EventStatusEnum * adStatus,
  2241. struct _Connection * pConnection );
  2242. HRESULT BeginTransComplete (
  2243. long TransactionLevel,
  2244. struct Error * pError,
  2245. enum EventStatusEnum * adStatus,
  2246. struct _Connection * pConnection );
  2247. HRESULT CommitTransComplete (
  2248. struct Error * pError,
  2249. enum EventStatusEnum * adStatus,
  2250. struct _Connection * pConnection );
  2251. HRESULT RollbackTransComplete (
  2252. struct Error * pError,
  2253. enum EventStatusEnum * adStatus,
  2254. struct _Connection * pConnection );
  2255. HRESULT WillExecute (
  2256. BSTR * Source,
  2257. enum CursorTypeEnum * CursorType,
  2258. enum LockTypeEnum * LockType,
  2259. long * Options,
  2260. enum EventStatusEnum * adStatus,
  2261. struct _Command * pCommand,
  2262. struct _Recordset * pRecordset,
  2263. struct _Connection * pConnection );
  2264. HRESULT ExecuteComplete (
  2265. long RecordsAffected,
  2266. struct Error * pError,
  2267. enum EventStatusEnum * adStatus,
  2268. struct _Command * pCommand,
  2269. struct _Recordset * pRecordset,
  2270. struct _Connection * pConnection );
  2271. HRESULT WillConnect (
  2272. BSTR * ConnectionString,
  2273. BSTR * UserID,
  2274. BSTR * Password,
  2275. long * Options,
  2276. enum EventStatusEnum * adStatus,
  2277. struct _Connection * pConnection );
  2278. HRESULT ConnectComplete (
  2279. struct Error * pError,
  2280. enum EventStatusEnum * adStatus,
  2281. struct _Connection * pConnection );
  2282. HRESULT Disconnect (
  2283. enum EventStatusEnum * adStatus,
  2284. struct _Connection * pConnection );
  2285. };
  2286. struct __declspec(uuid("00001266-0000-0010-8000-00aa006d2ea4"))
  2287. RecordsetEvents : IDispatch
  2288. {
  2289. //
  2290. // Wrapper methods for error-handling
  2291. //
  2292. // Methods:
  2293. HRESULT WillChangeField (
  2294. long cFields,
  2295. const _variant_t & Fields,
  2296. enum EventStatusEnum * adStatus,
  2297. struct _Recordset * pRecordset );
  2298. HRESULT FieldChangeComplete (
  2299. long cFields,
  2300. const _variant_t & Fields,
  2301. struct Error * pError,
  2302. enum EventStatusEnum * adStatus,
  2303. struct _Recordset * pRecordset );
  2304. HRESULT WillChangeRecord (
  2305. enum EventReasonEnum adReason,
  2306. long cRecords,
  2307. enum EventStatusEnum * adStatus,
  2308. struct _Recordset * pRecordset );
  2309. HRESULT RecordChangeComplete (
  2310. enum EventReasonEnum adReason,
  2311. long cRecords,
  2312. struct Error * pError,
  2313. enum EventStatusEnum * adStatus,
  2314. struct _Recordset * pRecordset );
  2315. HRESULT WillChangeRecordset (
  2316. enum EventReasonEnum adReason,
  2317. enum EventStatusEnum * adStatus,
  2318. struct _Recordset * pRecordset );
  2319. HRESULT RecordsetChangeComplete (
  2320. enum EventReasonEnum adReason,
  2321. struct Error * pError,
  2322. enum EventStatusEnum * adStatus,
  2323. struct _Recordset * pRecordset );
  2324. HRESULT WillMove (
  2325. enum EventReasonEnum adReason,
  2326. enum EventStatusEnum * adStatus,
  2327. struct _Recordset * pRecordset );
  2328. HRESULT MoveComplete (
  2329. enum EventReasonEnum adReason,
  2330. struct Error * pError,
  2331. enum EventStatusEnum * adStatus,
  2332. struct _Recordset * pRecordset );
  2333. HRESULT EndOfRecordset (
  2334. VARIANT_BOOL * fMoreData,
  2335. enum EventStatusEnum * adStatus,
  2336. struct _Recordset * pRecordset );
  2337. HRESULT FetchProgress (
  2338. long Progress,
  2339. long MaxProgress,
  2340. enum EventStatusEnum * adStatus,
  2341. struct _Recordset * pRecordset );
  2342. HRESULT FetchComplete (
  2343. struct Error * pError,
  2344. enum EventStatusEnum * adStatus,
  2345. struct _Recordset * pRecordset );
  2346. };
  2347. struct __declspec(uuid("00000516-0000-0010-8000-00aa006d2ea4"))
  2348. ADOConnectionConstruction15 : IUnknown
  2349. {
  2350. //
  2351. // Property data
  2352. //
  2353. __declspec(property(get=GetDSO))
  2354. IUnknownPtr DSO;
  2355. __declspec(property(get=GetSession))
  2356. IUnknownPtr Session;
  2357. //
  2358. // Wrapper methods for error-handling
  2359. //
  2360. IUnknownPtr GetDSO ( );
  2361. IUnknownPtr GetSession ( );
  2362. HRESULT WrapDSOandSession (
  2363. IUnknown * pDSO,
  2364. IUnknown * pSession );
  2365. //
  2366. // Raw methods provided by interface
  2367. //
  2368. virtual HRESULT __stdcall get_DSO (
  2369. IUnknown * * ppDSO ) = 0;
  2370. virtual HRESULT __stdcall get_Session (
  2371. IUnknown * * ppSession ) = 0;
  2372. virtual HRESULT __stdcall raw_WrapDSOandSession (
  2373. IUnknown * pDSO,
  2374. IUnknown * pSession ) = 0;
  2375. };
  2376. struct __declspec(uuid("00000551-0000-0010-8000-00aa006d2ea4"))
  2377. ADOConnectionConstruction : ADOConnectionConstruction15
  2378. {};
  2379. struct __declspec(uuid("00000514-0000-0010-8000-00aa006d2ea4"))
  2380. Connection;
  2381. // [ default ] interface _Connection
  2382. // [ default, source ] dispinterface ConnectionEvents
  2383. struct __declspec(uuid("00001562-0000-0010-8000-00aa006d2ea4"))
  2384. _Record : _ADO
  2385. {
  2386. //
  2387. // Property data
  2388. //
  2389. __declspec(property(get=GetFields))
  2390. FieldsPtr Fields;
  2391. __declspec(property(get=GetState))
  2392. enum ObjectStateEnum State;
  2393. __declspec(property(get=GetMode,put=PutMode))
  2394. enum ConnectModeEnum Mode;
  2395. __declspec(property(get=GetParentURL))
  2396. _bstr_t ParentURL;
  2397. __declspec(property(get=GetRecordType))
  2398. enum RecordTypeEnum RecordType;
  2399. //
  2400. // Wrapper methods for error-handling
  2401. //
  2402. _variant_t GetActiveConnection ( );
  2403. void PutActiveConnection (
  2404. _bstr_t pvar );
  2405. void PutRefActiveConnection (
  2406. struct _Connection * pvar );
  2407. enum ObjectStateEnum GetState ( );
  2408. _variant_t GetSource ( );
  2409. void PutSource (
  2410. _bstr_t pvar );
  2411. void PutRefSource (
  2412. IDispatch * pvar );
  2413. enum ConnectModeEnum GetMode ( );
  2414. void PutMode (
  2415. enum ConnectModeEnum pMode );
  2416. _bstr_t GetParentURL ( );
  2417. _bstr_t MoveRecord (
  2418. _bstr_t Source,
  2419. _bstr_t Destination,
  2420. _bstr_t UserName,
  2421. _bstr_t Password,
  2422. enum MoveRecordOptionsEnum Options,
  2423. VARIANT_BOOL Async );
  2424. _bstr_t CopyRecord (
  2425. _bstr_t Source,
  2426. _bstr_t Destination,
  2427. _bstr_t UserName,
  2428. _bstr_t Password,
  2429. enum CopyRecordOptionsEnum Options,
  2430. VARIANT_BOOL Async );
  2431. HRESULT DeleteRecord (
  2432. _bstr_t Source,
  2433. VARIANT_BOOL Async );
  2434. HRESULT Open (
  2435. const _variant_t & Source,
  2436. const _variant_t & ActiveConnection,
  2437. enum ConnectModeEnum Mode,
  2438. enum RecordCreateOptionsEnum CreateOptions,
  2439. enum RecordOpenOptionsEnum Options,
  2440. _bstr_t UserName,
  2441. _bstr_t Password );
  2442. HRESULT Close ( );
  2443. FieldsPtr GetFields ( );
  2444. enum RecordTypeEnum GetRecordType ( );
  2445. _RecordsetPtr GetChildren ( );
  2446. HRESULT Cancel ( );
  2447. //
  2448. // Raw methods provided by interface
  2449. //
  2450. virtual HRESULT __stdcall get_ActiveConnection (
  2451. VARIANT * pvar ) = 0;
  2452. virtual HRESULT __stdcall put_ActiveConnection (
  2453. BSTR pvar ) = 0;
  2454. virtual HRESULT __stdcall putref_ActiveConnection (
  2455. struct _Connection * pvar ) = 0;
  2456. virtual HRESULT __stdcall get_State (
  2457. enum ObjectStateEnum * pState ) = 0;
  2458. virtual HRESULT __stdcall get_Source (
  2459. VARIANT * pvar ) = 0;
  2460. virtual HRESULT __stdcall put_Source (
  2461. BSTR pvar ) = 0;
  2462. virtual HRESULT __stdcall putref_Source (
  2463. IDispatch * pvar ) = 0;
  2464. virtual HRESULT __stdcall get_Mode (
  2465. enum ConnectModeEnum * pMode ) = 0;
  2466. virtual HRESULT __stdcall put_Mode (
  2467. enum ConnectModeEnum pMode ) = 0;
  2468. virtual HRESULT __stdcall get_ParentURL (
  2469. BSTR * pbstrParentURL ) = 0;
  2470. virtual HRESULT __stdcall raw_MoveRecord (
  2471. BSTR Source,
  2472. BSTR Destination,
  2473. BSTR UserName,
  2474. BSTR Password,
  2475. enum MoveRecordOptionsEnum Options,
  2476. VARIANT_BOOL Async,
  2477. BSTR * pbstrNewURL ) = 0;
  2478. virtual HRESULT __stdcall raw_CopyRecord (
  2479. BSTR Source,
  2480. BSTR Destination,
  2481. BSTR UserName,
  2482. BSTR Password,
  2483. enum CopyRecordOptionsEnum Options,
  2484. VARIANT_BOOL Async,
  2485. BSTR * pbstrNewURL ) = 0;
  2486. virtual HRESULT __stdcall raw_DeleteRecord (
  2487. BSTR Source,
  2488. VARIANT_BOOL Async ) = 0;
  2489. virtual HRESULT __stdcall raw_Open (
  2490. VARIANT Source,
  2491. VARIANT ActiveConnection,
  2492. enum ConnectModeEnum Mode,
  2493. enum RecordCreateOptionsEnum CreateOptions,
  2494. enum RecordOpenOptionsEnum Options,
  2495. BSTR UserName,
  2496. BSTR Password ) = 0;
  2497. virtual HRESULT __stdcall raw_Close ( ) = 0;
  2498. virtual HRESULT __stdcall get_Fields (
  2499. struct Fields * * ppFlds ) = 0;
  2500. virtual HRESULT __stdcall get_RecordType (
  2501. enum RecordTypeEnum * ptype ) = 0;
  2502. virtual HRESULT __stdcall raw_GetChildren (
  2503. struct _Recordset * * pprset ) = 0;
  2504. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  2505. };
  2506. struct __declspec(uuid("00000560-0000-0010-8000-00aa006d2ea4"))
  2507. Record;
  2508. // [ default ] interface _Record
  2509. struct __declspec(uuid("00001565-0000-0010-8000-00aa006d2ea4"))
  2510. _Stream : IDispatch
  2511. {
  2512. //
  2513. // Property data
  2514. //
  2515. __declspec(property(get=GetSize))
  2516. long Size;
  2517. __declspec(property(get=GetEOS))
  2518. VARIANT_BOOL EOS;
  2519. __declspec(property(get=GetPosition,put=PutPosition))
  2520. long Position;
  2521. __declspec(property(get=GetType,put=PutType))
  2522. enum StreamTypeEnum Type;
  2523. __declspec(property(get=GetLineSeparator,put=PutLineSeparator))
  2524. enum LineSeparatorEnum LineSeparator;
  2525. __declspec(property(get=GetState))
  2526. enum ObjectStateEnum State;
  2527. __declspec(property(get=GetMode,put=PutMode))
  2528. enum ConnectModeEnum Mode;
  2529. __declspec(property(get=GetCharset,put=PutCharset))
  2530. _bstr_t Charset;
  2531. //
  2532. // Wrapper methods for error-handling
  2533. //
  2534. long GetSize ( );
  2535. VARIANT_BOOL GetEOS ( );
  2536. long GetPosition ( );
  2537. void PutPosition (
  2538. long pPos );
  2539. enum StreamTypeEnum GetType ( );
  2540. void PutType (
  2541. enum StreamTypeEnum ptype );
  2542. enum LineSeparatorEnum GetLineSeparator ( );
  2543. void PutLineSeparator (
  2544. enum LineSeparatorEnum pLS );
  2545. enum ObjectStateEnum GetState ( );
  2546. enum ConnectModeEnum GetMode ( );
  2547. void PutMode (
  2548. enum ConnectModeEnum pMode );
  2549. _bstr_t GetCharset ( );
  2550. void PutCharset (
  2551. _bstr_t pbstrCharset );
  2552. _variant_t Read (
  2553. long NumBytes );
  2554. HRESULT Open (
  2555. const _variant_t & Source,
  2556. enum ConnectModeEnum Mode,
  2557. enum StreamOpenOptionsEnum Options,
  2558. _bstr_t UserName,
  2559. _bstr_t Password );
  2560. HRESULT Close ( );
  2561. HRESULT SkipLine ( );
  2562. HRESULT Write (
  2563. const _variant_t & Buffer );
  2564. HRESULT SetEOS ( );
  2565. HRESULT CopyTo (
  2566. struct _Stream * DestStream,
  2567. long CharNumber );
  2568. HRESULT Flush ( );
  2569. HRESULT SaveToFile (
  2570. _bstr_t FileName,
  2571. enum SaveOptionsEnum Options );
  2572. HRESULT LoadFromFile (
  2573. _bstr_t FileName );
  2574. _bstr_t ReadText (
  2575. long NumChars );
  2576. HRESULT WriteText (
  2577. _bstr_t Data,
  2578. enum StreamWriteEnum Options );
  2579. HRESULT Cancel ( );
  2580. //
  2581. // Raw methods provided by interface
  2582. //
  2583. virtual HRESULT __stdcall get_Size (
  2584. long * pSize ) = 0;
  2585. virtual HRESULT __stdcall get_EOS (
  2586. VARIANT_BOOL * pEOS ) = 0;
  2587. virtual HRESULT __stdcall get_Position (
  2588. long * pPos ) = 0;
  2589. virtual HRESULT __stdcall put_Position (
  2590. long pPos ) = 0;
  2591. virtual HRESULT __stdcall get_Type (
  2592. enum StreamTypeEnum * ptype ) = 0;
  2593. virtual HRESULT __stdcall put_Type (
  2594. enum StreamTypeEnum ptype ) = 0;
  2595. virtual HRESULT __stdcall get_LineSeparator (
  2596. enum LineSeparatorEnum * pLS ) = 0;
  2597. virtual HRESULT __stdcall put_LineSeparator (
  2598. enum LineSeparatorEnum pLS ) = 0;
  2599. virtual HRESULT __stdcall get_State (
  2600. enum ObjectStateEnum * pState ) = 0;
  2601. virtual HRESULT __stdcall get_Mode (
  2602. enum ConnectModeEnum * pMode ) = 0;
  2603. virtual HRESULT __stdcall put_Mode (
  2604. enum ConnectModeEnum pMode ) = 0;
  2605. virtual HRESULT __stdcall get_Charset (
  2606. BSTR * pbstrCharset ) = 0;
  2607. virtual HRESULT __stdcall put_Charset (
  2608. BSTR pbstrCharset ) = 0;
  2609. virtual HRESULT __stdcall raw_Read (
  2610. long NumBytes,
  2611. VARIANT * pval ) = 0;
  2612. virtual HRESULT __stdcall raw_Open (
  2613. VARIANT Source,
  2614. enum ConnectModeEnum Mode,
  2615. enum StreamOpenOptionsEnum Options,
  2616. BSTR UserName,
  2617. BSTR Password ) = 0;
  2618. virtual HRESULT __stdcall raw_Close ( ) = 0;
  2619. virtual HRESULT __stdcall raw_SkipLine ( ) = 0;
  2620. virtual HRESULT __stdcall raw_Write (
  2621. VARIANT Buffer ) = 0;
  2622. virtual HRESULT __stdcall raw_SetEOS ( ) = 0;
  2623. virtual HRESULT __stdcall raw_CopyTo (
  2624. struct _Stream * DestStream,
  2625. long CharNumber ) = 0;
  2626. virtual HRESULT __stdcall raw_Flush ( ) = 0;
  2627. virtual HRESULT __stdcall raw_SaveToFile (
  2628. BSTR FileName,
  2629. enum SaveOptionsEnum Options ) = 0;
  2630. virtual HRESULT __stdcall raw_LoadFromFile (
  2631. BSTR FileName ) = 0;
  2632. virtual HRESULT __stdcall raw_ReadText (
  2633. long NumChars,
  2634. BSTR * pbstr ) = 0;
  2635. virtual HRESULT __stdcall raw_WriteText (
  2636. BSTR Data,
  2637. enum StreamWriteEnum Options ) = 0;
  2638. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  2639. };
  2640. struct __declspec(uuid("00000566-0000-0010-8000-00aa006d2ea4"))
  2641. Stream;
  2642. // [ default ] interface _Stream
  2643. struct __declspec(uuid("00000567-0000-0010-8000-00aa006d2ea4"))
  2644. ADORecordConstruction : IDispatch
  2645. {
  2646. //
  2647. // Property data
  2648. //
  2649. __declspec(property(get=GetRow,put=PutRow))
  2650. IUnknownPtr Row;
  2651. __declspec(property(put=PutParentRow))
  2652. IUnknownPtr ParentRow;
  2653. //
  2654. // Wrapper methods for error-handling
  2655. //
  2656. IUnknownPtr GetRow ( );
  2657. void PutRow (
  2658. IUnknown * ppRow );
  2659. void PutParentRow (
  2660. IUnknown * _arg1 );
  2661. //
  2662. // Raw methods provided by interface
  2663. //
  2664. virtual HRESULT __stdcall get_Row (
  2665. IUnknown * * ppRow ) = 0;
  2666. virtual HRESULT __stdcall put_Row (
  2667. IUnknown * ppRow ) = 0;
  2668. virtual HRESULT __stdcall put_ParentRow (
  2669. IUnknown * _arg1 ) = 0;
  2670. };
  2671. struct __declspec(uuid("00000568-0000-0010-8000-00aa006d2ea4"))
  2672. ADOStreamConstruction : IDispatch
  2673. {
  2674. //
  2675. // Property data
  2676. //
  2677. __declspec(property(get=GetStream,put=PutStream))
  2678. IUnknownPtr Stream;
  2679. //
  2680. // Wrapper methods for error-handling
  2681. //
  2682. IUnknownPtr GetStream ( );
  2683. void PutStream (
  2684. IUnknown * ppStm );
  2685. //
  2686. // Raw methods provided by interface
  2687. //
  2688. virtual HRESULT __stdcall get_Stream (
  2689. IUnknown * * ppStm ) = 0;
  2690. virtual HRESULT __stdcall put_Stream (
  2691. IUnknown * ppStm ) = 0;
  2692. };
  2693. struct __declspec(uuid("00000517-0000-0010-8000-00aa006d2ea4"))
  2694. ADOCommandConstruction : IUnknown
  2695. {
  2696. //
  2697. // Property data
  2698. //
  2699. __declspec(property(get=GetOLEDBCommand,put=PutOLEDBCommand))
  2700. IUnknownPtr OLEDBCommand;
  2701. //
  2702. // Wrapper methods for error-handling
  2703. //
  2704. IUnknownPtr GetOLEDBCommand ( );
  2705. void PutOLEDBCommand (
  2706. IUnknown * ppOLEDBCommand );
  2707. //
  2708. // Raw methods provided by interface
  2709. //
  2710. virtual HRESULT __stdcall get_OLEDBCommand (
  2711. IUnknown * * ppOLEDBCommand ) = 0;
  2712. virtual HRESULT __stdcall put_OLEDBCommand (
  2713. IUnknown * ppOLEDBCommand ) = 0;
  2714. };
  2715. struct __declspec(uuid("00000507-0000-0010-8000-00aa006d2ea4"))
  2716. Command;
  2717. // [ default ] interface _Command
  2718. struct __declspec(uuid("00000535-0000-0010-8000-00aa006d2ea4"))
  2719. Recordset;
  2720. // [ default ] interface _Recordset
  2721. // [ default, source ] dispinterface RecordsetEvents
  2722. struct __declspec(uuid("00000283-0000-0010-8000-00aa006d2ea4"))
  2723. ADORecordsetConstruction : IDispatch
  2724. {
  2725. //
  2726. // Property data
  2727. //
  2728. __declspec(property(get=GetRowset,put=PutRowset))
  2729. IUnknownPtr Rowset;
  2730. __declspec(property(get=GetChapter,put=PutChapter))
  2731. ADO_LONGPTR Chapter;
  2732. __declspec(property(get=GetRowPosition,put=PutRowPosition))
  2733. IUnknownPtr RowPosition;
  2734. //
  2735. // Wrapper methods for error-handling
  2736. //
  2737. IUnknownPtr GetRowset ( );
  2738. void PutRowset (
  2739. IUnknown * ppRowset );
  2740. ADO_LONGPTR GetChapter ( );
  2741. void PutChapter (
  2742. ADO_LONGPTR plChapter );
  2743. IUnknownPtr GetRowPosition ( );
  2744. void PutRowPosition (
  2745. IUnknown * ppRowPos );
  2746. //
  2747. // Raw methods provided by interface
  2748. //
  2749. virtual HRESULT __stdcall get_Rowset (
  2750. IUnknown * * ppRowset ) = 0;
  2751. virtual HRESULT __stdcall put_Rowset (
  2752. IUnknown * ppRowset ) = 0;
  2753. virtual HRESULT __stdcall get_Chapter (
  2754. ADO_LONGPTR * plChapter ) = 0;
  2755. virtual HRESULT __stdcall put_Chapter (
  2756. ADO_LONGPTR plChapter ) = 0;
  2757. virtual HRESULT __stdcall get_RowPosition (
  2758. IUnknown * * ppRowPos ) = 0;
  2759. virtual HRESULT __stdcall put_RowPosition (
  2760. IUnknown * ppRowPos ) = 0;
  2761. };
  2762. struct __declspec(uuid("00001505-0000-0010-8000-00aa006d2ea4"))
  2763. Field15 : _ADO
  2764. {
  2765. //
  2766. // Property data
  2767. //
  2768. __declspec(property(get=GetValue,put=PutValue))
  2769. _variant_t Value;
  2770. __declspec(property(get=GetName))
  2771. _bstr_t Name;
  2772. __declspec(property(get=GetType))
  2773. enum DataTypeEnum Type;
  2774. __declspec(property(get=GetDefinedSize))
  2775. long DefinedSize;
  2776. __declspec(property(get=GetOriginalValue))
  2777. _variant_t OriginalValue;
  2778. __declspec(property(get=GetUnderlyingValue))
  2779. _variant_t UnderlyingValue;
  2780. __declspec(property(get=GetActualSize))
  2781. long ActualSize;
  2782. __declspec(property(get=GetPrecision))
  2783. unsigned char Precision;
  2784. __declspec(property(get=GetNumericScale))
  2785. unsigned char NumericScale;
  2786. __declspec(property(get=GetAttributes))
  2787. long Attributes;
  2788. //
  2789. // Wrapper methods for error-handling
  2790. //
  2791. long GetActualSize ( );
  2792. long GetAttributes ( );
  2793. long GetDefinedSize ( );
  2794. _bstr_t GetName ( );
  2795. enum DataTypeEnum GetType ( );
  2796. _variant_t GetValue ( );
  2797. void PutValue (
  2798. const _variant_t & pvar );
  2799. unsigned char GetPrecision ( );
  2800. unsigned char GetNumericScale ( );
  2801. HRESULT AppendChunk (
  2802. const _variant_t & Data );
  2803. _variant_t GetChunk (
  2804. long Length );
  2805. _variant_t GetOriginalValue ( );
  2806. _variant_t GetUnderlyingValue ( );
  2807. //
  2808. // Raw methods provided by interface
  2809. //
  2810. virtual HRESULT __stdcall get_ActualSize (
  2811. long * pl ) = 0;
  2812. virtual HRESULT __stdcall get_Attributes (
  2813. long * pl ) = 0;
  2814. virtual HRESULT __stdcall get_DefinedSize (
  2815. long * pl ) = 0;
  2816. virtual HRESULT __stdcall get_Name (
  2817. BSTR * pbstr ) = 0;
  2818. virtual HRESULT __stdcall get_Type (
  2819. enum DataTypeEnum * pDataType ) = 0;
  2820. virtual HRESULT __stdcall get_Value (
  2821. VARIANT * pvar ) = 0;
  2822. virtual HRESULT __stdcall put_Value (
  2823. VARIANT pvar ) = 0;
  2824. virtual HRESULT __stdcall get_Precision (
  2825. unsigned char * pbPrecision ) = 0;
  2826. virtual HRESULT __stdcall get_NumericScale (
  2827. unsigned char * pbNumericScale ) = 0;
  2828. virtual HRESULT __stdcall raw_AppendChunk (
  2829. VARIANT Data ) = 0;
  2830. virtual HRESULT __stdcall raw_GetChunk (
  2831. long Length,
  2832. VARIANT * pvar ) = 0;
  2833. virtual HRESULT __stdcall get_OriginalValue (
  2834. VARIANT * pvar ) = 0;
  2835. virtual HRESULT __stdcall get_UnderlyingValue (
  2836. VARIANT * pvar ) = 0;
  2837. };
  2838. struct __declspec(uuid("0000050b-0000-0010-8000-00aa006d2ea4"))
  2839. Parameter;
  2840. // [ default ] interface _Parameter
  2841. struct __declspec(uuid("00000402-0000-0010-8000-00aa006d2ea4"))
  2842. ConnectionEventsVt_Deprecated : IUnknown
  2843. {
  2844. //
  2845. // Wrapper methods for error-handling
  2846. //
  2847. HRESULT InfoMessage (
  2848. struct Error * pError,
  2849. enum EventStatusEnum * adStatus,
  2850. struct _Connection_Deprecated * pConnection );
  2851. HRESULT BeginTransComplete (
  2852. long TransactionLevel,
  2853. struct Error * pError,
  2854. enum EventStatusEnum * adStatus,
  2855. struct _Connection_Deprecated * pConnection );
  2856. HRESULT CommitTransComplete (
  2857. struct Error * pError,
  2858. enum EventStatusEnum * adStatus,
  2859. struct _Connection_Deprecated * pConnection );
  2860. HRESULT RollbackTransComplete (
  2861. struct Error * pError,
  2862. enum EventStatusEnum * adStatus,
  2863. struct _Connection_Deprecated * pConnection );
  2864. HRESULT WillExecute (
  2865. BSTR * Source,
  2866. enum CursorTypeEnum * CursorType,
  2867. enum LockTypeEnum * LockType,
  2868. long * Options,
  2869. enum EventStatusEnum * adStatus,
  2870. struct _Command_Deprecated * pCommand,
  2871. struct _Recordset_Deprecated * pRecordset,
  2872. struct _Connection_Deprecated * pConnection );
  2873. HRESULT ExecuteComplete (
  2874. long RecordsAffected,
  2875. struct Error * pError,
  2876. enum EventStatusEnum * adStatus,
  2877. struct _Command_Deprecated * pCommand,
  2878. struct _Recordset_Deprecated * pRecordset,
  2879. struct _Connection_Deprecated * pConnection );
  2880. HRESULT WillConnect (
  2881. BSTR * ConnectionString,
  2882. BSTR * UserID,
  2883. BSTR * Password,
  2884. long * Options,
  2885. enum EventStatusEnum * adStatus,
  2886. struct _Connection_Deprecated * pConnection );
  2887. HRESULT ConnectComplete (
  2888. struct Error * pError,
  2889. enum EventStatusEnum * adStatus,
  2890. struct _Connection_Deprecated * pConnection );
  2891. HRESULT Disconnect (
  2892. enum EventStatusEnum * adStatus,
  2893. struct _Connection_Deprecated * pConnection );
  2894. //
  2895. // Raw methods provided by interface
  2896. //
  2897. virtual HRESULT __stdcall raw_InfoMessage (
  2898. struct Error * pError,
  2899. enum EventStatusEnum * adStatus,
  2900. struct _Connection_Deprecated * pConnection ) = 0;
  2901. virtual HRESULT __stdcall raw_BeginTransComplete (
  2902. long TransactionLevel,
  2903. struct Error * pError,
  2904. enum EventStatusEnum * adStatus,
  2905. struct _Connection_Deprecated * pConnection ) = 0;
  2906. virtual HRESULT __stdcall raw_CommitTransComplete (
  2907. struct Error * pError,
  2908. enum EventStatusEnum * adStatus,
  2909. struct _Connection_Deprecated * pConnection ) = 0;
  2910. virtual HRESULT __stdcall raw_RollbackTransComplete (
  2911. struct Error * pError,
  2912. enum EventStatusEnum * adStatus,
  2913. struct _Connection_Deprecated * pConnection ) = 0;
  2914. virtual HRESULT __stdcall raw_WillExecute (
  2915. BSTR * Source,
  2916. enum CursorTypeEnum * CursorType,
  2917. enum LockTypeEnum * LockType,
  2918. long * Options,
  2919. enum EventStatusEnum * adStatus,
  2920. struct _Command_Deprecated * pCommand,
  2921. struct _Recordset_Deprecated * pRecordset,
  2922. struct _Connection_Deprecated * pConnection ) = 0;
  2923. virtual HRESULT __stdcall raw_ExecuteComplete (
  2924. long RecordsAffected,
  2925. struct Error * pError,
  2926. enum EventStatusEnum * adStatus,
  2927. struct _Command_Deprecated * pCommand,
  2928. struct _Recordset_Deprecated * pRecordset,
  2929. struct _Connection_Deprecated * pConnection ) = 0;
  2930. virtual HRESULT __stdcall raw_WillConnect (
  2931. BSTR * ConnectionString,
  2932. BSTR * UserID,
  2933. BSTR * Password,
  2934. long * Options,
  2935. enum EventStatusEnum * adStatus,
  2936. struct _Connection_Deprecated * pConnection ) = 0;
  2937. virtual HRESULT __stdcall raw_ConnectComplete (
  2938. struct Error * pError,
  2939. enum EventStatusEnum * adStatus,
  2940. struct _Connection_Deprecated * pConnection ) = 0;
  2941. virtual HRESULT __stdcall raw_Disconnect (
  2942. enum EventStatusEnum * adStatus,
  2943. struct _Connection_Deprecated * pConnection ) = 0;
  2944. };
  2945. struct __declspec(uuid("00000515-0000-0010-8000-00aa006d2ea4"))
  2946. Connection15_Deprecated : _ADO
  2947. {
  2948. //
  2949. // Property data
  2950. //
  2951. __declspec(property(get=GetConnectionString,put=PutConnectionString))
  2952. _bstr_t ConnectionString;
  2953. __declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
  2954. long CommandTimeout;
  2955. __declspec(property(get=GetConnectionTimeout,put=PutConnectionTimeout))
  2956. long ConnectionTimeout;
  2957. __declspec(property(get=GetVersion))
  2958. _bstr_t Version;
  2959. __declspec(property(get=GetErrors))
  2960. ErrorsPtr Errors;
  2961. __declspec(property(get=GetDefaultDatabase,put=PutDefaultDatabase))
  2962. _bstr_t DefaultDatabase;
  2963. __declspec(property(get=GetIsolationLevel,put=PutIsolationLevel))
  2964. enum IsolationLevelEnum IsolationLevel;
  2965. __declspec(property(get=GetAttributes,put=PutAttributes))
  2966. long Attributes;
  2967. __declspec(property(get=GetCursorLocation,put=PutCursorLocation))
  2968. enum CursorLocationEnum CursorLocation;
  2969. __declspec(property(get=GetMode,put=PutMode))
  2970. enum ConnectModeEnum Mode;
  2971. __declspec(property(get=GetProvider,put=PutProvider))
  2972. _bstr_t Provider;
  2973. __declspec(property(get=GetState))
  2974. long State;
  2975. //
  2976. // Wrapper methods for error-handling
  2977. //
  2978. _bstr_t GetConnectionString ( );
  2979. void PutConnectionString (
  2980. _bstr_t pbstr );
  2981. long GetCommandTimeout ( );
  2982. void PutCommandTimeout (
  2983. long plTimeout );
  2984. long GetConnectionTimeout ( );
  2985. void PutConnectionTimeout (
  2986. long plTimeout );
  2987. _bstr_t GetVersion ( );
  2988. HRESULT Close ( );
  2989. _Recordset_DeprecatedPtr Execute (
  2990. _bstr_t CommandText,
  2991. VARIANT * RecordsAffected,
  2992. long Options );
  2993. long BeginTrans ( );
  2994. HRESULT CommitTrans ( );
  2995. HRESULT RollbackTrans ( );
  2996. HRESULT Open (
  2997. _bstr_t ConnectionString,
  2998. _bstr_t UserID,
  2999. _bstr_t Password,
  3000. long Options );
  3001. ErrorsPtr GetErrors ( );
  3002. _bstr_t GetDefaultDatabase ( );
  3003. void PutDefaultDatabase (
  3004. _bstr_t pbstr );
  3005. enum IsolationLevelEnum GetIsolationLevel ( );
  3006. void PutIsolationLevel (
  3007. enum IsolationLevelEnum Level );
  3008. long GetAttributes ( );
  3009. void PutAttributes (
  3010. long plAttr );
  3011. enum CursorLocationEnum GetCursorLocation ( );
  3012. void PutCursorLocation (
  3013. enum CursorLocationEnum plCursorLoc );
  3014. enum ConnectModeEnum GetMode ( );
  3015. void PutMode (
  3016. enum ConnectModeEnum plMode );
  3017. _bstr_t GetProvider ( );
  3018. void PutProvider (
  3019. _bstr_t pbstr );
  3020. long GetState ( );
  3021. _Recordset_DeprecatedPtr OpenSchema (
  3022. enum SchemaEnum Schema,
  3023. const _variant_t & Restrictions = vtMissing,
  3024. const _variant_t & SchemaID = vtMissing );
  3025. //
  3026. // Raw methods provided by interface
  3027. //
  3028. virtual HRESULT __stdcall get_ConnectionString (
  3029. BSTR * pbstr ) = 0;
  3030. virtual HRESULT __stdcall put_ConnectionString (
  3031. BSTR pbstr ) = 0;
  3032. virtual HRESULT __stdcall get_CommandTimeout (
  3033. long * plTimeout ) = 0;
  3034. virtual HRESULT __stdcall put_CommandTimeout (
  3035. long plTimeout ) = 0;
  3036. virtual HRESULT __stdcall get_ConnectionTimeout (
  3037. long * plTimeout ) = 0;
  3038. virtual HRESULT __stdcall put_ConnectionTimeout (
  3039. long plTimeout ) = 0;
  3040. virtual HRESULT __stdcall get_Version (
  3041. BSTR * pbstr ) = 0;
  3042. virtual HRESULT __stdcall raw_Close ( ) = 0;
  3043. virtual HRESULT __stdcall raw_Execute (
  3044. BSTR CommandText,
  3045. VARIANT * RecordsAffected,
  3046. long Options,
  3047. struct _Recordset_Deprecated * * ppiRset ) = 0;
  3048. virtual HRESULT __stdcall raw_BeginTrans (
  3049. long * TransactionLevel ) = 0;
  3050. virtual HRESULT __stdcall raw_CommitTrans ( ) = 0;
  3051. virtual HRESULT __stdcall raw_RollbackTrans ( ) = 0;
  3052. virtual HRESULT __stdcall raw_Open (
  3053. BSTR ConnectionString,
  3054. BSTR UserID,
  3055. BSTR Password,
  3056. long Options ) = 0;
  3057. virtual HRESULT __stdcall get_Errors (
  3058. struct Errors * * ppvObject ) = 0;
  3059. virtual HRESULT __stdcall get_DefaultDatabase (
  3060. BSTR * pbstr ) = 0;
  3061. virtual HRESULT __stdcall put_DefaultDatabase (
  3062. BSTR pbstr ) = 0;
  3063. virtual HRESULT __stdcall get_IsolationLevel (
  3064. enum IsolationLevelEnum * Level ) = 0;
  3065. virtual HRESULT __stdcall put_IsolationLevel (
  3066. enum IsolationLevelEnum Level ) = 0;
  3067. virtual HRESULT __stdcall get_Attributes (
  3068. long * plAttr ) = 0;
  3069. virtual HRESULT __stdcall put_Attributes (
  3070. long plAttr ) = 0;
  3071. virtual HRESULT __stdcall get_CursorLocation (
  3072. enum CursorLocationEnum * plCursorLoc ) = 0;
  3073. virtual HRESULT __stdcall put_CursorLocation (
  3074. enum CursorLocationEnum plCursorLoc ) = 0;
  3075. virtual HRESULT __stdcall get_Mode (
  3076. enum ConnectModeEnum * plMode ) = 0;
  3077. virtual HRESULT __stdcall put_Mode (
  3078. enum ConnectModeEnum plMode ) = 0;
  3079. virtual HRESULT __stdcall get_Provider (
  3080. BSTR * pbstr ) = 0;
  3081. virtual HRESULT __stdcall put_Provider (
  3082. BSTR pbstr ) = 0;
  3083. virtual HRESULT __stdcall get_State (
  3084. long * plObjState ) = 0;
  3085. virtual HRESULT __stdcall raw_OpenSchema (
  3086. enum SchemaEnum Schema,
  3087. VARIANT Restrictions,
  3088. VARIANT SchemaID,
  3089. struct _Recordset_Deprecated * * pprset ) = 0;
  3090. };
  3091. struct __declspec(uuid("00000550-0000-0010-8000-00aa006d2ea4"))
  3092. _Connection_Deprecated : Connection15_Deprecated
  3093. {
  3094. //
  3095. // Wrapper methods for error-handling
  3096. //
  3097. HRESULT Cancel ( );
  3098. //
  3099. // Raw methods provided by interface
  3100. //
  3101. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  3102. };
  3103. struct __declspec(uuid("0000050e-0000-0010-8000-00aa006d2ea4"))
  3104. Recordset15_Deprecated : _ADO
  3105. {
  3106. //
  3107. // Property data
  3108. //
  3109. __declspec(property(get=GetFields))
  3110. Fields_DeprecatedPtr Fields;
  3111. __declspec(property(get=GetPageSize,put=PutPageSize))
  3112. long PageSize;
  3113. __declspec(property(get=GetPageCount))
  3114. ADO_LONGPTR PageCount;
  3115. __declspec(property(get=GetCursorLocation,put=PutCursorLocation))
  3116. enum CursorLocationEnum CursorLocation;
  3117. __declspec(property(get=GetState))
  3118. long State;
  3119. __declspec(property(get=GetMarshalOptions,put=PutMarshalOptions))
  3120. enum MarshalOptionsEnum MarshalOptions;
  3121. __declspec(property(get=GetCollect,put=PutCollect))
  3122. _variant_t Collect[];
  3123. __declspec(property(get=GetEditMode))
  3124. enum EditModeEnum EditMode;
  3125. __declspec(property(get=GetStatus))
  3126. long Status;
  3127. __declspec(property(get=GetFilter,put=PutFilter))
  3128. _variant_t Filter;
  3129. __declspec(property(get=GetSort,put=PutSort))
  3130. _bstr_t Sort;
  3131. __declspec(property(get=GetAbsolutePosition,put=PutAbsolutePosition))
  3132. PositionEnum_Param AbsolutePosition;
  3133. __declspec(property(get=GetBOF))
  3134. VARIANT_BOOL BOF;
  3135. __declspec(property(get=GetBookmark,put=PutBookmark))
  3136. _variant_t Bookmark;
  3137. __declspec(property(get=GetCacheSize,put=PutCacheSize))
  3138. long CacheSize;
  3139. __declspec(property(get=GetCursorType,put=PutCursorType))
  3140. enum CursorTypeEnum CursorType;
  3141. __declspec(property(get=GetadoEOF))
  3142. VARIANT_BOOL adoEOF;
  3143. __declspec(property(get=GetAbsolutePage,put=PutAbsolutePage))
  3144. PositionEnum_Param AbsolutePage;
  3145. __declspec(property(get=GetLockType,put=PutLockType))
  3146. enum LockTypeEnum LockType;
  3147. __declspec(property(get=GetMaxRecords,put=PutMaxRecords))
  3148. ADO_LONGPTR MaxRecords;
  3149. __declspec(property(get=GetRecordCount))
  3150. ADO_LONGPTR RecordCount;
  3151. //
  3152. // Wrapper methods for error-handling
  3153. //
  3154. PositionEnum_Param GetAbsolutePosition ( );
  3155. void PutAbsolutePosition (
  3156. PositionEnum_Param pl );
  3157. void PutRefActiveConnection (
  3158. IDispatch * pvar );
  3159. void PutActiveConnection (
  3160. const _variant_t & pvar );
  3161. _variant_t GetActiveConnection ( );
  3162. VARIANT_BOOL GetBOF ( );
  3163. _variant_t GetBookmark ( );
  3164. void PutBookmark (
  3165. const _variant_t & pvBookmark );
  3166. long GetCacheSize ( );
  3167. void PutCacheSize (
  3168. long pl );
  3169. enum CursorTypeEnum GetCursorType ( );
  3170. void PutCursorType (
  3171. enum CursorTypeEnum plCursorType );
  3172. VARIANT_BOOL GetadoEOF ( );
  3173. Fields_DeprecatedPtr GetFields ( );
  3174. enum LockTypeEnum GetLockType ( );
  3175. void PutLockType (
  3176. enum LockTypeEnum plLockType );
  3177. ADO_LONGPTR GetMaxRecords ( );
  3178. void PutMaxRecords (
  3179. ADO_LONGPTR plMaxRecords );
  3180. ADO_LONGPTR GetRecordCount ( );
  3181. void PutRefSource (
  3182. IDispatch * pvSource );
  3183. void PutSource (
  3184. _bstr_t pvSource );
  3185. _variant_t GetSource ( );
  3186. HRESULT AddNew (
  3187. const _variant_t & FieldList = vtMissing,
  3188. const _variant_t & Values = vtMissing );
  3189. HRESULT CancelUpdate ( );
  3190. HRESULT Close ( );
  3191. HRESULT Delete (
  3192. enum AffectEnum AffectRecords );
  3193. _variant_t GetRows (
  3194. long Rows,
  3195. const _variant_t & Start = vtMissing,
  3196. const _variant_t & Fields = vtMissing );
  3197. HRESULT Move (
  3198. ADO_LONGPTR NumRecords,
  3199. const _variant_t & Start = vtMissing );
  3200. HRESULT MoveNext ( );
  3201. HRESULT MovePrevious ( );
  3202. HRESULT MoveFirst ( );
  3203. HRESULT MoveLast ( );
  3204. HRESULT Open (
  3205. const _variant_t & Source,
  3206. const _variant_t & ActiveConnection,
  3207. enum CursorTypeEnum CursorType,
  3208. enum LockTypeEnum LockType,
  3209. long Options );
  3210. HRESULT Requery (
  3211. long Options );
  3212. HRESULT _xResync (
  3213. enum AffectEnum AffectRecords );
  3214. HRESULT Update (
  3215. const _variant_t & Fields = vtMissing,
  3216. const _variant_t & Values = vtMissing );
  3217. PositionEnum_Param GetAbsolutePage ( );
  3218. void PutAbsolutePage (
  3219. PositionEnum_Param pl );
  3220. enum EditModeEnum GetEditMode ( );
  3221. _variant_t GetFilter ( );
  3222. void PutFilter (
  3223. const _variant_t & Criteria );
  3224. ADO_LONGPTR GetPageCount ( );
  3225. long GetPageSize ( );
  3226. void PutPageSize (
  3227. long pl );
  3228. _bstr_t GetSort ( );
  3229. void PutSort (
  3230. _bstr_t Criteria );
  3231. long GetStatus ( );
  3232. long GetState ( );
  3233. _Recordset_DeprecatedPtr _xClone ( );
  3234. HRESULT UpdateBatch (
  3235. enum AffectEnum AffectRecords );
  3236. HRESULT CancelBatch (
  3237. enum AffectEnum AffectRecords );
  3238. enum CursorLocationEnum GetCursorLocation ( );
  3239. void PutCursorLocation (
  3240. enum CursorLocationEnum plCursorLoc );
  3241. _Recordset_DeprecatedPtr NextRecordset (
  3242. VARIANT * RecordsAffected );
  3243. VARIANT_BOOL Supports (
  3244. enum CursorOptionEnum CursorOptions );
  3245. _variant_t GetCollect (
  3246. const _variant_t & Index );
  3247. void PutCollect (
  3248. const _variant_t & Index,
  3249. const _variant_t & pvar );
  3250. enum MarshalOptionsEnum GetMarshalOptions ( );
  3251. void PutMarshalOptions (
  3252. enum MarshalOptionsEnum peMarshal );
  3253. HRESULT Find (
  3254. _bstr_t Criteria,
  3255. ADO_LONGPTR SkipRecords,
  3256. enum SearchDirectionEnum SearchDirection,
  3257. const _variant_t & Start = vtMissing );
  3258. //
  3259. // Raw methods provided by interface
  3260. //
  3261. virtual HRESULT __stdcall get_AbsolutePosition (
  3262. PositionEnum_Param * pl ) = 0;
  3263. virtual HRESULT __stdcall put_AbsolutePosition (
  3264. PositionEnum_Param pl ) = 0;
  3265. virtual HRESULT __stdcall putref_ActiveConnection (
  3266. IDispatch * pvar ) = 0;
  3267. virtual HRESULT __stdcall put_ActiveConnection (
  3268. VARIANT pvar ) = 0;
  3269. virtual HRESULT __stdcall get_ActiveConnection (
  3270. VARIANT * pvar ) = 0;
  3271. virtual HRESULT __stdcall get_BOF (
  3272. VARIANT_BOOL * pb ) = 0;
  3273. virtual HRESULT __stdcall get_Bookmark (
  3274. VARIANT * pvBookmark ) = 0;
  3275. virtual HRESULT __stdcall put_Bookmark (
  3276. VARIANT pvBookmark ) = 0;
  3277. virtual HRESULT __stdcall get_CacheSize (
  3278. long * pl ) = 0;
  3279. virtual HRESULT __stdcall put_CacheSize (
  3280. long pl ) = 0;
  3281. virtual HRESULT __stdcall get_CursorType (
  3282. enum CursorTypeEnum * plCursorType ) = 0;
  3283. virtual HRESULT __stdcall put_CursorType (
  3284. enum CursorTypeEnum plCursorType ) = 0;
  3285. virtual HRESULT __stdcall get_adoEOF (
  3286. VARIANT_BOOL * pb ) = 0;
  3287. virtual HRESULT __stdcall get_Fields (
  3288. struct Fields_Deprecated * * ppvObject ) = 0;
  3289. virtual HRESULT __stdcall get_LockType (
  3290. enum LockTypeEnum * plLockType ) = 0;
  3291. virtual HRESULT __stdcall put_LockType (
  3292. enum LockTypeEnum plLockType ) = 0;
  3293. virtual HRESULT __stdcall get_MaxRecords (
  3294. ADO_LONGPTR * plMaxRecords ) = 0;
  3295. virtual HRESULT __stdcall put_MaxRecords (
  3296. ADO_LONGPTR plMaxRecords ) = 0;
  3297. virtual HRESULT __stdcall get_RecordCount (
  3298. ADO_LONGPTR * pl ) = 0;
  3299. virtual HRESULT __stdcall putref_Source (
  3300. IDispatch * pvSource ) = 0;
  3301. virtual HRESULT __stdcall put_Source (
  3302. BSTR pvSource ) = 0;
  3303. virtual HRESULT __stdcall get_Source (
  3304. VARIANT * pvSource ) = 0;
  3305. virtual HRESULT __stdcall raw_AddNew (
  3306. VARIANT FieldList = vtMissing,
  3307. VARIANT Values = vtMissing ) = 0;
  3308. virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
  3309. virtual HRESULT __stdcall raw_Close ( ) = 0;
  3310. virtual HRESULT __stdcall raw_Delete (
  3311. enum AffectEnum AffectRecords ) = 0;
  3312. virtual HRESULT __stdcall raw_GetRows (
  3313. long Rows,
  3314. VARIANT Start,
  3315. VARIANT Fields,
  3316. VARIANT * pvar ) = 0;
  3317. virtual HRESULT __stdcall raw_Move (
  3318. ADO_LONGPTR NumRecords,
  3319. VARIANT Start = vtMissing ) = 0;
  3320. virtual HRESULT __stdcall raw_MoveNext ( ) = 0;
  3321. virtual HRESULT __stdcall raw_MovePrevious ( ) = 0;
  3322. virtual HRESULT __stdcall raw_MoveFirst ( ) = 0;
  3323. virtual HRESULT __stdcall raw_MoveLast ( ) = 0;
  3324. virtual HRESULT __stdcall raw_Open (
  3325. VARIANT Source,
  3326. VARIANT ActiveConnection,
  3327. enum CursorTypeEnum CursorType,
  3328. enum LockTypeEnum LockType,
  3329. long Options ) = 0;
  3330. virtual HRESULT __stdcall raw_Requery (
  3331. long Options ) = 0;
  3332. virtual HRESULT __stdcall raw__xResync (
  3333. enum AffectEnum AffectRecords ) = 0;
  3334. virtual HRESULT __stdcall raw_Update (
  3335. VARIANT Fields = vtMissing,
  3336. VARIANT Values = vtMissing ) = 0;
  3337. virtual HRESULT __stdcall get_AbsolutePage (
  3338. PositionEnum_Param * pl ) = 0;
  3339. virtual HRESULT __stdcall put_AbsolutePage (
  3340. PositionEnum_Param pl ) = 0;
  3341. virtual HRESULT __stdcall get_EditMode (
  3342. enum EditModeEnum * pl ) = 0;
  3343. virtual HRESULT __stdcall get_Filter (
  3344. VARIANT * Criteria ) = 0;
  3345. virtual HRESULT __stdcall put_Filter (
  3346. VARIANT Criteria ) = 0;
  3347. virtual HRESULT __stdcall get_PageCount (
  3348. ADO_LONGPTR * pl ) = 0;
  3349. virtual HRESULT __stdcall get_PageSize (
  3350. long * pl ) = 0;
  3351. virtual HRESULT __stdcall put_PageSize (
  3352. long pl ) = 0;
  3353. virtual HRESULT __stdcall get_Sort (
  3354. BSTR * Criteria ) = 0;
  3355. virtual HRESULT __stdcall put_Sort (
  3356. BSTR Criteria ) = 0;
  3357. virtual HRESULT __stdcall get_Status (
  3358. long * pl ) = 0;
  3359. virtual HRESULT __stdcall get_State (
  3360. long * plObjState ) = 0;
  3361. virtual HRESULT __stdcall raw__xClone (
  3362. struct _Recordset_Deprecated * * ppvObject ) = 0;
  3363. virtual HRESULT __stdcall raw_UpdateBatch (
  3364. enum AffectEnum AffectRecords ) = 0;
  3365. virtual HRESULT __stdcall raw_CancelBatch (
  3366. enum AffectEnum AffectRecords ) = 0;
  3367. virtual HRESULT __stdcall get_CursorLocation (
  3368. enum CursorLocationEnum * plCursorLoc ) = 0;
  3369. virtual HRESULT __stdcall put_CursorLocation (
  3370. enum CursorLocationEnum plCursorLoc ) = 0;
  3371. virtual HRESULT __stdcall raw_NextRecordset (
  3372. VARIANT * RecordsAffected,
  3373. struct _Recordset_Deprecated * * ppiRs ) = 0;
  3374. virtual HRESULT __stdcall raw_Supports (
  3375. enum CursorOptionEnum CursorOptions,
  3376. VARIANT_BOOL * pb ) = 0;
  3377. virtual HRESULT __stdcall get_Collect (
  3378. VARIANT Index,
  3379. VARIANT * pvar ) = 0;
  3380. virtual HRESULT __stdcall put_Collect (
  3381. VARIANT Index,
  3382. VARIANT pvar ) = 0;
  3383. virtual HRESULT __stdcall get_MarshalOptions (
  3384. enum MarshalOptionsEnum * peMarshal ) = 0;
  3385. virtual HRESULT __stdcall put_MarshalOptions (
  3386. enum MarshalOptionsEnum peMarshal ) = 0;
  3387. virtual HRESULT __stdcall raw_Find (
  3388. BSTR Criteria,
  3389. ADO_LONGPTR SkipRecords,
  3390. enum SearchDirectionEnum SearchDirection,
  3391. VARIANT Start = vtMissing ) = 0;
  3392. };
  3393. struct __declspec(uuid("0000054f-0000-0010-8000-00aa006d2ea4"))
  3394. Recordset20_Deprecated : Recordset15_Deprecated
  3395. {
  3396. //
  3397. // Property data
  3398. //
  3399. __declspec(property(get=GetDataSource,put=PutRefDataSource))
  3400. IUnknownPtr DataSource;
  3401. __declspec(property(get=GetActiveCommand))
  3402. IDispatchPtr ActiveCommand;
  3403. __declspec(property(get=GetStayInSync,put=PutStayInSync))
  3404. VARIANT_BOOL StayInSync;
  3405. __declspec(property(get=GetDataMember,put=PutDataMember))
  3406. _bstr_t DataMember;
  3407. //
  3408. // Wrapper methods for error-handling
  3409. //
  3410. HRESULT Cancel ( );
  3411. IUnknownPtr GetDataSource ( );
  3412. void PutRefDataSource (
  3413. IUnknown * ppunkDataSource );
  3414. HRESULT _xSave (
  3415. _bstr_t FileName,
  3416. enum PersistFormatEnum PersistFormat );
  3417. IDispatchPtr GetActiveCommand ( );
  3418. void PutStayInSync (
  3419. VARIANT_BOOL pbStayInSync );
  3420. VARIANT_BOOL GetStayInSync ( );
  3421. _bstr_t GetString (
  3422. enum StringFormatEnum StringFormat,
  3423. long NumRows,
  3424. _bstr_t ColumnDelimeter,
  3425. _bstr_t RowDelimeter,
  3426. _bstr_t NullExpr );
  3427. _bstr_t GetDataMember ( );
  3428. void PutDataMember (
  3429. _bstr_t pbstrDataMember );
  3430. enum CompareEnum CompareBookmarks (
  3431. const _variant_t & Bookmark1,
  3432. const _variant_t & Bookmark2 );
  3433. _Recordset_DeprecatedPtr Clone (
  3434. enum LockTypeEnum LockType );
  3435. HRESULT Resync (
  3436. enum AffectEnum AffectRecords,
  3437. enum ResyncEnum ResyncValues );
  3438. //
  3439. // Raw methods provided by interface
  3440. //
  3441. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  3442. virtual HRESULT __stdcall get_DataSource (
  3443. IUnknown * * ppunkDataSource ) = 0;
  3444. virtual HRESULT __stdcall putref_DataSource (
  3445. IUnknown * ppunkDataSource ) = 0;
  3446. virtual HRESULT __stdcall raw__xSave (
  3447. BSTR FileName,
  3448. enum PersistFormatEnum PersistFormat ) = 0;
  3449. virtual HRESULT __stdcall get_ActiveCommand (
  3450. IDispatch * * ppCmd ) = 0;
  3451. virtual HRESULT __stdcall put_StayInSync (
  3452. VARIANT_BOOL pbStayInSync ) = 0;
  3453. virtual HRESULT __stdcall get_StayInSync (
  3454. VARIANT_BOOL * pbStayInSync ) = 0;
  3455. virtual HRESULT __stdcall raw_GetString (
  3456. enum StringFormatEnum StringFormat,
  3457. long NumRows,
  3458. BSTR ColumnDelimeter,
  3459. BSTR RowDelimeter,
  3460. BSTR NullExpr,
  3461. BSTR * pRetString ) = 0;
  3462. virtual HRESULT __stdcall get_DataMember (
  3463. BSTR * pbstrDataMember ) = 0;
  3464. virtual HRESULT __stdcall put_DataMember (
  3465. BSTR pbstrDataMember ) = 0;
  3466. virtual HRESULT __stdcall raw_CompareBookmarks (
  3467. VARIANT Bookmark1,
  3468. VARIANT Bookmark2,
  3469. enum CompareEnum * pCompare ) = 0;
  3470. virtual HRESULT __stdcall raw_Clone (
  3471. enum LockTypeEnum LockType,
  3472. struct _Recordset_Deprecated * * ppvObject ) = 0;
  3473. virtual HRESULT __stdcall raw_Resync (
  3474. enum AffectEnum AffectRecords,
  3475. enum ResyncEnum ResyncValues ) = 0;
  3476. };
  3477. struct __declspec(uuid("00000555-0000-0010-8000-00aa006d2ea4"))
  3478. Recordset21_Deprecated : Recordset20_Deprecated
  3479. {
  3480. //
  3481. // Property data
  3482. //
  3483. __declspec(property(get=GetIndex,put=PutIndex))
  3484. _bstr_t Index;
  3485. //
  3486. // Wrapper methods for error-handling
  3487. //
  3488. HRESULT Seek (
  3489. const _variant_t & KeyValues,
  3490. enum SeekEnum SeekOption );
  3491. void PutIndex (
  3492. _bstr_t pbstrIndex );
  3493. _bstr_t GetIndex ( );
  3494. //
  3495. // Raw methods provided by interface
  3496. //
  3497. virtual HRESULT __stdcall raw_Seek (
  3498. VARIANT KeyValues,
  3499. enum SeekEnum SeekOption ) = 0;
  3500. virtual HRESULT __stdcall put_Index (
  3501. BSTR pbstrIndex ) = 0;
  3502. virtual HRESULT __stdcall get_Index (
  3503. BSTR * pbstrIndex ) = 0;
  3504. };
  3505. struct __declspec(uuid("00000556-0000-0010-8000-00aa006d2ea4"))
  3506. _Recordset_Deprecated : Recordset21_Deprecated
  3507. {
  3508. //
  3509. // Wrapper methods for error-handling
  3510. //
  3511. HRESULT Save (
  3512. const _variant_t & Destination,
  3513. enum PersistFormatEnum PersistFormat );
  3514. //
  3515. // Raw methods provided by interface
  3516. //
  3517. virtual HRESULT __stdcall raw_Save (
  3518. VARIANT Destination,
  3519. enum PersistFormatEnum PersistFormat ) = 0;
  3520. };
  3521. struct __declspec(uuid("00000506-0000-0010-8000-00aa006d2ea4"))
  3522. Fields15_Deprecated : _Collection
  3523. {
  3524. //
  3525. // Property data
  3526. //
  3527. __declspec(property(get=GetItem))
  3528. Field_DeprecatedPtr Item[];
  3529. //
  3530. // Wrapper methods for error-handling
  3531. //
  3532. Field_DeprecatedPtr GetItem (
  3533. const _variant_t & Index );
  3534. //
  3535. // Raw methods provided by interface
  3536. //
  3537. virtual HRESULT __stdcall get_Item (
  3538. VARIANT Index,
  3539. struct Field_Deprecated * * ppvObject ) = 0;
  3540. };
  3541. struct __declspec(uuid("0000054d-0000-0010-8000-00aa006d2ea4"))
  3542. Fields20_Deprecated : Fields15_Deprecated
  3543. {
  3544. //
  3545. // Wrapper methods for error-handling
  3546. //
  3547. HRESULT _Append (
  3548. _bstr_t Name,
  3549. enum DataTypeEnum Type,
  3550. ADO_LONGPTR DefinedSize,
  3551. enum FieldAttributeEnum Attrib );
  3552. HRESULT Delete (
  3553. const _variant_t & Index );
  3554. //
  3555. // Raw methods provided by interface
  3556. //
  3557. virtual HRESULT __stdcall raw__Append (
  3558. BSTR Name,
  3559. enum DataTypeEnum Type,
  3560. ADO_LONGPTR DefinedSize,
  3561. enum FieldAttributeEnum Attrib ) = 0;
  3562. virtual HRESULT __stdcall raw_Delete (
  3563. VARIANT Index ) = 0;
  3564. };
  3565. struct __declspec(uuid("00000564-0000-0010-8000-00aa006d2ea4"))
  3566. Fields_Deprecated : Fields20_Deprecated
  3567. {
  3568. //
  3569. // Wrapper methods for error-handling
  3570. //
  3571. HRESULT Append (
  3572. _bstr_t Name,
  3573. enum DataTypeEnum Type,
  3574. ADO_LONGPTR DefinedSize,
  3575. enum FieldAttributeEnum Attrib,
  3576. const _variant_t & FieldValue = vtMissing );
  3577. HRESULT Update ( );
  3578. HRESULT Resync (
  3579. enum ResyncEnum ResyncValues );
  3580. HRESULT CancelUpdate ( );
  3581. //
  3582. // Raw methods provided by interface
  3583. //
  3584. virtual HRESULT __stdcall raw_Append (
  3585. BSTR Name,
  3586. enum DataTypeEnum Type,
  3587. ADO_LONGPTR DefinedSize,
  3588. enum FieldAttributeEnum Attrib,
  3589. VARIANT FieldValue = vtMissing ) = 0;
  3590. virtual HRESULT __stdcall raw_Update ( ) = 0;
  3591. virtual HRESULT __stdcall raw_Resync (
  3592. enum ResyncEnum ResyncValues ) = 0;
  3593. virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
  3594. };
  3595. struct __declspec(uuid("0000054c-0000-0010-8000-00aa006d2ea4"))
  3596. Field20_Deprecated : _ADO
  3597. {
  3598. //
  3599. // Property data
  3600. //
  3601. __declspec(property(get=GetValue,put=PutValue))
  3602. _variant_t Value;
  3603. __declspec(property(get=GetName))
  3604. _bstr_t Name;
  3605. __declspec(property(get=GetType,put=PutType))
  3606. enum DataTypeEnum Type;
  3607. __declspec(property(get=GetDefinedSize,put=PutDefinedSize))
  3608. ADO_LONGPTR DefinedSize;
  3609. __declspec(property(get=GetOriginalValue))
  3610. _variant_t OriginalValue;
  3611. __declspec(property(get=GetUnderlyingValue))
  3612. _variant_t UnderlyingValue;
  3613. __declspec(property(get=GetActualSize))
  3614. ADO_LONGPTR ActualSize;
  3615. __declspec(property(get=GetPrecision,put=PutPrecision))
  3616. unsigned char Precision;
  3617. __declspec(property(get=GetNumericScale,put=PutNumericScale))
  3618. unsigned char NumericScale;
  3619. __declspec(property(get=GetAttributes,put=PutAttributes))
  3620. long Attributes;
  3621. __declspec(property(get=GetDataFormat,put=PutRefDataFormat))
  3622. IUnknownPtr DataFormat;
  3623. //
  3624. // Wrapper methods for error-handling
  3625. //
  3626. ADO_LONGPTR GetActualSize ( );
  3627. long GetAttributes ( );
  3628. ADO_LONGPTR GetDefinedSize ( );
  3629. _bstr_t GetName ( );
  3630. enum DataTypeEnum GetType ( );
  3631. _variant_t GetValue ( );
  3632. void PutValue (
  3633. const _variant_t & pvar );
  3634. unsigned char GetPrecision ( );
  3635. unsigned char GetNumericScale ( );
  3636. HRESULT AppendChunk (
  3637. const _variant_t & Data );
  3638. _variant_t GetChunk (
  3639. long Length );
  3640. _variant_t GetOriginalValue ( );
  3641. _variant_t GetUnderlyingValue ( );
  3642. IUnknownPtr GetDataFormat ( );
  3643. void PutRefDataFormat (
  3644. IUnknown * ppiDF );
  3645. void PutPrecision (
  3646. unsigned char pbPrecision );
  3647. void PutNumericScale (
  3648. unsigned char pbNumericScale );
  3649. void PutType (
  3650. enum DataTypeEnum pDataType );
  3651. void PutDefinedSize (
  3652. ADO_LONGPTR pl );
  3653. void PutAttributes (
  3654. long pl );
  3655. //
  3656. // Raw methods provided by interface
  3657. //
  3658. virtual HRESULT __stdcall get_ActualSize (
  3659. ADO_LONGPTR * pl ) = 0;
  3660. virtual HRESULT __stdcall get_Attributes (
  3661. long * pl ) = 0;
  3662. virtual HRESULT __stdcall get_DefinedSize (
  3663. ADO_LONGPTR * pl ) = 0;
  3664. virtual HRESULT __stdcall get_Name (
  3665. BSTR * pbstr ) = 0;
  3666. virtual HRESULT __stdcall get_Type (
  3667. enum DataTypeEnum * pDataType ) = 0;
  3668. virtual HRESULT __stdcall get_Value (
  3669. VARIANT * pvar ) = 0;
  3670. virtual HRESULT __stdcall put_Value (
  3671. VARIANT pvar ) = 0;
  3672. virtual HRESULT __stdcall get_Precision (
  3673. unsigned char * pbPrecision ) = 0;
  3674. virtual HRESULT __stdcall get_NumericScale (
  3675. unsigned char * pbNumericScale ) = 0;
  3676. virtual HRESULT __stdcall raw_AppendChunk (
  3677. VARIANT Data ) = 0;
  3678. virtual HRESULT __stdcall raw_GetChunk (
  3679. long Length,
  3680. VARIANT * pvar ) = 0;
  3681. virtual HRESULT __stdcall get_OriginalValue (
  3682. VARIANT * pvar ) = 0;
  3683. virtual HRESULT __stdcall get_UnderlyingValue (
  3684. VARIANT * pvar ) = 0;
  3685. virtual HRESULT __stdcall get_DataFormat (
  3686. IUnknown * * ppiDF ) = 0;
  3687. virtual HRESULT __stdcall putref_DataFormat (
  3688. IUnknown * ppiDF ) = 0;
  3689. virtual HRESULT __stdcall put_Precision (
  3690. unsigned char pbPrecision ) = 0;
  3691. virtual HRESULT __stdcall put_NumericScale (
  3692. unsigned char pbNumericScale ) = 0;
  3693. virtual HRESULT __stdcall put_Type (
  3694. enum DataTypeEnum pDataType ) = 0;
  3695. virtual HRESULT __stdcall put_DefinedSize (
  3696. ADO_LONGPTR pl ) = 0;
  3697. virtual HRESULT __stdcall put_Attributes (
  3698. long pl ) = 0;
  3699. };
  3700. struct __declspec(uuid("00000569-0000-0010-8000-00aa006d2ea4"))
  3701. Field_Deprecated : Field20_Deprecated
  3702. {
  3703. //
  3704. // Property data
  3705. //
  3706. __declspec(property(get=GetStatus))
  3707. long Status;
  3708. //
  3709. // Wrapper methods for error-handling
  3710. //
  3711. long GetStatus ( );
  3712. //
  3713. // Raw methods provided by interface
  3714. //
  3715. virtual HRESULT __stdcall get_Status (
  3716. long * pFStatus ) = 0;
  3717. };
  3718. struct __declspec(uuid("00000508-0000-0010-8000-00aa006d2ea4"))
  3719. Command15_Deprecated : _ADO
  3720. {
  3721. //
  3722. // Property data
  3723. //
  3724. __declspec(property(get=GetParameters))
  3725. Parameters_DeprecatedPtr Parameters;
  3726. __declspec(property(get=GetActiveConnection,put=PutRefActiveConnection))
  3727. _Connection_DeprecatedPtr ActiveConnection;
  3728. __declspec(property(get=GetCommandText,put=PutCommandText))
  3729. _bstr_t CommandText;
  3730. __declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
  3731. long CommandTimeout;
  3732. __declspec(property(get=GetPrepared,put=PutPrepared))
  3733. VARIANT_BOOL Prepared;
  3734. __declspec(property(get=GetCommandType,put=PutCommandType))
  3735. enum CommandTypeEnum CommandType;
  3736. __declspec(property(get=GetName,put=PutName))
  3737. _bstr_t Name;
  3738. //
  3739. // Wrapper methods for error-handling
  3740. //
  3741. _Connection_DeprecatedPtr GetActiveConnection ( );
  3742. void PutRefActiveConnection (
  3743. struct _Connection_Deprecated * ppvObject );
  3744. void PutActiveConnection (
  3745. const _variant_t & ppvObject );
  3746. _bstr_t GetCommandText ( );
  3747. void PutCommandText (
  3748. _bstr_t pbstr );
  3749. long GetCommandTimeout ( );
  3750. void PutCommandTimeout (
  3751. long pl );
  3752. VARIANT_BOOL GetPrepared ( );
  3753. void PutPrepared (
  3754. VARIANT_BOOL pfPrepared );
  3755. _Recordset_DeprecatedPtr Execute (
  3756. VARIANT * RecordsAffected,
  3757. VARIANT * Parameters,
  3758. long Options );
  3759. _Parameter_DeprecatedPtr CreateParameter (
  3760. _bstr_t Name,
  3761. enum DataTypeEnum Type,
  3762. enum ParameterDirectionEnum Direction,
  3763. ADO_LONGPTR Size,
  3764. const _variant_t & Value = vtMissing );
  3765. Parameters_DeprecatedPtr GetParameters ( );
  3766. void PutCommandType (
  3767. enum CommandTypeEnum plCmdType );
  3768. enum CommandTypeEnum GetCommandType ( );
  3769. _bstr_t GetName ( );
  3770. void PutName (
  3771. _bstr_t pbstrName );
  3772. //
  3773. // Raw methods provided by interface
  3774. //
  3775. virtual HRESULT __stdcall get_ActiveConnection (
  3776. struct _Connection_Deprecated * * ppvObject ) = 0;
  3777. virtual HRESULT __stdcall putref_ActiveConnection (
  3778. struct _Connection_Deprecated * ppvObject ) = 0;
  3779. virtual HRESULT __stdcall put_ActiveConnection (
  3780. VARIANT ppvObject ) = 0;
  3781. virtual HRESULT __stdcall get_CommandText (
  3782. BSTR * pbstr ) = 0;
  3783. virtual HRESULT __stdcall put_CommandText (
  3784. BSTR pbstr ) = 0;
  3785. virtual HRESULT __stdcall get_CommandTimeout (
  3786. long * pl ) = 0;
  3787. virtual HRESULT __stdcall put_CommandTimeout (
  3788. long pl ) = 0;
  3789. virtual HRESULT __stdcall get_Prepared (
  3790. VARIANT_BOOL * pfPrepared ) = 0;
  3791. virtual HRESULT __stdcall put_Prepared (
  3792. VARIANT_BOOL pfPrepared ) = 0;
  3793. virtual HRESULT __stdcall raw_Execute (
  3794. VARIANT * RecordsAffected,
  3795. VARIANT * Parameters,
  3796. long Options,
  3797. struct _Recordset_Deprecated * * ppiRs ) = 0;
  3798. virtual HRESULT __stdcall raw_CreateParameter (
  3799. BSTR Name,
  3800. enum DataTypeEnum Type,
  3801. enum ParameterDirectionEnum Direction,
  3802. ADO_LONGPTR Size,
  3803. VARIANT Value,
  3804. struct _Parameter_Deprecated * * ppiprm ) = 0;
  3805. virtual HRESULT __stdcall get_Parameters (
  3806. struct Parameters_Deprecated * * ppvObject ) = 0;
  3807. virtual HRESULT __stdcall put_CommandType (
  3808. enum CommandTypeEnum plCmdType ) = 0;
  3809. virtual HRESULT __stdcall get_CommandType (
  3810. enum CommandTypeEnum * plCmdType ) = 0;
  3811. virtual HRESULT __stdcall get_Name (
  3812. BSTR * pbstrName ) = 0;
  3813. virtual HRESULT __stdcall put_Name (
  3814. BSTR pbstrName ) = 0;
  3815. };
  3816. struct __declspec(uuid("0000054e-0000-0010-8000-00aa006d2ea4"))
  3817. Command25_Deprecated : Command15_Deprecated
  3818. {
  3819. //
  3820. // Property data
  3821. //
  3822. __declspec(property(get=GetState))
  3823. long State;
  3824. //
  3825. // Wrapper methods for error-handling
  3826. //
  3827. long GetState ( );
  3828. HRESULT Cancel ( );
  3829. //
  3830. // Raw methods provided by interface
  3831. //
  3832. virtual HRESULT __stdcall get_State (
  3833. long * plObjState ) = 0;
  3834. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  3835. };
  3836. struct __declspec(uuid("b08400bd-f9d1-4d02-b856-71d5dba123e9"))
  3837. _Command_Deprecated : Command25_Deprecated
  3838. {
  3839. //
  3840. // Property data
  3841. //
  3842. __declspec(property(get=GetDialect,put=PutDialect))
  3843. _bstr_t Dialect;
  3844. __declspec(property(get=GetNamedParameters,put=PutNamedParameters))
  3845. VARIANT_BOOL NamedParameters;
  3846. //
  3847. // Wrapper methods for error-handling
  3848. //
  3849. void PutRefCommandStream (
  3850. IUnknown * pvStream );
  3851. _variant_t GetCommandStream ( );
  3852. void PutDialect (
  3853. _bstr_t pbstrDialect );
  3854. _bstr_t GetDialect ( );
  3855. void PutNamedParameters (
  3856. VARIANT_BOOL pfNamedParameters );
  3857. VARIANT_BOOL GetNamedParameters ( );
  3858. //
  3859. // Raw methods provided by interface
  3860. //
  3861. virtual HRESULT __stdcall putref_CommandStream (
  3862. IUnknown * pvStream ) = 0;
  3863. virtual HRESULT __stdcall get_CommandStream (
  3864. VARIANT * pvStream ) = 0;
  3865. virtual HRESULT __stdcall put_Dialect (
  3866. BSTR pbstrDialect ) = 0;
  3867. virtual HRESULT __stdcall get_Dialect (
  3868. BSTR * pbstrDialect ) = 0;
  3869. virtual HRESULT __stdcall put_NamedParameters (
  3870. VARIANT_BOOL pfNamedParameters ) = 0;
  3871. virtual HRESULT __stdcall get_NamedParameters (
  3872. VARIANT_BOOL * pfNamedParameters ) = 0;
  3873. };
  3874. struct __declspec(uuid("0000050c-0000-0010-8000-00aa006d2ea4"))
  3875. _Parameter_Deprecated : _ADO
  3876. {
  3877. //
  3878. // Property data
  3879. //
  3880. __declspec(property(get=GetValue,put=PutValue))
  3881. _variant_t Value;
  3882. __declspec(property(get=GetName,put=PutName))
  3883. _bstr_t Name;
  3884. __declspec(property(get=GetType,put=PutType))
  3885. enum DataTypeEnum Type;
  3886. __declspec(property(get=GetDirection,put=PutDirection))
  3887. enum ParameterDirectionEnum Direction;
  3888. __declspec(property(get=GetPrecision,put=PutPrecision))
  3889. unsigned char Precision;
  3890. __declspec(property(get=GetNumericScale,put=PutNumericScale))
  3891. unsigned char NumericScale;
  3892. __declspec(property(get=GetSize,put=PutSize))
  3893. ADO_LONGPTR Size;
  3894. __declspec(property(get=GetAttributes,put=PutAttributes))
  3895. long Attributes;
  3896. //
  3897. // Wrapper methods for error-handling
  3898. //
  3899. _bstr_t GetName ( );
  3900. void PutName (
  3901. _bstr_t pbstr );
  3902. _variant_t GetValue ( );
  3903. void PutValue (
  3904. const _variant_t & pvar );
  3905. enum DataTypeEnum GetType ( );
  3906. void PutType (
  3907. enum DataTypeEnum psDataType );
  3908. void PutDirection (
  3909. enum ParameterDirectionEnum plParmDirection );
  3910. enum ParameterDirectionEnum GetDirection ( );
  3911. void PutPrecision (
  3912. unsigned char pbPrecision );
  3913. unsigned char GetPrecision ( );
  3914. void PutNumericScale (
  3915. unsigned char pbScale );
  3916. unsigned char GetNumericScale ( );
  3917. void PutSize (
  3918. ADO_LONGPTR pl );
  3919. ADO_LONGPTR GetSize ( );
  3920. HRESULT AppendChunk (
  3921. const _variant_t & Val );
  3922. long GetAttributes ( );
  3923. void PutAttributes (
  3924. long plParmAttribs );
  3925. //
  3926. // Raw methods provided by interface
  3927. //
  3928. virtual HRESULT __stdcall get_Name (
  3929. BSTR * pbstr ) = 0;
  3930. virtual HRESULT __stdcall put_Name (
  3931. BSTR pbstr ) = 0;
  3932. virtual HRESULT __stdcall get_Value (
  3933. VARIANT * pvar ) = 0;
  3934. virtual HRESULT __stdcall put_Value (
  3935. VARIANT pvar ) = 0;
  3936. virtual HRESULT __stdcall get_Type (
  3937. enum DataTypeEnum * psDataType ) = 0;
  3938. virtual HRESULT __stdcall put_Type (
  3939. enum DataTypeEnum psDataType ) = 0;
  3940. virtual HRESULT __stdcall put_Direction (
  3941. enum ParameterDirectionEnum plParmDirection ) = 0;
  3942. virtual HRESULT __stdcall get_Direction (
  3943. enum ParameterDirectionEnum * plParmDirection ) = 0;
  3944. virtual HRESULT __stdcall put_Precision (
  3945. unsigned char pbPrecision ) = 0;
  3946. virtual HRESULT __stdcall get_Precision (
  3947. unsigned char * pbPrecision ) = 0;
  3948. virtual HRESULT __stdcall put_NumericScale (
  3949. unsigned char pbScale ) = 0;
  3950. virtual HRESULT __stdcall get_NumericScale (
  3951. unsigned char * pbScale ) = 0;
  3952. virtual HRESULT __stdcall put_Size (
  3953. ADO_LONGPTR pl ) = 0;
  3954. virtual HRESULT __stdcall get_Size (
  3955. ADO_LONGPTR * pl ) = 0;
  3956. virtual HRESULT __stdcall raw_AppendChunk (
  3957. VARIANT Val ) = 0;
  3958. virtual HRESULT __stdcall get_Attributes (
  3959. long * plParmAttribs ) = 0;
  3960. virtual HRESULT __stdcall put_Attributes (
  3961. long plParmAttribs ) = 0;
  3962. };
  3963. struct __declspec(uuid("0000050d-0000-0010-8000-00aa006d2ea4"))
  3964. Parameters_Deprecated : _DynaCollection
  3965. {
  3966. //
  3967. // Property data
  3968. //
  3969. __declspec(property(get=GetItem))
  3970. _Parameter_DeprecatedPtr Item[];
  3971. //
  3972. // Wrapper methods for error-handling
  3973. //
  3974. _Parameter_DeprecatedPtr GetItem (
  3975. const _variant_t & Index );
  3976. //
  3977. // Raw methods provided by interface
  3978. //
  3979. virtual HRESULT __stdcall get_Item (
  3980. VARIANT Index,
  3981. struct _Parameter_Deprecated * * ppvObject ) = 0;
  3982. };
  3983. struct __declspec(uuid("00000403-0000-0010-8000-00aa006d2ea4"))
  3984. RecordsetEventsVt_Deprecated : IUnknown
  3985. {
  3986. //
  3987. // Wrapper methods for error-handling
  3988. //
  3989. HRESULT WillChangeField (
  3990. long cFields,
  3991. const _variant_t & Fields,
  3992. enum EventStatusEnum * adStatus,
  3993. struct _Recordset_Deprecated * pRecordset );
  3994. HRESULT FieldChangeComplete (
  3995. long cFields,
  3996. const _variant_t & Fields,
  3997. struct Error * pError,
  3998. enum EventStatusEnum * adStatus,
  3999. struct _Recordset_Deprecated * pRecordset );
  4000. HRESULT WillChangeRecord (
  4001. enum EventReasonEnum adReason,
  4002. long cRecords,
  4003. enum EventStatusEnum * adStatus,
  4004. struct _Recordset_Deprecated * pRecordset );
  4005. HRESULT RecordChangeComplete (
  4006. enum EventReasonEnum adReason,
  4007. long cRecords,
  4008. struct Error * pError,
  4009. enum EventStatusEnum * adStatus,
  4010. struct _Recordset_Deprecated * pRecordset );
  4011. HRESULT WillChangeRecordset (
  4012. enum EventReasonEnum adReason,
  4013. enum EventStatusEnum * adStatus,
  4014. struct _Recordset_Deprecated * pRecordset );
  4015. HRESULT RecordsetChangeComplete (
  4016. enum EventReasonEnum adReason,
  4017. struct Error * pError,
  4018. enum EventStatusEnum * adStatus,
  4019. struct _Recordset_Deprecated * pRecordset );
  4020. HRESULT WillMove (
  4021. enum EventReasonEnum adReason,
  4022. enum EventStatusEnum * adStatus,
  4023. struct _Recordset_Deprecated * pRecordset );
  4024. HRESULT MoveComplete (
  4025. enum EventReasonEnum adReason,
  4026. struct Error * pError,
  4027. enum EventStatusEnum * adStatus,
  4028. struct _Recordset_Deprecated * pRecordset );
  4029. HRESULT EndOfRecordset (
  4030. VARIANT_BOOL * fMoreData,
  4031. enum EventStatusEnum * adStatus,
  4032. struct _Recordset_Deprecated * pRecordset );
  4033. HRESULT FetchProgress (
  4034. long Progress,
  4035. long MaxProgress,
  4036. enum EventStatusEnum * adStatus,
  4037. struct _Recordset_Deprecated * pRecordset );
  4038. HRESULT FetchComplete (
  4039. struct Error * pError,
  4040. enum EventStatusEnum * adStatus,
  4041. struct _Recordset_Deprecated * pRecordset );
  4042. //
  4043. // Raw methods provided by interface
  4044. //
  4045. virtual HRESULT __stdcall raw_WillChangeField (
  4046. long cFields,
  4047. VARIANT Fields,
  4048. enum EventStatusEnum * adStatus,
  4049. struct _Recordset_Deprecated * pRecordset ) = 0;
  4050. virtual HRESULT __stdcall raw_FieldChangeComplete (
  4051. long cFields,
  4052. VARIANT Fields,
  4053. struct Error * pError,
  4054. enum EventStatusEnum * adStatus,
  4055. struct _Recordset_Deprecated * pRecordset ) = 0;
  4056. virtual HRESULT __stdcall raw_WillChangeRecord (
  4057. enum EventReasonEnum adReason,
  4058. long cRecords,
  4059. enum EventStatusEnum * adStatus,
  4060. struct _Recordset_Deprecated * pRecordset ) = 0;
  4061. virtual HRESULT __stdcall raw_RecordChangeComplete (
  4062. enum EventReasonEnum adReason,
  4063. long cRecords,
  4064. struct Error * pError,
  4065. enum EventStatusEnum * adStatus,
  4066. struct _Recordset_Deprecated * pRecordset ) = 0;
  4067. virtual HRESULT __stdcall raw_WillChangeRecordset (
  4068. enum EventReasonEnum adReason,
  4069. enum EventStatusEnum * adStatus,
  4070. struct _Recordset_Deprecated * pRecordset ) = 0;
  4071. virtual HRESULT __stdcall raw_RecordsetChangeComplete (
  4072. enum EventReasonEnum adReason,
  4073. struct Error * pError,
  4074. enum EventStatusEnum * adStatus,
  4075. struct _Recordset_Deprecated * pRecordset ) = 0;
  4076. virtual HRESULT __stdcall raw_WillMove (
  4077. enum EventReasonEnum adReason,
  4078. enum EventStatusEnum * adStatus,
  4079. struct _Recordset_Deprecated * pRecordset ) = 0;
  4080. virtual HRESULT __stdcall raw_MoveComplete (
  4081. enum EventReasonEnum adReason,
  4082. struct Error * pError,
  4083. enum EventStatusEnum * adStatus,
  4084. struct _Recordset_Deprecated * pRecordset ) = 0;
  4085. virtual HRESULT __stdcall raw_EndOfRecordset (
  4086. VARIANT_BOOL * fMoreData,
  4087. enum EventStatusEnum * adStatus,
  4088. struct _Recordset_Deprecated * pRecordset ) = 0;
  4089. virtual HRESULT __stdcall raw_FetchProgress (
  4090. long Progress,
  4091. long MaxProgress,
  4092. enum EventStatusEnum * adStatus,
  4093. struct _Recordset_Deprecated * pRecordset ) = 0;
  4094. virtual HRESULT __stdcall raw_FetchComplete (
  4095. struct Error * pError,
  4096. enum EventStatusEnum * adStatus,
  4097. struct _Recordset_Deprecated * pRecordset ) = 0;
  4098. };
  4099. struct __declspec(uuid("00000400-0000-0010-8000-00aa006d2ea4"))
  4100. ConnectionEvents_Deprecated : IDispatch
  4101. {
  4102. //
  4103. // Wrapper methods for error-handling
  4104. //
  4105. // Methods:
  4106. HRESULT InfoMessage (
  4107. struct Error * pError,
  4108. enum EventStatusEnum * adStatus,
  4109. struct _Connection_Deprecated * pConnection );
  4110. HRESULT BeginTransComplete (
  4111. long TransactionLevel,
  4112. struct Error * pError,
  4113. enum EventStatusEnum * adStatus,
  4114. struct _Connection_Deprecated * pConnection );
  4115. HRESULT CommitTransComplete (
  4116. struct Error * pError,
  4117. enum EventStatusEnum * adStatus,
  4118. struct _Connection_Deprecated * pConnection );
  4119. HRESULT RollbackTransComplete (
  4120. struct Error * pError,
  4121. enum EventStatusEnum * adStatus,
  4122. struct _Connection_Deprecated * pConnection );
  4123. HRESULT WillExecute (
  4124. BSTR * Source,
  4125. enum CursorTypeEnum * CursorType,
  4126. enum LockTypeEnum * LockType,
  4127. long * Options,
  4128. enum EventStatusEnum * adStatus,
  4129. struct _Command_Deprecated * pCommand,
  4130. struct _Recordset_Deprecated * pRecordset,
  4131. struct _Connection_Deprecated * pConnection );
  4132. HRESULT ExecuteComplete (
  4133. long RecordsAffected,
  4134. struct Error * pError,
  4135. enum EventStatusEnum * adStatus,
  4136. struct _Command_Deprecated * pCommand,
  4137. struct _Recordset_Deprecated * pRecordset,
  4138. struct _Connection_Deprecated * pConnection );
  4139. HRESULT WillConnect (
  4140. BSTR * ConnectionString,
  4141. BSTR * UserID,
  4142. BSTR * Password,
  4143. long * Options,
  4144. enum EventStatusEnum * adStatus,
  4145. struct _Connection_Deprecated * pConnection );
  4146. HRESULT ConnectComplete (
  4147. struct Error * pError,
  4148. enum EventStatusEnum * adStatus,
  4149. struct _Connection_Deprecated * pConnection );
  4150. HRESULT Disconnect (
  4151. enum EventStatusEnum * adStatus,
  4152. struct _Connection_Deprecated * pConnection );
  4153. };
  4154. struct __declspec(uuid("00000266-0000-0010-8000-00aa006d2ea4"))
  4155. RecordsetEvents_Deprecated : IDispatch
  4156. {
  4157. //
  4158. // Wrapper methods for error-handling
  4159. //
  4160. // Methods:
  4161. HRESULT WillChangeField (
  4162. long cFields,
  4163. const _variant_t & Fields,
  4164. enum EventStatusEnum * adStatus,
  4165. struct _Recordset_Deprecated * pRecordset );
  4166. HRESULT FieldChangeComplete (
  4167. long cFields,
  4168. const _variant_t & Fields,
  4169. struct Error * pError,
  4170. enum EventStatusEnum * adStatus,
  4171. struct _Recordset_Deprecated * pRecordset );
  4172. HRESULT WillChangeRecord (
  4173. enum EventReasonEnum adReason,
  4174. long cRecords,
  4175. enum EventStatusEnum * adStatus,
  4176. struct _Recordset_Deprecated * pRecordset );
  4177. HRESULT RecordChangeComplete (
  4178. enum EventReasonEnum adReason,
  4179. long cRecords,
  4180. struct Error * pError,
  4181. enum EventStatusEnum * adStatus,
  4182. struct _Recordset_Deprecated * pRecordset );
  4183. HRESULT WillChangeRecordset (
  4184. enum EventReasonEnum adReason,
  4185. enum EventStatusEnum * adStatus,
  4186. struct _Recordset_Deprecated * pRecordset );
  4187. HRESULT RecordsetChangeComplete (
  4188. enum EventReasonEnum adReason,
  4189. struct Error * pError,
  4190. enum EventStatusEnum * adStatus,
  4191. struct _Recordset_Deprecated * pRecordset );
  4192. HRESULT WillMove (
  4193. enum EventReasonEnum adReason,
  4194. enum EventStatusEnum * adStatus,
  4195. struct _Recordset_Deprecated * pRecordset );
  4196. HRESULT MoveComplete (
  4197. enum EventReasonEnum adReason,
  4198. struct Error * pError,
  4199. enum EventStatusEnum * adStatus,
  4200. struct _Recordset_Deprecated * pRecordset );
  4201. HRESULT EndOfRecordset (
  4202. VARIANT_BOOL * fMoreData,
  4203. enum EventStatusEnum * adStatus,
  4204. struct _Recordset_Deprecated * pRecordset );
  4205. HRESULT FetchProgress (
  4206. long Progress,
  4207. long MaxProgress,
  4208. enum EventStatusEnum * adStatus,
  4209. struct _Recordset_Deprecated * pRecordset );
  4210. HRESULT FetchComplete (
  4211. struct Error * pError,
  4212. enum EventStatusEnum * adStatus,
  4213. struct _Recordset_Deprecated * pRecordset );
  4214. };
  4215. struct __declspec(uuid("00000562-0000-0010-8000-00aa006d2ea4"))
  4216. _Record_Deprecated : _ADO
  4217. {
  4218. //
  4219. // Property data
  4220. //
  4221. __declspec(property(get=GetFields))
  4222. Fields_DeprecatedPtr Fields;
  4223. __declspec(property(get=GetState))
  4224. enum ObjectStateEnum State;
  4225. __declspec(property(get=GetMode,put=PutMode))
  4226. enum ConnectModeEnum Mode;
  4227. __declspec(property(get=GetParentURL))
  4228. _bstr_t ParentURL;
  4229. __declspec(property(get=GetRecordType))
  4230. enum RecordTypeEnum RecordType;
  4231. //
  4232. // Wrapper methods for error-handling
  4233. //
  4234. _variant_t GetActiveConnection ( );
  4235. void PutActiveConnection (
  4236. _bstr_t pvar );
  4237. void PutRefActiveConnection (
  4238. struct _Connection_Deprecated * pvar );
  4239. enum ObjectStateEnum GetState ( );
  4240. _variant_t GetSource ( );
  4241. void PutSource (
  4242. _bstr_t pvar );
  4243. void PutRefSource (
  4244. IDispatch * pvar );
  4245. enum ConnectModeEnum GetMode ( );
  4246. void PutMode (
  4247. enum ConnectModeEnum pMode );
  4248. _bstr_t GetParentURL ( );
  4249. _bstr_t MoveRecord (
  4250. _bstr_t Source,
  4251. _bstr_t Destination,
  4252. _bstr_t UserName,
  4253. _bstr_t Password,
  4254. enum MoveRecordOptionsEnum Options,
  4255. VARIANT_BOOL Async );
  4256. _bstr_t CopyRecord (
  4257. _bstr_t Source,
  4258. _bstr_t Destination,
  4259. _bstr_t UserName,
  4260. _bstr_t Password,
  4261. enum CopyRecordOptionsEnum Options,
  4262. VARIANT_BOOL Async );
  4263. HRESULT DeleteRecord (
  4264. _bstr_t Source,
  4265. VARIANT_BOOL Async );
  4266. HRESULT Open (
  4267. const _variant_t & Source,
  4268. const _variant_t & ActiveConnection,
  4269. enum ConnectModeEnum Mode,
  4270. enum RecordCreateOptionsEnum CreateOptions,
  4271. enum RecordOpenOptionsEnum Options,
  4272. _bstr_t UserName,
  4273. _bstr_t Password );
  4274. HRESULT Close ( );
  4275. Fields_DeprecatedPtr GetFields ( );
  4276. enum RecordTypeEnum GetRecordType ( );
  4277. _Recordset_DeprecatedPtr GetChildren ( );
  4278. HRESULT Cancel ( );
  4279. //
  4280. // Raw methods provided by interface
  4281. //
  4282. virtual HRESULT __stdcall get_ActiveConnection (
  4283. VARIANT * pvar ) = 0;
  4284. virtual HRESULT __stdcall put_ActiveConnection (
  4285. BSTR pvar ) = 0;
  4286. virtual HRESULT __stdcall putref_ActiveConnection (
  4287. struct _Connection_Deprecated * pvar ) = 0;
  4288. virtual HRESULT __stdcall get_State (
  4289. enum ObjectStateEnum * pState ) = 0;
  4290. virtual HRESULT __stdcall get_Source (
  4291. VARIANT * pvar ) = 0;
  4292. virtual HRESULT __stdcall put_Source (
  4293. BSTR pvar ) = 0;
  4294. virtual HRESULT __stdcall putref_Source (
  4295. IDispatch * pvar ) = 0;
  4296. virtual HRESULT __stdcall get_Mode (
  4297. enum ConnectModeEnum * pMode ) = 0;
  4298. virtual HRESULT __stdcall put_Mode (
  4299. enum ConnectModeEnum pMode ) = 0;
  4300. virtual HRESULT __stdcall get_ParentURL (
  4301. BSTR * pbstrParentURL ) = 0;
  4302. virtual HRESULT __stdcall raw_MoveRecord (
  4303. BSTR Source,
  4304. BSTR Destination,
  4305. BSTR UserName,
  4306. BSTR Password,
  4307. enum MoveRecordOptionsEnum Options,
  4308. VARIANT_BOOL Async,
  4309. BSTR * pbstrNewURL ) = 0;
  4310. virtual HRESULT __stdcall raw_CopyRecord (
  4311. BSTR Source,
  4312. BSTR Destination,
  4313. BSTR UserName,
  4314. BSTR Password,
  4315. enum CopyRecordOptionsEnum Options,
  4316. VARIANT_BOOL Async,
  4317. BSTR * pbstrNewURL ) = 0;
  4318. virtual HRESULT __stdcall raw_DeleteRecord (
  4319. BSTR Source,
  4320. VARIANT_BOOL Async ) = 0;
  4321. virtual HRESULT __stdcall raw_Open (
  4322. VARIANT Source,
  4323. VARIANT ActiveConnection,
  4324. enum ConnectModeEnum Mode,
  4325. enum RecordCreateOptionsEnum CreateOptions,
  4326. enum RecordOpenOptionsEnum Options,
  4327. BSTR UserName,
  4328. BSTR Password ) = 0;
  4329. virtual HRESULT __stdcall raw_Close ( ) = 0;
  4330. virtual HRESULT __stdcall get_Fields (
  4331. struct Fields_Deprecated * * ppFlds ) = 0;
  4332. virtual HRESULT __stdcall get_RecordType (
  4333. enum RecordTypeEnum * ptype ) = 0;
  4334. virtual HRESULT __stdcall raw_GetChildren (
  4335. struct _Recordset_Deprecated * * pprset ) = 0;
  4336. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  4337. };
  4338. struct __declspec(uuid("00000565-0000-0010-8000-00aa006d2ea4"))
  4339. _Stream_Deprecated : IDispatch
  4340. {
  4341. //
  4342. // Property data
  4343. //
  4344. __declspec(property(get=GetSize))
  4345. ADO_LONGPTR Size;
  4346. __declspec(property(get=GetEOS))
  4347. VARIANT_BOOL EOS;
  4348. __declspec(property(get=GetPosition,put=PutPosition))
  4349. ADO_LONGPTR Position;
  4350. __declspec(property(get=GetType,put=PutType))
  4351. enum StreamTypeEnum Type;
  4352. __declspec(property(get=GetLineSeparator,put=PutLineSeparator))
  4353. enum LineSeparatorEnum LineSeparator;
  4354. __declspec(property(get=GetState))
  4355. enum ObjectStateEnum State;
  4356. __declspec(property(get=GetMode,put=PutMode))
  4357. enum ConnectModeEnum Mode;
  4358. __declspec(property(get=GetCharset,put=PutCharset))
  4359. _bstr_t Charset;
  4360. //
  4361. // Wrapper methods for error-handling
  4362. //
  4363. ADO_LONGPTR GetSize ( );
  4364. VARIANT_BOOL GetEOS ( );
  4365. ADO_LONGPTR GetPosition ( );
  4366. void PutPosition (
  4367. ADO_LONGPTR pPos );
  4368. enum StreamTypeEnum GetType ( );
  4369. void PutType (
  4370. enum StreamTypeEnum ptype );
  4371. enum LineSeparatorEnum GetLineSeparator ( );
  4372. void PutLineSeparator (
  4373. enum LineSeparatorEnum pLS );
  4374. enum ObjectStateEnum GetState ( );
  4375. enum ConnectModeEnum GetMode ( );
  4376. void PutMode (
  4377. enum ConnectModeEnum pMode );
  4378. _bstr_t GetCharset ( );
  4379. void PutCharset (
  4380. _bstr_t pbstrCharset );
  4381. _variant_t Read (
  4382. long NumBytes );
  4383. HRESULT Open (
  4384. const _variant_t & Source,
  4385. enum ConnectModeEnum Mode,
  4386. enum StreamOpenOptionsEnum Options,
  4387. _bstr_t UserName,
  4388. _bstr_t Password );
  4389. HRESULT Close ( );
  4390. HRESULT SkipLine ( );
  4391. HRESULT Write (
  4392. const _variant_t & Buffer );
  4393. HRESULT SetEOS ( );
  4394. HRESULT CopyTo (
  4395. struct _Stream_Deprecated * DestStream,
  4396. ADO_LONGPTR CharNumber );
  4397. HRESULT Flush ( );
  4398. HRESULT SaveToFile (
  4399. _bstr_t FileName,
  4400. enum SaveOptionsEnum Options );
  4401. HRESULT LoadFromFile (
  4402. _bstr_t FileName );
  4403. _bstr_t ReadText (
  4404. long NumChars );
  4405. HRESULT WriteText (
  4406. _bstr_t Data,
  4407. enum StreamWriteEnum Options );
  4408. HRESULT Cancel ( );
  4409. //
  4410. // Raw methods provided by interface
  4411. //
  4412. virtual HRESULT __stdcall get_Size (
  4413. ADO_LONGPTR * pSize ) = 0;
  4414. virtual HRESULT __stdcall get_EOS (
  4415. VARIANT_BOOL * pEOS ) = 0;
  4416. virtual HRESULT __stdcall get_Position (
  4417. ADO_LONGPTR * pPos ) = 0;
  4418. virtual HRESULT __stdcall put_Position (
  4419. ADO_LONGPTR pPos ) = 0;
  4420. virtual HRESULT __stdcall get_Type (
  4421. enum StreamTypeEnum * ptype ) = 0;
  4422. virtual HRESULT __stdcall put_Type (
  4423. enum StreamTypeEnum ptype ) = 0;
  4424. virtual HRESULT __stdcall get_LineSeparator (
  4425. enum LineSeparatorEnum * pLS ) = 0;
  4426. virtual HRESULT __stdcall put_LineSeparator (
  4427. enum LineSeparatorEnum pLS ) = 0;
  4428. virtual HRESULT __stdcall get_State (
  4429. enum ObjectStateEnum * pState ) = 0;
  4430. virtual HRESULT __stdcall get_Mode (
  4431. enum ConnectModeEnum * pMode ) = 0;
  4432. virtual HRESULT __stdcall put_Mode (
  4433. enum ConnectModeEnum pMode ) = 0;
  4434. virtual HRESULT __stdcall get_Charset (
  4435. BSTR * pbstrCharset ) = 0;
  4436. virtual HRESULT __stdcall put_Charset (
  4437. BSTR pbstrCharset ) = 0;
  4438. virtual HRESULT __stdcall raw_Read (
  4439. long NumBytes,
  4440. VARIANT * pval ) = 0;
  4441. virtual HRESULT __stdcall raw_Open (
  4442. VARIANT Source,
  4443. enum ConnectModeEnum Mode,
  4444. enum StreamOpenOptionsEnum Options,
  4445. BSTR UserName,
  4446. BSTR Password ) = 0;
  4447. virtual HRESULT __stdcall raw_Close ( ) = 0;
  4448. virtual HRESULT __stdcall raw_SkipLine ( ) = 0;
  4449. virtual HRESULT __stdcall raw_Write (
  4450. VARIANT Buffer ) = 0;
  4451. virtual HRESULT __stdcall raw_SetEOS ( ) = 0;
  4452. virtual HRESULT __stdcall raw_CopyTo (
  4453. struct _Stream_Deprecated * DestStream,
  4454. ADO_LONGPTR CharNumber ) = 0;
  4455. virtual HRESULT __stdcall raw_Flush ( ) = 0;
  4456. virtual HRESULT __stdcall raw_SaveToFile (
  4457. BSTR FileName,
  4458. enum SaveOptionsEnum Options ) = 0;
  4459. virtual HRESULT __stdcall raw_LoadFromFile (
  4460. BSTR FileName ) = 0;
  4461. virtual HRESULT __stdcall raw_ReadText (
  4462. long NumChars,
  4463. BSTR * pbstr ) = 0;
  4464. virtual HRESULT __stdcall raw_WriteText (
  4465. BSTR Data,
  4466. enum StreamWriteEnum Options ) = 0;
  4467. virtual HRESULT __stdcall raw_Cancel ( ) = 0;
  4468. };
  4469. struct __declspec(uuid("00000505-0000-0010-8000-00aa006d2ea4"))
  4470. Field15_Deprecated : _ADO
  4471. {
  4472. //
  4473. // Property data
  4474. //
  4475. __declspec(property(get=GetValue,put=PutValue))
  4476. _variant_t Value;
  4477. __declspec(property(get=GetName))
  4478. _bstr_t Name;
  4479. __declspec(property(get=GetType))
  4480. enum DataTypeEnum Type;
  4481. __declspec(property(get=GetDefinedSize))
  4482. ADO_LONGPTR DefinedSize;
  4483. __declspec(property(get=GetOriginalValue))
  4484. _variant_t OriginalValue;
  4485. __declspec(property(get=GetUnderlyingValue))
  4486. _variant_t UnderlyingValue;
  4487. __declspec(property(get=GetActualSize))
  4488. ADO_LONGPTR ActualSize;
  4489. __declspec(property(get=GetPrecision))
  4490. unsigned char Precision;
  4491. __declspec(property(get=GetNumericScale))
  4492. unsigned char NumericScale;
  4493. __declspec(property(get=GetAttributes))
  4494. long Attributes;
  4495. //
  4496. // Wrapper methods for error-handling
  4497. //
  4498. ADO_LONGPTR GetActualSize ( );
  4499. long GetAttributes ( );
  4500. ADO_LONGPTR GetDefinedSize ( );
  4501. _bstr_t GetName ( );
  4502. enum DataTypeEnum GetType ( );
  4503. _variant_t GetValue ( );
  4504. void PutValue (
  4505. const _variant_t & pvar );
  4506. unsigned char GetPrecision ( );
  4507. unsigned char GetNumericScale ( );
  4508. HRESULT AppendChunk (
  4509. const _variant_t & Data );
  4510. _variant_t GetChunk (
  4511. long Length );
  4512. _variant_t GetOriginalValue ( );
  4513. _variant_t GetUnderlyingValue ( );
  4514. //
  4515. // Raw methods provided by interface
  4516. //
  4517. virtual HRESULT __stdcall get_ActualSize (
  4518. ADO_LONGPTR * pl ) = 0;
  4519. virtual HRESULT __stdcall get_Attributes (
  4520. long * pl ) = 0;
  4521. virtual HRESULT __stdcall get_DefinedSize (
  4522. ADO_LONGPTR * pl ) = 0;
  4523. virtual HRESULT __stdcall get_Name (
  4524. BSTR * pbstr ) = 0;
  4525. virtual HRESULT __stdcall get_Type (
  4526. enum DataTypeEnum * pDataType ) = 0;
  4527. virtual HRESULT __stdcall get_Value (
  4528. VARIANT * pvar ) = 0;
  4529. virtual HRESULT __stdcall put_Value (
  4530. VARIANT pvar ) = 0;
  4531. virtual HRESULT __stdcall get_Precision (
  4532. unsigned char * pbPrecision ) = 0;
  4533. virtual HRESULT __stdcall get_NumericScale (
  4534. unsigned char * pbNumericScale ) = 0;
  4535. virtual HRESULT __stdcall raw_AppendChunk (
  4536. VARIANT Data ) = 0;
  4537. virtual HRESULT __stdcall raw_GetChunk (
  4538. long Length,
  4539. VARIANT * pvar ) = 0;
  4540. virtual HRESULT __stdcall get_OriginalValue (
  4541. VARIANT * pvar ) = 0;
  4542. virtual HRESULT __stdcall get_UnderlyingValue (
  4543. VARIANT * pvar ) = 0;
  4544. };
  4545. //
  4546. // Function implementation mapping
  4547. //
  4548. #pragma start_map_region("msado15.tli")
  4549. __declspec(implementation_key(1)) long _Collection::GetCount ( );
  4550. __declspec(implementation_key(2)) IUnknownPtr _Collection::_NewEnum ( );
  4551. __declspec(implementation_key(3)) HRESULT _Collection::Refresh ( );
  4552. __declspec(implementation_key(4)) HRESULT _DynaCollection::Append ( IDispatch * Object );
  4553. __declspec(implementation_key(5)) HRESULT _DynaCollection::Delete ( const _variant_t & Index );
  4554. __declspec(implementation_key(6)) PropertiesPtr _ADO::GetProperties ( );
  4555. __declspec(implementation_key(7)) PropertyPtr Properties::GetItem ( const _variant_t & Index );
  4556. __declspec(implementation_key(8)) _variant_t Property::GetValue ( );
  4557. __declspec(implementation_key(9)) void Property::PutValue ( const _variant_t & pval );
  4558. __declspec(implementation_key(10)) _bstr_t Property::GetName ( );
  4559. __declspec(implementation_key(11)) enum DataTypeEnum Property::GetType ( );
  4560. __declspec(implementation_key(12)) long Property::GetAttributes ( );
  4561. __declspec(implementation_key(13)) void Property::PutAttributes ( long plAttributes );
  4562. __declspec(implementation_key(14)) long Error::GetNumber ( );
  4563. __declspec(implementation_key(15)) _bstr_t Error::GetSource ( );
  4564. __declspec(implementation_key(16)) _bstr_t Error::GetDescription ( );
  4565. __declspec(implementation_key(17)) _bstr_t Error::GetHelpFile ( );
  4566. __declspec(implementation_key(18)) long Error::GetHelpContext ( );
  4567. __declspec(implementation_key(19)) _bstr_t Error::GetSQLState ( );
  4568. __declspec(implementation_key(20)) long Error::GetNativeError ( );
  4569. __declspec(implementation_key(21)) ErrorPtr Errors::GetItem ( const _variant_t & Index );
  4570. __declspec(implementation_key(22)) HRESULT Errors::Clear ( );
  4571. __declspec(implementation_key(23)) _ConnectionPtr Command15::GetActiveConnection ( );
  4572. __declspec(implementation_key(24)) void Command15::PutRefActiveConnection ( struct _Connection * ppvObject );
  4573. __declspec(implementation_key(25)) void Command15::PutActiveConnection ( const _variant_t & ppvObject );
  4574. __declspec(implementation_key(26)) _bstr_t Command15::GetCommandText ( );
  4575. __declspec(implementation_key(27)) void Command15::PutCommandText ( _bstr_t pbstr );
  4576. __declspec(implementation_key(28)) long Command15::GetCommandTimeout ( );
  4577. __declspec(implementation_key(29)) void Command15::PutCommandTimeout ( long pl );
  4578. __declspec(implementation_key(30)) VARIANT_BOOL Command15::GetPrepared ( );
  4579. __declspec(implementation_key(31)) void Command15::PutPrepared ( VARIANT_BOOL pfPrepared );
  4580. __declspec(implementation_key(32)) _RecordsetPtr Command15::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options );
  4581. __declspec(implementation_key(33)) _ParameterPtr Command15::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, long Size, const _variant_t & Value );
  4582. __declspec(implementation_key(34)) ParametersPtr Command15::GetParameters ( );
  4583. __declspec(implementation_key(35)) void Command15::PutCommandType ( enum CommandTypeEnum plCmdType );
  4584. __declspec(implementation_key(36)) enum CommandTypeEnum Command15::GetCommandType ( );
  4585. __declspec(implementation_key(37)) _bstr_t Command15::GetName ( );
  4586. __declspec(implementation_key(38)) void Command15::PutName ( _bstr_t pbstrName );
  4587. __declspec(implementation_key(39)) _bstr_t Connection15::GetConnectionString ( );
  4588. __declspec(implementation_key(40)) void Connection15::PutConnectionString ( _bstr_t pbstr );
  4589. __declspec(implementation_key(41)) long Connection15::GetCommandTimeout ( );
  4590. __declspec(implementation_key(42)) void Connection15::PutCommandTimeout ( long plTimeout );
  4591. __declspec(implementation_key(43)) long Connection15::GetConnectionTimeout ( );
  4592. __declspec(implementation_key(44)) void Connection15::PutConnectionTimeout ( long plTimeout );
  4593. __declspec(implementation_key(45)) _bstr_t Connection15::GetVersion ( );
  4594. __declspec(implementation_key(46)) HRESULT Connection15::Close ( );
  4595. __declspec(implementation_key(47)) _RecordsetPtr Connection15::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options );
  4596. __declspec(implementation_key(48)) long Connection15::BeginTrans ( );
  4597. __declspec(implementation_key(49)) HRESULT Connection15::CommitTrans ( );
  4598. __declspec(implementation_key(50)) HRESULT Connection15::RollbackTrans ( );
  4599. __declspec(implementation_key(51)) HRESULT Connection15::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options );
  4600. __declspec(implementation_key(52)) ErrorsPtr Connection15::GetErrors ( );
  4601. __declspec(implementation_key(53)) _bstr_t Connection15::GetDefaultDatabase ( );
  4602. __declspec(implementation_key(54)) void Connection15::PutDefaultDatabase ( _bstr_t pbstr );
  4603. __declspec(implementation_key(55)) enum IsolationLevelEnum Connection15::GetIsolationLevel ( );
  4604. __declspec(implementation_key(56)) void Connection15::PutIsolationLevel ( enum IsolationLevelEnum Level );
  4605. __declspec(implementation_key(57)) long Connection15::GetAttributes ( );
  4606. __declspec(implementation_key(58)) void Connection15::PutAttributes ( long plAttr );
  4607. __declspec(implementation_key(59)) enum CursorLocationEnum Connection15::GetCursorLocation ( );
  4608. __declspec(implementation_key(60)) void Connection15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc );
  4609. __declspec(implementation_key(61)) enum ConnectModeEnum Connection15::GetMode ( );
  4610. __declspec(implementation_key(62)) void Connection15::PutMode ( enum ConnectModeEnum plMode );
  4611. __declspec(implementation_key(63)) _bstr_t Connection15::GetProvider ( );
  4612. __declspec(implementation_key(64)) void Connection15::PutProvider ( _bstr_t pbstr );
  4613. __declspec(implementation_key(65)) long Connection15::GetState ( );
  4614. __declspec(implementation_key(66)) _RecordsetPtr Connection15::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID );
  4615. __declspec(implementation_key(67)) HRESULT _Connection::Cancel ( );
  4616. __declspec(implementation_key(68)) enum PositionEnum Recordset15::GetAbsolutePosition ( );
  4617. __declspec(implementation_key(69)) void Recordset15::PutAbsolutePosition ( enum PositionEnum pl );
  4618. __declspec(implementation_key(70)) void Recordset15::PutRefActiveConnection ( IDispatch * pvar );
  4619. __declspec(implementation_key(71)) void Recordset15::PutActiveConnection ( const _variant_t & pvar );
  4620. __declspec(implementation_key(72)) _variant_t Recordset15::GetActiveConnection ( );
  4621. __declspec(implementation_key(73)) VARIANT_BOOL Recordset15::GetBOF ( );
  4622. __declspec(implementation_key(74)) _variant_t Recordset15::GetBookmark ( );
  4623. __declspec(implementation_key(75)) void Recordset15::PutBookmark ( const _variant_t & pvBookmark );
  4624. __declspec(implementation_key(76)) long Recordset15::GetCacheSize ( );
  4625. __declspec(implementation_key(77)) void Recordset15::PutCacheSize ( long pl );
  4626. __declspec(implementation_key(78)) enum CursorTypeEnum Recordset15::GetCursorType ( );
  4627. __declspec(implementation_key(79)) void Recordset15::PutCursorType ( enum CursorTypeEnum plCursorType );
  4628. __declspec(implementation_key(80)) VARIANT_BOOL Recordset15::GetadoEOF ( );
  4629. __declspec(implementation_key(81)) FieldsPtr Recordset15::GetFields ( );
  4630. __declspec(implementation_key(82)) enum LockTypeEnum Recordset15::GetLockType ( );
  4631. __declspec(implementation_key(83)) void Recordset15::PutLockType ( enum LockTypeEnum plLockType );
  4632. __declspec(implementation_key(84)) long Recordset15::GetMaxRecords ( );
  4633. __declspec(implementation_key(85)) void Recordset15::PutMaxRecords ( long plMaxRecords );
  4634. __declspec(implementation_key(86)) long Recordset15::GetRecordCount ( );
  4635. __declspec(implementation_key(87)) void Recordset15::PutRefSource ( IDispatch * pvSource );
  4636. __declspec(implementation_key(88)) void Recordset15::PutSource ( _bstr_t pvSource );
  4637. __declspec(implementation_key(89)) _variant_t Recordset15::GetSource ( );
  4638. __declspec(implementation_key(90)) HRESULT Recordset15::AddNew ( const _variant_t & FieldList, const _variant_t & Values );
  4639. __declspec(implementation_key(91)) HRESULT Recordset15::CancelUpdate ( );
  4640. __declspec(implementation_key(92)) HRESULT Recordset15::Close ( );
  4641. __declspec(implementation_key(93)) HRESULT Recordset15::Delete ( enum AffectEnum AffectRecords );
  4642. __declspec(implementation_key(94)) _variant_t Recordset15::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields );
  4643. __declspec(implementation_key(95)) HRESULT Recordset15::Move ( long NumRecords, const _variant_t & Start );
  4644. __declspec(implementation_key(96)) HRESULT Recordset15::MoveNext ( );
  4645. __declspec(implementation_key(97)) HRESULT Recordset15::MovePrevious ( );
  4646. __declspec(implementation_key(98)) HRESULT Recordset15::MoveFirst ( );
  4647. __declspec(implementation_key(99)) HRESULT Recordset15::MoveLast ( );
  4648. __declspec(implementation_key(100)) HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options );
  4649. __declspec(implementation_key(101)) HRESULT Recordset15::Requery ( long Options );
  4650. __declspec(implementation_key(102)) HRESULT Recordset15::_xResync ( enum AffectEnum AffectRecords );
  4651. __declspec(implementation_key(103)) HRESULT Recordset15::Update ( const _variant_t & Fields, const _variant_t & Values );
  4652. __declspec(implementation_key(104)) enum PositionEnum Recordset15::GetAbsolutePage ( );
  4653. __declspec(implementation_key(105)) void Recordset15::PutAbsolutePage ( enum PositionEnum pl );
  4654. __declspec(implementation_key(106)) enum EditModeEnum Recordset15::GetEditMode ( );
  4655. __declspec(implementation_key(107)) _variant_t Recordset15::GetFilter ( );
  4656. __declspec(implementation_key(108)) void Recordset15::PutFilter ( const _variant_t & Criteria );
  4657. __declspec(implementation_key(109)) long Recordset15::GetPageCount ( );
  4658. __declspec(implementation_key(110)) long Recordset15::GetPageSize ( );
  4659. __declspec(implementation_key(111)) void Recordset15::PutPageSize ( long pl );
  4660. __declspec(implementation_key(112)) _bstr_t Recordset15::GetSort ( );
  4661. __declspec(implementation_key(113)) void Recordset15::PutSort ( _bstr_t Criteria );
  4662. __declspec(implementation_key(114)) long Recordset15::GetStatus ( );
  4663. __declspec(implementation_key(115)) long Recordset15::GetState ( );
  4664. __declspec(implementation_key(116)) _RecordsetPtr Recordset15::_xClone ( );
  4665. __declspec(implementation_key(117)) HRESULT Recordset15::UpdateBatch ( enum AffectEnum AffectRecords );
  4666. __declspec(implementation_key(118)) HRESULT Recordset15::CancelBatch ( enum AffectEnum AffectRecords );
  4667. __declspec(implementation_key(119)) enum CursorLocationEnum Recordset15::GetCursorLocation ( );
  4668. __declspec(implementation_key(120)) void Recordset15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc );
  4669. __declspec(implementation_key(121)) _RecordsetPtr Recordset15::NextRecordset ( VARIANT * RecordsAffected );
  4670. __declspec(implementation_key(122)) VARIANT_BOOL Recordset15::Supports ( enum CursorOptionEnum CursorOptions );
  4671. __declspec(implementation_key(123)) _variant_t Recordset15::GetCollect ( const _variant_t & Index );
  4672. __declspec(implementation_key(124)) void Recordset15::PutCollect ( const _variant_t & Index, const _variant_t & pvar );
  4673. __declspec(implementation_key(125)) enum MarshalOptionsEnum Recordset15::GetMarshalOptions ( );
  4674. __declspec(implementation_key(126)) void Recordset15::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal );
  4675. __declspec(implementation_key(127)) HRESULT Recordset15::Find ( _bstr_t Criteria, long SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start );
  4676. __declspec(implementation_key(128)) HRESULT Recordset20::Cancel ( );
  4677. __declspec(implementation_key(129)) IUnknownPtr Recordset20::GetDataSource ( );
  4678. __declspec(implementation_key(130)) void Recordset20::PutRefDataSource ( IUnknown * ppunkDataSource );
  4679. __declspec(implementation_key(131)) HRESULT Recordset20::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat );
  4680. __declspec(implementation_key(132)) IDispatchPtr Recordset20::GetActiveCommand ( );
  4681. __declspec(implementation_key(133)) void Recordset20::PutStayInSync ( VARIANT_BOOL pbStayInSync );
  4682. __declspec(implementation_key(134)) VARIANT_BOOL Recordset20::GetStayInSync ( );
  4683. __declspec(implementation_key(135)) _bstr_t Recordset20::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr );
  4684. __declspec(implementation_key(136)) _bstr_t Recordset20::GetDataMember ( );
  4685. __declspec(implementation_key(137)) void Recordset20::PutDataMember ( _bstr_t pbstrDataMember );
  4686. __declspec(implementation_key(138)) enum CompareEnum Recordset20::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 );
  4687. __declspec(implementation_key(139)) _RecordsetPtr Recordset20::Clone ( enum LockTypeEnum LockType );
  4688. __declspec(implementation_key(140)) HRESULT Recordset20::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues );
  4689. __declspec(implementation_key(141)) HRESULT Recordset21::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption );
  4690. __declspec(implementation_key(142)) void Recordset21::PutIndex ( _bstr_t pbstrIndex );
  4691. __declspec(implementation_key(143)) _bstr_t Recordset21::GetIndex ( );
  4692. __declspec(implementation_key(144)) HRESULT _Recordset::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat );
  4693. __declspec(implementation_key(145)) FieldPtr Fields15::GetItem ( const _variant_t & Index );
  4694. __declspec(implementation_key(146)) HRESULT Fields20::_Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib );
  4695. __declspec(implementation_key(147)) HRESULT Fields20::Delete ( const _variant_t & Index );
  4696. __declspec(implementation_key(148)) HRESULT Fields::Append ( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue );
  4697. __declspec(implementation_key(149)) HRESULT Fields::Update ( );
  4698. __declspec(implementation_key(150)) HRESULT Fields::Resync ( enum ResyncEnum ResyncValues );
  4699. __declspec(implementation_key(151)) HRESULT Fields::CancelUpdate ( );
  4700. __declspec(implementation_key(152)) long Field20::GetActualSize ( );
  4701. __declspec(implementation_key(153)) long Field20::GetAttributes ( );
  4702. __declspec(implementation_key(154)) long Field20::GetDefinedSize ( );
  4703. __declspec(implementation_key(155)) _bstr_t Field20::GetName ( );
  4704. __declspec(implementation_key(156)) enum DataTypeEnum Field20::GetType ( );
  4705. __declspec(implementation_key(157)) _variant_t Field20::GetValue ( );
  4706. __declspec(implementation_key(158)) void Field20::PutValue ( const _variant_t & pvar );
  4707. __declspec(implementation_key(159)) unsigned char Field20::GetPrecision ( );
  4708. __declspec(implementation_key(160)) unsigned char Field20::GetNumericScale ( );
  4709. __declspec(implementation_key(161)) HRESULT Field20::AppendChunk ( const _variant_t & Data );
  4710. __declspec(implementation_key(162)) _variant_t Field20::GetChunk ( long Length );
  4711. __declspec(implementation_key(163)) _variant_t Field20::GetOriginalValue ( );
  4712. __declspec(implementation_key(164)) _variant_t Field20::GetUnderlyingValue ( );
  4713. __declspec(implementation_key(165)) IUnknownPtr Field20::GetDataFormat ( );
  4714. __declspec(implementation_key(166)) void Field20::PutRefDataFormat ( IUnknown * ppiDF );
  4715. __declspec(implementation_key(167)) void Field20::PutPrecision ( unsigned char pbPrecision );
  4716. __declspec(implementation_key(168)) void Field20::PutNumericScale ( unsigned char pbNumericScale );
  4717. __declspec(implementation_key(169)) void Field20::PutType ( enum DataTypeEnum pDataType );
  4718. __declspec(implementation_key(170)) void Field20::PutDefinedSize ( long pl );
  4719. __declspec(implementation_key(171)) void Field20::PutAttributes ( long pl );
  4720. __declspec(implementation_key(172)) long Field::GetStatus ( );
  4721. __declspec(implementation_key(173)) _bstr_t _Parameter::GetName ( );
  4722. __declspec(implementation_key(174)) void _Parameter::PutName ( _bstr_t pbstr );
  4723. __declspec(implementation_key(175)) _variant_t _Parameter::GetValue ( );
  4724. __declspec(implementation_key(176)) void _Parameter::PutValue ( const _variant_t & pvar );
  4725. __declspec(implementation_key(177)) enum DataTypeEnum _Parameter::GetType ( );
  4726. __declspec(implementation_key(178)) void _Parameter::PutType ( enum DataTypeEnum psDataType );
  4727. __declspec(implementation_key(179)) void _Parameter::PutDirection ( enum ParameterDirectionEnum plParmDirection );
  4728. __declspec(implementation_key(180)) enum ParameterDirectionEnum _Parameter::GetDirection ( );
  4729. __declspec(implementation_key(181)) void _Parameter::PutPrecision ( unsigned char pbPrecision );
  4730. __declspec(implementation_key(182)) unsigned char _Parameter::GetPrecision ( );
  4731. __declspec(implementation_key(183)) void _Parameter::PutNumericScale ( unsigned char pbScale );
  4732. __declspec(implementation_key(184)) unsigned char _Parameter::GetNumericScale ( );
  4733. __declspec(implementation_key(185)) void _Parameter::PutSize ( long pl );
  4734. __declspec(implementation_key(186)) long _Parameter::GetSize ( );
  4735. __declspec(implementation_key(187)) HRESULT _Parameter::AppendChunk ( const _variant_t & Val );
  4736. __declspec(implementation_key(188)) long _Parameter::GetAttributes ( );
  4737. __declspec(implementation_key(189)) void _Parameter::PutAttributes ( long plParmAttribs );
  4738. __declspec(implementation_key(190)) _ParameterPtr Parameters::GetItem ( const _variant_t & Index );
  4739. __declspec(implementation_key(191)) long Command25::GetState ( );
  4740. __declspec(implementation_key(192)) HRESULT Command25::Cancel ( );
  4741. __declspec(implementation_key(193)) void _Command::PutRefCommandStream ( IUnknown * pvStream );
  4742. __declspec(implementation_key(194)) _variant_t _Command::GetCommandStream ( );
  4743. __declspec(implementation_key(195)) void _Command::PutDialect ( _bstr_t pbstrDialect );
  4744. __declspec(implementation_key(196)) _bstr_t _Command::GetDialect ( );
  4745. __declspec(implementation_key(197)) void _Command::PutNamedParameters ( VARIANT_BOOL pfNamedParameters );
  4746. __declspec(implementation_key(198)) VARIANT_BOOL _Command::GetNamedParameters ( );
  4747. __declspec(implementation_key(199)) HRESULT ConnectionEventsVt::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4748. __declspec(implementation_key(200)) HRESULT ConnectionEventsVt::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4749. __declspec(implementation_key(201)) HRESULT ConnectionEventsVt::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4750. __declspec(implementation_key(202)) HRESULT ConnectionEventsVt::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4751. __declspec(implementation_key(203)) 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 );
  4752. __declspec(implementation_key(204)) HRESULT ConnectionEventsVt::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection );
  4753. __declspec(implementation_key(205)) HRESULT ConnectionEventsVt::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4754. __declspec(implementation_key(206)) HRESULT ConnectionEventsVt::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4755. __declspec(implementation_key(207)) HRESULT ConnectionEventsVt::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4756. __declspec(implementation_key(208)) HRESULT RecordsetEventsVt::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4757. __declspec(implementation_key(209)) HRESULT RecordsetEventsVt::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4758. __declspec(implementation_key(210)) HRESULT RecordsetEventsVt::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4759. __declspec(implementation_key(211)) HRESULT RecordsetEventsVt::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4760. __declspec(implementation_key(212)) HRESULT RecordsetEventsVt::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4761. __declspec(implementation_key(213)) HRESULT RecordsetEventsVt::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4762. __declspec(implementation_key(214)) HRESULT RecordsetEventsVt::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4763. __declspec(implementation_key(215)) HRESULT RecordsetEventsVt::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4764. __declspec(implementation_key(216)) HRESULT RecordsetEventsVt::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4765. __declspec(implementation_key(217)) HRESULT RecordsetEventsVt::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4766. __declspec(implementation_key(218)) HRESULT RecordsetEventsVt::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4767. __declspec(implementation_key(219)) HRESULT ConnectionEvents::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4768. __declspec(implementation_key(220)) HRESULT ConnectionEvents::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4769. __declspec(implementation_key(221)) HRESULT ConnectionEvents::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4770. __declspec(implementation_key(222)) HRESULT ConnectionEvents::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4771. __declspec(implementation_key(223)) 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 );
  4772. __declspec(implementation_key(224)) HRESULT ConnectionEvents::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command * pCommand, struct _Recordset * pRecordset, struct _Connection * pConnection );
  4773. __declspec(implementation_key(225)) HRESULT ConnectionEvents::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4774. __declspec(implementation_key(226)) HRESULT ConnectionEvents::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4775. __declspec(implementation_key(227)) HRESULT ConnectionEvents::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection * pConnection );
  4776. __declspec(implementation_key(228)) HRESULT RecordsetEvents::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4777. __declspec(implementation_key(229)) HRESULT RecordsetEvents::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4778. __declspec(implementation_key(230)) HRESULT RecordsetEvents::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4779. __declspec(implementation_key(231)) HRESULT RecordsetEvents::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4780. __declspec(implementation_key(232)) HRESULT RecordsetEvents::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4781. __declspec(implementation_key(233)) HRESULT RecordsetEvents::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4782. __declspec(implementation_key(234)) HRESULT RecordsetEvents::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4783. __declspec(implementation_key(235)) HRESULT RecordsetEvents::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4784. __declspec(implementation_key(236)) HRESULT RecordsetEvents::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4785. __declspec(implementation_key(237)) HRESULT RecordsetEvents::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4786. __declspec(implementation_key(238)) HRESULT RecordsetEvents::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset * pRecordset );
  4787. __declspec(implementation_key(239)) IUnknownPtr ADOConnectionConstruction15::GetDSO ( );
  4788. __declspec(implementation_key(240)) IUnknownPtr ADOConnectionConstruction15::GetSession ( );
  4789. __declspec(implementation_key(241)) HRESULT ADOConnectionConstruction15::WrapDSOandSession ( IUnknown * pDSO, IUnknown * pSession );
  4790. __declspec(implementation_key(242)) _variant_t _Record::GetActiveConnection ( );
  4791. __declspec(implementation_key(243)) void _Record::PutActiveConnection ( _bstr_t pvar );
  4792. __declspec(implementation_key(244)) void _Record::PutRefActiveConnection ( struct _Connection * pvar );
  4793. __declspec(implementation_key(245)) enum ObjectStateEnum _Record::GetState ( );
  4794. __declspec(implementation_key(246)) _variant_t _Record::GetSource ( );
  4795. __declspec(implementation_key(247)) void _Record::PutSource ( _bstr_t pvar );
  4796. __declspec(implementation_key(248)) void _Record::PutRefSource ( IDispatch * pvar );
  4797. __declspec(implementation_key(249)) enum ConnectModeEnum _Record::GetMode ( );
  4798. __declspec(implementation_key(250)) void _Record::PutMode ( enum ConnectModeEnum pMode );
  4799. __declspec(implementation_key(251)) _bstr_t _Record::GetParentURL ( );
  4800. __declspec(implementation_key(252)) _bstr_t _Record::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async );
  4801. __declspec(implementation_key(253)) _bstr_t _Record::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async );
  4802. __declspec(implementation_key(254)) HRESULT _Record::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async );
  4803. __declspec(implementation_key(255)) 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 );
  4804. __declspec(implementation_key(256)) HRESULT _Record::Close ( );
  4805. __declspec(implementation_key(257)) FieldsPtr _Record::GetFields ( );
  4806. __declspec(implementation_key(258)) enum RecordTypeEnum _Record::GetRecordType ( );
  4807. __declspec(implementation_key(259)) _RecordsetPtr _Record::GetChildren ( );
  4808. __declspec(implementation_key(260)) HRESULT _Record::Cancel ( );
  4809. __declspec(implementation_key(261)) long _Stream::GetSize ( );
  4810. __declspec(implementation_key(262)) VARIANT_BOOL _Stream::GetEOS ( );
  4811. __declspec(implementation_key(263)) long _Stream::GetPosition ( );
  4812. __declspec(implementation_key(264)) void _Stream::PutPosition ( long pPos );
  4813. __declspec(implementation_key(265)) enum StreamTypeEnum _Stream::GetType ( );
  4814. __declspec(implementation_key(266)) void _Stream::PutType ( enum StreamTypeEnum ptype );
  4815. __declspec(implementation_key(267)) enum LineSeparatorEnum _Stream::GetLineSeparator ( );
  4816. __declspec(implementation_key(268)) void _Stream::PutLineSeparator ( enum LineSeparatorEnum pLS );
  4817. __declspec(implementation_key(269)) enum ObjectStateEnum _Stream::GetState ( );
  4818. __declspec(implementation_key(270)) enum ConnectModeEnum _Stream::GetMode ( );
  4819. __declspec(implementation_key(271)) void _Stream::PutMode ( enum ConnectModeEnum pMode );
  4820. __declspec(implementation_key(272)) _bstr_t _Stream::GetCharset ( );
  4821. __declspec(implementation_key(273)) void _Stream::PutCharset ( _bstr_t pbstrCharset );
  4822. __declspec(implementation_key(274)) _variant_t _Stream::Read ( long NumBytes );
  4823. __declspec(implementation_key(275)) HRESULT _Stream::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password );
  4824. __declspec(implementation_key(276)) HRESULT _Stream::Close ( );
  4825. __declspec(implementation_key(277)) HRESULT _Stream::SkipLine ( );
  4826. __declspec(implementation_key(278)) HRESULT _Stream::Write ( const _variant_t & Buffer );
  4827. __declspec(implementation_key(279)) HRESULT _Stream::SetEOS ( );
  4828. __declspec(implementation_key(280)) HRESULT _Stream::CopyTo ( struct _Stream * DestStream, long CharNumber );
  4829. __declspec(implementation_key(281)) HRESULT _Stream::Flush ( );
  4830. __declspec(implementation_key(282)) HRESULT _Stream::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options );
  4831. __declspec(implementation_key(283)) HRESULT _Stream::LoadFromFile ( _bstr_t FileName );
  4832. __declspec(implementation_key(284)) _bstr_t _Stream::ReadText ( long NumChars );
  4833. __declspec(implementation_key(285)) HRESULT _Stream::WriteText ( _bstr_t Data, enum StreamWriteEnum Options );
  4834. __declspec(implementation_key(286)) HRESULT _Stream::Cancel ( );
  4835. __declspec(implementation_key(287)) IUnknownPtr ADORecordConstruction::GetRow ( );
  4836. __declspec(implementation_key(288)) void ADORecordConstruction::PutRow ( IUnknown * ppRow );
  4837. __declspec(implementation_key(289)) void ADORecordConstruction::PutParentRow ( IUnknown * _arg1 );
  4838. __declspec(implementation_key(290)) IUnknownPtr ADOStreamConstruction::GetStream ( );
  4839. __declspec(implementation_key(291)) void ADOStreamConstruction::PutStream ( IUnknown * ppStm );
  4840. __declspec(implementation_key(292)) IUnknownPtr ADOCommandConstruction::GetOLEDBCommand ( );
  4841. __declspec(implementation_key(293)) void ADOCommandConstruction::PutOLEDBCommand ( IUnknown * ppOLEDBCommand );
  4842. __declspec(implementation_key(294)) IUnknownPtr ADORecordsetConstruction::GetRowset ( );
  4843. __declspec(implementation_key(295)) void ADORecordsetConstruction::PutRowset ( IUnknown * ppRowset );
  4844. __declspec(implementation_key(296)) ADO_LONGPTR ADORecordsetConstruction::GetChapter ( );
  4845. __declspec(implementation_key(297)) void ADORecordsetConstruction::PutChapter ( ADO_LONGPTR plChapter );
  4846. __declspec(implementation_key(298)) IUnknownPtr ADORecordsetConstruction::GetRowPosition ( );
  4847. __declspec(implementation_key(299)) void ADORecordsetConstruction::PutRowPosition ( IUnknown * ppRowPos );
  4848. __declspec(implementation_key(300)) long Field15::GetActualSize ( );
  4849. __declspec(implementation_key(301)) long Field15::GetAttributes ( );
  4850. __declspec(implementation_key(302)) long Field15::GetDefinedSize ( );
  4851. __declspec(implementation_key(303)) _bstr_t Field15::GetName ( );
  4852. __declspec(implementation_key(304)) enum DataTypeEnum Field15::GetType ( );
  4853. __declspec(implementation_key(305)) _variant_t Field15::GetValue ( );
  4854. __declspec(implementation_key(306)) void Field15::PutValue ( const _variant_t & pvar );
  4855. __declspec(implementation_key(307)) unsigned char Field15::GetPrecision ( );
  4856. __declspec(implementation_key(308)) unsigned char Field15::GetNumericScale ( );
  4857. __declspec(implementation_key(309)) HRESULT Field15::AppendChunk ( const _variant_t & Data );
  4858. __declspec(implementation_key(310)) _variant_t Field15::GetChunk ( long Length );
  4859. __declspec(implementation_key(311)) _variant_t Field15::GetOriginalValue ( );
  4860. __declspec(implementation_key(312)) _variant_t Field15::GetUnderlyingValue ( );
  4861. __declspec(implementation_key(313)) HRESULT ConnectionEventsVt_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4862. __declspec(implementation_key(314)) HRESULT ConnectionEventsVt_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4863. __declspec(implementation_key(315)) HRESULT ConnectionEventsVt_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4864. __declspec(implementation_key(316)) HRESULT ConnectionEventsVt_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4865. __declspec(implementation_key(317)) 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 );
  4866. __declspec(implementation_key(318)) HRESULT ConnectionEventsVt_Deprecated::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection );
  4867. __declspec(implementation_key(319)) HRESULT ConnectionEventsVt_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4868. __declspec(implementation_key(320)) HRESULT ConnectionEventsVt_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4869. __declspec(implementation_key(321)) HRESULT ConnectionEventsVt_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  4870. __declspec(implementation_key(322)) _bstr_t Connection15_Deprecated::GetConnectionString ( );
  4871. __declspec(implementation_key(323)) void Connection15_Deprecated::PutConnectionString ( _bstr_t pbstr );
  4872. __declspec(implementation_key(324)) long Connection15_Deprecated::GetCommandTimeout ( );
  4873. __declspec(implementation_key(325)) void Connection15_Deprecated::PutCommandTimeout ( long plTimeout );
  4874. __declspec(implementation_key(326)) long Connection15_Deprecated::GetConnectionTimeout ( );
  4875. __declspec(implementation_key(327)) void Connection15_Deprecated::PutConnectionTimeout ( long plTimeout );
  4876. __declspec(implementation_key(328)) _bstr_t Connection15_Deprecated::GetVersion ( );
  4877. __declspec(implementation_key(329)) HRESULT Connection15_Deprecated::Close ( );
  4878. __declspec(implementation_key(330)) _Recordset_DeprecatedPtr Connection15_Deprecated::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options );
  4879. __declspec(implementation_key(331)) long Connection15_Deprecated::BeginTrans ( );
  4880. __declspec(implementation_key(332)) HRESULT Connection15_Deprecated::CommitTrans ( );
  4881. __declspec(implementation_key(333)) HRESULT Connection15_Deprecated::RollbackTrans ( );
  4882. __declspec(implementation_key(334)) HRESULT Connection15_Deprecated::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options );
  4883. __declspec(implementation_key(335)) ErrorsPtr Connection15_Deprecated::GetErrors ( );
  4884. __declspec(implementation_key(336)) _bstr_t Connection15_Deprecated::GetDefaultDatabase ( );
  4885. __declspec(implementation_key(337)) void Connection15_Deprecated::PutDefaultDatabase ( _bstr_t pbstr );
  4886. __declspec(implementation_key(338)) enum IsolationLevelEnum Connection15_Deprecated::GetIsolationLevel ( );
  4887. __declspec(implementation_key(339)) void Connection15_Deprecated::PutIsolationLevel ( enum IsolationLevelEnum Level );
  4888. __declspec(implementation_key(340)) long Connection15_Deprecated::GetAttributes ( );
  4889. __declspec(implementation_key(341)) void Connection15_Deprecated::PutAttributes ( long plAttr );
  4890. __declspec(implementation_key(342)) enum CursorLocationEnum Connection15_Deprecated::GetCursorLocation ( );
  4891. __declspec(implementation_key(343)) void Connection15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc );
  4892. __declspec(implementation_key(344)) enum ConnectModeEnum Connection15_Deprecated::GetMode ( );
  4893. __declspec(implementation_key(345)) void Connection15_Deprecated::PutMode ( enum ConnectModeEnum plMode );
  4894. __declspec(implementation_key(346)) _bstr_t Connection15_Deprecated::GetProvider ( );
  4895. __declspec(implementation_key(347)) void Connection15_Deprecated::PutProvider ( _bstr_t pbstr );
  4896. __declspec(implementation_key(348)) long Connection15_Deprecated::GetState ( );
  4897. __declspec(implementation_key(349)) _Recordset_DeprecatedPtr Connection15_Deprecated::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID );
  4898. __declspec(implementation_key(350)) HRESULT _Connection_Deprecated::Cancel ( );
  4899. __declspec(implementation_key(351)) PositionEnum_Param Recordset15_Deprecated::GetAbsolutePosition ( );
  4900. __declspec(implementation_key(352)) void Recordset15_Deprecated::PutAbsolutePosition ( PositionEnum_Param pl );
  4901. __declspec(implementation_key(353)) void Recordset15_Deprecated::PutRefActiveConnection ( IDispatch * pvar );
  4902. __declspec(implementation_key(354)) void Recordset15_Deprecated::PutActiveConnection ( const _variant_t & pvar );
  4903. __declspec(implementation_key(355)) _variant_t Recordset15_Deprecated::GetActiveConnection ( );
  4904. __declspec(implementation_key(356)) VARIANT_BOOL Recordset15_Deprecated::GetBOF ( );
  4905. __declspec(implementation_key(357)) _variant_t Recordset15_Deprecated::GetBookmark ( );
  4906. __declspec(implementation_key(358)) void Recordset15_Deprecated::PutBookmark ( const _variant_t & pvBookmark );
  4907. __declspec(implementation_key(359)) long Recordset15_Deprecated::GetCacheSize ( );
  4908. __declspec(implementation_key(360)) void Recordset15_Deprecated::PutCacheSize ( long pl );
  4909. __declspec(implementation_key(361)) enum CursorTypeEnum Recordset15_Deprecated::GetCursorType ( );
  4910. __declspec(implementation_key(362)) void Recordset15_Deprecated::PutCursorType ( enum CursorTypeEnum plCursorType );
  4911. __declspec(implementation_key(363)) VARIANT_BOOL Recordset15_Deprecated::GetadoEOF ( );
  4912. __declspec(implementation_key(364)) Fields_DeprecatedPtr Recordset15_Deprecated::GetFields ( );
  4913. __declspec(implementation_key(365)) enum LockTypeEnum Recordset15_Deprecated::GetLockType ( );
  4914. __declspec(implementation_key(366)) void Recordset15_Deprecated::PutLockType ( enum LockTypeEnum plLockType );
  4915. __declspec(implementation_key(367)) ADO_LONGPTR Recordset15_Deprecated::GetMaxRecords ( );
  4916. __declspec(implementation_key(368)) void Recordset15_Deprecated::PutMaxRecords ( ADO_LONGPTR plMaxRecords );
  4917. __declspec(implementation_key(369)) ADO_LONGPTR Recordset15_Deprecated::GetRecordCount ( );
  4918. __declspec(implementation_key(370)) void Recordset15_Deprecated::PutRefSource ( IDispatch * pvSource );
  4919. __declspec(implementation_key(371)) void Recordset15_Deprecated::PutSource ( _bstr_t pvSource );
  4920. __declspec(implementation_key(372)) _variant_t Recordset15_Deprecated::GetSource ( );
  4921. __declspec(implementation_key(373)) HRESULT Recordset15_Deprecated::AddNew ( const _variant_t & FieldList, const _variant_t & Values );
  4922. __declspec(implementation_key(374)) HRESULT Recordset15_Deprecated::CancelUpdate ( );
  4923. __declspec(implementation_key(375)) HRESULT Recordset15_Deprecated::Close ( );
  4924. __declspec(implementation_key(376)) HRESULT Recordset15_Deprecated::Delete ( enum AffectEnum AffectRecords );
  4925. __declspec(implementation_key(377)) _variant_t Recordset15_Deprecated::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields );
  4926. __declspec(implementation_key(378)) HRESULT Recordset15_Deprecated::Move ( ADO_LONGPTR NumRecords, const _variant_t & Start );
  4927. __declspec(implementation_key(379)) HRESULT Recordset15_Deprecated::MoveNext ( );
  4928. __declspec(implementation_key(380)) HRESULT Recordset15_Deprecated::MovePrevious ( );
  4929. __declspec(implementation_key(381)) HRESULT Recordset15_Deprecated::MoveFirst ( );
  4930. __declspec(implementation_key(382)) HRESULT Recordset15_Deprecated::MoveLast ( );
  4931. __declspec(implementation_key(383)) HRESULT Recordset15_Deprecated::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options );
  4932. __declspec(implementation_key(384)) HRESULT Recordset15_Deprecated::Requery ( long Options );
  4933. __declspec(implementation_key(385)) HRESULT Recordset15_Deprecated::_xResync ( enum AffectEnum AffectRecords );
  4934. __declspec(implementation_key(386)) HRESULT Recordset15_Deprecated::Update ( const _variant_t & Fields, const _variant_t & Values );
  4935. __declspec(implementation_key(387)) PositionEnum_Param Recordset15_Deprecated::GetAbsolutePage ( );
  4936. __declspec(implementation_key(388)) void Recordset15_Deprecated::PutAbsolutePage ( PositionEnum_Param pl );
  4937. __declspec(implementation_key(389)) enum EditModeEnum Recordset15_Deprecated::GetEditMode ( );
  4938. __declspec(implementation_key(390)) _variant_t Recordset15_Deprecated::GetFilter ( );
  4939. __declspec(implementation_key(391)) void Recordset15_Deprecated::PutFilter ( const _variant_t & Criteria );
  4940. __declspec(implementation_key(392)) ADO_LONGPTR Recordset15_Deprecated::GetPageCount ( );
  4941. __declspec(implementation_key(393)) long Recordset15_Deprecated::GetPageSize ( );
  4942. __declspec(implementation_key(394)) void Recordset15_Deprecated::PutPageSize ( long pl );
  4943. __declspec(implementation_key(395)) _bstr_t Recordset15_Deprecated::GetSort ( );
  4944. __declspec(implementation_key(396)) void Recordset15_Deprecated::PutSort ( _bstr_t Criteria );
  4945. __declspec(implementation_key(397)) long Recordset15_Deprecated::GetStatus ( );
  4946. __declspec(implementation_key(398)) long Recordset15_Deprecated::GetState ( );
  4947. __declspec(implementation_key(399)) _Recordset_DeprecatedPtr Recordset15_Deprecated::_xClone ( );
  4948. __declspec(implementation_key(400)) HRESULT Recordset15_Deprecated::UpdateBatch ( enum AffectEnum AffectRecords );
  4949. __declspec(implementation_key(401)) HRESULT Recordset15_Deprecated::CancelBatch ( enum AffectEnum AffectRecords );
  4950. __declspec(implementation_key(402)) enum CursorLocationEnum Recordset15_Deprecated::GetCursorLocation ( );
  4951. __declspec(implementation_key(403)) void Recordset15_Deprecated::PutCursorLocation ( enum CursorLocationEnum plCursorLoc );
  4952. __declspec(implementation_key(404)) _Recordset_DeprecatedPtr Recordset15_Deprecated::NextRecordset ( VARIANT * RecordsAffected );
  4953. __declspec(implementation_key(405)) VARIANT_BOOL Recordset15_Deprecated::Supports ( enum CursorOptionEnum CursorOptions );
  4954. __declspec(implementation_key(406)) _variant_t Recordset15_Deprecated::GetCollect ( const _variant_t & Index );
  4955. __declspec(implementation_key(407)) void Recordset15_Deprecated::PutCollect ( const _variant_t & Index, const _variant_t & pvar );
  4956. __declspec(implementation_key(408)) enum MarshalOptionsEnum Recordset15_Deprecated::GetMarshalOptions ( );
  4957. __declspec(implementation_key(409)) void Recordset15_Deprecated::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal );
  4958. __declspec(implementation_key(410)) HRESULT Recordset15_Deprecated::Find ( _bstr_t Criteria, ADO_LONGPTR SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start );
  4959. __declspec(implementation_key(411)) HRESULT Recordset20_Deprecated::Cancel ( );
  4960. __declspec(implementation_key(412)) IUnknownPtr Recordset20_Deprecated::GetDataSource ( );
  4961. __declspec(implementation_key(413)) void Recordset20_Deprecated::PutRefDataSource ( IUnknown * ppunkDataSource );
  4962. __declspec(implementation_key(414)) HRESULT Recordset20_Deprecated::_xSave ( _bstr_t FileName, enum PersistFormatEnum PersistFormat );
  4963. __declspec(implementation_key(415)) IDispatchPtr Recordset20_Deprecated::GetActiveCommand ( );
  4964. __declspec(implementation_key(416)) void Recordset20_Deprecated::PutStayInSync ( VARIANT_BOOL pbStayInSync );
  4965. __declspec(implementation_key(417)) VARIANT_BOOL Recordset20_Deprecated::GetStayInSync ( );
  4966. __declspec(implementation_key(418)) _bstr_t Recordset20_Deprecated::GetString ( enum StringFormatEnum StringFormat, long NumRows, _bstr_t ColumnDelimeter, _bstr_t RowDelimeter, _bstr_t NullExpr );
  4967. __declspec(implementation_key(419)) _bstr_t Recordset20_Deprecated::GetDataMember ( );
  4968. __declspec(implementation_key(420)) void Recordset20_Deprecated::PutDataMember ( _bstr_t pbstrDataMember );
  4969. __declspec(implementation_key(421)) enum CompareEnum Recordset20_Deprecated::CompareBookmarks ( const _variant_t & Bookmark1, const _variant_t & Bookmark2 );
  4970. __declspec(implementation_key(422)) _Recordset_DeprecatedPtr Recordset20_Deprecated::Clone ( enum LockTypeEnum LockType );
  4971. __declspec(implementation_key(423)) HRESULT Recordset20_Deprecated::Resync ( enum AffectEnum AffectRecords, enum ResyncEnum ResyncValues );
  4972. __declspec(implementation_key(424)) HRESULT Recordset21_Deprecated::Seek ( const _variant_t & KeyValues, enum SeekEnum SeekOption );
  4973. __declspec(implementation_key(425)) void Recordset21_Deprecated::PutIndex ( _bstr_t pbstrIndex );
  4974. __declspec(implementation_key(426)) _bstr_t Recordset21_Deprecated::GetIndex ( );
  4975. __declspec(implementation_key(427)) HRESULT _Recordset_Deprecated::Save ( const _variant_t & Destination, enum PersistFormatEnum PersistFormat );
  4976. __declspec(implementation_key(428)) Field_DeprecatedPtr Fields15_Deprecated::GetItem ( const _variant_t & Index );
  4977. __declspec(implementation_key(429)) HRESULT Fields20_Deprecated::_Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib );
  4978. __declspec(implementation_key(430)) HRESULT Fields20_Deprecated::Delete ( const _variant_t & Index );
  4979. __declspec(implementation_key(431)) HRESULT Fields_Deprecated::Append ( _bstr_t Name, enum DataTypeEnum Type, ADO_LONGPTR DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue );
  4980. __declspec(implementation_key(432)) HRESULT Fields_Deprecated::Update ( );
  4981. __declspec(implementation_key(433)) HRESULT Fields_Deprecated::Resync ( enum ResyncEnum ResyncValues );
  4982. __declspec(implementation_key(434)) HRESULT Fields_Deprecated::CancelUpdate ( );
  4983. __declspec(implementation_key(435)) ADO_LONGPTR Field20_Deprecated::GetActualSize ( );
  4984. __declspec(implementation_key(436)) long Field20_Deprecated::GetAttributes ( );
  4985. __declspec(implementation_key(437)) ADO_LONGPTR Field20_Deprecated::GetDefinedSize ( );
  4986. __declspec(implementation_key(438)) _bstr_t Field20_Deprecated::GetName ( );
  4987. __declspec(implementation_key(439)) enum DataTypeEnum Field20_Deprecated::GetType ( );
  4988. __declspec(implementation_key(440)) _variant_t Field20_Deprecated::GetValue ( );
  4989. __declspec(implementation_key(441)) void Field20_Deprecated::PutValue ( const _variant_t & pvar );
  4990. __declspec(implementation_key(442)) unsigned char Field20_Deprecated::GetPrecision ( );
  4991. __declspec(implementation_key(443)) unsigned char Field20_Deprecated::GetNumericScale ( );
  4992. __declspec(implementation_key(444)) HRESULT Field20_Deprecated::AppendChunk ( const _variant_t & Data );
  4993. __declspec(implementation_key(445)) _variant_t Field20_Deprecated::GetChunk ( long Length );
  4994. __declspec(implementation_key(446)) _variant_t Field20_Deprecated::GetOriginalValue ( );
  4995. __declspec(implementation_key(447)) _variant_t Field20_Deprecated::GetUnderlyingValue ( );
  4996. __declspec(implementation_key(448)) IUnknownPtr Field20_Deprecated::GetDataFormat ( );
  4997. __declspec(implementation_key(449)) void Field20_Deprecated::PutRefDataFormat ( IUnknown * ppiDF );
  4998. __declspec(implementation_key(450)) void Field20_Deprecated::PutPrecision ( unsigned char pbPrecision );
  4999. __declspec(implementation_key(451)) void Field20_Deprecated::PutNumericScale ( unsigned char pbNumericScale );
  5000. __declspec(implementation_key(452)) void Field20_Deprecated::PutType ( enum DataTypeEnum pDataType );
  5001. __declspec(implementation_key(453)) void Field20_Deprecated::PutDefinedSize ( ADO_LONGPTR pl );
  5002. __declspec(implementation_key(454)) void Field20_Deprecated::PutAttributes ( long pl );
  5003. __declspec(implementation_key(455)) long Field_Deprecated::GetStatus ( );
  5004. __declspec(implementation_key(456)) _Connection_DeprecatedPtr Command15_Deprecated::GetActiveConnection ( );
  5005. __declspec(implementation_key(457)) void Command15_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * ppvObject );
  5006. __declspec(implementation_key(458)) void Command15_Deprecated::PutActiveConnection ( const _variant_t & ppvObject );
  5007. __declspec(implementation_key(459)) _bstr_t Command15_Deprecated::GetCommandText ( );
  5008. __declspec(implementation_key(460)) void Command15_Deprecated::PutCommandText ( _bstr_t pbstr );
  5009. __declspec(implementation_key(461)) long Command15_Deprecated::GetCommandTimeout ( );
  5010. __declspec(implementation_key(462)) void Command15_Deprecated::PutCommandTimeout ( long pl );
  5011. __declspec(implementation_key(463)) VARIANT_BOOL Command15_Deprecated::GetPrepared ( );
  5012. __declspec(implementation_key(464)) void Command15_Deprecated::PutPrepared ( VARIANT_BOOL pfPrepared );
  5013. __declspec(implementation_key(465)) _Recordset_DeprecatedPtr Command15_Deprecated::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options );
  5014. __declspec(implementation_key(466)) _Parameter_DeprecatedPtr Command15_Deprecated::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, ADO_LONGPTR Size, const _variant_t & Value );
  5015. __declspec(implementation_key(467)) Parameters_DeprecatedPtr Command15_Deprecated::GetParameters ( );
  5016. __declspec(implementation_key(468)) void Command15_Deprecated::PutCommandType ( enum CommandTypeEnum plCmdType );
  5017. __declspec(implementation_key(469)) enum CommandTypeEnum Command15_Deprecated::GetCommandType ( );
  5018. __declspec(implementation_key(470)) _bstr_t Command15_Deprecated::GetName ( );
  5019. __declspec(implementation_key(471)) void Command15_Deprecated::PutName ( _bstr_t pbstrName );
  5020. __declspec(implementation_key(472)) long Command25_Deprecated::GetState ( );
  5021. __declspec(implementation_key(473)) HRESULT Command25_Deprecated::Cancel ( );
  5022. __declspec(implementation_key(474)) void _Command_Deprecated::PutRefCommandStream ( IUnknown * pvStream );
  5023. __declspec(implementation_key(475)) _variant_t _Command_Deprecated::GetCommandStream ( );
  5024. __declspec(implementation_key(476)) void _Command_Deprecated::PutDialect ( _bstr_t pbstrDialect );
  5025. __declspec(implementation_key(477)) _bstr_t _Command_Deprecated::GetDialect ( );
  5026. __declspec(implementation_key(478)) void _Command_Deprecated::PutNamedParameters ( VARIANT_BOOL pfNamedParameters );
  5027. __declspec(implementation_key(479)) VARIANT_BOOL _Command_Deprecated::GetNamedParameters ( );
  5028. __declspec(implementation_key(480)) _bstr_t _Parameter_Deprecated::GetName ( );
  5029. __declspec(implementation_key(481)) void _Parameter_Deprecated::PutName ( _bstr_t pbstr );
  5030. __declspec(implementation_key(482)) _variant_t _Parameter_Deprecated::GetValue ( );
  5031. __declspec(implementation_key(483)) void _Parameter_Deprecated::PutValue ( const _variant_t & pvar );
  5032. __declspec(implementation_key(484)) enum DataTypeEnum _Parameter_Deprecated::GetType ( );
  5033. __declspec(implementation_key(485)) void _Parameter_Deprecated::PutType ( enum DataTypeEnum psDataType );
  5034. __declspec(implementation_key(486)) void _Parameter_Deprecated::PutDirection ( enum ParameterDirectionEnum plParmDirection );
  5035. __declspec(implementation_key(487)) enum ParameterDirectionEnum _Parameter_Deprecated::GetDirection ( );
  5036. __declspec(implementation_key(488)) void _Parameter_Deprecated::PutPrecision ( unsigned char pbPrecision );
  5037. __declspec(implementation_key(489)) unsigned char _Parameter_Deprecated::GetPrecision ( );
  5038. __declspec(implementation_key(490)) void _Parameter_Deprecated::PutNumericScale ( unsigned char pbScale );
  5039. __declspec(implementation_key(491)) unsigned char _Parameter_Deprecated::GetNumericScale ( );
  5040. __declspec(implementation_key(492)) void _Parameter_Deprecated::PutSize ( ADO_LONGPTR pl );
  5041. __declspec(implementation_key(493)) ADO_LONGPTR _Parameter_Deprecated::GetSize ( );
  5042. __declspec(implementation_key(494)) HRESULT _Parameter_Deprecated::AppendChunk ( const _variant_t & Val );
  5043. __declspec(implementation_key(495)) long _Parameter_Deprecated::GetAttributes ( );
  5044. __declspec(implementation_key(496)) void _Parameter_Deprecated::PutAttributes ( long plParmAttribs );
  5045. __declspec(implementation_key(497)) _Parameter_DeprecatedPtr Parameters_Deprecated::GetItem ( const _variant_t & Index );
  5046. __declspec(implementation_key(498)) HRESULT RecordsetEventsVt_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5047. __declspec(implementation_key(499)) HRESULT RecordsetEventsVt_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5048. __declspec(implementation_key(500)) HRESULT RecordsetEventsVt_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5049. __declspec(implementation_key(501)) HRESULT RecordsetEventsVt_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5050. __declspec(implementation_key(502)) HRESULT RecordsetEventsVt_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5051. __declspec(implementation_key(503)) HRESULT RecordsetEventsVt_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5052. __declspec(implementation_key(504)) HRESULT RecordsetEventsVt_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5053. __declspec(implementation_key(505)) HRESULT RecordsetEventsVt_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5054. __declspec(implementation_key(506)) HRESULT RecordsetEventsVt_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5055. __declspec(implementation_key(507)) HRESULT RecordsetEventsVt_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5056. __declspec(implementation_key(508)) HRESULT RecordsetEventsVt_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5057. __declspec(implementation_key(509)) HRESULT ConnectionEvents_Deprecated::InfoMessage ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5058. __declspec(implementation_key(510)) HRESULT ConnectionEvents_Deprecated::BeginTransComplete ( long TransactionLevel, struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5059. __declspec(implementation_key(511)) HRESULT ConnectionEvents_Deprecated::CommitTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5060. __declspec(implementation_key(512)) HRESULT ConnectionEvents_Deprecated::RollbackTransComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5061. __declspec(implementation_key(513)) 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 );
  5062. __declspec(implementation_key(514)) HRESULT ConnectionEvents_Deprecated::ExecuteComplete ( long RecordsAffected, struct Error * pError, enum EventStatusEnum * adStatus, struct _Command_Deprecated * pCommand, struct _Recordset_Deprecated * pRecordset, struct _Connection_Deprecated * pConnection );
  5063. __declspec(implementation_key(515)) HRESULT ConnectionEvents_Deprecated::WillConnect ( BSTR * ConnectionString, BSTR * UserID, BSTR * Password, long * Options, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5064. __declspec(implementation_key(516)) HRESULT ConnectionEvents_Deprecated::ConnectComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5065. __declspec(implementation_key(517)) HRESULT ConnectionEvents_Deprecated::Disconnect ( enum EventStatusEnum * adStatus, struct _Connection_Deprecated * pConnection );
  5066. __declspec(implementation_key(518)) HRESULT RecordsetEvents_Deprecated::WillChangeField ( long cFields, const _variant_t & Fields, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5067. __declspec(implementation_key(519)) HRESULT RecordsetEvents_Deprecated::FieldChangeComplete ( long cFields, const _variant_t & Fields, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5068. __declspec(implementation_key(520)) HRESULT RecordsetEvents_Deprecated::WillChangeRecord ( enum EventReasonEnum adReason, long cRecords, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5069. __declspec(implementation_key(521)) HRESULT RecordsetEvents_Deprecated::RecordChangeComplete ( enum EventReasonEnum adReason, long cRecords, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5070. __declspec(implementation_key(522)) HRESULT RecordsetEvents_Deprecated::WillChangeRecordset ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5071. __declspec(implementation_key(523)) HRESULT RecordsetEvents_Deprecated::RecordsetChangeComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5072. __declspec(implementation_key(524)) HRESULT RecordsetEvents_Deprecated::WillMove ( enum EventReasonEnum adReason, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5073. __declspec(implementation_key(525)) HRESULT RecordsetEvents_Deprecated::MoveComplete ( enum EventReasonEnum adReason, struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5074. __declspec(implementation_key(526)) HRESULT RecordsetEvents_Deprecated::EndOfRecordset ( VARIANT_BOOL * fMoreData, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5075. __declspec(implementation_key(527)) HRESULT RecordsetEvents_Deprecated::FetchProgress ( long Progress, long MaxProgress, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5076. __declspec(implementation_key(528)) HRESULT RecordsetEvents_Deprecated::FetchComplete ( struct Error * pError, enum EventStatusEnum * adStatus, struct _Recordset_Deprecated * pRecordset );
  5077. __declspec(implementation_key(529)) _variant_t _Record_Deprecated::GetActiveConnection ( );
  5078. __declspec(implementation_key(530)) void _Record_Deprecated::PutActiveConnection ( _bstr_t pvar );
  5079. __declspec(implementation_key(531)) void _Record_Deprecated::PutRefActiveConnection ( struct _Connection_Deprecated * pvar );
  5080. __declspec(implementation_key(532)) enum ObjectStateEnum _Record_Deprecated::GetState ( );
  5081. __declspec(implementation_key(533)) _variant_t _Record_Deprecated::GetSource ( );
  5082. __declspec(implementation_key(534)) void _Record_Deprecated::PutSource ( _bstr_t pvar );
  5083. __declspec(implementation_key(535)) void _Record_Deprecated::PutRefSource ( IDispatch * pvar );
  5084. __declspec(implementation_key(536)) enum ConnectModeEnum _Record_Deprecated::GetMode ( );
  5085. __declspec(implementation_key(537)) void _Record_Deprecated::PutMode ( enum ConnectModeEnum pMode );
  5086. __declspec(implementation_key(538)) _bstr_t _Record_Deprecated::GetParentURL ( );
  5087. __declspec(implementation_key(539)) _bstr_t _Record_Deprecated::MoveRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum Options, VARIANT_BOOL Async );
  5088. __declspec(implementation_key(540)) _bstr_t _Record_Deprecated::CopyRecord ( _bstr_t Source, _bstr_t Destination, _bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum Options, VARIANT_BOOL Async );
  5089. __declspec(implementation_key(541)) HRESULT _Record_Deprecated::DeleteRecord ( _bstr_t Source, VARIANT_BOOL Async );
  5090. __declspec(implementation_key(542)) 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 );
  5091. __declspec(implementation_key(543)) HRESULT _Record_Deprecated::Close ( );
  5092. __declspec(implementation_key(544)) Fields_DeprecatedPtr _Record_Deprecated::GetFields ( );
  5093. __declspec(implementation_key(545)) enum RecordTypeEnum _Record_Deprecated::GetRecordType ( );
  5094. __declspec(implementation_key(546)) _Recordset_DeprecatedPtr _Record_Deprecated::GetChildren ( );
  5095. __declspec(implementation_key(547)) HRESULT _Record_Deprecated::Cancel ( );
  5096. __declspec(implementation_key(548)) ADO_LONGPTR _Stream_Deprecated::GetSize ( );
  5097. __declspec(implementation_key(549)) VARIANT_BOOL _Stream_Deprecated::GetEOS ( );
  5098. __declspec(implementation_key(550)) ADO_LONGPTR _Stream_Deprecated::GetPosition ( );
  5099. __declspec(implementation_key(551)) void _Stream_Deprecated::PutPosition ( ADO_LONGPTR pPos );
  5100. __declspec(implementation_key(552)) enum StreamTypeEnum _Stream_Deprecated::GetType ( );
  5101. __declspec(implementation_key(553)) void _Stream_Deprecated::PutType ( enum StreamTypeEnum ptype );
  5102. __declspec(implementation_key(554)) enum LineSeparatorEnum _Stream_Deprecated::GetLineSeparator ( );
  5103. __declspec(implementation_key(555)) void _Stream_Deprecated::PutLineSeparator ( enum LineSeparatorEnum pLS );
  5104. __declspec(implementation_key(556)) enum ObjectStateEnum _Stream_Deprecated::GetState ( );
  5105. __declspec(implementation_key(557)) enum ConnectModeEnum _Stream_Deprecated::GetMode ( );
  5106. __declspec(implementation_key(558)) void _Stream_Deprecated::PutMode ( enum ConnectModeEnum pMode );
  5107. __declspec(implementation_key(559)) _bstr_t _Stream_Deprecated::GetCharset ( );
  5108. __declspec(implementation_key(560)) void _Stream_Deprecated::PutCharset ( _bstr_t pbstrCharset );
  5109. __declspec(implementation_key(561)) _variant_t _Stream_Deprecated::Read ( long NumBytes );
  5110. __declspec(implementation_key(562)) HRESULT _Stream_Deprecated::Open ( const _variant_t & Source, enum ConnectModeEnum Mode, enum StreamOpenOptionsEnum Options, _bstr_t UserName, _bstr_t Password );
  5111. __declspec(implementation_key(563)) HRESULT _Stream_Deprecated::Close ( );
  5112. __declspec(implementation_key(564)) HRESULT _Stream_Deprecated::SkipLine ( );
  5113. __declspec(implementation_key(565)) HRESULT _Stream_Deprecated::Write ( const _variant_t & Buffer );
  5114. __declspec(implementation_key(566)) HRESULT _Stream_Deprecated::SetEOS ( );
  5115. __declspec(implementation_key(567)) HRESULT _Stream_Deprecated::CopyTo ( struct _Stream_Deprecated * DestStream, ADO_LONGPTR CharNumber );
  5116. __declspec(implementation_key(568)) HRESULT _Stream_Deprecated::Flush ( );
  5117. __declspec(implementation_key(569)) HRESULT _Stream_Deprecated::SaveToFile ( _bstr_t FileName, enum SaveOptionsEnum Options );
  5118. __declspec(implementation_key(570)) HRESULT _Stream_Deprecated::LoadFromFile ( _bstr_t FileName );
  5119. __declspec(implementation_key(571)) _bstr_t _Stream_Deprecated::ReadText ( long NumChars );
  5120. __declspec(implementation_key(572)) HRESULT _Stream_Deprecated::WriteText ( _bstr_t Data, enum StreamWriteEnum Options );
  5121. __declspec(implementation_key(573)) HRESULT _Stream_Deprecated::Cancel ( );
  5122. __declspec(implementation_key(574)) ADO_LONGPTR Field15_Deprecated::GetActualSize ( );
  5123. __declspec(implementation_key(575)) long Field15_Deprecated::GetAttributes ( );
  5124. __declspec(implementation_key(576)) ADO_LONGPTR Field15_Deprecated::GetDefinedSize ( );
  5125. __declspec(implementation_key(577)) _bstr_t Field15_Deprecated::GetName ( );
  5126. __declspec(implementation_key(578)) enum DataTypeEnum Field15_Deprecated::GetType ( );
  5127. __declspec(implementation_key(579)) _variant_t Field15_Deprecated::GetValue ( );
  5128. __declspec(implementation_key(580)) void Field15_Deprecated::PutValue ( const _variant_t & pvar );
  5129. __declspec(implementation_key(581)) unsigned char Field15_Deprecated::GetPrecision ( );
  5130. __declspec(implementation_key(582)) unsigned char Field15_Deprecated::GetNumericScale ( );
  5131. __declspec(implementation_key(583)) HRESULT Field15_Deprecated::AppendChunk ( const _variant_t & Data );
  5132. __declspec(implementation_key(584)) _variant_t Field15_Deprecated::GetChunk ( long Length );
  5133. __declspec(implementation_key(585)) _variant_t Field15_Deprecated::GetOriginalValue ( );
  5134. __declspec(implementation_key(586)) _variant_t Field15_Deprecated::GetUnderlyingValue ( );
  5135. #pragma stop_map_region
  5136. #pragma pack(pop)