forked from Netpas/win
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oleaut32.go
3964 lines (3585 loc) · 117 KB
/
oleaut32.go
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
// This file was automatically generated by https://github.com/kbinani/win/blob/generator/internal/cmd/gen/gen.go
// go run internal/cmd/gen/gen.go
// +build windows
package win
import (
"unsafe"
)
var (
// Library
liboleaut32 uintptr
// Functions
bSTR_UserFree uintptr
bSTR_UserSize uintptr
bstrFromVector uintptr
clearCustData uintptr
createDispTypeInfo uintptr
createErrorInfo uintptr
createStdDispatch uintptr
createTypeLib uintptr
createTypeLib2 uintptr
dispCallFunc uintptr
dispGetIDsOfNames uintptr
dispGetParam uintptr
dispInvoke uintptr
dosDateTimeToVariantTime uintptr
getErrorInfo uintptr
getRecordInfoFromGuids uintptr
getRecordInfoFromTypeInfo uintptr
lHashValOfNameSysA uintptr
lPSAFEARRAY_UserFree uintptr
lPSAFEARRAY_UserSize uintptr
loadRegTypeLib uintptr
loadTypeLib uintptr
loadTypeLibEx uintptr
oaBuildVersion uintptr
oleCreateFontIndirect uintptr
oleCreatePictureIndirect uintptr
oleCreatePropertyFrame uintptr
oleCreatePropertyFrameIndirect uintptr
oleIconToCursor uintptr
oleLoadPicture uintptr
oleLoadPictureEx uintptr
oleLoadPictureFile uintptr
oleLoadPicturePath uintptr
oleSavePictureFile uintptr
oleTranslateColor uintptr
queryPathOfRegTypeLib uintptr
registerTypeLib uintptr
registerTypeLibForUser uintptr
safeArrayAccessData uintptr
safeArrayAllocData uintptr
safeArrayAllocDescriptor uintptr
safeArrayAllocDescriptorEx uintptr
safeArrayCopy uintptr
safeArrayCopyData uintptr
safeArrayDestroy uintptr
safeArrayDestroyData uintptr
safeArrayDestroyDescriptor uintptr
safeArrayGetDim uintptr
safeArrayGetElement uintptr
safeArrayGetElemsize uintptr
safeArrayGetIID uintptr
safeArrayGetLBound uintptr
safeArrayGetRecordInfo uintptr
safeArrayGetUBound uintptr
safeArrayGetVartype uintptr
safeArrayLock uintptr
safeArrayPtrOfIndex uintptr
safeArrayPutElement uintptr
safeArrayRedim uintptr
safeArraySetIID uintptr
safeArraySetRecordInfo uintptr
safeArrayUnaccessData uintptr
safeArrayUnlock uintptr
setErrorInfo uintptr
setOaNoCache uintptr
sysAllocString uintptr
sysAllocStringByteLen uintptr
sysAllocStringLen uintptr
sysFreeString uintptr
sysReAllocString uintptr
sysReAllocStringLen uintptr
sysStringByteLen uintptr
sysStringLen uintptr
systemTimeToVariantTime uintptr
unRegisterTypeLib uintptr
unRegisterTypeLibForUser uintptr
vARIANT_UserFree uintptr
vARIANT_UserSize uintptr
varAbs uintptr
varAdd uintptr
varAnd uintptr
varBoolFromCy uintptr
varBoolFromDate uintptr
varBoolFromDec uintptr
varBoolFromDisp uintptr
varBoolFromI1 uintptr
varBoolFromI2 uintptr
varBoolFromI4 uintptr
varBoolFromI8 uintptr
varBoolFromR4 uintptr
varBoolFromR8 uintptr
varBoolFromStr uintptr
varBoolFromUI1 uintptr
varBoolFromUI2 uintptr
varBoolFromUI4 uintptr
varBoolFromUI8 uintptr
varBstrCat uintptr
varBstrCmp uintptr
varBstrFromBool uintptr
varBstrFromCy uintptr
varBstrFromDate uintptr
varBstrFromDec uintptr
varBstrFromDisp uintptr
varBstrFromI1 uintptr
varBstrFromI2 uintptr
varBstrFromI4 uintptr
varBstrFromI8 uintptr
varBstrFromR4 uintptr
varBstrFromR8 uintptr
varBstrFromUI1 uintptr
varBstrFromUI2 uintptr
varBstrFromUI4 uintptr
varBstrFromUI8 uintptr
varCat uintptr
varCmp uintptr
varCyAbs uintptr
varCyAdd uintptr
varCyCmp uintptr
varCyCmpR8 uintptr
varCyFix uintptr
varCyFromBool uintptr
varCyFromDate uintptr
varCyFromDec uintptr
varCyFromDisp uintptr
varCyFromI1 uintptr
varCyFromI2 uintptr
varCyFromI4 uintptr
varCyFromI8 uintptr
varCyFromR4 uintptr
varCyFromR8 uintptr
varCyFromStr uintptr
varCyFromUI1 uintptr
varCyFromUI2 uintptr
varCyFromUI4 uintptr
varCyFromUI8 uintptr
varCyInt uintptr
varCyMul uintptr
varCyMulI4 uintptr
varCyMulI8 uintptr
varCyNeg uintptr
varCyRound uintptr
varCySub uintptr
varDateFromBool uintptr
varDateFromCy uintptr
varDateFromDec uintptr
varDateFromDisp uintptr
varDateFromI1 uintptr
varDateFromI2 uintptr
varDateFromI4 uintptr
varDateFromI8 uintptr
varDateFromR4 uintptr
varDateFromR8 uintptr
varDateFromStr uintptr
varDateFromUI1 uintptr
varDateFromUI2 uintptr
varDateFromUI4 uintptr
varDateFromUI8 uintptr
varDateFromUdate uintptr
varDateFromUdateEx uintptr
varDecAbs uintptr
varDecAdd uintptr
varDecCmp uintptr
varDecCmpR8 uintptr
varDecDiv uintptr
varDecFix uintptr
varDecFromBool uintptr
varDecFromCy uintptr
varDecFromDate uintptr
varDecFromDisp uintptr
varDecFromI1 uintptr
varDecFromI2 uintptr
varDecFromI4 uintptr
varDecFromI8 uintptr
varDecFromR4 uintptr
varDecFromR8 uintptr
varDecFromStr uintptr
varDecFromUI1 uintptr
varDecFromUI2 uintptr
varDecFromUI4 uintptr
varDecFromUI8 uintptr
varDecInt uintptr
varDecMul uintptr
varDecNeg uintptr
varDecRound uintptr
varDecSub uintptr
varDiv uintptr
varEqv uintptr
varFix uintptr
varFormat uintptr
varFormatCurrency uintptr
varFormatDateTime uintptr
varFormatFromTokens uintptr
varFormatNumber uintptr
varFormatPercent uintptr
varI1FromBool uintptr
varI1FromCy uintptr
varI1FromDate uintptr
varI1FromDec uintptr
varI1FromDisp uintptr
varI1FromI2 uintptr
varI1FromI4 uintptr
varI1FromI8 uintptr
varI1FromR4 uintptr
varI1FromR8 uintptr
varI1FromStr uintptr
varI1FromUI1 uintptr
varI1FromUI2 uintptr
varI1FromUI4 uintptr
varI1FromUI8 uintptr
varI2FromBool uintptr
varI2FromCy uintptr
varI2FromDate uintptr
varI2FromDec uintptr
varI2FromDisp uintptr
varI2FromI1 uintptr
varI2FromI4 uintptr
varI2FromI8 uintptr
varI2FromR4 uintptr
varI2FromR8 uintptr
varI2FromStr uintptr
varI2FromUI1 uintptr
varI2FromUI2 uintptr
varI2FromUI4 uintptr
varI2FromUI8 uintptr
varI4FromBool uintptr
varI4FromCy uintptr
varI4FromDate uintptr
varI4FromDec uintptr
varI4FromDisp uintptr
varI4FromI1 uintptr
varI4FromI2 uintptr
varI4FromI8 uintptr
varI4FromR4 uintptr
varI4FromR8 uintptr
varI4FromStr uintptr
varI4FromUI1 uintptr
varI4FromUI2 uintptr
varI4FromUI4 uintptr
varI4FromUI8 uintptr
varI8FromBool uintptr
varI8FromCy uintptr
varI8FromDate uintptr
varI8FromDec uintptr
varI8FromDisp uintptr
varI8FromI1 uintptr
varI8FromI2 uintptr
varI8FromR4 uintptr
varI8FromR8 uintptr
varI8FromStr uintptr
varI8FromUI1 uintptr
varI8FromUI2 uintptr
varI8FromUI4 uintptr
varI8FromUI8 uintptr
varIdiv uintptr
varImp uintptr
varInt uintptr
varMod uintptr
varMonthName uintptr
varMul uintptr
varNeg uintptr
varNot uintptr
varNumFromParseNum uintptr
varOr uintptr
varParseNumFromStr uintptr
varPow uintptr
varR4CmpR8 uintptr
varR4FromBool uintptr
varR4FromCy uintptr
varR4FromDate uintptr
varR4FromDec uintptr
varR4FromDisp uintptr
varR4FromI1 uintptr
varR4FromI2 uintptr
varR4FromI4 uintptr
varR4FromI8 uintptr
varR4FromR8 uintptr
varR4FromStr uintptr
varR4FromUI1 uintptr
varR4FromUI2 uintptr
varR4FromUI4 uintptr
varR4FromUI8 uintptr
varR8FromBool uintptr
varR8FromCy uintptr
varR8FromDate uintptr
varR8FromDec uintptr
varR8FromDisp uintptr
varR8FromI1 uintptr
varR8FromI2 uintptr
varR8FromI4 uintptr
varR8FromI8 uintptr
varR8FromR4 uintptr
varR8FromStr uintptr
varR8FromUI1 uintptr
varR8FromUI2 uintptr
varR8FromUI4 uintptr
varR8FromUI8 uintptr
varR8Pow uintptr
varR8Round uintptr
varRound uintptr
varSub uintptr
varTokenizeFormatString uintptr
varUI1FromBool uintptr
varUI1FromCy uintptr
varUI1FromDate uintptr
varUI1FromDec uintptr
varUI1FromDisp uintptr
varUI1FromI1 uintptr
varUI1FromI2 uintptr
varUI1FromI4 uintptr
varUI1FromI8 uintptr
varUI1FromR4 uintptr
varUI1FromR8 uintptr
varUI1FromStr uintptr
varUI1FromUI2 uintptr
varUI1FromUI4 uintptr
varUI1FromUI8 uintptr
varUI2FromBool uintptr
varUI2FromCy uintptr
varUI2FromDate uintptr
varUI2FromDec uintptr
varUI2FromDisp uintptr
varUI2FromI1 uintptr
varUI2FromI2 uintptr
varUI2FromI4 uintptr
varUI2FromI8 uintptr
varUI2FromR4 uintptr
varUI2FromR8 uintptr
varUI2FromStr uintptr
varUI2FromUI1 uintptr
varUI2FromUI4 uintptr
varUI2FromUI8 uintptr
varUI4FromBool uintptr
varUI4FromCy uintptr
varUI4FromDate uintptr
varUI4FromDec uintptr
varUI4FromDisp uintptr
varUI4FromI1 uintptr
varUI4FromI2 uintptr
varUI4FromI4 uintptr
varUI4FromI8 uintptr
varUI4FromR4 uintptr
varUI4FromR8 uintptr
varUI4FromStr uintptr
varUI4FromUI1 uintptr
varUI4FromUI2 uintptr
varUI4FromUI8 uintptr
varUI8FromBool uintptr
varUI8FromCy uintptr
varUI8FromDate uintptr
varUI8FromDec uintptr
varUI8FromDisp uintptr
varUI8FromI1 uintptr
varUI8FromI2 uintptr
varUI8FromI8 uintptr
varUI8FromR4 uintptr
varUI8FromR8 uintptr
varUI8FromStr uintptr
varUI8FromUI1 uintptr
varUI8FromUI2 uintptr
varUI8FromUI4 uintptr
varUdateFromDate uintptr
varWeekdayName uintptr
varXor uintptr
variantChangeType uintptr
variantChangeTypeEx uintptr
variantClear uintptr
variantCopy uintptr
variantCopyInd uintptr
variantInit uintptr
variantTimeToDosDateTime uintptr
variantTimeToSystemTime uintptr
vectorFromBstr uintptr
)
func init() {
// Library
liboleaut32 = doLoadLibrary("oleaut32.dll")
// Functions
bSTR_UserFree = doGetProcAddress(liboleaut32, "BSTR_UserFree")
bSTR_UserSize = doGetProcAddress(liboleaut32, "BSTR_UserSize")
bstrFromVector = doGetProcAddress(liboleaut32, "BstrFromVector")
clearCustData = doGetProcAddress(liboleaut32, "ClearCustData")
createDispTypeInfo = doGetProcAddress(liboleaut32, "CreateDispTypeInfo")
createErrorInfo = doGetProcAddress(liboleaut32, "CreateErrorInfo")
createStdDispatch = doGetProcAddress(liboleaut32, "CreateStdDispatch")
createTypeLib = doGetProcAddress(liboleaut32, "CreateTypeLib")
createTypeLib2 = doGetProcAddress(liboleaut32, "CreateTypeLib2")
dispCallFunc = doGetProcAddress(liboleaut32, "DispCallFunc")
dispGetIDsOfNames = doGetProcAddress(liboleaut32, "DispGetIDsOfNames")
dispGetParam = doGetProcAddress(liboleaut32, "DispGetParam")
dispInvoke = doGetProcAddress(liboleaut32, "DispInvoke")
dosDateTimeToVariantTime = doGetProcAddress(liboleaut32, "DosDateTimeToVariantTime")
getErrorInfo = doGetProcAddress(liboleaut32, "GetErrorInfo")
getRecordInfoFromGuids = doGetProcAddress(liboleaut32, "GetRecordInfoFromGuids")
getRecordInfoFromTypeInfo = doGetProcAddress(liboleaut32, "GetRecordInfoFromTypeInfo")
lHashValOfNameSysA = doGetProcAddress(liboleaut32, "LHashValOfNameSysA")
lPSAFEARRAY_UserFree = doGetProcAddress(liboleaut32, "LPSAFEARRAY_UserFree")
lPSAFEARRAY_UserSize = doGetProcAddress(liboleaut32, "LPSAFEARRAY_UserSize")
loadRegTypeLib = doGetProcAddress(liboleaut32, "LoadRegTypeLib")
loadTypeLib = doGetProcAddress(liboleaut32, "LoadTypeLib")
loadTypeLibEx = doGetProcAddress(liboleaut32, "LoadTypeLibEx")
oaBuildVersion = doGetProcAddress(liboleaut32, "OaBuildVersion")
oleCreateFontIndirect = doGetProcAddress(liboleaut32, "OleCreateFontIndirect")
oleCreatePictureIndirect = doGetProcAddress(liboleaut32, "OleCreatePictureIndirect")
oleCreatePropertyFrame = doGetProcAddress(liboleaut32, "OleCreatePropertyFrame")
oleCreatePropertyFrameIndirect = doGetProcAddress(liboleaut32, "OleCreatePropertyFrameIndirect")
oleIconToCursor = doGetProcAddress(liboleaut32, "OleIconToCursor")
oleLoadPicture = doGetProcAddress(liboleaut32, "OleLoadPicture")
oleLoadPictureEx = doGetProcAddress(liboleaut32, "OleLoadPictureEx")
oleLoadPictureFile = doGetProcAddress(liboleaut32, "OleLoadPictureFile")
oleLoadPicturePath = doGetProcAddress(liboleaut32, "OleLoadPicturePath")
oleSavePictureFile = doGetProcAddress(liboleaut32, "OleSavePictureFile")
oleTranslateColor = doGetProcAddress(liboleaut32, "OleTranslateColor")
queryPathOfRegTypeLib = doGetProcAddress(liboleaut32, "QueryPathOfRegTypeLib")
registerTypeLib = doGetProcAddress(liboleaut32, "RegisterTypeLib")
registerTypeLibForUser = doGetProcAddress(liboleaut32, "RegisterTypeLibForUser")
safeArrayAccessData = doGetProcAddress(liboleaut32, "SafeArrayAccessData")
safeArrayAllocData = doGetProcAddress(liboleaut32, "SafeArrayAllocData")
safeArrayAllocDescriptor = doGetProcAddress(liboleaut32, "SafeArrayAllocDescriptor")
safeArrayAllocDescriptorEx = doGetProcAddress(liboleaut32, "SafeArrayAllocDescriptorEx")
safeArrayCopy = doGetProcAddress(liboleaut32, "SafeArrayCopy")
safeArrayCopyData = doGetProcAddress(liboleaut32, "SafeArrayCopyData")
safeArrayDestroy = doGetProcAddress(liboleaut32, "SafeArrayDestroy")
safeArrayDestroyData = doGetProcAddress(liboleaut32, "SafeArrayDestroyData")
safeArrayDestroyDescriptor = doGetProcAddress(liboleaut32, "SafeArrayDestroyDescriptor")
safeArrayGetDim = doGetProcAddress(liboleaut32, "SafeArrayGetDim")
safeArrayGetElement = doGetProcAddress(liboleaut32, "SafeArrayGetElement")
safeArrayGetElemsize = doGetProcAddress(liboleaut32, "SafeArrayGetElemsize")
safeArrayGetIID = doGetProcAddress(liboleaut32, "SafeArrayGetIID")
safeArrayGetLBound = doGetProcAddress(liboleaut32, "SafeArrayGetLBound")
safeArrayGetRecordInfo = doGetProcAddress(liboleaut32, "SafeArrayGetRecordInfo")
safeArrayGetUBound = doGetProcAddress(liboleaut32, "SafeArrayGetUBound")
safeArrayGetVartype = doGetProcAddress(liboleaut32, "SafeArrayGetVartype")
safeArrayLock = doGetProcAddress(liboleaut32, "SafeArrayLock")
safeArrayPtrOfIndex = doGetProcAddress(liboleaut32, "SafeArrayPtrOfIndex")
safeArrayPutElement = doGetProcAddress(liboleaut32, "SafeArrayPutElement")
safeArrayRedim = doGetProcAddress(liboleaut32, "SafeArrayRedim")
safeArraySetIID = doGetProcAddress(liboleaut32, "SafeArraySetIID")
safeArraySetRecordInfo = doGetProcAddress(liboleaut32, "SafeArraySetRecordInfo")
safeArrayUnaccessData = doGetProcAddress(liboleaut32, "SafeArrayUnaccessData")
safeArrayUnlock = doGetProcAddress(liboleaut32, "SafeArrayUnlock")
setErrorInfo = doGetProcAddress(liboleaut32, "SetErrorInfo")
setOaNoCache = doGetProcAddress(liboleaut32, "SetOaNoCache")
sysAllocString = doGetProcAddress(liboleaut32, "SysAllocString")
sysAllocStringByteLen = doGetProcAddress(liboleaut32, "SysAllocStringByteLen")
sysAllocStringLen = doGetProcAddress(liboleaut32, "SysAllocStringLen")
sysFreeString = doGetProcAddress(liboleaut32, "SysFreeString")
sysReAllocString = doGetProcAddress(liboleaut32, "SysReAllocString")
sysReAllocStringLen = doGetProcAddress(liboleaut32, "SysReAllocStringLen")
sysStringByteLen = doGetProcAddress(liboleaut32, "SysStringByteLen")
sysStringLen = doGetProcAddress(liboleaut32, "SysStringLen")
systemTimeToVariantTime = doGetProcAddress(liboleaut32, "SystemTimeToVariantTime")
unRegisterTypeLib = doGetProcAddress(liboleaut32, "UnRegisterTypeLib")
unRegisterTypeLibForUser = doGetProcAddress(liboleaut32, "UnRegisterTypeLibForUser")
vARIANT_UserFree = doGetProcAddress(liboleaut32, "VARIANT_UserFree")
vARIANT_UserSize = doGetProcAddress(liboleaut32, "VARIANT_UserSize")
varAbs = doGetProcAddress(liboleaut32, "VarAbs")
varAdd = doGetProcAddress(liboleaut32, "VarAdd")
varAnd = doGetProcAddress(liboleaut32, "VarAnd")
varBoolFromCy = doGetProcAddress(liboleaut32, "VarBoolFromCy")
varBoolFromDate = doGetProcAddress(liboleaut32, "VarBoolFromDate")
varBoolFromDec = doGetProcAddress(liboleaut32, "VarBoolFromDec")
varBoolFromDisp = doGetProcAddress(liboleaut32, "VarBoolFromDisp")
varBoolFromI1 = doGetProcAddress(liboleaut32, "VarBoolFromI1")
varBoolFromI2 = doGetProcAddress(liboleaut32, "VarBoolFromI2")
varBoolFromI4 = doGetProcAddress(liboleaut32, "VarBoolFromI4")
varBoolFromI8 = doGetProcAddress(liboleaut32, "VarBoolFromI8")
varBoolFromR4 = doGetProcAddress(liboleaut32, "VarBoolFromR4")
varBoolFromR8 = doGetProcAddress(liboleaut32, "VarBoolFromR8")
varBoolFromStr = doGetProcAddress(liboleaut32, "VarBoolFromStr")
varBoolFromUI1 = doGetProcAddress(liboleaut32, "VarBoolFromUI1")
varBoolFromUI2 = doGetProcAddress(liboleaut32, "VarBoolFromUI2")
varBoolFromUI4 = doGetProcAddress(liboleaut32, "VarBoolFromUI4")
varBoolFromUI8 = doGetProcAddress(liboleaut32, "VarBoolFromUI8")
varBstrCat = doGetProcAddress(liboleaut32, "VarBstrCat")
varBstrCmp = doGetProcAddress(liboleaut32, "VarBstrCmp")
varBstrFromBool = doGetProcAddress(liboleaut32, "VarBstrFromBool")
varBstrFromCy = doGetProcAddress(liboleaut32, "VarBstrFromCy")
varBstrFromDate = doGetProcAddress(liboleaut32, "VarBstrFromDate")
varBstrFromDec = doGetProcAddress(liboleaut32, "VarBstrFromDec")
varBstrFromDisp = doGetProcAddress(liboleaut32, "VarBstrFromDisp")
varBstrFromI1 = doGetProcAddress(liboleaut32, "VarBstrFromI1")
varBstrFromI2 = doGetProcAddress(liboleaut32, "VarBstrFromI2")
varBstrFromI4 = doGetProcAddress(liboleaut32, "VarBstrFromI4")
varBstrFromI8 = doGetProcAddress(liboleaut32, "VarBstrFromI8")
varBstrFromR4 = doGetProcAddress(liboleaut32, "VarBstrFromR4")
varBstrFromR8 = doGetProcAddress(liboleaut32, "VarBstrFromR8")
varBstrFromUI1 = doGetProcAddress(liboleaut32, "VarBstrFromUI1")
varBstrFromUI2 = doGetProcAddress(liboleaut32, "VarBstrFromUI2")
varBstrFromUI4 = doGetProcAddress(liboleaut32, "VarBstrFromUI4")
varBstrFromUI8 = doGetProcAddress(liboleaut32, "VarBstrFromUI8")
varCat = doGetProcAddress(liboleaut32, "VarCat")
varCmp = doGetProcAddress(liboleaut32, "VarCmp")
varCyAbs = doGetProcAddress(liboleaut32, "VarCyAbs")
varCyAdd = doGetProcAddress(liboleaut32, "VarCyAdd")
varCyCmp = doGetProcAddress(liboleaut32, "VarCyCmp")
varCyCmpR8 = doGetProcAddress(liboleaut32, "VarCyCmpR8")
varCyFix = doGetProcAddress(liboleaut32, "VarCyFix")
varCyFromBool = doGetProcAddress(liboleaut32, "VarCyFromBool")
varCyFromDate = doGetProcAddress(liboleaut32, "VarCyFromDate")
varCyFromDec = doGetProcAddress(liboleaut32, "VarCyFromDec")
varCyFromDisp = doGetProcAddress(liboleaut32, "VarCyFromDisp")
varCyFromI1 = doGetProcAddress(liboleaut32, "VarCyFromI1")
varCyFromI2 = doGetProcAddress(liboleaut32, "VarCyFromI2")
varCyFromI4 = doGetProcAddress(liboleaut32, "VarCyFromI4")
varCyFromI8 = doGetProcAddress(liboleaut32, "VarCyFromI8")
varCyFromR4 = doGetProcAddress(liboleaut32, "VarCyFromR4")
varCyFromR8 = doGetProcAddress(liboleaut32, "VarCyFromR8")
varCyFromStr = doGetProcAddress(liboleaut32, "VarCyFromStr")
varCyFromUI1 = doGetProcAddress(liboleaut32, "VarCyFromUI1")
varCyFromUI2 = doGetProcAddress(liboleaut32, "VarCyFromUI2")
varCyFromUI4 = doGetProcAddress(liboleaut32, "VarCyFromUI4")
varCyFromUI8 = doGetProcAddress(liboleaut32, "VarCyFromUI8")
varCyInt = doGetProcAddress(liboleaut32, "VarCyInt")
varCyMul = doGetProcAddress(liboleaut32, "VarCyMul")
varCyMulI4 = doGetProcAddress(liboleaut32, "VarCyMulI4")
varCyMulI8 = doGetProcAddress(liboleaut32, "VarCyMulI8")
varCyNeg = doGetProcAddress(liboleaut32, "VarCyNeg")
varCyRound = doGetProcAddress(liboleaut32, "VarCyRound")
varCySub = doGetProcAddress(liboleaut32, "VarCySub")
varDateFromBool = doGetProcAddress(liboleaut32, "VarDateFromBool")
varDateFromCy = doGetProcAddress(liboleaut32, "VarDateFromCy")
varDateFromDec = doGetProcAddress(liboleaut32, "VarDateFromDec")
varDateFromDisp = doGetProcAddress(liboleaut32, "VarDateFromDisp")
varDateFromI1 = doGetProcAddress(liboleaut32, "VarDateFromI1")
varDateFromI2 = doGetProcAddress(liboleaut32, "VarDateFromI2")
varDateFromI4 = doGetProcAddress(liboleaut32, "VarDateFromI4")
varDateFromI8 = doGetProcAddress(liboleaut32, "VarDateFromI8")
varDateFromR4 = doGetProcAddress(liboleaut32, "VarDateFromR4")
varDateFromR8 = doGetProcAddress(liboleaut32, "VarDateFromR8")
varDateFromStr = doGetProcAddress(liboleaut32, "VarDateFromStr")
varDateFromUI1 = doGetProcAddress(liboleaut32, "VarDateFromUI1")
varDateFromUI2 = doGetProcAddress(liboleaut32, "VarDateFromUI2")
varDateFromUI4 = doGetProcAddress(liboleaut32, "VarDateFromUI4")
varDateFromUI8 = doGetProcAddress(liboleaut32, "VarDateFromUI8")
varDateFromUdate = doGetProcAddress(liboleaut32, "VarDateFromUdate")
varDateFromUdateEx = doGetProcAddress(liboleaut32, "VarDateFromUdateEx")
varDecAbs = doGetProcAddress(liboleaut32, "VarDecAbs")
varDecAdd = doGetProcAddress(liboleaut32, "VarDecAdd")
varDecCmp = doGetProcAddress(liboleaut32, "VarDecCmp")
varDecCmpR8 = doGetProcAddress(liboleaut32, "VarDecCmpR8")
varDecDiv = doGetProcAddress(liboleaut32, "VarDecDiv")
varDecFix = doGetProcAddress(liboleaut32, "VarDecFix")
varDecFromBool = doGetProcAddress(liboleaut32, "VarDecFromBool")
varDecFromCy = doGetProcAddress(liboleaut32, "VarDecFromCy")
varDecFromDate = doGetProcAddress(liboleaut32, "VarDecFromDate")
varDecFromDisp = doGetProcAddress(liboleaut32, "VarDecFromDisp")
varDecFromI1 = doGetProcAddress(liboleaut32, "VarDecFromI1")
varDecFromI2 = doGetProcAddress(liboleaut32, "VarDecFromI2")
varDecFromI4 = doGetProcAddress(liboleaut32, "VarDecFromI4")
varDecFromI8 = doGetProcAddress(liboleaut32, "VarDecFromI8")
varDecFromR4 = doGetProcAddress(liboleaut32, "VarDecFromR4")
varDecFromR8 = doGetProcAddress(liboleaut32, "VarDecFromR8")
varDecFromStr = doGetProcAddress(liboleaut32, "VarDecFromStr")
varDecFromUI1 = doGetProcAddress(liboleaut32, "VarDecFromUI1")
varDecFromUI2 = doGetProcAddress(liboleaut32, "VarDecFromUI2")
varDecFromUI4 = doGetProcAddress(liboleaut32, "VarDecFromUI4")
varDecFromUI8 = doGetProcAddress(liboleaut32, "VarDecFromUI8")
varDecInt = doGetProcAddress(liboleaut32, "VarDecInt")
varDecMul = doGetProcAddress(liboleaut32, "VarDecMul")
varDecNeg = doGetProcAddress(liboleaut32, "VarDecNeg")
varDecRound = doGetProcAddress(liboleaut32, "VarDecRound")
varDecSub = doGetProcAddress(liboleaut32, "VarDecSub")
varDiv = doGetProcAddress(liboleaut32, "VarDiv")
varEqv = doGetProcAddress(liboleaut32, "VarEqv")
varFix = doGetProcAddress(liboleaut32, "VarFix")
varFormat = doGetProcAddress(liboleaut32, "VarFormat")
varFormatCurrency = doGetProcAddress(liboleaut32, "VarFormatCurrency")
varFormatDateTime = doGetProcAddress(liboleaut32, "VarFormatDateTime")
varFormatFromTokens = doGetProcAddress(liboleaut32, "VarFormatFromTokens")
varFormatNumber = doGetProcAddress(liboleaut32, "VarFormatNumber")
varFormatPercent = doGetProcAddress(liboleaut32, "VarFormatPercent")
varI1FromBool = doGetProcAddress(liboleaut32, "VarI1FromBool")
varI1FromCy = doGetProcAddress(liboleaut32, "VarI1FromCy")
varI1FromDate = doGetProcAddress(liboleaut32, "VarI1FromDate")
varI1FromDec = doGetProcAddress(liboleaut32, "VarI1FromDec")
varI1FromDisp = doGetProcAddress(liboleaut32, "VarI1FromDisp")
varI1FromI2 = doGetProcAddress(liboleaut32, "VarI1FromI2")
varI1FromI4 = doGetProcAddress(liboleaut32, "VarI1FromI4")
varI1FromI8 = doGetProcAddress(liboleaut32, "VarI1FromI8")
varI1FromR4 = doGetProcAddress(liboleaut32, "VarI1FromR4")
varI1FromR8 = doGetProcAddress(liboleaut32, "VarI1FromR8")
varI1FromStr = doGetProcAddress(liboleaut32, "VarI1FromStr")
varI1FromUI1 = doGetProcAddress(liboleaut32, "VarI1FromUI1")
varI1FromUI2 = doGetProcAddress(liboleaut32, "VarI1FromUI2")
varI1FromUI4 = doGetProcAddress(liboleaut32, "VarI1FromUI4")
varI1FromUI8 = doGetProcAddress(liboleaut32, "VarI1FromUI8")
varI2FromBool = doGetProcAddress(liboleaut32, "VarI2FromBool")
varI2FromCy = doGetProcAddress(liboleaut32, "VarI2FromCy")
varI2FromDate = doGetProcAddress(liboleaut32, "VarI2FromDate")
varI2FromDec = doGetProcAddress(liboleaut32, "VarI2FromDec")
varI2FromDisp = doGetProcAddress(liboleaut32, "VarI2FromDisp")
varI2FromI1 = doGetProcAddress(liboleaut32, "VarI2FromI1")
varI2FromI4 = doGetProcAddress(liboleaut32, "VarI2FromI4")
varI2FromI8 = doGetProcAddress(liboleaut32, "VarI2FromI8")
varI2FromR4 = doGetProcAddress(liboleaut32, "VarI2FromR4")
varI2FromR8 = doGetProcAddress(liboleaut32, "VarI2FromR8")
varI2FromStr = doGetProcAddress(liboleaut32, "VarI2FromStr")
varI2FromUI1 = doGetProcAddress(liboleaut32, "VarI2FromUI1")
varI2FromUI2 = doGetProcAddress(liboleaut32, "VarI2FromUI2")
varI2FromUI4 = doGetProcAddress(liboleaut32, "VarI2FromUI4")
varI2FromUI8 = doGetProcAddress(liboleaut32, "VarI2FromUI8")
varI4FromBool = doGetProcAddress(liboleaut32, "VarI4FromBool")
varI4FromCy = doGetProcAddress(liboleaut32, "VarI4FromCy")
varI4FromDate = doGetProcAddress(liboleaut32, "VarI4FromDate")
varI4FromDec = doGetProcAddress(liboleaut32, "VarI4FromDec")
varI4FromDisp = doGetProcAddress(liboleaut32, "VarI4FromDisp")
varI4FromI1 = doGetProcAddress(liboleaut32, "VarI4FromI1")
varI4FromI2 = doGetProcAddress(liboleaut32, "VarI4FromI2")
varI4FromI8 = doGetProcAddress(liboleaut32, "VarI4FromI8")
varI4FromR4 = doGetProcAddress(liboleaut32, "VarI4FromR4")
varI4FromR8 = doGetProcAddress(liboleaut32, "VarI4FromR8")
varI4FromStr = doGetProcAddress(liboleaut32, "VarI4FromStr")
varI4FromUI1 = doGetProcAddress(liboleaut32, "VarI4FromUI1")
varI4FromUI2 = doGetProcAddress(liboleaut32, "VarI4FromUI2")
varI4FromUI4 = doGetProcAddress(liboleaut32, "VarI4FromUI4")
varI4FromUI8 = doGetProcAddress(liboleaut32, "VarI4FromUI8")
varI8FromBool = doGetProcAddress(liboleaut32, "VarI8FromBool")
varI8FromCy = doGetProcAddress(liboleaut32, "VarI8FromCy")
varI8FromDate = doGetProcAddress(liboleaut32, "VarI8FromDate")
varI8FromDec = doGetProcAddress(liboleaut32, "VarI8FromDec")
varI8FromDisp = doGetProcAddress(liboleaut32, "VarI8FromDisp")
varI8FromI1 = doGetProcAddress(liboleaut32, "VarI8FromI1")
varI8FromI2 = doGetProcAddress(liboleaut32, "VarI8FromI2")
varI8FromR4 = doGetProcAddress(liboleaut32, "VarI8FromR4")
varI8FromR8 = doGetProcAddress(liboleaut32, "VarI8FromR8")
varI8FromStr = doGetProcAddress(liboleaut32, "VarI8FromStr")
varI8FromUI1 = doGetProcAddress(liboleaut32, "VarI8FromUI1")
varI8FromUI2 = doGetProcAddress(liboleaut32, "VarI8FromUI2")
varI8FromUI4 = doGetProcAddress(liboleaut32, "VarI8FromUI4")
varI8FromUI8 = doGetProcAddress(liboleaut32, "VarI8FromUI8")
varIdiv = doGetProcAddress(liboleaut32, "VarIdiv")
varImp = doGetProcAddress(liboleaut32, "VarImp")
varInt = doGetProcAddress(liboleaut32, "VarInt")
varMod = doGetProcAddress(liboleaut32, "VarMod")
varMonthName = doGetProcAddress(liboleaut32, "VarMonthName")
varMul = doGetProcAddress(liboleaut32, "VarMul")
varNeg = doGetProcAddress(liboleaut32, "VarNeg")
varNot = doGetProcAddress(liboleaut32, "VarNot")
varNumFromParseNum = doGetProcAddress(liboleaut32, "VarNumFromParseNum")
varOr = doGetProcAddress(liboleaut32, "VarOr")
varParseNumFromStr = doGetProcAddress(liboleaut32, "VarParseNumFromStr")
varPow = doGetProcAddress(liboleaut32, "VarPow")
varR4CmpR8 = doGetProcAddress(liboleaut32, "VarR4CmpR8")
varR4FromBool = doGetProcAddress(liboleaut32, "VarR4FromBool")
varR4FromCy = doGetProcAddress(liboleaut32, "VarR4FromCy")
varR4FromDate = doGetProcAddress(liboleaut32, "VarR4FromDate")
varR4FromDec = doGetProcAddress(liboleaut32, "VarR4FromDec")
varR4FromDisp = doGetProcAddress(liboleaut32, "VarR4FromDisp")
varR4FromI1 = doGetProcAddress(liboleaut32, "VarR4FromI1")
varR4FromI2 = doGetProcAddress(liboleaut32, "VarR4FromI2")
varR4FromI4 = doGetProcAddress(liboleaut32, "VarR4FromI4")
varR4FromI8 = doGetProcAddress(liboleaut32, "VarR4FromI8")
varR4FromR8 = doGetProcAddress(liboleaut32, "VarR4FromR8")
varR4FromStr = doGetProcAddress(liboleaut32, "VarR4FromStr")
varR4FromUI1 = doGetProcAddress(liboleaut32, "VarR4FromUI1")
varR4FromUI2 = doGetProcAddress(liboleaut32, "VarR4FromUI2")
varR4FromUI4 = doGetProcAddress(liboleaut32, "VarR4FromUI4")
varR4FromUI8 = doGetProcAddress(liboleaut32, "VarR4FromUI8")
varR8FromBool = doGetProcAddress(liboleaut32, "VarR8FromBool")
varR8FromCy = doGetProcAddress(liboleaut32, "VarR8FromCy")
varR8FromDate = doGetProcAddress(liboleaut32, "VarR8FromDate")
varR8FromDec = doGetProcAddress(liboleaut32, "VarR8FromDec")
varR8FromDisp = doGetProcAddress(liboleaut32, "VarR8FromDisp")
varR8FromI1 = doGetProcAddress(liboleaut32, "VarR8FromI1")
varR8FromI2 = doGetProcAddress(liboleaut32, "VarR8FromI2")
varR8FromI4 = doGetProcAddress(liboleaut32, "VarR8FromI4")
varR8FromI8 = doGetProcAddress(liboleaut32, "VarR8FromI8")
varR8FromR4 = doGetProcAddress(liboleaut32, "VarR8FromR4")
varR8FromStr = doGetProcAddress(liboleaut32, "VarR8FromStr")
varR8FromUI1 = doGetProcAddress(liboleaut32, "VarR8FromUI1")
varR8FromUI2 = doGetProcAddress(liboleaut32, "VarR8FromUI2")
varR8FromUI4 = doGetProcAddress(liboleaut32, "VarR8FromUI4")
varR8FromUI8 = doGetProcAddress(liboleaut32, "VarR8FromUI8")
varR8Pow = doGetProcAddress(liboleaut32, "VarR8Pow")
varR8Round = doGetProcAddress(liboleaut32, "VarR8Round")
varRound = doGetProcAddress(liboleaut32, "VarRound")
varSub = doGetProcAddress(liboleaut32, "VarSub")
varTokenizeFormatString = doGetProcAddress(liboleaut32, "VarTokenizeFormatString")
varUI1FromBool = doGetProcAddress(liboleaut32, "VarUI1FromBool")
varUI1FromCy = doGetProcAddress(liboleaut32, "VarUI1FromCy")
varUI1FromDate = doGetProcAddress(liboleaut32, "VarUI1FromDate")
varUI1FromDec = doGetProcAddress(liboleaut32, "VarUI1FromDec")
varUI1FromDisp = doGetProcAddress(liboleaut32, "VarUI1FromDisp")
varUI1FromI1 = doGetProcAddress(liboleaut32, "VarUI1FromI1")
varUI1FromI2 = doGetProcAddress(liboleaut32, "VarUI1FromI2")
varUI1FromI4 = doGetProcAddress(liboleaut32, "VarUI1FromI4")
varUI1FromI8 = doGetProcAddress(liboleaut32, "VarUI1FromI8")
varUI1FromR4 = doGetProcAddress(liboleaut32, "VarUI1FromR4")
varUI1FromR8 = doGetProcAddress(liboleaut32, "VarUI1FromR8")
varUI1FromStr = doGetProcAddress(liboleaut32, "VarUI1FromStr")
varUI1FromUI2 = doGetProcAddress(liboleaut32, "VarUI1FromUI2")
varUI1FromUI4 = doGetProcAddress(liboleaut32, "VarUI1FromUI4")
varUI1FromUI8 = doGetProcAddress(liboleaut32, "VarUI1FromUI8")
varUI2FromBool = doGetProcAddress(liboleaut32, "VarUI2FromBool")
varUI2FromCy = doGetProcAddress(liboleaut32, "VarUI2FromCy")
varUI2FromDate = doGetProcAddress(liboleaut32, "VarUI2FromDate")
varUI2FromDec = doGetProcAddress(liboleaut32, "VarUI2FromDec")
varUI2FromDisp = doGetProcAddress(liboleaut32, "VarUI2FromDisp")
varUI2FromI1 = doGetProcAddress(liboleaut32, "VarUI2FromI1")
varUI2FromI2 = doGetProcAddress(liboleaut32, "VarUI2FromI2")
varUI2FromI4 = doGetProcAddress(liboleaut32, "VarUI2FromI4")
varUI2FromI8 = doGetProcAddress(liboleaut32, "VarUI2FromI8")
varUI2FromR4 = doGetProcAddress(liboleaut32, "VarUI2FromR4")
varUI2FromR8 = doGetProcAddress(liboleaut32, "VarUI2FromR8")
varUI2FromStr = doGetProcAddress(liboleaut32, "VarUI2FromStr")
varUI2FromUI1 = doGetProcAddress(liboleaut32, "VarUI2FromUI1")
varUI2FromUI4 = doGetProcAddress(liboleaut32, "VarUI2FromUI4")
varUI2FromUI8 = doGetProcAddress(liboleaut32, "VarUI2FromUI8")
varUI4FromBool = doGetProcAddress(liboleaut32, "VarUI4FromBool")
varUI4FromCy = doGetProcAddress(liboleaut32, "VarUI4FromCy")
varUI4FromDate = doGetProcAddress(liboleaut32, "VarUI4FromDate")
varUI4FromDec = doGetProcAddress(liboleaut32, "VarUI4FromDec")
varUI4FromDisp = doGetProcAddress(liboleaut32, "VarUI4FromDisp")
varUI4FromI1 = doGetProcAddress(liboleaut32, "VarUI4FromI1")
varUI4FromI2 = doGetProcAddress(liboleaut32, "VarUI4FromI2")
varUI4FromI4 = doGetProcAddress(liboleaut32, "VarUI4FromI4")
varUI4FromI8 = doGetProcAddress(liboleaut32, "VarUI4FromI8")
varUI4FromR4 = doGetProcAddress(liboleaut32, "VarUI4FromR4")
varUI4FromR8 = doGetProcAddress(liboleaut32, "VarUI4FromR8")
varUI4FromStr = doGetProcAddress(liboleaut32, "VarUI4FromStr")
varUI4FromUI1 = doGetProcAddress(liboleaut32, "VarUI4FromUI1")
varUI4FromUI2 = doGetProcAddress(liboleaut32, "VarUI4FromUI2")
varUI4FromUI8 = doGetProcAddress(liboleaut32, "VarUI4FromUI8")
varUI8FromBool = doGetProcAddress(liboleaut32, "VarUI8FromBool")
varUI8FromCy = doGetProcAddress(liboleaut32, "VarUI8FromCy")
varUI8FromDate = doGetProcAddress(liboleaut32, "VarUI8FromDate")
varUI8FromDec = doGetProcAddress(liboleaut32, "VarUI8FromDec")
varUI8FromDisp = doGetProcAddress(liboleaut32, "VarUI8FromDisp")
varUI8FromI1 = doGetProcAddress(liboleaut32, "VarUI8FromI1")
varUI8FromI2 = doGetProcAddress(liboleaut32, "VarUI8FromI2")
varUI8FromI8 = doGetProcAddress(liboleaut32, "VarUI8FromI8")
varUI8FromR4 = doGetProcAddress(liboleaut32, "VarUI8FromR4")
varUI8FromR8 = doGetProcAddress(liboleaut32, "VarUI8FromR8")
varUI8FromStr = doGetProcAddress(liboleaut32, "VarUI8FromStr")
varUI8FromUI1 = doGetProcAddress(liboleaut32, "VarUI8FromUI1")
varUI8FromUI2 = doGetProcAddress(liboleaut32, "VarUI8FromUI2")
varUI8FromUI4 = doGetProcAddress(liboleaut32, "VarUI8FromUI4")
varUdateFromDate = doGetProcAddress(liboleaut32, "VarUdateFromDate")
varWeekdayName = doGetProcAddress(liboleaut32, "VarWeekdayName")
varXor = doGetProcAddress(liboleaut32, "VarXor")
variantChangeType = doGetProcAddress(liboleaut32, "VariantChangeType")
variantChangeTypeEx = doGetProcAddress(liboleaut32, "VariantChangeTypeEx")
variantClear = doGetProcAddress(liboleaut32, "VariantClear")
variantCopy = doGetProcAddress(liboleaut32, "VariantCopy")
variantCopyInd = doGetProcAddress(liboleaut32, "VariantCopyInd")
variantInit = doGetProcAddress(liboleaut32, "VariantInit")
variantTimeToDosDateTime = doGetProcAddress(liboleaut32, "VariantTimeToDosDateTime")
variantTimeToSystemTime = doGetProcAddress(liboleaut32, "VariantTimeToSystemTime")
vectorFromBstr = doGetProcAddress(liboleaut32, "VectorFromBstr")
}
func BSTR_UserFree(pFlags *ULONG, pstr *BSTR) {
syscall3(bSTR_UserFree, 2,
uintptr(unsafe.Pointer(pFlags)),
uintptr(unsafe.Pointer(pstr)),
0)
}
func BSTR_UserSize(pFlags *ULONG, start ULONG, pstr *BSTR) ULONG {
ret1 := syscall3(bSTR_UserSize, 3,
uintptr(unsafe.Pointer(pFlags)),
uintptr(start),
uintptr(unsafe.Pointer(pstr)))
return ULONG(ret1)
}
func BstrFromVector(psa *SAFEARRAY, pbstr *BSTR) HRESULT {
ret1 := syscall3(bstrFromVector, 2,
uintptr(unsafe.Pointer(psa)),
uintptr(unsafe.Pointer(pbstr)),
0)
return HRESULT(ret1)
}
func ClearCustData(lpCust *CUSTDATA) {
syscall3(clearCustData, 1,
uintptr(unsafe.Pointer(lpCust)),
0,
0)
}
func CreateDispTypeInfo(pidata *INTERFACEDATA, lcid LCID, pptinfo **ITypeInfo) HRESULT {
ret1 := syscall3(createDispTypeInfo, 3,
uintptr(unsafe.Pointer(pidata)),
uintptr(lcid),
uintptr(unsafe.Pointer(pptinfo)))
return HRESULT(ret1)
}
func CreateErrorInfo(pperrinfo **ICreateErrorInfo) HRESULT {
ret1 := syscall3(createErrorInfo, 1,
uintptr(unsafe.Pointer(pperrinfo)),
0,
0)
return HRESULT(ret1)
}
func CreateStdDispatch(punkOuter *IUnknown, pvThis uintptr, ptinfo *ITypeInfo, stddisp **IUnknown) HRESULT {
ret1 := syscall6(createStdDispatch, 4,
uintptr(unsafe.Pointer(punkOuter)),
pvThis,
uintptr(unsafe.Pointer(ptinfo)),
uintptr(unsafe.Pointer(stddisp)),
0,
0)
return HRESULT(ret1)
}
func CreateTypeLib(syskind SYSKIND, szFile /*const*/ LPCOLESTR, ppctlib **ICreateTypeLib) HRESULT {
ret1 := syscall3(createTypeLib, 3,
uintptr(syskind),
uintptr(unsafe.Pointer(szFile)),
uintptr(unsafe.Pointer(ppctlib)))
return HRESULT(ret1)
}
func CreateTypeLib2(syskind SYSKIND, szFile /*const*/ LPCOLESTR, ppctlib **ICreateTypeLib2) HRESULT {
ret1 := syscall3(createTypeLib2, 3,
uintptr(syskind),
uintptr(unsafe.Pointer(szFile)),
uintptr(unsafe.Pointer(ppctlib)))
return HRESULT(ret1)
}
func DispCallFunc(pvInstance uintptr, oVft *uint32, cc CALLCONV, vtReturn VARTYPE, cActuals UINT, prgvt *VARTYPE, prgpvarg **VARIANTARG, pvargResult *VARIANT) HRESULT {
ret1 := syscall9(dispCallFunc, 8,
pvInstance,
uintptr(unsafe.Pointer(oVft)),
uintptr(cc),
uintptr(vtReturn),
uintptr(cActuals),
uintptr(unsafe.Pointer(prgvt)),
uintptr(unsafe.Pointer(prgpvarg)),
uintptr(unsafe.Pointer(pvargResult)),
0)
return HRESULT(ret1)
}
func DispGetIDsOfNames(ptinfo *ITypeInfo, rgszNames **OLECHAR, cNames UINT, rgdispid *DISPID) HRESULT {
ret1 := syscall6(dispGetIDsOfNames, 4,
uintptr(unsafe.Pointer(ptinfo)),
uintptr(unsafe.Pointer(rgszNames)),
uintptr(cNames),
uintptr(unsafe.Pointer(rgdispid)),
0,
0)
return HRESULT(ret1)
}
func DispGetParam(pdispparams *DISPPARAMS, position UINT, vtTarg VARTYPE, pvarResult *VARIANT, puArgErr *UINT) HRESULT {
ret1 := syscall6(dispGetParam, 5,
uintptr(unsafe.Pointer(pdispparams)),
uintptr(position),
uintptr(vtTarg),
uintptr(unsafe.Pointer(pvarResult)),
uintptr(unsafe.Pointer(puArgErr)),
0)
return HRESULT(ret1)
}
func DispInvoke(_this uintptr, ptinfo *ITypeInfo, dispidMember DISPID, wFlags USHORT, pparams *DISPPARAMS, pvarResult *VARIANT, pexcepinfo *EXCEPINFO, puArgErr *UINT) HRESULT {
ret1 := syscall9(dispInvoke, 8,
_this,
uintptr(unsafe.Pointer(ptinfo)),
uintptr(dispidMember),
uintptr(wFlags),
uintptr(unsafe.Pointer(pparams)),
uintptr(unsafe.Pointer(pvarResult)),
uintptr(unsafe.Pointer(pexcepinfo)),
uintptr(unsafe.Pointer(puArgErr)),
0)
return HRESULT(ret1)
}
func DosDateTimeToVariantTime(wDosDate USHORT, wDosTime USHORT, pDateOut *float64) INT {
ret1 := syscall3(dosDateTimeToVariantTime, 3,
uintptr(wDosDate),
uintptr(wDosTime),
uintptr(unsafe.Pointer(pDateOut)))
return INT(ret1)
}
func GetErrorInfo(dwReserved ULONG, pperrinfo **IErrorInfo) HRESULT {
ret1 := syscall3(getErrorInfo, 2,
uintptr(dwReserved),
uintptr(unsafe.Pointer(pperrinfo)),
0)
return HRESULT(ret1)
}
func GetRecordInfoFromGuids(rGuidTypeLib REFGUID, uVerMajor ULONG, uVerMinor ULONG, lcid LCID, rGuidTypeInfo REFGUID, ppRecInfo **IRecordInfo) HRESULT {
ret1 := syscall6(getRecordInfoFromGuids, 6,
uintptr(unsafe.Pointer(rGuidTypeLib)),
uintptr(uVerMajor),
uintptr(uVerMinor),
uintptr(lcid),
uintptr(unsafe.Pointer(rGuidTypeInfo)),
uintptr(unsafe.Pointer(ppRecInfo)))
return HRESULT(ret1)
}
func GetRecordInfoFromTypeInfo(pTI *ITypeInfo, ppRecInfo **IRecordInfo) HRESULT {
ret1 := syscall3(getRecordInfoFromTypeInfo, 2,
uintptr(unsafe.Pointer(pTI)),
uintptr(unsafe.Pointer(ppRecInfo)),
0)
return HRESULT(ret1)
}
func LHashValOfNameSysA(skind SYSKIND, lcid LCID, lpStr /*const*/ LPCSTR) ULONG {
ret1 := syscall3(lHashValOfNameSysA, 3,
uintptr(skind),
uintptr(lcid),
uintptr(unsafe.Pointer(lpStr)))
return ULONG(ret1)
}
func LPSAFEARRAY_UserFree(pFlags *ULONG, ppsa *LPSAFEARRAY) {
syscall3(lPSAFEARRAY_UserFree, 2,
uintptr(unsafe.Pointer(pFlags)),
uintptr(unsafe.Pointer(ppsa)),
0)
}
func LPSAFEARRAY_UserSize(pFlags *ULONG, startingSize ULONG, ppsa *LPSAFEARRAY) ULONG {
ret1 := syscall3(lPSAFEARRAY_UserSize, 3,
uintptr(unsafe.Pointer(pFlags)),
uintptr(startingSize),
uintptr(unsafe.Pointer(ppsa)))
return ULONG(ret1)
}
func LoadRegTypeLib(rguid REFGUID, wVerMajor WORD, wVerMinor WORD, lcid LCID, ppTLib **ITypeLib) HRESULT {
ret1 := syscall6(loadRegTypeLib, 5,
uintptr(unsafe.Pointer(rguid)),
uintptr(wVerMajor),
uintptr(wVerMinor),
uintptr(lcid),
uintptr(unsafe.Pointer(ppTLib)),
0)
return HRESULT(ret1)
}
func LoadTypeLib(szFile /*const*/ *OLECHAR, pptLib **ITypeLib) HRESULT {
ret1 := syscall3(loadTypeLib, 2,
uintptr(unsafe.Pointer(szFile)),
uintptr(unsafe.Pointer(pptLib)),
0)
return HRESULT(ret1)
}
func LoadTypeLibEx(szFile /*const*/ LPCOLESTR, regkind REGKIND, pptLib **ITypeLib) HRESULT {
ret1 := syscall3(loadTypeLibEx, 3,
uintptr(unsafe.Pointer(szFile)),
uintptr(regkind),
uintptr(unsafe.Pointer(pptLib)))
return HRESULT(ret1)
}
func OaBuildVersion() ULONG {
ret1 := syscall3(oaBuildVersion, 0,
0,
0,
0)
return ULONG(ret1)
}
func OleCreateFontIndirect(lpFontDesc *FONTDESC, riid REFIID, ppvObj *LPVOID) HRESULT {
ret1 := syscall3(oleCreateFontIndirect, 3,
uintptr(unsafe.Pointer(lpFontDesc)),
uintptr(unsafe.Pointer(riid)),
uintptr(unsafe.Pointer(ppvObj)))
return HRESULT(ret1)
}
func OleCreatePictureIndirect(lpPictDesc *PICTDESC, riid REFIID, own bool, ppvObj uintptr) HRESULT {
ret1 := syscall6(oleCreatePictureIndirect, 4,
uintptr(unsafe.Pointer(lpPictDesc)),
uintptr(unsafe.Pointer(riid)),
getUintptrFromBool(own),
ppvObj,
0,