-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmsado15.tli
4537 lines (3892 loc) · 159 KB
/
msado15.tli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (ea61aaa1).
//
// msado15.tli
//
// Wrapper implementations for type library c:\program files\common files\system\ado\msado15.dll
// compiler-generated file created 07/27/17 at 11:29:51 - DO NOT EDIT!
//
// interface _Collection wrapper method implementations
//
#pragma implementation_key(1)
inline long _Collection::GetCount ( ) {
long _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(2)
inline IUnknownPtr _Collection::_NewEnum ( ) {
IUnknown * _result;
HRESULT _hr = raw__NewEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
#pragma implementation_key(3)
inline HRESULT _Collection::Refresh ( ) {
HRESULT _hr = raw_Refresh();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DynaCollection wrapper method implementations
//
#pragma implementation_key(4)
inline HRESULT _DynaCollection::Append ( IDispatch * Object ) {
HRESULT _hr = raw_Append(Object);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(5)
inline HRESULT _DynaCollection::Delete ( const _variant_t & Index ) {
HRESULT _hr = raw_Delete(Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _ADO wrapper method implementations
//
#pragma implementation_key(6)
inline PropertiesPtr _ADO::GetProperties ( ) {
struct Properties * _result;
HRESULT _hr = get_Properties(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PropertiesPtr(_result, false);
}
//
// interface Properties wrapper method implementations
//
#pragma implementation_key(7)
inline PropertyPtr Properties::GetItem ( const _variant_t & Index ) {
struct Property * _result;
HRESULT _hr = get_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PropertyPtr(_result, false);
}
//
// interface Property wrapper method implementations
//
#pragma implementation_key(8)
inline _variant_t Property::GetValue ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Value(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(9)
inline void Property::PutValue ( const _variant_t & pval ) {
HRESULT _hr = put_Value(pval);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(10)
inline _bstr_t Property::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(11)
inline enum DataTypeEnum Property::GetType ( ) {
enum DataTypeEnum _result;
HRESULT _hr = get_Type(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(12)
inline long Property::GetAttributes ( ) {
long _result;
HRESULT _hr = get_Attributes(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(13)
inline void Property::PutAttributes ( long plAttributes ) {
HRESULT _hr = put_Attributes(plAttributes);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface Error wrapper method implementations
//
#pragma implementation_key(14)
inline long Error::GetNumber ( ) {
long _result;
HRESULT _hr = get_Number(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(15)
inline _bstr_t Error::GetSource ( ) {
BSTR _result;
HRESULT _hr = get_Source(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(16)
inline _bstr_t Error::GetDescription ( ) {
BSTR _result;
HRESULT _hr = get_Description(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(17)
inline _bstr_t Error::GetHelpFile ( ) {
BSTR _result;
HRESULT _hr = get_HelpFile(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(18)
inline long Error::GetHelpContext ( ) {
long _result;
HRESULT _hr = get_HelpContext(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(19)
inline _bstr_t Error::GetSQLState ( ) {
BSTR _result;
HRESULT _hr = get_SQLState(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(20)
inline long Error::GetNativeError ( ) {
long _result;
HRESULT _hr = get_NativeError(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
//
// interface Errors wrapper method implementations
//
#pragma implementation_key(21)
inline ErrorPtr Errors::GetItem ( const _variant_t & Index ) {
struct Error * _result;
HRESULT _hr = get_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ErrorPtr(_result, false);
}
#pragma implementation_key(22)
inline HRESULT Errors::Clear ( ) {
HRESULT _hr = raw_Clear();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface Command15 wrapper method implementations
//
#pragma implementation_key(23)
inline _ConnectionPtr Command15::GetActiveConnection ( ) {
struct _Connection * _result;
HRESULT _hr = get_ActiveConnection(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _ConnectionPtr(_result, false);
}
#pragma implementation_key(24)
inline void Command15::PutRefActiveConnection ( struct _Connection * ppvObject ) {
HRESULT _hr = putref_ActiveConnection(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(25)
inline void Command15::PutActiveConnection ( const _variant_t & ppvObject ) {
HRESULT _hr = put_ActiveConnection(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(26)
inline _bstr_t Command15::GetCommandText ( ) {
BSTR _result;
HRESULT _hr = get_CommandText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(27)
inline void Command15::PutCommandText ( _bstr_t pbstr ) {
HRESULT _hr = put_CommandText(pbstr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(28)
inline long Command15::GetCommandTimeout ( ) {
long _result;
HRESULT _hr = get_CommandTimeout(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(29)
inline void Command15::PutCommandTimeout ( long pl ) {
HRESULT _hr = put_CommandTimeout(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(30)
inline VARIANT_BOOL Command15::GetPrepared ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_Prepared(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(31)
inline void Command15::PutPrepared ( VARIANT_BOOL pfPrepared ) {
HRESULT _hr = put_Prepared(pfPrepared);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(32)
inline _RecordsetPtr Command15::Execute ( VARIANT * RecordsAffected, VARIANT * Parameters, long Options ) {
struct _Recordset * _result;
HRESULT _hr = raw_Execute(RecordsAffected, Parameters, Options, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
#pragma implementation_key(33)
inline _ParameterPtr Command15::CreateParameter ( _bstr_t Name, enum DataTypeEnum Type, enum ParameterDirectionEnum Direction, long Size, const _variant_t & Value ) {
struct _Parameter * _result;
HRESULT _hr = raw_CreateParameter(Name, Type, Direction, Size, Value, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _ParameterPtr(_result, false);
}
#pragma implementation_key(34)
inline ParametersPtr Command15::GetParameters ( ) {
struct Parameters * _result;
HRESULT _hr = get_Parameters(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ParametersPtr(_result, false);
}
#pragma implementation_key(35)
inline void Command15::PutCommandType ( enum CommandTypeEnum plCmdType ) {
HRESULT _hr = put_CommandType(plCmdType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(36)
inline enum CommandTypeEnum Command15::GetCommandType ( ) {
enum CommandTypeEnum _result;
HRESULT _hr = get_CommandType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(37)
inline _bstr_t Command15::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(38)
inline void Command15::PutName ( _bstr_t pbstrName ) {
HRESULT _hr = put_Name(pbstrName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface Connection15 wrapper method implementations
//
#pragma implementation_key(39)
inline _bstr_t Connection15::GetConnectionString ( ) {
BSTR _result;
HRESULT _hr = get_ConnectionString(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(40)
inline void Connection15::PutConnectionString ( _bstr_t pbstr ) {
HRESULT _hr = put_ConnectionString(pbstr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(41)
inline long Connection15::GetCommandTimeout ( ) {
long _result;
HRESULT _hr = get_CommandTimeout(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(42)
inline void Connection15::PutCommandTimeout ( long plTimeout ) {
HRESULT _hr = put_CommandTimeout(plTimeout);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(43)
inline long Connection15::GetConnectionTimeout ( ) {
long _result;
HRESULT _hr = get_ConnectionTimeout(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(44)
inline void Connection15::PutConnectionTimeout ( long plTimeout ) {
HRESULT _hr = put_ConnectionTimeout(plTimeout);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(45)
inline _bstr_t Connection15::GetVersion ( ) {
BSTR _result;
HRESULT _hr = get_Version(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(46)
inline HRESULT Connection15::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(47)
inline _RecordsetPtr Connection15::Execute ( _bstr_t CommandText, VARIANT * RecordsAffected, long Options ) {
struct _Recordset * _result;
HRESULT _hr = raw_Execute(CommandText, RecordsAffected, Options, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
#pragma implementation_key(48)
inline long Connection15::BeginTrans ( ) {
long _result;
HRESULT _hr = raw_BeginTrans(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(49)
inline HRESULT Connection15::CommitTrans ( ) {
HRESULT _hr = raw_CommitTrans();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(50)
inline HRESULT Connection15::RollbackTrans ( ) {
HRESULT _hr = raw_RollbackTrans();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(51)
inline HRESULT Connection15::Open ( _bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options ) {
HRESULT _hr = raw_Open(ConnectionString, UserID, Password, Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(52)
inline ErrorsPtr Connection15::GetErrors ( ) {
struct Errors * _result;
HRESULT _hr = get_Errors(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ErrorsPtr(_result, false);
}
#pragma implementation_key(53)
inline _bstr_t Connection15::GetDefaultDatabase ( ) {
BSTR _result;
HRESULT _hr = get_DefaultDatabase(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(54)
inline void Connection15::PutDefaultDatabase ( _bstr_t pbstr ) {
HRESULT _hr = put_DefaultDatabase(pbstr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(55)
inline enum IsolationLevelEnum Connection15::GetIsolationLevel ( ) {
enum IsolationLevelEnum _result;
HRESULT _hr = get_IsolationLevel(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(56)
inline void Connection15::PutIsolationLevel ( enum IsolationLevelEnum Level ) {
HRESULT _hr = put_IsolationLevel(Level);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(57)
inline long Connection15::GetAttributes ( ) {
long _result;
HRESULT _hr = get_Attributes(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(58)
inline void Connection15::PutAttributes ( long plAttr ) {
HRESULT _hr = put_Attributes(plAttr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(59)
inline enum CursorLocationEnum Connection15::GetCursorLocation ( ) {
enum CursorLocationEnum _result;
HRESULT _hr = get_CursorLocation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(60)
inline void Connection15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
HRESULT _hr = put_CursorLocation(plCursorLoc);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(61)
inline enum ConnectModeEnum Connection15::GetMode ( ) {
enum ConnectModeEnum _result;
HRESULT _hr = get_Mode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(62)
inline void Connection15::PutMode ( enum ConnectModeEnum plMode ) {
HRESULT _hr = put_Mode(plMode);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(63)
inline _bstr_t Connection15::GetProvider ( ) {
BSTR _result;
HRESULT _hr = get_Provider(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(64)
inline void Connection15::PutProvider ( _bstr_t pbstr ) {
HRESULT _hr = put_Provider(pbstr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(65)
inline long Connection15::GetState ( ) {
long _result;
HRESULT _hr = get_State(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(66)
inline _RecordsetPtr Connection15::OpenSchema ( enum SchemaEnum Schema, const _variant_t & Restrictions, const _variant_t & SchemaID ) {
struct _Recordset * _result;
HRESULT _hr = raw_OpenSchema(Schema, Restrictions, SchemaID, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
//
// interface _Connection wrapper method implementations
//
#pragma implementation_key(67)
inline HRESULT _Connection::Cancel ( ) {
HRESULT _hr = raw_Cancel();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface Recordset15 wrapper method implementations
//
#pragma implementation_key(68)
inline enum PositionEnum Recordset15::GetAbsolutePosition ( ) {
enum PositionEnum _result;
HRESULT _hr = get_AbsolutePosition(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(69)
inline void Recordset15::PutAbsolutePosition ( enum PositionEnum pl ) {
HRESULT _hr = put_AbsolutePosition(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(70)
inline void Recordset15::PutRefActiveConnection ( IDispatch * pvar ) {
HRESULT _hr = putref_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(71)
inline void Recordset15::PutActiveConnection ( const _variant_t & pvar ) {
HRESULT _hr = put_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(72)
inline _variant_t Recordset15::GetActiveConnection ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_ActiveConnection(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(73)
inline VARIANT_BOOL Recordset15::GetBOF ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_BOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(74)
inline _variant_t Recordset15::GetBookmark ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Bookmark(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(75)
inline void Recordset15::PutBookmark ( const _variant_t & pvBookmark ) {
HRESULT _hr = put_Bookmark(pvBookmark);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(76)
inline long Recordset15::GetCacheSize ( ) {
long _result;
HRESULT _hr = get_CacheSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(77)
inline void Recordset15::PutCacheSize ( long pl ) {
HRESULT _hr = put_CacheSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(78)
inline enum CursorTypeEnum Recordset15::GetCursorType ( ) {
enum CursorTypeEnum _result;
HRESULT _hr = get_CursorType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(79)
inline void Recordset15::PutCursorType ( enum CursorTypeEnum plCursorType ) {
HRESULT _hr = put_CursorType(plCursorType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(80)
inline VARIANT_BOOL Recordset15::GetadoEOF ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_adoEOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(81)
inline FieldsPtr Recordset15::GetFields ( ) {
struct Fields * _result;
HRESULT _hr = get_Fields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return FieldsPtr(_result, false);
}
#pragma implementation_key(82)
inline enum LockTypeEnum Recordset15::GetLockType ( ) {
enum LockTypeEnum _result;
HRESULT _hr = get_LockType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(83)
inline void Recordset15::PutLockType ( enum LockTypeEnum plLockType ) {
HRESULT _hr = put_LockType(plLockType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(84)
inline long Recordset15::GetMaxRecords ( ) {
long _result;
HRESULT _hr = get_MaxRecords(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(85)
inline void Recordset15::PutMaxRecords ( long plMaxRecords ) {
HRESULT _hr = put_MaxRecords(plMaxRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(86)
inline long Recordset15::GetRecordCount ( ) {
long _result;
HRESULT _hr = get_RecordCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(87)
inline void Recordset15::PutRefSource ( IDispatch * pvSource ) {
HRESULT _hr = putref_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(88)
inline void Recordset15::PutSource ( _bstr_t pvSource ) {
HRESULT _hr = put_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(89)
inline _variant_t Recordset15::GetSource ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Source(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(90)
inline HRESULT Recordset15::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
HRESULT _hr = raw_AddNew(FieldList, Values);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(91)
inline HRESULT Recordset15::CancelUpdate ( ) {
HRESULT _hr = raw_CancelUpdate();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(92)
inline HRESULT Recordset15::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(93)
inline HRESULT Recordset15::Delete ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_Delete(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(94)
inline _variant_t Recordset15::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(95)
inline HRESULT Recordset15::Move ( long NumRecords, const _variant_t & Start ) {
HRESULT _hr = raw_Move(NumRecords, Start);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(96)
inline HRESULT Recordset15::MoveNext ( ) {
HRESULT _hr = raw_MoveNext();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(97)
inline HRESULT Recordset15::MovePrevious ( ) {
HRESULT _hr = raw_MovePrevious();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(98)
inline HRESULT Recordset15::MoveFirst ( ) {
HRESULT _hr = raw_MoveFirst();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(99)
inline HRESULT Recordset15::MoveLast ( ) {
HRESULT _hr = raw_MoveLast();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(100)
inline HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(101)
inline HRESULT Recordset15::Requery ( long Options ) {
HRESULT _hr = raw_Requery(Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(102)
inline HRESULT Recordset15::_xResync ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw__xResync(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(103)
inline HRESULT Recordset15::Update ( const _variant_t & Fields, const _variant_t & Values ) {
HRESULT _hr = raw_Update(Fields, Values);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(104)
inline enum PositionEnum Recordset15::GetAbsolutePage ( ) {
enum PositionEnum _result;
HRESULT _hr = get_AbsolutePage(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(105)
inline void Recordset15::PutAbsolutePage ( enum PositionEnum pl ) {
HRESULT _hr = put_AbsolutePage(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(106)
inline enum EditModeEnum Recordset15::GetEditMode ( ) {
enum EditModeEnum _result;
HRESULT _hr = get_EditMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(107)
inline _variant_t Recordset15::GetFilter ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Filter(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(108)
inline void Recordset15::PutFilter ( const _variant_t & Criteria ) {
HRESULT _hr = put_Filter(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(109)
inline long Recordset15::GetPageCount ( ) {
long _result;
HRESULT _hr = get_PageCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(110)
inline long Recordset15::GetPageSize ( ) {
long _result;
HRESULT _hr = get_PageSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(111)
inline void Recordset15::PutPageSize ( long pl ) {
HRESULT _hr = put_PageSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(112)
inline _bstr_t Recordset15::GetSort ( ) {
BSTR _result;
HRESULT _hr = get_Sort(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(113)
inline void Recordset15::PutSort ( _bstr_t Criteria ) {
HRESULT _hr = put_Sort(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(114)
inline long Recordset15::GetStatus ( ) {
long _result;
HRESULT _hr = get_Status(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(115)
inline long Recordset15::GetState ( ) {
long _result;
HRESULT _hr = get_State(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(116)
inline _RecordsetPtr Recordset15::_xClone ( ) {
struct _Recordset * _result;
HRESULT _hr = raw__xClone(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
#pragma implementation_key(117)
inline HRESULT Recordset15::UpdateBatch ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_UpdateBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(118)
inline HRESULT Recordset15::CancelBatch ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_CancelBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(119)
inline enum CursorLocationEnum Recordset15::GetCursorLocation ( ) {
enum CursorLocationEnum _result;
HRESULT _hr = get_CursorLocation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(120)
inline void Recordset15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
HRESULT _hr = put_CursorLocation(plCursorLoc);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(121)
inline _RecordsetPtr Recordset15::NextRecordset ( VARIANT * RecordsAffected ) {
struct _Recordset * _result;
HRESULT _hr = raw_NextRecordset(RecordsAffected, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
#pragma implementation_key(122)
inline VARIANT_BOOL Recordset15::Supports ( enum CursorOptionEnum CursorOptions ) {
VARIANT_BOOL _result;
HRESULT _hr = raw_Supports(CursorOptions, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(123)
inline _variant_t Recordset15::GetCollect ( const _variant_t & Index ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Collect(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(124)
inline void Recordset15::PutCollect ( const _variant_t & Index, const _variant_t & pvar ) {
HRESULT _hr = put_Collect(Index, pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(125)
inline enum MarshalOptionsEnum Recordset15::GetMarshalOptions ( ) {
enum MarshalOptionsEnum _result;
HRESULT _hr = get_MarshalOptions(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(126)
inline void Recordset15::PutMarshalOptions ( enum MarshalOptionsEnum peMarshal ) {
HRESULT _hr = put_MarshalOptions(peMarshal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(127)
inline HRESULT Recordset15::Find ( _bstr_t Criteria, long SkipRecords, enum SearchDirectionEnum SearchDirection, const _variant_t & Start ) {
HRESULT _hr = raw_Find(Criteria, SkipRecords, SearchDirection, Start);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface Recordset20 wrapper method implementations
//
#pragma implementation_key(128)
inline HRESULT Recordset20::Cancel ( ) {
HRESULT _hr = raw_Cancel();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(129)
inline IUnknownPtr Recordset20::GetDataSource ( ) {
IUnknown * _result;
HRESULT _hr = get_DataSource(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
#pragma implementation_key(130)