This file is indexed.

/usr/include/wine/windows/mshtmdid.h is in wine1.4-dev 1.4-0ubuntu4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
/*
 * Copyright 2004,2006 Jacek Caban for CodeWeavers
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#ifndef __MSHTMDID_H__
#define __MSHTMDID_H__

#define DISPID_NORMAL_FIRST     1000
#define DISPID_IE8_NORMAL_FIRST (DISPID_NORMAL_FIRST+150)

#define DISPID_OMDOCUMENT       DISPID_NORMAL_FIRST
#define DISPID_DATATRANSFER     DISPID_NORMAL_FIRST
#define DISPID_ANCHOR           DISPID_NORMAL_FIRST
#define DISPID_BLOCK            DISPID_NORMAL_FIRST
#define DISPID_BR               DISPID_NORMAL_FIRST
#define DISPID_BGSOUND          DISPID_NORMAL_FIRST
#define DISPID_DD               DISPID_NORMAL_FIRST
#define DISPID_DIR              DISPID_NORMAL_FIRST
#define DISPID_DIV              DISPID_NORMAL_FIRST
#define DISPID_DL               DISPID_NORMAL_FIRST
#define DISPID_DT               DISPID_NORMAL_FIRST
#define DISPID_EFONT            DISPID_NORMAL_FIRST
#define DISPID_FORM             DISPID_NORMAL_FIRST
#define DISPID_HEADER           DISPID_NORMAL_FIRST
#define DISPID_HEDELEMS         DISPID_NORMAL_FIRST
#define DISPID_HR               DISPID_NORMAL_FIRST
#define DISPID_LABEL            DISPID_NORMAL_FIRST
#define DISPID_LI               DISPID_NORMAL_FIRST
#define DISPID_IMGBASE          DISPID_NORMAL_FIRST
#define DISPID_MENU             DISPID_NORMAL_FIRST
#define DISPID_OL               DISPID_NORMAL_FIRST
#define DISPID_PARA             DISPID_NORMAL_FIRST
#define DISPID_SELECT           DISPID_NORMAL_FIRST
#define DISPID_SELECTOBJ        DISPID_NORMAL_FIRST
#define DISPID_TABLE            DISPID_NORMAL_FIRST
#define DISPID_TEXTSITE         DISPID_NORMAL_FIRST
#define DISPID_UL               DISPID_NORMAL_FIRST
#define DISPID_PHRASE           DISPID_NORMAL_FIRST
#define DISPID_UNKNOWNPDL       DISPID_NORMAL_FIRST
#define DISPID_COMMENTPDL       DISPID_NORMAL_FIRST
#define DISPID_RANGE            DISPID_NORMAL_FIRST
#define DISPID_SELECTION        DISPID_NORMAL_FIRST
#define DISPID_OPTION           DISPID_NORMAL_FIRST
#define DISPID_RANGE            DISPID_NORMAL_FIRST
#define DISPID_SELECTION        DISPID_NORMAL_FIRST
#define DISPID_OPTION           DISPID_NORMAL_FIRST
#define DISPID_RANGE            DISPID_NORMAL_FIRST
#define DISPID_SELECTION        DISPID_NORMAL_FIRST
#define DISPID_OPTION           DISPID_NORMAL_FIRST
#define DISPID_RANGE            DISPID_NORMAL_FIRST
#define DISPID_SELECTION        DISPID_NORMAL_FIRST
#define DISPID_OPTION           DISPID_NORMAL_FIRST
#define DISPID_RANGE            DISPID_NORMAL_FIRST
#define DISPID_SELECTION        DISPID_NORMAL_FIRST
#define DISPID_OPTION           DISPID_NORMAL_FIRST
#define DISPID_MAP              DISPID_NORMAL_FIRST
#define DISPID_AREA             DISPID_NORMAL_FIRST
#define DISPID_PARAM            DISPID_NORMAL_FIRST
#define DISPID_TABLESECTION     DISPID_NORMAL_FIRST
#define DISPID_TABLEROW         DISPID_NORMAL_FIRST
#define DISPID_TABLECOL         DISPID_NORMAL_FIRST
#define DISPID_SCRIPT           DISPID_NORMAL_FIRST
#define DISPID_STYLESHEET       DISPID_NORMAL_FIRST
#define DISPID_STYLERULE        DISPID_NORMAL_FIRST
#define DISPID_STYLEPAGE        DISPID_NORMAL_FIRST
#define DISPID_STYLESHEETS_COL  DISPID_NORMAL_FIRST
#define DISPID_STYLERULES_COL   DISPID_NORMAL_FIRST
#define DISPID_STYLEPAGES_COL   DISPID_NORMAL_FIRST
#define DISPID_MIMETYPES_COL    DISPID_NORMAL_FIRST
#define DISPID_PLUGINS_COL      DISPID_NORMAL_FIRST
#define DISPID_2D               DISPID_NORMAL_FIRST
#define DISPID_OMWINDOW         DISPID_NORMAL_FIRST
#define DISPID_EVENTOBJ         DISPID_NORMAL_FIRST
#define DISPID_OLESITE          DISPID_NORMAL_FIRST
#define DISPID_FRAMESET         DISPID_NORMAL_FIRST
#define DISPID_LINK             DISPID_NORMAL_FIRST
#define DISPID_STYLEELEMENT     DISPID_NORMAL_FIRST
#define DISPID_FILTERS          DISPID_NORMAL_FIRST
#define DISPID_TABLESECTION     DISPID_NORMAL_FIRST
#define DISPID_OMRECT           DISPID_NORMAL_FIRST
#define DISPID_OMDOCUMENT       DISPID_NORMAL_FIRST
#define DISPID_SCREEN           DISPID_NORMAL_FIRST
#define DISPID_DOMATTRIBUTE     DISPID_NORMAL_FIRST
#define DISPID_DOMTEXTNODE      DISPID_NORMAL_FIRST
#define DISPID_GENERIC          DISPID_NORMAL_FIRST
#define DISPID_URN_COLL         DISPID_NORMAL_FIRST
#define DISPID_NAMESPACE_COLLECTION               DISPID_NORMAL_FIRST
#define DISPID_NAMESPACE                          DISPID_NORMAL_FIRST
#define DISPID_TAGNAMES_COLLECTION                DISPID_NORMAL_FIRST
#define DISPID_XMLHTTPREQUEST                     DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION  DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO             DISPID_NORMAL_FIRST
#define DISPID_XDOMAINREQUEST   DISPID_NORMAL_FIRST
#define DISPID_DOMSTORAGEITEM   DISPID_NORMAL_FIRST
#define DISPID_DOMSTORAGE       DISPID_NORMAL_FIRST
#define DISPID_DOMSTORAGELIST   DISPID_NORMAL_FIRST

#define DISPID_DOMIMPLEMENTATION  DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO  DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION  DISPID_NORMAL_FIRST

#define DISPID_IE8_ANCHOR        DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_AREA          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_BASE          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_BODY          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_FORM          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_HEAD          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_IMG           DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_INPUT         DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_LINK          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_MOD           DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_SCRIPT        DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_ATTR          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_NAMEDNODEMAP  DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_COLLECTION    DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_PARAM         DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_EMBED         DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_BLOCK         DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_META          DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_STYLE         DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_SELECT        DISPID_IE8_NORMAL_FIRST

#define DISPID_IE8_ELEMENTBASE  (DISPID_ELEMENT+200)
#define DISPID_IE8_ELEMENTMAX   (DISPID_SITE-1)
#define DISPID_IE8_ELEMENT      DISPID_IE8_ELEMENTBASE

#define DISPID_IE8_FRAMESITEBASE  (DISPID_FRAMESITE+1120)
#define DISPID_IE8_FRAMEMAX       (WEBOC_DISPIDBASE-1)
#define DISPID_IE8_FRAME          DISPID_IE8_FRAMESITEBASE
#define DISPID_IE8_IFRAME         DISPID_IE8_FRAMESITEBASE

#define DISPID_IE8_OBJECTBASE  (DISPID_OBJECT+30)
#define DISPID_IE8_OBJECTMAX   (DISPID_STYLE-1)
#define DISPID_IE8_OBJECT      DISPID_IE8_OBJECTBASE

#define DISPID_COLLECTION      (DISPID_NORMAL_FIRST+500)
#define DISPID_OPTIONS_COL     (DISPID_NORMAL_FIRST+500)
#define DISPID_IMG             (DISPID_IMGBASE+1000)
#define DISPID_INPUTIMAGE      (DISPID_IMGBASE+1000)
#define DISPID_INPUT           (DISPID_TEXTSITE+1000)
#define DISPID_TABLECELL       (DISPID_TEXTSITE+1000)
#define DISPID_1D              (DISPID_TEXTSITE+1000)
#define DISPID_BODY            (DISPID_TEXTSITE+1000)
#define DISPID_INPUTTEXTBASE   (DISPID_INPUT+1000)
#define DISPID_INPUTTEXT       (DISPID_INPUTTEXTBASE+1000)
#define DISPID_TEXTAREA        (DISPID_INPUTTEXT+1000)
#define DISPID_MARQUEE         (DISPID_TEXTAREA+1000)
#define DISPID_RICHTEXT        (DISPID_MARQUEE+1000)
#define DISPID_BUTTON          (DISPID_RICHTEXT+1000)

#define DISPID_XOBJ_MIN       0x80010000
#define DISPID_XOBJ_MAX       0x8001FFFF
#define DISPID_XOBJ_BASE      DISPID_XOBJ_MIN
#define DISPID_HTMLOBJECT     (DISPID_XOBJ_BASE+500)
#define DISPID_ELEMENT        (DISPID_HTMLOBJECT+500)
#define DISPID_SITE           (DISPID_ELEMENT+1000)
#define DISPID_OBJECT         (DISPID_SITE+1000)
#define DISPID_STYLE          (DISPID_OBJECT+1000)
#define DISPID_ATTRS          (DISPID_STYLE+1000)
#define DISPID_EVENTS         (DISPID_ATTRS+1000)
#define DISPID_XOBJ_EXPANDO   (DISPID_EVENTS+1000)
#define DISPID_XOBJ_ORDINAL   (DISPID_XOBJ_EXPANDO+1000)
#define DISPID_RADIO          (DISPID_CHECKBOX+1000)
#define DISPID_FRAMESITE      (DISPID_SITE+1000)
#define DISPID_FRAME          (DISPID_FRAMESITE+1000)
#define DISPID_IFRAME         (DISPID_FRAMESITE+1000)

#define DISPID_WINDOW      1
#define DISPID_HISTORY     1
#define DISPID_LOCATION    1
#define DISPID_NAVIGATOR   1

#define STDPROPID_XOBJ_NAME              (DISPID_XOBJ_BASE+0)
#define STDPROPID_XOBJ_INDEX             (DISPID_XOBJ_BASE+1)
#define STDPROPID_XOBJ_BASEHREF          (DISPID_XOBJ_BASE+2)
#define STDPROPID_XOBJ_LEFT              (DISPID_XOBJ_BASE+3)
#define STDPROPID_XOBJ_TOP               (DISPID_XOBJ_BASE+4)
#define STDPROPID_XOBJ_WIDTH             (DISPID_XOBJ_BASE+5)
#define STDPROPID_XOBJ_HEIGHT            (DISPID_XOBJ_BASE+6)
#define STDPROPID_XOBJ_VISIBLE           (DISPID_XOBJ_BASE+7)
#define STDPROPID_XOBJ_PARENT            (DISPID_XOBJ_BASE+8)
#define STDPROPID_XOBJ_DRAGMODE          (DISPID_XOBJ_BASE+9)
#define STDPROPID_XOBJ_DRAGICON          (DISPID_XOBJ_BASE+10)
#define STDPROPID_XOBJ_TAG               (DISPID_XOBJ_BASE+11)
#define STDPROPID_XOBJ_TABSTOP           (DISPID_XOBJ_BASE+14)
#define STDPROPID_XOBJ_TABINDEX          (DISPID_XOBJ_BASE+15)
#define STDPROPID_XOBJ_HELPCONTEXTID     (DISPID_XOBJ_BASE+50)
#define STDPROPID_XOBJ_DEFAULT           (DISPID_XOBJ_BASE+55)
#define STDPROPID_XOBJ_CANCEL            (DISPID_XOBJ_BASE+56)
#define STDPROPID_XOBJ_LEFTNORUN         (DISPID_XOBJ_BASE+57)
#define STDPROPID_XOBJ_TOPNORUN          (DISPID_XOBJ_BASE+58)
#define STDPROPID_XOBJ_ALIGNPERSIST      (DISPID_XOBJ_BASE+60)
#define STDPROPID_XOBJ_LINKTIMEOUT       (DISPID_XOBJ_BASE+61)
#define STDPROPID_XOBJ_LINKTOPIC         (DISPID_XOBJ_BASE+62)
#define STDPROPID_XOBJ_LINKITEM          (DISPID_XOBJ_BASE+63)
#define STDPROPID_XOBJ_LINKMODE          (DISPID_XOBJ_BASE+64)
#define STDPROPID_XOBJ_DATACHANGED       (DISPID_XOBJ_BASE+65)
#define STDPROPID_XOBJ_DATAFIELD         (DISPID_XOBJ_BASE+66)
#define STDPROPID_XOBJ_DATASOURCE        (DISPID_XOBJ_BASE+67)
#define STDPROPID_XOBJ_WHATSTHISHELPID   (DISPID_XOBJ_BASE+68)
#define STDPROPID_XOBJ_CONTROLTIPTEXT    (DISPID_XOBJ_BASE+69)
#define STDPROPID_XOBJ_STATUSBARTEXT     (DISPID_XOBJ_BASE+70)
#define STDPROPID_XOBJ_APPLICATION       (DISPID_XOBJ_BASE+71)
#define STDPROPID_XOBJ_BLOCKALIGN        (DISPID_XOBJ_BASE+72)
#define STDPROPID_XOBJ_CONTROLALIGN      (DISPID_XOBJ_BASE+73)
#define STDPROPID_XOBJ_STYLE             (DISPID_XOBJ_BASE+74)
#define STDPROPID_XOBJ_COUNT             (DISPID_XOBJ_BASE+75)
#define STDPROPID_XOBJ_DISABLED          (DISPID_XOBJ_BASE+76)
#define STDPROPID_XOBJ_RIGHT             (DISPID_XOBJ_BASE+77)
#define STDPROPID_XOBJ_BOTTOM            (DISPID_XOBJ_BASE+78)

#define STDDISPID_XOBJ_ONBLUR             (DISPID_XOBJ_BASE+0)
#define STDDISPID_XOBJ_ONFOCUS            (DISPID_XOBJ_BASE+1)
#define STDDISPID_XOBJ_BEFOREUPDATE       (DISPID_XOBJ_BASE+4)
#define STDDISPID_XOBJ_AFTERUPDATE        (DISPID_XOBJ_BASE+5)
#define STDDISPID_XOBJ_ONROWEXIT          (DISPID_XOBJ_BASE+6)
#define STDDISPID_XOBJ_ONROWENTER         (DISPID_XOBJ_BASE+7)
#define STDDISPID_XOBJ_ONMOUSEOVER        (DISPID_XOBJ_BASE+8)
#define STDDISPID_XOBJ_ONMOUSEOUT         (DISPID_XOBJ_BASE+9)
#define STDDISPID_XOBJ_ONHELP             (DISPID_XOBJ_BASE+10)
#define STDDISPID_XOBJ_ONDRAGSTART        (DISPID_XOBJ_BASE+11)
#define STDDISPID_XOBJ_ONSELECTSTART      (DISPID_XOBJ_BASE+12)
#define STDDISPID_XOBJ_ERRORUPDATE        (DISPID_XOBJ_BASE+13)
#define STDDISPID_XOBJ_ONDATASETCHANGED   (DISPID_XOBJ_BASE+14)
#define STDDISPID_XOBJ_ONDATAAVAILABLE    (DISPID_XOBJ_BASE+15)
#define STDDISPID_XOBJ_ONDATASETCOMPLETE  (DISPID_XOBJ_BASE+16)
#define STDDISPID_XOBJ_ONFILTER           (DISPID_XOBJ_BASE+17)
#define STDDISPID_XOBJ_ONLOSECAPTURE      (DISPID_XOBJ_BASE+18)
#define STDDISPID_XOBJ_ONPROPERTYCHANGE   (DISPID_XOBJ_BASE+19)
#define STDDISPID_XOBJ_ONDRAG             (DISPID_XOBJ_BASE+20)
#define STDDISPID_XOBJ_ONDRAGEND          (DISPID_XOBJ_BASE+21)
#define STDDISPID_XOBJ_ONDRAGENTER        (DISPID_XOBJ_BASE+22)
#define STDDISPID_XOBJ_ONDRAGOVER         (DISPID_XOBJ_BASE+23)
#define STDDISPID_XOBJ_ONDRAGLEAVE        (DISPID_XOBJ_BASE+24)
#define STDDISPID_XOBJ_ONDROP             (DISPID_XOBJ_BASE+25)
#define STDDISPID_XOBJ_ONCUT              (DISPID_XOBJ_BASE+26)
#define STDDISPID_XOBJ_ONCOPY             (DISPID_XOBJ_BASE+27)
#define STDDISPID_XOBJ_ONPASTE            (DISPID_XOBJ_BASE+28)
#define STDDISPID_XOBJ_ONBEFORECUT        (DISPID_XOBJ_BASE+29)
#define STDDISPID_XOBJ_ONBEFORECOPY       (DISPID_XOBJ_BASE+30)
#define STDDISPID_XOBJ_ONBEFOREPASTE      (DISPID_XOBJ_BASE+31)
#define STDDISPID_XOBJ_ONROWSDELETE       (DISPID_XOBJ_BASE+32)
#define STDDISPID_XOBJ_ONROWSINSERTED     (DISPID_XOBJ_BASE+33)
#define STDDISPID_XOBJ_ONCELLCHANGE       (DISPID_XOBJ_BASE+34)

#define DISPID_A_FIRST                       DISPID_ATTRS
#define DISPID_A_BACKGROUNDIMAGE             (DISPID_A_FIRST+1)
#define DISPID_A_COLOR                       (DISPID_A_FIRST+2)
#define DISPID_A_TEXTTRANSFORM               (DISPID_A_FIRST+4)
#define DISPID_A_NOWRAP                      (DISPID_A_FIRST+5)
#define DISPID_A_LINEHEIGHT                  (DISPID_A_FIRST+6)
#define DISPID_A_TEXTINDENT                  (DISPID_A_FIRST+7)
#define DISPID_A_LETTERSPACING               (DISPID_A_FIRST+8)
#define DISPID_A_LANG                        (DISPID_A_FIRST+9)
#define DISPID_A_OVERFLOW                    (DISPID_A_FIRST+10)
#define DISPID_A_PADDING                     (DISPID_A_FIRST+11)
#define DISPID_A_PADDINGTOP                  (DISPID_A_FIRST+12)
#define DISPID_A_PADDINGRIGHT                (DISPID_A_FIRST+13)
#define DISPID_A_PADDINGBOTTOM               (DISPID_A_FIRST+14)
#define DISPID_A_PADDINGLEFT                 (DISPID_A_FIRST+15)
#define DISPID_A_CLEAR                       (DISPID_A_FIRST+16)
#define DISPID_A_LISTTYPE                    (DISPID_A_FIRST+17)
#define DISPID_A_FONTFACE                    (DISPID_A_FIRST+18)
#define DISPID_A_FONTSIZE                    (DISPID_A_FIRST+19)
#define DISPID_A_TEXTDECORATIONLINETHROUGH   (DISPID_A_FIRST+20)
#define DISPID_A_TEXTDECORATIONUNDERLINE     (DISPID_A_FIRST+21)
#define DISPID_A_TEXTDECORATIONBLINK         (DISPID_A_FIRST+22)
#define DISPID_A_TEXTDECORATIONNONE          (DISPID_A_FIRST+23)
#define DISPID_A_FONTSTYLE                   (DISPID_A_FIRST+24)
#define DISPID_A_FONTVARIANT                 (DISPID_A_FIRST+25)
#define DISPID_A_BASEFONT                    (DISPID_A_FIRST+26)
#define DISPID_A_FONTWEIGHT                  (DISPID_A_FIRST+27)
#define DISPID_A_TABLEBORDERCOLOR            (DISPID_A_FIRST+28)
#define DISPID_A_TABLEBORDERCOLORLIGHT       (DISPID_A_FIRST+29)
#define DISPID_A_TABLEBORDERCOLORDARK        (DISPID_A_FIRST+30)
#define DISPID_A_TABLEVALIGN                 (DISPID_A_FIRST+31)
#define DISPID_A_BACKGROUND                  (DISPID_A_FIRST+32)
#define DISPID_A_BACKGROUNDPOSX              (DISPID_A_FIRST+33)
#define DISPID_A_BACKGROUNDPOSY              (DISPID_A_FIRST+34)
#define DISPID_A_TEXTDECORATION              (DISPID_A_FIRST+35)
#define DISPID_A_MARGIN                      (DISPID_A_FIRST+36)
#define DISPID_A_MARGINTOP                   (DISPID_A_FIRST+37)
#define DISPID_A_MARGINRIGHT                 (DISPID_A_FIRST+38)
#define DISPID_A_MARGINBOTTOM                (DISPID_A_FIRST+39)
#define DISPID_A_MARGINLEFT                  (DISPID_A_FIRST+40)
#define DISPID_A_FONT                        (DISPID_A_FIRST+41)
#define DISPID_A_FONTSIZEKEYWORD             (DISPID_A_FIRST+42)
#define DISPID_A_FONTSIZECOMBINE             (DISPID_A_FIRST+43)
#define DISPID_A_BACKGROUNDREPEAT            (DISPID_A_FIRST+44)
#define DISPID_A_BACKGROUNDATTACHMENT        (DISPID_A_FIRST+45)
#define DISPID_A_BACKGROUNDPOSITION          (DISPID_A_FIRST+46)
#define DISPID_A_WORDSPACING                 (DISPID_A_FIRST+47)
#define DISPID_A_VERTICALALIGN               (DISPID_A_FIRST+48)
#define DISPID_A_BORDER                      (DISPID_A_FIRST+49)
#define DISPID_A_BORDERTOP                   (DISPID_A_FIRST+50)
#define DISPID_A_BORDERRIGHT                 (DISPID_A_FIRST+51)
#define DISPID_A_BORDERBOTTOM                (DISPID_A_FIRST+52)
#define DISPID_A_BORDERLEFT                  (DISPID_A_FIRST+53)
#define DISPID_A_BORDERCOLOR                 (DISPID_A_FIRST+54)
#define DISPID_A_BORDERTOPCOLOR              (DISPID_A_FIRST+55)
#define DISPID_A_BORDERRIGHTCOLOR            (DISPID_A_FIRST+56)
#define DISPID_A_BORDERBOTTOMCOLOR           (DISPID_A_FIRST+57)
#define DISPID_A_BORDERLEFTCOLOR             (DISPID_A_FIRST+58)
#define DISPID_A_BORDERWIDTH                 (DISPID_A_FIRST+59)
#define DISPID_A_BORDERTOPWIDTH              (DISPID_A_FIRST+60)
#define DISPID_A_BORDERRIGHTWIDTH            (DISPID_A_FIRST+61)
#define DISPID_A_BORDERBOTTOMWIDTH           (DISPID_A_FIRST+62)
#define DISPID_A_BORDERLEFTWIDTH             (DISPID_A_FIRST+63)
#define DISPID_A_BORDERSTYLE                 (DISPID_A_FIRST+64)
#define DISPID_A_BORDERTOPSTYLE              (DISPID_A_FIRST+65)
#define DISPID_A_BORDERRIGHTSTYLE            (DISPID_A_FIRST+66)
#define DISPID_A_BORDERBOTTOMSTYLE           (DISPID_A_FIRST+67)
#define DISPID_A_BORDERLEFTSTYLE             (DISPID_A_FIRST+68)
#define DISPID_A_TEXTDECORATIONOVERLINE      (DISPID_A_FIRST+69)
#define DISPID_A_FLOAT                       (DISPID_A_FIRST+70)
#define DISPID_A_DISPLAY                     (DISPID_A_FIRST+71)
#define DISPID_A_LISTSTYLETYPE               (DISPID_A_FIRST+72)
#define DISPID_A_LISTSTYLEPOSITION           (DISPID_A_FIRST+73)
#define DISPID_A_LISTSTYLEIMAGE              (DISPID_A_FIRST+74)
#define DISPID_A_LISTSTYLE                   (DISPID_A_FIRST+75)
#define DISPID_A_WHITESPACE                  (DISPID_A_FIRST+76)
#define DISPID_A_PAGEBREAKBEFORE             (DISPID_A_FIRST+77)
#define DISPID_A_PAGEBREAKAFTER              (DISPID_A_FIRST+78)
#define DISPID_A_SCROLL                      (DISPID_A_FIRST+79)
#define DISPID_A_VISIBILITY                  (DISPID_A_FIRST+80)
#define DISPID_A_HIDDEN                      (DISPID_A_FIRST+81)
#define DISPID_A_FILTER                      (DISPID_A_FIRST+82)
#define DISPID_DEFAULTVALUE                  (DISPID_A_FIRST+83)
#define DISPID_A_BORDERCOLLAPSE              (DISPID_A_FIRST+84)
#define DISPID_A_POSITION                    (DISPID_A_FIRST+90)
#define DISPID_A_ZINDEX                      (DISPID_A_FIRST+91)
#define DISPID_A_CLIP                        (DISPID_A_FIRST+92)
#define DISPID_A_CLIPRECTTOP                 (DISPID_A_FIRST+93)
#define DISPID_A_CLIPRECTRIGHT               (DISPID_A_FIRST+94)
#define DISPID_A_CLIPRECTBOTTOM              (DISPID_A_FIRST+95)
#define DISPID_A_CLIPRECTLEFT                (DISPID_A_FIRST+96)
#define DISPID_A_FONTFACESRC                 (DISPID_A_FIRST+97)
#define DISPID_A_TABLELAYOUT                 (DISPID_A_FIRST+98)
#define DISPID_A_STYLETEXT                   (DISPID_A_FIRST+99)
#define DISPID_A_LANGUAGE                    (DISPID_A_FIRST+100)
#define DISPID_A_VALUE                       (DISPID_A_FIRST+101)
#define DISPID_A_CURSOR                      (DISPID_A_FIRST+102)
#define DISPID_A_EVENTSINK                   (DISPID_A_FIRST+103)
#define DISPID_A_PROPNOTIFYSINK              (DISPID_A_FIRST+104)
#define DISPID_A_ROWSETNOTIFYSINK            (DISPID_A_FIRST+105)
#define DISPID_INTERNAL_INLINESTYLEAA        (DISPID_A_FIRST+106)
#define DISPID_INTERNAL_CSTYLEPTRCACHE       (DISPID_A_FIRST+107)
#define DISPID_INTERNAL_CRUNTIMESTYLEPTRCACHE  (DISPID_A_FIRST+108)
#define DISPID_INTERNAL_INVOKECONTEXT        (DISPID_A_FIRST+109)
#define DISPID_A_BGURLIMGCTXCACHEINDEX       (DISPID_A_FIRST+110)
#define DISPID_A_LIURLIMGCTXCACHEINDEX       (DISPID_A_FIRST+111)
#define DISPID_A_ROWSETASYNCHNOTIFYSINK      (DISPID_A_FIRST+112)
#define DISPID_INTERNAL_FILTERPTRCACHE       (DISPID_A_FIRST+113)
#define DISPID_A_ROWPOSITIONCHANGESINK       (DISPID_A_FIRST+114)
#define DISPID_A_BEHAVIOR                    (DISPID_A_FIRST+115)
#define DISPID_A_READYSTATE                  (DISPID_A_FIRST+116)
#define DISPID_A_DIR                         (DISPID_A_FIRST+117)
#define DISPID_A_UNICODEBIDI                 (DISPID_A_FIRST+118)
#define DISPID_A_DIRECTION                   (DISPID_A_FIRST+119)
#define DISPID_A_IMEMODE                     (DISPID_A_FIRST+120)
#define DISPID_A_RUBYALIGN                   (DISPID_A_FIRST+121)
#define DISPID_A_RUBYPOSITION                (DISPID_A_FIRST+122)
#define DISPID_A_RUBYOVERHANG                (DISPID_A_FIRST+123)
#define DISPID_INTERNAL_ONBEHAVIOR_CONTENTREADY   (DISPID_A_FIRST+124)
#define DISPID_INTERNAL_ONBEHAVIOR_DOCUMENTREADY  (DISPID_A_FIRST+125)
#define DISPID_INTERNAL_CDOMCHILDRENPTRCACHE (DISPID_A_FIRST+126)
#define DISPID_A_LAYOUTGRIDCHAR              (DISPID_A_FIRST+127)
#define DISPID_A_LAYOUTGRIDLINE              (DISPID_A_FIRST+128)
#define DISPID_A_LAYOUTGRIDMODE              (DISPID_A_FIRST+129)
#define DISPID_A_LAYOUTGRIDTYPE              (DISPID_A_FIRST+130)
#define DISPID_A_LAYOUTGRID                  (DISPID_A_FIRST+131)
#define DISPID_A_TEXTAUTOSPACE               (DISPID_A_FIRST+132)
#define DISPID_A_LINEBREAK                   (DISPID_A_FIRST+133)
#define DISPID_A_WORDBREAK                   (DISPID_A_FIRST+134)
#define DISPID_A_TEXTJUSTIFY                 (DISPID_A_FIRST+135)
#define DISPID_A_TEXTJUSTIFYTRIM             (DISPID_A_FIRST+136)
#define DISPID_A_TEXTKASHIDA                 (DISPID_A_FIRST+137)
#define DISPID_A_OVERFLOWX                   (DISPID_A_FIRST+139)
#define DISPID_A_OVERFLOWY                   (DISPID_A_FIRST+140)
#define DISPID_A_HTCDISPATCHITEM_VALUE       (DISPID_A_FIRST+141)
#define DISPID_A_DOCFRAGMENT                 (DISPID_A_FIRST+142)
#define DISPID_A_HTCDD_ELEMENT               (DISPID_A_FIRST+143)
#define DISPID_A_HTCDD_CREATEEVENTOBJECT     (DISPID_A_FIRST+144)
#define DISPID_A_URNATOM                     (DISPID_A_FIRST+145)
#define DISPID_A_UNIQUEPEERNUMBER            (DISPID_A_FIRST+146)
#define DISPID_A_ACCELERATOR                 (DISPID_A_FIRST+147)
#define DISPID_INTERNAL_ONBEHAVIOR_APPLYSTYLE       (DISPID_A_FIRST+148)
#define DISPID_INTERNAL_RUNTIMESTYLEAA              (DISPID_A_FIRST+149)
#define DISPID_A_HTCDISPATCHITEM_VALUE_SCRIPTSONLY  (DISPID_A_FIRST+150)
#define DISPID_A_EXTENDEDTAGDESC             (DISPID_A_FIRST+151)
#define DISPID_A_ROTATE                      (DISPID_A_FIRST+152)
#define DISPID_A_ZOOM                        (DISPID_A_FIRST+153)
#define DISPID_A_HTCDD_PROTECTEDELEMENT      (DISPID_A_FIRST+154)
#define DISPID_A_LAYOUTFLOW                  (DISPID_A_FIRST+155)
#define DISPID_A_HTCDD_ISMARKUPSHARED        (DISPID_A_FIRST+157)
#define DISPID_A_WORDWRAP                    (DISPID_A_FIRST+158)
#define DISPID_A_TEXTUNDERLINEPOSITION       (DISPID_A_FIRST+159)
#define DISPID_A_HASLAYOUT                   (DISPID_A_FIRST+160)
#define DISPID_A_MEDIA                       (DISPID_A_FIRST+161)
#define DISPID_A_EDITABLE                    (DISPID_A_FIRST+162)
#define DISPID_A_HIDEFOCUS                   (DISPID_A_FIRST+163)
#define DISPID_INTERNAL_LAYOUTRECTREGISTRYPTRCACHE  (DISPID_A_FIRST+164)
#define DISPID_A_HTCDD_DEFAULTS              (DISPID_A_FIRST+165)
#define DISPID_A_TEXTLINETHROUGHSTYLE        (DISPID_A_FIRST+166)
#define DISPID_A_TEXTUNDERLINESTYLE          (DISPID_A_FIRST+167)
#define DISPID_A_TEXTEFFECT                  (DISPID_A_FIRST+168)
#define DISPID_A_TEXTBACKGROUNDCOLOR         (DISPID_A_FIRST+169)
#define DISPID_A_RENDERINGPRIORITY           (DISPID_A_FIRST+170)
#define DISPID_INTERNAL_DWNPOSTPTRCACHE      (DISPID_A_FIRST+171)
#define DISPID_INTERNAL_CODEPAGESETTINGSPTRCACHE  (DISPID_A_FIRST+172)
#define DISPID_INTERNAL_DWNDOCPTRCACHE       (DISPID_A_FIRST+173)
#define DISPID_INTERNAL_DATABINDTASKPTRCACHE (DISPID_A_FIRST+174)
#define DISPID_INTERNAL_URLLOCATIONCACHE     (DISPID_A_FIRST+175)
#define DISPID_INTERNAL_ARYELEMENTRELEASENOTIFYPTRCACHE  (DISPID_A_FIRST+176)
#define DISPID_INTERNAL_PEERFACTORYURLMAPPTRCACHE        (DISPID_A_FIRST+177)
#define DISPID_INTERNAL_STMDIRTYPTRCACHE     (DISPID_A_FIRST+178)
#define DISPID_INTERNAL_COMPUTEFORMATSTATECACHE  (DISPID_A_FIRST+179)
#define DISPID_A_SCROLLBARBASECOLOR          (DISPID_A_FIRST+180)
#define DISPID_A_SCROLLBARFACECOLOR          (DISPID_A_FIRST+181)
#define DISPID_A_SCROLLBAR3DLIGHTCOLOR       (DISPID_A_FIRST+182)
#define DISPID_A_SCROLLBARSHADOWCOLOR        (DISPID_A_FIRST+183)
#define DISPID_A_SCROLLBARHIGHLIGHTCOLOR     (DISPID_A_FIRST+184)
#define DISPID_A_SCROLLBARDARKSHADOWCOLOR    (DISPID_A_FIRST+185)
#define DISPID_A_SCROLLBARARROWCOLOR         (DISPID_A_FIRST+186)
#define DISPID_INTERNAL_ONBEHAVIOR_CONTENTSAVE  (DISPID_A_FIRST+187)
#define DISPID_A_DEFAULTTEXTSELECTION        (DISPID_A_FIRST+188)
#define DISPID_A_TEXTDECORATIONCOLOR         (DISPID_A_FIRST+189)
#define DISPID_A_TEXTCOLOR                   (DISPID_A_FIRST+190)
#define DISPID_A_STYLETEXTDECORATION         (DISPID_A_FIRST+191)
#define DISPID_A_WRITINGMODE                 (DISPID_A_FIRST+192)
#define DISPID_INTERNAL_MEDIA_REFERENCE      (DISPID_A_FIRST+193)
#define DISPID_INTERNAL_GENERICCOMPLUSREF    (DISPID_A_FIRST+194)
#define DISPID_INTERNAL_FOCUSITEMS           (DISPID_A_FIRST+195)
#define DISPID_A_SCROLLBARTRACKCOLOR         (DISPID_A_FIRST+196)
#define DISPID_INTERNAL_DWNHEADERCACHE       (DISPID_A_FIRST+197)
#define DISPID_A_FROZEN                      (DISPID_A_FIRST+198)
#define DISPID_A_VIEWINHERITSTYLE            (DISPID_A_FIRST+199)
#define DISPID_INTERNAL_FRAMESCOLLECTION     (DISPID_A_FIRST+200)
#define DISPID_A_BGURLIMGCTXCACHEINDEX_FLINE (DISPID_A_FIRST+201)
#define DISPID_A_BGURLIMGCTXCACHEINDEX_FLETTER  (DISPID_A_FIRST+202)
#define DISPID_A_TEXTALIGNLAST               (DISPID_A_FIRST+203)
#define DISPID_A_TEXTKASHIDASPACE            (DISPID_A_FIRST+204)
#define DISPID_INTERNAL_FONTHISTORYINDEX     (DISPID_A_FIRST+205)
#define DISPID_A_ALLOWTRANSPARENCY           (DISPID_A_FIRST+206)
#define DISPID_INTERNAL_URLSEARCHCACHE       (DISPID_A_FIRST+207)
#define DISPID_A_ISBLOCK                     (DISPID_A_FIRST+208)
#define DISPID_A_TEXTOVERFLOW                (DISPID_A_FIRST+209)
#define DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE  (DISPID_A_FIRST+210)
#define DISPID_A_MINHEIGHT                   (DISPID_A_FIRST+211)
#define DISPID_INTERNAL_INVOKECONTEXTDOCUMENT   (DISPID_A_FIRST+212)
#define DISPID_A_INTERPOLATION               (DISPID_A_FIRST+213)
#define DISPID_A_MAXHEIGHT                   (DISPID_A_FIRST+214)
#define DISPID_A_MINWIDTH                    (DISPID_A_FIRST+215)
#define DISPID_A_MAXWIDTH                    (DISPID_A_FIRST+216)
#define DISPID_INTERNAL_ARYOBJECTRELEASECLEANUPPTRCACHE  (DISPID_A_FIRST+217)
#define DISPID_A_CONTENT                     (DISPID_A_FIRST+218)
#define DISPID_A_CAPTIONSIDE                 (DISPID_A_FIRST+219)
#define DISPID_A_COUNTERINCREMENT            (DISPID_A_FIRST+220)
#define DISPID_A_COUNTERRESET                (DISPID_A_FIRST+221)
#define DISPID_A_OUTLINE                     (DISPID_A_FIRST+222)
#define DISPID_A_OUTLINEWIDTH                (DISPID_A_FIRST+223)
#define DISPID_A_OUTLINESTYLE                (DISPID_A_FIRST+224)
#define DISPID_A_OUTLINECOLOR                (DISPID_A_FIRST+225)
#define DISPID_A_BOXSIZING                   (DISPID_A_FIRST+226)
#define DISPID_A_BORDERSPACING               (DISPID_A_FIRST+227)
#define DISPID_A_ORPHANS                     (DISPID_A_FIRST+228)
#define DISPID_A_WIDOWS                      (DISPID_A_FIRST+229)
#define DISPID_A_PAGEBREAKINSIDE             (DISPID_A_FIRST+230)
#define DISPID_A_MS_BEHAVIOR                 (DISPID_A_FIRST+231)
#define DISPID_A_MS_SCROLLBARBASECOLOR       (DISPID_A_FIRST+232)
#define DISPID_A_MS_SCROLLBARFACECOLOR       (DISPID_A_FIRST+233)
#define DISPID_A_MS_SCROLLBAR3DLIGHTCOLOR    (DISPID_A_FIRST+234)
#define DISPID_A_MS_SCROLLBARSHADOWCOLOR     (DISPID_A_FIRST+235)
#define DISPID_A_MS_SCROLLBARHIGHLIGHTCOLOR  (DISPID_A_FIRST+236)
#define DISPID_A_MS_SCROLLBARDARKSHADOWCOLOR (DISPID_A_FIRST+237)
#define DISPID_A_MS_SCROLLBARARROWCOLOR      (DISPID_A_FIRST+238)
#define DISPID_A_MS_SCROLLBARTRACKCOLOR      (DISPID_A_FIRST+239)
#define DISPID_A_MS_TEXTALIGNLAST            (DISPID_A_FIRST+240)
#define DISPID_A_MS_TEXTOVERFLOW             (DISPID_A_FIRST+241)
#define DISPID_A_MS_TEXTUNDERLINEPOSITION    (DISPID_A_FIRST+242)
#define DISPID_A_MS_WRITINGMODE              (DISPID_A_FIRST+243)
#define DISPID_A_MS_IMEMODE                  (DISPID_A_FIRST+244)
#define DISPID_A_MS_BACKGROUNDPOSX           (DISPID_A_FIRST+245)
#define DISPID_A_MS_BACKGROUNDPOSY           (DISPID_A_FIRST+246)
#define DISPID_A_MS_ACCELERATOR              (DISPID_A_FIRST+247)
#define DISPID_A_MS_LAYOUTFLOW               (DISPID_A_FIRST+248)
#define DISPID_A_MS_ZOOM                     (DISPID_A_FIRST+249)
#define DISPID_A_EMPTYCELLS                  (DISPID_A_FIRST+250)
#define DISPID_A_MS_BLOCKPROGRESSION         (DISPID_A_FIRST+251)
#define DISPID_A_QUOTES                      (DISPID_A_FIRST+252)

#define DISPID_WINDOWOBJECT          (-5500)
#define DISPID_LOCATIONOBJECT        (-5506)
#define DISPID_HISTORYOBJECT         (-5507)
#define DISPID_NAVIGATOROBJECT       (-5508)
#define DISPID_SECURITYCTX           (-5511)
#define DISPID_AMBIENT_DLCONTROL     (-5512)
#define DISPID_AMBIENT_USERAGENT     (-5513)
#define DISPID_SECURITYDOMAIN        (-5514)

#define DLCTL_DLIMAGES               0x00000010
#define DLCTL_VIDEOS                 0x00000020
#define DLCTL_BGSOUNDS               0x00000040
#define DLCTL_NO_SCRIPTS             0x00000080
#define DLCTL_NO_JAVA                0x00000100
#define DLCTL_NO_RUNACTIVEXCTLS      0x00000200
#define DLCTL_NO_DLACTIVEXCTLS       0x00000400
#define DLCTL_DOWNLOADONLY           0x00000800
#define DLCTL_NO_FRAMEDOWNLOAD       0x00001000
#define DLCTL_RESYNCHRONIZE          0x00002000
#define DLCTL_PRAGMA_NO_CACHE        0x00004000
#define DLCTL_FORCEOFFLINE           0x10000000
#define DLCTL_NO_CLIENTPULL          0x20000000
#define DLCTL_SILENT                 0x40000000
#define DLCTL_OFFLINEIFNOTCONNECTED  0x80000000
#define DLCTL_OFFLINE                DLCTL_OFFLINEIFNOTCONNECTED

/* events */
#define DISPID_EVPROP_ONMOUSEOVER          (DISPID_EVENTS+0)
#define DISPID_EVPROP_ONMOUSEOUT           (DISPID_EVENTS+1)
#define DISPID_EVPROP_ONMOUSEDOWN          (DISPID_EVENTS+2)
#define DISPID_EVPROP_ONMOUSEUP            (DISPID_EVENTS+3)
#define DISPID_EVPROP_ONMOUSEMOVE          (DISPID_EVENTS+4)
#define DISPID_EVPROP_ONKEYDOWN            (DISPID_EVENTS+5)
#define DISPID_EVPROP_ONKEYUP              (DISPID_EVENTS+6)
#define DISPID_EVPROP_ONKEYPRESS           (DISPID_EVENTS+7)
#define DISPID_EVPROP_ONCLICK              (DISPID_EVENTS+8)
#define DISPID_EVPROP_ONDBLCLICK           (DISPID_EVENTS+9)
#define DISPID_EVPROP_ONSELECT             (DISPID_EVENTS+10)
#define DISPID_EVPROP_ONSUBMIT             (DISPID_EVENTS+11)
#define DISPID_EVPROP_ONRESET              (DISPID_EVENTS+12)
#define DISPID_EVPROP_ONHELP               (DISPID_EVENTS+13)
#define DISPID_EVPROP_ONFOCUS              (DISPID_EVENTS+14)
#define DISPID_EVPROP_ONBLUR               (DISPID_EVENTS+15)
#define DISPID_EVPROP_ONROWEXIT            (DISPID_EVENTS+18)
#define DISPID_EVPROP_ONROWENTER           (DISPID_EVENTS+19)
#define DISPID_EVPROP_ONBOUNCE             (DISPID_EVENTS+20)
#define DISPID_EVPROP_ONBEFOREUPDATE       (DISPID_EVENTS+21)
#define DISPID_EVPROP_ONAFTERUPDATE        (DISPID_EVENTS+22)
#define DISPID_EVPROP_ONBEFOREDRAGOVER     (DISPID_EVENTS+23)
#define DISPID_EVPROP_ONBEFOREDROPORPASTE  (DISPID_EVENTS+24)
#define DISPID_EVPROP_ONREADYSTATECHANGE   (DISPID_EVENTS+25)
#define DISPID_EVPROP_ONFINISH             (DISPID_EVENTS+26)
#define DISPID_EVPROP_ONSTART              (DISPID_EVENTS+27)
#define DISPID_EVPROP_ONABORT              (DISPID_EVENTS+28)
#define DISPID_EVPROP_ONERROR              (DISPID_EVENTS+29)
#define DISPID_EVPROP_ONCHANGE             (DISPID_EVENTS+30)
#define DISPID_EVPROP_ONSCROLL             (DISPID_EVENTS+31)
#define DISPID_EVPROP_ONLOAD               (DISPID_EVENTS+32)
#define DISPID_EVPROP_ONUNLOAD             (DISPID_EVENTS+33)
#define DISPID_EVPROP_ONLAYOUT             (DISPID_EVENTS+34)
#define DISPID_EVPROP_ONDRAGSTART          (DISPID_EVENTS+35)
#define DISPID_EVPROP_ONRESIZE             (DISPID_EVENTS+36)
#define DISPID_EVPROP_ONSELECTSTART        (DISPID_EVENTS+37)
#define DISPID_EVPROP_ONERRORUPDATE        (DISPID_EVENTS+38)
#define DISPID_EVPROP_ONBEFOREUNLOAD       (DISPID_EVENTS+39)
#define DISPID_EVPROP_ONDATASETCHANGED     (DISPID_EVENTS+40)
#define DISPID_EVPROP_ONDATAAVAILABLE      (DISPID_EVENTS+41)
#define DISPID_EVPROP_ONDATASETCOMPLETE    (DISPID_EVENTS+42)
#define DISPID_EVPROP_ONFILTER             (DISPID_EVENTS+43)
#define DISPID_EVPROP_ONCHANGEFOCUS        (DISPID_EVENTS+44)
#define DISPID_EVPROP_ONCHANGEBLUR         (DISPID_EVENTS+45)
#define DISPID_EVPROP_ONLOSECAPTURE        (DISPID_EVENTS+46)
#define DISPID_EVPROP_ONPROPERTYCHANGE     (DISPID_EVENTS+47)
#define DISPID_EVPROP_ONPERSISTSAVE        (DISPID_EVENTS+48)
#define DISPID_EVPROP_ONDRAG               (DISPID_EVENTS+49)
#define DISPID_EVPROP_ONDRAGEND            (DISPID_EVENTS+50)
#define DISPID_EVPROP_ONDRAGENTER          (DISPID_EVENTS+51)
#define DISPID_EVPROP_ONDRAGOVER           (DISPID_EVENTS+52)
#define DISPID_EVPROP_ONDRAGLEAVE          (DISPID_EVENTS+53)
#define DISPID_EVPROP_ONDROP               (DISPID_EVENTS+54)
#define DISPID_EVPROP_ONCUT                (DISPID_EVENTS+55)
#define DISPID_EVPROP_ONCOPY               (DISPID_EVENTS+56)
#define DISPID_EVPROP_ONPASTE              (DISPID_EVENTS+57)
#define DISPID_EVPROP_ONBEFORECUT          (DISPID_EVENTS+58)
#define DISPID_EVPROP_ONBEFORECOPY         (DISPID_EVENTS+59)
#define DISPID_EVPROP_ONBEFOREPASTE        (DISPID_EVENTS+60)
#define DISPID_EVPROP_ONPERSISTLOAD        (DISPID_EVENTS+61)
#define DISPID_EVPROP_ONROWSDELETE         (DISPID_EVENTS+62)
#define DISPID_EVPROP_ONROWSINSERTED       (DISPID_EVENTS+63)
#define DISPID_EVPROP_ONCELLCHANGE         (DISPID_EVENTS+64)
#define DISPID_EVPROP_ONCONTEXTMENU        (DISPID_EVENTS+65)
#define DISPID_EVPROP_ONBEFOREPRINT        (DISPID_EVENTS+66)
#define DISPID_EVPROP_ONAFTERPRINT         (DISPID_EVENTS+67)
#define DISPID_EVPROP_ONSTOP               (DISPID_EVENTS+68)
#define DISPID_EVPROP_ONBEFOREEDITFOCUS    (DISPID_EVENTS+69)
#define DISPID_EVPROP_ONATTACHEVENT        (DISPID_EVENTS+70)
#define DISPID_EVPROP_ONMOUSEHOVER         (DISPID_EVENTS+71)
#define DISPID_EVPROP_ONCONTENTREADY       (DISPID_EVENTS+72)
#define DISPID_EVPROP_ONLAYOUTCOMPLETE     (DISPID_EVENTS+73)
#define DISPID_EVPROP_ONPAGE               (DISPID_EVENTS+74)
#define DISPID_EVPROP_ONLINKEDOVERFLOW     (DISPID_EVENTS+75)
#define DISPID_EVPROP_ONMOUSEWHEEL         (DISPID_EVENTS+76)
#define DISPID_EVPROP_ONBEFOREDEACTIVATE   (DISPID_EVENTS+77)
#define DISPID_EVPROP_ONMOVE               (DISPID_EVENTS+78)
#define DISPID_EVPROP_ONCONTROLSELECT      (DISPID_EVENTS+79)
#define DISPID_EVPROP_ONSELECTIONCHANGE    (DISPID_EVENTS+80)
#define DISPID_EVPROP_ONMOVESTART          (DISPID_EVENTS+81)
#define DISPID_EVPROP_ONMOVEEND            (DISPID_EVENTS+82)
#define DISPID_EVPROP_ONRESIZESTART        (DISPID_EVENTS+83)
#define DISPID_EVPROP_ONRESIZEEND          (DISPID_EVENTS+84)
#define DISPID_EVPROP_ONMOUSEENTER         (DISPID_EVENTS+85)
#define DISPID_EVPROP_ONMOUSELEAVE         (DISPID_EVENTS+86)
#define DISPID_EVPROP_ONACTIVATE           (DISPID_EVENTS+87)
#define DISPID_EVPROP_ONDEACTIVATE         (DISPID_EVENTS+88)
#define DISPID_EVPROP_ONMULTILAYOUTCLEANUP (DISPID_EVENTS+89)
#define DISPID_EVPROP_ONBEFOREACTIVATE     (DISPID_EVENTS+90)
#define DISPID_EVPROP_ONFOCUSIN            (DISPID_EVENTS+91)
#define DISPID_EVPROP_ONFOCUSOUT           (DISPID_EVENTS+92)
#define DISPID_EVPROP_ONVALUECHANGE        (DISPID_EVENTS+93)
#define DISPID_EVPROP_ONSELECTADD          (DISPID_EVENTS+94)
#define DISPID_EVPROP_ONSELECTREMOV        (DISPID_EVENTS+95)
#define DISPID_EVPROP_ONSELECTWITHI        (DISPID_EVENTS+96)
#define DISPID_EVPROP_ONSYSTEMSCROLLINGSTART   (DISPID_EVENTS+97)
#define DISPID_EVPROP_ONSYSTEMSCROLLINGEND     (DISPID_EVENTS+98)
#define DISPID_EVPROP_ONOBJECTCONTENTSCROLLED  (DISPID_EVENTS+99)
#define DISPID_EVPROP_ONSTORAGE            (DISPID_EVENTS+100)
#define DISPID_EVPROP_ONSTORAGECOMMIT      (DISPID_EVENTS+101)
#define DISPID_EVPROP_ONSHOW               (DISPID_EVENTS+102)
#define DISPID_EVPROP_ONHIDE               (DISPID_EVENTS+103)
#define DISPID_EVPROP_ONALERT              (DISPID_EVENTS+104)
#define DISPID_EVPROP_ONPOPUPMENUSTART     (DISPID_EVENTS+105)
#define DISPID_EVPROP_ONPOPUPMENUEND       (DISPID_EVENTS+106)
#define DISPID_EVPROP_ONONLINE             (DISPID_EVENTS+107)
#define DISPID_EVPROP_ONOFFLINE            (DISPID_EVENTS+108)
#define DISPID_EVPROP_ONHASHCHANGE         (DISPID_EVENTS+109)
#define DISPID_EVPROP_ONMESSAGE            (DISPID_EVENTS+110)
#define DISPID_EVPROP_ONDOMMUTATION        (DISPID_EVENTS+111)
#define DISPID_EVPROPS_COUNT               112

#define DISPID_EVMETH_ONMOUSEOVER           STDDISPID_XOBJ_ONMOUSEOVER
#define DISPID_EVMETH_ONMOUSEOUT            STDDISPID_XOBJ_ONMOUSEOUT
#define DISPID_EVMETH_ONMOUSEDOWN           DISPID_MOUSEDOWN
#define DISPID_EVMETH_ONMOUSEUP             DISPID_MOUSEUP
#define DISPID_EVMETH_ONMOUSEMOVE           DISPID_MOUSEMOVE
#define DISPID_EVMETH_ONKEYDOWN             DISPID_KEYDOWN
#define DISPID_EVMETH_ONKEYUP               DISPID_KEYUP
#define DISPID_EVMETH_ONKEYPRESS            DISPID_KEYPRESS
#define DISPID_EVMETH_ONCLICK               DISPID_CLICK
#define DISPID_EVMETH_ONDBLCLICK            DISPID_DBLCLICK
#define DISPID_EVMETH_ONSELECT              DISPID_ONSELECT
#define DISPID_EVMETH_ONSUBMIT              DISPID_ONSUBMIT
#define DISPID_EVMETH_ONRESET               DISPID_ONRESET
#define DISPID_EVMETH_ONHELP                STDDISPID_XOBJ_ONHELP
#define DISPID_EVMETH_ONFOCUS               STDDISPID_XOBJ_ONFOCUS
#define DISPID_EVMETH_ONBLUR                STDDISPID_XOBJ_ONBLUR
#define DISPID_EVMETH_ONROWEXIT             STDDISPID_XOBJ_ONROWEXIT
#define DISPID_EVMETH_ONROWENTER            STDDISPID_XOBJ_ONROWENTER
#define DISPID_EVMETH_ONBOUNCE              DISPID_ONBOUNCE
#define DISPID_EVMETH_ONBEFOREUPDATE        STDDISPID_XOBJ_BEFOREUPDATE
#define DISPID_EVMETH_ONAFTERUPDATE         STDDISPID_XOBJ_AFTERUPDATE
#define DISPID_EVMETH_ONBEFOREDRAGOVER      EVENTID_CommonCtrlEvent_BeforeDragOver
#define DISPID_EVMETH_ONBEFOREDROPORPASTE   EVENTID_CommonCtrlEvent_BeforeDropOrPaste
#define DISPID_EVMETH_ONREADYSTATECHANGE    DISPID_READYSTATECHANGE
#define DISPID_EVMETH_ONFINISH              DISPID_ONFINISH
#define DISPID_EVMETH_ONSTART               DISPID_ONSTART
#define DISPID_EVMETH_ONABORT               DISPID_ONABORT
#define DISPID_EVMETH_ONERROR               DISPID_ONERROR
#define DISPID_EVMETH_ONCHANGE              DISPID_ONCHANGE
#define DISPID_EVMETH_ONSCROLL              DISPID_ONSCROLL
#define DISPID_EVMETH_ONLOAD                DISPID_ONLOAD
#define DISPID_EVMETH_ONUNLOAD              DISPID_ONUNLOAD
#define DISPID_EVMETH_ONLAYOUT              DISPID_ONLAYOUT
#define DISPID_EVMETH_ONDRAGSTART           STDDISPID_XOBJ_ONDRAGSTART
#define DISPID_EVMETH_ONRESIZE              DISPID_ONRESIZE
#define DISPID_EVMETH_ONSELECTSTART         STDDISPID_XOBJ_ONSELECTSTART
#define DISPID_EVMETH_ONERRORUPDATE         STDDISPID_XOBJ_ERRORUPDATE
#define DISPID_EVMETH_ONBEFOREUNLOAD        DISPID_ONBEFOREUNLOAD
#define DISPID_EVMETH_ONDATASETCHANGED      STDDISPID_XOBJ_ONDATASETCHANGED
#define DISPID_EVMETH_ONDATAAVAILABLE       STDDISPID_XOBJ_ONDATAAVAILABLE
#define DISPID_EVMETH_ONDATASETCOMPLETE     STDDISPID_XOBJ_ONDATASETCOMPLETE
#define DISPID_EVMETH_ONFILTER              STDDISPID_XOBJ_ONFILTER
#define DISPID_EVMETH_ONCHANGEFOCUS         DISPID_ONCHANGEFOCUS
#define DISPID_EVMETH_ONCHANGEBLUR          DISPID_ONCHANGEBLUR
#define DISPID_EVMETH_ONLOSECAPTURE         STDDISPID_XOBJ_ONLOSECAPTURE
#define DISPID_EVMETH_ONPROPERTYCHANGE      STDDISPID_XOBJ_ONPROPERTYCHANGE
#define DISPID_EVMETH_ONPERSISTSAVE         DISPID_ONPERSISTSAVE
#define DISPID_EVMETH_ONDRAG                STDDISPID_XOBJ_ONDRAG
#define DISPID_EVMETH_ONDRAGEND             STDDISPID_XOBJ_ONDRAGEND
#define DISPID_EVMETH_ONDRAGENTER           STDDISPID_XOBJ_ONDRAGENTER
#define DISPID_EVMETH_ONDRAGOVER            STDDISPID_XOBJ_ONDRAGOVER
#define DISPID_EVMETH_ONDRAGLEAVE           STDDISPID_XOBJ_ONDRAGLEAVE
#define DISPID_EVMETH_ONDROP                STDDISPID_XOBJ_ONDROP
#define DISPID_EVMETH_ONCUT                 STDDISPID_XOBJ_ONCUT
#define DISPID_EVMETH_ONCOPY                STDDISPID_XOBJ_ONCOPY
#define DISPID_EVMETH_ONPASTE               STDDISPID_XOBJ_ONPASTE
#define DISPID_EVMETH_ONBEFORECUT           STDDISPID_XOBJ_ONBEFORECUT
#define DISPID_EVMETH_ONBEFORECOPY          STDDISPID_XOBJ_ONBEFORECOPY
#define DISPID_EVMETH_ONBEFOREPASTE         STDDISPID_XOBJ_ONBEFOREPASTE
#define DISPID_EVMETH_ONPERSISTLOAD         DISPID_ONPERSISTLOAD
#define DISPID_EVMETH_ONROWSDELETE          STDDISPID_XOBJ_ONROWSDELETE
#define DISPID_EVMETH_ONROWSINSERTED        STDDISPID_XOBJ_ONROWSINSERTED
#define DISPID_EVMETH_ONCELLCHANGE          STDDISPID_XOBJ_ONCELLCHANGE
#define DISPID_EVMETH_ONCONTEXTMENU         DISPID_ONCONTEXTMENU
#define DISPID_EVMETH_ONBEFOREPRINT         DISPID_ONBEFOREPRINT
#define DISPID_EVMETH_ONAFTERPRINT          DISPID_ONAFTERPRINT
#define DISPID_EVMETH_ONSTOP                DISPID_ONSTOP
#define DISPID_EVMETH_ONBEFOREEDITFOCUS     DISPID_ONBEFOREEDITFOCUS
#define DISPID_EVMETH_ONMOUSEHOVER          DISPID_ONMOUSEHOVER
#define DISPID_EVMETH_ONCONTENTREADY        DISPID_ONCONTENTREADY
#define DISPID_EVMETH_ONLAYOUTCOMPLETE      DISPID_ONLAYOUTCOMPLETE
#define DISPID_EVMETH_ONPAGE                DISPID_ONPAGE
#define DISPID_EVMETH_ONLINKEDOVERFLOW      DISPID_ONLINKEDOVERFLOW
#define DISPID_EVMETH_ONMOUSEWHEEL          DISPID_ONMOUSEWHEEL
#define DISPID_EVMETH_ONBEFOREDEACTIVATE    DISPID_ONBEFOREDEACTIVATE
#define DISPID_EVMETH_ONMOVE                DISPID_ONMOVE
#define DISPID_EVMETH_ONCONTROLSELECT       DISPID_ONCONTROLSELECT
#define DISPID_EVMETH_ONSELECTIONCHANGE     DISPID_ONSELECTIONCHANGE
#define DISPID_EVMETH_ONMOVESTART           DISPID_ONMOVESTART
#define DISPID_EVMETH_ONMOVEEND             DISPID_ONMOVEEND
#define DISPID_EVMETH_ONRESIZESTART         DISPID_ONRESIZESTART
#define DISPID_EVMETH_ONRESIZEEND           DISPID_ONRESIZEEND
#define DISPID_EVMETH_ONMOUSEENTER          DISPID_ONMOUSEENTER
#define DISPID_EVMETH_ONMOUSELEAVE          DISPID_ONMOUSELEAVE
#define DISPID_EVMETH_ONACTIVATE            DISPID_ONACTIVATE
#define DISPID_EVMETH_ONDEACTIVATE          DISPID_ONDEACTIVATE
#define DISPID_EVMETH_ONMULTILAYOUTCLEANUP  DISPID_ONMULTILAYOUTCLEANUP
#define DISPID_EVMETH_ONBEFOREACTIVATE      DISPID_ONBEFOREACTIVATE
#define DISPID_EVMETH_ONFOCUSIN             DISPID_ONFOCUSIN
#define DISPID_EVMETH_ONFOCUSOUT            DISPID_ONFOCUSOUT
#define DISPID_EVMETH_ONSTORAGE             DISPID_ONSTORAGE
#define DISPID_EVMETH_ONSTORAGECOMMIT       DISPID_ONSTORAGECOMMIT

#define DISPID_ONABORT               (DISPID_NORMAL_FIRST)
#define DISPID_ONCHANGE              (DISPID_NORMAL_FIRST+1)
#define DISPID_ONERROR               (DISPID_NORMAL_FIRST+2)
#define DISPID_ONLOAD                (DISPID_NORMAL_FIRST+3)
#define DISPID_ONSELECT              (DISPID_NORMAL_FIRST+6)
#define DISPID_ONSUBMIT              (DISPID_NORMAL_FIRST+7)
#define DISPID_ONUNLOAD              (DISPID_NORMAL_FIRST+8)
#define DISPID_ONBOUNCE              (DISPID_NORMAL_FIRST+9)
#define DISPID_ONFINISH              (DISPID_NORMAL_FIRST+10)
#define DISPID_ONSTART               (DISPID_NORMAL_FIRST+11)
#define DISPID_ONLAYOUT              (DISPID_NORMAL_FIRST+13)
#define DISPID_ONSCROLL              (DISPID_NORMAL_FIRST+14)
#define DISPID_ONRESET               (DISPID_NORMAL_FIRST+15)
#define DISPID_ONRESIZE              (DISPID_NORMAL_FIRST+16)
#define DISPID_ONBEFOREUNLOAD        (DISPID_NORMAL_FIRST+17)
#define DISPID_ONCHANGEFOCUS         (DISPID_NORMAL_FIRST+18)
#define DISPID_ONCHANGEBLUR          (DISPID_NORMAL_FIRST+19)
#define DISPID_ONPERSIST             (DISPID_NORMAL_FIRST+20)
#define DISPID_ONPERSISTSAVE         (DISPID_NORMAL_FIRST+21)
#define DISPID_ONPERSISTLOAD         (DISPID_NORMAL_FIRST+22)
#define DISPID_ONCONTEXTMENU         (DISPID_NORMAL_FIRST+23)
#define DISPID_ONBEFOREPRINT         (DISPID_NORMAL_FIRST+24)
#define DISPID_ONAFTERPRINT          (DISPID_NORMAL_FIRST+25)
#define DISPID_ONSTOP                (DISPID_NORMAL_FIRST+26)
#define DISPID_ONBEFOREEDITFOCUS     (DISPID_NORMAL_FIRST+27)
#define DISPID_ONMOUSEHOVER          (DISPID_NORMAL_FIRST+28)
#define DISPID_ONCONTENTREADY        (DISPID_NORMAL_FIRST+29)
#define DISPID_ONLAYOUTCOMPLETE      (DISPID_NORMAL_FIRST+30)
#define DISPID_ONPAGE                (DISPID_NORMAL_FIRST+31)
#define DISPID_ONLINKEDOVERFLOW      (DISPID_NORMAL_FIRST+32)
#define DISPID_ONMOUSEWHEEL          (DISPID_NORMAL_FIRST+33)
#define DISPID_ONBEFOREDEACTIVATE    (DISPID_NORMAL_FIRST+34)
#define DISPID_ONMOVE                (DISPID_NORMAL_FIRST+35)
#define DISPID_ONCONTROLSELECT       (DISPID_NORMAL_FIRST+36)
#define DISPID_ONSELECTIONCHANGE     (DISPID_NORMAL_FIRST+37)
#define DISPID_ONMOVESTART           (DISPID_NORMAL_FIRST+38)
#define DISPID_ONMOVEEND             (DISPID_NORMAL_FIRST+39)
#define DISPID_ONRESIZESTART         (DISPID_NORMAL_FIRST+40)
#define DISPID_ONRESIZEEND           (DISPID_NORMAL_FIRST+41)
#define DISPID_ONMOUSEENTER          (DISPID_NORMAL_FIRST+42)
#define DISPID_ONMOUSELEAVE          (DISPID_NORMAL_FIRST+43)
#define DISPID_ONACTIVATE            (DISPID_NORMAL_FIRST+44)
#define DISPID_ONDEACTIVATE          (DISPID_NORMAL_FIRST+45)
#define DISPID_ONMULTILAYOUTCLEANUP  (DISPID_NORMAL_FIRST+46)
#define DISPID_ONBEFOREACTIVATE      (DISPID_NORMAL_FIRST+47)
#define DISPID_ONFOCUSIN             (DISPID_NORMAL_FIRST+48)
#define DISPID_ONFOCUSOUT            (DISPID_NORMAL_FIRST+49)
#define DISPID_ONSTORAGE             (DISPID_NORMAL_FIRST+50)
#define DISPID_ONSTORAGECOMMIT       (DISPID_NORMAL_FIRST+51)

/* HTMLDocumentEvents */
#define DISPID_HTMLDOCUMENTEVENTS_ONHELP              DISPID_EVMETH_ONHELP
#define DISPID_HTMLDOCUMENTEVENTS_ONCLICK             DISPID_EVMETH_ONCLICK
#define DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK          DISPID_EVMETH_ONDBLCLICK
#define DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN           DISPID_EVMETH_ONKEYDOWN
#define DISPID_HTMLDOCUMENTEVENTS_ONKEYUP             DISPID_EVMETH_ONKEYUP
#define DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS          DISPID_EVMETH_ONKEYPRESS
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN         DISPID_EVMETH_ONMOUSEDOWN
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE         DISPID_EVMETH_ONMOUSEMOVE
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP           DISPID_EVMETH_ONMOUSEUP
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT          DISPID_EVMETH_ONMOUSEOUT
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER         DISPID_EVMETH_ONMOUSEOVER
#define DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE  DISPID_EVMETH_ONREADYSTATECHANGE
#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE      DISPID_EVMETH_ONBEFOREUPDATE
#define DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE       DISPID_EVMETH_ONAFTERUPDATE
#define DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT           DISPID_EVMETH_ONROWEXIT
#define DISPID_HTMLDOCUMENTEVENTS_ONROWENTER          DISPID_EVMETH_ONROWENTER
#define DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART         DISPID_EVMETH_ONDRAGSTART
#define DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART       DISPID_EVMETH_ONSELECTSTART
#define DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE       DISPID_EVMETH_ONERRORUPDATE
#define DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU       DISPID_EVMETH_ONCONTEXTMENU
#define DISPID_HTMLDOCUMENTEVENTS_ONSTOP              DISPID_EVMETH_ONSTOP
#define DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE        DISPID_EVMETH_ONROWSDELETE
#define DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED      DISPID_EVMETH_ONROWSINSERTED
#define DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE        DISPID_EVMETH_ONCELLCHANGE
#define DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE    DISPID_EVMETH_ONPROPERTYCHANGE
#define DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED    DISPID_EVMETH_ONDATASETCHANGED
#define DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE     DISPID_EVMETH_ONDATAAVAILABLE
#define DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE   DISPID_EVMETH_ONDATASETCOMPLETE
#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS   DISPID_EVMETH_ONBEFOREEDITFOCUS
#define DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE   DISPID_EVMETH_ONSELECTIONCHANGE
#define DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT     DISPID_EVMETH_ONCONTROLSELECT
#define DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL        DISPID_EVMETH_ONMOUSEWHEEL
#define DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN           DISPID_EVMETH_ONFOCUSIN
#define DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT          DISPID_EVMETH_ONFOCUSOUT
#define DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE          DISPID_EVMETH_ONACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE        DISPID_EVMETH_ONDEACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE    DISPID_EVMETH_ONBEFOREACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE  DISPID_EVMETH_ONBEFOREDEACTIVATE

/* HTMLDocumentEvents2 */
#define DISPID_HTMLDOCUMENTEVENTS2_ONHELP              DISPID_EVMETH_ONHELP
#define DISPID_HTMLDOCUMENTEVENTS2_ONCLICK             DISPID_EVMETH_ONCLICK
#define DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK          DISPID_EVMETH_ONDBLCLICK
#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN           DISPID_EVMETH_ONKEYDOWN
#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP             DISPID_EVMETH_ONKEYUP
#define DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS          DISPID_EVMETH_ONKEYPRESS
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN         DISPID_EVMETH_ONMOUSEDOWN
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE         DISPID_EVMETH_ONMOUSEMOVE
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP           DISPID_EVMETH_ONMOUSEUP
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT          DISPID_EVMETH_ONMOUSEOUT
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER         DISPID_EVMETH_ONMOUSEOVER
#define DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE  DISPID_EVMETH_ONREADYSTATECHANGE
#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE      DISPID_EVMETH_ONBEFOREUPDATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE       DISPID_EVMETH_ONAFTERUPDATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT           DISPID_EVMETH_ONROWEXIT
#define DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER          DISPID_EVMETH_ONROWENTER
#define DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART         DISPID_EVMETH_ONDRAGSTART
#define DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART       DISPID_EVMETH_ONSELECTSTART
#define DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE       DISPID_EVMETH_ONERRORUPDATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU       DISPID_EVMETH_ONCONTEXTMENU
#define DISPID_HTMLDOCUMENTEVENTS2_ONSTOP              DISPID_EVMETH_ONSTOP
#define DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE        DISPID_EVMETH_ONROWSDELETE
#define DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED      DISPID_EVMETH_ONROWSINSERTED
#define DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE        DISPID_EVMETH_ONCELLCHANGE
#define DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE    DISPID_EVMETH_ONPROPERTYCHANGE
#define DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED    DISPID_EVMETH_ONDATASETCHANGED
#define DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE     DISPID_EVMETH_ONDATAAVAILABLE
#define DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE   DISPID_EVMETH_ONDATASETCOMPLETE
#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS   DISPID_EVMETH_ONBEFOREEDITFOCUS
#define DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE   DISPID_EVMETH_ONSELECTIONCHANGE
#define DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT     DISPID_EVMETH_ONCONTROLSELECT
#define DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL        DISPID_EVMETH_ONMOUSEWHEEL
#define DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN           DISPID_EVMETH_ONFOCUSIN
#define DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT          DISPID_EVMETH_ONFOCUSOUT
#define DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE          DISPID_EVMETH_ONACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE        DISPID_EVMETH_ONDEACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE    DISPID_EVMETH_ONBEFOREACTIVATE
#define DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE  DISPID_EVMETH_ONBEFOREDEACTIVATE

/* IHTMLDocument */
#define DISPID_IHTMLDOCUMENT_SCRIPT    (DISPID_OMDOCUMENT+1)

/* IHTMLDocument2 */
#define DISPID_IHTMLDOCUMENT2_ALL                     (DISPID_OMDOCUMENT+3)
#define DISPID_IHTMLDOCUMENT2_BODY                    (DISPID_OMDOCUMENT+4)
#define DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT           (DISPID_OMDOCUMENT+5)
#define DISPID_IHTMLDOCUMENT2_APPLETS                 (DISPID_OMDOCUMENT+8)
#define DISPID_IHTMLDOCUMENT2_ANCHORS                 (DISPID_OMDOCUMENT+7)
#define DISPID_IHTMLDOCUMENT2_LINKS                   (DISPID_OMDOCUMENT+9)
#define DISPID_IHTMLDOCUMENT2_FORMS                   (DISPID_OMDOCUMENT+10)
#define DISPID_IHTMLDOCUMENT2_IMAGES                  (DISPID_OMDOCUMENT+11)
#define DISPID_IHTMLDOCUMENT2_TITLE                   (DISPID_OMDOCUMENT+12)
#define DISPID_IHTMLDOCUMENT2_SCRIPTS                 (DISPID_OMDOCUMENT+13)
#define DISPID_IHTMLDOCUMENT2_DESIGNMODE              (DISPID_OMDOCUMENT+14)
#define DISPID_IHTMLDOCUMENT2_EMBEDS                  (DISPID_OMDOCUMENT+15)
#define DISPID_IHTMLDOCUMENT2_SELECTION               (DISPID_OMDOCUMENT+17)
#define DISPID_IHTMLDOCUMENT2_READYSTATE              (DISPID_OMDOCUMENT+18)
#define DISPID_IHTMLDOCUMENT2_FRAMES                  (DISPID_OMDOCUMENT+19)
#define DISPID_IHTMLDOCUMENT2_PLUGINS                 (DISPID_OMDOCUMENT+21)
#define DISPID_IHTMLDOCUMENT2_ALINKCOLOR              (DISPID_OMDOCUMENT+22)
#define DISPID_IHTMLDOCUMENT2_VLINKCOLOR              (DISPID_OMDOCUMENT+23)
#define DISPID_IHTMLDOCUMENT2_LINKCOLOR               (DISPID_OMDOCUMENT+24)
#define DISPID_IHTMLDOCUMENT2_URL                     (DISPID_OMDOCUMENT+25)
#define DISPID_IHTMLDOCUMENT2_LOCATION                (DISPID_OMDOCUMENT+26)
#define DISPID_IHTMLDOCUMENT2_REFERRER                (DISPID_OMDOCUMENT+27)
#define DISPID_IHTMLDOCUMENT2_LASTMODIFIED            (DISPID_OMDOCUMENT+28)
#define DISPID_IHTMLDOCUMENT2_DOMAIN                  (DISPID_OMDOCUMENT+29)
#define DISPID_IHTMLDOCUMENT2_COOKIE                  (DISPID_OMDOCUMENT+30)
#define DISPID_IHTMLDOCUMENT2_EXPANDO                 (DISPID_OMDOCUMENT+31)
#define DISPID_IHTMLDOCUMENT2_CHARSET                 (DISPID_OMDOCUMENT+32)
#define DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET          (DISPID_OMDOCUMENT+33)
#define DISPID_IHTMLDOCUMENT2_PARENTWINDOW            (DISPID_OMDOCUMENT+34)
#define DISPID_IHTMLDOCUMENT2_MIMETYPE                (DISPID_OMDOCUMENT+41)
#define DISPID_IHTMLDOCUMENT2_FILESIZE                (DISPID_OMDOCUMENT+42)
#define DISPID_IHTMLDOCUMENT2_FILECREATEDDATE         (DISPID_OMDOCUMENT+43)
#define DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE        (DISPID_OMDOCUMENT+44)
#define DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE         (DISPID_OMDOCUMENT+45)
#define DISPID_IHTMLDOCUMENT2_SECURITY                (DISPID_OMDOCUMENT+46)
#define DISPID_IHTMLDOCUMENT2_PROTOCOL                (DISPID_OMDOCUMENT+47)
#define DISPID_IHTMLDOCUMENT2_NAMEPROP                (DISPID_OMDOCUMENT+48)
#define DISPID_IHTMLDOCUMENT2_WRITE                   (DISPID_OMDOCUMENT+54)
#define DISPID_IHTMLDOCUMENT2_WRITELN                 (DISPID_OMDOCUMENT+55)
#define DISPID_IHTMLDOCUMENT2_OPEN                    (DISPID_OMDOCUMENT+56)
#define DISPID_IHTMLDOCUMENT2_CLOSE                   (DISPID_OMDOCUMENT+57)
#define DISPID_IHTMLDOCUMENT2_CLEAR                   (DISPID_OMDOCUMENT+58)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED   (DISPID_OMDOCUMENT+59)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED     (DISPID_OMDOCUMENT+60)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE       (DISPID_OMDOCUMENT+61)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM    (DISPID_OMDOCUMENT+62)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT        (DISPID_OMDOCUMENT+63)
#define DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE       (DISPID_OMDOCUMENT+64)
#define DISPID_IHTMLDOCUMENT2_EXECCOMMAND             (DISPID_OMDOCUMENT+65)
#define DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP     (DISPID_OMDOCUMENT+66)
#define DISPID_IHTMLDOCUMENT2_CREATEELEMENT           (DISPID_OMDOCUMENT+67)
#define DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT        (DISPID_OMDOCUMENT+68)
#define DISPID_IHTMLDOCUMENT2_STYLESHEETS             (DISPID_OMDOCUMENT+69)
#define DISPID_IHTMLDOCUMENT2_TOSTRING                (DISPID_OMDOCUMENT+70)
#define DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET        (DISPID_OMDOCUMENT+71)
#define DISPID_IHTMLDOCUMENT2_ONHELP                  DISPID_EVPROP_ONHELP
#define DISPID_IHTMLDOCUMENT2_ONCLICK                 DISPID_EVPROP_ONCLICK
#define DISPID_IHTMLDOCUMENT2_ONDBLCLICK              DISPID_EVPROP_ONDBLCLICK
#define DISPID_IHTMLDOCUMENT2_ONKEYUP                 DISPID_EVPROP_ONKEYUP
#define DISPID_IHTMLDOCUMENT2_ONKEYDOWN               DISPID_EVPROP_ONKEYDOWN
#define DISPID_IHTMLDOCUMENT2_ONKEYPRESS              DISPID_EVPROP_ONKEYPRESS
#define DISPID_IHTMLDOCUMENT2_ONMOUSEUP               DISPID_EVPROP_ONMOUSEUP
#define DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN             DISPID_EVPROP_ONMOUSEDOWN
#define DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE             DISPID_EVPROP_ONMOUSEMOVE
#define DISPID_IHTMLDOCUMENT2_ONMOUSEOUT              DISPID_EVPROP_ONMOUSEOUT
#define DISPID_IHTMLDOCUMENT2_ONMOUSEOVER             DISPID_EVPROP_ONMOUSEOVER
#define DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE      DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE           DISPID_EVPROP_ONAFTERUPDATE
#define DISPID_IHTMLDOCUMENT2_ONROWEXIT               DISPID_EVPROP_ONROWEXIT
#define DISPID_IHTMLDOCUMENT2_ONROWENTER              DISPID_EVPROP_ONROWENTER
#define DISPID_IHTMLDOCUMENT2_ONDRAGSTART             DISPID_EVPROP_ONDRAGSTART
#define DISPID_IHTMLDOCUMENT2_ONSELECTSTART           DISPID_EVPROP_ONSELECTSTART
#define DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE          DISPID_EVPROP_ONBEFOREUPDATE
#define DISPID_IHTMLDOCUMENT2_ONERRORUPDATE           DISPID_EVPROP_ONERRORUPDATE
#define DISPID_IHTMLDOCUMENT2_BGCOLOR                 DISPID_BACKCOLOR
#define DISPID_IHTMLDOCUMENT2_FGCOLOR                 DISPID_A_COLOR

/* IHTMLDocument3 */
#define DISPID_IHTMLDOCUMENT3_RELEASECAPTURE          DISPID_OMDOCUMENT+72
#define DISPID_IHTMLDOCUMENT3_RECALC                  DISPID_OMDOCUMENT+73
#define DISPID_IHTMLDOCUMENT3_CREATETEXTNODE          DISPID_OMDOCUMENT+74
#define DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT         DISPID_OMDOCUMENT+75
#define DISPID_IHTMLDOCUMENT3_UNIQUEID                DISPID_OMDOCUMENT+77
#define DISPID_IHTMLDOCUMENT3_ATTACHEVENT             DISPID_HTMLOBJECT+7
#define DISPID_IHTMLDOCUMENT3_DETACHEVENT             DISPID_HTMLOBJECT+8
#define DISPID_IHTMLDOCUMENT3_ONROWSDELETE            DISPID_EVPROP_ONROWSDELETE
#define DISPID_IHTMLDOCUMENT3_ONROWSINSERTED          DISPID_EVPROP_ONROWSINSERTED
#define DISPID_IHTMLDOCUMENT3_ONCELLCHANGE            DISPID_EVPROP_ONCELLCHANGE
#define DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED        DISPID_EVPROP_ONDATASETCHANGED
#define DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE         DISPID_EVPROP_ONDATAAVAILABLE
#define DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE       DISPID_EVPROP_ONDATASETCOMPLETE
#define DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE        DISPID_EVPROP_ONPROPERTYCHANGE
#define DISPID_IHTMLDOCUMENT3_DIR                     DISPID_A_DIR
#define DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU           DISPID_EVPROP_ONCONTEXTMENU
#define DISPID_IHTMLDOCUMENT3_ONSTOP                  DISPID_EVPROP_ONSTOP
#define DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT  DISPID_OMDOCUMENT+76
#define DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT          DISPID_OMDOCUMENT+78
#define DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD          DISPID_OMDOCUMENT+79
#define DISPID_IHTMLDOCUMENT3_BASEURL                 DISPID_OMDOCUMENT+80
#define DISPID_IHTMLDOCUMENT3_CHILDNODES              DISPID_ELEMENT+49
#define DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS      DISPID_OMDOCUMENT+82
#define DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS       DISPID_EVPROP_ONBEFOREEDITFOCUS
#define DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME       DISPID_OMDOCUMENT+86
#define DISPID_IHTMLDOCUMENT3_GETELEMENTBYID          DISPID_OMDOCUMENT+88
#define DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME    DISPID_OMDOCUMENT+87


/* IHTMLDocument4 */
#define DISPID_IHTMLDOCUMENT4_FOCUS                  DISPID_OMDOCUMENT+89
#define DISPID_IHTMLDOCUMENT4_HASFOCUS               DISPID_OMDOCUMENT+90
#define DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE      DISPID_EVPROP_ONSELECTIONCHANGE
#define DISPID_IHTMLDOCUMENT4_NAMESPACES             DISPID_OMDOCUMENT+91
#define DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL  DISPID_OMDOCUMENT+92
#define DISPID_IHTMLDOCUMENT4_MEDIA                  DISPID_OMDOCUMENT+93
#define DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT      DISPID_OMDOCUMENT+94
#define DISPID_IHTMLDOCUMENT4_FIREEVENT              DISPID_OMDOCUMENT+95
#define DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE      DISPID_OMDOCUMENT+96
#define DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT        DISPID_EVPROP_ONCONTROLSELECT
#define DISPID_IHTMLDOCUMENT4_URLUNENCODED           DISPID_OMDOCUMENT+97

/* IHTMLDocument5 */
#define DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL        DISPID_EVPROP_ONMOUSEWHEEL
#define DISPID_IHTMLDOCUMENT5_DOCTYPE             DISPID_OMDOCUMENT+98
#define DISPID_IHTMLDOCUMENT5_IMPLEMENTATION      DISPID_OMDOCUMENT+99
#define DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE     DISPID_OMDOCUMENT+100
#define DISPID_IHTMLDOCUMENT5_CREATECOMMENT       DISPID_OMDOCUMENT+101
#define DISPID_IHTMLDOCUMENT5_ONFOCUSIN           DISPID_EVPROP_ONFOCUSIN
#define DISPID_IHTMLDOCUMENT5_ONFOCUSOUT          DISPID_EVPROP_ONFOCUSOUT
#define DISPID_IHTMLDOCUMENT5_ONACTIVATE          DISPID_EVPROP_ONACTIVATE
#define DISPID_IHTMLDOCUMENT5_ONDEACTIVATE        DISPID_EVPROP_ONDEACTIVATE
#define DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE    DISPID_EVPROP_ONBEFOREACTIVATE
#define DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE  DISPID_EVPROP_ONBEFOREDEACTIVATE
#define DISPID_IHTMLDOCUMENT5_COMPATMODE          DISPID_OMDOCUMENT+102

/* IHTMLDocument6 */
#define DISPID_IHTMLDOCUMENT6_COMPATIBLE          DISPID_OMDOCUMENT+103
#define DISPID_IHTMLDOCUMENT6_DOCUMENTMODE        DISPID_OMDOCUMENT+104
#define DISPID_IHTMLDOCUMENT6_ONSTORAGE           DISPID_EVPROP_ONSTORAGE
#define DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT     DISPID_EVPROP_ONSTORAGECOMMIT
#define DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID  DISPID_OMDOCUMENT+105
#define DISPID_IHTMLDOCUMENT6_UPDATESETTINGS      DISPID_OMDOCUMENT+106

/* DWebBridgeEvents */
#define DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT   1
#define DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE
#define DISPID_DWEBBRIDGEEVENTS_ONCLICK            DISPID_HTMLDOCUMENTEVENTS_ONCLICK
#define DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK         DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK
#define DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN          DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN
#define DISPID_DWEBBRIDGEEVENTS_ONKEYUP            DISPID_HTMLDOCUMENTEVENTS_ONKEYUP
#define DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS         DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS
#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN        DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN
#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE        DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE
#define DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP          DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP

/* IWebBridge */
#define DISPID_IWEBBRIDGE_URL                     1
#define DISPID_IWEBBRIDGE_SCROLLBAR               2
#define DISPID_IWEBBRIDGE_EMBED                   3
#define DISPID_IWEBBRIDGE_EVENT                   DISPID_IHTMLWINDOW2_EVENT
#define DISPID_IWEBBRIDGE_READYSTATE              DISPID_READYSTATE
#define DISPID_IWEBBRIDGE_ABOUTBOX                DISPID_ABOUTBOX

/* IHTMLEmbedElement */
#define DISPID_IHTMLEMBEDELEMENT_HIDDEN       DISPID_OBJECT+10
#define DISPID_IHTMLEMBEDELEMENT_PALETTE      DISPID_OBJECT+4
#define DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE  DISPID_OBJECT+5
#define DISPID_IHTMLEMBEDELEMENT_SRC          DISPID_OBJECT+6
#define DISPID_IHTMLEMBEDELEMENT_UNITS        DISPID_OBJECT+8
#define DISPID_IHTMLEMBEDELEMENT_NAME         STDPROPID_XOBJ_NAME
#define DISPID_IHTMLEMBEDELEMENT_WIDTH        STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLEMBEDELEMENT_HEIGHT       STDPROPID_XOBJ_HEIGHT

/* IHTMLEmbedElement2 */
#define DISPID_IHTMLEMBEDELEMENT2_IE8_SRC          DISPID_IE8_EMBED
#define DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE  DISPID_IE8_EMBED+1

/* IHTMLElementCollection */
#define DISPID_IHTMLELEMENTCOLLECTION_LENGTH     DISPID_COLLECTION
#define DISPID_IHTMLELEMENTCOLLECTION_TOSTRING   (DISPID_COLLECTION+1)
#define DISPID_IHTMLELEMENTCOLLECTION_TAGS       (DISPID_COLLECTION+2)
#define DISPID_IHTMLELEMENTCOLLECTION__NEWENUM   DISPID_NEWENUM
#define DISPID_IHTMLELEMENTCOLLECTION_ITEM       DISPID_VALUE

/* IHTMLElementCollection2 */
#define DISPID_IHTMLELEMENTCOLLECTION2_URNS  DISPID_COLLECTION+5

/* IHTMLElementCollection3 */
#define DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM  DISPID_COLLECTION+6


/* IHTMLAttributeCollection */
#define DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH      DISPID_COLLECTION
#define DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM    DISPID_NEWENUM
#define DISPID_IHTMLATTRIBUTECOLLECTION_ITEM        DISPID_VALUE

/* IHTMLAttributeCollection2 */
#define DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM       DISPID_COLLECTION+1
#define DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM       DISPID_COLLECTION+2
#define DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM    DISPID_COLLECTION+3

/* IHTMLAttributeCollection3 */
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM     DISPID_IE8_NAMEDNODEMAP
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM     DISPID_IE8_NAMEDNODEMAP+1
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM  DISPID_IE8_NAMEDNODEMAP+2
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM             DISPID_IE8_NAMEDNODEMAP+4
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH           DISPID_IE8_NAMEDNODEMAP+3

/* IHTMLDOMChildrenCollection */
#define DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH    DISPID_COLLECTION
#define DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM  DISPID_NEWENUM
#define DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM      DISPID_VALUE

/* HTMLElementEvents */
#define DISPID_HTMLELEMENTEVENTS_ONHELP             DISPID_EVMETH_ONHELP
#define DISPID_HTMLELEMENTEVENTS_ONCLICK            DISPID_EVMETH_ONCLICK
#define DISPID_HTMLELEMENTEVENTS_ONDBLCLICK         DISPID_EVMETH_ONDBLCLICK
#define DISPID_HTMLELEMENTEVENTS_ONKEYPRESS         DISPID_EVMETH_ONKEYPRESS
#define DISPID_HTMLELEMENTEVENTS_ONKEYDOWN          DISPID_EVMETH_ONKEYDOWN
#define DISPID_HTMLELEMENTEVENTS_ONKEYUP            DISPID_EVMETH_ONKEYUP
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT         DISPID_EVMETH_ONMOUSEOUT
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER        DISPID_EVMETH_ONMOUSEOVER
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE        DISPID_EVMETH_ONMOUSEMOVE
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN        DISPID_EVMETH_ONMOUSEDOWN
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEUP          DISPID_EVMETH_ONMOUSEUP
#define DISPID_HTMLELEMENTEVENTS_ONSELECTSTART      DISPID_EVMETH_ONSELECTSTART
#define DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE     DISPID_EVMETH_ONFILTER
#define DISPID_HTMLELEMENTEVENTS_ONDRAGSTART        DISPID_EVMETH_ONDRAGSTART
#define DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE     DISPID_EVMETH_ONBEFOREUPDATE
#define DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE      DISPID_EVMETH_ONAFTERUPDATE
#define DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE      DISPID_EVMETH_ONERRORUPDATE
#define DISPID_HTMLELEMENTEVENTS_ONROWEXIT          DISPID_EVMETH_ONROWEXIT
#define DISPID_HTMLELEMENTEVENTS_ONROWENTER         DISPID_EVMETH_ONROWENTER
#define DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED   DISPID_EVMETH_ONDATASETCHANGED
#define DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE    DISPID_EVMETH_ONDATAAVAILABLE
#define DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE  DISPID_EVMETH_ONDATASETCOMPLETE
#define DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE      DISPID_EVMETH_ONLOSECAPTURE
#define DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE   DISPID_EVMETH_ONPROPERTYCHANGE
#define DISPID_HTMLELEMENTEVENTS_ONSCROLL           DISPID_EVMETH_ONSCROLL
#define DISPID_HTMLELEMENTEVENTS_ONFOCUS            DISPID_EVMETH_ONFOCUS
#define DISPID_HTMLELEMENTEVENTS_ONBLUR             DISPID_EVMETH_ONBLUR
#define DISPID_HTMLELEMENTEVENTS_ONRESIZE           DISPID_EVMETH_ONRESIZE
#define DISPID_HTMLELEMENTEVENTS_ONDRAG             DISPID_EVMETH_ONDRAG
#define DISPID_HTMLELEMENTEVENTS_ONDRAGEND          DISPID_EVMETH_ONDRAGEND
#define DISPID_HTMLELEMENTEVENTS_ONDRAGENTER        DISPID_EVMETH_ONDRAGENTER
#define DISPID_HTMLELEMENTEVENTS_ONDRAGOVER         DISPID_EVMETH_ONDRAGOVER
#define DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE        DISPID_EVMETH_ONDRAGLEAVE
#define DISPID_HTMLELEMENTEVENTS_ONDROP             DISPID_EVMETH_ONDROP
#define DISPID_HTMLELEMENTEVENTS_ONBEFORECUT        DISPID_EVMETH_ONBEFORECUT
#define DISPID_HTMLELEMENTEVENTS_ONCUT              DISPID_EVMETH_ONCUT
#define DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY       DISPID_EVMETH_ONBEFORECOPY
#define DISPID_HTMLELEMENTEVENTS_ONCOPY             DISPID_EVMETH_ONCOPY
#define DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE      DISPID_EVMETH_ONBEFOREPASTE
#define DISPID_HTMLELEMENTEVENTS_ONPASTE            DISPID_EVMETH_ONPASTE
#define DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU      DISPID_EVMETH_ONCONTEXTMENU
#define DISPID_HTMLELEMENTEVENTS_ONROWSDELETE       DISPID_EVMETH_ONROWSDELETE
#define DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED     DISPID_EVMETH_ONROWSINSERTED
#define DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE       DISPID_EVMETH_ONCELLCHANGE
#define DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE
#define DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS  DISPID_EVMETH_ONBEFOREEDITFOCUS
#define DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE   DISPID_EVMETH_ONLAYOUTCOMPLETE
#define DISPID_HTMLELEMENTEVENTS_ONPAGE             DISPID_EVMETH_ONPAGE
#define DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE
#define DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE   DISPID_EVMETH_ONBEFOREACTIVATE
#define DISPID_HTMLELEMENTEVENTS_ONMOVE             DISPID_EVMETH_ONMOVE
#define DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT    DISPID_EVMETH_ONCONTROLSELECT
#define DISPID_HTMLELEMENTEVENTS_ONMOVESTART        DISPID_EVMETH_ONMOVESTART
#define DISPID_HTMLELEMENTEVENTS_ONMOVEEND          DISPID_EVMETH_ONMOVEEND
#define DISPID_HTMLELEMENTEVENTS_ONRESIZESTART      DISPID_EVMETH_ONRESIZESTART
#define DISPID_HTMLELEMENTEVENTS_ONRESIZEEND        DISPID_EVMETH_ONRESIZEEND
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER       DISPID_EVMETH_ONMOUSEENTER
#define DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE       DISPID_EVMETH_ONMOUSELEAVE
#define DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL       DISPID_EVMETH_ONMOUSEWHEEL
#define DISPID_HTMLELEMENTEVENTS_ONACTIVATE         DISPID_EVMETH_ONACTIVATE
#define DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE       DISPID_EVMETH_ONDEACTIVATE
#define DISPID_HTMLELEMENTEVENTS_ONFOCUSIN          DISPID_EVMETH_ONFOCUSIN
#define DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT         DISPID_EVMETH_ONFOCUSOUT

/* HTMLElementEvents2 */

#define DISPID_HTMLELEMENTEVENTS2_ONHELP            DISPID_EVMETH_ONHELP
#define DISPID_HTMLELEMENTEVENTS2_ONCLICK           DISPID_EVMETH_ONCLICK
#define DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK        DISPID_EVMETH_ONDBLCLICK
#define DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS        DISPID_EVMETH_ONKEYPRESS
#define DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN         DISPID_EVMETH_ONKEYDOWN
#define DISPID_HTMLELEMENTEVENTS2_ONKEYUP           DISPID_EVMETH_ONKEYUP
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT        DISPID_EVMETH_ONMOUSEOUT
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER       DISPID_EVMETH_ONMOUSEOVER
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE       DISPID_EVMETH_ONMOUSEMOVE
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN       DISPID_EVMETH_ONMOUSEDOWN
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP         DISPID_EVMETH_ONMOUSEUP
#define DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART     DISPID_EVMETH_ONSELECTSTART
#define DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE    DISPID_EVMETH_ONFILTER
#define DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART       DISPID_EVMETH_ONDRAGSTART
#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE    DISPID_EVMETH_ONBEFOREUPDATE
#define DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE     DISPID_EVMETH_ONAFTERUPDATE
#define DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE     DISPID_EVMETH_ONERRORUPDATE
#define DISPID_HTMLELEMENTEVENTS2_ONROWEXIT         DISPID_EVMETH_ONROWEXIT
#define DISPID_HTMLELEMENTEVENTS2_ONROWENTER        DISPID_EVMETH_ONROWENTER
#define DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED  DISPID_EVMETH_ONDATASETCHANGED
#define DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE   DISPID_EVMETH_ONDATAAVAILABLE
#define DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE DISPID_EVMETH_ONDATASETCOMPLETE
#define DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE     DISPID_EVMETH_ONLOSECAPTURE
#define DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE  DISPID_EVMETH_ONPROPERTYCHANGE
#define DISPID_HTMLELEMENTEVENTS2_ONSCROLL          DISPID_EVMETH_ONSCROLL
#define DISPID_HTMLELEMENTEVENTS2_ONFOCUS           DISPID_EVMETH_ONFOCUS
#define DISPID_HTMLELEMENTEVENTS2_ONBLUR            DISPID_EVMETH_ONBLUR
#define DISPID_HTMLELEMENTEVENTS2_ONRESIZE          DISPID_EVMETH_ONRESIZE
#define DISPID_HTMLELEMENTEVENTS2_ONDRAG            DISPID_EVMETH_ONDRAG
#define DISPID_HTMLELEMENTEVENTS2_ONDRAGEND         DISPID_EVMETH_ONDRAGEND
#define DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER       DISPID_EVMETH_ONDRAGENTER
#define DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER        DISPID_EVMETH_ONDRAGOVER
#define DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE       DISPID_EVMETH_ONDRAGLEAVE
#define DISPID_HTMLELEMENTEVENTS2_ONDROP            DISPID_EVMETH_ONDROP
#define DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT       DISPID_EVMETH_ONBEFORECUT
#define DISPID_HTMLELEMENTEVENTS2_ONCUT             DISPID_EVMETH_ONCUT
#define DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY      DISPID_EVMETH_ONBEFORECOPY
#define DISPID_HTMLELEMENTEVENTS2_ONCOPY            DISPID_EVMETH_ONCOPY
#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE     DISPID_EVMETH_ONBEFOREPASTE
#define DISPID_HTMLELEMENTEVENTS2_ONPASTE           DISPID_EVMETH_ONPASTE
#define DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU     DISPID_EVMETH_ONCONTEXTMENU
#define DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE      DISPID_EVMETH_ONROWSDELETE
#define DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED    DISPID_EVMETH_ONROWSINSERTED
#define DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE      DISPID_EVMETH_ONCELLCHANGE
#define DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE DISPID_EVMETH_ONREADYSTATECHANGE
#define DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE  DISPID_EVMETH_ONLAYOUTCOMPLETE
#define DISPID_HTMLELEMENTEVENTS2_ONPAGE            DISPID_EVMETH_ONPAGE
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER      DISPID_EVMETH_ONMOUSEENTER
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE      DISPID_EVMETH_ONMOUSELEAVE
#define DISPID_HTMLELEMENTEVENTS2_ONACTIVATE        DISPID_EVMETH_ONACTIVATE
#define DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE      DISPID_EVMETH_ONDEACTIVATE
#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE DISPID_EVMETH_ONBEFOREDEACTIVATE
#define DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE  DISPID_EVMETH_ONBEFOREACTIVATE
#define DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN         DISPID_EVMETH_ONFOCUSIN
#define DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT        DISPID_EVMETH_ONFOCUSOUT
#define DISPID_HTMLELEMENTEVENTS2_ONMOVE            DISPID_EVMETH_ONMOVE
#define DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT   DISPID_EVMETH_ONCONTROLSELECT
#define DISPID_HTMLELEMENTEVENTS2_ONMOVESTART       DISPID_EVMETH_ONMOVESTART
#define DISPID_HTMLELEMENTEVENTS2_ONMOVEEND         DISPID_EVMETH_ONMOVEEND
#define DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART     DISPID_EVMETH_ONRESIZESTART
#define DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND       DISPID_EVMETH_ONRESIZEEND
#define DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL      DISPID_EVMETH_ONMOUSEWHEEL

/* IHTMLElement */
#define DISPID_IHTMLELEMENT_SETATTRIBUTE         (DISPID_HTMLOBJECT+1)
#define DISPID_IHTMLELEMENT_GETATTRIBUTE         (DISPID_HTMLOBJECT+2)
#define DISPID_IHTMLELEMENT_REMOVEATTRIBUTE      (DISPID_HTMLOBJECT+3)
#define DISPID_IHTMLELEMENT_CLASSNAME            (DISPID_ELEMENT+1)
#define DISPID_IHTMLELEMENT_ID                   (DISPID_ELEMENT+2)
#define DISPID_IHTMLELEMENT_TAGNAME              (DISPID_ELEMENT+4)
#define DISPID_IHTMLELEMENT_OFFSETLEFT           (DISPID_ELEMENT+8)
#define DISPID_IHTMLELEMENT_OFFSETTOP            (DISPID_ELEMENT+9)
#define DISPID_IHTMLELEMENT_OFFSETWIDTH          (DISPID_ELEMENT+10)
#define DISPID_IHTMLELEMENT_OFFSETHEIGHT         (DISPID_ELEMENT+11)
#define DISPID_IHTMLELEMENT_OFFSETPARENT         (DISPID_ELEMENT+12)
#define DISPID_IHTMLELEMENT_DOCUMENT             (DISPID_ELEMENT+18)
#define DISPID_IHTMLELEMENT_SCROLLINTOVIEW       (DISPID_ELEMENT+19)
#define DISPID_IHTMLELEMENT_CONTAINS             (DISPID_ELEMENT+20)
#define DISPID_IHTMLELEMENT_SOURCEINDEX          (DISPID_ELEMENT+24)
#define DISPID_IHTMLELEMENT_RECORDNUMBER         (DISPID_ELEMENT+25)
#define DISPID_IHTMLELEMENT_INNERHTML            (DISPID_ELEMENT+26)
#define DISPID_IHTMLELEMENT_INNERTEXT            (DISPID_ELEMENT+27)
#define DISPID_IHTMLELEMENT_OUTERHTML            (DISPID_ELEMENT+28)
#define DISPID_IHTMLELEMENT_OUTERTEXT            (DISPID_ELEMENT+29)
#define DISPID_IHTMLELEMENT_INSERTADJACENTHTML   (DISPID_ELEMENT+30)
#define DISPID_IHTMLELEMENT_INSERTADJACENTTEXT   (DISPID_ELEMENT+31)
#define DISPID_IHTMLELEMENT_PARENTTEXTEDIT       (DISPID_ELEMENT+32)
#define DISPID_IHTMLELEMENT_ISTEXTEDIT           (DISPID_ELEMENT+34)
#define DISPID_IHTMLELEMENT_CLICK                (DISPID_ELEMENT+33)
#define DISPID_IHTMLELEMENT_FILTERS              (DISPID_ELEMENT+35)
#define DISPID_IHTMLELEMENT_TOSTRING             (DISPID_ELEMENT+36)
#define DISPID_IHTMLELEMENT_CHILDREN             (DISPID_ELEMENT+37)
#define DISPID_IHTMLELEMENT_ALL                  (DISPID_ELEMENT+38)
#define DISPID_IHTMLELEMENT_PARENTELEMENT        STDPROPID_XOBJ_PARENT
#define DISPID_IHTMLELEMENT_STYLE                STDPROPID_XOBJ_STYLE
#define DISPID_IHTMLELEMENT_ONHELP               DISPID_EVPROP_ONHELP
#define DISPID_IHTMLELEMENT_ONCLICK              DISPID_EVPROP_ONCLICK
#define DISPID_IHTMLELEMENT_ONDBLCLICK           DISPID_EVPROP_ONDBLCLICK
#define DISPID_IHTMLELEMENT_ONKEYDOWN            DISPID_EVPROP_ONKEYDOWN
#define DISPID_IHTMLELEMENT_ONKEYUP              DISPID_EVPROP_ONKEYUP
#define DISPID_IHTMLELEMENT_ONKEYPRESS           DISPID_EVPROP_ONKEYPRESS
#define DISPID_IHTMLELEMENT_ONMOUSEOUT           DISPID_EVPROP_ONMOUSEOUT
#define DISPID_IHTMLELEMENT_ONMOUSEOVER          DISPID_EVPROP_ONMOUSEOVER
#define DISPID_IHTMLELEMENT_ONMOUSEMOVE          DISPID_EVPROP_ONMOUSEMOVE
#define DISPID_IHTMLELEMENT_ONMOUSEDOWN          DISPID_EVPROP_ONMOUSEDOWN
#define DISPID_IHTMLELEMENT_ONMOUSEUP            DISPID_EVPROP_ONMOUSEUP
#define DISPID_IHTMLELEMENT_TITLE                STDPROPID_XOBJ_CONTROLTIPTEXT
#define DISPID_IHTMLELEMENT_LANGUAGE             DISPID_A_LANGUAGE
#define DISPID_IHTMLELEMENT_ONSELECTSTART        DISPID_EVPROP_ONSELECTSTART
#define DISPID_IHTMLELEMENT_LANG                 DISPID_A_LANG
#define DISPID_IHTMLELEMENT_ONDRAGSTART          DISPID_EVPROP_ONDRAGSTART
#define DISPID_IHTMLELEMENT_ONBEFOREUPDATE       DISPID_EVPROP_ONBEFOREUPDATE
#define DISPID_IHTMLELEMENT_ONAFTERUPDATE        DISPID_EVPROP_ONAFTERUPDATE
#define DISPID_IHTMLELEMENT_ONERRORUPDATE        DISPID_EVPROP_ONERRORUPDATE
#define DISPID_IHTMLELEMENT_ONROWEXIT            DISPID_EVPROP_ONROWEXIT
#define DISPID_IHTMLELEMENT_ONROWENTER           DISPID_EVPROP_ONROWENTER
#define DISPID_IHTMLELEMENT_ONDATASETCHANGED     DISPID_EVPROP_ONDATASETCHANGED
#define DISPID_IHTMLELEMENT_ONDATAAVAILABLE      DISPID_EVPROP_ONDATAAVAILABLE
#define DISPID_IHTMLELEMENT_ONDATASETCOMPLETE    DISPID_EVPROP_ONDATASETCOMPLETE
#define DISPID_IHTMLELEMENT_ONFILTERCHANGE       DISPID_EVPROP_ONFILTER

/* IHTMLElement2 */
#define DISPID_IHTMLELEMENT2_SCOPENAME              DISPID_ELEMENT+39
#define DISPID_IHTMLELEMENT2_SETCAPTURE             DISPID_ELEMENT+40
#define DISPID_IHTMLELEMENT2_RELEASECAPTURE         DISPID_ELEMENT+41
#define DISPID_IHTMLELEMENT2_ONLOSECAPTURE          DISPID_EVPROP_ONLOSECAPTURE
#define DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT     DISPID_ELEMENT+42
#define DISPID_IHTMLELEMENT2_DOSCROLL               DISPID_ELEMENT+43
#define DISPID_IHTMLELEMENT2_ONSCROLL               DISPID_EVPROP_ONSCROLL
#define DISPID_IHTMLELEMENT2_ONDRAG                 DISPID_EVPROP_ONDRAG
#define DISPID_IHTMLELEMENT2_ONDRAGEND              DISPID_EVPROP_ONDRAGEND
#define DISPID_IHTMLELEMENT2_ONDRAGENTER            DISPID_EVPROP_ONDRAGENTER
#define DISPID_IHTMLELEMENT2_ONDRAGOVER             DISPID_EVPROP_ONDRAGOVER
#define DISPID_IHTMLELEMENT2_ONDRAGLEAVE            DISPID_EVPROP_ONDRAGLEAVE
#define DISPID_IHTMLELEMENT2_ONDROP                 DISPID_EVPROP_ONDROP
#define DISPID_IHTMLELEMENT2_ONBEFORECUT            DISPID_EVPROP_ONBEFORECUT
#define DISPID_IHTMLELEMENT2_ONCUT                  DISPID_EVPROP_ONCUT
#define DISPID_IHTMLELEMENT2_ONBEFORECOPY           DISPID_EVPROP_ONBEFORECOPY
#define DISPID_IHTMLELEMENT2_ONCOPY                 DISPID_EVPROP_ONCOPY
#define DISPID_IHTMLELEMENT2_ONBEFOREPASTE          DISPID_EVPROP_ONBEFOREPASTE
#define DISPID_IHTMLELEMENT2_ONPASTE                DISPID_EVPROP_ONPASTE
#define DISPID_IHTMLELEMENT2_CURRENTSTYLE           DISPID_ELEMENT+7
#define DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE       DISPID_EVPROP_ONPROPERTYCHANGE
#define DISPID_IHTMLELEMENT2_GETCLIENTRECTS         DISPID_ELEMENT+44
#define DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT  DISPID_ELEMENT+45
#define DISPID_IHTMLELEMENT2_SETEXPRESSION          DISPID_HTMLOBJECT+4
#define DISPID_IHTMLELEMENT2_GETEXPRESSION          DISPID_HTMLOBJECT+5
#define DISPID_IHTMLELEMENT2_REMOVEEXPRESSION       DISPID_HTMLOBJECT+6
#define DISPID_IHTMLELEMENT2_TABINDEX               STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLELEMENT2_FOCUS                  DISPID_SITE
#define DISPID_IHTMLELEMENT2_ACCESSKEY              DISPID_SITE+5
#define DISPID_IHTMLELEMENT2_ONBLUR                 DISPID_EVPROP_ONBLUR
#define DISPID_IHTMLELEMENT2_ONFOCUS                DISPID_EVPROP_ONFOCUS
#define DISPID_IHTMLELEMENT2_ONRESIZE               DISPID_EVPROP_ONRESIZE
#define DISPID_IHTMLELEMENT2_BLUR                   DISPID_SITE+2
#define DISPID_IHTMLELEMENT2_ADDFILTER              DISPID_SITE+17
#define DISPID_IHTMLELEMENT2_REMOVEFILTER           DISPID_SITE+18
#define DISPID_IHTMLELEMENT2_CLIENTHEIGHT           DISPID_SITE+19
#define DISPID_IHTMLELEMENT2_CLIENTWIDTH            DISPID_SITE+20
#define DISPID_IHTMLELEMENT2_CLIENTTOP              DISPID_SITE+21
#define DISPID_IHTMLELEMENT2_CLIENTLEFT             DISPID_SITE+22
#define DISPID_IHTMLELEMENT2_ATTACHEVENT            DISPID_HTMLOBJECT+7
#define DISPID_IHTMLELEMENT2_DETACHEVENT            DISPID_HTMLOBJECT+8
#define DISPID_IHTMLELEMENT2_READYSTATE             DISPID_A_READYSTATE
#define DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE     DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLELEMENT2_ONROWSDELETE           DISPID_EVPROP_ONROWSDELETE
#define DISPID_IHTMLELEMENT2_ONROWSINSERTED         DISPID_EVPROP_ONROWSINSERTED
#define DISPID_IHTMLELEMENT2_ONCELLCHANGE           DISPID_EVPROP_ONCELLCHANGE
#define DISPID_IHTMLELEMENT2_DIR                    DISPID_A_DIR
#define DISPID_IHTMLELEMENT2_CREATECONTROLRANGE     DISPID_ELEMENT+56
#define DISPID_IHTMLELEMENT2_SCROLLHEIGHT           DISPID_ELEMENT+57
#define DISPID_IHTMLELEMENT2_SCROLLWIDTH            DISPID_ELEMENT+58
#define DISPID_IHTMLELEMENT2_SCROLLTOP              DISPID_ELEMENT+59
#define DISPID_IHTMLELEMENT2_SCROLLLEFT             DISPID_ELEMENT+60
#define DISPID_IHTMLELEMENT2_CLEARATTRIBUTES        DISPID_ELEMENT+62
#define DISPID_IHTMLELEMENT2_MERGEATTRIBUTES        DISPID_ELEMENT+63
#define DISPID_IHTMLELEMENT2_ONCONTEXTMENU          DISPID_EVPROP_ONCONTEXTMENU
#define DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT  DISPID_ELEMENT+69
#define DISPID_IHTMLELEMENT2_APPLYELEMENT           DISPID_ELEMENT+65
#define DISPID_IHTMLELEMENT2_GETADJACENTTEXT        DISPID_ELEMENT+70
#define DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT    DISPID_ELEMENT+71
#define DISPID_IHTMLELEMENT2_CANHAVECHILDREN        DISPID_ELEMENT+72
#define DISPID_IHTMLELEMENT2_ADDBEHAVIOR            DISPID_ELEMENT+80
#define DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR         DISPID_ELEMENT+81
#define DISPID_IHTMLELEMENT2_RUNTIMESTYLE           DISPID_ELEMENT+64
#define DISPID_IHTMLELEMENT2_BEHAVIORURNS           DISPID_ELEMENT+82
#define DISPID_IHTMLELEMENT2_TAGURN                 DISPID_ELEMENT+83
#define DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS      DISPID_EVPROP_ONBEFOREEDITFOCUS
#define DISPID_IHTMLELEMENT2_READYSTATEVALUE        DISPID_ELEMENT+84
#define DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME   DISPID_ELEMENT+85

/* IHTMLElement3 */
#define DISPID_IHTMLELEMENT3_MERGEATTRIBUTES     DISPID_ELEMENT+96
#define DISPID_IHTMLELEMENT3_ISMULTILINE         DISPID_ELEMENT+97
#define DISPID_IHTMLELEMENT3_CANHAVEHTML         DISPID_ELEMENT+98
#define DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE    DISPID_EVPROP_ONLAYOUTCOMPLETE
#define DISPID_IHTMLELEMENT3_ONPAGE              DISPID_EVPROP_ONPAGE
#define DISPID_IHTMLELEMENT3_INFLATEBLOCK        DISPID_ELEMENT+100
#define DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE  DISPID_EVPROP_ONBEFOREDEACTIVATE
#define DISPID_IHTMLELEMENT3_SETACTIVE           DISPID_ELEMENT+101
#define DISPID_IHTMLELEMENT3_CONTENTEDITABLE     DISPID_A_EDITABLE
#define DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE   DISPID_ELEMENT+102
#define DISPID_IHTMLELEMENT3_HIDEFOCUS           DISPID_A_HIDEFOCUS
#define DISPID_IHTMLELEMENT3_DISABLED            STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLELEMENT3_ISDISABLED          DISPID_ELEMENT+105
#define DISPID_IHTMLELEMENT3_ONMOVE              DISPID_EVPROP_ONMOVE
#define DISPID_IHTMLELEMENT3_ONCONTROLSELECT     DISPID_EVPROP_ONCONTROLSELECT
#define DISPID_IHTMLELEMENT3_FIREEVENT           DISPID_ELEMENT+106
#define DISPID_IHTMLELEMENT3_ONRESIZESTART       DISPID_EVPROP_ONRESIZESTART
#define DISPID_IHTMLELEMENT3_ONRESIZEEND         DISPID_EVPROP_ONRESIZEEND
#define DISPID_IHTMLELEMENT3_ONMOVESTART         DISPID_EVPROP_ONMOVESTART
#define DISPID_IHTMLELEMENT3_ONMOVEEND           DISPID_EVPROP_ONMOVEEND
#define DISPID_IHTMLELEMENT3_ONMOUSEENTER        DISPID_EVPROP_ONMOUSEENTER
#define DISPID_IHTMLELEMENT3_ONMOUSELEAVE        DISPID_EVPROP_ONMOUSELEAVE
#define DISPID_IHTMLELEMENT3_ONACTIVATE          DISPID_EVPROP_ONACTIVATE
#define DISPID_IHTMLELEMENT3_ONDEACTIVATE        DISPID_EVPROP_ONDEACTIVATE
#define DISPID_IHTMLELEMENT3_DRAGDROP            DISPID_ELEMENT+107
#define DISPID_IHTMLELEMENT3_GLYPHMODE           DISPID_ELEMENT+108

/* IHTMLElement4 */
#define DISPID_IHTMLELEMENT4_ONMOUSEWHEEL         DISPID_EVPROP_ONMOUSEWHEEL
#define DISPID_IHTMLELEMENT4_NORMALIZE            DISPID_ELEMENT+112
#define DISPID_IHTMLELEMENT4_GETATTRIBUTENODE     DISPID_ELEMENT+109
#define DISPID_IHTMLELEMENT4_SETATTRIBUTENODE     DISPID_ELEMENT+110
#define DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE  DISPID_ELEMENT+111
#define DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE     DISPID_EVPROP_ONBEFOREACTIVATE
#define DISPID_IHTMLELEMENT4_ONFOCUSIN            DISPID_EVPROP_ONFOCUSIN
#define DISPID_IHTMLELEMENT4_ONFOCUSOUT           DISPID_EVPROP_ONFOCUSOUT

/* IElementSelector */
#define DISPID_IELEMENTSELECTOR_QUERYSELECTOR     DISPID_ELEMENT+114
#define DISPID_IELEMENTSELECTOR_QUERYSELECTORALL  DISPID_ELEMENT+115

/* IHTMLElement5 */
#define DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTENODE     DISPID_IE8_ELEMENT
#define DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTENODE     DISPID_IE8_ELEMENT+1
#define DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTENODE  DISPID_IE8_ELEMENT+2
#define DISPID_IHTMLELEMENT5_HASATTRIBUTE             DISPID_IE8_ELEMENT+3
#define DISPID_IHTMLELEMENT5_ROLE                     DISPID_IE8_ELEMENT+4
#define DISPID_IHTMLELEMENT5_ARIABUSY                 DISPID_IE8_ELEMENT+5
#define DISPID_IHTMLELEMENT5_ARIACHECKED              DISPID_IE8_ELEMENT+6
#define DISPID_IHTMLELEMENT5_ARIADISABLED             DISPID_IE8_ELEMENT+7
#define DISPID_IHTMLELEMENT5_ARIAEXPANDED             DISPID_IE8_ELEMENT+8
#define DISPID_IHTMLELEMENT5_ARIAHASPOPUP             DISPID_IE8_ELEMENT+9
#define DISPID_IHTMLELEMENT5_ARIAHIDDEN               DISPID_IE8_ELEMENT+10
#define DISPID_IHTMLELEMENT5_ARIAINVALID              DISPID_IE8_ELEMENT+11
#define DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE      DISPID_IE8_ELEMENT+12
#define DISPID_IHTMLELEMENT5_ARIAPRESSED              DISPID_IE8_ELEMENT+13
#define DISPID_IHTMLELEMENT5_ARIAREADONLY             DISPID_IE8_ELEMENT+14
#define DISPID_IHTMLELEMENT5_ARIAREQUIRED             DISPID_IE8_ELEMENT+15
#define DISPID_IHTMLELEMENT5_ARIASECRET               DISPID_IE8_ELEMENT+16
#define DISPID_IHTMLELEMENT5_ARIASELECTED             DISPID_IE8_ELEMENT+17
#define DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTE         DISPID_IE8_ELEMENT+18
#define DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTE         DISPID_IE8_ELEMENT+19
#define DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTE      DISPID_IE8_ELEMENT+20
#define DISPID_IHTMLELEMENT5_IE8_ATTRIBUTES           DISPID_IE8_ELEMENT+21
#define DISPID_IHTMLELEMENT5_ARIAVALUENOW             DISPID_IE8_ELEMENT+22
#define DISPID_IHTMLELEMENT5_ARIAPOSINSET             DISPID_IE8_ELEMENT+23
#define DISPID_IHTMLELEMENT5_ARIASETSIZE              DISPID_IE8_ELEMENT+24
#define DISPID_IHTMLELEMENT5_ARIALEVEL                DISPID_IE8_ELEMENT+25
#define DISPID_IHTMLELEMENT5_ARIAVALUEMIN             DISPID_IE8_ELEMENT+26
#define DISPID_IHTMLELEMENT5_ARIAVALUEMAX             DISPID_IE8_ELEMENT+27
#define DISPID_IHTMLELEMENT5_ARIACONTROLS             DISPID_IE8_ELEMENT+28
#define DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY          DISPID_IE8_ELEMENT+29
#define DISPID_IHTMLELEMENT5_ARIAFLOWTO               DISPID_IE8_ELEMENT+30
#define DISPID_IHTMLELEMENT5_ARIALABELLEDBY           DISPID_IE8_ELEMENT+31
#define DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT     DISPID_IE8_ELEMENT+32
#define DISPID_IHTMLELEMENT5_ARIAOWNS                 DISPID_IE8_ELEMENT+33
#define DISPID_IHTMLELEMENT5_HASATTRIBUTES            DISPID_IE8_ELEMENT+34
#define DISPID_IHTMLELEMENT5_ARIALIVE                 DISPID_IE8_ELEMENT+35
#define DISPID_IHTMLELEMENT5_ARIARELEVANT             DISPID_IE8_ELEMENT+36

/* IHTMLGenericElement */
#define DISPID_IHTMLGENERICELEMENT_RECORDSET       DISPID_GENERIC+1
#define DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET  DISPID_GENERIC+2

/* IHTMLUniqueName */
#define DISPID_IHTMLUNIQUENAME_UNIQUENUMBER  DISPID_ELEMENT+54
#define DISPID_IHTMLUNIQUENAME_UNIQUEID      DISPID_ELEMENT+55

/* IHTMLDatabinding */
#define DISPID_IHTMLDATABINDING_DATAFLD       DISPID_ELEMENT+21
#define DISPID_IHTMLDATABINDING_DATASRC       DISPID_ELEMENT+22
#define DISPID_IHTMLDATABINDING_DATAFORMATAS  DISPID_ELEMENT+23

/* IHTMLDOMConstructor */
#define DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR   DISPID_HTMLOBJECT+9
#define DISPID_IHTMLDOMCONSTRUCTOR_LOOKUPGETTER
#define DISPID_IHTMLDOMCONSTRUCTOR_LOOKUPSETTER
#define DISPID_IHTMLDOMCONSTRUCTOR_DEFINEGETTER
#define DISPID_IHTMLDOMCONSTRUCTOR_DEFINESETTER

/* IHTMLStyle */
#define DISPID_IHTMLSTYLE_PIXELTOP                    DISPID_STYLE
#define DISPID_IHTMLSTYLE_PIXELLEFT                   (DISPID_STYLE+1)
#define DISPID_IHTMLSTYLE_PIXELWIDTH                  (DISPID_STYLE+2)
#define DISPID_IHTMLSTYLE_PIXELHEIGHT                 (DISPID_STYLE+3)
#define DISPID_IHTMLSTYLE_POSTOP                      (DISPID_STYLE+4)
#define DISPID_IHTMLSTYLE_POSLEFT                     (DISPID_STYLE+5)
#define DISPID_IHTMLSTYLE_POSWIDTH                    (DISPID_STYLE+6)
#define DISPID_IHTMLSTYLE_POSHEIGHT                   (DISPID_STYLE+7)
#define DISPID_IHTMLSTYLE_TOSTRING                    (DISPID_STYLE+8)
#define DISPID_IHTMLSTYLE_SETATTRIBUTE                (DISPID_HTMLOBJECT+1)
#define DISPID_IHTMLSTYLE_GETATTRIBUTE                (DISPID_HTMLOBJECT+2)
#define DISPID_IHTMLSTYLE_REMOVEATTRIBUTE             (DISPID_HTMLOBJECT+3)
#define DISPID_IHTMLSTYLE_FONTFAMILY                  DISPID_A_FONTFACE
#define DISPID_IHTMLSTYLE_FONTSTYLE                   DISPID_A_FONTSTYLE
#define DISPID_IHTMLSTYLE_FONTVARIANT                 DISPID_A_FONTVARIANT
#define DISPID_IHTMLSTYLE_FONTWEIGHT                  DISPID_A_FONTWEIGHT
#define DISPID_IHTMLSTYLE_FONTSIZE                    DISPID_A_FONTSIZE
#define DISPID_IHTMLSTYLE_FONT                        DISPID_A_FONT
#define DISPID_IHTMLSTYLE_COLOR                       DISPID_A_COLOR
#define DISPID_IHTMLSTYLE_BACKGROUND                  DISPID_A_BACKGROUND
#define DISPID_IHTMLSTYLE_BACKGROUNDIMAGE             DISPID_A_BACKGROUNDIMAGE
#define DISPID_IHTMLSTYLE_BACKGROUNDREPEAT            DISPID_A_BACKGROUNDREPEAT
#define DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT        DISPID_A_BACKGROUNDATTACHMENT
#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITION          DISPID_A_BACKGROUNDPOSITION
#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX         DISPID_A_BACKGROUNDPOSX
#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY         DISPID_A_BACKGROUNDPOSY
#define DISPID_IHTMLSTYLE_WORDSPACING                 DISPID_A_WORDSPACING
#define DISPID_IHTMLSTYLE_LETTERSPACING               DISPID_A_LETTERSPACING
#define DISPID_IHTMLSTYLE_TEXTDECORATION              DISPID_A_TEXTDECORATION
#define DISPID_IHTMLSTYLE_TEXTDECORATIONNONE          DISPID_A_TEXTDECORATIONNONE
#define DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE     DISPID_A_TEXTDECORATIONUNDERLINE
#define DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE      DISPID_A_TEXTDECORATIONOVERLINE
#define DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH   DISPID_A_TEXTDECORATIONLINETHROUGH
#define DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK         DISPID_A_TEXTDECORATIONBLINK
#define DISPID_IHTMLSTYLE_VERTICALALIGN               DISPID_A_VERTICALALIGN
#define DISPID_IHTMLSTYLE_TEXTTRANSFORM               DISPID_A_TEXTTRANSFORM
#define DISPID_IHTMLSTYLE_TEXTINDENT                  DISPID_A_TEXTINDENT
#define DISPID_IHTMLSTYLE_LINEHEIGHT                  DISPID_A_LINEHEIGHT
#define DISPID_IHTMLSTYLE_MARGINTOP                   DISPID_A_MARGINTOP
#define DISPID_IHTMLSTYLE_MARGINRIGHT                 DISPID_A_MARGINRIGHT
#define DISPID_IHTMLSTYLE_MARGINBOTTOM                DISPID_A_MARGINBOTTOM
#define DISPID_IHTMLSTYLE_MARGINLEFT                  DISPID_A_MARGINLEFT
#define DISPID_IHTMLSTYLE_MARGIN                      DISPID_A_MARGIN
#define DISPID_IHTMLSTYLE_PADDINGTOP                  DISPID_A_PADDINGTOP
#define DISPID_IHTMLSTYLE_PADDINGRIGHT                DISPID_A_PADDINGRIGHT
#define DISPID_IHTMLSTYLE_PADDINGBOTTOM               DISPID_A_PADDINGBOTTOM
#define DISPID_IHTMLSTYLE_PADDINGLEFT                 DISPID_A_PADDINGLEFT
#define DISPID_IHTMLSTYLE_PADDING                     DISPID_A_PADDING
#define DISPID_IHTMLSTYLE_BORDER                      DISPID_A_BORDER
#define DISPID_IHTMLSTYLE_BORDERTOP                   DISPID_A_BORDERTOP
#define DISPID_IHTMLSTYLE_BORDERRIGHT                 DISPID_A_BORDERRIGHT
#define DISPID_IHTMLSTYLE_BORDERBOTTOM                DISPID_A_BORDERBOTTOM
#define DISPID_IHTMLSTYLE_BORDERLEFT                  DISPID_A_BORDERLEFT
#define DISPID_IHTMLSTYLE_BORDERCOLOR                 DISPID_A_BORDERCOLOR
#define DISPID_IHTMLSTYLE_BORDERTOPCOLOR              DISPID_A_BORDERTOPCOLOR
#define DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR            DISPID_A_BORDERRIGHTCOLOR
#define DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR           DISPID_A_BORDERBOTTOMCOLOR
#define DISPID_IHTMLSTYLE_BORDERLEFTCOLOR             DISPID_A_BORDERLEFTCOLOR
#define DISPID_IHTMLSTYLE_BORDERWIDTH                 DISPID_A_BORDERWIDTH
#define DISPID_IHTMLSTYLE_BORDERTOPWIDTH              DISPID_A_BORDERTOPWIDTH
#define DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH            DISPID_A_BORDERRIGHTWIDTH
#define DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH           DISPID_A_BORDERBOTTOMWIDTH
#define DISPID_IHTMLSTYLE_BORDERLEFTWIDTH             DISPID_A_BORDERLEFTWIDTH
#define DISPID_IHTMLSTYLE_BORDERSTYLE                 DISPID_A_BORDERSTYLE
#define DISPID_IHTMLSTYLE_BORDERTOPSTYLE              DISPID_A_BORDERTOPSTYLE
#define DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE            DISPID_A_BORDERRIGHTSTYLE
#define DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE           DISPID_A_BORDERBOTTOMSTYLE
#define DISPID_IHTMLSTYLE_BORDERLEFTSTYLE             DISPID_A_BORDERLEFTSTYLE
#define DISPID_IHTMLSTYLE_STYLEFLOAT                  DISPID_A_FLOAT
#define DISPID_IHTMLSTYLE_CLEAR                       DISPID_A_CLEAR
#define DISPID_IHTMLSTYLE_DISPLAY                     DISPID_A_DISPLAY
#define DISPID_IHTMLSTYLE_VISIBILITY                  DISPID_A_VISIBILITY
#define DISPID_IHTMLSTYLE_LISTSTYLETYPE               DISPID_A_LISTSTYLETYPE
#define DISPID_IHTMLSTYLE_LISTSTYLEPOSITION           DISPID_A_LISTSTYLEPOSITION
#define DISPID_IHTMLSTYLE_LISTSTYLEIMAGE              DISPID_A_LISTSTYLEIMAGE
#define DISPID_IHTMLSTYLE_LISTSTYLE                   DISPID_A_LISTSTYLE
#define DISPID_IHTMLSTYLE_WHITESPACE                  DISPID_A_WHITESPACE
#define DISPID_IHTMLSTYLE_POSITION                    DISPID_A_POSITION
#define DISPID_IHTMLSTYLE_ZINDEX                      DISPID_A_ZINDEX
#define DISPID_IHTMLSTYLE_OVERFLOW                    DISPID_A_OVERFLOW
#define DISPID_IHTMLSTYLE_PAGEBREAKBEFORE             DISPID_A_PAGEBREAKBEFORE
#define DISPID_IHTMLSTYLE_PAGEBREAKAFTER              DISPID_A_PAGEBREAKAFTER
#define DISPID_IHTMLSTYLE_CSSTEXT                     DISPID_A_STYLETEXT
#define DISPID_IHTMLSTYLE_CURSOR                      DISPID_A_CURSOR
#define DISPID_IHTMLSTYLE_CLIP                        DISPID_A_CLIP
#define DISPID_IHTMLSTYLE_FILTER                      DISPID_A_FILTER
#define DISPID_IHTMLSTYLE_WIDTH                       STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLSTYLE_HEIGHT                      STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLSTYLE_TOP                         STDPROPID_XOBJ_TOP
#define DISPID_IHTMLSTYLE_LEFT                        STDPROPID_XOBJ_LEFT
#define DISPID_IHTMLSTYLE_TEXTALIGN                   STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLSTYLE_BACKGROUNDCOLOR             DISPID_BACKCOLOR

/* IHTMLStyle2 */
#define DISPID_IHTMLSTYLE2_TABLELAYOUT       DISPID_A_TABLELAYOUT
#define DISPID_IHTMLSTYLE2_BORDERCOLLAPSE    DISPID_A_BORDERCOLLAPSE
#define DISPID_IHTMLSTYLE2_DIRECTION         DISPID_A_DIRECTION
#define DISPID_IHTMLSTYLE2_BEHAVIOR          DISPID_A_BEHAVIOR
#define DISPID_IHTMLSTYLE2_SETEXPRESSION     DISPID_HTMLOBJECT+4
#define DISPID_IHTMLSTYLE2_GETEXPRESSION     DISPID_HTMLOBJECT+5
#define DISPID_IHTMLSTYLE2_REMOVEEXPRESSION  DISPID_HTMLOBJECT+6
#define DISPID_IHTMLSTYLE2_POSITION          DISPID_A_POSITION
#define DISPID_IHTMLSTYLE2_UNICODEBIDI       DISPID_A_UNICODEBIDI
#define DISPID_IHTMLSTYLE2_BOTTOM            STDPROPID_XOBJ_BOTTOM
#define DISPID_IHTMLSTYLE2_RIGHT             STDPROPID_XOBJ_RIGHT
#define DISPID_IHTMLSTYLE2_PIXELBOTTOM       DISPID_STYLE+9
#define DISPID_IHTMLSTYLE2_PIXELRIGHT        DISPID_STYLE+10
#define DISPID_IHTMLSTYLE2_POSBOTTOM         DISPID_STYLE+11
#define DISPID_IHTMLSTYLE2_POSRIGHT          DISPID_STYLE+12
#define DISPID_IHTMLSTYLE2_IMEMODE           DISPID_A_IMEMODE
#define DISPID_IHTMLSTYLE2_RUBYALIGN         DISPID_A_RUBYALIGN
#define DISPID_IHTMLSTYLE2_RUBYPOSITION      DISPID_A_RUBYPOSITION
#define DISPID_IHTMLSTYLE2_RUBYOVERHANG      DISPID_A_RUBYOVERHANG
#define DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR    DISPID_A_LAYOUTGRIDCHAR
#define DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE    DISPID_A_LAYOUTGRIDLINE
#define DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE    DISPID_A_LAYOUTGRIDMODE
#define DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE    DISPID_A_LAYOUTGRIDTYPE
#define DISPID_IHTMLSTYLE2_LAYOUTGRID        DISPID_A_LAYOUTGRID
#define DISPID_IHTMLSTYLE2_WORDBREAK         DISPID_A_WORDBREAK
#define DISPID_IHTMLSTYLE2_LINEBREAK         DISPID_A_LINEBREAK
#define DISPID_IHTMLSTYLE2_TEXTJUSTIFY       DISPID_A_TEXTJUSTIFY
#define DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM   DISPID_A_TEXTJUSTIFYTRIM
#define DISPID_IHTMLSTYLE2_TEXTKASHIDA       DISPID_A_TEXTKASHIDA
#define DISPID_IHTMLSTYLE2_TEXTAUTOSPACE     DISPID_A_TEXTAUTOSPACE
#define DISPID_IHTMLSTYLE2_OVERFLOWX         DISPID_A_OVERFLOWX
#define DISPID_IHTMLSTYLE2_OVERFLOWY         DISPID_A_OVERFLOWY
#define DISPID_IHTMLSTYLE2_ACCELERATOR       DISPID_A_ACCELERATOR

/* IHTMLStyle3 */
#define DISPID_IHTMLSTYLE3_LAYOUTFLOW                DISPID_A_LAYOUTFLOW
#define DISPID_IHTMLSTYLE3_ZOOM                      DISPID_A_ZOOM
#define DISPID_IHTMLSTYLE3_WORDWRAP                  DISPID_A_WORDWRAP
#define DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION     DISPID_A_TEXTUNDERLINEPOSITION
#define DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR        DISPID_A_SCROLLBARBASECOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR        DISPID_A_SCROLLBARFACECOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR     DISPID_A_SCROLLBAR3DLIGHTCOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR      DISPID_A_SCROLLBARSHADOWCOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR   DISPID_A_SCROLLBARHIGHLIGHTCOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR  DISPID_A_SCROLLBARDARKSHADOWCOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR       DISPID_A_SCROLLBARARROWCOLOR
#define DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR       DISPID_A_SCROLLBARTRACKCOLOR
#define DISPID_IHTMLSTYLE3_WRITINGMODE               DISPID_A_WRITINGMODE
#define DISPID_IHTMLSTYLE3_TEXTALIGNLAST             DISPID_A_TEXTALIGNLAST
#define DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE          DISPID_A_TEXTKASHIDASPACE

/* IHTMLStyle4 */
#define DISPID_IHTMLSTYLE4_TEXTOVERFLOW  DISPID_A_TEXTOVERFLOW
#define DISPID_IHTMLSTYLE4_MINHEIGHT     DISPID_A_MINHEIGHT

/* IHTMLStyle5 */
#define DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE  DISPID_A_INTERPOLATION
#define DISPID_IHTMLSTYLE5_MAXHEIGHT            DISPID_A_MAXHEIGHT
#define DISPID_IHTMLSTYLE5_MINWIDTH             DISPID_A_MINWIDTH
#define DISPID_IHTMLSTYLE5_MAXWIDTH             DISPID_A_MAXWIDTH

/* IHTMLStyle6 */
#define DISPID_IHTMLSTYLE6_CONTENT             DISPID_A_CONTENT
#define DISPID_IHTMLSTYLE6_CAPTIONSIDE         DISPID_A_CAPTIONSIDE
#define DISPID_IHTMLSTYLE6_COUNTERINCREMENT    DISPID_A_COUNTERINCREMENT
#define DISPID_IHTMLSTYLE6_COUNTERRESET        DISPID_A_COUNTERRESET
#define DISPID_IHTMLSTYLE6_OUTLINE             DISPID_A_OUTLINE
#define DISPID_IHTMLSTYLE6_OUTLINEWIDTH        DISPID_A_OUTLINEWIDTH
#define DISPID_IHTMLSTYLE6_OUTLINESTYLE        DISPID_A_OUTLINESTYLE
#define DISPID_IHTMLSTYLE6_OUTLINECOLOR        DISPID_A_OUTLINECOLOR
#define DISPID_IHTMLSTYLE6_BOXSIZING           DISPID_A_BOXSIZING
#define DISPID_IHTMLSTYLE6_BORDERSPACING       DISPID_A_BORDERSPACING
#define DISPID_IHTMLSTYLE6_ORPHANS             DISPID_A_ORPHANS
#define DISPID_IHTMLSTYLE6_WIDOWS              DISPID_A_WIDOWS
#define DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE     DISPID_A_PAGEBREAKINSIDE
#define DISPID_IHTMLSTYLE6_EMPTYCELLS          DISPID_A_EMPTYCELLS
#define DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION  DISPID_A_MS_BLOCKPROGRESSION
#define DISPID_IHTMLSTYLE6_QUOTES              DISPID_A_QUOTES

/* IHTMLFiltersCollection */
#define DISPID_IHTMLFILTERSCOLLECTION_LENGTH     (DISPID_FILTERS+1)
#define DISPID_IHTMLFILTERSCOLLECTION__NEWENUM   DISPID_NEWENUM
#define DISPID_IHTMLFILTERSCOLLECTION_ITEM       DISPID_VALUE

/* IHTMLSelectionObject */
#define DISPID_IHTMLSELECTIONOBJECT_CREATERANGE   (DISPID_SELECTOBJ+1)
#define DISPID_IHTMLSELECTIONOBJECT_EMPTY         (DISPID_SELECTOBJ+2)
#define DISPID_IHTMLSELECTIONOBJECT_CLEAR         (DISPID_SELECTOBJ+3)
#define DISPID_IHTMLSELECTIONOBJECT_TYPE          (DISPID_SELECTOBJ+4)

/* IHTMLFramesCollection2 */
#define DISPID_IHTMLFRAMESCOLLECTION2_ITEM     0
#define DISPID_IHTMLFRAMESCOLLECTION2_LENGTH   1001

/* IHTMLLocation */
#define DISPID_IHTMLLOCATION_HOST       (DISPID_LOCATION+1)
#define DISPID_IHTMLLOCATION_HOSTNAME   (DISPID_LOCATION+2)
#define DISPID_IHTMLLOCATION_PORT       (DISPID_LOCATION+3)
#define DISPID_IHTMLLOCATION_PATHNAME   (DISPID_LOCATION+4)
#define DISPID_IHTMLLOCATION_SEARCH     (DISPID_LOCATION+5)
#define DISPID_IHTMLLOCATION_HASH       (DISPID_LOCATION+6)
#define DISPID_IHTMLLOCATION_RELOAD     (DISPID_LOCATION+7)
#define DISPID_IHTMLLOCATION_REPLACE    (DISPID_LOCATION+8)
#define DISPID_IHTMLLOCATION_ASSIGN     (DISPID_LOCATION+9)
#define DISPID_IHTMLLOCATION_TOSTRING   (DISPID_LOCATION+10)
#define DISPID_IHTMLLOCATION_HREF       DISPID_VALUE
#define DISPID_IHTMLLOCATION_PROTOCOL   DISPID_LOCATION

/* IHTMLBookmarkCollection */
#define DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH    DISPID_OPTIONS_COL+1
#define DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM  DISPID_NEWENUM
#define DISPID_IHTMLBOOKMARKCOLLECTION_ITEM      DISPID_VALUE

/* HTMLWindowEvents */
#define DISPID_HTMLWINDOWEVENTS_ONLOAD           DISPID_EVMETH_ONLOAD
#define DISPID_HTMLWINDOWEVENTS_ONUNLOAD         DISPID_EVMETH_ONUNLOAD
#define DISPID_HTMLWINDOWEVENTS_ONHELP           DISPID_EVMETH_ONHELP
#define DISPID_HTMLWINDOWEVENTS_ONFOCUS          DISPID_EVMETH_ONFOCUS
#define DISPID_HTMLWINDOWEVENTS_ONBLUR           DISPID_EVMETH_ONBLUR
#define DISPID_HTMLWINDOWEVENTS_ONERROR          DISPID_EVMETH_ONERROR
#define DISPID_HTMLWINDOWEVENTS_ONRESIZE         DISPID_EVMETH_ONRESIZE
#define DISPID_HTMLWINDOWEVENTS_ONSCROLL         DISPID_EVMETH_ONSCROLL
#define DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD   DISPID_EVMETH_ONBEFOREUNLOAD
#define DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT    DISPID_EVMETH_ONBEFOREPRINT
#define DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT     DISPID_EVMETH_ONAFTERPRINT

/* HTMLWindowEvents2 */
#define DISPID_HTMLWINDOWEVENTS2_ONLOAD          DISPID_EVMETH_ONLOAD
#define DISPID_HTMLWINDOWEVENTS2_ONUNLOAD        DISPID_EVMETH_ONUNLOAD
#define DISPID_HTMLWINDOWEVENTS2_ONHELP          DISPID_EVMETH_ONHELP
#define DISPID_HTMLWINDOWEVENTS2_ONFOCUS         DISPID_EVMETH_ONFOCUS
#define DISPID_HTMLWINDOWEVENTS2_ONBLUR          DISPID_EVMETH_ONBLUR
#define DISPID_HTMLWINDOWEVENTS2_ONERROR         DISPID_EVMETH_ONERROR
#define DISPID_HTMLWINDOWEVENTS2_ONRESIZE        DISPID_EVMETH_ONRESIZE
#define DISPID_HTMLWINDOWEVENTS2_ONSCROLL        DISPID_EVMETH_ONSCROLL
#define DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD  DISPID_EVMETH_ONBEFOREUNLOAD
#define DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT   DISPID_EVMETH_ONBEFOREPRINT
#define DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT    DISPID_EVMETH_ONAFTERPRINT

/* IHTMLWindow2 */
#define DISPID_IHTMLWINDOW2_HISTORY              2
#define DISPID_IHTMLWINDOW2_CLOSE                3
#define DISPID_IHTMLWINDOW2_OPENER               4
#define DISPID_IHTMLWINDOW2_NAVIGATOR            5
#define DISPID_IHTMLWINDOW2_MOVETO               6
#define DISPID_IHTMLWINDOW2_MOVEBY               7
#define DISPID_IHTMLWINDOW2_RESIZETO             9
#define DISPID_IHTMLWINDOW2_RESIZEBY             8
#define DISPID_IHTMLWINDOW2_NAME                 11
#define DISPID_IHTMLWINDOW2_PARENT               12
#define DISPID_IHTMLWINDOW2_OPEN                 13
#define DISPID_IHTMLWINDOW2_LOCATION             14
#define DISPID_IHTMLWINDOW2_SELF                 20
#define DISPID_IHTMLWINDOW2_TOP                  21
#define DISPID_IHTMLWINDOW2_WINDOW               22
#define DISPID_IHTMLWINDOW2_CLOSED               23
#define DISPID_IHTMLWINDOW2_NAVIGATE             25
#define DISPID_IHTMLWINDOW2_FRAMES               1100
#define DISPID_IHTMLWINDOW2_DEFAULTSTATUS        1101
#define DISPID_IHTMLWINDOW2_STATUS               1102
#define DISPID_IHTMLWINDOW2_SETTIMEOUT           1172
#define DISPID_IHTMLWINDOW2_CLEARTIMEOUT         1104
#define DISPID_IHTMLWINDOW2_ALERT                1105
#define DISPID_IHTMLWINDOW2_CONFIRM              1110
#define DISPID_IHTMLWINDOW2_PROMPT               1111
#define DISPID_IHTMLWINDOW2_IMAGE                1125
#define DISPID_IHTMLWINDOW2_DOCUMENT             1151
#define DISPID_IHTMLWINDOW2_EVENT                1152
#define DISPID_IHTMLWINDOW2__NEWENUM             1153
#define DISPID_IHTMLWINDOW2_SHOWMODALDIALOG      1154
#define DISPID_IHTMLWINDOW2_SHOWHELP             1155
#define DISPID_IHTMLWINDOW2_SCREEN               1156
#define DISPID_IHTMLWINDOW2_OPTION               1157
#define DISPID_IHTMLWINDOW2_FOCUS                1158
#define DISPID_IHTMLWINDOW2_BLUR                 1159
#define DISPID_IHTMLWINDOW2_SCROLL               1160
#define DISPID_IHTMLWINDOW2_CLIENTINFORMATION    1161
#define DISPID_IHTMLWINDOW2_SETINTERVAL          1173
#define DISPID_IHTMLWINDOW2_CLEARINTERVAL        1163
#define DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING   1164
#define DISPID_IHTMLWINDOW2_EXECSCRIPT           1165
#define DISPID_IHTMLWINDOW2_TOSTRING             1166
#define DISPID_IHTMLWINDOW2_SCROLLBY             1167
#define DISPID_IHTMLWINDOW2_SCROLLTO             1168
#define DISPID_IHTMLWINDOW2_EXTERNAL             1169
#define DISPID_IHTMLWINDOW2_ONFOCUS              DISPID_EVPROP_ONFOCUS
#define DISPID_IHTMLWINDOW2_ONBLUR               DISPID_EVPROP_ONBLUR
#define DISPID_IHTMLWINDOW2_ONLOAD               DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD       DISPID_EVPROP_ONBEFOREUNLOAD
#define DISPID_IHTMLWINDOW2_ONUNLOAD             DISPID_EVPROP_ONUNLOAD
#define DISPID_IHTMLWINDOW2_ONHELP               DISPID_EVPROP_ONHELP
#define DISPID_IHTMLWINDOW2_ONERROR              DISPID_EVPROP_ONERROR
#define DISPID_IHTMLWINDOW2_ONRESIZE             DISPID_EVPROP_ONRESIZE
#define DISPID_IHTMLWINDOW2_ONSCROLL             DISPID_EVPROP_ONSCROLL

/* IHTMLWindow3 */
#define DISPID_IHTMLWINDOW3_SCREENLEFT          1170
#define DISPID_IHTMLWINDOW3_SCREENTOP           1171
#define DISPID_IHTMLWINDOW3_ATTACHEVENT         DISPID_HTMLOBJECT+7
#define DISPID_IHTMLWINDOW3_DETACHEVENT         DISPID_HTMLOBJECT+8
#define DISPID_IHTMLWINDOW3_SETTIMEOUT          1103
#define DISPID_IHTMLWINDOW3_SETINTERVAL         1162
#define DISPID_IHTMLWINDOW3_PRINT               1174
#define DISPID_IHTMLWINDOW3_ONBEFOREPRINT       DISPID_EVPROP_ONBEFOREPRINT
#define DISPID_IHTMLWINDOW3_ONAFTERPRINT        DISPID_EVPROP_ONAFTERPRINT
#define DISPID_IHTMLWINDOW3_CLIPBOARDDATA       1175
#define DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG  1176

/* IHTMLWindow4 */
#define DISPID_IHTMLWINDOW4_CREATEPOPUP   1180
#define DISPID_IHTMLWINDOW4_FRAMEELEMENT  1181

/* IHTMLWindow5 */
#define DISPID_IHTMLWINDOW5_XMLHTTPREQUEST 1190

/* IHTMLWindow6 */
#define DISPID_IHTMLWINDOW6_XDOMAINREQUEST           1191
#define DISPID_IHTMLWINDOW6_SESSIONSTORAGE           1192
#define DISPID_IHTMLWINDOW6_LOCALSTORAGE             1193
#define DISPID_IHTMLWINDOW6_ONHASHCHANGE             DISPID_EVPROP_ONHASHCHANGE
#define DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER  1194
#define DISPID_IHTMLWINDOW6_POSTMESSAGE              1196
#define DISPID_IHTMLWINDOW6_TOSTATICHTML             1197
#define DISPID_IHTMLWINDOW6_ONMESSAGE                DISPID_EVPROP_ONMESSAGE
#define DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK      1198

/* IHTMLImageElementFactory */
#define DISPID_IHTMLIMAGEELEMENTFACTORY_CREATE                    DISPID_VALUE

/* IHTMLImgElement */
#define DISPID_IHTMLIMGELEMENT_BORDER             (DISPID_IMGBASE+4)
#define DISPID_IHTMLIMGELEMENT_VSPACE             (DISPID_IMGBASE+5)
#define DISPID_IHTMLIMGELEMENT_HSPACE             (DISPID_IMGBASE+6)
#define DISPID_IHTMLIMGELEMENT_ALT                (DISPID_IMGBASE+2)
#define DISPID_IHTMLIMGELEMENT_SRC                (DISPID_IMGBASE+3)
#define DISPID_IHTMLIMGELEMENT_LOWSRC             (DISPID_IMGBASE+7)
#define DISPID_IHTMLIMGELEMENT_VRML               (DISPID_IMGBASE+8)
#define DISPID_IHTMLIMGELEMENT_DYNSRC             (DISPID_IMGBASE+9)
#define DISPID_IHTMLIMGELEMENT_READYSTATE         (DISPID_IMGBASE+12)
#define DISPID_IHTMLIMGELEMENT_COMPLETE           (DISPID_IMGBASE+10)
#define DISPID_IHTMLIMGELEMENT_LOOP               (DISPID_IMGBASE+11)
#define DISPID_IHTMLIMGELEMENT_ISMAP              (DISPID_IMG+2)
#define DISPID_IHTMLIMGELEMENT_USEMAP             (DISPID_IMG+8)
#define DISPID_IHTMLIMGELEMENT_MIMETYPE           (DISPID_IMG+10)
#define DISPID_IHTMLIMGELEMENT_FILESIZE           (DISPID_IMG+11)
#define DISPID_IHTMLIMGELEMENT_FILECREATEDDATE    (DISPID_IMG+12)
#define DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE   (DISPID_IMG+13)
#define DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE    (DISPID_IMG+14)
#define DISPID_IHTMLIMGELEMENT_PROTOCOL           (DISPID_IMG+15)
#define DISPID_IHTMLIMGELEMENT_HREF               (DISPID_IMG+16)
#define DISPID_IHTMLIMGELEMENT_NAMEPROP           (DISPID_IMG+17)
#define DISPID_IHTMLIMGELEMENT_ALIGN              STDPROPID_XOBJ_CONTROLALIGN
#define DISPID_IHTMLIMGELEMENT_ONLOAD             DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLIMGELEMENT_ONERROR            DISPID_EVPROP_ONERROR
#define DISPID_IHTMLIMGELEMENT_ONABORT            DISPID_EVPROP_ONABORT
#define DISPID_IHTMLIMGELEMENT_NAME               STDPROPID_XOBJ_NAME
#define DISPID_IHTMLIMGELEMENT_WIDTH              STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLIMGELEMENT_HEIGHT             STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLIMGELEMENT_START              DISPID_IMGBASE+13

/* IHTMLImgElement2 */
#define DISPID_IHTMLIMGELEMENT2_LONGDESC  DISPID_IMG+19

/* IOmHistory */
#define DISPID_IOMHISTORY_LENGTH    DISPID_HISTORY
#define DISPID_IOMHISTORY_BACK      (DISPID_HISTORY+1)
#define DISPID_IOMHISTORY_FORWARD   (DISPID_HISTORY+2)
#define DISPID_IOMHISTORY_GO        (DISPID_HISTORY+3)

/* IOmNavigator */
#define DISPID_IOMNAVIGATOR_APPCODENAME       DISPID_NAVIGATOR
#define DISPID_IOMNAVIGATOR_APPNAME           (DISPID_NAVIGATOR+1)
#define DISPID_IOMNAVIGATOR_APPVERSION        (DISPID_NAVIGATOR+2)
#define DISPID_IOMNAVIGATOR_USERAGENT         (DISPID_NAVIGATOR+3)
#define DISPID_IOMNAVIGATOR_JAVAENABLED       (DISPID_NAVIGATOR+4)
#define DISPID_IOMNAVIGATOR_TAINTENABLED      (DISPID_NAVIGATOR+5)
#define DISPID_IOMNAVIGATOR_MIMETYPES         (DISPID_NAVIGATOR+6)
#define DISPID_IOMNAVIGATOR_PLUGINS           (DISPID_NAVIGATOR+7)
#define DISPID_IOMNAVIGATOR_COOKIEENABLED     (DISPID_NAVIGATOR+8)
#define DISPID_IOMNAVIGATOR_OPSPROFILE        (DISPID_NAVIGATOR+9)
#define DISPID_IOMNAVIGATOR_TOSTRING          (DISPID_NAVIGATOR+10)
#define DISPID_IOMNAVIGATOR_CPUCLASS          (DISPID_NAVIGATOR+11)
#define DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE    (DISPID_NAVIGATOR+12)
#define DISPID_IOMNAVIGATOR_BROWSERLANGUAGE   (DISPID_NAVIGATOR+13)
#define DISPID_IOMNAVIGATOR_USERLANGUAGE      (DISPID_NAVIGATOR+14)
#define DISPID_IOMNAVIGATOR_PLATFORM          (DISPID_NAVIGATOR+15)
#define DISPID_IOMNAVIGATOR_APPMINORVERSION   (DISPID_NAVIGATOR+16)
#define DISPID_IOMNAVIGATOR_CONNECTIONSPEED   (DISPID_NAVIGATOR+17)
#define DISPID_IOMNAVIGATOR_ONLINE            (DISPID_NAVIGATOR+18)
#define DISPID_IOMNAVIGATOR_USERPROFILE       (DISPID_NAVIGATOR+19)

/* IHTMLMimeTypesCollection */
#define DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH   1

/* IHTMLPluginsCollection */
#define DISPID_IHTMLPLUGINSCOLLECTION_LENGTH    1
#define DISPID_IHTMLPLUGINSCOLLECTION_REFRESH   2

/* IHTMLOpsProfile */
#define DISPID_IHTMLOPSPROFILE_ADDREQUEST       1
#define DISPID_IHTMLOPSPROFILE_CLEARREQUEST     2
#define DISPID_IHTMLOPSPROFILE_DOREQUEST        3
#define DISPID_IHTMLOPSPROFILE_GETATTRIBUTE     4
#define DISPID_IHTMLOPSPROFILE_SETATTRIBUTE     5
#define DISPID_IHTMLOPSPROFILE_COMMITCHANGES    6
#define DISPID_IHTMLOPSPROFILE_ADDREADREQUEST   7
#define DISPID_IHTMLOPSPROFILE_DOREADREQUEST    8
#define DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST   9

/* IHTMLDataTransfer */
#define DISPID_IHTMLDATATRANSFER_SETDATA        DISPID_DATATRANSFER+1
#define DISPID_IHTMLDATATRANSFER_GETDATA        DISPID_DATATRANSFER+2
#define DISPID_IHTMLDATATRANSFER_CLEARDATA      DISPID_DATATRANSFER+3
#define DISPID_IHTMLDATATRANSFER_DROPEFFECT     DISPID_DATATRANSFER+4
#define DISPID_IHTMLDATATRANSFER_EFFECTALLOWED  DISPID_DATATRANSFER+5

/* IHTMLEventObj */
#define DISPID_IHTMLEVENTOBJ_SRCELEMENT     (DISPID_EVENTOBJ+1)
#define DISPID_IHTMLEVENTOBJ_ALTKEY         (DISPID_EVENTOBJ+2)
#define DISPID_IHTMLEVENTOBJ_CTRLKEY        (DISPID_EVENTOBJ+3)
#define DISPID_IHTMLEVENTOBJ_SHIFTKEY       (DISPID_EVENTOBJ+4)
#define DISPID_IHTMLEVENTOBJ_X              (DISPID_EVENTOBJ+5)
#define DISPID_IHTMLEVENTOBJ_Y              (DISPID_EVENTOBJ+6)
#define DISPID_IHTMLEVENTOBJ_RETURNVALUE    (DISPID_EVENTOBJ+7)
#define DISPID_IHTMLEVENTOBJ_CANCELBUBBLE   (DISPID_EVENTOBJ+8)
#define DISPID_IHTMLEVENTOBJ_FROMELEMENT    (DISPID_EVENTOBJ+9)
#define DISPID_IHTMLEVENTOBJ_TOELEMENT      (DISPID_EVENTOBJ+10)
#define DISPID_IHTMLEVENTOBJ_KEYCODE        (DISPID_EVENTOBJ+11)
#define DISPID_IHTMLEVENTOBJ_BUTTON         (DISPID_EVENTOBJ+12)
#define DISPID_IHTMLEVENTOBJ_TYPE           (DISPID_EVENTOBJ+13)
#define DISPID_IHTMLEVENTOBJ_QUALIFIER      (DISPID_EVENTOBJ+14)
#define DISPID_IHTMLEVENTOBJ_REASON         (DISPID_EVENTOBJ+15)
#define DISPID_IHTMLEVENTOBJ_CLIENTX        (DISPID_EVENTOBJ+20)
#define DISPID_IHTMLEVENTOBJ_CLIENTY        (DISPID_EVENTOBJ+21)
#define DISPID_IHTMLEVENTOBJ_OFFSETX        (DISPID_EVENTOBJ+22)
#define DISPID_IHTMLEVENTOBJ_OFFSETY        (DISPID_EVENTOBJ+23)
#define DISPID_IHTMLEVENTOBJ_SCREENX        (DISPID_EVENTOBJ+24)
#define DISPID_IHTMLEVENTOBJ_SCREENY        (DISPID_EVENTOBJ+25)
#define DISPID_IHTMLEVENTOBJ_SRCFILTER      (DISPID_EVENTOBJ+26)

/* IHTMLEventObj2 */
#define DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE     DISPID_HTMLOBJECT+1
#define DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE     DISPID_HTMLOBJECT+2
#define DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE  DISPID_HTMLOBJECT+3
#define DISPID_IHTMLEVENTOBJ2_PROPERTYNAME     DISPID_EVENTOBJ+27
#define DISPID_IHTMLEVENTOBJ2_BOOKMARKS        DISPID_EVENTOBJ+31
#define DISPID_IHTMLEVENTOBJ2_RECORDSET        DISPID_EVENTOBJ+32
#define DISPID_IHTMLEVENTOBJ2_DATAFLD          DISPID_EVENTOBJ+33
#define DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS    DISPID_EVENTOBJ+34
#define DISPID_IHTMLEVENTOBJ2_REPEAT           DISPID_EVENTOBJ+35
#define DISPID_IHTMLEVENTOBJ2_SRCURN           DISPID_EVENTOBJ+36
#define DISPID_IHTMLEVENTOBJ2_SRCELEMENT       DISPID_EVENTOBJ+1
#define DISPID_IHTMLEVENTOBJ2_ALTKEY           DISPID_EVENTOBJ+2
#define DISPID_IHTMLEVENTOBJ2_CTRLKEY          DISPID_EVENTOBJ+3
#define DISPID_IHTMLEVENTOBJ2_SHIFTKEY         DISPID_EVENTOBJ+4
#define DISPID_IHTMLEVENTOBJ2_FROMELEMENT      DISPID_EVENTOBJ+9
#define DISPID_IHTMLEVENTOBJ2_TOELEMENT        DISPID_EVENTOBJ+10
#define DISPID_IHTMLEVENTOBJ2_BUTTON           DISPID_EVENTOBJ+12
#define DISPID_IHTMLEVENTOBJ2_TYPE             DISPID_EVENTOBJ+13
#define DISPID_IHTMLEVENTOBJ2_QUALIFIER        DISPID_EVENTOBJ+14
#define DISPID_IHTMLEVENTOBJ2_REASON           DISPID_EVENTOBJ+15
#define DISPID_IHTMLEVENTOBJ2_X                DISPID_EVENTOBJ+5
#define DISPID_IHTMLEVENTOBJ2_Y                DISPID_EVENTOBJ+6
#define DISPID_IHTMLEVENTOBJ2_CLIENTX          DISPID_EVENTOBJ+20
#define DISPID_IHTMLEVENTOBJ2_CLIENTY          DISPID_EVENTOBJ+21
#define DISPID_IHTMLEVENTOBJ2_OFFSETX          DISPID_EVENTOBJ+22
#define DISPID_IHTMLEVENTOBJ2_OFFSETY          DISPID_EVENTOBJ+23
#define DISPID_IHTMLEVENTOBJ2_SCREENX          DISPID_EVENTOBJ+24
#define DISPID_IHTMLEVENTOBJ2_SCREENY          DISPID_EVENTOBJ+25
#define DISPID_IHTMLEVENTOBJ2_SRCFILTER        DISPID_EVENTOBJ+26
#define DISPID_IHTMLEVENTOBJ2_DATATRANSFER     DISPID_EVENTOBJ+37

/* IHTMLEventObj3 */
#define DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW       DISPID_EVENTOBJ+38
#define DISPID_IHTMLEVENTOBJ3_SHIFTLEFT             DISPID_EVENTOBJ+39
#define DISPID_IHTMLEVENTOBJ3_ALTLEFT               DISPID_EVENTOBJ+40
#define DISPID_IHTMLEVENTOBJ3_CTRLLEFT              DISPID_EVENTOBJ+41
#define DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE  DISPID_EVENTOBJ+42
#define DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND      DISPID_EVENTOBJ+43
#define DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA         DISPID_EVENTOBJ+44
#define DISPID_IHTMLEVENTOBJ3_IMEREQUEST            DISPID_EVENTOBJ+46
#define DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA        DISPID_EVENTOBJ+47
#define DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT        DISPID_EVENTOBJ+45
#define DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE        DISPID_EVENTOBJ+48
#define DISPID_IHTMLEVENTOBJ3_BEHAVIORPART          DISPID_EVENTOBJ+49
#define DISPID_IHTMLEVENTOBJ3_NEXTPAGE              DISPID_EVENTOBJ+50

/* IHTMLEventObj4 */
#define DISPID_IHTMLEVENTOBJ4_WHEELDELTA  DISPID_EVENTOBJ+51

/* IHTMLScreen */
#define DISPID_IHTMLSCREEN_COLORDEPTH             (DISPID_SCREEN+1)
#define DISPID_IHTMLSCREEN_BUFFERDEPTH            (DISPID_SCREEN+2)
#define DISPID_IHTMLSCREEN_WIDTH                  (DISPID_SCREEN+3)
#define DISPID_IHTMLSCREEN_HEIGHT                 (DISPID_SCREEN+4)
#define DISPID_IHTMLSCREEN_UPDATEINTERVAL         (DISPID_SCREEN+5)
#define DISPID_IHTMLSCREEN_AVAILHEIGHT            (DISPID_SCREEN+6)
#define DISPID_IHTMLSCREEN_AVAILWIDTH             (DISPID_SCREEN+7)
#define DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED   (DISPID_SCREEN+8)

/* IHTMLScreen2 */
#define DISPID_IHTMLSCREEN2_LOGICALXDPI  DISPID_SCREEN+9
#define DISPID_IHTMLSCREEN2_LOGICALYDPI  DISPID_SCREEN+10
#define DISPID_IHTMLSCREEN2_DEVICEXDPI   DISPID_SCREEN+11
#define DISPID_IHTMLSCREEN2_DEVICEYDPI   DISPID_SCREEN+12

/* IHTMLScreen3 */
#define DISPID_IHTMLSCREEN3_SYSTEMXDPI  DISPID_SCREEN+13
#define DISPID_IHTMLSCREEN3_SYSTEMYDPI  DISPID_SCREEN+14

/* IHTMLOptionElementFactory */
#define DISPID_IHTMLOPTIONELEMENTFACTORY_CREATE   DISPID_VALUE

/* IHTMLOptionElement */
#define DISPID_IHTMLOPTIONELEMENT_SELECTED          (DISPID_OPTION+1)
#define DISPID_IHTMLOPTIONELEMENT_VALUE             (DISPID_OPTION+2)
#define DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED   (DISPID_OPTION+3)
#define DISPID_IHTMLOPTIONELEMENT_INDEX             (DISPID_OPTION+5)
#define DISPID_IHTMLOPTIONELEMENT_TEXT              (DISPID_OPTION+4)
#define DISPID_IHTMLOPTIONELEMENT_FORM              (DISPID_OPTION+6)

/* IHTMLOptionElement3 */
#define DISPID_IHTMLOPTIONELEMENT3_LABEL  DISPID_OPTION+7

/* IHTMLFormElement */
#define DISPID_IHTMLFORMELEMENT_ACTION     (DISPID_FORM+1)
#define DISPID_IHTMLFORMELEMENT_DIR        (DISPID_FORM+2)
#define DISPID_IHTMLFORMELEMENT_ENCODING   (DISPID_FORM+3)
#define DISPID_IHTMLFORMELEMENT_METHOD     (DISPID_FORM+4)
#define DISPID_IHTMLFORMELEMENT_ELEMENTS   (DISPID_FORM+5)
#define DISPID_IHTMLFORMELEMENT_TARGET     (DISPID_FORM+6)
#define DISPID_IHTMLFORMELEMENT_SUBMIT     (DISPID_FORM+9)
#define DISPID_IHTMLFORMELEMENT_RESET      (DISPID_FORM+10)
#define DISPID_IHTMLFORMELEMENT_TAGS       (DISPID_COLLECTION+2)
#define DISPID_IHTMLFORMELEMENT_NAME       STDPROPID_XOBJ_NAME
#define DISPID_IHTMLFORMELEMENT_ONSUBMIT   DISPID_EVPROP_ONSUBMIT
#define DISPID_IHTMLFORMELEMENT_ONRESET    DISPID_EVPROP_ONRESET
#define DISPID_IHTMLFORMELEMENT_LENGTH     DISPID_COLLECTION
#define DISPID_IHTMLFORMELEMENT__NEWENUM   DISPID_NEWENUM
#define DISPID_IHTMLFORMELEMENT_ITEM       DISPID_VALUE

/* HTMLFormElementEvents */
#define DISPID_HTMLFORMELEMENTEVENTS_ONSUBMIT  DISPID_EVMETH_ONSUBMIT
#define DISPID_HTMLFORMELEMENTEVENTS_ONRESET   DISPID_EVMETH_ONRESET

/* HTMLFormElementEvents2 */
#define DISPID_HTMLFORMELEMENTEVENTS2_ONSUBMIT  DISPID_EVMETH_ONSUBMIT
#define DISPID_HTMLFORMELEMENTEVENTS2_ONRESET   DISPID_EVMETH_ONRESET

/* IHTMLStyleSheetsCollection */
#define DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH     (DISPID_STYLESHEETS_COL+1)
#define DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM   DISPID_NEWENUM
#define DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM       DISPID_VALUE

/* IHTMLStyleSheet */
#define DISPID_IHTMLSTYLESHEET_TITLE              (DISPID_STYLESHEET+1)
#define DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET   (DISPID_STYLESHEET+2)
#define DISPID_IHTMLSTYLESHEET_OWNINGELEMENT      (DISPID_STYLESHEET+3)
#define DISPID_IHTMLSTYLESHEET_READONLY           (DISPID_STYLESHEET+4)
#define DISPID_IHTMLSTYLESHEET_IMPORTS            (DISPID_STYLESHEET+5)
#define DISPID_IHTMLSTYLESHEET_HREF               (DISPID_STYLESHEET+6)
#define DISPID_IHTMLSTYLESHEET_TYPE               (DISPID_STYLESHEET+7)
#define DISPID_IHTMLSTYLESHEET_ID                 (DISPID_STYLESHEET+8)
#define DISPID_IHTMLSTYLESHEET_ADDIMPORT          (DISPID_STYLESHEET+9)
#define DISPID_IHTMLSTYLESHEET_ADDRULE            (DISPID_STYLESHEET+10)
#define DISPID_IHTMLSTYLESHEET_REMOVEIMPORT       (DISPID_STYLESHEET+11)
#define DISPID_IHTMLSTYLESHEET_REMOVERULE         (DISPID_STYLESHEET+12)
#define DISPID_IHTMLSTYLESHEET_MEDIA              (DISPID_STYLESHEET+13)
#define DISPID_IHTMLSTYLESHEET_CSSTEXT            (DISPID_STYLESHEET+14)
#define DISPID_IHTMLSTYLESHEET_RULES              (DISPID_STYLESHEET+15)
#define DISPID_IHTMLSTYLESHEET_DISABLED           STDPROPID_XOBJ_DISABLED

/* IHTMLStyleSheet2 */
#define DISPID_IHTMLSTYLESHEET2_PAGES             (DISPID_STYLESHEET+16)
#define DISPID_IHTMLSTYLESHEET2_ADDPAGERULE       (DISPID_STYLESHEET+17)

/* IHTMLStyleSheetRulesCollection */
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH   (DISPID_STYLERULES_COL+1)
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM     DISPID_VALUE

/* IHTMLStyleSheetPage */
#define DISPID_IHTMLSTYLESHEETPAGE_SELECTOR       (DISPID_STYLEPAGE+1)
#define DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS    (DISPID_STYLEPAGE+2)

/* IHTMLStyleSheetPagesCollection */
#define DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH      (DISPID_STYLEPAGES_COL+1)
#define DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM        DISPID_VALUE

/* IHTMLStyleSheetRule */
#define DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT   (DISPID_STYLERULE+1)
#define DISPID_IHTMLSTYLESHEETRULE_READONLY       (DISPID_STYLERULE+2)
#define DISPID_IHTMLSTYLESHEETRULE_STYLE          STDPROPID_XOBJ_STYLE

/* IHTMLRuleStyle */
#define DISPID_IHTMLRULESTYLE_SETATTRIBUTE                (DISPID_HTMLOBJECT+1)
#define DISPID_IHTMLRULESTYLE_GETATTRIBUTE                (DISPID_HTMLOBJECT+2)
#define DISPID_IHTMLRULESTYLE_REMOVEATTRIBUTE             (DISPID_HTMLOBJECT+3)
#define DISPID_IHTMLRULESTYLE_FONTFAMILY                  DISPID_A_FONTFACE
#define DISPID_IHTMLRULESTYLE_FONTSTYLE                   DISPID_A_FONTSTYLE
#define DISPID_IHTMLRULESTYLE_FONTVARIANT                 DISPID_A_FONTVARIANT
#define DISPID_IHTMLRULESTYLE_FONTWEIGHT                  DISPID_A_FONTWEIGHT
#define DISPID_IHTMLRULESTYLE_FONTSIZE                    DISPID_A_FONTSIZE
#define DISPID_IHTMLRULESTYLE_FONT                        DISPID_A_FONT
#define DISPID_IHTMLRULESTYLE_COLOR                       DISPID_A_COLOR
#define DISPID_IHTMLRULESTYLE_BACKGROUND                  DISPID_A_BACKGROUND
#define DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE             DISPID_A_BACKGROUNDIMAGE
#define DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT            DISPID_A_BACKGROUNDREPEAT
#define DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT        DISPID_A_BACKGROUNDATTACHMENT
#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION          DISPID_A_BACKGROUNDPOSITION
#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX         DISPID_A_BACKGROUNDPOSX
#define DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY         DISPID_A_BACKGROUNDPOSY
#define DISPID_IHTMLRULESTYLE_WORDSPACING                 DISPID_A_WORDSPACING
#define DISPID_IHTMLRULESTYLE_LETTERSPACING               DISPID_A_LETTERSPACING
#define DISPID_IHTMLRULESTYLE_TEXTDECORATION              DISPID_A_TEXTDECORATION
#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE          DISPID_A_TEXTDECORATIONNONE
#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE     DISPID_A_TEXTDECORATIONUNDERLINE
#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE      DISPID_A_TEXTDECORATIONOVERLINE
#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH   DISPID_A_TEXTDECORATIONLINETHROUGH
#define DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK         DISPID_A_TEXTDECORATIONBLINK
#define DISPID_IHTMLRULESTYLE_VERTICALALIGN               DISPID_A_VERTICALALIGN
#define DISPID_IHTMLRULESTYLE_TEXTTRANSFORM               DISPID_A_TEXTTRANSFORM
#define DISPID_IHTMLRULESTYLE_TEXTINDENT                  DISPID_A_TEXTINDENT
#define DISPID_IHTMLRULESTYLE_LINEHEIGHT                  DISPID_A_LINEHEIGHT
#define DISPID_IHTMLRULESTYLE_MARGINTOP                   DISPID_A_MARGINTOP
#define DISPID_IHTMLRULESTYLE_MARGINRIGHT                 DISPID_A_MARGINRIGHT
#define DISPID_IHTMLRULESTYLE_MARGINBOTTOM                DISPID_A_MARGINBOTTOM
#define DISPID_IHTMLRULESTYLE_MARGINLEFT                  DISPID_A_MARGINLEFT
#define DISPID_IHTMLRULESTYLE_MARGIN                      DISPID_A_MARGIN
#define DISPID_IHTMLRULESTYLE_PADDINGTOP                  DISPID_A_PADDINGTOP
#define DISPID_IHTMLRULESTYLE_PADDINGRIGHT                DISPID_A_PADDINGRIGHT
#define DISPID_IHTMLRULESTYLE_PADDINGBOTTOM               DISPID_A_PADDINGBOTTOM
#define DISPID_IHTMLRULESTYLE_PADDINGLEFT                 DISPID_A_PADDINGLEFT
#define DISPID_IHTMLRULESTYLE_PADDING                     DISPID_A_PADDING
#define DISPID_IHTMLRULESTYLE_BORDER                      DISPID_A_BORDER
#define DISPID_IHTMLRULESTYLE_BORDERTOP                   DISPID_A_BORDERTOP
#define DISPID_IHTMLRULESTYLE_BORDERRIGHT                 DISPID_A_BORDERRIGHT
#define DISPID_IHTMLRULESTYLE_BORDERBOTTOM                DISPID_A_BORDERBOTTOM
#define DISPID_IHTMLRULESTYLE_BORDERLEFT                  DISPID_A_BORDERLEFT
#define DISPID_IHTMLRULESTYLE_BORDERCOLOR                 DISPID_A_BORDERCOLOR
#define DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR              DISPID_A_BORDERTOPCOLOR
#define DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR            DISPID_A_BORDERRIGHTCOLOR
#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR           DISPID_A_BORDERBOTTOMCOLOR
#define DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR             DISPID_A_BORDERLEFTCOLOR
#define DISPID_IHTMLRULESTYLE_BORDERWIDTH                 DISPID_A_BORDERWIDTH
#define DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH              DISPID_A_BORDERTOPWIDTH
#define DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH            DISPID_A_BORDERRIGHTWIDTH
#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH           DISPID_A_BORDERBOTTOMWIDTH
#define DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH             DISPID_A_BORDERLEFTWIDTH
#define DISPID_IHTMLRULESTYLE_BORDERSTYLE                 DISPID_A_BORDERSTYLE
#define DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE              DISPID_A_BORDERTOPSTYLE
#define DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE            DISPID_A_BORDERRIGHTSTYLE
#define DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE           DISPID_A_BORDERBOTTOMSTYLE
#define DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE             DISPID_A_BORDERLEFTSTYLE
#define DISPID_IHTMLRULESTYLE_STYLEFLOAT                  DISPID_A_FLOAT
#define DISPID_IHTMLRULESTYLE_CLEAR                       DISPID_A_CLEAR
#define DISPID_IHTMLRULESTYLE_DISPLAY                     DISPID_A_DISPLAY
#define DISPID_IHTMLRULESTYLE_VISIBILITY                  DISPID_A_VISIBILITY
#define DISPID_IHTMLRULESTYLE_LISTSTYLETYPE               DISPID_A_LISTSTYLETYPE
#define DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION           DISPID_A_LISTSTYLEPOSITION
#define DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE              DISPID_A_LISTSTYLEIMAGE
#define DISPID_IHTMLRULESTYLE_LISTSTYLE                   DISPID_A_LISTSTYLE
#define DISPID_IHTMLRULESTYLE_WHITESPACE                  DISPID_A_WHITESPACE
#define DISPID_IHTMLRULESTYLE_POSITION                    DISPID_A_POSITION
#define DISPID_IHTMLRULESTYLE_ZINDEX                      DISPID_A_ZINDEX
#define DISPID_IHTMLRULESTYLE_OVERFLOW                    DISPID_A_OVERFLOW
#define DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE             DISPID_A_PAGEBREAKBEFORE
#define DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER              DISPID_A_PAGEBREAKAFTER
#define DISPID_IHTMLRULESTYLE_CSSTEXT                     DISPID_A_STYLETEXT
#define DISPID_IHTMLRULESTYLE_CURSOR                      DISPID_A_CURSOR
#define DISPID_IHTMLRULESTYLE_CLIP                        DISPID_A_CLIP
#define DISPID_IHTMLRULESTYLE_FILTER                      DISPID_A_FILTER
#define DISPID_IHTMLRULESTYLE_TOP                         STDPROPID_XOBJ_TOP
#define DISPID_IHTMLRULESTYLE_LEFT                        STDPROPID_XOBJ_LEFT
#define DISPID_IHTMLRULESTYLE_WIDTH                       STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLRULESTYLE_HEIGHT                      STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLRULESTYLE_TEXTALIGN                   STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR             DISPID_BACKCOLOR

/* IHTMLDOMNode */
#define DISPID_IHTMLDOMNODE_NODETYPE           DISPID_ELEMENT+46
#define DISPID_IHTMLDOMNODE_PARENTNODE         DISPID_ELEMENT+47
#define DISPID_IHTMLDOMNODE_HASCHILDNODES      DISPID_ELEMENT+48
#define DISPID_IHTMLDOMNODE_CHILDNODES         DISPID_ELEMENT+49
#define DISPID_IHTMLDOMNODE_ATTRIBUTES         DISPID_ELEMENT+50
#define DISPID_IHTMLDOMNODE_INSERTBEFORE       DISPID_ELEMENT+51
#define DISPID_IHTMLDOMNODE_REMOVECHILD        DISPID_ELEMENT+52
#define DISPID_IHTMLDOMNODE_REPLACECHILD       DISPID_ELEMENT+53
#define DISPID_IHTMLDOMNODE_CLONENODE          DISPID_ELEMENT+61
#define DISPID_IHTMLDOMNODE_REMOVENODE         DISPID_ELEMENT+66
#define DISPID_IHTMLDOMNODE_SWAPNODE           DISPID_ELEMENT+68
#define DISPID_IHTMLDOMNODE_REPLACENODE        DISPID_ELEMENT+67
#define DISPID_IHTMLDOMNODE_APPENDCHILD        DISPID_ELEMENT+73
#define DISPID_IHTMLDOMNODE_NODENAME           DISPID_ELEMENT+74
#define DISPID_IHTMLDOMNODE_NODEVALUE          DISPID_ELEMENT+75
#define DISPID_IHTMLDOMNODE_FIRSTCHILD         DISPID_ELEMENT+76
#define DISPID_IHTMLDOMNODE_LASTCHILD          DISPID_ELEMENT+77
#define DISPID_IHTMLDOMNODE_PREVIOUSSIBLING    DISPID_ELEMENT+78
#define DISPID_IHTMLDOMNODE_NEXTSIBLING        DISPID_ELEMENT+79

/* IHTMLDOMNode2 */
#define DISPID_IHTMLDOMNODE2_OWNERDOCUMENT     DISPID_ELEMENT+113

/* IHTMLDOMTextNode */
#define DISPID_IHTMLDOMTEXTNODE_DATA       DISPID_DOMTEXTNODE
#define DISPID_IHTMLDOMTEXTNODE_TOSTRING   DISPID_DOMTEXTNODE+1
#define DISPID_IHTMLDOMTEXTNODE_LENGTH     DISPID_DOMTEXTNODE+2
#define DISPID_IHTMLDOMTEXTNODE_SPLITTEXT  DISPID_DOMTEXTNODE+3

/* IHTMLDOMTextNode2 */
#define DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA  DISPID_DOMTEXTNODE+4
#define DISPID_IHTMLDOMTEXTNODE2_APPENDDATA     DISPID_DOMTEXTNODE+5
#define DISPID_IHTMLDOMTEXTNODE2_INSERTDATA     DISPID_DOMTEXTNODE+6
#define DISPID_IHTMLDOMTEXTNODE2_DELETEDATA     DISPID_DOMTEXTNODE+7
#define DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA    DISPID_DOMTEXTNODE+8

/* IHTMLRenderStyle */
#define DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE  DISPID_A_TEXTLINETHROUGHSTYLE
#define DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE    DISPID_A_TEXTUNDERLINESTYLE
#define DISPID_IHTMLRENDERSTYLE_TEXTEFFECT            DISPID_A_TEXTEFFECT
#define DISPID_IHTMLRENDERSTYLE_TEXTCOLOR             DISPID_A_TEXTCOLOR
#define DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR   DISPID_A_TEXTBACKGROUNDCOLOR
#define DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR   DISPID_A_TEXTDECORATIONCOLOR
#define DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY     DISPID_A_RENDERINGPRIORITY
#define DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION  DISPID_A_DEFAULTTEXTSELECTION
#define DISPID_IHTMLRENDERSTYLE_TEXTDECORATION        DISPID_A_STYLETEXTDECORATION

/* IHTMLDOMImplementation */
#define DISPID_IHTMLDOMIMPLEMENTATION_HASFEATURE  DISPID_DOMIMPLEMENTATION

/* IHTMLDOMAttribute */
#define DISPID_IHTMLDOMATTRIBUTE_NODENAME   DISPID_DOMATTRIBUTE
#define DISPID_IHTMLDOMATTRIBUTE_NODEVALUE  DISPID_DOMATTRIBUTE+2
#define DISPID_IHTMLDOMATTRIBUTE_SPECIFIED  DISPID_DOMATTRIBUTE+1

/* IHTMLDOMAttribute2 */
#define DISPID_IHTMLDOMATTRIBUTE2_NAME             DISPID_DOMATTRIBUTE+3
#define DISPID_IHTMLDOMATTRIBUTE2_VALUE            DISPID_DOMATTRIBUTE+4
#define DISPID_IHTMLDOMATTRIBUTE2_EXPANDO          DISPID_DOMATTRIBUTE+5
#define DISPID_IHTMLDOMATTRIBUTE2_NODETYPE         DISPID_DOMATTRIBUTE+6
#define DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE       DISPID_DOMATTRIBUTE+7
#define DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES       DISPID_DOMATTRIBUTE+8
#define DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD       DISPID_DOMATTRIBUTE+9
#define DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD        DISPID_DOMATTRIBUTE+10
#define DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING  DISPID_DOMATTRIBUTE+11
#define DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING      DISPID_DOMATTRIBUTE+12
#define DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES       DISPID_DOMATTRIBUTE+13
#define DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT    DISPID_DOMATTRIBUTE+14
#define DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE     DISPID_DOMATTRIBUTE+15
#define DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD     DISPID_DOMATTRIBUTE+16
#define DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD      DISPID_DOMATTRIBUTE+17
#define DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD      DISPID_DOMATTRIBUTE+18
#define DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES    DISPID_DOMATTRIBUTE+19
#define DISPID_IHTMLDOMATTRIBUTE2_CLONENODE        DISPID_DOMATTRIBUTE+20

/* IHTMLDOMAttribute3 */
#define DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE  DISPID_IE8_ATTR+3
#define DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE      DISPID_IE8_ATTR+4
#define DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED  DISPID_IE8_ATTR
#define DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT   DISPID_IE8_ATTR+1

/* IHTMLDocumentCompatibleInfo */
#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT  DISPID_DOCUMENTCOMPATIBLEINFO
#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION    DISPID_DOCUMENTCOMPATIBLEINFO+1

/* IHTMLDocumentCompatibleInfoCollection */
#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_ITEM    DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION
#define DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_LENGTH  DISPID_DOCUMENTCOMPATIBLEINFOCOLLECTION+1

/* IHTMLBodyElement */
#define DISPID_IHTMLBODYELEMENT_BACKGROUND        DISPID_A_BACKGROUNDIMAGE
#define DISPID_IHTMLBODYELEMENT_BGPROPERTIES      DISPID_A_BACKGROUNDATTACHMENT
#define DISPID_IHTMLBODYELEMENT_LEFTMARGIN        DISPID_A_MARGINLEFT
#define DISPID_IHTMLBODYELEMENT_TOPMARGIN         DISPID_A_MARGINTOP
#define DISPID_IHTMLBODYELEMENT_RIGHTMARGIN       DISPID_A_MARGINRIGHT
#define DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN      DISPID_A_MARGINBOTTOM
#define DISPID_IHTMLBODYELEMENT_NOWRAP            DISPID_A_NOWRAP
#define DISPID_IHTMLBODYELEMENT_BGCOLOR           DISPID_BACKCOLOR
#define DISPID_IHTMLBODYELEMENT_TEXT              DISPID_A_COLOR
#define DISPID_IHTMLBODYELEMENT_LINK              DISPID_BODY+10
#define DISPID_IHTMLBODYELEMENT_VLINK             DISPID_BODY+12
#define DISPID_IHTMLBODYELEMENT_ALINK             DISPID_BODY+11
#define DISPID_IHTMLBODYELEMENT_ONLOAD            DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLBODYELEMENT_ONUNLOAD          DISPID_EVPROP_ONUNLOAD
#define DISPID_IHTMLBODYELEMENT_SCROLL            DISPID_A_SCROLL
#define DISPID_IHTMLBODYELEMENT_ONSELECT          DISPID_EVPROP_ONSELECT
#define DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD    DISPID_EVPROP_ONBEFOREUNLOAD
#define DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE   DISPID_BODY+13

/* IHTMLBodyElement2 */
#define DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT   DISPID_EVPROP_ONBEFOREPRINT
#define DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT    DISPID_EVPROP_ONAFTERPRINT

/* IHTMLAnchorElement */
#define DISPID_IHTMLANCHORELEMENT_HREF          DISPID_VALUE
#define DISPID_IHTMLANCHORELEMENT_TARGET        DISPID_ANCHOR+3
#define DISPID_IHTMLANCHORELEMENT_REL           DISPID_ANCHOR+5
#define DISPID_IHTMLANCHORELEMENT_REV           DISPID_ANCHOR+6
#define DISPID_IHTMLANCHORELEMENT_URN           DISPID_ANCHOR+7
#define DISPID_IHTMLANCHORELEMENT_METHODS       DISPID_ANCHOR+8
#define DISPID_IHTMLANCHORELEMENT_NAME          STDPROPID_XOBJ_NAME
#define DISPID_IHTMLANCHORELEMENT_HOST          DISPID_ANCHOR+12
#define DISPID_IHTMLANCHORELEMENT_HOSTNAME      DISPID_ANCHOR+13
#define DISPID_IHTMLANCHORELEMENT_PATHNAME      DISPID_ANCHOR+14
#define DISPID_IHTMLANCHORELEMENT_PORT          DISPID_ANCHOR+15
#define DISPID_IHTMLANCHORELEMENT_PROTOCOL      DISPID_ANCHOR+16
#define DISPID_IHTMLANCHORELEMENT_SEARCH        DISPID_ANCHOR+17
#define DISPID_IHTMLANCHORELEMENT_HASH          DISPID_ANCHOR+18
#define DISPID_IHTMLANCHORELEMENT_ONBLUR        DISPID_EVPROP_ONBLUR
#define DISPID_IHTMLANCHORELEMENT_ONFOCUS       DISPID_EVPROP_ONFOCUS
#define DISPID_IHTMLANCHORELEMENT_ACCESSKEY     DISPID_SITE+5
#define DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG  DISPID_ANCHOR+31
#define DISPID_IHTMLANCHORELEMENT_MIMETYPE      DISPID_ANCHOR+30
#define DISPID_IHTMLANCHORELEMENT_NAMEPROP      DISPID_ANCHOR+32
#define DISPID_IHTMLANCHORELEMENT_TABINDEX      STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLANCHORELEMENT_FOCUS         DISPID_SITE+0
#define DISPID_IHTMLANCHORELEMENT_BLUR          DISPID_SITE+2

/* IHTMLAnchorElement2 */
#define DISPID_IHTMLANCHORELEMENT2_CHARSET   DISPID_ANCHOR+23
#define DISPID_IHTMLANCHORELEMENT2_COORDS    DISPID_ANCHOR+24
#define DISPID_IHTMLANCHORELEMENT2_HREFLANG  DISPID_ANCHOR+25
#define DISPID_IHTMLANCHORELEMENT2_SHAPE     DISPID_ANCHOR+26
#define DISPID_IHTMLANCHORELEMENT2_TYPE      DISPID_ANCHOR+27

/* IHTMLAnchorElement3 */
#define DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE   DISPID_IE8_ANCHOR+1
#define DISPID_IHTMLANCHORELEMENT3_IE8_COORDS  DISPID_IE8_ANCHOR+2
#define DISPID_IHTMLANCHORELEMENT3_IE8_HREF    DISPID_IE8_ANCHOR+3

/* IHTMLTxtRange */
#define DISPID_IHTMLTXTRANGE_HTMLTEXT                DISPID_RANGE+3
#define DISPID_IHTMLTXTRANGE_TEXT                    DISPID_RANGE+4
#define DISPID_IHTMLTXTRANGE_PARENTELEMENT           DISPID_RANGE+6
#define DISPID_IHTMLTXTRANGE_DUPLICATE               DISPID_RANGE+8
#define DISPID_IHTMLTXTRANGE_INRANGE                 DISPID_RANGE+10
#define DISPID_IHTMLTXTRANGE_ISEQUAL                 DISPID_RANGE+11
#define DISPID_IHTMLTXTRANGE_SCROLLINTOVIEW          DISPID_RANGE+12
#define DISPID_IHTMLTXTRANGE_COLLAPSE                DISPID_RANGE+13
#define DISPID_IHTMLTXTRANGE_EXPAND                  DISPID_RANGE+14
#define DISPID_IHTMLTXTRANGE_MOVE                    DISPID_RANGE+15
#define DISPID_IHTMLTXTRANGE_MOVESTART               DISPID_RANGE+16
#define DISPID_IHTMLTXTRANGE_MOVEEND                 DISPID_RANGE+17
#define DISPID_IHTMLTXTRANGE_SELECT                  DISPID_RANGE+24
#define DISPID_IHTMLTXTRANGE_PASTEHTML               DISPID_RANGE+26
#define DISPID_IHTMLTXTRANGE_MOVETOELEMENTTEXT       DISPID_RANGE+1
#define DISPID_IHTMLTXTRANGE_SETENDPOINT             DISPID_RANGE+25
#define DISPID_IHTMLTXTRANGE_COMPAREENDPOINTS        DISPID_RANGE+18
#define DISPID_IHTMLTXTRANGE_FINDTEXT                DISPID_RANGE+19
#define DISPID_IHTMLTXTRANGE_MOVETOPOINT             DISPID_RANGE+20
#define DISPID_IHTMLTXTRANGE_GETBOOKMARK             DISPID_RANGE+21
#define DISPID_IHTMLTXTRANGE_MOVETOBOOKMARK          DISPID_RANGE+9
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDSUPPORTED   DISPID_RANGE+27
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDENABLED     DISPID_RANGE+28
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDSTATE       DISPID_RANGE+29
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDINDETERM    DISPID_RANGE+30
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDTEXT        DISPID_RANGE+31
#define DISPID_IHTMLTXTRANGE_QUERYCOMMANDVALUE       DISPID_RANGE+32
#define DISPID_IHTMLTXTRANGE_EXECCOMMAND             DISPID_RANGE+33
#define DISPID_IHTMLTXTRANGE_EXECCOMMANDSHOWHELP     DISPID_RANGE+34

/* IHTMLTextAreaElement */
#define DISPID_IHTMLTEXTAREAELEMENT_TYPE             DISPID_INPUT
#define DISPID_IHTMLTEXTAREAELEMENT_VALUE            DISPID_A_VALUE
#define DISPID_IHTMLTEXTAREAELEMENT_NAME             STDPROPID_XOBJ_NAME
#define DISPID_IHTMLTEXTAREAELEMENT_STATUS           DISPID_INPUT+1
#define DISPID_IHTMLTEXTAREAELEMENT_DISABLED         STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLTEXTAREAELEMENT_FORM             DISPID_SITE+4
#define DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE     DISPID_DEFAULTVALUE
#define DISPID_IHTMLTEXTAREAELEMENT_SELECT           DISPID_RICHTEXT+5
#define DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE         DISPID_EVPROP_ONCHANGE
#define DISPID_IHTMLTEXTAREAELEMENT_ONSELECT         DISPID_EVPROP_ONSELECT
#define DISPID_IHTMLTEXTAREAELEMENT_READONLY         DISPID_RICHTEXT+4
#define DISPID_IHTMLTEXTAREAELEMENT_ROWS             DISPID_RICHTEXT+1
#define DISPID_IHTMLTEXTAREAELEMENT_COLS             DISPID_RICHTEXT+2
#define DISPID_IHTMLTEXTAREAELEMENT_WRAP             DISPID_RICHTEXT+3
#define DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE  DISPID_RICHTEXT+6

/* IHTMLInputElement */
#define DISPID_IHTMLINPUTELEMENT_TYPE             DISPID_INPUT
#define DISPID_IHTMLINPUTELEMENT_VALUE            DISPID_A_VALUE
#define DISPID_IHTMLINPUTELEMENT_NAME             STDPROPID_XOBJ_NAME
#define DISPID_IHTMLINPUTELEMENT_STATUS           DISPID_INPUT+1
#define DISPID_IHTMLINPUTELEMENT_DISABLED         STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLINPUTELEMENT_FORM             DISPID_SITE+4
#define DISPID_IHTMLINPUTELEMENT_SIZE             DISPID_INPUT+2
#define DISPID_IHTMLINPUTELEMENT_MAXLENGTH        DISPID_INPUT+3
#define DISPID_IHTMLINPUTELEMENT_SELECT           DISPID_INPUT+4
#define DISPID_IHTMLINPUTELEMENT_ONCHANGE         DISPID_EVPROP_ONCHANGE
#define DISPID_IHTMLINPUTELEMENT_ONSELECT         DISPID_EVPROP_ONSELECT
#define DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE     DISPID_DEFAULTVALUE
#define DISPID_IHTMLINPUTELEMENT_READONLY         DISPID_INPUT+5
#define DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE  DISPID_INPUT+6
#define DISPID_IHTMLINPUTELEMENT_INDETERMINATE    DISPID_INPUT+7
#define DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED   DISPID_INPUT+8
#define DISPID_IHTMLINPUTELEMENT_CHECKED          DISPID_INPUT+9
#define DISPID_IHTMLINPUTELEMENT_BORDER           DISPID_INPUT+12
#define DISPID_IHTMLINPUTELEMENT_VSPACE           DISPID_INPUT+13
#define DISPID_IHTMLINPUTELEMENT_HSPACE           DISPID_INPUT+14
#define DISPID_IHTMLINPUTELEMENT_ALT              DISPID_INPUT+10
#define DISPID_IHTMLINPUTELEMENT_SRC              DISPID_INPUT+11
#define DISPID_IHTMLINPUTELEMENT_LOWSRC           DISPID_INPUT+15
#define DISPID_IHTMLINPUTELEMENT_VRML             DISPID_INPUT+16
#define DISPID_IHTMLINPUTELEMENT_DYNSRC           DISPID_INPUT+17
#define DISPID_IHTMLINPUTELEMENT_READYSTATE       DISPID_A_READYSTATE
#define DISPID_IHTMLINPUTELEMENT_COMPLETE         DISPID_INPUT+18
#define DISPID_IHTMLINPUTELEMENT_LOOP             DISPID_INPUT+19
#define DISPID_IHTMLINPUTELEMENT_ALIGN            STDPROPID_XOBJ_CONTROLALIGN
#define DISPID_IHTMLINPUTELEMENT_ONLOAD           DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLINPUTELEMENT_ONERROR          DISPID_EVPROP_ONERROR
#define DISPID_IHTMLINPUTELEMENT_ONABORT          DISPID_EVPROP_ONABORT
#define DISPID_IHTMLINPUTELEMENT_WIDTH            STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLINPUTELEMENT_HEIGHT           STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLINPUTELEMENT_START            DISPID_INPUT+20

/* IHTMLInputElement2 */
#define DISPID_IHTMLINPUTELEMENT2_ACCEPT  DISPID_INPUT+22
#define DISPID_IHTMLINPUTELEMENT2_USEMAP  DISPID_INPUT+23

/* IHTMLInputTextElement */
#define DISPID_IHTMLINPUTTEXTELEMENT_TYPE             DISPID_INPUT
#define DISPID_IHTMLINPUTTEXTELEMENT_VALUE            DISPID_A_VALUE
#define DISPID_IHTMLINPUTTEXTELEMENT_NAME             STDPROPID_XOBJ_NAME
#define DISPID_IHTMLINPUTTEXTELEMENT_STATUS           DISPID_INPUT+21
#define DISPID_IHTMLINPUTTEXTELEMENT_DISABLED         STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLINPUTTEXTELEMENT_FORM             DISPID_SITE+4
#define DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE     DISPID_DEFAULTVALUE
#define DISPID_IHTMLINPUTTEXTELEMENT_SIZE             DISPID_INPUT+2
#define DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH        DISPID_INPUT+3
#define DISPID_IHTMLINPUTTEXTELEMENT_SELECT           DISPID_INPUT+4
#define DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE         DISPID_EVPROP_ONCHANGE
#define DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT         DISPID_EVPROP_ONSELECT
#define DISPID_IHTMLINPUTTEXTELEMENT_READONLY         DISPID_INPUT+5
#define DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE  DISPID_INPUT+6

/* IHTMLSelectElement */
#define DISPID_IHTMLSELECTELEMENT_SIZE           DISPID_SELECT+2
#define DISPID_IHTMLSELECTELEMENT_MULTIPLE       DISPID_SELECT+3
#define DISPID_IHTMLSELECTELEMENT_NAME           STDPROPID_XOBJ_NAME
#define DISPID_IHTMLSELECTELEMENT_OPTIONS        DISPID_SELECT+5
#define DISPID_IHTMLSELECTELEMENT_ONCHANGE       DISPID_EVPROP_ONCHANGE
#define DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX  DISPID_SELECT+10
#define DISPID_IHTMLSELECTELEMENT_TYPE           DISPID_SELECT+12
#define DISPID_IHTMLSELECTELEMENT_VALUE          DISPID_SELECT+11
#define DISPID_IHTMLSELECTELEMENT_DISABLED       STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLSELECTELEMENT_FORM           DISPID_SITE+4
#define DISPID_IHTMLSELECTELEMENT_ADD            DISPID_COLLECTION+3
#define DISPID_IHTMLSELECTELEMENT_REMOVE         DISPID_COLLECTION+4
#define DISPID_IHTMLSELECTELEMENT_LENGTH         DISPID_COLLECTION
#define DISPID_IHTMLSELECTELEMENT__NEWENUM       DISPID_NEWENUM
#define DISPID_IHTMLSELECTELEMENT_ITEM           DISPID_VALUE
#define DISPID_IHTMLSELECTELEMENT_TAGS           DISPID_COLLECTION+2

/* IHTMLSelectElement2 */
#define DISPID_IHTMLSELECTELEMENT2_URNS  DISPID_COLLECTION+5

/* IHTMLSelectElement4 */
#define DISPID_IHTMLSELECTELEMENT4_NAMEDITEM  DISPID_COLLECTION+6

/* IHTMLHeadElement */
#define DISPID_IHTMLHEADELEMENT_PROFILE  DISPID_HEDELEMS+1

/* IHTMLHeadElement2 */
#define DISPID_IHTMLHEADELEMENT2_IE8_PROFILE  DISPID_IE8_HEAD

/* IHTMLTitleElement */
#define DISPID_IHTMLTITLEELEMENT_TEXT  DISPID_A_VALUE

/* IHTMLRect */
#define DISPID_IHTMLRECT_LEFT    DISPID_OMRECT+1
#define DISPID_IHTMLRECT_TOP     DISPID_OMRECT+2
#define DISPID_IHTMLRECT_RIGHT   DISPID_OMRECT+3
#define DISPID_IHTMLRECT_BOTTOM  DISPID_OMRECT+4

/* IHTMLRectCollection */
#define DISPID_IHTMLRECTCOLLECTION_LENGTH    DISPID_COLLECTION
#define DISPID_IHTMLRECTCOLLECTION__NEWENUM  DISPID_NEWENUM
#define DISPID_IHTMLRECTCOLLECTION_ITEM      DISPID_VALUE

/* IHTMLCurrentStyle */
#define DISPID_IHTMLCURRENTSTYLE_POSITION              DISPID_A_POSITION
#define DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT            DISPID_A_FLOAT
#define DISPID_IHTMLCURRENTSTYLE_COLOR                 DISPID_A_COLOR
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR       DISPID_BACKCOLOR
#define DISPID_IHTMLCURRENTSTYLE_FONTFAMILY            DISPID_A_FONTFACE
#define DISPID_IHTMLCURRENTSTYLE_FONTSTYLE             DISPID_A_FONTSTYLE
#define DISPID_IHTMLCURRENTSTYLE_FONTVARIANT           DISPID_A_FONTVARIANT
#define DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT            DISPID_A_FONTWEIGHT
#define DISPID_IHTMLCURRENTSTYLE_FONTSIZE              DISPID_A_FONTSIZE
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE       DISPID_A_BACKGROUNDIMAGE
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX   DISPID_A_BACKGROUNDPOSX
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY   DISPID_A_BACKGROUNDPOSY
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT      DISPID_A_BACKGROUNDREPEAT
#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR       DISPID_A_BORDERLEFTCOLOR
#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR        DISPID_A_BORDERTOPCOLOR
#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR      DISPID_A_BORDERRIGHTCOLOR
#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR     DISPID_A_BORDERBOTTOMCOLOR
#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE        DISPID_A_BORDERTOPSTYLE
#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE      DISPID_A_BORDERRIGHTSTYLE
#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE     DISPID_A_BORDERBOTTOMSTYLE
#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE       DISPID_A_BORDERLEFTSTYLE
#define DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH        DISPID_A_BORDERTOPWIDTH
#define DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH      DISPID_A_BORDERRIGHTWIDTH
#define DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH     DISPID_A_BORDERBOTTOMWIDTH
#define DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH       DISPID_A_BORDERLEFTWIDTH
#define DISPID_IHTMLCURRENTSTYLE_LEFT                  STDPROPID_XOBJ_LEFT
#define DISPID_IHTMLCURRENTSTYLE_TOP                   STDPROPID_XOBJ_TOP
#define DISPID_IHTMLCURRENTSTYLE_WIDTH                 STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLCURRENTSTYLE_HEIGHT                STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT           DISPID_A_PADDINGLEFT
#define DISPID_IHTMLCURRENTSTYLE_PADDINGTOP            DISPID_A_PADDINGTOP
#define DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT          DISPID_A_PADDINGRIGHT
#define DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM         DISPID_A_PADDINGBOTTOM
#define DISPID_IHTMLCURRENTSTYLE_TEXTALIGN             STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION        DISPID_A_TEXTDECORATION
#define DISPID_IHTMLCURRENTSTYLE_DISPLAY               DISPID_A_DISPLAY
#define DISPID_IHTMLCURRENTSTYLE_VISIBILITY            DISPID_A_VISIBILITY
#define DISPID_IHTMLCURRENTSTYLE_ZINDEX                DISPID_A_ZINDEX
#define DISPID_IHTMLCURRENTSTYLE_LETTERSPACING         DISPID_A_LETTERSPACING
#define DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT            DISPID_A_LINEHEIGHT
#define DISPID_IHTMLCURRENTSTYLE_TEXTINDENT            DISPID_A_TEXTINDENT
#define DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN         DISPID_A_VERTICALALIGN
#define DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT  DISPID_A_BACKGROUNDATTACHMENT
#define DISPID_IHTMLCURRENTSTYLE_MARGINTOP             DISPID_A_MARGINTOP
#define DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT           DISPID_A_MARGINRIGHT
#define DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM          DISPID_A_MARGINBOTTOM
#define DISPID_IHTMLCURRENTSTYLE_MARGINLEFT            DISPID_A_MARGINLEFT
#define DISPID_IHTMLCURRENTSTYLE_CLEAR                 DISPID_A_CLEAR
#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE         DISPID_A_LISTSTYLETYPE
#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION     DISPID_A_LISTSTYLEPOSITION
#define DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE        DISPID_A_LISTSTYLEIMAGE
#define DISPID_IHTMLCURRENTSTYLE_CLIPTOP               DISPID_A_CLIPRECTTOP
#define DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT             DISPID_A_CLIPRECTRIGHT
#define DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM            DISPID_A_CLIPRECTBOTTOM
#define DISPID_IHTMLCURRENTSTYLE_CLIPLEFT              DISPID_A_CLIPRECTLEFT
#define DISPID_IHTMLCURRENTSTYLE_OVERFLOW              DISPID_A_OVERFLOW
#define DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE       DISPID_A_PAGEBREAKBEFORE
#define DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER        DISPID_A_PAGEBREAKAFTER
#define DISPID_IHTMLCURRENTSTYLE_CURSOR                DISPID_A_CURSOR
#define DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT           DISPID_A_TABLELAYOUT
#define DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE        DISPID_A_BORDERCOLLAPSE
#define DISPID_IHTMLCURRENTSTYLE_DIRECTION             DISPID_A_DIRECTION
#define DISPID_IHTMLCURRENTSTYLE_BEHAVIOR              DISPID_A_BEHAVIOR
#define DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE          DISPID_HTMLOBJECT+2
#define DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI           DISPID_A_UNICODEBIDI
#define DISPID_IHTMLCURRENTSTYLE_RIGHT                 STDPROPID_XOBJ_RIGHT
#define DISPID_IHTMLCURRENTSTYLE_BOTTOM                STDPROPID_XOBJ_BOTTOM
#define DISPID_IHTMLCURRENTSTYLE_IMEMODE               DISPID_A_IMEMODE
#define DISPID_IHTMLCURRENTSTYLE_RUBYALIGN             DISPID_A_RUBYALIGN
#define DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION          DISPID_A_RUBYPOSITION
#define DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG          DISPID_A_RUBYOVERHANG
#define DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE         DISPID_A_TEXTAUTOSPACE
#define DISPID_IHTMLCURRENTSTYLE_LINEBREAK             DISPID_A_LINEBREAK
#define DISPID_IHTMLCURRENTSTYLE_WORDBREAK             DISPID_A_WORDBREAK
#define DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY           DISPID_A_TEXTJUSTIFY
#define DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM       DISPID_A_TEXTJUSTIFYTRIM
#define DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA           DISPID_A_TEXTKASHIDA
#define DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION        DISPID_A_DIR
#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR        DISPID_A_LAYOUTGRIDCHAR
#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE        DISPID_A_LAYOUTGRIDLINE
#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE        DISPID_A_LAYOUTGRIDMODE
#define DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE        DISPID_A_LAYOUTGRIDTYPE
#define DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE           DISPID_A_BORDERSTYLE
#define DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR           DISPID_A_BORDERCOLOR
#define DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH           DISPID_A_BORDERWIDTH
#define DISPID_IHTMLCURRENTSTYLE_PADDING               DISPID_A_PADDING
#define DISPID_IHTMLCURRENTSTYLE_MARGIN                DISPID_A_MARGIN
#define DISPID_IHTMLCURRENTSTYLE_ACCELERATOR           DISPID_A_ACCELERATOR
#define DISPID_IHTMLCURRENTSTYLE_OVERFLOWX             DISPID_A_OVERFLOWX
#define DISPID_IHTMLCURRENTSTYLE_OVERFLOWY             DISPID_A_OVERFLOWY
#define DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM         DISPID_A_TEXTTRANSFORM

/* IHTMLCurrentStyle2 */
#define DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW                DISPID_A_LAYOUTFLOW
#define DISPID_IHTMLCURRENTSTYLE2_WORDWRAP                  DISPID_A_WORDWRAP
#define DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION     DISPID_A_TEXTUNDERLINEPOSITION
#define DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT                 DISPID_A_HASLAYOUT
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR        DISPID_A_SCROLLBARBASECOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR        DISPID_A_SCROLLBARFACECOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR     DISPID_A_SCROLLBAR3DLIGHTCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR      DISPID_A_SCROLLBARSHADOWCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR   DISPID_A_SCROLLBARHIGHLIGHTCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR  DISPID_A_SCROLLBARDARKSHADOWCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR       DISPID_A_SCROLLBARARROWCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR       DISPID_A_SCROLLBARTRACKCOLOR
#define DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE               DISPID_A_WRITINGMODE
#define DISPID_IHTMLCURRENTSTYLE2_ZOOM                      DISPID_A_ZOOM
#define DISPID_IHTMLCURRENTSTYLE2_FILTER                    DISPID_A_FILTER
#define DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST             DISPID_A_TEXTALIGNLAST
#define DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE          DISPID_A_TEXTKASHIDASPACE
#define DISPID_IHTMLCURRENTSTYLE2_ISBLOCK                   DISPID_A_ISBLOCK

/* IHTMLCurrentStyle3 */
#define DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW  DISPID_A_TEXTOVERFLOW
#define DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT     DISPID_A_MINHEIGHT
#define DISPID_IHTMLCURRENTSTYLE3_WORDSPACING   DISPID_A_WORDSPACING
#define DISPID_IHTMLCURRENTSTYLE3_WHITESPACE    DISPID_A_WHITESPACE

/* IHTMLCurrentStyle4 */
#define DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE       DISPID_A_INTERPOLATION
#define DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT                 DISPID_A_MAXHEIGHT
#define DISPID_IHTMLCURRENTSTYLE4_MINWIDTH                  DISPID_A_MINWIDTH
#define DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH                  DISPID_A_MAXWIDTH

/* HTMLTextContainerEvents2 */
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE       DISPID_EVMETH_ONCHANGE
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT       DISPID_EVMETH_ONSELECT

/* HTMLTextContainerEvents */
#define DISPID_HTMLTEXTCONTAINEREVENTS_ONCHANGE        DISPID_EVMETH_ONCHANGE
#define DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT        DISPID_EVMETH_ONSELECT

/* IHTMLTextContainer */
#define DISPID_IHTMLTEXTCONTAINER_CREATECONTROLRANGE  DISPID_TEXTSITE+1
#define DISPID_IHTMLTEXTCONTAINER_SCROLLHEIGHT        DISPID_TEXTSITE+2
#define DISPID_IHTMLTEXTCONTAINER_SCROLLWIDTH         DISPID_TEXTSITE+3
#define DISPID_IHTMLTEXTCONTAINER_SCROLLTOP           DISPID_TEXTSITE+4
#define DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT          DISPID_TEXTSITE+5
#define DISPID_IHTMLTEXTCONTAINER_ONSCROLL            DISPID_EVPROP_ONSCROLL

/* IHTMLTableCaption */
#define DISPID_IHTMLTABLECAPTION_ALIGN   STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLTABLECAPTION_VALIGN  DISPID_A_TABLEVALIGN

 /* IHTMLCommentElement */
#define DISPID_IHTMLCOMMENTELEMENT_TEXT    DISPID_COMMENTPDL+1
#define DISPID_IHTMLCOMMENTELEMENT_ATOMIC  DISPID_COMMENTPDL+2

 /* IHTMLCommentElement2 */
#define DISPID_IHTMLCOMMENTELEMENT2_DATA           DISPID_COMMENTPDL+3
#define DISPID_IHTMLCOMMENTELEMENT2_LENGTH         DISPID_COMMENTPDL+4
#define DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA  DISPID_COMMENTPDL+5
#define DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA     DISPID_COMMENTPDL+6
#define DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA     DISPID_COMMENTPDL+7
#define DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA     DISPID_COMMENTPDL+8
#define DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA    DISPID_COMMENTPDL+9

/* IHTMLTable */
#define DISPID_IHTMLTABLE_COLS                DISPID_TABLE+1
#define DISPID_IHTMLTABLE_BORDER              DISPID_TABLE+2
#define DISPID_IHTMLTABLE_FRAME               DISPID_TABLE+4
#define DISPID_IHTMLTABLE_RULES               DISPID_TABLE+3
#define DISPID_IHTMLTABLE_CELLSPACING         DISPID_TABLE+5
#define DISPID_IHTMLTABLE_CELLPADDING         DISPID_TABLE+6
#define DISPID_IHTMLTABLE_BACKGROUND          DISPID_A_BACKGROUNDIMAGE
#define DISPID_IHTMLTABLE_BGCOLOR             DISPID_BACKCOLOR
#define DISPID_IHTMLTABLE_BORDERCOLOR         DISPID_A_TABLEBORDERCOLOR
#define DISPID_IHTMLTABLE_BORDERCOLORLIGHT    DISPID_A_TABLEBORDERCOLORLIGHT
#define DISPID_IHTMLTABLE_BORDERCOLORDARK     DISPID_A_TABLEBORDERCOLORDARK
#define DISPID_IHTMLTABLE_ALIGN               STDPROPID_XOBJ_CONTROLALIGN
#define DISPID_IHTMLTABLE_REFRESH             DISPID_TABLE+15
#define DISPID_IHTMLTABLE_ROWS                DISPID_TABLE+16
#define DISPID_IHTMLTABLE_WIDTH               STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLTABLE_HEIGHT              STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLTABLE_DATAPAGESIZE        DISPID_TABLE+17
#define DISPID_IHTMLTABLE_NEXTPAGE            DISPID_TABLE+18
#define DISPID_IHTMLTABLE_PREVIOUSPAGE        DISPID_TABLE+19
#define DISPID_IHTMLTABLE_THEAD               DISPID_TABLE+20
#define DISPID_IHTMLTABLE_TFOOT               DISPID_TABLE+21
#define DISPID_IHTMLTABLE_TBODIES             DISPID_TABLE+24
#define DISPID_IHTMLTABLE_CAPTION             DISPID_TABLE+25
#define DISPID_IHTMLTABLE_CREATETHEAD         DISPID_TABLE+26
#define DISPID_IHTMLTABLE_DELETETHEAD         DISPID_TABLE+27
#define DISPID_IHTMLTABLE_CREATETFOOT         DISPID_TABLE+28
#define DISPID_IHTMLTABLE_DELETETFOOT         DISPID_TABLE+29
#define DISPID_IHTMLTABLE_CREATECAPTION       DISPID_TABLE+30
#define DISPID_IHTMLTABLE_DELETECAPTION       DISPID_TABLE+31
#define DISPID_IHTMLTABLE_INSERTROW           DISPID_TABLE+32
#define DISPID_IHTMLTABLE_DELETEROW           DISPID_TABLE+33
#define DISPID_IHTMLTABLE_READYSTATE          DISPID_A_READYSTATE
#define DISPID_IHTMLTABLE_ONREADYSTATECHANGE  DISPID_EVPROP_ONREADYSTATECHANGE

/* IHTMLTable2 */
#define DISPID_IHTMLTABLE2_FIRSTPAGE  DISPID_TABLE+35
#define DISPID_IHTMLTABLE2_LASTPAGE   DISPID_TABLE+36
#define DISPID_IHTMLTABLE2_CELLS      DISPID_TABLE+37
#define DISPID_IHTMLTABLE2_MOVEROW    DISPID_TABLE+38

/* IHTMLTable3 */
#define DISPID_IHTMLTABLE3_SUMMARY  DISPID_TABLE+39

/* IHTMLTableSection */
#define DISPID_IHTMLTABLESECTION_ALIGN      STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLTABLESECTION_VALIGN     DISPID_A_TABLEVALIGN
#define DISPID_IHTMLTABLESECTION_BGCOLOR    DISPID_BACKCOLOR
#define DISPID_IHTMLTABLESECTION_ROWS       DISPID_TABLESECTION
#define DISPID_IHTMLTABLESECTION_INSERTROW  DISPID_TABLESECTION+1
#define DISPID_IHTMLTABLESECTION_DELETEROW  DISPID_TABLESECTION+2

/* IHTMLTableRow */
#define DISPID_IHTMLTABLEROW_ALIGN             STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLTABLEROW_VALIGN            DISPID_A_TABLEVALIGN
#define DISPID_IHTMLTABLEROW_BGCOLOR           DISPID_BACKCOLOR
#define DISPID_IHTMLTABLEROW_BORDERCOLOR       DISPID_A_TABLEBORDERCOLOR
#define DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT  DISPID_A_TABLEBORDERCOLORLIGHT
#define DISPID_IHTMLTABLEROW_BORDERCOLORDARK   DISPID_A_TABLEBORDERCOLORDARK
#define DISPID_IHTMLTABLEROW_ROWINDEX          DISPID_TABLEROW
#define DISPID_IHTMLTABLEROW_SECTIONROWINDEX   DISPID_TABLEROW+1
#define DISPID_IHTMLTABLEROW_CELLS             DISPID_TABLEROW+2
#define DISPID_IHTMLTABLEROW_INSERTCELL        DISPID_TABLEROW+3
#define DISPID_IHTMLTABLEROW_DELETECELL        DISPID_TABLEROW+4

/* IHTMLTableRow2 */
#define DISPID_IHTMLTABLEROW2_HEIGHT  STDPROPID_XOBJ_HEIGHT

/* IHTMLTableRow3 */
#define DISPID_IHTMLTABLEROW3_CH     DISPID_TABLEROW+9
#define DISPID_IHTMLTABLEROW3_CHOFF  DISPID_TABLEROW+10

/* IHTMLScriptElement */
#define DISPID_IHTMLSCRIPTELEMENT_SRC         DISPID_SCRIPT+1
#define DISPID_IHTMLSCRIPTELEMENT_HTMLFOR     DISPID_SCRIPT+4
#define DISPID_IHTMLSCRIPTELEMENT_EVENT       DISPID_SCRIPT+5
#define DISPID_IHTMLSCRIPTELEMENT_TEXT        DISPID_SCRIPT+6
#define DISPID_IHTMLSCRIPTELEMENT_DEFER       DISPID_SCRIPT+7
#define DISPID_IHTMLSCRIPTELEMENT_READYSTATE  DISPID_A_READYSTATE
#define DISPID_IHTMLSCRIPTELEMENT_ONERROR     DISPID_EVPROP_ONERROR
#define DISPID_IHTMLSCRIPTELEMENT_TYPE        DISPID_SCRIPT+9

/* IHTMLScriptElement2 */
#define DISPID_IHTMLSCRIPTELEMENT2_CHARSET  DISPID_SCRIPT+10

/* IHTMLScriptElement3 */
#define DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC  DISPID_IE8_SCRIPT

/* IHTMLObjectElement */
#define DISPID_IHTMLOBJECTELEMENT_OBJECT              DISPID_OBJECT+1
#define DISPID_IHTMLOBJECTELEMENT_CLASSID             DISPID_OBJECT+2
#define DISPID_IHTMLOBJECTELEMENT_DATA                DISPID_OBJECT+3
#define DISPID_IHTMLOBJECTELEMENT_RECORDSET           DISPID_OBJECT+5
#define DISPID_IHTMLOBJECTELEMENT_ALIGN               STDPROPID_XOBJ_CONTROLALIGN
#define DISPID_IHTMLOBJECTELEMENT_NAME                STDPROPID_XOBJ_NAME
#define DISPID_IHTMLOBJECTELEMENT_CODEBASE            DISPID_OBJECT+6
#define DISPID_IHTMLOBJECTELEMENT_CODETYPE            DISPID_OBJECT+7
#define DISPID_IHTMLOBJECTELEMENT_CODE                DISPID_OBJECT+8
#define DISPID_IHTMLOBJECTELEMENT_BASEHREF            STDPROPID_XOBJ_BASEHREF
#define DISPID_IHTMLOBJECTELEMENT_TYPE                DISPID_OBJECT+9
#define DISPID_IHTMLOBJECTELEMENT_FORM                DISPID_SITE+4
#define DISPID_IHTMLOBJECTELEMENT_WIDTH               STDPROPID_XOBJ_WIDTH
#define DISPID_IHTMLOBJECTELEMENT_HEIGHT              STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLOBJECTELEMENT_READYSTATE          DISPID_OBJECT+10
#define DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE  DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLOBJECTELEMENT_ONERROR             DISPID_EVPROP_ONERROR
#define DISPID_IHTMLOBJECTELEMENT_ALTHTML             DISPID_OBJECT+11
#define DISPID_IHTMLOBJECTELEMENT_VSPACE              DISPID_OBJECT+12
#define DISPID_IHTMLOBJECTELEMENT_HSPACE              DISPID_OBJECT+13

/* IHTMLObjectElement2 */
#define DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET  DISPID_OBJECT+14
#define DISPID_IHTMLOBJECTELEMENT2_CLASSID         DISPID_OBJECT+2
#define DISPID_IHTMLOBJECTELEMENT2_DATA            DISPID_OBJECT+3

/* IHTMLObjectElement3 */
#define DISPID_IHTMLOBJECTELEMENT3_ARCHIVE  DISPID_OBJECT+15
#define DISPID_IHTMLOBJECTELEMENT3_ALT      DISPID_OBJECT+16
#define DISPID_IHTMLOBJECTELEMENT3_DECLARE  DISPID_OBJECT+17
#define DISPID_IHTMLOBJECTELEMENT3_STANDBY  DISPID_OBJECT+18
#define DISPID_IHTMLOBJECTELEMENT3_BORDER   DISPID_OBJECT+19
#define DISPID_IHTMLOBJECTELEMENT3_USEMAP   DISPID_OBJECT+20

/* IHTMLObjectElement4 */
#define DISPID_IHTMLOBJECTELEMENT4_CONTENTDOCUMENT  DISPID_IE8_OBJECT
#define DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE     DISPID_IE8_OBJECT+1
#define DISPID_IHTMLOBJECTELEMENT4_IE8_DATA         DISPID_IE8_OBJECT+2

/* IHTMLParamElement */
#define DISPID_IHTMLPARAMELEMENT_NAME       DISPID_PARAM+1
#define DISPID_IHTMLPARAMELEMENT_VALUE      DISPID_PARAM+2
#define DISPID_IHTMLPARAMELEMENT_TYPE       DISPID_PARAM+3
#define DISPID_IHTMLPARAMELEMENT_VALUETYPE  DISPID_PARAM+4

/* IHTMLParamElement2 */
#define DISPID_IHTMLPARAMELEMENT2_NAME           DISPID_PARAM+1
#define DISPID_IHTMLPARAMELEMENT2_TYPE           DISPID_PARAM+3
#define DISPID_IHTMLPARAMELEMENT2_VALUE          DISPID_PARAM+2
#define DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE  DISPID_IE8_PARAM

/* IHTMLFrameBase */
#define DISPID_IHTMLFRAMEBASE_SRC           DISPID_FRAMESITE+0
#define DISPID_IHTMLFRAMEBASE_NAME          STDPROPID_XOBJ_NAME
#define DISPID_IHTMLFRAMEBASE_BORDER        DISPID_FRAMESITE+2
#define DISPID_IHTMLFRAMEBASE_FRAMEBORDER   DISPID_FRAMESITE+3
#define DISPID_IHTMLFRAMEBASE_FRAMESPACING  DISPID_FRAMESITE+4
#define DISPID_IHTMLFRAMEBASE_MARGINWIDTH   DISPID_FRAMESITE+5
#define DISPID_IHTMLFRAMEBASE_MARGINHEIGHT  DISPID_FRAMESITE+6
#define DISPID_IHTMLFRAMEBASE_NORESIZE      DISPID_FRAMESITE+7
#define DISPID_IHTMLFRAMEBASE_SCROLLING     DISPID_FRAMESITE+8

/* IHTMLFrameBase2 */
#define DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW       DISPID_FRAMESITE+9
#define DISPID_IHTMLFRAMEBASE2_ONLOAD              DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE  DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLFRAMEBASE2_READYSTATE          DISPID_A_READYSTATE
#define DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY   DISPID_A_ALLOWTRANSPARENCY

/* IHTMLFrameBase3 */
#define DISPID_IHTMLFRAMEBASE3_LONGDESC  DISPID_FRAMESITE+10

/* IHTMLFrameElement */
#define DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR  DISPID_FRAME+1

/* IHTMLFrameElement2 */
#define DISPID_IHTMLFRAMEELEMENT2_HEIGHT  STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLFRAMEELEMENT2_WIDTH   STDPROPID_XOBJ_WIDTH

/* IHTMLFrameElement3 */
#define DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT  DISPID_IE8_FRAME
#define DISPID_IHTMLFRAMEELEMENT3_IE8_SRC          DISPID_IE8_FRAME+1
#define DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC     DISPID_IE8_FRAME+2
#define DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER  DISPID_IE8_FRAME+3

/* IHTMLIFrameElement */
#define DISPID_IHTMLIFRAMEELEMENT_VSPACE  DISPID_IFRAME+1
#define DISPID_IHTMLIFRAMEELEMENT_HSPACE  DISPID_IFRAME+2
#define DISPID_IHTMLIFRAMEELEMENT_ALIGN   STDPROPID_XOBJ_CONTROLALIGN

/* IHTMLIFrameElement2 */
#define DISPID_IHTMLIFRAMEELEMENT2_HEIGHT  STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLIFRAMEELEMENT2_WIDTH   STDPROPID_XOBJ_WIDTH

/* IHTMLStyleElement */
#define DISPID_IHTMLSTYLEELEMENT_TYPE                DISPID_STYLEELEMENT+2
#define DISPID_IHTMLSTYLEELEMENT_READYSTATE          DISPID_A_READYSTATE
#define DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE  DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLSTYLEELEMENT_ONLOAD              DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLSTYLEELEMENT_ONERROR             DISPID_EVPROP_ONERROR
#define DISPID_IHTMLSTYLEELEMENT_STYLESHEET          DISPID_STYLEELEMENT+4
#define DISPID_IHTMLSTYLEELEMENT_DISABLED            STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLSTYLEELEMENT_MEDIA               DISPID_STYLEELEMENT+6

/* IHTMLStorage */
#define DISPID_IHTMLSTORAGE_LENGTH          DISPID_DOMSTORAGE+1
#define DISPID_IHTMLSTORAGE_REMAININGSPACE  DISPID_DOMSTORAGE+2
#define DISPID_IHTMLSTORAGE_KEY             DISPID_DOMSTORAGE+6
#define DISPID_IHTMLSTORAGE_GETITEM         DISPID_DOMSTORAGE+3
#define DISPID_IHTMLSTORAGE_SETITEM         DISPID_DOMSTORAGE+4
#define DISPID_IHTMLSTORAGE_REMOVEITEM      DISPID_DOMSTORAGE+5
#define DISPID_IHTMLSTORAGE_CLEAR           DISPID_DOMSTORAGE+7

/* IHTMLControlElement */
#define DISPID_IHTMLCONTROLELEMENT_TABINDEX        STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLCONTROLELEMENT_FOCUS           (DISPID_SITE+0)
#define DISPID_IHTMLCONTROLELEMENT_ACCESSKEY       (DISPID_SITE+5)
#define DISPID_IHTMLCONTROLELEMENT_ONBLUR          DISPID_EVPROP_ONBLUR
#define DISPID_IHTMLCONTROLELEMENT_ONFOCUS         DISPID_EVPROP_ONFOCUS
#define DISPID_IHTMLCONTROLELEMENT_ONRESIZE        DISPID_EVPROP_ONRESIZE
#define DISPID_IHTMLCONTROLELEMENT_BLUR            (DISPID_SITE+2)
#define DISPID_IHTMLCONTROLELEMENT_ADDFILTER       (DISPID_SITE+17)
#define DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER    (DISPID_SITE+18)
#define DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT    (DISPID_SITE+19)
#define DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH     (DISPID_SITE+20)
#define DISPID_IHTMLCONTROLELEMENT_CLIENTTOP       (DISPID_SITE+21)
#define DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT      (DISPID_SITE+22)

#endif /* __MSHTMDID_H__ */