-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathshdocvw_1_1_tlb.pas
3903 lines (3709 loc) · 211 KB
/
shdocvw_1_1_tlb.pas
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
Unit SHDocVw_1_1_TLB;
// Imported SHDocVw on 26/04/2017 0:02:00 from C:\Windows\SysWOW64\ieframe.dll
{$mode delphi}{$H+}
interface
// Warning: renamed property 'Type' in IWebBrowser to 'Type_'
// Dependency: stdole v2 (stdole2.pas)
// Warning: 'GUID' not automatable in IWebBrowserdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowserdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowserdisp.GetTypeInfo
// Warning: 'GUID' not automatable in IWebBrowserdisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IWebBrowserdisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IWebBrowserdisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IWebBrowserdisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IWebBrowserdisp.Invoke
// Warning: renamed parameter 'Text' in DWebBrowserEvents.StatusTextChange to 'Text_'
// Warning: renamed parameter 'Text' in DWebBrowserEvents.TitleChange to 'Text_'
// Warning: renamed parameter 'Property' in DWebBrowserEvents.PropertyChange to 'Property_'
// Warning: renamed parameter 'Property' in IWebBrowserApp.PutProperty to 'Property_'
// Warning: renamed parameter 'Property' in IWebBrowserApp.GetProperty to 'Property_'
// Warning: 'GUID' not automatable in IWebBrowserAppdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowserAppdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowserAppdisp.GetTypeInfo
// Warning: 'GUID' not automatable in IWebBrowserAppdisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IWebBrowserAppdisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IWebBrowserAppdisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IWebBrowserAppdisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IWebBrowserAppdisp.Invoke
// Warning: renamed property 'Type' in IWebBrowserApp to 'Type_'
// Warning: renamed parameter 'Property' in IWebBrowserApp.PutProperty to 'Property_'
// Warning: renamed parameter 'Property' in IWebBrowserApp.GetProperty to 'Property_'
// Warning: 'GUID' not automatable in IWebBrowser2disp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowser2disp.QueryInterface
// Warning: 'Ppointer' not automatable in IWebBrowser2disp.GetTypeInfo
// Warning: 'GUID' not automatable in IWebBrowser2disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IWebBrowser2disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IWebBrowser2disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IWebBrowser2disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IWebBrowser2disp.Invoke
// Warning: renamed property 'Type' in IWebBrowser2 to 'Type_'
// Warning: renamed parameter 'Property' in IWebBrowser2.PutProperty to 'Property_'
// Warning: renamed parameter 'Property' in IWebBrowser2.GetProperty to 'Property_'
// Warning: renamed parameter 'Text' in DWebBrowserEvents2.StatusTextChange to 'Text_'
// Warning: renamed parameter 'Text' in DWebBrowserEvents2.TitleChange to 'Text_'
// Warning: 'GUID' not automatable in IShellWindowsdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellWindowsdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellWindowsdisp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellWindowsdisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellWindowsdisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellWindowsdisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellWindowsdisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellWindowsdisp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper.AddDesktopComponent to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelperdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelperdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelperdisp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelperdisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelperdisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelperdisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelperdisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelperdisp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper.AddDesktopComponent to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper2disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper2disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper2disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper2disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper2disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper2disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper2disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper2disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper2.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper3.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper3disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper3disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper3disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper3disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper3disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper3disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper3disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper3disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper3.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper3.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper4disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper4disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper4disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper4disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper4disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper4disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper4disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper4disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper4.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper4.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper5disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper5disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper5disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper5disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper5disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper5disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper5disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper5disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper5.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper5.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper6disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper6disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper6disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper6disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper6disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper6disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper6disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper6disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper6.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper6.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper7disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper7disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper7disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper7disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper7disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper7disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper7disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper7disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper7.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper7.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellUIHelper8disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper8disp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellUIHelper8disp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellUIHelper8disp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellUIHelper8disp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellUIHelper8disp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellUIHelper8disp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellUIHelper8disp.Invoke
// Warning: renamed parameter 'Type' in IShellUIHelper8.AddDesktopComponent to 'Type_'
// Warning: renamed parameter 'Type' in IShellUIHelper8.AddToFavoritesBar to 'Type_'
// Warning: 'GUID' not automatable in IShellFavoritesNameSpacedisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellFavoritesNameSpacedisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellFavoritesNameSpacedisp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellFavoritesNameSpacedisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellFavoritesNameSpacedisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellFavoritesNameSpacedisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellFavoritesNameSpacedisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellFavoritesNameSpacedisp.Invoke
// Warning: renamed parameter 'var' in IShellNameSpace.Expand to 'var_'
// Warning: 'GUID' not automatable in IShellNameSpacedisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellNameSpacedisp.QueryInterface
// Warning: 'Ppointer' not automatable in IShellNameSpacedisp.GetTypeInfo
// Warning: 'GUID' not automatable in IShellNameSpacedisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IShellNameSpacedisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IShellNameSpacedisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IShellNameSpacedisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IShellNameSpacedisp.Invoke
// Warning: renamed parameter 'var' in IShellNameSpace.Expand to 'var_'
// Warning: 'GUID' not automatable in IScriptErrorListdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IScriptErrorListdisp.QueryInterface
// Warning: 'Ppointer' not automatable in IScriptErrorListdisp.GetTypeInfo
// Warning: 'GUID' not automatable in IScriptErrorListdisp.GetIDsOfNames
// Warning: 'PShortInt' not automatable in IScriptErrorListdisp.GetIDsOfNames
// Warning: 'GUID' not automatable in IScriptErrorListdisp.Invoke
// Warning: 'DISPPARAMS' not automatable in IScriptErrorListdisp.Invoke
// Warning: 'EXCEPINFO' not automatable in IScriptErrorListdisp.Invoke
Uses
Windows,ActiveX,Classes,Variants,stdole2,EventSink;
Const
SHDocVwMajorVersion = 1;
SHDocVwMinorVersion = 1;
SHDocVwLCID = 0;
LIBID_SHDocVw : TGUID = '{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}';
IID_IWebBrowser : TGUID = '{EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B}';
IID_DWebBrowserEvents : TGUID = '{EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B}';
IID_IWebBrowserApp : TGUID = '{0002DF05-0000-0000-C000-000000000046}';
IID_IWebBrowser2 : TGUID = '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}';
IID_DWebBrowserEvents2 : TGUID = '{34A715A0-6587-11D0-924A-0020AFC7AC4D}';
CLASS_WebBrowser_V1 : TGUID = '{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}';
CLASS_WebBrowser : TGUID = '{8856F961-340A-11D0-A96B-00C04FD705A2}';
CLASS_InternetExplorer : TGUID = '{0002DF01-0000-0000-C000-000000000046}';
CLASS_InternetExplorerMedium : TGUID = '{D5E8041D-920F-45E9-B8FB-B1DEB82C6E5E}';
CLASS_ShellBrowserWindow : TGUID = '{C08AFD90-F2A1-11D1-8455-00A0C91F3880}';
IID_DShellWindowsEvents : TGUID = '{FE4106E0-399A-11D0-A48C-00A0C90A8F39}';
IID_IShellWindows : TGUID = '{85CB6900-4D95-11CF-960C-0080C7F4EE85}';
CLASS_ShellWindows : TGUID = '{9BA05972-F6A8-11CF-A442-00A0C90A8F39}';
IID_IShellUIHelper : TGUID = '{729FE2F8-1EA8-11D1-8F85-00C04FC2FBE1}';
IID_IShellUIHelper2 : TGUID = '{A7FE6EDA-1932-4281-B881-87B31B8BC52C}';
IID_IShellUIHelper3 : TGUID = '{528DF2EC-D419-40BC-9B6D-DCDBF9C1B25D}';
IID_IShellUIHelper4 : TGUID = '{B36E6A53-8073-499E-824C-D776330A333E}';
IID_IShellUIHelper5 : TGUID = '{A2A08B09-103D-4D3F-B91C-EA455CA82EFA}';
IID_IShellUIHelper6 : TGUID = '{987A573E-46EE-4E89-96AB-DDF7F8FDC98C}';
IID_IShellUIHelper7 : TGUID = '{60E567C8-9573-4AB2-A264-637C6C161CB1}';
IID_IShellUIHelper8 : TGUID = '{66DEBCF2-05B0-4F07-B49B-B96241A65DB2}';
CLASS_ShellUIHelper : TGUID = '{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}';
IID_DShellNameSpaceEvents : TGUID = '{55136806-B2DE-11D1-B9F2-00A0C98BC547}';
IID_IShellFavoritesNameSpace : TGUID = '{55136804-B2DE-11D1-B9F2-00A0C98BC547}';
IID_IShellNameSpace : TGUID = '{E572D3C9-37BE-4AE2-825D-D521763E3108}';
CLASS_ShellNameSpace : TGUID = '{55136805-B2DE-11D1-B9F2-00A0C98BC547}';
IID_IScriptErrorList : TGUID = '{F3470F24-15FD-11D2-BB2E-00805FF7EFCA}';
CLASS_CScriptErrorList : TGUID = '{EFD01300-160F-11D2-BB2E-00805FF7EFCA}';
//Enums
Type
CommandStateChangeConstants =LongWord;
Const
CSC_UPDATECOMMANDS = $00000000FFFFFFFF;
CSC_NAVIGATEFORWARD = $0000000000000001;
CSC_NAVIGATEBACK = $0000000000000002;
Type
OLECMDID =LongWord;
Const
OLECMDID_OPEN = $0000000000000001;
OLECMDID_NEW = $0000000000000002;
OLECMDID_SAVE = $0000000000000003;
OLECMDID_SAVEAS = $0000000000000004;
OLECMDID_SAVECOPYAS = $0000000000000005;
OLECMDID_PRINT = $0000000000000006;
OLECMDID_PRINTPREVIEW = $0000000000000007;
OLECMDID_PAGESETUP = $0000000000000008;
OLECMDID_SPELL = $0000000000000009;
OLECMDID_PROPERTIES = $000000000000000A;
OLECMDID_CUT = $000000000000000B;
OLECMDID_COPY = $000000000000000C;
OLECMDID_PASTE = $000000000000000D;
OLECMDID_PASTESPECIAL = $000000000000000E;
OLECMDID_UNDO = $000000000000000F;
OLECMDID_REDO = $0000000000000010;
OLECMDID_SELECTALL = $0000000000000011;
OLECMDID_CLEARSELECTION = $0000000000000012;
OLECMDID_ZOOM = $0000000000000013;
OLECMDID_GETZOOMRANGE = $0000000000000014;
OLECMDID_UPDATECOMMANDS = $0000000000000015;
OLECMDID_REFRESH = $0000000000000016;
OLECMDID_STOP = $0000000000000017;
OLECMDID_HIDETOOLBARS = $0000000000000018;
OLECMDID_SETPROGRESSMAX = $0000000000000019;
OLECMDID_SETPROGRESSPOS = $000000000000001A;
OLECMDID_SETPROGRESSTEXT = $000000000000001B;
OLECMDID_SETTITLE = $000000000000001C;
OLECMDID_SETDOWNLOADSTATE = $000000000000001D;
OLECMDID_STOPDOWNLOAD = $000000000000001E;
OLECMDID_ONTOOLBARACTIVATED = $000000000000001F;
OLECMDID_FIND = $0000000000000020;
OLECMDID_DELETE = $0000000000000021;
OLECMDID_HTTPEQUIV = $0000000000000022;
OLECMDID_HTTPEQUIV_DONE = $0000000000000023;
OLECMDID_ENABLE_INTERACTION = $0000000000000024;
OLECMDID_ONUNLOAD = $0000000000000025;
OLECMDID_PROPERTYBAG2 = $0000000000000026;
OLECMDID_PREREFRESH = $0000000000000027;
OLECMDID_SHOWSCRIPTERROR = $0000000000000028;
OLECMDID_SHOWMESSAGE = $0000000000000029;
OLECMDID_SHOWFIND = $000000000000002A;
OLECMDID_SHOWPAGESETUP = $000000000000002B;
OLECMDID_SHOWPRINT = $000000000000002C;
OLECMDID_CLOSE = $000000000000002D;
OLECMDID_ALLOWUILESSSAVEAS = $000000000000002E;
OLECMDID_DONTDOWNLOADCSS = $000000000000002F;
OLECMDID_UPDATEPAGESTATUS = $0000000000000030;
OLECMDID_PRINT2 = $0000000000000031;
OLECMDID_PRINTPREVIEW2 = $0000000000000032;
OLECMDID_SETPRINTTEMPLATE = $0000000000000033;
OLECMDID_GETPRINTTEMPLATE = $0000000000000034;
OLECMDID_PAGEACTIONBLOCKED = $0000000000000037;
OLECMDID_PAGEACTIONUIQUERY = $0000000000000038;
OLECMDID_FOCUSVIEWCONTROLS = $0000000000000039;
OLECMDID_FOCUSVIEWCONTROLSQUERY = $000000000000003A;
OLECMDID_SHOWPAGEACTIONMENU = $000000000000003B;
OLECMDID_ADDTRAVELENTRY = $000000000000003C;
OLECMDID_UPDATETRAVELENTRY = $000000000000003D;
OLECMDID_UPDATEBACKFORWARDSTATE = $000000000000003E;
OLECMDID_OPTICAL_ZOOM = $000000000000003F;
OLECMDID_OPTICAL_GETZOOMRANGE = $0000000000000040;
OLECMDID_WINDOWSTATECHANGED = $0000000000000041;
OLECMDID_ACTIVEXINSTALLSCOPE = $0000000000000042;
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = $0000000000000043;
OLECMDID_SHOWTASKDLG = $0000000000000044;
OLECMDID_POPSTATEEVENT = $0000000000000045;
OLECMDID_VIEWPORT_MODE = $0000000000000046;
OLECMDID_LAYOUT_VIEWPORT_WIDTH = $0000000000000047;
OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = $0000000000000048;
OLECMDID_USER_OPTICAL_ZOOM = $0000000000000049;
OLECMDID_PAGEAVAILABLE = $000000000000004A;
OLECMDID_GETUSERSCALABLE = $000000000000004B;
OLECMDID_UPDATE_CARET = $000000000000004C;
OLECMDID_ENABLE_VISIBILITY = $000000000000004D;
OLECMDID_MEDIA_PLAYBACK = $000000000000004E;
OLECMDID_SETFAVICON = $000000000000004F;
OLECMDID_SET_HOST_FULLSCREENMODE = $0000000000000050;
OLECMDID_EXITFULLSCREEN = $0000000000000051;
OLECMDID_SCROLLCOMPLETE = $0000000000000052;
OLECMDID_ONBEFOREUNLOAD = $0000000000000053;
OLECMDID_SHOWMESSAGE_BLOCKABLE = $0000000000000054;
OLECMDID_SHOWTASKDLG_BLOCKABLE = $0000000000000055;
Type
OLECMDF =LongWord;
Const
OLECMDF_SUPPORTED = $0000000000000001;
OLECMDF_ENABLED = $0000000000000002;
OLECMDF_LATCHED = $0000000000000004;
OLECMDF_NINCHED = $0000000000000008;
OLECMDF_INVISIBLE = $0000000000000010;
OLECMDF_DEFHIDEONCTXTMENU = $0000000000000020;
Type
OLECMDEXECOPT =LongWord;
Const
OLECMDEXECOPT_DODEFAULT = $0000000000000000;
OLECMDEXECOPT_PROMPTUSER = $0000000000000001;
OLECMDEXECOPT_DONTPROMPTUSER = $0000000000000002;
OLECMDEXECOPT_SHOWHELP = $0000000000000003;
Type
tagREADYSTATE =LongWord;
Const
READYSTATE_UNINITIALIZED = $0000000000000000;
READYSTATE_LOADING = $0000000000000001;
READYSTATE_LOADED = $0000000000000002;
READYSTATE_INTERACTIVE = $0000000000000003;
READYSTATE_COMPLETE = $0000000000000004;
Type
SecureLockIconConstants =LongWord;
Const
secureLockIconUnsecure = $0000000000000000;
secureLockIconMixed = $0000000000000001;
secureLockIconSecureUnknownBits = $0000000000000002;
secureLockIconSecure40Bit = $0000000000000003;
secureLockIconSecure56Bit = $0000000000000004;
secureLockIconSecureFortezza = $0000000000000005;
secureLockIconSecure128Bit = $0000000000000006;
Type
NewProcessCauseConstants =LongWord;
Const
ProtectedModeRedirect = $0000000000000001;
Type
ShellWindowTypeConstants =LongWord;
Const
SWC_EXPLORER = $0000000000000000;
SWC_BROWSER = $0000000000000001;
SWC_3RDPARTY = $0000000000000002;
SWC_CALLBACK = $0000000000000004;
SWC_DESKTOP = $0000000000000008;
Type
ShellWindowFindWindowOptions =LongWord;
Const
SWFO_NEEDDISPATCH = $0000000000000001;
SWFO_INCLUDEPENDING = $0000000000000002;
SWFO_COOKIEPASSED = $0000000000000004;
//Forward declarations
Type
IWebBrowser = interface;
IWebBrowserDisp = dispinterface;
DWebBrowserEvents = dispinterface;
IWebBrowserApp = interface;
IWebBrowserAppDisp = dispinterface;
IWebBrowser2 = interface;
IWebBrowser2Disp = dispinterface;
DWebBrowserEvents2 = dispinterface;
DShellWindowsEvents = dispinterface;
IShellWindows = interface;
IShellWindowsDisp = dispinterface;
IShellUIHelper = interface;
IShellUIHelperDisp = dispinterface;
IShellUIHelper2 = interface;
IShellUIHelper2Disp = dispinterface;
IShellUIHelper3 = interface;
IShellUIHelper3Disp = dispinterface;
IShellUIHelper4 = interface;
IShellUIHelper4Disp = dispinterface;
IShellUIHelper5 = interface;
IShellUIHelper5Disp = dispinterface;
IShellUIHelper6 = interface;
IShellUIHelper6Disp = dispinterface;
IShellUIHelper7 = interface;
IShellUIHelper7Disp = dispinterface;
IShellUIHelper8 = interface;
IShellUIHelper8Disp = dispinterface;
DShellNameSpaceEvents = dispinterface;
IShellFavoritesNameSpace = interface;
IShellFavoritesNameSpaceDisp = dispinterface;
IShellNameSpace = interface;
IShellNameSpaceDisp = dispinterface;
IScriptErrorList = interface;
IScriptErrorListDisp = dispinterface;
//Map CoClass to its default interface
WebBrowser_V1 = IWebBrowser;
WebBrowser = IWebBrowser2;
InternetExplorer = IWebBrowser2;
InternetExplorerMedium = IWebBrowser2;
ShellBrowserWindow = IWebBrowser2;
ShellWindows = IShellWindows;
ShellUIHelper = IShellUIHelper8;
ShellNameSpace = IShellNameSpace;
CScriptErrorList = IScriptErrorList;
//records, unions, aliases
//interface declarations
// IWebBrowser : Web Browser interface
IWebBrowser = interface(IDispatch)
['{EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B}']
// GoBack : Navigates to the previous item in the history list.
procedure GoBack;safecall;
// GoForward : Navigates to the next item in the history list.
procedure GoForward;safecall;
// GoHome : Go home/start page.
procedure GoHome;safecall;
// GoSearch : Go Search Page.
procedure GoSearch;safecall;
// Navigate : Navigates to a URL or file.
procedure Navigate(URL:WideString;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);safecall;
// Refresh : Refresh the currently viewed page.
procedure Refresh;safecall;
// Refresh2 : Refresh the currently viewed page.
procedure Refresh2(var Level:OleVariant);safecall;
// Stop : Stops opening a file.
procedure Stop;safecall;
function Get_Application : IDispatch; safecall;
function Get_Parent : IDispatch; safecall;
function Get_Container : IDispatch; safecall;
function Get_Document : IDispatch; safecall;
function Get_TopLevelContainer : WordBool; safecall;
function Get_Type_ : WideString; safecall;
function Get_Left : Integer; safecall;
procedure Set_Left(const pl:Integer); safecall;
function Get_Top : Integer; safecall;
procedure Set_Top(const pl:Integer); safecall;
function Get_Width : Integer; safecall;
procedure Set_Width(const pl:Integer); safecall;
function Get_Height : Integer; safecall;
procedure Set_Height(const pl:Integer); safecall;
function Get_LocationName : WideString; safecall;
function Get_LocationURL : WideString; safecall;
function Get_Busy : WordBool; safecall;
// Application : Returns the application automation object if accessible, this automation object otherwise..
property Application:IDispatch read Get_Application;
// Parent : Returns the automation object of the container/parent if one exists or this automation object.
property Parent:IDispatch read Get_Parent;
// Container : Returns the container/parent automation object, if any.
property Container:IDispatch read Get_Container;
// Document : Returns the active Document automation object, if any.
property Document:IDispatch read Get_Document;
// TopLevelContainer : Returns True if this is the top level object.
property TopLevelContainer:WordBool read Get_TopLevelContainer;
// Type : Returns the type of the contained document object.
property Type_:WideString read Get_Type_;
// Left : The horizontal position (pixels) of the frame window relative to the screen/container.
property Left:Integer read Get_Left write Set_Left;
// Top : The vertical position (pixels) of the frame window relative to the screen/container.
property Top:Integer read Get_Top write Set_Top;
// Width : The horizontal dimension (pixels) of the frame window/object.
property Width:Integer read Get_Width write Set_Width;
// Height : The vertical dimension (pixels) of the frame window/object.
property Height:Integer read Get_Height write Set_Height;
// LocationName : Gets the short (UI-friendly) name of the URL/file currently viewed.
property LocationName:WideString read Get_LocationName;
// LocationURL : Gets the full URL/path currently viewed.
property LocationURL:WideString read Get_LocationURL;
// Busy : Query to see if something is still in progress.
property Busy:WordBool read Get_Busy;
end;
// IWebBrowser : Web Browser interface
IWebBrowserDisp = dispinterface
['{EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B}']
// QueryInterface :
procedure QueryInterface(var riid:{!! GUID !!} OleVariant;out ppvObj:{!! Ppointer !!} OleVariant);dispid 1610612736;
// AddRef :
function AddRef:LongWord;dispid 1610612737;
// Release :
function Release:LongWord;dispid 1610612738;
// GetTypeInfoCount :
procedure GetTypeInfoCount(out pctinfo:UInt);dispid 1610678272;
// GetTypeInfo :
procedure GetTypeInfo(itinfo:UInt;lcid:LongWord;out pptinfo:{!! Ppointer !!} OleVariant);dispid 1610678273;
// GetIDsOfNames :
procedure GetIDsOfNames(var riid:{!! GUID !!} OleVariant;var rgszNames:{!! PShortInt !!} OleVariant;cNames:UInt;lcid:LongWord;out rgdispid:Integer);dispid 1610678274;
// Invoke :
procedure Invoke(dispidMember:Integer;var riid:{!! GUID !!} OleVariant;lcid:LongWord;wFlags:Word;var pdispparams:{!! DISPPARAMS !!} OleVariant;out pvarResult:OleVariant;out pexcepinfo:{!! EXCEPINFO !!} OleVariant;out puArgErr:UInt);dispid 1610678275;
// GoBack : Navigates to the previous item in the history list.
procedure GoBack;dispid 100;
// GoForward : Navigates to the next item in the history list.
procedure GoForward;dispid 101;
// GoHome : Go home/start page.
procedure GoHome;dispid 102;
// GoSearch : Go Search Page.
procedure GoSearch;dispid 103;
// Navigate : Navigates to a URL or file.
procedure Navigate(URL:WideString;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);dispid 104;
// Refresh : Refresh the currently viewed page.
procedure Refresh;dispid -550;
// Refresh2 : Refresh the currently viewed page.
procedure Refresh2(var Level:OleVariant);dispid 105;
// Stop : Stops opening a file.
procedure Stop;dispid 106;
// Application : Returns the application automation object if accessible, this automation object otherwise..
property Application:IDispatch readonly dispid 200;
// Parent : Returns the automation object of the container/parent if one exists or this automation object.
property Parent:IDispatch readonly dispid 201;
// Container : Returns the container/parent automation object, if any.
property Container:IDispatch readonly dispid 202;
// Document : Returns the active Document automation object, if any.
property Document:IDispatch readonly dispid 203;
// TopLevelContainer : Returns True if this is the top level object.
property TopLevelContainer:WordBool readonly dispid 204;
// Type : Returns the type of the contained document object.
property Type_:WideString readonly dispid 205;
// Left : The horizontal position (pixels) of the frame window relative to the screen/container.
property Left:Integer dispid 206;
// Top : The vertical position (pixels) of the frame window relative to the screen/container.
property Top:Integer dispid 207;
// Width : The horizontal dimension (pixels) of the frame window/object.
property Width:Integer dispid 208;
// Height : The vertical dimension (pixels) of the frame window/object.
property Height:Integer dispid 209;
// LocationName : Gets the short (UI-friendly) name of the URL/file currently viewed.
property LocationName:WideString readonly dispid 210;
// LocationURL : Gets the full URL/path currently viewed.
property LocationURL:WideString readonly dispid 211;
// Busy : Query to see if something is still in progress.
property Busy:WordBool readonly dispid 212;
end;
// DWebBrowserEvents : Web Browser Control Events (old)
DWebBrowserEvents = dispinterface
['{EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B}']
// BeforeNavigate : Fired when a new hyperlink is being navigated to.
procedure BeforeNavigate(URL:WideString;Flags:Integer;TargetFrameName:WideString;PostData:OleVariant;Headers:WideString;var Cancel:WordBool);dispid 100;
// NavigateComplete : Fired when the document being navigated to becomes visible and enters the navigation stack.
procedure NavigateComplete(URL:WideString);dispid 101;
// StatusTextChange : Statusbar text changed.
procedure StatusTextChange(Text_:WideString);dispid 102;
// ProgressChange : Fired when download progress is updated.
procedure ProgressChange(Progress:Integer;ProgressMax:Integer);dispid 108;
// DownloadComplete : Download of page complete.
procedure DownloadComplete;dispid 104;
// CommandStateChange : The enabled state of a command changed
procedure CommandStateChange(Command:Integer;Enable:WordBool);dispid 105;
// DownloadBegin : Download of a page started.
procedure DownloadBegin;dispid 106;
// NewWindow : Fired when a new window should be created.
procedure NewWindow(URL:WideString;Flags:Integer;TargetFrameName:WideString;var PostData:OleVariant;Headers:WideString;var Processed:WordBool);dispid 107;
// TitleChange : Document title changed.
procedure TitleChange(Text_:WideString);dispid 113;
// FrameBeforeNavigate : Fired when a new hyperlink is being navigated to in a frame.
procedure FrameBeforeNavigate(URL:WideString;Flags:Integer;TargetFrameName:WideString;PostData:OleVariant;Headers:WideString;var Cancel:WordBool);dispid 200;
// FrameNavigateComplete : Fired when a new hyperlink is being navigated to in a frame.
procedure FrameNavigateComplete(URL:WideString);dispid 201;
// FrameNewWindow : Fired when a new window should be created.
procedure FrameNewWindow(URL:WideString;Flags:Integer;TargetFrameName:WideString;var PostData:OleVariant;Headers:WideString;var Processed:WordBool);dispid 204;
// Quit : Fired when application is quiting.
procedure Quit(var Cancel:WordBool);dispid 103;
// WindowMove : Fired when window has been moved.
procedure WindowMove;dispid 109;
// WindowResize : Fired when window has been sized.
procedure WindowResize;dispid 110;
// WindowActivate : Fired when window has been activated.
procedure WindowActivate;dispid 111;
// PropertyChange : Fired when the PutProperty method has been called.
procedure PropertyChange(Property_:WideString);dispid 112;
end;
// IWebBrowserApp : Web Browser Application Interface.
IWebBrowserApp = interface(IWebBrowser)
['{0002DF05-0000-0000-C000-000000000046}']
// Quit : Exits application and closes the open document.
procedure Quit;safecall;
// ClientToWindow : Converts client sizes into window sizes.
procedure ClientToWindow(var pcx:SYSINT;var pcy:SYSINT);safecall;
// PutProperty : Associates vtValue with the name szProperty in the context of the object.
procedure PutProperty(Property_:WideString;vtValue:OleVariant);safecall;
// GetProperty : Retrieve the Associated value for the property vtValue in the context of the object.
function GetProperty(Property_:WideString):OleVariant;safecall;
function Get_Name : WideString; safecall;
function Get_HWND : Integer; safecall;
function Get_FullName : WideString; safecall;
function Get_Path : WideString; safecall;
function Get_Visible : WordBool; safecall;
procedure Set_Visible(const pBool:WordBool); safecall;
function Get_StatusBar : WordBool; safecall;
procedure Set_StatusBar(const pBool:WordBool); safecall;
function Get_StatusText : WideString; safecall;
procedure Set_StatusText(const StatusText:WideString); safecall;
function Get_ToolBar : SYSINT; safecall;
procedure Set_ToolBar(const Value:SYSINT); safecall;
function Get_MenuBar : WordBool; safecall;
procedure Set_MenuBar(const Value:WordBool); safecall;
function Get_FullScreen : WordBool; safecall;
procedure Set_FullScreen(const pbFullScreen:WordBool); safecall;
// Name : Returns name of the application.
property Name:WideString read Get_Name;
// HWND : Returns the HWND of the current IE window.
property HWND:Integer read Get_HWND;
// FullName : Returns file specification of the application, including path.
property FullName:WideString read Get_FullName;
// Path : Returns the path to the application.
property Path:WideString read Get_Path;
// Visible : Determines whether the application is visible or hidden.
property Visible:WordBool read Get_Visible write Set_Visible;
// StatusBar : Turn on or off the statusbar.
property StatusBar:WordBool read Get_StatusBar write Set_StatusBar;
// StatusText : Text of Status window.
property StatusText:WideString read Get_StatusText write Set_StatusText;
// ToolBar : Controls which toolbar is shown.
property ToolBar:SYSINT read Get_ToolBar write Set_ToolBar;
// MenuBar : Controls whether menubar is shown.
property MenuBar:WordBool read Get_MenuBar write Set_MenuBar;
// FullScreen : Maximizes window and turns off statusbar, toolbar, menubar, and titlebar.
property FullScreen:WordBool read Get_FullScreen write Set_FullScreen;
end;
// IWebBrowserApp : Web Browser Application Interface.
IWebBrowserAppDisp = dispinterface
['{0002DF05-0000-0000-C000-000000000046}']
// QueryInterface :
procedure QueryInterface(var riid:{!! GUID !!} OleVariant;out ppvObj:{!! Ppointer !!} OleVariant);dispid 1610612736;
// AddRef :
function AddRef:LongWord;dispid 1610612737;
// Release :
function Release:LongWord;dispid 1610612738;
// GetTypeInfoCount :
procedure GetTypeInfoCount(out pctinfo:UInt);dispid 1610678272;
// GetTypeInfo :
procedure GetTypeInfo(itinfo:UInt;lcid:LongWord;out pptinfo:{!! Ppointer !!} OleVariant);dispid 1610678273;
// GetIDsOfNames :
procedure GetIDsOfNames(var riid:{!! GUID !!} OleVariant;var rgszNames:{!! PShortInt !!} OleVariant;cNames:UInt;lcid:LongWord;out rgdispid:Integer);dispid 1610678274;
// Invoke :
procedure Invoke(dispidMember:Integer;var riid:{!! GUID !!} OleVariant;lcid:LongWord;wFlags:Word;var pdispparams:{!! DISPPARAMS !!} OleVariant;out pvarResult:OleVariant;out pexcepinfo:{!! EXCEPINFO !!} OleVariant;out puArgErr:UInt);dispid 1610678275;
// GoBack : Navigates to the previous item in the history list.
procedure GoBack;dispid 100;
// GoForward : Navigates to the next item in the history list.
procedure GoForward;dispid 101;
// GoHome : Go home/start page.
procedure GoHome;dispid 102;
// GoSearch : Go Search Page.
procedure GoSearch;dispid 103;
// Navigate : Navigates to a URL or file.
procedure Navigate(URL:WideString;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);dispid 104;
// Refresh : Refresh the currently viewed page.
procedure Refresh;dispid -550;
// Refresh2 : Refresh the currently viewed page.
procedure Refresh2(var Level:OleVariant);dispid 105;
// Stop : Stops opening a file.
procedure Stop;dispid 106;
// Quit : Exits application and closes the open document.
procedure Quit;dispid 300;
// ClientToWindow : Converts client sizes into window sizes.
procedure ClientToWindow(var pcx:SYSINT;var pcy:SYSINT);dispid 301;
// PutProperty : Associates vtValue with the name szProperty in the context of the object.
procedure PutProperty(Property_:WideString;vtValue:OleVariant);dispid 302;
// GetProperty : Retrieve the Associated value for the property vtValue in the context of the object.
function GetProperty(Property_:WideString):OleVariant;dispid 303;
// Application : Returns the application automation object if accessible, this automation object otherwise..
property Application:IDispatch readonly dispid 200;
// Parent : Returns the automation object of the container/parent if one exists or this automation object.
property Parent:IDispatch readonly dispid 201;
// Container : Returns the container/parent automation object, if any.
property Container:IDispatch readonly dispid 202;
// Document : Returns the active Document automation object, if any.
property Document:IDispatch readonly dispid 203;
// TopLevelContainer : Returns True if this is the top level object.
property TopLevelContainer:WordBool readonly dispid 204;
// Type : Returns the type of the contained document object.
property Type_:WideString readonly dispid 205;
// Left : The horizontal position (pixels) of the frame window relative to the screen/container.
property Left:Integer dispid 206;
// Top : The vertical position (pixels) of the frame window relative to the screen/container.
property Top:Integer dispid 207;
// Width : The horizontal dimension (pixels) of the frame window/object.
property Width:Integer dispid 208;
// Height : The vertical dimension (pixels) of the frame window/object.
property Height:Integer dispid 209;
// LocationName : Gets the short (UI-friendly) name of the URL/file currently viewed.
property LocationName:WideString readonly dispid 210;
// LocationURL : Gets the full URL/path currently viewed.
property LocationURL:WideString readonly dispid 211;
// Busy : Query to see if something is still in progress.
property Busy:WordBool readonly dispid 212;
// Name : Returns name of the application.
property Name:WideString readonly dispid 0;
// HWND : Returns the HWND of the current IE window.
property HWND:Integer readonly dispid -515;
// FullName : Returns file specification of the application, including path.
property FullName:WideString readonly dispid 400;
// Path : Returns the path to the application.
property Path:WideString readonly dispid 401;
// Visible : Determines whether the application is visible or hidden.
property Visible:WordBool dispid 402;
// StatusBar : Turn on or off the statusbar.
property StatusBar:WordBool dispid 403;
// StatusText : Text of Status window.
property StatusText:WideString dispid 404;
// ToolBar : Controls which toolbar is shown.
property ToolBar:SYSINT dispid 405;
// MenuBar : Controls whether menubar is shown.
property MenuBar:WordBool dispid 406;
// FullScreen : Maximizes window and turns off statusbar, toolbar, menubar, and titlebar.
property FullScreen:WordBool dispid 407;
end;
// IWebBrowser2 : Web Browser Interface for IE4.
IWebBrowser2 = interface(IWebBrowserApp)
['{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}']
// Navigate2 : Navigates to a URL or file or pidl.
procedure Navigate2(var URL:OleVariant;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);safecall;
// QueryStatusWB : IOleCommandTarget::QueryStatus
function QueryStatusWB(cmdID:OLECMDID):OLECMDF;safecall;
// ExecWB : IOleCommandTarget::Exec
procedure ExecWB(cmdID:OLECMDID;cmdexecopt:OLECMDEXECOPT;var pvaIn:OleVariant;var pvaOut:OleVariant);safecall;
// ShowBrowserBar : Set BrowserBar to Clsid
procedure ShowBrowserBar(var pvaClsid:OleVariant;var pvarShow:OleVariant;var pvarSize:OleVariant);safecall;
function Get_ReadyState : tagREADYSTATE; safecall;
function Get_Offline : WordBool; safecall;
procedure Set_Offline(const pbOffline:WordBool); safecall;
function Get_Silent : WordBool; safecall;
procedure Set_Silent(const pbSilent:WordBool); safecall;
function Get_RegisterAsBrowser : WordBool; safecall;
procedure Set_RegisterAsBrowser(const pbRegister:WordBool); safecall;
function Get_RegisterAsDropTarget : WordBool; safecall;
procedure Set_RegisterAsDropTarget(const pbRegister:WordBool); safecall;
function Get_TheaterMode : WordBool; safecall;
procedure Set_TheaterMode(const pbRegister:WordBool); safecall;
function Get_AddressBar : WordBool; safecall;
procedure Set_AddressBar(const Value:WordBool); safecall;
function Get_Resizable : WordBool; safecall;
procedure Set_Resizable(const Value:WordBool); safecall;
// ReadyState :
property ReadyState:tagREADYSTATE read Get_ReadyState;
// Offline : Controls if the frame is offline (read from cache)
property Offline:WordBool read Get_Offline write Set_Offline;
// Silent : Controls if any dialog boxes can be shown
property Silent:WordBool read Get_Silent write Set_Silent;
// RegisterAsBrowser : Registers OC as a top-level browser (for target name resolution)
property RegisterAsBrowser:WordBool read Get_RegisterAsBrowser write Set_RegisterAsBrowser;
// RegisterAsDropTarget : Registers OC as a drop target for navigation
property RegisterAsDropTarget:WordBool read Get_RegisterAsDropTarget write Set_RegisterAsDropTarget;
// TheaterMode : Controls if the browser is in theater mode
property TheaterMode:WordBool read Get_TheaterMode write Set_TheaterMode;
// AddressBar : Controls whether address bar is shown
property AddressBar:WordBool read Get_AddressBar write Set_AddressBar;
// Resizable : Controls whether the window is resizable
property Resizable:WordBool read Get_Resizable write Set_Resizable;
end;
// IWebBrowser2 : Web Browser Interface for IE4.
IWebBrowser2Disp = dispinterface
['{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}']
// QueryInterface :
procedure QueryInterface(var riid:{!! GUID !!} OleVariant;out ppvObj:{!! Ppointer !!} OleVariant);dispid 1610612736;
// AddRef :
function AddRef:LongWord;dispid 1610612737;
// Release :
function Release:LongWord;dispid 1610612738;
// GetTypeInfoCount :
procedure GetTypeInfoCount(out pctinfo:UInt);dispid 1610678272;
// GetTypeInfo :
procedure GetTypeInfo(itinfo:UInt;lcid:LongWord;out pptinfo:{!! Ppointer !!} OleVariant);dispid 1610678273;
// GetIDsOfNames :
procedure GetIDsOfNames(var riid:{!! GUID !!} OleVariant;var rgszNames:{!! PShortInt !!} OleVariant;cNames:UInt;lcid:LongWord;out rgdispid:Integer);dispid 1610678274;
// Invoke :
procedure Invoke(dispidMember:Integer;var riid:{!! GUID !!} OleVariant;lcid:LongWord;wFlags:Word;var pdispparams:{!! DISPPARAMS !!} OleVariant;out pvarResult:OleVariant;out pexcepinfo:{!! EXCEPINFO !!} OleVariant;out puArgErr:UInt);dispid 1610678275;
// GoBack : Navigates to the previous item in the history list.
procedure GoBack;dispid 100;
// GoForward : Navigates to the next item in the history list.
procedure GoForward;dispid 101;
// GoHome : Go home/start page.
procedure GoHome;dispid 102;
// GoSearch : Go Search Page.
procedure GoSearch;dispid 103;
// Navigate : Navigates to a URL or file.
procedure Navigate(URL:WideString;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);dispid 104;
// Refresh : Refresh the currently viewed page.
procedure Refresh;dispid -550;
// Refresh2 : Refresh the currently viewed page.
procedure Refresh2(var Level:OleVariant);dispid 105;
// Stop : Stops opening a file.
procedure Stop;dispid 106;
// Quit : Exits application and closes the open document.
procedure Quit;dispid 300;
// ClientToWindow : Converts client sizes into window sizes.
procedure ClientToWindow(var pcx:SYSINT;var pcy:SYSINT);dispid 301;
// PutProperty : Associates vtValue with the name szProperty in the context of the object.
procedure PutProperty(Property_:WideString;vtValue:OleVariant);dispid 302;
// GetProperty : Retrieve the Associated value for the property vtValue in the context of the object.
function GetProperty(Property_:WideString):OleVariant;dispid 303;
// Navigate2 : Navigates to a URL or file or pidl.
procedure Navigate2(var URL:OleVariant;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant);dispid 500;
// QueryStatusWB : IOleCommandTarget::QueryStatus
function QueryStatusWB(cmdID:OLECMDID):OLECMDF;dispid 501;
// ExecWB : IOleCommandTarget::Exec
procedure ExecWB(cmdID:OLECMDID;cmdexecopt:OLECMDEXECOPT;var pvaIn:OleVariant;var pvaOut:OleVariant);dispid 502;
// ShowBrowserBar : Set BrowserBar to Clsid
procedure ShowBrowserBar(var pvaClsid:OleVariant;var pvarShow:OleVariant;var pvarSize:OleVariant);dispid 503;
// Application : Returns the application automation object if accessible, this automation object otherwise..
property Application:IDispatch readonly dispid 200;
// Parent : Returns the automation object of the container/parent if one exists or this automation object.
property Parent:IDispatch readonly dispid 201;
// Container : Returns the container/parent automation object, if any.
property Container:IDispatch readonly dispid 202;
// Document : Returns the active Document automation object, if any.
property Document:IDispatch readonly dispid 203;
// TopLevelContainer : Returns True if this is the top level object.
property TopLevelContainer:WordBool readonly dispid 204;
// Type : Returns the type of the contained document object.
property Type_:WideString readonly dispid 205;
// Left : The horizontal position (pixels) of the frame window relative to the screen/container.
property Left:Integer dispid 206;
// Top : The vertical position (pixels) of the frame window relative to the screen/container.
property Top:Integer dispid 207;
// Width : The horizontal dimension (pixels) of the frame window/object.
property Width:Integer dispid 208;
// Height : The vertical dimension (pixels) of the frame window/object.
property Height:Integer dispid 209;
// LocationName : Gets the short (UI-friendly) name of the URL/file currently viewed.
property LocationName:WideString readonly dispid 210;
// LocationURL : Gets the full URL/path currently viewed.
property LocationURL:WideString readonly dispid 211;
// Busy : Query to see if something is still in progress.
property Busy:WordBool readonly dispid 212;
// Name : Returns name of the application.
property Name:WideString readonly dispid 0;
// HWND : Returns the HWND of the current IE window.
property HWND:Integer readonly dispid -515;
// FullName : Returns file specification of the application, including path.
property FullName:WideString readonly dispid 400;
// Path : Returns the path to the application.
property Path:WideString readonly dispid 401;
// Visible : Determines whether the application is visible or hidden.
property Visible:WordBool dispid 402;
// StatusBar : Turn on or off the statusbar.
property StatusBar:WordBool dispid 403;
// StatusText : Text of Status window.
property StatusText:WideString dispid 404;
// ToolBar : Controls which toolbar is shown.
property ToolBar:SYSINT dispid 405;
// MenuBar : Controls whether menubar is shown.
property MenuBar:WordBool dispid 406;
// FullScreen : Maximizes window and turns off statusbar, toolbar, menubar, and titlebar.
property FullScreen:WordBool dispid 407;
// ReadyState :
property ReadyState:tagREADYSTATE readonly dispid -525;
// Offline : Controls if the frame is offline (read from cache)
property Offline:WordBool dispid 550;
// Silent : Controls if any dialog boxes can be shown
property Silent:WordBool dispid 551;
// RegisterAsBrowser : Registers OC as a top-level browser (for target name resolution)
property RegisterAsBrowser:WordBool dispid 552;
// RegisterAsDropTarget : Registers OC as a drop target for navigation
property RegisterAsDropTarget:WordBool dispid 553;
// TheaterMode : Controls if the browser is in theater mode
property TheaterMode:WordBool dispid 554;
// AddressBar : Controls whether address bar is shown
property AddressBar:WordBool dispid 555;
// Resizable : Controls whether the window is resizable
property Resizable:WordBool dispid 556;
end;
// DWebBrowserEvents2 : Web Browser Control events interface
DWebBrowserEvents2 = dispinterface
['{34A715A0-6587-11D0-924A-0020AFC7AC4D}']
// StatusTextChange : Statusbar text changed.
procedure StatusTextChange(Text_:WideString);dispid 102;
// ProgressChange : Fired when download progress is updated.
procedure ProgressChange(Progress:Integer;ProgressMax:Integer);dispid 108;
// CommandStateChange : The enabled state of a command changed.
procedure CommandStateChange(Command:Integer;Enable:WordBool);dispid 105;
// DownloadBegin : Download of a page started.
procedure DownloadBegin;dispid 106;
// DownloadComplete : Download of page complete.
procedure DownloadComplete;dispid 104;
// TitleChange : Document title changed.
procedure TitleChange(Text_:WideString);dispid 113;
// PropertyChange : Fired when the PutProperty method has been called.
procedure PropertyChange(szProperty:WideString);dispid 112;
// BeforeNavigate2 : Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified.
procedure BeforeNavigate2(pDisp:IDispatch;var URL:OleVariant;var Flags:OleVariant;var TargetFrameName:OleVariant;var PostData:OleVariant;var Headers:OleVariant;var Cancel:WordBool);dispid 250;
// NewWindow2 : A new, hidden, non-navigated WebBrowser window is needed.
procedure NewWindow2(var ppDisp:IDispatch;var Cancel:WordBool);dispid 251;
// NavigateComplete2 : Fired when the document being navigated to becomes visible and enters the navigation stack.
procedure NavigateComplete2(pDisp:IDispatch;var URL:OleVariant);dispid 252;
// DocumentComplete : Fired when the document being navigated to reaches ReadyState_Complete.
procedure DocumentComplete(pDisp:IDispatch;var URL:OleVariant);dispid 259;
// OnQuit : Fired when application is quiting.
procedure OnQuit;dispid 253;
// OnVisible : Fired when the window should be shown/hidden
procedure OnVisible(Visible:WordBool);dispid 254;
// OnToolBar : Fired when the toolbar should be shown/hidden
procedure OnToolBar(ToolBar:WordBool);dispid 255;
// OnMenuBar : Fired when the menubar should be shown/hidden
procedure OnMenuBar(MenuBar:WordBool);dispid 256;
// OnStatusBar : Fired when the statusbar should be shown/hidden
procedure OnStatusBar(StatusBar:WordBool);dispid 257;
// OnFullScreen : Fired when fullscreen mode should be on/off
procedure OnFullScreen(FullScreen:WordBool);dispid 258;
// OnTheaterMode : Fired when theater mode should be on/off
procedure OnTheaterMode(TheaterMode:WordBool);dispid 260;
// WindowSetResizable : Fired when the host window should allow/disallow resizing
procedure WindowSetResizable(Resizable:WordBool);dispid 262;
// WindowSetLeft : Fired when the host window should change its Left coordinate
procedure WindowSetLeft(Left:Integer);dispid 264;
// WindowSetTop : Fired when the host window should change its Top coordinate
procedure WindowSetTop(Top:Integer);dispid 265;
// WindowSetWidth : Fired when the host window should change its width
procedure WindowSetWidth(Width:Integer);dispid 266;
// WindowSetHeight : Fired when the host window should change its height
procedure WindowSetHeight(Height:Integer);dispid 267;
// WindowClosing : Fired when the WebBrowser is about to be closed by script
procedure WindowClosing(IsChildWindow:WordBool;var Cancel:WordBool);dispid 263;
// ClientToHostWindow : Fired to request client sizes be converted to host window sizes
procedure ClientToHostWindow(var CX:Integer;var CY:Integer);dispid 268;
// SetSecureLockIcon : Fired to indicate the security level of the current web page contents
procedure SetSecureLockIcon(SecureLockIcon:Integer);dispid 269;
// FileDownload : Fired to indicate the File Download dialog is opening
procedure FileDownload(ActiveDocument:WordBool;var Cancel:WordBool);dispid 270;
// NavigateError : Fired when a binding error occurs (window or frameset element).
procedure NavigateError(pDisp:IDispatch;var URL:OleVariant;var Frame:OleVariant;var StatusCode:OleVariant;var Cancel:WordBool);dispid 271;
// PrintTemplateInstantiation : Fired when a print template is instantiated.
procedure PrintTemplateInstantiation(pDisp:IDispatch);dispid 225;
// PrintTemplateTeardown : Fired when a print template destroyed.
procedure PrintTemplateTeardown(pDisp:IDispatch);dispid 226;
// UpdatePageStatus : Fired when a page is spooled. When it is fired can be changed by a custom template.
procedure UpdatePageStatus(pDisp:IDispatch;var nPage:OleVariant;var fDone:OleVariant);dispid 227;
// PrivacyImpactedStateChange : Fired when the global privacy impacted state changes
procedure PrivacyImpactedStateChange(bImpacted:WordBool);dispid 272;
// NewWindow3 : A new, hidden, non-navigated WebBrowser window is needed.
procedure NewWindow3(var ppDisp:IDispatch;var Cancel:WordBool;dwFlags:LongWord;bstrUrlContext:WideString;bstrUrl:WideString);dispid 273;
// SetPhishingFilterStatus : Fired to indicate the progress and status of the Phishing Filter analysis of the current web page
procedure SetPhishingFilterStatus(PhishingFilterStatus:Integer);dispid 282;
// WindowStateChanged : Fired to indicate that the browser window's visibility or enabled state has changed.
procedure WindowStateChanged(dwWindowStateFlags:LongWord;dwValidFlagsMask:LongWord);dispid 283;
// NewProcess : A new, hidden, non-navigated process is created to handle the navigation.
procedure NewProcess(lCauseFlag:Integer;pWB2:IDispatch;var Cancel:WordBool);dispid 284;
// ThirdPartyUrlBlocked : Fired when a third-party URL is blocked.
procedure ThirdPartyUrlBlocked(var URL:OleVariant;dwCount:LongWord);dispid 285;
// RedirectXDomainBlocked : Fired when a x-domain redirect is blocked.
procedure RedirectXDomainBlocked(pDisp:IDispatch;var StartURL:OleVariant;var RedirectURL:OleVariant;var Frame:OleVariant;var StatusCode:OleVariant);dispid 286;
// BeforeScriptExecute : Fired prior to the first script execution.
procedure BeforeScriptExecute(pDispWindow:IDispatch);dispid 290;
// WebWorkerStarted : Fired after a Web Worker has been started.
procedure WebWorkerStarted(dwUniqueID:LongWord;bstrWorkerLabel:WideString);dispid 288;
// WebWorkerFinsihed : Fired after a Web Worker has closed
procedure WebWorkerFinsihed(dwUniqueID:LongWord);dispid 289;
end;
// DShellWindowsEvents : Event interface for IShellWindows
DShellWindowsEvents = dispinterface
['{FE4106E0-399A-11D0-A48C-00A0C90A8F39}']
// WindowRegistered : A new window was registered.
procedure WindowRegistered(lCookie:Integer);dispid 200;
// WindowRevoked : A new window was revoked.
procedure WindowRevoked(lCookie:Integer);dispid 201;
end;
// IShellWindows : Definition of interface IShellWindows
IShellWindows = interface(IDispatch)
['{85CB6900-4D95-11CF-960C-0080C7F4EE85}']
function Get_Count : Integer; safecall;
// Item : Return the shell window for the given index
function Item(index:OleVariant):IDispatch;safecall;
// _NewEnum : Enumerates the figures
function _NewEnum:IUnknown;safecall;
// Register : Register a window with the list
procedure Register(pid:IDispatch;HWND:Integer;swClass:SYSINT;out plCookie:Integer);safecall;
// RegisterPending : Register a pending open with the list
procedure RegisterPending(lThreadId:Integer;var pvarloc:OleVariant;var pvarlocRoot:OleVariant;swClass:SYSINT;out plCookie:Integer);safecall;
// Revoke : Remove a window from the list
procedure Revoke(lCookie:Integer);safecall;
// OnNavigate : Notifies the new location
procedure OnNavigate(lCookie:Integer;var pvarloc:OleVariant);safecall;
// OnActivated : Notifies the activation
procedure OnActivated(lCookie:Integer;fActive:WordBool);safecall;
// FindWindowSW : Find the window based on the location
function FindWindowSW(var pvarloc:OleVariant;var pvarlocRoot:OleVariant;swClass:SYSINT;out pHWND:Integer;swfwOptions:SYSINT):IDispatch;safecall;
// OnCreated : Notifies on creation and frame name set
procedure OnCreated(lCookie:Integer;punk:IUnknown);safecall;
// ProcessAttachDetach : Used by IExplore to register different processes
procedure ProcessAttachDetach(fAttach:WordBool);safecall;
// Count : Get count of open Shell windows
property Count:Integer read Get_Count;
end;