This file is indexed.

/usr/include/wine/windows/shdeprecated.h is in wine1.6-dev 1:1.6.2-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
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
/*** Autogenerated by WIDL 1.6.2 from shdeprecated.idl - Do not edit ***/

#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include <rpc.h>
#include <rpcndr.h>

#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif

#ifndef __shdeprecated_h__
#define __shdeprecated_h__

/* Forward declarations */

#ifndef __ITravelEntry_FWD_DEFINED__
#define __ITravelEntry_FWD_DEFINED__
typedef interface ITravelEntry ITravelEntry;
#endif

#ifndef __ITravelLog_FWD_DEFINED__
#define __ITravelLog_FWD_DEFINED__
typedef interface ITravelLog ITravelLog;
#endif

#ifndef __IExpDispSupport_FWD_DEFINED__
#define __IExpDispSupport_FWD_DEFINED__
typedef interface IExpDispSupport IExpDispSupport;
#endif

#ifndef __IBrowserService_FWD_DEFINED__
#define __IBrowserService_FWD_DEFINED__
typedef interface IBrowserService IBrowserService;
#endif

#ifndef __IShellService_FWD_DEFINED__
#define __IShellService_FWD_DEFINED__
typedef interface IShellService IShellService;
#endif

#ifndef __IBrowserService2_FWD_DEFINED__
#define __IBrowserService2_FWD_DEFINED__
typedef interface IBrowserService2 IBrowserService2;
#endif

/* Headers for imported files */

#include <objidl.h>
#include <ocidl.h>
#include <shtypes.h>
#include <shobjidl.h>
#include <hlink.h>
#include <exdisp.h>

#ifdef __cplusplus
extern "C" {
#endif

#define TLOG_BACK    -1
#define TLOG_FORE    1
#define TLMENUF_INCLUDECURRENT   0x00000001
#define TLMENUF_CHECKCURRENT     (TLMENUF_INCLUDECURRENT | 0x00000002)
#define TLMENUF_BACK             0x00000010
#define TLMENUF_FORE             0x00000020
#define TLMENUF_BACKANDFORTH     (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)
/*****************************************************************************
 * ITravelEntry interface
 */
#ifndef __ITravelEntry_INTERFACE_DEFINED__
#define __ITravelEntry_INTERFACE_DEFINED__

DEFINE_GUID(IID_ITravelEntry, 0xf46edb3b, 0xbc2f, 0x11d0, 0x94,0x12, 0x00,0xaa,0x00,0xa3,0xeb,0xd3);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("f46edb3b-bc2f-11d0-9412-00aa00a3ebd3")
ITravelEntry : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE Invoke(
        IUnknown *punk) = 0;

    virtual HRESULT STDMETHODCALLTYPE Update(
        IUnknown *punk,
        BOOL fIsLocalAnchor) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetPidl(
        LPITEMIDLIST *ppidl) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ITravelEntry, 0xf46edb3b, 0xbc2f, 0x11d0, 0x94,0x12, 0x00,0xaa,0x00,0xa3,0xeb,0xd3)
#endif
#else
typedef struct ITravelEntryVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        ITravelEntry* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        ITravelEntry* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        ITravelEntry* This);

    /*** ITravelEntry methods ***/
    HRESULT (STDMETHODCALLTYPE *Invoke)(
        ITravelEntry* This,
        IUnknown *punk);

    HRESULT (STDMETHODCALLTYPE *Update)(
        ITravelEntry* This,
        IUnknown *punk,
        BOOL fIsLocalAnchor);

    HRESULT (STDMETHODCALLTYPE *GetPidl)(
        ITravelEntry* This,
        LPITEMIDLIST *ppidl);

    END_INTERFACE
} ITravelEntryVtbl;
interface ITravelEntry {
    CONST_VTBL ITravelEntryVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ITravelEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ITravelEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ITravelEntry_Release(This) (This)->lpVtbl->Release(This)
/*** ITravelEntry methods ***/
#define ITravelEntry_Invoke(This,punk) (This)->lpVtbl->Invoke(This,punk)
#define ITravelEntry_Update(This,punk,fIsLocalAnchor) (This)->lpVtbl->Update(This,punk,fIsLocalAnchor)
#define ITravelEntry_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ITravelEntry_QueryInterface(ITravelEntry* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ITravelEntry_AddRef(ITravelEntry* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ITravelEntry_Release(ITravelEntry* This) {
    return This->lpVtbl->Release(This);
}
/*** ITravelEntry methods ***/
static FORCEINLINE HRESULT ITravelEntry_Invoke(ITravelEntry* This,IUnknown *punk) {
    return This->lpVtbl->Invoke(This,punk);
}
static FORCEINLINE HRESULT ITravelEntry_Update(ITravelEntry* This,IUnknown *punk,BOOL fIsLocalAnchor) {
    return This->lpVtbl->Update(This,punk,fIsLocalAnchor);
}
static FORCEINLINE HRESULT ITravelEntry_GetPidl(ITravelEntry* This,LPITEMIDLIST *ppidl) {
    return This->lpVtbl->GetPidl(This,ppidl);
}
#endif
#endif

#endif

HRESULT STDMETHODCALLTYPE ITravelEntry_Invoke_Proxy(
    ITravelEntry* This,
    IUnknown *punk);
void __RPC_STUB ITravelEntry_Invoke_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelEntry_Update_Proxy(
    ITravelEntry* This,
    IUnknown *punk,
    BOOL fIsLocalAnchor);
void __RPC_STUB ITravelEntry_Update_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelEntry_GetPidl_Proxy(
    ITravelEntry* This,
    LPITEMIDLIST *ppidl);
void __RPC_STUB ITravelEntry_GetPidl_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __ITravelEntry_INTERFACE_DEFINED__ */

/*****************************************************************************
 * ITravelLog interface
 */
#ifndef __ITravelLog_INTERFACE_DEFINED__
#define __ITravelLog_INTERFACE_DEFINED__

DEFINE_GUID(IID_ITravelLog, 0x66a9cb08, 0x4802, 0x11d2, 0xa5,0x61, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("66a9cb08-4802-11d2-a561-00a0c92dbfe8")
ITravelLog : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE AddEntry(
        IUnknown *punk,
        BOOL fIsLocalAnchor) = 0;

    virtual HRESULT STDMETHODCALLTYPE UpdateEntry(
        IUnknown *punk,
        BOOL fIsLocalAnchor) = 0;

    virtual HRESULT STDMETHODCALLTYPE UpdateExternal(
        IUnknown *punk,
        IUnknown *punkHLBrowseContext) = 0;

    virtual HRESULT STDMETHODCALLTYPE Travel(
        IUnknown *punk,
        int iOffset) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetTravelEntry(
        IUnknown *punk,
        int iOffset,
        ITravelEntry **ppte) = 0;

    virtual HRESULT STDMETHODCALLTYPE FindTravelEntry(
        IUnknown *punk,
        LPCITEMIDLIST pidl,
        ITravelEntry **ppte) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetToolTipText(
        IUnknown *punk,
        int iOffset,
        int idsTemplate,
        LPWSTR pwzText,
        DWORD cchText) = 0;

    virtual HRESULT STDMETHODCALLTYPE InsertMenuEntries(
        IUnknown *punk,
        HMENU hmenu,
        int nPos,
        int idFirst,
        int idLast,
        DWORD dwFlags) = 0;

    virtual HRESULT STDMETHODCALLTYPE Clone(
        ITravelLog **pptl) = 0;

    virtual DWORD STDMETHODCALLTYPE CountEntries(
        IUnknown *punk) = 0;

    virtual HRESULT STDMETHODCALLTYPE Revert(
        ) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ITravelLog, 0x66a9cb08, 0x4802, 0x11d2, 0xa5,0x61, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8)
#endif
#else
typedef struct ITravelLogVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        ITravelLog* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        ITravelLog* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        ITravelLog* This);

    /*** ITravelLog methods ***/
    HRESULT (STDMETHODCALLTYPE *AddEntry)(
        ITravelLog* This,
        IUnknown *punk,
        BOOL fIsLocalAnchor);

    HRESULT (STDMETHODCALLTYPE *UpdateEntry)(
        ITravelLog* This,
        IUnknown *punk,
        BOOL fIsLocalAnchor);

    HRESULT (STDMETHODCALLTYPE *UpdateExternal)(
        ITravelLog* This,
        IUnknown *punk,
        IUnknown *punkHLBrowseContext);

    HRESULT (STDMETHODCALLTYPE *Travel)(
        ITravelLog* This,
        IUnknown *punk,
        int iOffset);

    HRESULT (STDMETHODCALLTYPE *GetTravelEntry)(
        ITravelLog* This,
        IUnknown *punk,
        int iOffset,
        ITravelEntry **ppte);

    HRESULT (STDMETHODCALLTYPE *FindTravelEntry)(
        ITravelLog* This,
        IUnknown *punk,
        LPCITEMIDLIST pidl,
        ITravelEntry **ppte);

    HRESULT (STDMETHODCALLTYPE *GetToolTipText)(
        ITravelLog* This,
        IUnknown *punk,
        int iOffset,
        int idsTemplate,
        LPWSTR pwzText,
        DWORD cchText);

    HRESULT (STDMETHODCALLTYPE *InsertMenuEntries)(
        ITravelLog* This,
        IUnknown *punk,
        HMENU hmenu,
        int nPos,
        int idFirst,
        int idLast,
        DWORD dwFlags);

    HRESULT (STDMETHODCALLTYPE *Clone)(
        ITravelLog* This,
        ITravelLog **pptl);

    DWORD (STDMETHODCALLTYPE *CountEntries)(
        ITravelLog* This,
        IUnknown *punk);

    HRESULT (STDMETHODCALLTYPE *Revert)(
        ITravelLog* This);

    END_INTERFACE
} ITravelLogVtbl;
interface ITravelLog {
    CONST_VTBL ITravelLogVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ITravelLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ITravelLog_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ITravelLog_Release(This) (This)->lpVtbl->Release(This)
/*** ITravelLog methods ***/
#define ITravelLog_AddEntry(This,punk,fIsLocalAnchor) (This)->lpVtbl->AddEntry(This,punk,fIsLocalAnchor)
#define ITravelLog_UpdateEntry(This,punk,fIsLocalAnchor) (This)->lpVtbl->UpdateEntry(This,punk,fIsLocalAnchor)
#define ITravelLog_UpdateExternal(This,punk,punkHLBrowseContext) (This)->lpVtbl->UpdateExternal(This,punk,punkHLBrowseContext)
#define ITravelLog_Travel(This,punk,iOffset) (This)->lpVtbl->Travel(This,punk,iOffset)
#define ITravelLog_GetTravelEntry(This,punk,iOffset,ppte) (This)->lpVtbl->GetTravelEntry(This,punk,iOffset,ppte)
#define ITravelLog_FindTravelEntry(This,punk,pidl,ppte) (This)->lpVtbl->FindTravelEntry(This,punk,pidl,ppte)
#define ITravelLog_GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText) (This)->lpVtbl->GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText)
#define ITravelLog_InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags) (This)->lpVtbl->InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags)
#define ITravelLog_Clone(This,pptl) (This)->lpVtbl->Clone(This,pptl)
#define ITravelLog_CountEntries(This,punk) (This)->lpVtbl->CountEntries(This,punk)
#define ITravelLog_Revert(This) (This)->lpVtbl->Revert(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ITravelLog_QueryInterface(ITravelLog* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ITravelLog_AddRef(ITravelLog* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ITravelLog_Release(ITravelLog* This) {
    return This->lpVtbl->Release(This);
}
/*** ITravelLog methods ***/
static FORCEINLINE HRESULT ITravelLog_AddEntry(ITravelLog* This,IUnknown *punk,BOOL fIsLocalAnchor) {
    return This->lpVtbl->AddEntry(This,punk,fIsLocalAnchor);
}
static FORCEINLINE HRESULT ITravelLog_UpdateEntry(ITravelLog* This,IUnknown *punk,BOOL fIsLocalAnchor) {
    return This->lpVtbl->UpdateEntry(This,punk,fIsLocalAnchor);
}
static FORCEINLINE HRESULT ITravelLog_UpdateExternal(ITravelLog* This,IUnknown *punk,IUnknown *punkHLBrowseContext) {
    return This->lpVtbl->UpdateExternal(This,punk,punkHLBrowseContext);
}
static FORCEINLINE HRESULT ITravelLog_Travel(ITravelLog* This,IUnknown *punk,int iOffset) {
    return This->lpVtbl->Travel(This,punk,iOffset);
}
static FORCEINLINE HRESULT ITravelLog_GetTravelEntry(ITravelLog* This,IUnknown *punk,int iOffset,ITravelEntry **ppte) {
    return This->lpVtbl->GetTravelEntry(This,punk,iOffset,ppte);
}
static FORCEINLINE HRESULT ITravelLog_FindTravelEntry(ITravelLog* This,IUnknown *punk,LPCITEMIDLIST pidl,ITravelEntry **ppte) {
    return This->lpVtbl->FindTravelEntry(This,punk,pidl,ppte);
}
static FORCEINLINE HRESULT ITravelLog_GetToolTipText(ITravelLog* This,IUnknown *punk,int iOffset,int idsTemplate,LPWSTR pwzText,DWORD cchText) {
    return This->lpVtbl->GetToolTipText(This,punk,iOffset,idsTemplate,pwzText,cchText);
}
static FORCEINLINE HRESULT ITravelLog_InsertMenuEntries(ITravelLog* This,IUnknown *punk,HMENU hmenu,int nPos,int idFirst,int idLast,DWORD dwFlags) {
    return This->lpVtbl->InsertMenuEntries(This,punk,hmenu,nPos,idFirst,idLast,dwFlags);
}
static FORCEINLINE HRESULT ITravelLog_Clone(ITravelLog* This,ITravelLog **pptl) {
    return This->lpVtbl->Clone(This,pptl);
}
static FORCEINLINE DWORD ITravelLog_CountEntries(ITravelLog* This,IUnknown *punk) {
    return This->lpVtbl->CountEntries(This,punk);
}
static FORCEINLINE HRESULT ITravelLog_Revert(ITravelLog* This) {
    return This->lpVtbl->Revert(This);
}
#endif
#endif

#endif

HRESULT STDMETHODCALLTYPE ITravelLog_AddEntry_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    BOOL fIsLocalAnchor);
void __RPC_STUB ITravelLog_AddEntry_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_UpdateEntry_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    BOOL fIsLocalAnchor);
void __RPC_STUB ITravelLog_UpdateEntry_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_UpdateExternal_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    IUnknown *punkHLBrowseContext);
void __RPC_STUB ITravelLog_UpdateExternal_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_Travel_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    int iOffset);
void __RPC_STUB ITravelLog_Travel_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_GetTravelEntry_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    int iOffset,
    ITravelEntry **ppte);
void __RPC_STUB ITravelLog_GetTravelEntry_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_FindTravelEntry_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    LPCITEMIDLIST pidl,
    ITravelEntry **ppte);
void __RPC_STUB ITravelLog_FindTravelEntry_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_GetToolTipText_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    int iOffset,
    int idsTemplate,
    LPWSTR pwzText,
    DWORD cchText);
void __RPC_STUB ITravelLog_GetToolTipText_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_InsertMenuEntries_Proxy(
    ITravelLog* This,
    IUnknown *punk,
    HMENU hmenu,
    int nPos,
    int idFirst,
    int idLast,
    DWORD dwFlags);
void __RPC_STUB ITravelLog_InsertMenuEntries_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_Clone_Proxy(
    ITravelLog* This,
    ITravelLog **pptl);
void __RPC_STUB ITravelLog_Clone_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
DWORD STDMETHODCALLTYPE ITravelLog_CountEntries_Proxy(
    ITravelLog* This,
    IUnknown *punk);
void __RPC_STUB ITravelLog_CountEntries_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ITravelLog_Revert_Proxy(
    ITravelLog* This);
void __RPC_STUB ITravelLog_Revert_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __ITravelLog_INTERFACE_DEFINED__ */

typedef void *CIE4ConnectionPoint;
/*****************************************************************************
 * IExpDispSupport interface
 */
#ifndef __IExpDispSupport_INTERFACE_DEFINED__
#define __IExpDispSupport_INTERFACE_DEFINED__

DEFINE_GUID(IID_IExpDispSupport, 0x0d7d1d00, 0x6fc0, 0x11d0, 0xa9,0x74, 0x00,0xc0,0x4f,0xd7,0x05,0xa2);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0d7d1d00-6fc0-11d0-a974-00c04fd705a2")
IExpDispSupport : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE FindCIE4ConnectionPoint(
        REFIID riid,
        CIE4ConnectionPoint **ppccp) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnTranslateAccelerator(
        MSG *pMsg,
        DWORD grfModifiers) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnInvoke(
        DISPID dispidMember,
        REFIID iid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pdispparams,
        VARIANT *pVarResult,
        EXCEPINFO *pexcepinfo,
        UINT *puArgErr) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IExpDispSupport, 0x0d7d1d00, 0x6fc0, 0x11d0, 0xa9,0x74, 0x00,0xc0,0x4f,0xd7,0x05,0xa2)
#endif
#else
typedef struct IExpDispSupportVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IExpDispSupport* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IExpDispSupport* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IExpDispSupport* This);

    /*** IExpDispSupport methods ***/
    HRESULT (STDMETHODCALLTYPE *FindCIE4ConnectionPoint)(
        IExpDispSupport* This,
        REFIID riid,
        CIE4ConnectionPoint **ppccp);

    HRESULT (STDMETHODCALLTYPE *OnTranslateAccelerator)(
        IExpDispSupport* This,
        MSG *pMsg,
        DWORD grfModifiers);

    HRESULT (STDMETHODCALLTYPE *OnInvoke)(
        IExpDispSupport* This,
        DISPID dispidMember,
        REFIID iid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pdispparams,
        VARIANT *pVarResult,
        EXCEPINFO *pexcepinfo,
        UINT *puArgErr);

    END_INTERFACE
} IExpDispSupportVtbl;
interface IExpDispSupport {
    CONST_VTBL IExpDispSupportVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IExpDispSupport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IExpDispSupport_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IExpDispSupport_Release(This) (This)->lpVtbl->Release(This)
/*** IExpDispSupport methods ***/
#define IExpDispSupport_FindCIE4ConnectionPoint(This,riid,ppccp) (This)->lpVtbl->FindCIE4ConnectionPoint(This,riid,ppccp)
#define IExpDispSupport_OnTranslateAccelerator(This,pMsg,grfModifiers) (This)->lpVtbl->OnTranslateAccelerator(This,pMsg,grfModifiers)
#define IExpDispSupport_OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr) (This)->lpVtbl->OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IExpDispSupport_QueryInterface(IExpDispSupport* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IExpDispSupport_AddRef(IExpDispSupport* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IExpDispSupport_Release(IExpDispSupport* This) {
    return This->lpVtbl->Release(This);
}
/*** IExpDispSupport methods ***/
static FORCEINLINE HRESULT IExpDispSupport_FindCIE4ConnectionPoint(IExpDispSupport* This,REFIID riid,CIE4ConnectionPoint **ppccp) {
    return This->lpVtbl->FindCIE4ConnectionPoint(This,riid,ppccp);
}
static FORCEINLINE HRESULT IExpDispSupport_OnTranslateAccelerator(IExpDispSupport* This,MSG *pMsg,DWORD grfModifiers) {
    return This->lpVtbl->OnTranslateAccelerator(This,pMsg,grfModifiers);
}
static FORCEINLINE HRESULT IExpDispSupport_OnInvoke(IExpDispSupport* This,DISPID dispidMember,REFIID iid,LCID lcid,WORD wFlags,DISPPARAMS *pdispparams,VARIANT *pVarResult,EXCEPINFO *pexcepinfo,UINT *puArgErr) {
    return This->lpVtbl->OnInvoke(This,dispidMember,iid,lcid,wFlags,pdispparams,pVarResult,pexcepinfo,puArgErr);
}
#endif
#endif

#endif

HRESULT STDMETHODCALLTYPE IExpDispSupport_FindCIE4ConnectionPoint_Proxy(
    IExpDispSupport* This,
    REFIID riid,
    CIE4ConnectionPoint **ppccp);
void __RPC_STUB IExpDispSupport_FindCIE4ConnectionPoint_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IExpDispSupport_OnTranslateAccelerator_Proxy(
    IExpDispSupport* This,
    MSG *pMsg,
    DWORD grfModifiers);
void __RPC_STUB IExpDispSupport_OnTranslateAccelerator_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IExpDispSupport_OnInvoke_Proxy(
    IExpDispSupport* This,
    DISPID dispidMember,
    REFIID iid,
    LCID lcid,
    WORD wFlags,
    DISPPARAMS *pdispparams,
    VARIANT *pVarResult,
    EXCEPINFO *pexcepinfo,
    UINT *puArgErr);
void __RPC_STUB IExpDispSupport_OnInvoke_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __IExpDispSupport_INTERFACE_DEFINED__ */

typedef enum tagBNSTATE {
    BNS_NORMAL = 0,
    BNS_BEGIN_NAVIGATE = 1,
    BNS_NAVIGATE = 2
} BNSTATE;
enum {
    SBSC_HIDE = 0,
    SBSC_SHOW = 1,
    SBSC_TOGGLE = 2,
    SBSC_QUERY = 3
};

#define BSF_REGISTERASDROPTARGET     0x00000001
#define BSF_THEATERMODE              0x00000002
#define BSF_NOLOCALFILEWARNING       0x00000010
#define BSF_UISETBYAUTOMATION        0x00000100
#define BSF_RESIZABLE                0x00000200
#define BSF_CANMAXIMIZE              0x00000400
#define BSF_TOPBROWSER               0x00000800
#define BSF_NAVNOHISTORY             0x00001000
#define BSF_HTMLNAVCANCELED          0x00002000
#define BSF_DONTSHOWNAVCANCELPAGE    0x00004000
#define BSF_SETNAVIGATABLECODEPAGE   0x00008000
#define BSF_DELEGATEDNAVIGATION      0x00010000
#define BSF_TRUSTEDFORACTIVEX        0x00020000
#define HLNF_CALLERUNTRUSTED             0x00200000
#define HLNF_TRUSTEDFORACTIVEX           0x00400000
#define HLNF_DISABLEWINDOWRESTRICTIONS   0x00800000
#define HLNF_TRUSTFIRSTDOWNLOAD          0x01000000
#define HLNF_UNTRUSTEDFORDOWNLOAD        0x02000000
#define SHHLNF_NOAUTOSELECT              0x04000000
#define SHHLNF_WRITENOHISTORY            0x08000000
#define HLNF_EXTERNALNAVIGATE            0x10000000
#define HLNF_ALLOW_AUTONAVIGATE          0x20000000
#define HLNF_NEWWINDOWSMANAGED           0x80000000
/*****************************************************************************
 * IBrowserService interface
 */
#ifndef __IBrowserService_INTERFACE_DEFINED__
#define __IBrowserService_INTERFACE_DEFINED__

DEFINE_GUID(IID_IBrowserService, 0x02ba3b52, 0x0547, 0x11d1, 0xb8,0x33, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("02ba3b52-0547-11d1-b833-00c04fc9b31f")
IBrowserService : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE GetParentSite(
        IOleInPlaceSite **ppipsite) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetTitle(
        IShellView *psv,
        LPCWSTR pszName) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetTitle(
        IShellView *psv,
        LPWSTR pszName,
        DWORD cchName) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetOleObject(
        IOleObject **ppobjv) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetTravelLog(
        ITravelLog **pptl) = 0;

    virtual HRESULT STDMETHODCALLTYPE ShowControlWindow(
        UINT id,
        BOOL fShow) = 0;

    virtual HRESULT STDMETHODCALLTYPE IsControlWindowShown(
        UINT id,
        BOOL *pfShown) = 0;

    virtual HRESULT STDMETHODCALLTYPE IEGetDisplayName(
        PCIDLIST_ABSOLUTE pidl,
        LPWSTR pwszName,
        UINT uFlags) = 0;

    virtual HRESULT STDMETHODCALLTYPE IEParseDisplayName(
        UINT uiCP,
        LPCWSTR pwszPath,
        PIDLIST_ABSOLUTE *ppidlOut) = 0;

    virtual HRESULT STDMETHODCALLTYPE DisplayParseError(
        HRESULT hres,
        LPCWSTR pwszPath) = 0;

    virtual HRESULT STDMETHODCALLTYPE NavigateToPidl(
        PCIDLIST_ABSOLUTE pidl,
        DWORD grfHLNF) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetNavigateState(
        BNSTATE bnstate) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetNavigateState(
        BNSTATE *pbnstate) = 0;

    virtual HRESULT STDMETHODCALLTYPE NotifyRedirect(
        IShellView *psv,
        PCIDLIST_ABSOLUTE pidl,
        BOOL *pfDidBrowse) = 0;

    virtual HRESULT STDMETHODCALLTYPE UpdateWindowList(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE UpdateBackForwardState(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetFlags(
        DWORD dwFlags,
        DWORD dwFlagMask) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetFlags(
        DWORD *pdwFlags) = 0;

    virtual HRESULT STDMETHODCALLTYPE CanNavigateNow(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetPidl(
        PIDLIST_ABSOLUTE *ppidl) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetReferrer(
        PCIDLIST_ABSOLUTE pidl) = 0;

    virtual DWORD STDMETHODCALLTYPE GetBrowserIndex(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetBrowserByIndex(
        DWORD dwID,
        IUnknown **ppunk) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetHistoryObject(
        IOleObject **ppole,
        IStream **pstm,
        IBindCtx **ppbc) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetHistoryObject(
        IOleObject *pole,
        BOOL fIsLocalAnchor) = 0;

    virtual HRESULT STDMETHODCALLTYPE CacheOLEServer(
        IOleObject *pole) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetSetCodePage(
        VARIANT *pvarIn,
        VARIANT *pvarOut) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnHttpEquiv(
        IShellView *psv,
        BOOL fDone,
        VARIANT *pvarargIn,
        VARIANT *pvarargOut) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetPalette(
        HPALETTE *hpal) = 0;

    virtual HRESULT STDMETHODCALLTYPE RegisterWindow(
        BOOL fForceRegister,
        int swc) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBrowserService, 0x02ba3b52, 0x0547, 0x11d1, 0xb8,0x33, 0x00,0xc0,0x4f,0xc9,0xb3,0x1f)
#endif
#else
typedef struct IBrowserServiceVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IBrowserService* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IBrowserService* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IBrowserService* This);

    /*** IBrowserService methods ***/
    HRESULT (STDMETHODCALLTYPE *GetParentSite)(
        IBrowserService* This,
        IOleInPlaceSite **ppipsite);

    HRESULT (STDMETHODCALLTYPE *SetTitle)(
        IBrowserService* This,
        IShellView *psv,
        LPCWSTR pszName);

    HRESULT (STDMETHODCALLTYPE *GetTitle)(
        IBrowserService* This,
        IShellView *psv,
        LPWSTR pszName,
        DWORD cchName);

    HRESULT (STDMETHODCALLTYPE *GetOleObject)(
        IBrowserService* This,
        IOleObject **ppobjv);

    HRESULT (STDMETHODCALLTYPE *GetTravelLog)(
        IBrowserService* This,
        ITravelLog **pptl);

    HRESULT (STDMETHODCALLTYPE *ShowControlWindow)(
        IBrowserService* This,
        UINT id,
        BOOL fShow);

    HRESULT (STDMETHODCALLTYPE *IsControlWindowShown)(
        IBrowserService* This,
        UINT id,
        BOOL *pfShown);

    HRESULT (STDMETHODCALLTYPE *IEGetDisplayName)(
        IBrowserService* This,
        PCIDLIST_ABSOLUTE pidl,
        LPWSTR pwszName,
        UINT uFlags);

    HRESULT (STDMETHODCALLTYPE *IEParseDisplayName)(
        IBrowserService* This,
        UINT uiCP,
        LPCWSTR pwszPath,
        PIDLIST_ABSOLUTE *ppidlOut);

    HRESULT (STDMETHODCALLTYPE *DisplayParseError)(
        IBrowserService* This,
        HRESULT hres,
        LPCWSTR pwszPath);

    HRESULT (STDMETHODCALLTYPE *NavigateToPidl)(
        IBrowserService* This,
        PCIDLIST_ABSOLUTE pidl,
        DWORD grfHLNF);

    HRESULT (STDMETHODCALLTYPE *SetNavigateState)(
        IBrowserService* This,
        BNSTATE bnstate);

    HRESULT (STDMETHODCALLTYPE *GetNavigateState)(
        IBrowserService* This,
        BNSTATE *pbnstate);

    HRESULT (STDMETHODCALLTYPE *NotifyRedirect)(
        IBrowserService* This,
        IShellView *psv,
        PCIDLIST_ABSOLUTE pidl,
        BOOL *pfDidBrowse);

    HRESULT (STDMETHODCALLTYPE *UpdateWindowList)(
        IBrowserService* This);

    HRESULT (STDMETHODCALLTYPE *UpdateBackForwardState)(
        IBrowserService* This);

    HRESULT (STDMETHODCALLTYPE *SetFlags)(
        IBrowserService* This,
        DWORD dwFlags,
        DWORD dwFlagMask);

    HRESULT (STDMETHODCALLTYPE *GetFlags)(
        IBrowserService* This,
        DWORD *pdwFlags);

    HRESULT (STDMETHODCALLTYPE *CanNavigateNow)(
        IBrowserService* This);

    HRESULT (STDMETHODCALLTYPE *GetPidl)(
        IBrowserService* This,
        PIDLIST_ABSOLUTE *ppidl);

    HRESULT (STDMETHODCALLTYPE *SetReferrer)(
        IBrowserService* This,
        PCIDLIST_ABSOLUTE pidl);

    DWORD (STDMETHODCALLTYPE *GetBrowserIndex)(
        IBrowserService* This);

    HRESULT (STDMETHODCALLTYPE *GetBrowserByIndex)(
        IBrowserService* This,
        DWORD dwID,
        IUnknown **ppunk);

    HRESULT (STDMETHODCALLTYPE *GetHistoryObject)(
        IBrowserService* This,
        IOleObject **ppole,
        IStream **pstm,
        IBindCtx **ppbc);

    HRESULT (STDMETHODCALLTYPE *SetHistoryObject)(
        IBrowserService* This,
        IOleObject *pole,
        BOOL fIsLocalAnchor);

    HRESULT (STDMETHODCALLTYPE *CacheOLEServer)(
        IBrowserService* This,
        IOleObject *pole);

    HRESULT (STDMETHODCALLTYPE *GetSetCodePage)(
        IBrowserService* This,
        VARIANT *pvarIn,
        VARIANT *pvarOut);

    HRESULT (STDMETHODCALLTYPE *OnHttpEquiv)(
        IBrowserService* This,
        IShellView *psv,
        BOOL fDone,
        VARIANT *pvarargIn,
        VARIANT *pvarargOut);

    HRESULT (STDMETHODCALLTYPE *GetPalette)(
        IBrowserService* This,
        HPALETTE *hpal);

    HRESULT (STDMETHODCALLTYPE *RegisterWindow)(
        IBrowserService* This,
        BOOL fForceRegister,
        int swc);

    END_INTERFACE
} IBrowserServiceVtbl;
interface IBrowserService {
    CONST_VTBL IBrowserServiceVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBrowserService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBrowserService_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBrowserService_Release(This) (This)->lpVtbl->Release(This)
/*** IBrowserService methods ***/
#define IBrowserService_GetParentSite(This,ppipsite) (This)->lpVtbl->GetParentSite(This,ppipsite)
#define IBrowserService_SetTitle(This,psv,pszName) (This)->lpVtbl->SetTitle(This,psv,pszName)
#define IBrowserService_GetTitle(This,psv,pszName,cchName) (This)->lpVtbl->GetTitle(This,psv,pszName,cchName)
#define IBrowserService_GetOleObject(This,ppobjv) (This)->lpVtbl->GetOleObject(This,ppobjv)
#define IBrowserService_GetTravelLog(This,pptl) (This)->lpVtbl->GetTravelLog(This,pptl)
#define IBrowserService_ShowControlWindow(This,id,fShow) (This)->lpVtbl->ShowControlWindow(This,id,fShow)
#define IBrowserService_IsControlWindowShown(This,id,pfShown) (This)->lpVtbl->IsControlWindowShown(This,id,pfShown)
#define IBrowserService_IEGetDisplayName(This,pidl,pwszName,uFlags) (This)->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags)
#define IBrowserService_IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) (This)->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut)
#define IBrowserService_DisplayParseError(This,hres,pwszPath) (This)->lpVtbl->DisplayParseError(This,hres,pwszPath)
#define IBrowserService_NavigateToPidl(This,pidl,grfHLNF) (This)->lpVtbl->NavigateToPidl(This,pidl,grfHLNF)
#define IBrowserService_SetNavigateState(This,bnstate) (This)->lpVtbl->SetNavigateState(This,bnstate)
#define IBrowserService_GetNavigateState(This,pbnstate) (This)->lpVtbl->GetNavigateState(This,pbnstate)
#define IBrowserService_NotifyRedirect(This,psv,pidl,pfDidBrowse) (This)->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse)
#define IBrowserService_UpdateWindowList(This) (This)->lpVtbl->UpdateWindowList(This)
#define IBrowserService_UpdateBackForwardState(This) (This)->lpVtbl->UpdateBackForwardState(This)
#define IBrowserService_SetFlags(This,dwFlags,dwFlagMask) (This)->lpVtbl->SetFlags(This,dwFlags,dwFlagMask)
#define IBrowserService_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags)
#define IBrowserService_CanNavigateNow(This) (This)->lpVtbl->CanNavigateNow(This)
#define IBrowserService_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl)
#define IBrowserService_SetReferrer(This,pidl) (This)->lpVtbl->SetReferrer(This,pidl)
#define IBrowserService_GetBrowserIndex(This) (This)->lpVtbl->GetBrowserIndex(This)
#define IBrowserService_GetBrowserByIndex(This,dwID,ppunk) (This)->lpVtbl->GetBrowserByIndex(This,dwID,ppunk)
#define IBrowserService_GetHistoryObject(This,ppole,pstm,ppbc) (This)->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc)
#define IBrowserService_SetHistoryObject(This,pole,fIsLocalAnchor) (This)->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor)
#define IBrowserService_CacheOLEServer(This,pole) (This)->lpVtbl->CacheOLEServer(This,pole)
#define IBrowserService_GetSetCodePage(This,pvarIn,pvarOut) (This)->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut)
#define IBrowserService_OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) (This)->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut)
#define IBrowserService_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal)
#define IBrowserService_RegisterWindow(This,fForceRegister,swc) (This)->lpVtbl->RegisterWindow(This,fForceRegister,swc)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBrowserService_QueryInterface(IBrowserService* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBrowserService_AddRef(IBrowserService* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBrowserService_Release(IBrowserService* This) {
    return This->lpVtbl->Release(This);
}
/*** IBrowserService methods ***/
static FORCEINLINE HRESULT IBrowserService_GetParentSite(IBrowserService* This,IOleInPlaceSite **ppipsite) {
    return This->lpVtbl->GetParentSite(This,ppipsite);
}
static FORCEINLINE HRESULT IBrowserService_SetTitle(IBrowserService* This,IShellView *psv,LPCWSTR pszName) {
    return This->lpVtbl->SetTitle(This,psv,pszName);
}
static FORCEINLINE HRESULT IBrowserService_GetTitle(IBrowserService* This,IShellView *psv,LPWSTR pszName,DWORD cchName) {
    return This->lpVtbl->GetTitle(This,psv,pszName,cchName);
}
static FORCEINLINE HRESULT IBrowserService_GetOleObject(IBrowserService* This,IOleObject **ppobjv) {
    return This->lpVtbl->GetOleObject(This,ppobjv);
}
static FORCEINLINE HRESULT IBrowserService_GetTravelLog(IBrowserService* This,ITravelLog **pptl) {
    return This->lpVtbl->GetTravelLog(This,pptl);
}
static FORCEINLINE HRESULT IBrowserService_ShowControlWindow(IBrowserService* This,UINT id,BOOL fShow) {
    return This->lpVtbl->ShowControlWindow(This,id,fShow);
}
static FORCEINLINE HRESULT IBrowserService_IsControlWindowShown(IBrowserService* This,UINT id,BOOL *pfShown) {
    return This->lpVtbl->IsControlWindowShown(This,id,pfShown);
}
static FORCEINLINE HRESULT IBrowserService_IEGetDisplayName(IBrowserService* This,PCIDLIST_ABSOLUTE pidl,LPWSTR pwszName,UINT uFlags) {
    return This->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags);
}
static FORCEINLINE HRESULT IBrowserService_IEParseDisplayName(IBrowserService* This,UINT uiCP,LPCWSTR pwszPath,PIDLIST_ABSOLUTE *ppidlOut) {
    return This->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut);
}
static FORCEINLINE HRESULT IBrowserService_DisplayParseError(IBrowserService* This,HRESULT hres,LPCWSTR pwszPath) {
    return This->lpVtbl->DisplayParseError(This,hres,pwszPath);
}
static FORCEINLINE HRESULT IBrowserService_NavigateToPidl(IBrowserService* This,PCIDLIST_ABSOLUTE pidl,DWORD grfHLNF) {
    return This->lpVtbl->NavigateToPidl(This,pidl,grfHLNF);
}
static FORCEINLINE HRESULT IBrowserService_SetNavigateState(IBrowserService* This,BNSTATE bnstate) {
    return This->lpVtbl->SetNavigateState(This,bnstate);
}
static FORCEINLINE HRESULT IBrowserService_GetNavigateState(IBrowserService* This,BNSTATE *pbnstate) {
    return This->lpVtbl->GetNavigateState(This,pbnstate);
}
static FORCEINLINE HRESULT IBrowserService_NotifyRedirect(IBrowserService* This,IShellView *psv,PCIDLIST_ABSOLUTE pidl,BOOL *pfDidBrowse) {
    return This->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse);
}
static FORCEINLINE HRESULT IBrowserService_UpdateWindowList(IBrowserService* This) {
    return This->lpVtbl->UpdateWindowList(This);
}
static FORCEINLINE HRESULT IBrowserService_UpdateBackForwardState(IBrowserService* This) {
    return This->lpVtbl->UpdateBackForwardState(This);
}
static FORCEINLINE HRESULT IBrowserService_SetFlags(IBrowserService* This,DWORD dwFlags,DWORD dwFlagMask) {
    return This->lpVtbl->SetFlags(This,dwFlags,dwFlagMask);
}
static FORCEINLINE HRESULT IBrowserService_GetFlags(IBrowserService* This,DWORD *pdwFlags) {
    return This->lpVtbl->GetFlags(This,pdwFlags);
}
static FORCEINLINE HRESULT IBrowserService_CanNavigateNow(IBrowserService* This) {
    return This->lpVtbl->CanNavigateNow(This);
}
static FORCEINLINE HRESULT IBrowserService_GetPidl(IBrowserService* This,PIDLIST_ABSOLUTE *ppidl) {
    return This->lpVtbl->GetPidl(This,ppidl);
}
static FORCEINLINE HRESULT IBrowserService_SetReferrer(IBrowserService* This,PCIDLIST_ABSOLUTE pidl) {
    return This->lpVtbl->SetReferrer(This,pidl);
}
static FORCEINLINE DWORD IBrowserService_GetBrowserIndex(IBrowserService* This) {
    return This->lpVtbl->GetBrowserIndex(This);
}
static FORCEINLINE HRESULT IBrowserService_GetBrowserByIndex(IBrowserService* This,DWORD dwID,IUnknown **ppunk) {
    return This->lpVtbl->GetBrowserByIndex(This,dwID,ppunk);
}
static FORCEINLINE HRESULT IBrowserService_GetHistoryObject(IBrowserService* This,IOleObject **ppole,IStream **pstm,IBindCtx **ppbc) {
    return This->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc);
}
static FORCEINLINE HRESULT IBrowserService_SetHistoryObject(IBrowserService* This,IOleObject *pole,BOOL fIsLocalAnchor) {
    return This->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor);
}
static FORCEINLINE HRESULT IBrowserService_CacheOLEServer(IBrowserService* This,IOleObject *pole) {
    return This->lpVtbl->CacheOLEServer(This,pole);
}
static FORCEINLINE HRESULT IBrowserService_GetSetCodePage(IBrowserService* This,VARIANT *pvarIn,VARIANT *pvarOut) {
    return This->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut);
}
static FORCEINLINE HRESULT IBrowserService_OnHttpEquiv(IBrowserService* This,IShellView *psv,BOOL fDone,VARIANT *pvarargIn,VARIANT *pvarargOut) {
    return This->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut);
}
static FORCEINLINE HRESULT IBrowserService_GetPalette(IBrowserService* This,HPALETTE *hpal) {
    return This->lpVtbl->GetPalette(This,hpal);
}
static FORCEINLINE HRESULT IBrowserService_RegisterWindow(IBrowserService* This,BOOL fForceRegister,int swc) {
    return This->lpVtbl->RegisterWindow(This,fForceRegister,swc);
}
#endif
#endif

#endif

HRESULT STDMETHODCALLTYPE IBrowserService_GetParentSite_Proxy(
    IBrowserService* This,
    IOleInPlaceSite **ppipsite);
void __RPC_STUB IBrowserService_GetParentSite_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_SetTitle_Proxy(
    IBrowserService* This,
    IShellView *psv,
    LPCWSTR pszName);
void __RPC_STUB IBrowserService_SetTitle_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetTitle_Proxy(
    IBrowserService* This,
    IShellView *psv,
    LPWSTR pszName,
    DWORD cchName);
void __RPC_STUB IBrowserService_GetTitle_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetOleObject_Proxy(
    IBrowserService* This,
    IOleObject **ppobjv);
void __RPC_STUB IBrowserService_GetOleObject_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetTravelLog_Proxy(
    IBrowserService* This,
    ITravelLog **pptl);
void __RPC_STUB IBrowserService_GetTravelLog_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_ShowControlWindow_Proxy(
    IBrowserService* This,
    UINT id,
    BOOL fShow);
void __RPC_STUB IBrowserService_ShowControlWindow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_IsControlWindowShown_Proxy(
    IBrowserService* This,
    UINT id,
    BOOL *pfShown);
void __RPC_STUB IBrowserService_IsControlWindowShown_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_IEGetDisplayName_Proxy(
    IBrowserService* This,
    PCIDLIST_ABSOLUTE pidl,
    LPWSTR pwszName,
    UINT uFlags);
void __RPC_STUB IBrowserService_IEGetDisplayName_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_IEParseDisplayName_Proxy(
    IBrowserService* This,
    UINT uiCP,
    LPCWSTR pwszPath,
    PIDLIST_ABSOLUTE *ppidlOut);
void __RPC_STUB IBrowserService_IEParseDisplayName_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_DisplayParseError_Proxy(
    IBrowserService* This,
    HRESULT hres,
    LPCWSTR pwszPath);
void __RPC_STUB IBrowserService_DisplayParseError_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_NavigateToPidl_Proxy(
    IBrowserService* This,
    PCIDLIST_ABSOLUTE pidl,
    DWORD grfHLNF);
void __RPC_STUB IBrowserService_NavigateToPidl_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_SetNavigateState_Proxy(
    IBrowserService* This,
    BNSTATE bnstate);
void __RPC_STUB IBrowserService_SetNavigateState_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetNavigateState_Proxy(
    IBrowserService* This,
    BNSTATE *pbnstate);
void __RPC_STUB IBrowserService_GetNavigateState_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_NotifyRedirect_Proxy(
    IBrowserService* This,
    IShellView *psv,
    PCIDLIST_ABSOLUTE pidl,
    BOOL *pfDidBrowse);
void __RPC_STUB IBrowserService_NotifyRedirect_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_UpdateWindowList_Proxy(
    IBrowserService* This);
void __RPC_STUB IBrowserService_UpdateWindowList_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_UpdateBackForwardState_Proxy(
    IBrowserService* This);
void __RPC_STUB IBrowserService_UpdateBackForwardState_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_SetFlags_Proxy(
    IBrowserService* This,
    DWORD dwFlags,
    DWORD dwFlagMask);
void __RPC_STUB IBrowserService_SetFlags_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetFlags_Proxy(
    IBrowserService* This,
    DWORD *pdwFlags);
void __RPC_STUB IBrowserService_GetFlags_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_CanNavigateNow_Proxy(
    IBrowserService* This);
void __RPC_STUB IBrowserService_CanNavigateNow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetPidl_Proxy(
    IBrowserService* This,
    PIDLIST_ABSOLUTE *ppidl);
void __RPC_STUB IBrowserService_GetPidl_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_SetReferrer_Proxy(
    IBrowserService* This,
    PCIDLIST_ABSOLUTE pidl);
void __RPC_STUB IBrowserService_SetReferrer_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
DWORD STDMETHODCALLTYPE IBrowserService_GetBrowserIndex_Proxy(
    IBrowserService* This);
void __RPC_STUB IBrowserService_GetBrowserIndex_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetBrowserByIndex_Proxy(
    IBrowserService* This,
    DWORD dwID,
    IUnknown **ppunk);
void __RPC_STUB IBrowserService_GetBrowserByIndex_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetHistoryObject_Proxy(
    IBrowserService* This,
    IOleObject **ppole,
    IStream **pstm,
    IBindCtx **ppbc);
void __RPC_STUB IBrowserService_GetHistoryObject_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_SetHistoryObject_Proxy(
    IBrowserService* This,
    IOleObject *pole,
    BOOL fIsLocalAnchor);
void __RPC_STUB IBrowserService_SetHistoryObject_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_CacheOLEServer_Proxy(
    IBrowserService* This,
    IOleObject *pole);
void __RPC_STUB IBrowserService_CacheOLEServer_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetSetCodePage_Proxy(
    IBrowserService* This,
    VARIANT *pvarIn,
    VARIANT *pvarOut);
void __RPC_STUB IBrowserService_GetSetCodePage_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_OnHttpEquiv_Proxy(
    IBrowserService* This,
    IShellView *psv,
    BOOL fDone,
    VARIANT *pvarargIn,
    VARIANT *pvarargOut);
void __RPC_STUB IBrowserService_OnHttpEquiv_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_GetPalette_Proxy(
    IBrowserService* This,
    HPALETTE *hpal);
void __RPC_STUB IBrowserService_GetPalette_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService_RegisterWindow_Proxy(
    IBrowserService* This,
    BOOL fForceRegister,
    int swc);
void __RPC_STUB IBrowserService_RegisterWindow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __IBrowserService_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IShellService interface
 */
#ifndef __IShellService_INTERFACE_DEFINED__
#define __IShellService_INTERFACE_DEFINED__

DEFINE_GUID(IID_IShellService, 0x5836fb00, 0x8187, 0x11cf, 0xa1,0x2b, 0x00,0xaa,0x00,0x4a,0xe8,0x37);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("5836fb00-8187-11cf-a12b-00aa004ae837")
IShellService : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE SetOwner(
        IUnknown *pUnk) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IShellService, 0x5836fb00, 0x8187, 0x11cf, 0xa1,0x2b, 0x00,0xaa,0x00,0x4a,0xe8,0x37)
#endif
#else
typedef struct IShellServiceVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IShellService* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IShellService* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IShellService* This);

    /*** IShellService methods ***/
    HRESULT (STDMETHODCALLTYPE *SetOwner)(
        IShellService* This,
        IUnknown *pUnk);

    END_INTERFACE
} IShellServiceVtbl;
interface IShellService {
    CONST_VTBL IShellServiceVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IShellService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IShellService_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IShellService_Release(This) (This)->lpVtbl->Release(This)
/*** IShellService methods ***/
#define IShellService_SetOwner(This,pUnk) (This)->lpVtbl->SetOwner(This,pUnk)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IShellService_QueryInterface(IShellService* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IShellService_AddRef(IShellService* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IShellService_Release(IShellService* This) {
    return This->lpVtbl->Release(This);
}
/*** IShellService methods ***/
static FORCEINLINE HRESULT IShellService_SetOwner(IShellService* This,IUnknown *pUnk) {
    return This->lpVtbl->SetOwner(This,pUnk);
}
#endif
#endif

#endif

HRESULT STDMETHODCALLTYPE IShellService_SetOwner_Proxy(
    IShellService* This,
    IUnknown *pUnk);
void __RPC_STUB IShellService_SetOwner_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __IShellService_INTERFACE_DEFINED__ */

#if 0
typedef HANDLE HMONITOR;
#endif
enum {
    SECURELOCK_NOCHANGE = -1,
    SECURELOCK_SET_UNSECURE = 0,
    SECURELOCK_SET_MIXED = 1,
    SECURELOCK_SET_SECUREUNKNOWNBIT = 2,
    SECURELOCK_SET_SECURE40BIT = 3,
    SECURELOCK_SET_SECURE56BIT = 4,
    SECURELOCK_SET_FORTEZZA = 5,
    SECURELOCK_SET_SECURE128BIT = 6,
    SECURELOCK_FIRSTSUGGEST = 7,
    SECURELOCK_SUGGEST_UNSECURE = SECURELOCK_FIRSTSUGGEST,
    SECURELOCK_SUGGEST_MIXED = 8,
    SECURELOCK_SUGGEST_SECUREUNKNOWNBIT = 9,
    SECURELOCK_SUGGEST_SECURE40BIT = 10,
    SECURELOCK_SUGGEST_SECURE56BIT = 11,
    SECURELOCK_SUGGEST_FORTEZZA = 12,
    SECURELOCK_SUGGEST_SECURE128BIT = 13
};

typedef struct __WIDL_shdeprecated_generated_name_00000000 {
    HWND _hwnd;
    ITravelLog *_ptl;
    IHlinkFrame *_phlf;
    IWebBrowser2 *_pautoWB2;
    IExpDispSupport *_pautoEDS;
    IShellService *_pautoSS;
    int _eSecureLockIcon;
    DWORD _fCreatingViewWindow;
    UINT _uActivateState;
    LPCITEMIDLIST _pidlNewShellView;
    IOleCommandTarget *_pctView;
    LPITEMIDLIST _pidlCur;
    IShellView *_psv;
    IShellFolder *_psf;
    HWND _hwndView;
    LPWSTR _pszTitleCur;
    LPITEMIDLIST _pidlPending;
    IShellView *_psvPending;
    IShellFolder *_psfPending;
    HWND _hwndViewPending;
    LPWSTR _pszTitlePending;
    BOOL _fIsViewMSHTML;
    BOOL _fPrivacyImpacted;
} BASEBROWSERDATA;
typedef struct __WIDL_shdeprecated_generated_name_00000000 *LPBASEBROWSERDATA;
typedef const BASEBROWSERDATA *LPCBASEBROWSERDATA;
#define VIEW_PRIORITY_RESTRICTED         0x00000070
#define VIEW_PRIORITY_CACHEHIT           0x00000050
#define VIEW_PRIORITY_STALECACHEHIT      0x00000045
#define VIEW_PRIORITY_USEASDEFAULT       0x00000043
#define VIEW_PRIORITY_SHELLEXT           0x00000040
#define VIEW_PRIORITY_CACHEMISS          0x00000030
#define VIEW_PRIORITY_INHERIT            0x00000020
#define VIEW_PRIORITY_SHELLEXT_ASBACKUP  0x0015
#define VIEW_PRIORITY_DESPERATE          0x00000010
#define VIEW_PRIORITY_NONE               0x00000000
typedef struct tagFolderSetData {
    FOLDERSETTINGS _fs;
    SHELLVIEWID _vidRestore;
    DWORD _dwViewPriority;
} FOLDERSETDATA;
typedef struct tagFolderSetData *LPFOLDERSETDATA;
typedef struct SToolbarItem {
    IDockingWindow *ptbar;
    BORDERWIDTHS rcBorderTool;
    LPWSTR pwszItem;
    BOOL fShow;
    HMONITOR hMon;
} TOOLBARITEM;
typedef struct SToolbarItem *LPTOOLBARITEM;
#define ITB_VIEW        ((UINT)-1)
/*****************************************************************************
 * IBrowserService2 interface
 */
#ifndef __IBrowserService2_INTERFACE_DEFINED__
#define __IBrowserService2_INTERFACE_DEFINED__

DEFINE_GUID(IID_IBrowserService2, 0x68bd21cc, 0x438b, 0x11d2, 0xa5,0x60, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("68bd21cc-438b-11d2-a560-00a0c92dbfe8")
IBrowserService2 : public IBrowserService
{
    virtual LRESULT STDMETHODCALLTYPE WndProcBS(
        HWND hwnd,
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetAsDefFolderSettings(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetViewRect(
        RECT *prc) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnSize(
        WPARAM wParam) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnCreate(
        struct tagCREATESTRUCTW *pcs) = 0;

    virtual LRESULT STDMETHODCALLTYPE OnCommand(
        WPARAM wParam,
        LPARAM lParam) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnDestroy(
        ) = 0;

    virtual LRESULT STDMETHODCALLTYPE OnNotify(
        struct tagNMHDR *pnm) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivateBS(
        BOOL fActive) = 0;

    virtual HRESULT STDMETHODCALLTYPE ReleaseShellView(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE ActivatePendingView(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE CreateViewWindow(
        IShellView *psvNew,
        IShellView *psvOld,
        LPRECT prcView,
        HWND *phwnd) = 0;

    virtual HRESULT STDMETHODCALLTYPE CreateBrowserPropSheetExt(
        REFIID riid,
        void **ppv) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetViewWindow(
        HWND *phwndView) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetBaseBrowserData(
        LPCBASEBROWSERDATA *pbbd) = 0;

    virtual LPBASEBROWSERDATA STDMETHODCALLTYPE PutBaseBrowserData(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE InitializeTravelLog(
        ITravelLog *ptl,
        DWORD dw) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetTopBrowser(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE Offline(
        int iCmd) = 0;

    virtual HRESULT STDMETHODCALLTYPE AllowViewResize(
        BOOL f) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetActivateState(
        UINT u) = 0;

    virtual HRESULT STDMETHODCALLTYPE UpdateSecureLockIcon(
        int eSecureLock) = 0;

    virtual HRESULT STDMETHODCALLTYPE InitializeDownloadManager(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE InitializeTransitionSite(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _Initialize(
        HWND hwnd,
        IUnknown *pauto) = 0;

    virtual HRESULT STDMETHODCALLTYPE _CancelPendingNavigationAsync(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _CancelPendingView(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _MaySaveChanges(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _PauseOrResumeView(
        BOOL fPaused) = 0;

    virtual HRESULT STDMETHODCALLTYPE _DisableModeless(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _NavigateToPidl(
        LPCITEMIDLIST pidl,
        DWORD grfHLNF,
        DWORD dwFlags) = 0;

    virtual HRESULT STDMETHODCALLTYPE _TryShell2Rename(
        IShellView *psv,
        LPCITEMIDLIST pidlNew) = 0;

    virtual HRESULT STDMETHODCALLTYPE _SwitchActivationNow(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _ExecChildren(
        IUnknown *punkBar,
        BOOL fBroadcast,
        const GUID *pguidCmdGroup,
        DWORD nCmdID,
        DWORD nCmdexecopt,
        VARIANTARG *pvarargIn,
        VARIANTARG *pvarargOut) = 0;

    virtual HRESULT STDMETHODCALLTYPE _SendChildren(
        HWND hwndBar,
        BOOL fBroadcast,
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetFolderSetData(
        struct tagFolderSetData *pfsd) = 0;

    virtual HRESULT STDMETHODCALLTYPE _OnFocusChange(
        UINT itb) = 0;

    virtual HRESULT STDMETHODCALLTYPE v_ShowHideChildWindows(
        BOOL fChildOnly) = 0;

    virtual UINT STDMETHODCALLTYPE _get_itbLastFocus(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _put_itbLastFocus(
        UINT itbLastFocus) = 0;

    virtual HRESULT STDMETHODCALLTYPE _UIActivateView(
        UINT uState) = 0;

    virtual HRESULT STDMETHODCALLTYPE _GetViewBorderRect(
        RECT *prc) = 0;

    virtual HRESULT STDMETHODCALLTYPE _UpdateViewRectSize(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _ResizeNextBorder(
        UINT itb) = 0;

    virtual HRESULT STDMETHODCALLTYPE _ResizeView(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE _GetEffectiveClientArea(
        LPRECT lprectBorder,
        HMONITOR hmon) = 0;

    virtual IStream * STDMETHODCALLTYPE v_GetViewStream(
        LPCITEMIDLIST pidl,
        DWORD grfMode,
        LPCWSTR pwszName) = 0;

    virtual LRESULT STDMETHODCALLTYPE ForwardViewMsg(
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetAcceleratorMenu(
        HACCEL hacc) = 0;

    virtual int STDMETHODCALLTYPE _GetToolbarCount(
        ) = 0;

    virtual LPTOOLBARITEM STDMETHODCALLTYPE _GetToolbarItem(
        int itb) = 0;

    virtual HRESULT STDMETHODCALLTYPE _SaveToolbars(
        IStream *pstm) = 0;

    virtual HRESULT STDMETHODCALLTYPE _LoadToolbars(
        IStream *pstm) = 0;

    virtual HRESULT STDMETHODCALLTYPE _CloseAndReleaseToolbars(
        BOOL fClose) = 0;

    virtual HRESULT STDMETHODCALLTYPE v_MayGetNextToolbarFocus(
        LPMSG lpMsg,
        UINT itbNext,
        int citb,
        LPTOOLBARITEM *pptbi,
        HWND *phwnd) = 0;

    virtual HRESULT STDMETHODCALLTYPE _ResizeNextBorderHelper(
        UINT itb,
        BOOL bUseHmonitor) = 0;

    virtual UINT STDMETHODCALLTYPE _FindTBar(
        IUnknown *punkSrc) = 0;

    virtual HRESULT STDMETHODCALLTYPE _SetFocus(
        LPTOOLBARITEM ptbi,
        HWND hwnd,
        LPMSG lpMsg) = 0;

    virtual HRESULT STDMETHODCALLTYPE v_MayTranslateAccelerator(
        MSG *pmsg) = 0;

    virtual HRESULT STDMETHODCALLTYPE _GetBorderDWHelper(
        IUnknown *punkSrc,
        LPRECT lprectBorder,
        BOOL bUseHmonitor) = 0;

    virtual HRESULT STDMETHODCALLTYPE v_CheckZoneCrossing(
        LPCITEMIDLIST pidl) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBrowserService2, 0x68bd21cc, 0x438b, 0x11d2, 0xa5,0x60, 0x00,0xa0,0xc9,0x2d,0xbf,0xe8)
#endif
#else
typedef struct IBrowserService2Vtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IBrowserService2* This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IBrowserService2* This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IBrowserService2* This);

    /*** IBrowserService methods ***/
    HRESULT (STDMETHODCALLTYPE *GetParentSite)(
        IBrowserService2* This,
        IOleInPlaceSite **ppipsite);

    HRESULT (STDMETHODCALLTYPE *SetTitle)(
        IBrowserService2* This,
        IShellView *psv,
        LPCWSTR pszName);

    HRESULT (STDMETHODCALLTYPE *GetTitle)(
        IBrowserService2* This,
        IShellView *psv,
        LPWSTR pszName,
        DWORD cchName);

    HRESULT (STDMETHODCALLTYPE *GetOleObject)(
        IBrowserService2* This,
        IOleObject **ppobjv);

    HRESULT (STDMETHODCALLTYPE *GetTravelLog)(
        IBrowserService2* This,
        ITravelLog **pptl);

    HRESULT (STDMETHODCALLTYPE *ShowControlWindow)(
        IBrowserService2* This,
        UINT id,
        BOOL fShow);

    HRESULT (STDMETHODCALLTYPE *IsControlWindowShown)(
        IBrowserService2* This,
        UINT id,
        BOOL *pfShown);

    HRESULT (STDMETHODCALLTYPE *IEGetDisplayName)(
        IBrowserService2* This,
        PCIDLIST_ABSOLUTE pidl,
        LPWSTR pwszName,
        UINT uFlags);

    HRESULT (STDMETHODCALLTYPE *IEParseDisplayName)(
        IBrowserService2* This,
        UINT uiCP,
        LPCWSTR pwszPath,
        PIDLIST_ABSOLUTE *ppidlOut);

    HRESULT (STDMETHODCALLTYPE *DisplayParseError)(
        IBrowserService2* This,
        HRESULT hres,
        LPCWSTR pwszPath);

    HRESULT (STDMETHODCALLTYPE *NavigateToPidl)(
        IBrowserService2* This,
        PCIDLIST_ABSOLUTE pidl,
        DWORD grfHLNF);

    HRESULT (STDMETHODCALLTYPE *SetNavigateState)(
        IBrowserService2* This,
        BNSTATE bnstate);

    HRESULT (STDMETHODCALLTYPE *GetNavigateState)(
        IBrowserService2* This,
        BNSTATE *pbnstate);

    HRESULT (STDMETHODCALLTYPE *NotifyRedirect)(
        IBrowserService2* This,
        IShellView *psv,
        PCIDLIST_ABSOLUTE pidl,
        BOOL *pfDidBrowse);

    HRESULT (STDMETHODCALLTYPE *UpdateWindowList)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *UpdateBackForwardState)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *SetFlags)(
        IBrowserService2* This,
        DWORD dwFlags,
        DWORD dwFlagMask);

    HRESULT (STDMETHODCALLTYPE *GetFlags)(
        IBrowserService2* This,
        DWORD *pdwFlags);

    HRESULT (STDMETHODCALLTYPE *CanNavigateNow)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *GetPidl)(
        IBrowserService2* This,
        PIDLIST_ABSOLUTE *ppidl);

    HRESULT (STDMETHODCALLTYPE *SetReferrer)(
        IBrowserService2* This,
        PCIDLIST_ABSOLUTE pidl);

    DWORD (STDMETHODCALLTYPE *GetBrowserIndex)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *GetBrowserByIndex)(
        IBrowserService2* This,
        DWORD dwID,
        IUnknown **ppunk);

    HRESULT (STDMETHODCALLTYPE *GetHistoryObject)(
        IBrowserService2* This,
        IOleObject **ppole,
        IStream **pstm,
        IBindCtx **ppbc);

    HRESULT (STDMETHODCALLTYPE *SetHistoryObject)(
        IBrowserService2* This,
        IOleObject *pole,
        BOOL fIsLocalAnchor);

    HRESULT (STDMETHODCALLTYPE *CacheOLEServer)(
        IBrowserService2* This,
        IOleObject *pole);

    HRESULT (STDMETHODCALLTYPE *GetSetCodePage)(
        IBrowserService2* This,
        VARIANT *pvarIn,
        VARIANT *pvarOut);

    HRESULT (STDMETHODCALLTYPE *OnHttpEquiv)(
        IBrowserService2* This,
        IShellView *psv,
        BOOL fDone,
        VARIANT *pvarargIn,
        VARIANT *pvarargOut);

    HRESULT (STDMETHODCALLTYPE *GetPalette)(
        IBrowserService2* This,
        HPALETTE *hpal);

    HRESULT (STDMETHODCALLTYPE *RegisterWindow)(
        IBrowserService2* This,
        BOOL fForceRegister,
        int swc);

    /*** IBrowserService2 methods ***/
    LRESULT (STDMETHODCALLTYPE *WndProcBS)(
        IBrowserService2* This,
        HWND hwnd,
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam);

    HRESULT (STDMETHODCALLTYPE *SetAsDefFolderSettings)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *GetViewRect)(
        IBrowserService2* This,
        RECT *prc);

    HRESULT (STDMETHODCALLTYPE *OnSize)(
        IBrowserService2* This,
        WPARAM wParam);

    HRESULT (STDMETHODCALLTYPE *OnCreate)(
        IBrowserService2* This,
        struct tagCREATESTRUCTW *pcs);

    LRESULT (STDMETHODCALLTYPE *OnCommand)(
        IBrowserService2* This,
        WPARAM wParam,
        LPARAM lParam);

    HRESULT (STDMETHODCALLTYPE *OnDestroy)(
        IBrowserService2* This);

    LRESULT (STDMETHODCALLTYPE *OnNotify)(
        IBrowserService2* This,
        struct tagNMHDR *pnm);

    HRESULT (STDMETHODCALLTYPE *OnSetFocus)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivateBS)(
        IBrowserService2* This,
        BOOL fActive);

    HRESULT (STDMETHODCALLTYPE *ReleaseShellView)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *ActivatePendingView)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *CreateViewWindow)(
        IBrowserService2* This,
        IShellView *psvNew,
        IShellView *psvOld,
        LPRECT prcView,
        HWND *phwnd);

    HRESULT (STDMETHODCALLTYPE *CreateBrowserPropSheetExt)(
        IBrowserService2* This,
        REFIID riid,
        void **ppv);

    HRESULT (STDMETHODCALLTYPE *GetViewWindow)(
        IBrowserService2* This,
        HWND *phwndView);

    HRESULT (STDMETHODCALLTYPE *GetBaseBrowserData)(
        IBrowserService2* This,
        LPCBASEBROWSERDATA *pbbd);

    LPBASEBROWSERDATA (STDMETHODCALLTYPE *PutBaseBrowserData)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *InitializeTravelLog)(
        IBrowserService2* This,
        ITravelLog *ptl,
        DWORD dw);

    HRESULT (STDMETHODCALLTYPE *SetTopBrowser)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *Offline)(
        IBrowserService2* This,
        int iCmd);

    HRESULT (STDMETHODCALLTYPE *AllowViewResize)(
        IBrowserService2* This,
        BOOL f);

    HRESULT (STDMETHODCALLTYPE *SetActivateState)(
        IBrowserService2* This,
        UINT u);

    HRESULT (STDMETHODCALLTYPE *UpdateSecureLockIcon)(
        IBrowserService2* This,
        int eSecureLock);

    HRESULT (STDMETHODCALLTYPE *InitializeDownloadManager)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *InitializeTransitionSite)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_Initialize)(
        IBrowserService2* This,
        HWND hwnd,
        IUnknown *pauto);

    HRESULT (STDMETHODCALLTYPE *_CancelPendingNavigationAsync)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_CancelPendingView)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_MaySaveChanges)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_PauseOrResumeView)(
        IBrowserService2* This,
        BOOL fPaused);

    HRESULT (STDMETHODCALLTYPE *_DisableModeless)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_NavigateToPidl)(
        IBrowserService2* This,
        LPCITEMIDLIST pidl,
        DWORD grfHLNF,
        DWORD dwFlags);

    HRESULT (STDMETHODCALLTYPE *_TryShell2Rename)(
        IBrowserService2* This,
        IShellView *psv,
        LPCITEMIDLIST pidlNew);

    HRESULT (STDMETHODCALLTYPE *_SwitchActivationNow)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_ExecChildren)(
        IBrowserService2* This,
        IUnknown *punkBar,
        BOOL fBroadcast,
        const GUID *pguidCmdGroup,
        DWORD nCmdID,
        DWORD nCmdexecopt,
        VARIANTARG *pvarargIn,
        VARIANTARG *pvarargOut);

    HRESULT (STDMETHODCALLTYPE *_SendChildren)(
        IBrowserService2* This,
        HWND hwndBar,
        BOOL fBroadcast,
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam);

    HRESULT (STDMETHODCALLTYPE *GetFolderSetData)(
        IBrowserService2* This,
        struct tagFolderSetData *pfsd);

    HRESULT (STDMETHODCALLTYPE *_OnFocusChange)(
        IBrowserService2* This,
        UINT itb);

    HRESULT (STDMETHODCALLTYPE *v_ShowHideChildWindows)(
        IBrowserService2* This,
        BOOL fChildOnly);

    UINT (STDMETHODCALLTYPE *_get_itbLastFocus)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_put_itbLastFocus)(
        IBrowserService2* This,
        UINT itbLastFocus);

    HRESULT (STDMETHODCALLTYPE *_UIActivateView)(
        IBrowserService2* This,
        UINT uState);

    HRESULT (STDMETHODCALLTYPE *_GetViewBorderRect)(
        IBrowserService2* This,
        RECT *prc);

    HRESULT (STDMETHODCALLTYPE *_UpdateViewRectSize)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_ResizeNextBorder)(
        IBrowserService2* This,
        UINT itb);

    HRESULT (STDMETHODCALLTYPE *_ResizeView)(
        IBrowserService2* This);

    HRESULT (STDMETHODCALLTYPE *_GetEffectiveClientArea)(
        IBrowserService2* This,
        LPRECT lprectBorder,
        HMONITOR hmon);

    IStream * (STDMETHODCALLTYPE *v_GetViewStream)(
        IBrowserService2* This,
        LPCITEMIDLIST pidl,
        DWORD grfMode,
        LPCWSTR pwszName);

    LRESULT (STDMETHODCALLTYPE *ForwardViewMsg)(
        IBrowserService2* This,
        UINT uMsg,
        WPARAM wParam,
        LPARAM lParam);

    HRESULT (STDMETHODCALLTYPE *SetAcceleratorMenu)(
        IBrowserService2* This,
        HACCEL hacc);

    int (STDMETHODCALLTYPE *_GetToolbarCount)(
        IBrowserService2* This);

    LPTOOLBARITEM (STDMETHODCALLTYPE *_GetToolbarItem)(
        IBrowserService2* This,
        int itb);

    HRESULT (STDMETHODCALLTYPE *_SaveToolbars)(
        IBrowserService2* This,
        IStream *pstm);

    HRESULT (STDMETHODCALLTYPE *_LoadToolbars)(
        IBrowserService2* This,
        IStream *pstm);

    HRESULT (STDMETHODCALLTYPE *_CloseAndReleaseToolbars)(
        IBrowserService2* This,
        BOOL fClose);

    HRESULT (STDMETHODCALLTYPE *v_MayGetNextToolbarFocus)(
        IBrowserService2* This,
        LPMSG lpMsg,
        UINT itbNext,
        int citb,
        LPTOOLBARITEM *pptbi,
        HWND *phwnd);

    HRESULT (STDMETHODCALLTYPE *_ResizeNextBorderHelper)(
        IBrowserService2* This,
        UINT itb,
        BOOL bUseHmonitor);

    UINT (STDMETHODCALLTYPE *_FindTBar)(
        IBrowserService2* This,
        IUnknown *punkSrc);

    HRESULT (STDMETHODCALLTYPE *_SetFocus)(
        IBrowserService2* This,
        LPTOOLBARITEM ptbi,
        HWND hwnd,
        LPMSG lpMsg);

    HRESULT (STDMETHODCALLTYPE *v_MayTranslateAccelerator)(
        IBrowserService2* This,
        MSG *pmsg);

    HRESULT (STDMETHODCALLTYPE *_GetBorderDWHelper)(
        IBrowserService2* This,
        IUnknown *punkSrc,
        LPRECT lprectBorder,
        BOOL bUseHmonitor);

    HRESULT (STDMETHODCALLTYPE *v_CheckZoneCrossing)(
        IBrowserService2* This,
        LPCITEMIDLIST pidl);

    END_INTERFACE
} IBrowserService2Vtbl;
interface IBrowserService2 {
    CONST_VTBL IBrowserService2Vtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBrowserService2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBrowserService2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBrowserService2_Release(This) (This)->lpVtbl->Release(This)
/*** IBrowserService methods ***/
#define IBrowserService2_GetParentSite(This,ppipsite) (This)->lpVtbl->GetParentSite(This,ppipsite)
#define IBrowserService2_SetTitle(This,psv,pszName) (This)->lpVtbl->SetTitle(This,psv,pszName)
#define IBrowserService2_GetTitle(This,psv,pszName,cchName) (This)->lpVtbl->GetTitle(This,psv,pszName,cchName)
#define IBrowserService2_GetOleObject(This,ppobjv) (This)->lpVtbl->GetOleObject(This,ppobjv)
#define IBrowserService2_GetTravelLog(This,pptl) (This)->lpVtbl->GetTravelLog(This,pptl)
#define IBrowserService2_ShowControlWindow(This,id,fShow) (This)->lpVtbl->ShowControlWindow(This,id,fShow)
#define IBrowserService2_IsControlWindowShown(This,id,pfShown) (This)->lpVtbl->IsControlWindowShown(This,id,pfShown)
#define IBrowserService2_IEGetDisplayName(This,pidl,pwszName,uFlags) (This)->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags)
#define IBrowserService2_IEParseDisplayName(This,uiCP,pwszPath,ppidlOut) (This)->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut)
#define IBrowserService2_DisplayParseError(This,hres,pwszPath) (This)->lpVtbl->DisplayParseError(This,hres,pwszPath)
#define IBrowserService2_NavigateToPidl(This,pidl,grfHLNF) (This)->lpVtbl->NavigateToPidl(This,pidl,grfHLNF)
#define IBrowserService2_SetNavigateState(This,bnstate) (This)->lpVtbl->SetNavigateState(This,bnstate)
#define IBrowserService2_GetNavigateState(This,pbnstate) (This)->lpVtbl->GetNavigateState(This,pbnstate)
#define IBrowserService2_NotifyRedirect(This,psv,pidl,pfDidBrowse) (This)->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse)
#define IBrowserService2_UpdateWindowList(This) (This)->lpVtbl->UpdateWindowList(This)
#define IBrowserService2_UpdateBackForwardState(This) (This)->lpVtbl->UpdateBackForwardState(This)
#define IBrowserService2_SetFlags(This,dwFlags,dwFlagMask) (This)->lpVtbl->SetFlags(This,dwFlags,dwFlagMask)
#define IBrowserService2_GetFlags(This,pdwFlags) (This)->lpVtbl->GetFlags(This,pdwFlags)
#define IBrowserService2_CanNavigateNow(This) (This)->lpVtbl->CanNavigateNow(This)
#define IBrowserService2_GetPidl(This,ppidl) (This)->lpVtbl->GetPidl(This,ppidl)
#define IBrowserService2_SetReferrer(This,pidl) (This)->lpVtbl->SetReferrer(This,pidl)
#define IBrowserService2_GetBrowserIndex(This) (This)->lpVtbl->GetBrowserIndex(This)
#define IBrowserService2_GetBrowserByIndex(This,dwID,ppunk) (This)->lpVtbl->GetBrowserByIndex(This,dwID,ppunk)
#define IBrowserService2_GetHistoryObject(This,ppole,pstm,ppbc) (This)->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc)
#define IBrowserService2_SetHistoryObject(This,pole,fIsLocalAnchor) (This)->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor)
#define IBrowserService2_CacheOLEServer(This,pole) (This)->lpVtbl->CacheOLEServer(This,pole)
#define IBrowserService2_GetSetCodePage(This,pvarIn,pvarOut) (This)->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut)
#define IBrowserService2_OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut) (This)->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut)
#define IBrowserService2_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal)
#define IBrowserService2_RegisterWindow(This,fForceRegister,swc) (This)->lpVtbl->RegisterWindow(This,fForceRegister,swc)
/*** IBrowserService2 methods ***/
#define IBrowserService2_WndProcBS(This,hwnd,uMsg,wParam,lParam) (This)->lpVtbl->WndProcBS(This,hwnd,uMsg,wParam,lParam)
#define IBrowserService2_SetAsDefFolderSettings(This) (This)->lpVtbl->SetAsDefFolderSettings(This)
#define IBrowserService2_GetViewRect(This,prc) (This)->lpVtbl->GetViewRect(This,prc)
#define IBrowserService2_OnSize(This,wParam) (This)->lpVtbl->OnSize(This,wParam)
#define IBrowserService2_OnCreate(This,pcs) (This)->lpVtbl->OnCreate(This,pcs)
#define IBrowserService2_OnCommand(This,wParam,lParam) (This)->lpVtbl->OnCommand(This,wParam,lParam)
#define IBrowserService2_OnDestroy(This) (This)->lpVtbl->OnDestroy(This)
#define IBrowserService2_OnNotify(This,pnm) (This)->lpVtbl->OnNotify(This,pnm)
#define IBrowserService2_OnSetFocus(This) (This)->lpVtbl->OnSetFocus(This)
#define IBrowserService2_OnFrameWindowActivateBS(This,fActive) (This)->lpVtbl->OnFrameWindowActivateBS(This,fActive)
#define IBrowserService2_ReleaseShellView(This) (This)->lpVtbl->ReleaseShellView(This)
#define IBrowserService2_ActivatePendingView(This) (This)->lpVtbl->ActivatePendingView(This)
#define IBrowserService2_CreateViewWindow(This,psvNew,psvOld,prcView,phwnd) (This)->lpVtbl->CreateViewWindow(This,psvNew,psvOld,prcView,phwnd)
#define IBrowserService2_CreateBrowserPropSheetExt(This,riid,ppv) (This)->lpVtbl->CreateBrowserPropSheetExt(This,riid,ppv)
#define IBrowserService2_GetViewWindow(This,phwndView) (This)->lpVtbl->GetViewWindow(This,phwndView)
#define IBrowserService2_GetBaseBrowserData(This,pbbd) (This)->lpVtbl->GetBaseBrowserData(This,pbbd)
#define IBrowserService2_PutBaseBrowserData(This) (This)->lpVtbl->PutBaseBrowserData(This)
#define IBrowserService2_InitializeTravelLog(This,ptl,dw) (This)->lpVtbl->InitializeTravelLog(This,ptl,dw)
#define IBrowserService2_SetTopBrowser(This) (This)->lpVtbl->SetTopBrowser(This)
#define IBrowserService2_Offline(This,iCmd) (This)->lpVtbl->Offline(This,iCmd)
#define IBrowserService2_AllowViewResize(This,f) (This)->lpVtbl->AllowViewResize(This,f)
#define IBrowserService2_SetActivateState(This,u) (This)->lpVtbl->SetActivateState(This,u)
#define IBrowserService2_UpdateSecureLockIcon(This,eSecureLock) (This)->lpVtbl->UpdateSecureLockIcon(This,eSecureLock)
#define IBrowserService2_InitializeDownloadManager(This) (This)->lpVtbl->InitializeDownloadManager(This)
#define IBrowserService2_InitializeTransitionSite(This) (This)->lpVtbl->InitializeTransitionSite(This)
#define IBrowserService2__Initialize(This,hwnd,pauto) (This)->lpVtbl->_Initialize(This,hwnd,pauto)
#define IBrowserService2__CancelPendingNavigationAsync(This) (This)->lpVtbl->_CancelPendingNavigationAsync(This)
#define IBrowserService2__CancelPendingView(This) (This)->lpVtbl->_CancelPendingView(This)
#define IBrowserService2__MaySaveChanges(This) (This)->lpVtbl->_MaySaveChanges(This)
#define IBrowserService2__PauseOrResumeView(This,fPaused) (This)->lpVtbl->_PauseOrResumeView(This,fPaused)
#define IBrowserService2__DisableModeless(This) (This)->lpVtbl->_DisableModeless(This)
#define IBrowserService2__NavigateToPidl(This,pidl,grfHLNF,dwFlags) (This)->lpVtbl->_NavigateToPidl(This,pidl,grfHLNF,dwFlags)
#define IBrowserService2__TryShell2Rename(This,psv,pidlNew) (This)->lpVtbl->_TryShell2Rename(This,psv,pidlNew)
#define IBrowserService2__SwitchActivationNow(This) (This)->lpVtbl->_SwitchActivationNow(This)
#define IBrowserService2__ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut) (This)->lpVtbl->_ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut)
#define IBrowserService2__SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam) (This)->lpVtbl->_SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam)
#define IBrowserService2_GetFolderSetData(This,pfsd) (This)->lpVtbl->GetFolderSetData(This,pfsd)
#define IBrowserService2__OnFocusChange(This,itb) (This)->lpVtbl->_OnFocusChange(This,itb)
#define IBrowserService2_v_ShowHideChildWindows(This,fChildOnly) (This)->lpVtbl->v_ShowHideChildWindows(This,fChildOnly)
#define IBrowserService2__get_itbLastFocus(This) (This)->lpVtbl->_get_itbLastFocus(This)
#define IBrowserService2__put_itbLastFocus(This,itbLastFocus) (This)->lpVtbl->_put_itbLastFocus(This,itbLastFocus)
#define IBrowserService2__UIActivateView(This,uState) (This)->lpVtbl->_UIActivateView(This,uState)
#define IBrowserService2__GetViewBorderRect(This,prc) (This)->lpVtbl->_GetViewBorderRect(This,prc)
#define IBrowserService2__UpdateViewRectSize(This) (This)->lpVtbl->_UpdateViewRectSize(This)
#define IBrowserService2__ResizeNextBorder(This,itb) (This)->lpVtbl->_ResizeNextBorder(This,itb)
#define IBrowserService2__ResizeView(This) (This)->lpVtbl->_ResizeView(This)
#define IBrowserService2__GetEffectiveClientArea(This,lprectBorder,hmon) (This)->lpVtbl->_GetEffectiveClientArea(This,lprectBorder,hmon)
#define IBrowserService2_v_GetViewStream(This,pidl,grfMode,pwszName) (This)->lpVtbl->v_GetViewStream(This,pidl,grfMode,pwszName)
#define IBrowserService2_ForwardViewMsg(This,uMsg,wParam,lParam) (This)->lpVtbl->ForwardViewMsg(This,uMsg,wParam,lParam)
#define IBrowserService2_SetAcceleratorMenu(This,hacc) (This)->lpVtbl->SetAcceleratorMenu(This,hacc)
#define IBrowserService2__GetToolbarCount(This) (This)->lpVtbl->_GetToolbarCount(This)
#define IBrowserService2__GetToolbarItem(This,itb) (This)->lpVtbl->_GetToolbarItem(This,itb)
#define IBrowserService2__SaveToolbars(This,pstm) (This)->lpVtbl->_SaveToolbars(This,pstm)
#define IBrowserService2__LoadToolbars(This,pstm) (This)->lpVtbl->_LoadToolbars(This,pstm)
#define IBrowserService2__CloseAndReleaseToolbars(This,fClose) (This)->lpVtbl->_CloseAndReleaseToolbars(This,fClose)
#define IBrowserService2_v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd) (This)->lpVtbl->v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd)
#define IBrowserService2__ResizeNextBorderHelper(This,itb,bUseHmonitor) (This)->lpVtbl->_ResizeNextBorderHelper(This,itb,bUseHmonitor)
#define IBrowserService2__FindTBar(This,punkSrc) (This)->lpVtbl->_FindTBar(This,punkSrc)
#define IBrowserService2__SetFocus(This,ptbi,hwnd,lpMsg) (This)->lpVtbl->_SetFocus(This,ptbi,hwnd,lpMsg)
#define IBrowserService2_v_MayTranslateAccelerator(This,pmsg) (This)->lpVtbl->v_MayTranslateAccelerator(This,pmsg)
#define IBrowserService2__GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor) (This)->lpVtbl->_GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor)
#define IBrowserService2_v_CheckZoneCrossing(This,pidl) (This)->lpVtbl->v_CheckZoneCrossing(This,pidl)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBrowserService2_QueryInterface(IBrowserService2* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBrowserService2_AddRef(IBrowserService2* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBrowserService2_Release(IBrowserService2* This) {
    return This->lpVtbl->Release(This);
}
/*** IBrowserService methods ***/
static FORCEINLINE HRESULT IBrowserService2_GetParentSite(IBrowserService2* This,IOleInPlaceSite **ppipsite) {
    return This->lpVtbl->GetParentSite(This,ppipsite);
}
static FORCEINLINE HRESULT IBrowserService2_SetTitle(IBrowserService2* This,IShellView *psv,LPCWSTR pszName) {
    return This->lpVtbl->SetTitle(This,psv,pszName);
}
static FORCEINLINE HRESULT IBrowserService2_GetTitle(IBrowserService2* This,IShellView *psv,LPWSTR pszName,DWORD cchName) {
    return This->lpVtbl->GetTitle(This,psv,pszName,cchName);
}
static FORCEINLINE HRESULT IBrowserService2_GetOleObject(IBrowserService2* This,IOleObject **ppobjv) {
    return This->lpVtbl->GetOleObject(This,ppobjv);
}
static FORCEINLINE HRESULT IBrowserService2_GetTravelLog(IBrowserService2* This,ITravelLog **pptl) {
    return This->lpVtbl->GetTravelLog(This,pptl);
}
static FORCEINLINE HRESULT IBrowserService2_ShowControlWindow(IBrowserService2* This,UINT id,BOOL fShow) {
    return This->lpVtbl->ShowControlWindow(This,id,fShow);
}
static FORCEINLINE HRESULT IBrowserService2_IsControlWindowShown(IBrowserService2* This,UINT id,BOOL *pfShown) {
    return This->lpVtbl->IsControlWindowShown(This,id,pfShown);
}
static FORCEINLINE HRESULT IBrowserService2_IEGetDisplayName(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl,LPWSTR pwszName,UINT uFlags) {
    return This->lpVtbl->IEGetDisplayName(This,pidl,pwszName,uFlags);
}
static FORCEINLINE HRESULT IBrowserService2_IEParseDisplayName(IBrowserService2* This,UINT uiCP,LPCWSTR pwszPath,PIDLIST_ABSOLUTE *ppidlOut) {
    return This->lpVtbl->IEParseDisplayName(This,uiCP,pwszPath,ppidlOut);
}
static FORCEINLINE HRESULT IBrowserService2_DisplayParseError(IBrowserService2* This,HRESULT hres,LPCWSTR pwszPath) {
    return This->lpVtbl->DisplayParseError(This,hres,pwszPath);
}
static FORCEINLINE HRESULT IBrowserService2_NavigateToPidl(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl,DWORD grfHLNF) {
    return This->lpVtbl->NavigateToPidl(This,pidl,grfHLNF);
}
static FORCEINLINE HRESULT IBrowserService2_SetNavigateState(IBrowserService2* This,BNSTATE bnstate) {
    return This->lpVtbl->SetNavigateState(This,bnstate);
}
static FORCEINLINE HRESULT IBrowserService2_GetNavigateState(IBrowserService2* This,BNSTATE *pbnstate) {
    return This->lpVtbl->GetNavigateState(This,pbnstate);
}
static FORCEINLINE HRESULT IBrowserService2_NotifyRedirect(IBrowserService2* This,IShellView *psv,PCIDLIST_ABSOLUTE pidl,BOOL *pfDidBrowse) {
    return This->lpVtbl->NotifyRedirect(This,psv,pidl,pfDidBrowse);
}
static FORCEINLINE HRESULT IBrowserService2_UpdateWindowList(IBrowserService2* This) {
    return This->lpVtbl->UpdateWindowList(This);
}
static FORCEINLINE HRESULT IBrowserService2_UpdateBackForwardState(IBrowserService2* This) {
    return This->lpVtbl->UpdateBackForwardState(This);
}
static FORCEINLINE HRESULT IBrowserService2_SetFlags(IBrowserService2* This,DWORD dwFlags,DWORD dwFlagMask) {
    return This->lpVtbl->SetFlags(This,dwFlags,dwFlagMask);
}
static FORCEINLINE HRESULT IBrowserService2_GetFlags(IBrowserService2* This,DWORD *pdwFlags) {
    return This->lpVtbl->GetFlags(This,pdwFlags);
}
static FORCEINLINE HRESULT IBrowserService2_CanNavigateNow(IBrowserService2* This) {
    return This->lpVtbl->CanNavigateNow(This);
}
static FORCEINLINE HRESULT IBrowserService2_GetPidl(IBrowserService2* This,PIDLIST_ABSOLUTE *ppidl) {
    return This->lpVtbl->GetPidl(This,ppidl);
}
static FORCEINLINE HRESULT IBrowserService2_SetReferrer(IBrowserService2* This,PCIDLIST_ABSOLUTE pidl) {
    return This->lpVtbl->SetReferrer(This,pidl);
}
static FORCEINLINE DWORD IBrowserService2_GetBrowserIndex(IBrowserService2* This) {
    return This->lpVtbl->GetBrowserIndex(This);
}
static FORCEINLINE HRESULT IBrowserService2_GetBrowserByIndex(IBrowserService2* This,DWORD dwID,IUnknown **ppunk) {
    return This->lpVtbl->GetBrowserByIndex(This,dwID,ppunk);
}
static FORCEINLINE HRESULT IBrowserService2_GetHistoryObject(IBrowserService2* This,IOleObject **ppole,IStream **pstm,IBindCtx **ppbc) {
    return This->lpVtbl->GetHistoryObject(This,ppole,pstm,ppbc);
}
static FORCEINLINE HRESULT IBrowserService2_SetHistoryObject(IBrowserService2* This,IOleObject *pole,BOOL fIsLocalAnchor) {
    return This->lpVtbl->SetHistoryObject(This,pole,fIsLocalAnchor);
}
static FORCEINLINE HRESULT IBrowserService2_CacheOLEServer(IBrowserService2* This,IOleObject *pole) {
    return This->lpVtbl->CacheOLEServer(This,pole);
}
static FORCEINLINE HRESULT IBrowserService2_GetSetCodePage(IBrowserService2* This,VARIANT *pvarIn,VARIANT *pvarOut) {
    return This->lpVtbl->GetSetCodePage(This,pvarIn,pvarOut);
}
static FORCEINLINE HRESULT IBrowserService2_OnHttpEquiv(IBrowserService2* This,IShellView *psv,BOOL fDone,VARIANT *pvarargIn,VARIANT *pvarargOut) {
    return This->lpVtbl->OnHttpEquiv(This,psv,fDone,pvarargIn,pvarargOut);
}
static FORCEINLINE HRESULT IBrowserService2_GetPalette(IBrowserService2* This,HPALETTE *hpal) {
    return This->lpVtbl->GetPalette(This,hpal);
}
static FORCEINLINE HRESULT IBrowserService2_RegisterWindow(IBrowserService2* This,BOOL fForceRegister,int swc) {
    return This->lpVtbl->RegisterWindow(This,fForceRegister,swc);
}
/*** IBrowserService2 methods ***/
static FORCEINLINE LRESULT IBrowserService2_WndProcBS(IBrowserService2* This,HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) {
    return This->lpVtbl->WndProcBS(This,hwnd,uMsg,wParam,lParam);
}
static FORCEINLINE HRESULT IBrowserService2_SetAsDefFolderSettings(IBrowserService2* This) {
    return This->lpVtbl->SetAsDefFolderSettings(This);
}
static FORCEINLINE HRESULT IBrowserService2_GetViewRect(IBrowserService2* This,RECT *prc) {
    return This->lpVtbl->GetViewRect(This,prc);
}
static FORCEINLINE HRESULT IBrowserService2_OnSize(IBrowserService2* This,WPARAM wParam) {
    return This->lpVtbl->OnSize(This,wParam);
}
static FORCEINLINE HRESULT IBrowserService2_OnCreate(IBrowserService2* This,struct tagCREATESTRUCTW *pcs) {
    return This->lpVtbl->OnCreate(This,pcs);
}
static FORCEINLINE LRESULT IBrowserService2_OnCommand(IBrowserService2* This,WPARAM wParam,LPARAM lParam) {
    return This->lpVtbl->OnCommand(This,wParam,lParam);
}
static FORCEINLINE HRESULT IBrowserService2_OnDestroy(IBrowserService2* This) {
    return This->lpVtbl->OnDestroy(This);
}
static FORCEINLINE LRESULT IBrowserService2_OnNotify(IBrowserService2* This,struct tagNMHDR *pnm) {
    return This->lpVtbl->OnNotify(This,pnm);
}
static FORCEINLINE HRESULT IBrowserService2_OnSetFocus(IBrowserService2* This) {
    return This->lpVtbl->OnSetFocus(This);
}
static FORCEINLINE HRESULT IBrowserService2_OnFrameWindowActivateBS(IBrowserService2* This,BOOL fActive) {
    return This->lpVtbl->OnFrameWindowActivateBS(This,fActive);
}
static FORCEINLINE HRESULT IBrowserService2_ReleaseShellView(IBrowserService2* This) {
    return This->lpVtbl->ReleaseShellView(This);
}
static FORCEINLINE HRESULT IBrowserService2_ActivatePendingView(IBrowserService2* This) {
    return This->lpVtbl->ActivatePendingView(This);
}
static FORCEINLINE HRESULT IBrowserService2_CreateViewWindow(IBrowserService2* This,IShellView *psvNew,IShellView *psvOld,LPRECT prcView,HWND *phwnd) {
    return This->lpVtbl->CreateViewWindow(This,psvNew,psvOld,prcView,phwnd);
}
static FORCEINLINE HRESULT IBrowserService2_CreateBrowserPropSheetExt(IBrowserService2* This,REFIID riid,void **ppv) {
    return This->lpVtbl->CreateBrowserPropSheetExt(This,riid,ppv);
}
static FORCEINLINE HRESULT IBrowserService2_GetViewWindow(IBrowserService2* This,HWND *phwndView) {
    return This->lpVtbl->GetViewWindow(This,phwndView);
}
static FORCEINLINE HRESULT IBrowserService2_GetBaseBrowserData(IBrowserService2* This,LPCBASEBROWSERDATA *pbbd) {
    return This->lpVtbl->GetBaseBrowserData(This,pbbd);
}
static FORCEINLINE LPBASEBROWSERDATA IBrowserService2_PutBaseBrowserData(IBrowserService2* This) {
    return This->lpVtbl->PutBaseBrowserData(This);
}
static FORCEINLINE HRESULT IBrowserService2_InitializeTravelLog(IBrowserService2* This,ITravelLog *ptl,DWORD dw) {
    return This->lpVtbl->InitializeTravelLog(This,ptl,dw);
}
static FORCEINLINE HRESULT IBrowserService2_SetTopBrowser(IBrowserService2* This) {
    return This->lpVtbl->SetTopBrowser(This);
}
static FORCEINLINE HRESULT IBrowserService2_Offline(IBrowserService2* This,int iCmd) {
    return This->lpVtbl->Offline(This,iCmd);
}
static FORCEINLINE HRESULT IBrowserService2_AllowViewResize(IBrowserService2* This,BOOL f) {
    return This->lpVtbl->AllowViewResize(This,f);
}
static FORCEINLINE HRESULT IBrowserService2_SetActivateState(IBrowserService2* This,UINT u) {
    return This->lpVtbl->SetActivateState(This,u);
}
static FORCEINLINE HRESULT IBrowserService2_UpdateSecureLockIcon(IBrowserService2* This,int eSecureLock) {
    return This->lpVtbl->UpdateSecureLockIcon(This,eSecureLock);
}
static FORCEINLINE HRESULT IBrowserService2_InitializeDownloadManager(IBrowserService2* This) {
    return This->lpVtbl->InitializeDownloadManager(This);
}
static FORCEINLINE HRESULT IBrowserService2_InitializeTransitionSite(IBrowserService2* This) {
    return This->lpVtbl->InitializeTransitionSite(This);
}
static FORCEINLINE HRESULT IBrowserService2__Initialize(IBrowserService2* This,HWND hwnd,IUnknown *pauto) {
    return This->lpVtbl->_Initialize(This,hwnd,pauto);
}
static FORCEINLINE HRESULT IBrowserService2__CancelPendingNavigationAsync(IBrowserService2* This) {
    return This->lpVtbl->_CancelPendingNavigationAsync(This);
}
static FORCEINLINE HRESULT IBrowserService2__CancelPendingView(IBrowserService2* This) {
    return This->lpVtbl->_CancelPendingView(This);
}
static FORCEINLINE HRESULT IBrowserService2__MaySaveChanges(IBrowserService2* This) {
    return This->lpVtbl->_MaySaveChanges(This);
}
static FORCEINLINE HRESULT IBrowserService2__PauseOrResumeView(IBrowserService2* This,BOOL fPaused) {
    return This->lpVtbl->_PauseOrResumeView(This,fPaused);
}
static FORCEINLINE HRESULT IBrowserService2__DisableModeless(IBrowserService2* This) {
    return This->lpVtbl->_DisableModeless(This);
}
static FORCEINLINE HRESULT IBrowserService2__NavigateToPidl(IBrowserService2* This,LPCITEMIDLIST pidl,DWORD grfHLNF,DWORD dwFlags) {
    return This->lpVtbl->_NavigateToPidl(This,pidl,grfHLNF,dwFlags);
}
static FORCEINLINE HRESULT IBrowserService2__TryShell2Rename(IBrowserService2* This,IShellView *psv,LPCITEMIDLIST pidlNew) {
    return This->lpVtbl->_TryShell2Rename(This,psv,pidlNew);
}
static FORCEINLINE HRESULT IBrowserService2__SwitchActivationNow(IBrowserService2* This) {
    return This->lpVtbl->_SwitchActivationNow(This);
}
static FORCEINLINE HRESULT IBrowserService2__ExecChildren(IBrowserService2* This,IUnknown *punkBar,BOOL fBroadcast,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANTARG *pvarargIn,VARIANTARG *pvarargOut) {
    return This->lpVtbl->_ExecChildren(This,punkBar,fBroadcast,pguidCmdGroup,nCmdID,nCmdexecopt,pvarargIn,pvarargOut);
}
static FORCEINLINE HRESULT IBrowserService2__SendChildren(IBrowserService2* This,HWND hwndBar,BOOL fBroadcast,UINT uMsg,WPARAM wParam,LPARAM lParam) {
    return This->lpVtbl->_SendChildren(This,hwndBar,fBroadcast,uMsg,wParam,lParam);
}
static FORCEINLINE HRESULT IBrowserService2_GetFolderSetData(IBrowserService2* This,struct tagFolderSetData *pfsd) {
    return This->lpVtbl->GetFolderSetData(This,pfsd);
}
static FORCEINLINE HRESULT IBrowserService2__OnFocusChange(IBrowserService2* This,UINT itb) {
    return This->lpVtbl->_OnFocusChange(This,itb);
}
static FORCEINLINE HRESULT IBrowserService2_v_ShowHideChildWindows(IBrowserService2* This,BOOL fChildOnly) {
    return This->lpVtbl->v_ShowHideChildWindows(This,fChildOnly);
}
static FORCEINLINE UINT IBrowserService2__get_itbLastFocus(IBrowserService2* This) {
    return This->lpVtbl->_get_itbLastFocus(This);
}
static FORCEINLINE HRESULT IBrowserService2__put_itbLastFocus(IBrowserService2* This,UINT itbLastFocus) {
    return This->lpVtbl->_put_itbLastFocus(This,itbLastFocus);
}
static FORCEINLINE HRESULT IBrowserService2__UIActivateView(IBrowserService2* This,UINT uState) {
    return This->lpVtbl->_UIActivateView(This,uState);
}
static FORCEINLINE HRESULT IBrowserService2__GetViewBorderRect(IBrowserService2* This,RECT *prc) {
    return This->lpVtbl->_GetViewBorderRect(This,prc);
}
static FORCEINLINE HRESULT IBrowserService2__UpdateViewRectSize(IBrowserService2* This) {
    return This->lpVtbl->_UpdateViewRectSize(This);
}
static FORCEINLINE HRESULT IBrowserService2__ResizeNextBorder(IBrowserService2* This,UINT itb) {
    return This->lpVtbl->_ResizeNextBorder(This,itb);
}
static FORCEINLINE HRESULT IBrowserService2__ResizeView(IBrowserService2* This) {
    return This->lpVtbl->_ResizeView(This);
}
static FORCEINLINE HRESULT IBrowserService2__GetEffectiveClientArea(IBrowserService2* This,LPRECT lprectBorder,HMONITOR hmon) {
    return This->lpVtbl->_GetEffectiveClientArea(This,lprectBorder,hmon);
}
static FORCEINLINE IStream * IBrowserService2_v_GetViewStream(IBrowserService2* This,LPCITEMIDLIST pidl,DWORD grfMode,LPCWSTR pwszName) {
    return This->lpVtbl->v_GetViewStream(This,pidl,grfMode,pwszName);
}
static FORCEINLINE LRESULT IBrowserService2_ForwardViewMsg(IBrowserService2* This,UINT uMsg,WPARAM wParam,LPARAM lParam) {
    return This->lpVtbl->ForwardViewMsg(This,uMsg,wParam,lParam);
}
static FORCEINLINE HRESULT IBrowserService2_SetAcceleratorMenu(IBrowserService2* This,HACCEL hacc) {
    return This->lpVtbl->SetAcceleratorMenu(This,hacc);
}
static FORCEINLINE int IBrowserService2__GetToolbarCount(IBrowserService2* This) {
    return This->lpVtbl->_GetToolbarCount(This);
}
static FORCEINLINE LPTOOLBARITEM IBrowserService2__GetToolbarItem(IBrowserService2* This,int itb) {
    return This->lpVtbl->_GetToolbarItem(This,itb);
}
static FORCEINLINE HRESULT IBrowserService2__SaveToolbars(IBrowserService2* This,IStream *pstm) {
    return This->lpVtbl->_SaveToolbars(This,pstm);
}
static FORCEINLINE HRESULT IBrowserService2__LoadToolbars(IBrowserService2* This,IStream *pstm) {
    return This->lpVtbl->_LoadToolbars(This,pstm);
}
static FORCEINLINE HRESULT IBrowserService2__CloseAndReleaseToolbars(IBrowserService2* This,BOOL fClose) {
    return This->lpVtbl->_CloseAndReleaseToolbars(This,fClose);
}
static FORCEINLINE HRESULT IBrowserService2_v_MayGetNextToolbarFocus(IBrowserService2* This,LPMSG lpMsg,UINT itbNext,int citb,LPTOOLBARITEM *pptbi,HWND *phwnd) {
    return This->lpVtbl->v_MayGetNextToolbarFocus(This,lpMsg,itbNext,citb,pptbi,phwnd);
}
static FORCEINLINE HRESULT IBrowserService2__ResizeNextBorderHelper(IBrowserService2* This,UINT itb,BOOL bUseHmonitor) {
    return This->lpVtbl->_ResizeNextBorderHelper(This,itb,bUseHmonitor);
}
static FORCEINLINE UINT IBrowserService2__FindTBar(IBrowserService2* This,IUnknown *punkSrc) {
    return This->lpVtbl->_FindTBar(This,punkSrc);
}
static FORCEINLINE HRESULT IBrowserService2__SetFocus(IBrowserService2* This,LPTOOLBARITEM ptbi,HWND hwnd,LPMSG lpMsg) {
    return This->lpVtbl->_SetFocus(This,ptbi,hwnd,lpMsg);
}
static FORCEINLINE HRESULT IBrowserService2_v_MayTranslateAccelerator(IBrowserService2* This,MSG *pmsg) {
    return This->lpVtbl->v_MayTranslateAccelerator(This,pmsg);
}
static FORCEINLINE HRESULT IBrowserService2__GetBorderDWHelper(IBrowserService2* This,IUnknown *punkSrc,LPRECT lprectBorder,BOOL bUseHmonitor) {
    return This->lpVtbl->_GetBorderDWHelper(This,punkSrc,lprectBorder,bUseHmonitor);
}
static FORCEINLINE HRESULT IBrowserService2_v_CheckZoneCrossing(IBrowserService2* This,LPCITEMIDLIST pidl) {
    return This->lpVtbl->v_CheckZoneCrossing(This,pidl);
}
#endif
#endif

#endif

LRESULT STDMETHODCALLTYPE IBrowserService2_WndProcBS_Proxy(
    IBrowserService2* This,
    HWND hwnd,
    UINT uMsg,
    WPARAM wParam,
    LPARAM lParam);
void __RPC_STUB IBrowserService2_WndProcBS_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_SetAsDefFolderSettings_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_SetAsDefFolderSettings_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_GetViewRect_Proxy(
    IBrowserService2* This,
    RECT *prc);
void __RPC_STUB IBrowserService2_GetViewRect_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_OnSize_Proxy(
    IBrowserService2* This,
    WPARAM wParam);
void __RPC_STUB IBrowserService2_OnSize_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_OnCreate_Proxy(
    IBrowserService2* This,
    struct tagCREATESTRUCTW *pcs);
void __RPC_STUB IBrowserService2_OnCreate_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
LRESULT STDMETHODCALLTYPE IBrowserService2_OnCommand_Proxy(
    IBrowserService2* This,
    WPARAM wParam,
    LPARAM lParam);
void __RPC_STUB IBrowserService2_OnCommand_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_OnDestroy_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_OnDestroy_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
LRESULT STDMETHODCALLTYPE IBrowserService2_OnNotify_Proxy(
    IBrowserService2* This,
    struct tagNMHDR *pnm);
void __RPC_STUB IBrowserService2_OnNotify_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_OnSetFocus_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_OnSetFocus_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_OnFrameWindowActivateBS_Proxy(
    IBrowserService2* This,
    BOOL fActive);
void __RPC_STUB IBrowserService2_OnFrameWindowActivateBS_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_ReleaseShellView_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_ReleaseShellView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_ActivatePendingView_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_ActivatePendingView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_CreateViewWindow_Proxy(
    IBrowserService2* This,
    IShellView *psvNew,
    IShellView *psvOld,
    LPRECT prcView,
    HWND *phwnd);
void __RPC_STUB IBrowserService2_CreateViewWindow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_CreateBrowserPropSheetExt_Proxy(
    IBrowserService2* This,
    REFIID riid,
    void **ppv);
void __RPC_STUB IBrowserService2_CreateBrowserPropSheetExt_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_GetViewWindow_Proxy(
    IBrowserService2* This,
    HWND *phwndView);
void __RPC_STUB IBrowserService2_GetViewWindow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_GetBaseBrowserData_Proxy(
    IBrowserService2* This,
    LPCBASEBROWSERDATA *pbbd);
void __RPC_STUB IBrowserService2_GetBaseBrowserData_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
LPBASEBROWSERDATA STDMETHODCALLTYPE IBrowserService2_PutBaseBrowserData_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_PutBaseBrowserData_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_InitializeTravelLog_Proxy(
    IBrowserService2* This,
    ITravelLog *ptl,
    DWORD dw);
void __RPC_STUB IBrowserService2_InitializeTravelLog_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_SetTopBrowser_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_SetTopBrowser_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_Offline_Proxy(
    IBrowserService2* This,
    int iCmd);
void __RPC_STUB IBrowserService2_Offline_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_AllowViewResize_Proxy(
    IBrowserService2* This,
    BOOL f);
void __RPC_STUB IBrowserService2_AllowViewResize_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_SetActivateState_Proxy(
    IBrowserService2* This,
    UINT u);
void __RPC_STUB IBrowserService2_SetActivateState_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_UpdateSecureLockIcon_Proxy(
    IBrowserService2* This,
    int eSecureLock);
void __RPC_STUB IBrowserService2_UpdateSecureLockIcon_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_InitializeDownloadManager_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_InitializeDownloadManager_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_InitializeTransitionSite_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2_InitializeTransitionSite_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__Initialize_Proxy(
    IBrowserService2* This,
    HWND hwnd,
    IUnknown *pauto);
void __RPC_STUB IBrowserService2__Initialize_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__CancelPendingNavigationAsync_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__CancelPendingNavigationAsync_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__CancelPendingView_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__CancelPendingView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__MaySaveChanges_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__MaySaveChanges_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__PauseOrResumeView_Proxy(
    IBrowserService2* This,
    BOOL fPaused);
void __RPC_STUB IBrowserService2__PauseOrResumeView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__DisableModeless_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__DisableModeless_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__NavigateToPidl_Proxy(
    IBrowserService2* This,
    LPCITEMIDLIST pidl,
    DWORD grfHLNF,
    DWORD dwFlags);
void __RPC_STUB IBrowserService2__NavigateToPidl_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__TryShell2Rename_Proxy(
    IBrowserService2* This,
    IShellView *psv,
    LPCITEMIDLIST pidlNew);
void __RPC_STUB IBrowserService2__TryShell2Rename_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__SwitchActivationNow_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__SwitchActivationNow_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__ExecChildren_Proxy(
    IBrowserService2* This,
    IUnknown *punkBar,
    BOOL fBroadcast,
    const GUID *pguidCmdGroup,
    DWORD nCmdID,
    DWORD nCmdexecopt,
    VARIANTARG *pvarargIn,
    VARIANTARG *pvarargOut);
void __RPC_STUB IBrowserService2__ExecChildren_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__SendChildren_Proxy(
    IBrowserService2* This,
    HWND hwndBar,
    BOOL fBroadcast,
    UINT uMsg,
    WPARAM wParam,
    LPARAM lParam);
void __RPC_STUB IBrowserService2__SendChildren_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_GetFolderSetData_Proxy(
    IBrowserService2* This,
    struct tagFolderSetData *pfsd);
void __RPC_STUB IBrowserService2_GetFolderSetData_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__OnFocusChange_Proxy(
    IBrowserService2* This,
    UINT itb);
void __RPC_STUB IBrowserService2__OnFocusChange_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_v_ShowHideChildWindows_Proxy(
    IBrowserService2* This,
    BOOL fChildOnly);
void __RPC_STUB IBrowserService2_v_ShowHideChildWindows_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
UINT STDMETHODCALLTYPE IBrowserService2__get_itbLastFocus_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__get_itbLastFocus_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__put_itbLastFocus_Proxy(
    IBrowserService2* This,
    UINT itbLastFocus);
void __RPC_STUB IBrowserService2__put_itbLastFocus_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__UIActivateView_Proxy(
    IBrowserService2* This,
    UINT uState);
void __RPC_STUB IBrowserService2__UIActivateView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__GetViewBorderRect_Proxy(
    IBrowserService2* This,
    RECT *prc);
void __RPC_STUB IBrowserService2__GetViewBorderRect_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__UpdateViewRectSize_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__UpdateViewRectSize_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__ResizeNextBorder_Proxy(
    IBrowserService2* This,
    UINT itb);
void __RPC_STUB IBrowserService2__ResizeNextBorder_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__ResizeView_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__ResizeView_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__GetEffectiveClientArea_Proxy(
    IBrowserService2* This,
    LPRECT lprectBorder,
    HMONITOR hmon);
void __RPC_STUB IBrowserService2__GetEffectiveClientArea_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
IStream * STDMETHODCALLTYPE IBrowserService2_v_GetViewStream_Proxy(
    IBrowserService2* This,
    LPCITEMIDLIST pidl,
    DWORD grfMode,
    LPCWSTR pwszName);
void __RPC_STUB IBrowserService2_v_GetViewStream_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
LRESULT STDMETHODCALLTYPE IBrowserService2_ForwardViewMsg_Proxy(
    IBrowserService2* This,
    UINT uMsg,
    WPARAM wParam,
    LPARAM lParam);
void __RPC_STUB IBrowserService2_ForwardViewMsg_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_SetAcceleratorMenu_Proxy(
    IBrowserService2* This,
    HACCEL hacc);
void __RPC_STUB IBrowserService2_SetAcceleratorMenu_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
int STDMETHODCALLTYPE IBrowserService2__GetToolbarCount_Proxy(
    IBrowserService2* This);
void __RPC_STUB IBrowserService2__GetToolbarCount_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
LPTOOLBARITEM STDMETHODCALLTYPE IBrowserService2__GetToolbarItem_Proxy(
    IBrowserService2* This,
    int itb);
void __RPC_STUB IBrowserService2__GetToolbarItem_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__SaveToolbars_Proxy(
    IBrowserService2* This,
    IStream *pstm);
void __RPC_STUB IBrowserService2__SaveToolbars_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__LoadToolbars_Proxy(
    IBrowserService2* This,
    IStream *pstm);
void __RPC_STUB IBrowserService2__LoadToolbars_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__CloseAndReleaseToolbars_Proxy(
    IBrowserService2* This,
    BOOL fClose);
void __RPC_STUB IBrowserService2__CloseAndReleaseToolbars_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_v_MayGetNextToolbarFocus_Proxy(
    IBrowserService2* This,
    LPMSG lpMsg,
    UINT itbNext,
    int citb,
    LPTOOLBARITEM *pptbi,
    HWND *phwnd);
void __RPC_STUB IBrowserService2_v_MayGetNextToolbarFocus_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__ResizeNextBorderHelper_Proxy(
    IBrowserService2* This,
    UINT itb,
    BOOL bUseHmonitor);
void __RPC_STUB IBrowserService2__ResizeNextBorderHelper_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
UINT STDMETHODCALLTYPE IBrowserService2__FindTBar_Proxy(
    IBrowserService2* This,
    IUnknown *punkSrc);
void __RPC_STUB IBrowserService2__FindTBar_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__SetFocus_Proxy(
    IBrowserService2* This,
    LPTOOLBARITEM ptbi,
    HWND hwnd,
    LPMSG lpMsg);
void __RPC_STUB IBrowserService2__SetFocus_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_v_MayTranslateAccelerator_Proxy(
    IBrowserService2* This,
    MSG *pmsg);
void __RPC_STUB IBrowserService2_v_MayTranslateAccelerator_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2__GetBorderDWHelper_Proxy(
    IBrowserService2* This,
    IUnknown *punkSrc,
    LPRECT lprectBorder,
    BOOL bUseHmonitor);
void __RPC_STUB IBrowserService2__GetBorderDWHelper_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBrowserService2_v_CheckZoneCrossing_Proxy(
    IBrowserService2* This,
    LPCITEMIDLIST pidl);
void __RPC_STUB IBrowserService2_v_CheckZoneCrossing_Stub(
    IRpcStubBuffer* This,
    IRpcChannelBuffer* pRpcChannelBuffer,
    PRPC_MESSAGE pRpcMessage,
    DWORD* pdwStubPhase);

#endif  /* __IBrowserService2_INTERFACE_DEFINED__ */

/* Begin additional prototypes for all interfaces */


/* End additional prototypes */

#ifdef __cplusplus
}
#endif

#endif /* __shdeprecated_h__ */