-
Notifications
You must be signed in to change notification settings - Fork 72
/
UIAutomationClient_1_0_64bit.ahk
8758 lines (7795 loc) · 276 KB
/
UIAutomationClient_1_0_64bit.ahk
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: "UIAutomationClient_1_0_64bit.ahk"
; was generated from the type library:
; UIAutomationClient version: 1.0
;
; with TypeLib2AHK version: 0.9.5.0 by Elgin.
;
; GUID: "{944DE083-8FB8-45CF-BCB7-C477ACB2F897}"
; LCID: 0
; HelpFile
; HelpContext: 0
; System: WIN64
; Flags: FHASDISKIMAGE
; *************************************************************************
; *************************************************************************
; *************************************************************************
; CoClasses defined in type library
; *************************************************************************
; *************************************************************************
; *************************************************************************
; CUIAutomation
; *************************************************************************
/*
GUID: {FF48DBA4-60EF-4201-AA87-54103EEF594E}
Implements: IUIAutomation; GUID: {30CBE57D-D9D0-452A-AB13-7AC5AC4825EE}; Flags: IMPLTYPEFLAG_FDEFAULT
*/
CUIAutomation()
{
try
{
If (impl:=ComObjCreate("{FF48DBA4-60EF-4201-AA87-54103EEF594E}","{30CBE57D-D9D0-452A-AB13-7AC5AC4825EE}"))
return new IUIAutomation(impl)
throw "IUIAutomation Interface failed to initialize."
}
catch e
MsgBox, 262160, IUIAutomation Error, % IsObject(e)?"IUIAutomation Interface is not registered.":e.Message
}
; *************************************************************************
; CUIAutomation8
; *************************************************************************
/*
GUID: {E22AD333-B25F-460C-83D0-0581107395C9}
Implements: IUIAutomation2; GUID: {34723AFF-0C9D-49D0-9896-7AB52DF8CD8A}; Flags: IMPLTYPEFLAG_FDEFAULT
Implements: IUIAutomation3; GUID: {73D768DA-9B51-4B89-936E-C209290973E7}; Flags:
Implements: IUIAutomation4; GUID: {1189C02A-05F8-4319-8E21-E817E3DB2860}; Flags:
*/
CUIAutomation8()
{
try
{
If (impl:=ComObjCreate("{E22AD333-B25F-460C-83D0-0581107395C9}","{34723AFF-0C9D-49D0-9896-7AB52DF8CD8A}"))
return new IUIAutomation2(impl)
throw "IUIAutomation2 Interface failed to initialize."
}
catch e
MsgBox, 262160, IUIAutomation2 Error, % IsObject(e)?"IUIAutomation2 Interface is not registered.":e.Message
}
; *************************************************************************
; *************************************************************************
; Enumerations defined in type library
; *************************************************************************
; *************************************************************************
class UIAutomationClientTLConst
{
; *************************************************************************
; Constants for: TreeScope
; *************************************************************************
static TreeScope_None := 0x0
static TreeScope_Element := 0x1
static TreeScope_Children := 0x2
static TreeScope_Descendants := 0x4
static TreeScope_Parent := 0x8
static TreeScope_Ancestors := 0x10
static TreeScope_Subtree := 0x7
TreeScope(Value)
{
static v1:={0x0:"TreeScope_None", 0x1:"TreeScope_Element", 0x2:"TreeScope_Children", 0x4:"TreeScope_Descendants", 0x8:"TreeScope_Parent", 0x10:"TreeScope_Ancestors", 0x7:"TreeScope_Subtree"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: AutomationElementMode
; *************************************************************************
static AutomationElementMode_None := 0x0
static AutomationElementMode_Full := 0x1
AutomationElementMode(Value)
{
static v1:={0x0:"AutomationElementMode_None", 0x1:"AutomationElementMode_Full"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: OrientationType
; *************************************************************************
static OrientationType_None := 0x0
static OrientationType_Horizontal := 0x1
static OrientationType_Vertical := 0x2
OrientationType(Value)
{
static v1:={0x0:"OrientationType_None", 0x1:"OrientationType_Horizontal", 0x2:"OrientationType_Vertical"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: PropertyConditionFlags
; *************************************************************************
static PropertyConditionFlags_None := 0x0
static PropertyConditionFlags_IgnoreCase := 0x1
PropertyConditionFlags(Value)
{
static v1:={0x0:"PropertyConditionFlags_None", 0x1:"PropertyConditionFlags_IgnoreCase"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: StructureChangeType
; *************************************************************************
static StructureChangeType_ChildAdded := 0x0
static StructureChangeType_ChildRemoved := 0x1
static StructureChangeType_ChildrenInvalidated := 0x2
static StructureChangeType_ChildrenBulkAdded := 0x3
static StructureChangeType_ChildrenBulkRemoved := 0x4
static StructureChangeType_ChildrenReordered := 0x5
StructureChangeType(Value)
{
static v1:={0x0:"StructureChangeType_ChildAdded", 0x1:"StructureChangeType_ChildRemoved", 0x2:"StructureChangeType_ChildrenInvalidated", 0x3:"StructureChangeType_ChildrenBulkAdded", 0x4:"StructureChangeType_ChildrenBulkRemoved", 0x5:"StructureChangeType_ChildrenReordered"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: TextEditChangeType
; *************************************************************************
static TextEditChangeType_None := 0x0
static TextEditChangeType_AutoCorrect := 0x1
static TextEditChangeType_Composition := 0x2
static TextEditChangeType_CompositionFinalized := 0x3
static TextEditChangeType_AutoComplete := 0x4
TextEditChangeType(Value)
{
static v1:={0x0:"TextEditChangeType_None", 0x1:"TextEditChangeType_AutoCorrect", 0x2:"TextEditChangeType_Composition", 0x3:"TextEditChangeType_CompositionFinalized", 0x4:"TextEditChangeType_AutoComplete"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: DockPosition
; *************************************************************************
static DockPosition_Top := 0x0
static DockPosition_Left := 0x1
static DockPosition_Bottom := 0x2
static DockPosition_Right := 0x3
static DockPosition_Fill := 0x4
static DockPosition_None := 0x5
DockPosition(Value)
{
static v1:={0x0:"DockPosition_Top", 0x1:"DockPosition_Left", 0x2:"DockPosition_Bottom", 0x3:"DockPosition_Right", 0x4:"DockPosition_Fill", 0x5:"DockPosition_None"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: ExpandCollapseState
; *************************************************************************
static ExpandCollapseState_Collapsed := 0x0
static ExpandCollapseState_Expanded := 0x1
static ExpandCollapseState_PartiallyExpanded := 0x2
static ExpandCollapseState_LeafNode := 0x3
ExpandCollapseState(Value)
{
static v1:={0x0:"ExpandCollapseState_Collapsed", 0x1:"ExpandCollapseState_Expanded", 0x2:"ExpandCollapseState_PartiallyExpanded", 0x3:"ExpandCollapseState_LeafNode"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: ScrollAmount
; *************************************************************************
static ScrollAmount_LargeDecrement := 0x0
static ScrollAmount_SmallDecrement := 0x1
static ScrollAmount_NoAmount := 0x2
static ScrollAmount_LargeIncrement := 0x3
static ScrollAmount_SmallIncrement := 0x4
ScrollAmount(Value)
{
static v1:={0x0:"ScrollAmount_LargeDecrement", 0x1:"ScrollAmount_SmallDecrement", 0x2:"ScrollAmount_NoAmount", 0x3:"ScrollAmount_LargeIncrement", 0x4:"ScrollAmount_SmallIncrement"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: SynchronizedInputType
; *************************************************************************
static SynchronizedInputType_KeyUp := 0x1
static SynchronizedInputType_KeyDown := 0x2
static SynchronizedInputType_LeftMouseUp := 0x4
static SynchronizedInputType_LeftMouseDown := 0x8
static SynchronizedInputType_RightMouseUp := 0x10
static SynchronizedInputType_RightMouseDown := 0x20
SynchronizedInputType(Value)
{
static v1:={0x1:"SynchronizedInputType_KeyUp", 0x2:"SynchronizedInputType_KeyDown", 0x4:"SynchronizedInputType_LeftMouseUp", 0x8:"SynchronizedInputType_LeftMouseDown", 0x10:"SynchronizedInputType_RightMouseUp", 0x20:"SynchronizedInputType_RightMouseDown"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: RowOrColumnMajor
; *************************************************************************
static RowOrColumnMajor_RowMajor := 0x0
static RowOrColumnMajor_ColumnMajor := 0x1
static RowOrColumnMajor_Indeterminate := 0x2
RowOrColumnMajor(Value)
{
static v1:={0x0:"RowOrColumnMajor_RowMajor", 0x1:"RowOrColumnMajor_ColumnMajor", 0x2:"RowOrColumnMajor_Indeterminate"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: ToggleState
; *************************************************************************
static ToggleState_Off := 0x0
static ToggleState_On := 0x1
static ToggleState_Indeterminate := 0x2
ToggleState(Value)
{
static v1:={0x0:"ToggleState_Off", 0x1:"ToggleState_On", 0x2:"ToggleState_Indeterminate"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: WindowVisualState
; *************************************************************************
static WindowVisualState_Normal := 0x0
static WindowVisualState_Maximized := 0x1
static WindowVisualState_Minimized := 0x2
WindowVisualState(Value)
{
static v1:={0x0:"WindowVisualState_Normal", 0x1:"WindowVisualState_Maximized", 0x2:"WindowVisualState_Minimized"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: WindowInteractionState
; *************************************************************************
static WindowInteractionState_Running := 0x0
static WindowInteractionState_Closing := 0x1
static WindowInteractionState_ReadyForUserInteraction := 0x2
static WindowInteractionState_BlockedByModalWindow := 0x3
static WindowInteractionState_NotResponding := 0x4
WindowInteractionState(Value)
{
static v1:={0x0:"WindowInteractionState_Running", 0x1:"WindowInteractionState_Closing", 0x2:"WindowInteractionState_ReadyForUserInteraction", 0x3:"WindowInteractionState_BlockedByModalWindow", 0x4:"WindowInteractionState_NotResponding"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: TextPatternRangeEndpoint
; *************************************************************************
static TextPatternRangeEndpoint_Start := 0x0
static TextPatternRangeEndpoint_End := 0x1
TextPatternRangeEndpoint(Value)
{
static v1:={0x0:"TextPatternRangeEndpoint_Start", 0x1:"TextPatternRangeEndpoint_End"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: TextUnit
; *************************************************************************
static TextUnit_Character := 0x0
static TextUnit_Format := 0x1
static TextUnit_Word := 0x2
static TextUnit_Line := 0x3
static TextUnit_Paragraph := 0x4
static TextUnit_Page := 0x5
static TextUnit_Document := 0x6
TextUnit(Value)
{
static v1:={0x0:"TextUnit_Character", 0x1:"TextUnit_Format", 0x2:"TextUnit_Word", 0x3:"TextUnit_Line", 0x4:"TextUnit_Paragraph", 0x5:"TextUnit_Page", 0x6:"TextUnit_Document"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: SupportedTextSelection
; *************************************************************************
static SupportedTextSelection_None := 0x0
static SupportedTextSelection_Single := 0x1
static SupportedTextSelection_Multiple := 0x2
SupportedTextSelection(Value)
{
static v1:={0x0:"SupportedTextSelection_None", 0x1:"SupportedTextSelection_Single", 0x2:"SupportedTextSelection_Multiple"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: NavigateDirection
; *************************************************************************
static NavigateDirection_Parent := 0x0
static NavigateDirection_NextSibling := 0x1
static NavigateDirection_PreviousSibling := 0x2
static NavigateDirection_FirstChild := 0x3
static NavigateDirection_LastChild := 0x4
NavigateDirection(Value)
{
static v1:={0x0:"NavigateDirection_Parent", 0x1:"NavigateDirection_NextSibling", 0x2:"NavigateDirection_PreviousSibling", 0x3:"NavigateDirection_FirstChild", 0x4:"NavigateDirection_LastChild"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: ZoomUnit
; *************************************************************************
static ZoomUnit_NoAmount := 0x0
static ZoomUnit_LargeDecrement := 0x1
static ZoomUnit_SmallDecrement := 0x2
static ZoomUnit_LargeIncrement := 0x3
static ZoomUnit_SmallIncrement := 0x4
ZoomUnit(Value)
{
static v1:={0x0:"ZoomUnit_NoAmount", 0x1:"ZoomUnit_LargeDecrement", 0x2:"ZoomUnit_SmallDecrement", 0x3:"ZoomUnit_LargeIncrement", 0x4:"ZoomUnit_SmallIncrement"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: LiveSetting
; *************************************************************************
static Off := 0x0
static Polite := 0x1
static Assertive := 0x2
LiveSetting(Value)
{
static v1:={0x0:"Off", 0x1:"Polite", 0x2:"Assertive"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: TreeTraversalOptions
; *************************************************************************
static TreeTraversalOptions_Default := 0x0
static TreeTraversalOptions_PostOrder := 0x1
static TreeTraversalOptions_LastToFirstOrder := 0x2
TreeTraversalOptions(Value)
{
static v1:={0x0:"TreeTraversalOptions_Default", 0x1:"TreeTraversalOptions_PostOrder", 0x2:"TreeTraversalOptions_LastToFirstOrder"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: ProviderOptions
; *************************************************************************
static ProviderOptions_ClientSideProvider := 0x1
static ProviderOptions_ServerSideProvider := 0x2
static ProviderOptions_NonClientAreaProvider := 0x4
static ProviderOptions_OverrideProvider := 0x8
static ProviderOptions_ProviderOwnsSetFocus := 0x10
static ProviderOptions_UseComThreading := 0x20
static ProviderOptions_RefuseNonClientSupport := 0x40
static ProviderOptions_HasNativeIAccessible := 0x80
static ProviderOptions_UseClientCoordinates := 0x100
ProviderOptions(Value)
{
static v1:={0x1:"ProviderOptions_ClientSideProvider", 0x2:"ProviderOptions_ServerSideProvider", 0x4:"ProviderOptions_NonClientAreaProvider", 0x8:"ProviderOptions_OverrideProvider", 0x10:"ProviderOptions_ProviderOwnsSetFocus", 0x20:"ProviderOptions_UseComThreading", 0x40:"ProviderOptions_RefuseNonClientSupport", 0x80:"ProviderOptions_HasNativeIAccessible", 0x100:"ProviderOptions_UseClientCoordinates"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_PatternIds
; *************************************************************************
static UIA_InvokePatternId := 10000 ; Type: Vt_I4
static UIA_SelectionPatternId := 10001 ; Type: Vt_I4
static UIA_ValuePatternId := 10002 ; Type: Vt_I4
static UIA_RangeValuePatternId := 10003 ; Type: Vt_I4
static UIA_ScrollPatternId := 10004 ; Type: Vt_I4
static UIA_ExpandCollapsePatternId := 10005 ; Type: Vt_I4
static UIA_GridPatternId := 10006 ; Type: Vt_I4
static UIA_GridItemPatternId := 10007 ; Type: Vt_I4
static UIA_MultipleViewPatternId := 10008 ; Type: Vt_I4
static UIA_WindowPatternId := 10009 ; Type: Vt_I4
static UIA_SelectionItemPatternId := 10010 ; Type: Vt_I4
static UIA_DockPatternId := 10011 ; Type: Vt_I4
static UIA_TablePatternId := 10012 ; Type: Vt_I4
static UIA_TableItemPatternId := 10013 ; Type: Vt_I4
static UIA_TextPatternId := 10014 ; Type: Vt_I4
static UIA_TogglePatternId := 10015 ; Type: Vt_I4
static UIA_TransformPatternId := 10016 ; Type: Vt_I4
static UIA_ScrollItemPatternId := 10017 ; Type: Vt_I4
static UIA_LegacyIAccessiblePatternId := 10018 ; Type: Vt_I4
static UIA_ItemContainerPatternId := 10019 ; Type: Vt_I4
static UIA_VirtualizedItemPatternId := 10020 ; Type: Vt_I4
static UIA_SynchronizedInputPatternId := 10021 ; Type: Vt_I4
static UIA_ObjectModelPatternId := 10022 ; Type: Vt_I4
static UIA_AnnotationPatternId := 10023 ; Type: Vt_I4
static UIA_TextPattern2Id := 10024 ; Type: Vt_I4
static UIA_StylesPatternId := 10025 ; Type: Vt_I4
static UIA_SpreadsheetPatternId := 10026 ; Type: Vt_I4
static UIA_SpreadsheetItemPatternId := 10027 ; Type: Vt_I4
static UIA_TransformPattern2Id := 10028 ; Type: Vt_I4
static UIA_TextChildPatternId := 10029 ; Type: Vt_I4
static UIA_DragPatternId := 10030 ; Type: Vt_I4
static UIA_DropTargetPatternId := 10031 ; Type: Vt_I4
static UIA_TextEditPatternId := 10032 ; Type: Vt_I4
static UIA_CustomNavigationPatternId := 10033 ; Type: Vt_I4
UIA_PatternIds(Value)
{
static v1:={0x2710:"UIA_InvokePatternId", 0x2711:"UIA_SelectionPatternId", 0x2712:"UIA_ValuePatternId", 0x2713:"UIA_RangeValuePatternId", 0x2714:"UIA_ScrollPatternId", 0x2715:"UIA_ExpandCollapsePatternId", 0x2716:"UIA_GridPatternId", 0x2717:"UIA_GridItemPatternId", 0x2718:"UIA_MultipleViewPatternId", 0x2719:"UIA_WindowPatternId", 0x271A:"UIA_SelectionItemPatternId", 0x271B:"UIA_DockPatternId", 0x271C:"UIA_TablePatternId", 0x271D:"UIA_TableItemPatternId", 0x271E:"UIA_TextPatternId", 0x271F:"UIA_TogglePatternId", 0x2720:"UIA_TransformPatternId", 0x2721:"UIA_ScrollItemPatternId", 0x2722:"UIA_LegacyIAccessiblePatternId", 0x2723:"UIA_ItemContainerPatternId", 0x2724:"UIA_VirtualizedItemPatternId", 0x2725:"UIA_SynchronizedInputPatternId", 0x2726:"UIA_ObjectModelPatternId", 0x2727:"UIA_AnnotationPatternId", 0x2728:"UIA_TextPattern2Id", 0x2729:"UIA_StylesPatternId", 0x272A:"UIA_SpreadsheetPatternId", 0x272B:"UIA_SpreadsheetItemPatternId", 0x272C:"UIA_TransformPattern2Id", 0x272D:"UIA_TextChildPatternId", 0x272E:"UIA_DragPatternId", 0x272F:"UIA_DropTargetPatternId", 0x2730:"UIA_TextEditPatternId", 0x2731:"UIA_CustomNavigationPatternId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_EventIds
; *************************************************************************
static UIA_ToolTipOpenedEventId := 20000 ; Type: Vt_I4
static UIA_ToolTipClosedEventId := 20001 ; Type: Vt_I4
static UIA_StructureChangedEventId := 20002 ; Type: Vt_I4
static UIA_MenuOpenedEventId := 20003 ; Type: Vt_I4
static UIA_AutomationPropertyChangedEventId := 20004 ; Type: Vt_I4
static UIA_AutomationFocusChangedEventId := 20005 ; Type: Vt_I4
static UIA_AsyncContentLoadedEventId := 20006 ; Type: Vt_I4
static UIA_MenuClosedEventId := 20007 ; Type: Vt_I4
static UIA_LayoutInvalidatedEventId := 20008 ; Type: Vt_I4
static UIA_Invoke_InvokedEventId := 20009 ; Type: Vt_I4
static UIA_SelectionItem_ElementAddedToSelectionEventId := 20010 ; Type: Vt_I4
static UIA_SelectionItem_ElementRemovedFromSelectionEventId := 20011 ; Type: Vt_I4
static UIA_SelectionItem_ElementSelectedEventId := 20012 ; Type: Vt_I4
static UIA_Selection_InvalidatedEventId := 20013 ; Type: Vt_I4
static UIA_Text_TextSelectionChangedEventId := 20014 ; Type: Vt_I4
static UIA_Text_TextChangedEventId := 20015 ; Type: Vt_I4
static UIA_Window_WindowOpenedEventId := 20016 ; Type: Vt_I4
static UIA_Window_WindowClosedEventId := 20017 ; Type: Vt_I4
static UIA_MenuModeStartEventId := 20018 ; Type: Vt_I4
static UIA_MenuModeEndEventId := 20019 ; Type: Vt_I4
static UIA_InputReachedTargetEventId := 20020 ; Type: Vt_I4
static UIA_InputReachedOtherElementEventId := 20021 ; Type: Vt_I4
static UIA_InputDiscardedEventId := 20022 ; Type: Vt_I4
static UIA_SystemAlertEventId := 20023 ; Type: Vt_I4
static UIA_LiveRegionChangedEventId := 20024 ; Type: Vt_I4
static UIA_HostedFragmentRootsInvalidatedEventId := 20025 ; Type: Vt_I4
static UIA_Drag_DragStartEventId := 20026 ; Type: Vt_I4
static UIA_Drag_DragCancelEventId := 20027 ; Type: Vt_I4
static UIA_Drag_DragCompleteEventId := 20028 ; Type: Vt_I4
static UIA_DropTarget_DragEnterEventId := 20029 ; Type: Vt_I4
static UIA_DropTarget_DragLeaveEventId := 20030 ; Type: Vt_I4
static UIA_DropTarget_DroppedEventId := 20031 ; Type: Vt_I4
static UIA_TextEdit_TextChangedEventId := 20032 ; Type: Vt_I4
static UIA_TextEdit_ConversionTargetChangedEventId := 20033 ; Type: Vt_I4
static UIA_ChangesEventId := 20034 ; Type: Vt_I4
UIA_EventIds(Value)
{
static v1:={0x4E20:"UIA_ToolTipOpenedEventId", 0x4E21:"UIA_ToolTipClosedEventId", 0x4E22:"UIA_StructureChangedEventId", 0x4E23:"UIA_MenuOpenedEventId", 0x4E24:"UIA_AutomationPropertyChangedEventId", 0x4E25:"UIA_AutomationFocusChangedEventId", 0x4E26:"UIA_AsyncContentLoadedEventId", 0x4E27:"UIA_MenuClosedEventId", 0x4E28:"UIA_LayoutInvalidatedEventId", 0x4E29:"UIA_Invoke_InvokedEventId", 0x4E2A:"UIA_SelectionItem_ElementAddedToSelectionEventId", 0x4E2B:"UIA_SelectionItem_ElementRemovedFromSelectionEventId", 0x4E2C:"UIA_SelectionItem_ElementSelectedEventId", 0x4E2D:"UIA_Selection_InvalidatedEventId", 0x4E2E:"UIA_Text_TextSelectionChangedEventId", 0x4E2F:"UIA_Text_TextChangedEventId", 0x4E30:"UIA_Window_WindowOpenedEventId", 0x4E31:"UIA_Window_WindowClosedEventId", 0x4E32:"UIA_MenuModeStartEventId", 0x4E33:"UIA_MenuModeEndEventId", 0x4E34:"UIA_InputReachedTargetEventId", 0x4E35:"UIA_InputReachedOtherElementEventId", 0x4E36:"UIA_InputDiscardedEventId", 0x4E37:"UIA_SystemAlertEventId", 0x4E38:"UIA_LiveRegionChangedEventId", 0x4E39:"UIA_HostedFragmentRootsInvalidatedEventId", 0x4E3A:"UIA_Drag_DragStartEventId", 0x4E3B:"UIA_Drag_DragCancelEventId", 0x4E3C:"UIA_Drag_DragCompleteEventId", 0x4E3D:"UIA_DropTarget_DragEnterEventId", 0x4E3E:"UIA_DropTarget_DragLeaveEventId", 0x4E3F:"UIA_DropTarget_DroppedEventId", 0x4E40:"UIA_TextEdit_TextChangedEventId", 0x4E41:"UIA_TextEdit_ConversionTargetChangedEventId", 0x4E42:"UIA_ChangesEventId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_PropertyIds
; *************************************************************************
static UIA_RuntimeIdPropertyId := 30000 ; Type: Vt_I4
static UIA_BoundingRectanglePropertyId := 30001 ; Type: Vt_I4
static UIA_ProcessIdPropertyId := 30002 ; Type: Vt_I4
static UIA_ControlTypePropertyId := 30003 ; Type: Vt_I4
static UIA_LocalizedControlTypePropertyId := 30004 ; Type: Vt_I4
static UIA_NamePropertyId := 30005 ; Type: Vt_I4
static UIA_AcceleratorKeyPropertyId := 30006 ; Type: Vt_I4
static UIA_AccessKeyPropertyId := 30007 ; Type: Vt_I4
static UIA_HasKeyboardFocusPropertyId := 30008 ; Type: Vt_I4
static UIA_IsKeyboardFocusablePropertyId := 30009 ; Type: Vt_I4
static UIA_IsEnabledPropertyId := 30010 ; Type: Vt_I4
static UIA_AutomationIdPropertyId := 30011 ; Type: Vt_I4
static UIA_ClassNamePropertyId := 30012 ; Type: Vt_I4
static UIA_HelpTextPropertyId := 30013 ; Type: Vt_I4
static UIA_ClickablePointPropertyId := 30014 ; Type: Vt_I4
static UIA_CulturePropertyId := 30015 ; Type: Vt_I4
static UIA_IsControlElementPropertyId := 30016 ; Type: Vt_I4
static UIA_IsContentElementPropertyId := 30017 ; Type: Vt_I4
static UIA_LabeledByPropertyId := 30018 ; Type: Vt_I4
static UIA_IsPasswordPropertyId := 30019 ; Type: Vt_I4
static UIA_NativeWindowHandlePropertyId := 30020 ; Type: Vt_I4
static UIA_ItemTypePropertyId := 30021 ; Type: Vt_I4
static UIA_IsOffscreenPropertyId := 30022 ; Type: Vt_I4
static UIA_OrientationPropertyId := 30023 ; Type: Vt_I4
static UIA_FrameworkIdPropertyId := 30024 ; Type: Vt_I4
static UIA_IsRequiredForFormPropertyId := 30025 ; Type: Vt_I4
static UIA_ItemStatusPropertyId := 30026 ; Type: Vt_I4
static UIA_IsDockPatternAvailablePropertyId := 30027 ; Type: Vt_I4
static UIA_IsExpandCollapsePatternAvailablePropertyId := 30028 ; Type: Vt_I4
static UIA_IsGridItemPatternAvailablePropertyId := 30029 ; Type: Vt_I4
static UIA_IsGridPatternAvailablePropertyId := 30030 ; Type: Vt_I4
static UIA_IsInvokePatternAvailablePropertyId := 30031 ; Type: Vt_I4
static UIA_IsMultipleViewPatternAvailablePropertyId := 30032 ; Type: Vt_I4
static UIA_IsRangeValuePatternAvailablePropertyId := 30033 ; Type: Vt_I4
static UIA_IsScrollPatternAvailablePropertyId := 30034 ; Type: Vt_I4
static UIA_IsScrollItemPatternAvailablePropertyId := 30035 ; Type: Vt_I4
static UIA_IsSelectionItemPatternAvailablePropertyId := 30036 ; Type: Vt_I4
static UIA_IsSelectionPatternAvailablePropertyId := 30037 ; Type: Vt_I4
static UIA_IsTablePatternAvailablePropertyId := 30038 ; Type: Vt_I4
static UIA_IsTableItemPatternAvailablePropertyId := 30039 ; Type: Vt_I4
static UIA_IsTextPatternAvailablePropertyId := 30040 ; Type: Vt_I4
static UIA_IsTogglePatternAvailablePropertyId := 30041 ; Type: Vt_I4
static UIA_IsTransformPatternAvailablePropertyId := 30042 ; Type: Vt_I4
static UIA_IsValuePatternAvailablePropertyId := 30043 ; Type: Vt_I4
static UIA_IsWindowPatternAvailablePropertyId := 30044 ; Type: Vt_I4
static UIA_ValueValuePropertyId := 30045 ; Type: Vt_I4
static UIA_ValueIsReadOnlyPropertyId := 30046 ; Type: Vt_I4
static UIA_RangeValueValuePropertyId := 30047 ; Type: Vt_I4
static UIA_RangeValueIsReadOnlyPropertyId := 30048 ; Type: Vt_I4
static UIA_RangeValueMinimumPropertyId := 30049 ; Type: Vt_I4
static UIA_RangeValueMaximumPropertyId := 30050 ; Type: Vt_I4
static UIA_RangeValueLargeChangePropertyId := 30051 ; Type: Vt_I4
static UIA_RangeValueSmallChangePropertyId := 30052 ; Type: Vt_I4
static UIA_ScrollHorizontalScrollPercentPropertyId := 30053 ; Type: Vt_I4
static UIA_ScrollHorizontalViewSizePropertyId := 30054 ; Type: Vt_I4
static UIA_ScrollVerticalScrollPercentPropertyId := 30055 ; Type: Vt_I4
static UIA_ScrollVerticalViewSizePropertyId := 30056 ; Type: Vt_I4
static UIA_ScrollHorizontallyScrollablePropertyId := 30057 ; Type: Vt_I4
static UIA_ScrollVerticallyScrollablePropertyId := 30058 ; Type: Vt_I4
static UIA_SelectionSelectionPropertyId := 30059 ; Type: Vt_I4
static UIA_SelectionCanSelectMultiplePropertyId := 30060 ; Type: Vt_I4
static UIA_SelectionIsSelectionRequiredPropertyId := 30061 ; Type: Vt_I4
static UIA_GridRowCountPropertyId := 30062 ; Type: Vt_I4
static UIA_GridColumnCountPropertyId := 30063 ; Type: Vt_I4
static UIA_GridItemRowPropertyId := 30064 ; Type: Vt_I4
static UIA_GridItemColumnPropertyId := 30065 ; Type: Vt_I4
static UIA_GridItemRowSpanPropertyId := 30066 ; Type: Vt_I4
static UIA_GridItemColumnSpanPropertyId := 30067 ; Type: Vt_I4
static UIA_GridItemContainingGridPropertyId := 30068 ; Type: Vt_I4
static UIA_DockDockPositionPropertyId := 30069 ; Type: Vt_I4
static UIA_ExpandCollapseExpandCollapseStatePropertyId := 30070 ; Type: Vt_I4
static UIA_MultipleViewCurrentViewPropertyId := 30071 ; Type: Vt_I4
static UIA_MultipleViewSupportedViewsPropertyId := 30072 ; Type: Vt_I4
static UIA_WindowCanMaximizePropertyId := 30073 ; Type: Vt_I4
static UIA_WindowCanMinimizePropertyId := 30074 ; Type: Vt_I4
static UIA_WindowWindowVisualStatePropertyId := 30075 ; Type: Vt_I4
static UIA_WindowWindowInteractionStatePropertyId := 30076 ; Type: Vt_I4
static UIA_WindowIsModalPropertyId := 30077 ; Type: Vt_I4
static UIA_WindowIsTopmostPropertyId := 30078 ; Type: Vt_I4
static UIA_SelectionItemIsSelectedPropertyId := 30079 ; Type: Vt_I4
static UIA_SelectionItemSelectionContainerPropertyId := 30080 ; Type: Vt_I4
static UIA_TableRowHeadersPropertyId := 30081 ; Type: Vt_I4
static UIA_TableColumnHeadersPropertyId := 30082 ; Type: Vt_I4
static UIA_TableRowOrColumnMajorPropertyId := 30083 ; Type: Vt_I4
static UIA_TableItemRowHeaderItemsPropertyId := 30084 ; Type: Vt_I4
static UIA_TableItemColumnHeaderItemsPropertyId := 30085 ; Type: Vt_I4
static UIA_ToggleToggleStatePropertyId := 30086 ; Type: Vt_I4
static UIA_TransformCanMovePropertyId := 30087 ; Type: Vt_I4
static UIA_TransformCanResizePropertyId := 30088 ; Type: Vt_I4
static UIA_TransformCanRotatePropertyId := 30089 ; Type: Vt_I4
static UIA_IsLegacyIAccessiblePatternAvailablePropertyId := 30090 ; Type: Vt_I4
static UIA_LegacyIAccessibleChildIdPropertyId := 30091 ; Type: Vt_I4
static UIA_LegacyIAccessibleNamePropertyId := 30092 ; Type: Vt_I4
static UIA_LegacyIAccessibleValuePropertyId := 30093 ; Type: Vt_I4
static UIA_LegacyIAccessibleDescriptionPropertyId := 30094 ; Type: Vt_I4
static UIA_LegacyIAccessibleRolePropertyId := 30095 ; Type: Vt_I4
static UIA_LegacyIAccessibleStatePropertyId := 30096 ; Type: Vt_I4
static UIA_LegacyIAccessibleHelpPropertyId := 30097 ; Type: Vt_I4
static UIA_LegacyIAccessibleKeyboardShortcutPropertyId := 30098 ; Type: Vt_I4
static UIA_LegacyIAccessibleSelectionPropertyId := 30099 ; Type: Vt_I4
static UIA_LegacyIAccessibleDefaultActionPropertyId := 30100 ; Type: Vt_I4
static UIA_AriaRolePropertyId := 30101 ; Type: Vt_I4
static UIA_AriaPropertiesPropertyId := 30102 ; Type: Vt_I4
static UIA_IsDataValidForFormPropertyId := 30103 ; Type: Vt_I4
static UIA_ControllerForPropertyId := 30104 ; Type: Vt_I4
static UIA_DescribedByPropertyId := 30105 ; Type: Vt_I4
static UIA_FlowsToPropertyId := 30106 ; Type: Vt_I4
static UIA_ProviderDescriptionPropertyId := 30107 ; Type: Vt_I4
static UIA_IsItemContainerPatternAvailablePropertyId := 30108 ; Type: Vt_I4
static UIA_IsVirtualizedItemPatternAvailablePropertyId := 30109 ; Type: Vt_I4
static UIA_IsSynchronizedInputPatternAvailablePropertyId := 30110 ; Type: Vt_I4
static UIA_OptimizeForVisualContentPropertyId := 30111 ; Type: Vt_I4
static UIA_IsObjectModelPatternAvailablePropertyId := 30112 ; Type: Vt_I4
static UIA_AnnotationAnnotationTypeIdPropertyId := 30113 ; Type: Vt_I4
static UIA_AnnotationAnnotationTypeNamePropertyId := 30114 ; Type: Vt_I4
static UIA_AnnotationAuthorPropertyId := 30115 ; Type: Vt_I4
static UIA_AnnotationDateTimePropertyId := 30116 ; Type: Vt_I4
static UIA_AnnotationTargetPropertyId := 30117 ; Type: Vt_I4
static UIA_IsAnnotationPatternAvailablePropertyId := 30118 ; Type: Vt_I4
static UIA_IsTextPattern2AvailablePropertyId := 30119 ; Type: Vt_I4
static UIA_StylesStyleIdPropertyId := 30120 ; Type: Vt_I4
static UIA_StylesStyleNamePropertyId := 30121 ; Type: Vt_I4
static UIA_StylesFillColorPropertyId := 30122 ; Type: Vt_I4
static UIA_StylesFillPatternStylePropertyId := 30123 ; Type: Vt_I4
static UIA_StylesShapePropertyId := 30124 ; Type: Vt_I4
static UIA_StylesFillPatternColorPropertyId := 30125 ; Type: Vt_I4
static UIA_StylesExtendedPropertiesPropertyId := 30126 ; Type: Vt_I4
static UIA_IsStylesPatternAvailablePropertyId := 30127 ; Type: Vt_I4
static UIA_IsSpreadsheetPatternAvailablePropertyId := 30128 ; Type: Vt_I4
static UIA_SpreadsheetItemFormulaPropertyId := 30129 ; Type: Vt_I4
static UIA_SpreadsheetItemAnnotationObjectsPropertyId := 30130 ; Type: Vt_I4
static UIA_SpreadsheetItemAnnotationTypesPropertyId := 30131 ; Type: Vt_I4
static UIA_IsSpreadsheetItemPatternAvailablePropertyId := 30132 ; Type: Vt_I4
static UIA_Transform2CanZoomPropertyId := 30133 ; Type: Vt_I4
static UIA_IsTransformPattern2AvailablePropertyId := 30134 ; Type: Vt_I4
static UIA_LiveSettingPropertyId := 30135 ; Type: Vt_I4
static UIA_IsTextChildPatternAvailablePropertyId := 30136 ; Type: Vt_I4
static UIA_IsDragPatternAvailablePropertyId := 30137 ; Type: Vt_I4
static UIA_DragIsGrabbedPropertyId := 30138 ; Type: Vt_I4
static UIA_DragDropEffectPropertyId := 30139 ; Type: Vt_I4
static UIA_DragDropEffectsPropertyId := 30140 ; Type: Vt_I4
static UIA_IsDropTargetPatternAvailablePropertyId := 30141 ; Type: Vt_I4
static UIA_DropTargetDropTargetEffectPropertyId := 30142 ; Type: Vt_I4
static UIA_DropTargetDropTargetEffectsPropertyId := 30143 ; Type: Vt_I4
static UIA_DragGrabbedItemsPropertyId := 30144 ; Type: Vt_I4
static UIA_Transform2ZoomLevelPropertyId := 30145 ; Type: Vt_I4
static UIA_Transform2ZoomMinimumPropertyId := 30146 ; Type: Vt_I4
static UIA_Transform2ZoomMaximumPropertyId := 30147 ; Type: Vt_I4
static UIA_FlowsFromPropertyId := 30148 ; Type: Vt_I4
static UIA_IsTextEditPatternAvailablePropertyId := 30149 ; Type: Vt_I4
static UIA_IsPeripheralPropertyId := 30150 ; Type: Vt_I4
static UIA_IsCustomNavigationPatternAvailablePropertyId := 30151 ; Type: Vt_I4
static UIA_PositionInSetPropertyId := 30152 ; Type: Vt_I4
static UIA_SizeOfSetPropertyId := 30153 ; Type: Vt_I4
static UIA_LevelPropertyId := 30154 ; Type: Vt_I4
static UIA_AnnotationTypesPropertyId := 30155 ; Type: Vt_I4
static UIA_AnnotationObjectsPropertyId := 30156 ; Type: Vt_I4
static UIA_LandmarkTypePropertyId := 30157 ; Type: Vt_I4
static UIA_LocalizedLandmarkTypePropertyId := 30158 ; Type: Vt_I4
static UIA_FullDescriptionPropertyId := 30159 ; Type: Vt_I4
static UIA_FillColorPropertyId := 30160 ; Type: Vt_I4
static UIA_OutlineColorPropertyId := 30161 ; Type: Vt_I4
static UIA_FillTypePropertyId := 30162 ; Type: Vt_I4
static UIA_VisualEffectsPropertyId := 30163 ; Type: Vt_I4
static UIA_OutlineThicknessPropertyId := 30164 ; Type: Vt_I4
static UIA_CenterPointPropertyId := 30165 ; Type: Vt_I4
static UIA_RotationPropertyId := 30166 ; Type: Vt_I4
static UIA_SizePropertyId := 30167 ; Type: Vt_I4
UIA_PropertyIds(Value)
{
static v1:={0x7530:"UIA_RuntimeIdPropertyId", 0x7531:"UIA_BoundingRectanglePropertyId", 0x7532:"UIA_ProcessIdPropertyId", 0x7533:"UIA_ControlTypePropertyId", 0x7534:"UIA_LocalizedControlTypePropertyId", 0x7535:"UIA_NamePropertyId", 0x7536:"UIA_AcceleratorKeyPropertyId", 0x7537:"UIA_AccessKeyPropertyId", 0x7538:"UIA_HasKeyboardFocusPropertyId", 0x7539:"UIA_IsKeyboardFocusablePropertyId", 0x753A:"UIA_IsEnabledPropertyId", 0x753B:"UIA_AutomationIdPropertyId", 0x753C:"UIA_ClassNamePropertyId", 0x753D:"UIA_HelpTextPropertyId", 0x753E:"UIA_ClickablePointPropertyId", 0x753F:"UIA_CulturePropertyId", 0x7540:"UIA_IsControlElementPropertyId", 0x7541:"UIA_IsContentElementPropertyId", 0x7542:"UIA_LabeledByPropertyId", 0x7543:"UIA_IsPasswordPropertyId", 0x7544:"UIA_NativeWindowHandlePropertyId", 0x7545:"UIA_ItemTypePropertyId", 0x7546:"UIA_IsOffscreenPropertyId", 0x7547:"UIA_OrientationPropertyId", 0x7548:"UIA_FrameworkIdPropertyId", 0x7549:"UIA_IsRequiredForFormPropertyId", 0x754A:"UIA_ItemStatusPropertyId", 0x754B:"UIA_IsDockPatternAvailablePropertyId", 0x754C:"UIA_IsExpandCollapsePatternAvailablePropertyId", 0x754D:"UIA_IsGridItemPatternAvailablePropertyId", 0x754E:"UIA_IsGridPatternAvailablePropertyId", 0x754F:"UIA_IsInvokePatternAvailablePropertyId", 0x7550:"UIA_IsMultipleViewPatternAvailablePropertyId", 0x7551:"UIA_IsRangeValuePatternAvailablePropertyId", 0x7552:"UIA_IsScrollPatternAvailablePropertyId", 0x7553:"UIA_IsScrollItemPatternAvailablePropertyId", 0x7554:"UIA_IsSelectionItemPatternAvailablePropertyId", 0x7555:"UIA_IsSelectionPatternAvailablePropertyId", 0x7556:"UIA_IsTablePatternAvailablePropertyId", 0x7557:"UIA_IsTableItemPatternAvailablePropertyId", 0x7558:"UIA_IsTextPatternAvailablePropertyId", 0x7559:"UIA_IsTogglePatternAvailablePropertyId", 0x755A:"UIA_IsTransformPatternAvailablePropertyId", 0x755B:"UIA_IsValuePatternAvailablePropertyId", 0x755C:"UIA_IsWindowPatternAvailablePropertyId", 0x755D:"UIA_ValueValuePropertyId", 0x755E:"UIA_ValueIsReadOnlyPropertyId", 0x755F:"UIA_RangeValueValuePropertyId", 0x7560:"UIA_RangeValueIsReadOnlyPropertyId", 0x7561:"UIA_RangeValueMinimumPropertyId", 0x7562:"UIA_RangeValueMaximumPropertyId", 0x7563:"UIA_RangeValueLargeChangePropertyId", 0x7564:"UIA_RangeValueSmallChangePropertyId", 0x7565:"UIA_ScrollHorizontalScrollPercentPropertyId", 0x7566:"UIA_ScrollHorizontalViewSizePropertyId", 0x7567:"UIA_ScrollVerticalScrollPercentPropertyId", 0x7568:"UIA_ScrollVerticalViewSizePropertyId", 0x7569:"UIA_ScrollHorizontallyScrollablePropertyId", 0x756A:"UIA_ScrollVerticallyScrollablePropertyId", 0x756B:"UIA_SelectionSelectionPropertyId", 0x756C:"UIA_SelectionCanSelectMultiplePropertyId", 0x756D:"UIA_SelectionIsSelectionRequiredPropertyId", 0x756E:"UIA_GridRowCountPropertyId", 0x756F:"UIA_GridColumnCountPropertyId", 0x7570:"UIA_GridItemRowPropertyId", 0x7571:"UIA_GridItemColumnPropertyId", 0x7572:"UIA_GridItemRowSpanPropertyId", 0x7573:"UIA_GridItemColumnSpanPropertyId", 0x7574:"UIA_GridItemContainingGridPropertyId", 0x7575:"UIA_DockDockPositionPropertyId", 0x7576:"UIA_ExpandCollapseExpandCollapseStatePropertyId", 0x7577:"UIA_MultipleViewCurrentViewPropertyId", 0x7578:"UIA_MultipleViewSupportedViewsPropertyId", 0x7579:"UIA_WindowCanMaximizePropertyId", 0x757A:"UIA_WindowCanMinimizePropertyId", 0x757B:"UIA_WindowWindowVisualStatePropertyId", 0x757C:"UIA_WindowWindowInteractionStatePropertyId", 0x757D:"UIA_WindowIsModalPropertyId", 0x757E:"UIA_WindowIsTopmostPropertyId", 0x757F:"UIA_SelectionItemIsSelectedPropertyId", 0x7580:"UIA_SelectionItemSelectionContainerPropertyId", 0x7581:"UIA_TableRowHeadersPropertyId", 0x7582:"UIA_TableColumnHeadersPropertyId", 0x7583:"UIA_TableRowOrColumnMajorPropertyId", 0x7584:"UIA_TableItemRowHeaderItemsPropertyId", 0x7585:"UIA_TableItemColumnHeaderItemsPropertyId", 0x7586:"UIA_ToggleToggleStatePropertyId", 0x7587:"UIA_TransformCanMovePropertyId", 0x7588:"UIA_TransformCanResizePropertyId", 0x7589:"UIA_TransformCanRotatePropertyId", 0x758A:"UIA_IsLegacyIAccessiblePatternAvailablePropertyId", 0x758B:"UIA_LegacyIAccessibleChildIdPropertyId", 0x758C:"UIA_LegacyIAccessibleNamePropertyId", 0x758D:"UIA_LegacyIAccessibleValuePropertyId", 0x758E:"UIA_LegacyIAccessibleDescriptionPropertyId", 0x758F:"UIA_LegacyIAccessibleRolePropertyId", 0x7590:"UIA_LegacyIAccessibleStatePropertyId", 0x7591:"UIA_LegacyIAccessibleHelpPropertyId", 0x7592:"UIA_LegacyIAccessibleKeyboardShortcutPropertyId", 0x7593:"UIA_LegacyIAccessibleSelectionPropertyId", 0x7594:"UIA_LegacyIAccessibleDefaultActionPropertyId", 0x7595:"UIA_AriaRolePropertyId", 0x7596:"UIA_AriaPropertiesPropertyId", 0x7597:"UIA_IsDataValidForFormPropertyId", 0x7598:"UIA_ControllerForPropertyId", 0x7599:"UIA_DescribedByPropertyId", 0x759A:"UIA_FlowsToPropertyId", 0x759B:"UIA_ProviderDescriptionPropertyId", 0x759C:"UIA_IsItemContainerPatternAvailablePropertyId", 0x759D:"UIA_IsVirtualizedItemPatternAvailablePropertyId", 0x759E:"UIA_IsSynchronizedInputPatternAvailablePropertyId", 0x759F:"UIA_OptimizeForVisualContentPropertyId", 0x75A0:"UIA_IsObjectModelPatternAvailablePropertyId", 0x75A1:"UIA_AnnotationAnnotationTypeIdPropertyId", 0x75A2:"UIA_AnnotationAnnotationTypeNamePropertyId", 0x75A3:"UIA_AnnotationAuthorPropertyId", 0x75A4:"UIA_AnnotationDateTimePropertyId", 0x75A5:"UIA_AnnotationTargetPropertyId", 0x75A6:"UIA_IsAnnotationPatternAvailablePropertyId", 0x75A7:"UIA_IsTextPattern2AvailablePropertyId", 0x75A8:"UIA_StylesStyleIdPropertyId", 0x75A9:"UIA_StylesStyleNamePropertyId", 0x75AA:"UIA_StylesFillColorPropertyId", 0x75AB:"UIA_StylesFillPatternStylePropertyId", 0x75AC:"UIA_StylesShapePropertyId"}
static v2:={0x75AD:"UIA_StylesFillPatternColorPropertyId", 0x75AE:"UIA_StylesExtendedPropertiesPropertyId", 0x75AF:"UIA_IsStylesPatternAvailablePropertyId", 0x75B0:"UIA_IsSpreadsheetPatternAvailablePropertyId", 0x75B1:"UIA_SpreadsheetItemFormulaPropertyId", 0x75B2:"UIA_SpreadsheetItemAnnotationObjectsPropertyId", 0x75B3:"UIA_SpreadsheetItemAnnotationTypesPropertyId", 0x75B4:"UIA_IsSpreadsheetItemPatternAvailablePropertyId", 0x75B5:"UIA_Transform2CanZoomPropertyId", 0x75B6:"UIA_IsTransformPattern2AvailablePropertyId", 0x75B7:"UIA_LiveSettingPropertyId", 0x75B8:"UIA_IsTextChildPatternAvailablePropertyId", 0x75B9:"UIA_IsDragPatternAvailablePropertyId", 0x75BA:"UIA_DragIsGrabbedPropertyId", 0x75BB:"UIA_DragDropEffectPropertyId", 0x75BC:"UIA_DragDropEffectsPropertyId", 0x75BD:"UIA_IsDropTargetPatternAvailablePropertyId", 0x75BE:"UIA_DropTargetDropTargetEffectPropertyId", 0x75BF:"UIA_DropTargetDropTargetEffectsPropertyId", 0x75C0:"UIA_DragGrabbedItemsPropertyId", 0x75C1:"UIA_Transform2ZoomLevelPropertyId", 0x75C2:"UIA_Transform2ZoomMinimumPropertyId", 0x75C3:"UIA_Transform2ZoomMaximumPropertyId", 0x75C4:"UIA_FlowsFromPropertyId", 0x75C5:"UIA_IsTextEditPatternAvailablePropertyId", 0x75C6:"UIA_IsPeripheralPropertyId", 0x75C7:"UIA_IsCustomNavigationPatternAvailablePropertyId", 0x75C8:"UIA_PositionInSetPropertyId", 0x75C9:"UIA_SizeOfSetPropertyId", 0x75CA:"UIA_LevelPropertyId", 0x75CB:"UIA_AnnotationTypesPropertyId", 0x75CC:"UIA_AnnotationObjectsPropertyId", 0x75CD:"UIA_LandmarkTypePropertyId", 0x75CE:"UIA_LocalizedLandmarkTypePropertyId", 0x75CF:"UIA_FullDescriptionPropertyId", 0x75D0:"UIA_FillColorPropertyId", 0x75D1:"UIA_OutlineColorPropertyId", 0x75D2:"UIA_FillTypePropertyId", 0x75D3:"UIA_VisualEffectsPropertyId", 0x75D4:"UIA_OutlineThicknessPropertyId", 0x75D5:"UIA_CenterPointPropertyId", 0x75D6:"UIA_RotationPropertyId", 0x75D7:"UIA_SizePropertyId"}
If (v1[Value])
return v1[Value]
else
If (v2[Value])
return v2[Value]
}
; *************************************************************************
; Constants for: UIA_TextAttributeIds
; *************************************************************************
static UIA_AnimationStyleAttributeId := 40000 ; Type: Vt_I4
static UIA_BackgroundColorAttributeId := 40001 ; Type: Vt_I4
static UIA_BulletStyleAttributeId := 40002 ; Type: Vt_I4
static UIA_CapStyleAttributeId := 40003 ; Type: Vt_I4
static UIA_CultureAttributeId := 40004 ; Type: Vt_I4
static UIA_FontNameAttributeId := 40005 ; Type: Vt_I4
static UIA_FontSizeAttributeId := 40006 ; Type: Vt_I4
static UIA_FontWeightAttributeId := 40007 ; Type: Vt_I4
static UIA_ForegroundColorAttributeId := 40008 ; Type: Vt_I4
static UIA_HorizontalTextAlignmentAttributeId := 40009 ; Type: Vt_I4
static UIA_IndentationFirstLineAttributeId := 40010 ; Type: Vt_I4
static UIA_IndentationLeadingAttributeId := 40011 ; Type: Vt_I4
static UIA_IndentationTrailingAttributeId := 40012 ; Type: Vt_I4
static UIA_IsHiddenAttributeId := 40013 ; Type: Vt_I4
static UIA_IsItalicAttributeId := 40014 ; Type: Vt_I4
static UIA_IsReadOnlyAttributeId := 40015 ; Type: Vt_I4
static UIA_IsSubscriptAttributeId := 40016 ; Type: Vt_I4
static UIA_IsSuperscriptAttributeId := 40017 ; Type: Vt_I4
static UIA_MarginBottomAttributeId := 40018 ; Type: Vt_I4
static UIA_MarginLeadingAttributeId := 40019 ; Type: Vt_I4
static UIA_MarginTopAttributeId := 40020 ; Type: Vt_I4
static UIA_MarginTrailingAttributeId := 40021 ; Type: Vt_I4
static UIA_OutlineStylesAttributeId := 40022 ; Type: Vt_I4
static UIA_OverlineColorAttributeId := 40023 ; Type: Vt_I4
static UIA_OverlineStyleAttributeId := 40024 ; Type: Vt_I4
static UIA_StrikethroughColorAttributeId := 40025 ; Type: Vt_I4
static UIA_StrikethroughStyleAttributeId := 40026 ; Type: Vt_I4
static UIA_TabsAttributeId := 40027 ; Type: Vt_I4
static UIA_TextFlowDirectionsAttributeId := 40028 ; Type: Vt_I4
static UIA_UnderlineColorAttributeId := 40029 ; Type: Vt_I4
static UIA_UnderlineStyleAttributeId := 40030 ; Type: Vt_I4
static UIA_AnnotationTypesAttributeId := 40031 ; Type: Vt_I4
static UIA_AnnotationObjectsAttributeId := 40032 ; Type: Vt_I4
static UIA_StyleNameAttributeId := 40033 ; Type: Vt_I4
static UIA_StyleIdAttributeId := 40034 ; Type: Vt_I4
static UIA_LinkAttributeId := 40035 ; Type: Vt_I4
static UIA_IsActiveAttributeId := 40036 ; Type: Vt_I4
static UIA_SelectionActiveEndAttributeId := 40037 ; Type: Vt_I4
static UIA_CaretPositionAttributeId := 40038 ; Type: Vt_I4
static UIA_CaretBidiModeAttributeId := 40039 ; Type: Vt_I4
static UIA_LineSpacingAttributeId := 40040 ; Type: Vt_I4
static UIA_BeforeParagraphSpacingAttributeId := 40041 ; Type: Vt_I4
static UIA_AfterParagraphSpacingAttributeId := 40042 ; Type: Vt_I4
static UIA_SayAsInterpretAsAttributeId := 40043 ; Type: Vt_I4
UIA_TextAttributeIds(Value)
{
static v1:={0x9C40:"UIA_AnimationStyleAttributeId", 0x9C41:"UIA_BackgroundColorAttributeId", 0x9C42:"UIA_BulletStyleAttributeId", 0x9C43:"UIA_CapStyleAttributeId", 0x9C44:"UIA_CultureAttributeId", 0x9C45:"UIA_FontNameAttributeId", 0x9C46:"UIA_FontSizeAttributeId", 0x9C47:"UIA_FontWeightAttributeId", 0x9C48:"UIA_ForegroundColorAttributeId", 0x9C49:"UIA_HorizontalTextAlignmentAttributeId", 0x9C4A:"UIA_IndentationFirstLineAttributeId", 0x9C4B:"UIA_IndentationLeadingAttributeId", 0x9C4C:"UIA_IndentationTrailingAttributeId", 0x9C4D:"UIA_IsHiddenAttributeId", 0x9C4E:"UIA_IsItalicAttributeId", 0x9C4F:"UIA_IsReadOnlyAttributeId", 0x9C50:"UIA_IsSubscriptAttributeId", 0x9C51:"UIA_IsSuperscriptAttributeId", 0x9C52:"UIA_MarginBottomAttributeId", 0x9C53:"UIA_MarginLeadingAttributeId", 0x9C54:"UIA_MarginTopAttributeId", 0x9C55:"UIA_MarginTrailingAttributeId", 0x9C56:"UIA_OutlineStylesAttributeId", 0x9C57:"UIA_OverlineColorAttributeId", 0x9C58:"UIA_OverlineStyleAttributeId", 0x9C59:"UIA_StrikethroughColorAttributeId", 0x9C5A:"UIA_StrikethroughStyleAttributeId", 0x9C5B:"UIA_TabsAttributeId", 0x9C5C:"UIA_TextFlowDirectionsAttributeId", 0x9C5D:"UIA_UnderlineColorAttributeId", 0x9C5E:"UIA_UnderlineStyleAttributeId", 0x9C5F:"UIA_AnnotationTypesAttributeId", 0x9C60:"UIA_AnnotationObjectsAttributeId", 0x9C61:"UIA_StyleNameAttributeId", 0x9C62:"UIA_StyleIdAttributeId", 0x9C63:"UIA_LinkAttributeId", 0x9C64:"UIA_IsActiveAttributeId", 0x9C65:"UIA_SelectionActiveEndAttributeId", 0x9C66:"UIA_CaretPositionAttributeId", 0x9C67:"UIA_CaretBidiModeAttributeId", 0x9C68:"UIA_LineSpacingAttributeId", 0x9C69:"UIA_BeforeParagraphSpacingAttributeId", 0x9C6A:"UIA_AfterParagraphSpacingAttributeId", 0x9C6B:"UIA_SayAsInterpretAsAttributeId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_ControlTypeIds
; *************************************************************************
static UIA_ButtonControlTypeId := 50000 ; Type: Vt_I4
static UIA_CalendarControlTypeId := 50001 ; Type: Vt_I4
static UIA_CheckBoxControlTypeId := 50002 ; Type: Vt_I4
static UIA_ComboBoxControlTypeId := 50003 ; Type: Vt_I4
static UIA_EditControlTypeId := 50004 ; Type: Vt_I4
static UIA_HyperlinkControlTypeId := 50005 ; Type: Vt_I4
static UIA_ImageControlTypeId := 50006 ; Type: Vt_I4
static UIA_ListItemControlTypeId := 50007 ; Type: Vt_I4
static UIA_ListControlTypeId := 50008 ; Type: Vt_I4
static UIA_MenuControlTypeId := 50009 ; Type: Vt_I4
static UIA_MenuBarControlTypeId := 50010 ; Type: Vt_I4
static UIA_MenuItemControlTypeId := 50011 ; Type: Vt_I4
static UIA_ProgressBarControlTypeId := 50012 ; Type: Vt_I4
static UIA_RadioButtonControlTypeId := 50013 ; Type: Vt_I4
static UIA_ScrollBarControlTypeId := 50014 ; Type: Vt_I4
static UIA_SliderControlTypeId := 50015 ; Type: Vt_I4
static UIA_SpinnerControlTypeId := 50016 ; Type: Vt_I4
static UIA_StatusBarControlTypeId := 50017 ; Type: Vt_I4
static UIA_TabControlTypeId := 50018 ; Type: Vt_I4
static UIA_TabItemControlTypeId := 50019 ; Type: Vt_I4
static UIA_TextControlTypeId := 50020 ; Type: Vt_I4
static UIA_ToolBarControlTypeId := 50021 ; Type: Vt_I4
static UIA_ToolTipControlTypeId := 50022 ; Type: Vt_I4
static UIA_TreeControlTypeId := 50023 ; Type: Vt_I4
static UIA_TreeItemControlTypeId := 50024 ; Type: Vt_I4
static UIA_CustomControlTypeId := 50025 ; Type: Vt_I4
static UIA_GroupControlTypeId := 50026 ; Type: Vt_I4
static UIA_ThumbControlTypeId := 50027 ; Type: Vt_I4
static UIA_DataGridControlTypeId := 50028 ; Type: Vt_I4
static UIA_DataItemControlTypeId := 50029 ; Type: Vt_I4
static UIA_DocumentControlTypeId := 50030 ; Type: Vt_I4
static UIA_SplitButtonControlTypeId := 50031 ; Type: Vt_I4
static UIA_WindowControlTypeId := 50032 ; Type: Vt_I4
static UIA_PaneControlTypeId := 50033 ; Type: Vt_I4
static UIA_HeaderControlTypeId := 50034 ; Type: Vt_I4
static UIA_HeaderItemControlTypeId := 50035 ; Type: Vt_I4
static UIA_TableControlTypeId := 50036 ; Type: Vt_I4
static UIA_TitleBarControlTypeId := 50037 ; Type: Vt_I4
static UIA_SeparatorControlTypeId := 50038 ; Type: Vt_I4
static UIA_SemanticZoomControlTypeId := 50039 ; Type: Vt_I4
static UIA_AppBarControlTypeId := 50040 ; Type: Vt_I4
UIA_ControlTypeIds(Value)
{
static v1:={0xC350:"UIA_ButtonControlTypeId", 0xC351:"UIA_CalendarControlTypeId", 0xC352:"UIA_CheckBoxControlTypeId", 0xC353:"UIA_ComboBoxControlTypeId", 0xC354:"UIA_EditControlTypeId", 0xC355:"UIA_HyperlinkControlTypeId", 0xC356:"UIA_ImageControlTypeId", 0xC357:"UIA_ListItemControlTypeId", 0xC358:"UIA_ListControlTypeId", 0xC359:"UIA_MenuControlTypeId", 0xC35A:"UIA_MenuBarControlTypeId", 0xC35B:"UIA_MenuItemControlTypeId", 0xC35C:"UIA_ProgressBarControlTypeId", 0xC35D:"UIA_RadioButtonControlTypeId", 0xC35E:"UIA_ScrollBarControlTypeId", 0xC35F:"UIA_SliderControlTypeId", 0xC360:"UIA_SpinnerControlTypeId", 0xC361:"UIA_StatusBarControlTypeId", 0xC362:"UIA_TabControlTypeId", 0xC363:"UIA_TabItemControlTypeId", 0xC364:"UIA_TextControlTypeId", 0xC365:"UIA_ToolBarControlTypeId", 0xC366:"UIA_ToolTipControlTypeId", 0xC367:"UIA_TreeControlTypeId", 0xC368:"UIA_TreeItemControlTypeId", 0xC369:"UIA_CustomControlTypeId", 0xC36A:"UIA_GroupControlTypeId", 0xC36B:"UIA_ThumbControlTypeId", 0xC36C:"UIA_DataGridControlTypeId", 0xC36D:"UIA_DataItemControlTypeId", 0xC36E:"UIA_DocumentControlTypeId", 0xC36F:"UIA_SplitButtonControlTypeId", 0xC370:"UIA_WindowControlTypeId", 0xC371:"UIA_PaneControlTypeId", 0xC372:"UIA_HeaderControlTypeId", 0xC373:"UIA_HeaderItemControlTypeId", 0xC374:"UIA_TableControlTypeId", 0xC375:"UIA_TitleBarControlTypeId", 0xC376:"UIA_SeparatorControlTypeId", 0xC377:"UIA_SemanticZoomControlTypeId", 0xC378:"UIA_AppBarControlTypeId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_AnnotationTypes
; *************************************************************************
static AnnotationType_Unknown := 60000 ; Type: Vt_I4
static AnnotationType_SpellingError := 60001 ; Type: Vt_I4
static AnnotationType_GrammarError := 60002 ; Type: Vt_I4
static AnnotationType_Comment := 60003 ; Type: Vt_I4
static AnnotationType_FormulaError := 60004 ; Type: Vt_I4
static AnnotationType_TrackChanges := 60005 ; Type: Vt_I4
static AnnotationType_Header := 60006 ; Type: Vt_I4
static AnnotationType_Footer := 60007 ; Type: Vt_I4
static AnnotationType_Highlighted := 60008 ; Type: Vt_I4
static AnnotationType_Endnote := 60009 ; Type: Vt_I4
static AnnotationType_Footnote := 60010 ; Type: Vt_I4
static AnnotationType_InsertionChange := 60011 ; Type: Vt_I4
static AnnotationType_DeletionChange := 60012 ; Type: Vt_I4
static AnnotationType_MoveChange := 60013 ; Type: Vt_I4
static AnnotationType_FormatChange := 60014 ; Type: Vt_I4
static AnnotationType_UnsyncedChange := 60015 ; Type: Vt_I4
static AnnotationType_EditingLockedChange := 60016 ; Type: Vt_I4
static AnnotationType_ExternalChange := 60017 ; Type: Vt_I4
static AnnotationType_ConflictingChange := 60018 ; Type: Vt_I4
static AnnotationType_Author := 60019 ; Type: Vt_I4
static AnnotationType_AdvancedProofingIssue := 60020 ; Type: Vt_I4
static AnnotationType_DataValidationError := 60021 ; Type: Vt_I4
static AnnotationType_CircularReferenceError := 60022 ; Type: Vt_I4
static AnnotationType_Mathematics := 60023 ; Type: Vt_I4
UIA_AnnotationTypes(Value)
{
static v1:={0xEA60:"AnnotationType_Unknown", 0xEA61:"AnnotationType_SpellingError", 0xEA62:"AnnotationType_GrammarError", 0xEA63:"AnnotationType_Comment", 0xEA64:"AnnotationType_FormulaError", 0xEA65:"AnnotationType_TrackChanges", 0xEA66:"AnnotationType_Header", 0xEA67:"AnnotationType_Footer", 0xEA68:"AnnotationType_Highlighted", 0xEA69:"AnnotationType_Endnote", 0xEA6A:"AnnotationType_Footnote", 0xEA6B:"AnnotationType_InsertionChange", 0xEA6C:"AnnotationType_DeletionChange", 0xEA6D:"AnnotationType_MoveChange", 0xEA6E:"AnnotationType_FormatChange", 0xEA6F:"AnnotationType_UnsyncedChange", 0xEA70:"AnnotationType_EditingLockedChange", 0xEA71:"AnnotationType_ExternalChange", 0xEA72:"AnnotationType_ConflictingChange", 0xEA73:"AnnotationType_Author", 0xEA74:"AnnotationType_AdvancedProofingIssue", 0xEA75:"AnnotationType_DataValidationError", 0xEA76:"AnnotationType_CircularReferenceError", 0xEA77:"AnnotationType_Mathematics"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_StyleIds
; *************************************************************************
static StyleId_Custom := 70000 ; Type: Vt_I4
static StyleId_Heading1 := 70001 ; Type: Vt_I4
static StyleId_Heading2 := 70002 ; Type: Vt_I4
static StyleId_Heading3 := 70003 ; Type: Vt_I4
static StyleId_Heading4 := 70004 ; Type: Vt_I4
static StyleId_Heading5 := 70005 ; Type: Vt_I4
static StyleId_Heading6 := 70006 ; Type: Vt_I4
static StyleId_Heading7 := 70007 ; Type: Vt_I4
static StyleId_Heading8 := 70008 ; Type: Vt_I4
static StyleId_Heading9 := 70009 ; Type: Vt_I4
static StyleId_Title := 70010 ; Type: Vt_I4
static StyleId_Subtitle := 70011 ; Type: Vt_I4
static StyleId_Normal := 70012 ; Type: Vt_I4
static StyleId_Emphasis := 70013 ; Type: Vt_I4
static StyleId_Quote := 70014 ; Type: Vt_I4
static StyleId_BulletedList := 70015 ; Type: Vt_I4
static StyleId_NumberedList := 70016 ; Type: Vt_I4
UIA_StyleIds(Value)
{
static v1:={0x11170:"StyleId_Custom", 0x11171:"StyleId_Heading1", 0x11172:"StyleId_Heading2", 0x11173:"StyleId_Heading3", 0x11174:"StyleId_Heading4", 0x11175:"StyleId_Heading5", 0x11176:"StyleId_Heading6", 0x11177:"StyleId_Heading7", 0x11178:"StyleId_Heading8", 0x11179:"StyleId_Heading9", 0x1117A:"StyleId_Title", 0x1117B:"StyleId_Subtitle", 0x1117C:"StyleId_Normal", 0x1117D:"StyleId_Emphasis", 0x1117E:"StyleId_Quote", 0x1117F:"StyleId_BulletedList", 0x11180:"StyleId_NumberedList"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_LandmarkTypeIds
; *************************************************************************
static UIA_CustomLandmarkTypeId := 80000 ; Type: Vt_I4
static UIA_FormLandmarkTypeId := 80001 ; Type: Vt_I4
static UIA_MainLandmarkTypeId := 80002 ; Type: Vt_I4
static UIA_NavigationLandmarkTypeId := 80003 ; Type: Vt_I4
static UIA_SearchLandmarkTypeId := 80004 ; Type: Vt_I4
UIA_LandmarkTypeIds(Value)
{
static v1:={0x13880:"UIA_CustomLandmarkTypeId", 0x13881:"UIA_FormLandmarkTypeId", 0x13882:"UIA_MainLandmarkTypeId", 0x13883:"UIA_NavigationLandmarkTypeId", 0x13884:"UIA_SearchLandmarkTypeId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_ChangeIds
; *************************************************************************
static UIA_SummaryChangeId := 90000 ; Type: Vt_I4
UIA_ChangeIds(Value)
{
static v1:={0x15F90:"UIA_SummaryChangeId"}
If (v1[Value])
return v1[Value]
}
; *************************************************************************
; Constants for: UIA_MetadataIds
; *************************************************************************
static UIA_SayAsInterpretAsMetadataId := 100000 ; Type: Vt_I4
UIA_MetadataIds(Value)
{
static v1:={0x186A0:"UIA_SayAsInterpretAsMetadataId"}
If (v1[Value])
return v1[Value]
}
}
; *************************************************************************
; *************************************************************************
; Record
; *************************************************************************
; *************************************************************************
; *************************************************************************
; tagRECT
; GUID: {00000000-0000-0000-0000-000000000000}
; *************************************************************************
class tagRECT
{
__New(byref p="empty")
{
If (p="empty")
{
VarSetCapacity(p,this.__SizeOf(),0)
}
ObjInsert(this, "__Value", &p)
}
__Get(VarName)
{
If (VarName="__Value")
return this.__Value
If (VarName="left")
return NumGet(this.__Value+0, 0, "Int") ; Type: Vt_I4
If (VarName="top")
return NumGet(this.__Value+4, 0, "Int") ; Type: Vt_I4
If (VarName="right")
return NumGet(this.__Value+8, 0, "Int") ; Type: Vt_I4
If (VarName="bottom")
return NumGet(this.__Value+12, 0, "Int") ; Type: Vt_I4
}
__Set(VarName, byref Value)
{
If (VarName="left")
NumPut(Value, this.__Value+0, 0, "Int") ; Type: Vt_I4
If (VarName="top")
NumPut(Value, this.__Value+4, 0, "Int") ; Type: Vt_I4
If (VarName="right")
NumPut(Value, this.__Value+8, 0, "Int") ; Type: Vt_I4
If (VarName="bottom")
NumPut(Value, this.__Value+12, 0, "Int") ; Type: Vt_I4
return Value
}
__SizeOf()
{
return 16
}
}
; *************************************************************************
; tagPOINT
; GUID: {00000000-0000-0000-0000-000000000000}
; *************************************************************************
class tagPOINT
{
__New(byref p="empty")
{
If (p="empty")
{
VarSetCapacity(p,this.__SizeOf(),0)
}
ObjInsert(this, "__Value", &p)
}