/usr/include/wine/windows/urlmon.idl is in libwine-dev 1.8.7-2.
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 | /*
* Copyright (C) 2000 Ulrich Czekalla
* Copyright (C) 2003 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "objidl.idl";
import "oleidl.idl";
import "servprov.idl";
import "msxml.idl";
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef GetUserName")
cpp_quote("#undef SetPort")
cpp_quote("#endif")
interface IInternetProtocolSink;
interface IUri;
/*****************************************************************************
* IInternet interface
*/
[
object,
uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique),
local
]
interface IInternet : IUnknown
{
typedef [unique] IInternet *LPIINTERNET;
}
/*****************************************************************************
* IBinding interface
*/
[
object,
uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IBinding : IUnknown
{
typedef [unique] IBinding *LPBINDING;
HRESULT Abort();
HRESULT Suspend();
HRESULT Resume();
HRESULT SetPriority(
[in] LONG nPriority);
HRESULT GetPriority(
[out] LONG * pnPriority);
[local]
HRESULT GetBindResult(
[out] CLSID *pclsidProtocol,
[out] DWORD *pdwResult,
[out] LPOLESTR *pszResult,
[in, out] DWORD *pdwReserved);
[call_as(GetBindResult)]
HRESULT RemoteGetBindResult(
[out] CLSID *pclsidProtocol,
[out] DWORD *pdwResult,
[out] LPOLESTR *pszResult,
[in] DWORD dwReserved);
}
/*****************************************************************************
* IBindStatusCallback interface
*/
[
object,
uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IBindStatusCallback : IUnknown
{
typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
typedef enum
{
BINDVERB_GET = 0x00000000,
BINDVERB_POST = 0x00000001,
BINDVERB_PUT = 0x00000002,
BINDVERB_CUSTOM = 0x00000003
} BINDVERB;
typedef enum
{
BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
} BINDINFOF;
typedef enum
{
BINDF_ASYNCHRONOUS = 0x00000001,
BINDF_ASYNCSTORAGE = 0x00000002,
BINDF_NOPROGRESSIVERENDERING = 0x00000004,
BINDF_OFFLINEOPERATION = 0x00000008,
BINDF_GETNEWESTVERSION = 0x00000010,
BINDF_NOWRITECACHE = 0x00000020,
BINDF_NEEDFILE = 0x00000040,
BINDF_PULLDATA = 0x00000080,
BINDF_IGNORESECURITYPROBLEM = 0x00000100,
BINDF_RESYNCHRONIZE = 0x00000200,
BINDF_HYPERLINK = 0x00000400,
BINDF_NO_UI = 0x00000800,
BINDF_SILENTOPERATION = 0x00001000,
BINDF_PRAGMA_NO_CACHE = 0x00002000,
BINDF_GETCLASSOBJECT = 0x00004000,
BINDF_RESERVED_1 = 0x00008000,
BINDF_FREE_THREADED = 0x00010000,
BINDF_DIRECT_READ = 0x00020000,
BINDF_FORMS_SUBMIT = 0x00040000,
BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
BINDF_FROMURLMON = 0x00100000,
BINDF_FWD_BACK = 0x00200000,
BINDF_PREFERDEFAULTHANDLER = 0x00400000,
BINDF_ENFORCERESTRICTED = 0x00800000
} BINDF;
typedef enum
{
URL_ENCODING_NONE = 0x00000000,
URL_ENCODING_ENABLE_UTF8 = 0x10000000,
URL_ENCODING_DISABLE_UTF8 = 0x20000000
} URL_ENCODING;
typedef struct _tagBINDINFO
{
ULONG cbSize;
LPWSTR szExtraInfo;
STGMEDIUM stgmedData;
DWORD grfBindInfoF;
DWORD dwBindVerb;
LPWSTR szCustomVerb;
DWORD cbstgmedData;
DWORD dwOptions;
DWORD dwOptionsFlags;
DWORD dwCodePage;
SECURITY_ATTRIBUTES securityAttributes;
IID iid;
IUnknown *pUnk;
DWORD dwReserved;
} BINDINFO;
typedef struct _REMSECURITY_ATTRIBUTES
{
DWORD nLength;
DWORD lpSecurityDescriptor;
BOOL bInheritHandle;
} REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
typedef struct _tagRemBINDINFO
{
ULONG cbSize;
LPWSTR szExtraInfo;
DWORD grfBindInfoF;
DWORD dwBindVerb;
LPWSTR szCustomVerb;
DWORD cbstgmedData;
DWORD dwOptions;
DWORD dwOptionsFlags;
DWORD dwCodePage;
REMSECURITY_ATTRIBUTES securityAttributes;
IID iid;
IUnknown *pUnk;
DWORD dwReserved;
} RemBINDINFO;
typedef struct tagRemFORMATETC
{
DWORD cfFormat;
DWORD ptd;
DWORD dwAspect;
LONG lindex;
DWORD tymed;
} RemFORMATETC, *LPREMFORMATETC;
typedef enum
{
BSCF_FIRSTDATANOTIFICATION = 0x01,
BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
BSCF_LASTDATANOTIFICATION = 0x04,
BSCF_DATAFULLYAVAILABLE = 0x08,
BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
BSCF_64BITLENGTHDOWNLOAD = 0x40
} BSCF;
typedef enum BINDSTATUS
{
BINDSTATUS_FINDINGRESOURCE = 1,
BINDSTATUS_CONNECTING,
BINDSTATUS_REDIRECTING,
BINDSTATUS_BEGINDOWNLOADDATA,
BINDSTATUS_DOWNLOADINGDATA,
BINDSTATUS_ENDDOWNLOADDATA,
BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
BINDSTATUS_INSTALLINGCOMPONENTS,
BINDSTATUS_ENDDOWNLOADCOMPONENTS,
BINDSTATUS_USINGCACHEDCOPY,
BINDSTATUS_SENDINGREQUEST,
BINDSTATUS_CLASSIDAVAILABLE,
BINDSTATUS_MIMETYPEAVAILABLE,
BINDSTATUS_CACHEFILENAMEAVAILABLE,
BINDSTATUS_BEGINSYNCOPERATION,
BINDSTATUS_ENDSYNCOPERATION,
BINDSTATUS_BEGINUPLOADDATA,
BINDSTATUS_UPLOADINGDATA,
BINDSTATUS_ENDUPLOADINGDATA,
BINDSTATUS_PROTOCOLCLASSID,
BINDSTATUS_ENCODING,
BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
BINDSTATUS_CLASSINSTALLLOCATION,
BINDSTATUS_DECODING,
BINDSTATUS_LOADINGMIMEHANDLER,
BINDSTATUS_CONTENTDISPOSITIONATTACH,
BINDSTATUS_FILTERREPORTMIMETYPE,
BINDSTATUS_CLSIDCANINSTANTIATE,
BINDSTATUS_IUNKNOWNAVAILABLE,
BINDSTATUS_DIRECTBIND,
BINDSTATUS_RAWMIMETYPE,
BINDSTATUS_PROXYDETECTING,
BINDSTATUS_ACCEPTRANGES,
BINDSTATUS_COOKIE_SENT,
BINDSTATUS_COMPACT_POLICY_RECEIVED,
BINDSTATUS_COOKIE_SUPPRESSED,
BINDSTATUS_COOKIE_STATE_UNKNOWN,
BINDSTATUS_COOKIE_STATE_ACCEPT,
BINDSTATUS_COOKIE_STATE_REJECT,
BINDSTATUS_COOKIE_STATE_PROMPT,
BINDSTATUS_COOKIE_STATE_LEASH,
BINDSTATUS_COOKIE_STATE_DOWNGRADE,
BINDSTATUS_POLICY_HREF,
BINDSTATUS_P3P_HEADER,
BINDSTATUS_SESSION_COOKIE_RECEIVED,
BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
BINDSTATUS_SESSION_COOKIES_ALLOWED,
BINDSTATUS_CACHECONTROL,
BINDSTATUS_CONTENTDISPOSITIONFILENAME,
BINDSTATUS_MIMETEXTPLAINMISMATCH,
BINDSTATUS_PUBLISHERAVAILABLE,
BINDSTATUS_DISPLAYNAMEAVAILABLE,
BINDSTATUS_SSLUX_NAVBLOCKED,
BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
BINDSTATUS_64BIT_PROGRESS,
BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS,
BINDSTATUS_RESERVED_0 = (BINDSTATUS_LAST+1),
BINDSTATUS_RESERVED_1 = (BINDSTATUS_RESERVED_0+1),
BINDSTATUS_RESERVED_2 = (BINDSTATUS_RESERVED_1+1),
BINDSTATUS_RESERVED_3 = (BINDSTATUS_RESERVED_2+1),
BINDSTATUS_RESERVED_4 = (BINDSTATUS_RESERVED_3+1),
BINDSTATUS_RESERVED_5 = (BINDSTATUS_RESERVED_4+1),
BINDSTATUS_RESERVED_6 = (BINDSTATUS_RESERVED_5+1),
BINDSTATUS_RESERVED_7 = (BINDSTATUS_RESERVED_6+1),
BINDSTATUS_RESERVED_8 = (BINDSTATUS_RESERVED_7+1),
BINDSTATUS_RESERVED_9 = (BINDSTATUS_RESERVED_8+1),
BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9
} BINDSTATUS;
HRESULT OnStartBinding(
[in] DWORD dwReserved,
[in] IBinding * pib);
HRESULT GetPriority(
[out] LONG * pnPriority);
HRESULT OnLowResource(
[in] DWORD reserved);
HRESULT OnProgress(
[in] ULONG ulProgress,
[in] ULONG ulProgressMax,
[in] ULONG ulStatusCode,
[in, unique] LPCWSTR szStatusText);
HRESULT OnStopBinding(
[in] HRESULT hresult,
[in, unique] LPCWSTR szError);
[local]
HRESULT GetBindInfo(
[out] DWORD *grfBINDF,
[in, out, unique] BINDINFO * pbindinfo);
[call_as(GetBindInfo)]
HRESULT RemoteGetBindInfo(
[out] DWORD *grfBINDF,
[in, out, unique] RemBINDINFO * pbindinfo,
[in, out, unique] RemSTGMEDIUM* pstgmed);
[local]
HRESULT OnDataAvailable(
[in] DWORD grfBSCF,
[in] DWORD dwSize,
[in] FORMATETC* pformatetc,
[in] STGMEDIUM* pstgmed);
[call_as(OnDataAvailable)]
HRESULT RemoteOnDataAvailable(
[in] DWORD grfBSCF,
[in] DWORD dwSize,
[in] RemFORMATETC *pformatetc,
[in] RemSTGMEDIUM* pstgmed);
HRESULT OnObjectAvailable(
[in] REFIID riid,
[in, iid_is(riid)] IUnknown* punk);
}
/*****************************************************************************
* IBindStatusCallbackEx interface
*/
[
object,
uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
pointer_default(unique)
]
interface IBindStatusCallbackEx : IBindStatusCallback
{
typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
typedef enum {
BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
BINDF2_RESERVED_3 = 0x20000000,
BINDF2_RESERVED_2 = 0x40000000,
BINDF2_RESERVED_1 = 0x80000000,
} BINDF2;
[local]
HRESULT GetBindInfoEx(
[out] DWORD *grfBINDF,
[in, out, unique] BINDINFO *pbindinfo,
[out] DWORD *grfBINDF2,
[out] DWORD *pdwReserved);
[call_as(GetBindInfoEx)]
HRESULT RemoteGetBindInfoEx(
[out] DWORD *grfBINDF,
[in, out, unique] RemBINDINFO *pbindinfo,
[in, out, unique] RemSTGMEDIUM *pstgmed,
[out] DWORD *grfBINDF2,
[out] DWORD *pdwReserved);
}
/*****************************************************************************
* IAuthenticate interface
*/
[
object,
uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IAuthenticate : IUnknown
{
typedef [unique] IAuthenticate *LPAUTHENTICATION;
HRESULT Authenticate(
[out] HWND* phwnd,
[out] LPWSTR *pszUsername,
[out] LPWSTR *pszPassword);
}
/*****************************************************************************
* IHttpNegotiate interface
*/
[
object,
uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IHttpNegotiate : IUnknown
{
typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
HRESULT BeginningTransaction(
[in] LPCWSTR szURL,
[in, unique] LPCWSTR szHeaders,
[in] DWORD dwReserved,
[out] LPWSTR *pszAdditionalHeaders);
HRESULT OnResponse(
[in] DWORD dwResponseCode,
[in, unique] LPCWSTR szResponseHeaders,
[in, unique] LPCWSTR szRequestHeaders,
[out] LPWSTR *pszAdditionalRequestHeaders);
}
/*****************************************************************************
* IHttpNegotiate2 interface
*/
[
object,
uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
pointer_default(unique)
]
interface IHttpNegotiate2 : IHttpNegotiate
{
typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
HRESULT GetRootSecurityId(
[out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
[in, out] DWORD *pcbSecurityId,
[in] DWORD_PTR dwReserved);
}
/*****************************************************************************
* IBindHost interface
*/
cpp_quote("#define SID_IBindHost IID_IBindHost")
cpp_quote("#define SID_SBindHost IID_IBindHost")
[
object,
uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
pointer_default(unique)
]
interface IBindHost : IUnknown
{
typedef [unique] IBindHost *LPBINDHOST;
HRESULT CreateMoniker(
[in] LPOLESTR szName,
[in] IBindCtx *pBC,
[out] IMoniker** ppmk,
[in] DWORD dwReserved);
[local]
HRESULT MonikerBindToStorage(
[in] IMoniker *pMk,
[in] IBindCtx *pBC,
[in] IBindStatusCallback *pBSC,
[in] REFIID riid,
[out] void **ppvObj);
[call_as(MonikerBindToStorage)]
HRESULT RemoteMonikerBindToStorage(
[in, unique] IMoniker *pMk,
[in, unique] IBindCtx *pBC,
[in, unique] IBindStatusCallback *pBSC,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppvObj);
[local]
HRESULT MonikerBindToObject(
[in] IMoniker *pMk,
[in] IBindCtx *pBC,
[in] IBindStatusCallback *pBSC,
[in] REFIID riid,
[out] void **ppvObj);
[call_as(MonikerBindToObject)]
HRESULT RemoteMonikerBindToObject(
[in, unique] IMoniker *pMk,
[in, unique] IBindCtx *pBC,
[in, unique] IBindStatusCallback *pBSC,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppvObj);
}
/*****************************************************************************
* IWinInetInfo interface
*/
[
object,
uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IWinInetInfo : IUnknown
{
typedef [unique] IWinInetInfo *LPWININETINFO;
[local]
HRESULT QueryOption(
[in] DWORD dwOption,
[in, out, size_is(*pcbBuf)] LPVOID pBuffer,
[in, out] DWORD *pcbBuf);
[call_as(QueryOption)]
HRESULT RemoteQueryOption(
[in] DWORD dwOption,
[in, out, size_is(*pcbBuf)] BYTE *pBuffer,
[in, out] DWORD *pcbBuf);
}
/*****************************************************************************
* IWinInetHttpInfo interface
*/
[
object,
uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IWinInetHttpInfo : IWinInetInfo
{
typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
[local]
HRESULT QueryInfo(
[in] DWORD dwOption,
[in, out,size_is(*pcbBuf)] LPVOID pBuffer,
[in, out] DWORD *pcbBuf,
[in, out] DWORD *pdwFlags,
[in, out] DWORD *pdwReserved);
[call_as(QueryInfo)]
HRESULT RemoteQueryInfo(
[in] DWORD dwOption,
[in,out,size_is(*pcbBuf)] BYTE *pBuffer,
[in, out] DWORD *pcbBuf,
[in, out] DWORD *pdwFlags,
[in, out] DWORD *pdwReserved);
}
/*****************************************************************************
* IWindowForBindingUI interface
*/
[
local,
object,
uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IWindowForBindingUI : IUnknown
{
typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
HRESULT GetWindow(
[in] REFGUID rguidReason,
[out] HWND *phwnd);
}
/*****************************************************************************
* ICodeInstall interface
*/
[
local,
object,
uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface ICodeInstall : IWindowForBindingUI
{
typedef [unique] ICodeInstall *LPCODEINSTALL;
typedef enum {
CIP_DISK_FULL,
CIP_ACCESS_DENIED,
CIP_NEWER_VERSION_EXISTS,
CIP_OLDER_VERSION_EXISTS,
CIP_NAME_CONFLICT,
CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
CIP_EXE_SELF_REGISTERATION_TIMEOUT,
CIP_UNSAFE_TO_ABORT,
CIP_NEED_REBOOT,
CIP_NEED_REBOOT_UI_PERMISSION
} CIP_STATUS;
HRESULT OnCodeInstallProblem(
[in] ULONG ulStatusCode,
[in, unique] LPCWSTR szDestination,
[in, unique] LPCWSTR szSource,
[in] DWORD dwReserved);
}
/*****************************************************************************
* IHttpSecurity interface
*/
[
local,
object,
uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IHttpSecurity : IWindowForBindingUI
{
typedef [unique] IHttpSecurity *LPHTTPSECURITY;
HRESULT OnSecurityProblem(
[in] DWORD dwProblem);
}
/*****************************************************************************
* IPersistMoniker interface
*/
[
object,
uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IPersistMoniker : IUnknown
{
typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
HRESULT GetClassID(
[out] CLSID *pClassID);
HRESULT IsDirty();
HRESULT Load(
[in] BOOL fFullyAvailable,
[in] IMoniker *pimkName,
[in] LPBC pibc,
[in] DWORD grfMode);
HRESULT Save(
[in] IMoniker *pimkName,
[in] LPBC pbc,
[in] BOOL fRemember);
HRESULT SaveCompleted(
[in] IMoniker *pimkName,
[in] LPBC pibc);
HRESULT GetCurMoniker(
[out] IMoniker **ppimkName);
}
/*****************************************************************************
* IMonikerProp interface
*/
[
object,
uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
pointer_default(unique)
]
interface IMonikerProp : IUnknown
{
typedef [unique] IMonikerProp *LPMONIKERPROP;
typedef enum {
MIMETYPEPROP = 0,
USE_SRC_URL = 1,
CLASSIDPROP = 2,
TRUSTEDDOWNLOADPROP = 3,
POPUPLEVELPROP = 4
} MONIKERPROPERTY;
HRESULT PutProperty(
[in] MONIKERPROPERTY mkp,
[in] LPCWSTR val);
}
cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
/*****************************************************************************
* IBindProtocol interface
*/
[
local,
object,
uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IBindProtocol : IUnknown
{
typedef [unique] IBindProtocol *LPBINDPROTOCOL;
HRESULT CreateBinding(
[in] LPCWSTR szUrl,
[in] IBindCtx *pbc,
[out] IBinding **ppb);
}
cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
/*****************************************************************************
* IInternetBindInfo interface
*/
[
local,
object,
uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetBindInfo : IUnknown
{
typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
typedef enum tagBINDSTRING
{
BINDSTRING_HEADERS = 1,
BINDSTRING_ACCEPT_MIMES,
BINDSTRING_EXTRA_URL,
BINDSTRING_LANGUAGE,
BINDSTRING_USERNAME,
BINDSTRING_PASSWORD,
BINDSTRING_UA_PIXELS,
BINDSTRING_UA_COLOR,
BINDSTRING_OS,
BINDSTRING_USER_AGENT,
BINDSTRING_ACCEPT_ENCODINGS,
BINDSTRING_POST_COOKIE,
BINDSTRING_POST_DATA_MIME,
BINDSTRING_URL,
BINDSTRING_IID,
BINDSTRING_FLAG_BIND_TO_OBJECT,
BINDSTRING_PTR_BIND_CONTEXT,
BINDSTRING_XDR_ORIGIN,
BINDSTRING_DOWNLOADPATH,
BINDSTRING_ROOTDOC_URL,
BINDSTRING_INITIAL_FILENAME,
BINDSTRING_PROXY_USERNAME,
BINDSTRING_PROXY_PASSWORD,
BINDSTRING_ENTERPRISE_ID
} BINDSTRING;
HRESULT GetBindInfo(
[out] DWORD *grfBINDF,
[in, out, unique] BINDINFO *pbindinfo);
HRESULT GetBindString(
[in] ULONG ulStringType,
[in, out] LPOLESTR *ppwzStr,
[in] ULONG cEl,
[in, out] ULONG *pcElFetched);
}
/*****************************************************************************
* IInternetPriority interface
*/
[
local,
object,
uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetPriority : IUnknown
{
typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
HRESULT SetPriority([in] LONG nPriority);
HRESULT GetPriority([out] LONG *pnPriority);
}
/*****************************************************************************
* IInternetProtocolRoot interface
*/
[
local,
object,
uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetProtocolRoot : IUnknown
{
typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
typedef enum _tagPI_FLAGS
{
PI_PARSE_URL = 0x00000001,
PI_FILTER_MODE = 0x00000002,
PI_FORCE_ASYNC = 0x00000004,
PI_USE_WORKERTHREAD = 0x00000008,
PI_MIMEVERIFICATION = 0x00000010,
PI_CLSIDLOOKUP = 0x00000020,
PI_DATAPROGRESS = 0x00000040,
PI_SYNCHRONOUS = 0x00000080,
PI_APARTMENTTHREADED = 0x00000100,
PI_CLASSINSTALL = 0x00000200,
PD_FORCE_SWITCH = 0x00010000
} PI_FLAGS;
typedef struct _tagPROTOCOLDATA
{
DWORD grfFlags;
DWORD dwState;
LPVOID pData;
ULONG cbData;
} PROTOCOLDATA;
HRESULT Start(
[in] LPCWSTR szUrl,
[in] IInternetProtocolSink *pOIProtSink,
[in] IInternetBindInfo *pOIBindInfo,
[in] DWORD grfPI,
[in] HANDLE_PTR dwReserved);
HRESULT Continue(
[in] PROTOCOLDATA *pProtocolData);
HRESULT Abort(
[in] HRESULT hrReason,
[in] DWORD dwOptions);
HRESULT Terminate(
[in] DWORD dwOptions);
HRESULT Suspend();
HRESULT Resume();
}
/*****************************************************************************
* IInternetProtocolSink interface
*/
[
local,
object,
uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetProtocolSink : IUnknown
{
typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
HRESULT Switch(
[in] PROTOCOLDATA *pProtocolData);
HRESULT ReportProgress(
[in] ULONG ulStatusCode,
[in] LPCWSTR szStatusText);
HRESULT ReportData(
[in] DWORD grfBSCF,
[in] ULONG ulProgress,
[in] ULONG ulProgressMax);
HRESULT ReportResult(
[in] HRESULT hrResult,
[in] DWORD dwError,
[in] LPCWSTR szResult);
}
/*****************************************************************************
* IInternetProtocol interface
*/
[
local,
object,
uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetProtocol : IInternetProtocolRoot
{
typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
HRESULT Read(
[in,out, size_is(cb), length_is(*pcbRead)] void *pv,
[in] ULONG cb,
[out] ULONG *pcbRead);
HRESULT Seek(
[in] LARGE_INTEGER dlibMove,
[in] DWORD dwOrigin,
[out] ULARGE_INTEGER *plibNewPosition);
HRESULT LockRequest(
[in] DWORD dwOptions);
HRESULT UnlockRequest();
}
/*****************************************************************************
* IInternetProtocolInfo interface
*/
[
local,
object,
uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IInternetProtocolInfo : IUnknown
{
typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
typedef enum _tagPARSEACTION
{
PARSE_CANONICALIZE = 1,
PARSE_FRIENDLY,
PARSE_SECURITY_URL,
PARSE_ROOTDOCUMENT,
PARSE_DOCUMENT,
PARSE_ANCHOR,
PARSE_ENCODE,
PARSE_DECODE,
PARSE_PATH_FROM_URL,
PARSE_URL_FROM_PATH,
PARSE_MIME,
PARSE_SERVER,
PARSE_SCHEMA,
PARSE_SITE,
PARSE_DOMAIN,
PARSE_LOCATION,
PARSE_SECURITY_DOMAIN,
PARSE_ESCAPE,
PARSE_UNESCAPE
} PARSEACTION;
typedef enum _tagPSUACTION
{
PSU_DEFAULT = 1,
PSU_SECURITY_URL_ONLY
} PSUACTION;
typedef enum _tagQUERYOPTION
{
QUERY_EXPIRATION_DATE = 1,
QUERY_TIME_OF_LAST_CHANGE,
QUERY_CONTENT_ENCODING,
QUERY_CONTENT_TYPE,
QUERY_REFRESH,
QUERY_RECOMBINE,
QUERY_CAN_NAVIGATE,
QUERY_USES_NETWORK,
QUERY_IS_CACHED,
QUERY_IS_INSTALLEDENTRY,
QUERY_IS_CACHED_OR_MAPPED,
QUERY_USES_CACHE,
QUERY_IS_SECURE,
QUERY_IS_SAFE,
QUERY_USES_HISTORYFOLDER,
QUERY_IS_CACHED_AND_USABLE_OFFLINE
} QUERYOPTION;
HRESULT ParseUrl(
[in] LPCWSTR pwzUrl,
[in] PARSEACTION ParseAction,
[in] DWORD dwParseFlags,
[out] LPWSTR pwzResult,
[in] DWORD cchResult,
[out] DWORD *pcchResult,
[in] DWORD dwReserved);
HRESULT CombineUrl(
[in] LPCWSTR pwzBaseUrl,
[in] LPCWSTR pwzRelativeUrl,
[in] DWORD dwCombineFlags,
[out] LPWSTR pwzResult,
[in] DWORD cchResult,
[out] DWORD *pcchResult,
[in] DWORD dwReserved);
HRESULT CompareUrl(
[in] LPCWSTR pwzUrl1,
[in] LPCWSTR pwzUrl2,
[in] DWORD dwCompareFlags);
HRESULT QueryInfo(
[in] LPCWSTR pwzUrl,
[in] QUERYOPTION OueryOption,
[in] DWORD dwQueryFlags,
[in, out,size_is(*pcbBuf)] LPVOID pBuffer,
[in] DWORD cbBuffer,
[in, out] DWORD *pcbBuf,
[in] DWORD dwReserved);
}
/*****************************************************************************
* IInternetSession interface
*/
[
local,
object,
uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IInternetSession : IUnknown
{
typedef [unique] IInternetSession *LPIINTERNETSESSION;
typedef enum _tagOIBDG_FLAGS
{
OIBDG_APARTMENTTHREADED = 0x0100,
OIBDG_DATAONLY = 0x1000
} OIBDG_FLAGS;
HRESULT RegisterNameSpace(
[in] IClassFactory *pCF,
[in] REFCLSID rclsid,
[in] LPCWSTR pwzProtocol,
[in] ULONG cPatterns,
[in] const LPCWSTR *ppwzPatterns,
[in] DWORD dwReserved);
HRESULT UnregisterNameSpace(
[in] IClassFactory *pCF,
[in] LPCWSTR pszProtocol);
HRESULT RegisterMimeFilter(
[in] IClassFactory *pCF,
[in] REFCLSID rclsid,
[in] LPCWSTR pwzType);
HRESULT UnregisterMimeFilter(
[in] IClassFactory *pCF,
[in] LPCWSTR pwzType);
HRESULT CreateBinding(
[in] LPBC pBC,
[in] LPCWSTR szUrl,
[in] IUnknown *pUnkOuter,
[out, unique] IUnknown **ppUnk,
[out, unique] IInternetProtocol **ppOInetProt,
[in] DWORD dwOption);
HRESULT SetSessionOption(
[in] DWORD dwOption,
[in] LPVOID pBuffer,
[in] DWORD dwBufferLength,
[in] DWORD dwReserved);
}
/*****************************************************************************
* IInternetSecurityMgrSite interface
*/
[
local,
object,
uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IInternetSecurityMgrSite : IUnknown
{
HRESULT GetWindow(
[out] HWND *phwnd);
HRESULT EnableModeless(
[in] BOOL fEnable);
}
/*****************************************************************************
* IInternetSecurityManager interface
*/
cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
[
object,
uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
pointer_default(unique)
]
interface IInternetSecurityManager : IUnknown
{
HRESULT SetSecuritySite(
[in, unique] IInternetSecurityMgrSite *pSite);
HRESULT GetSecuritySite(
[out] IInternetSecurityMgrSite **ppSite);
HRESULT MapUrlToZone(
[in] LPCWSTR pwszUrl,
[out] DWORD *pdwZone,
[in] DWORD dwFlags);
cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
HRESULT GetSecurityId(
[in] LPCWSTR pwszUrl,
[out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
[in, out] DWORD *pcbSecurityId,
[in] DWORD_PTR dwReserved);
typedef enum {
PUAF_DEFAULT = 0x00,
PUAF_NOUI = 0x01,
PUAF_ISFILE = 0x02,
PUAF_WARN_IF_DENIED = 0x04,
PUAF_FORCEUI_FOREGROUND = 0x08,
PUAF_CHECK_TIPS = 0x10
} PUAF;
HRESULT ProcessUrlAction(
[in] LPCWSTR pwszUrl,
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in, unique] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwFlags,
[in] DWORD dwReserved);
HRESULT QueryCustomPolicy(
[in] LPCWSTR pwszUrl,
[in] REFGUID guidKey,
[out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
[out] DWORD *pcbPolicy,
[in] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwReserved);
typedef enum {
SZM_CREATE = 0x0,
SZM_DELETE = 0x1
} SZM_FLAGS;
HRESULT SetZoneMapping(
[in] DWORD dwZone,
[in] LPCWSTR lpszPattern,
[in] DWORD dwFlags);
HRESULT GetZoneMappings(
[in] DWORD dwZone,
[out] IEnumString **ppenumString,
[in] DWORD dwFlags);
}
/*****************************************************************************
* IInternetSecurityManagerEx interface
*/
cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
[
object,
uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
pointer_default(unique)
]
interface IInternetSecurityManagerEx : IInternetSecurityManager
{
HRESULT ProcessUrlActionEx(
[in] LPCWSTR pwszUrl,
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwFlags,
[in] DWORD dwReserved,
[out] DWORD *pdwOutFlags);
}
/*****************************************************************************
* IInternetSecurityManagerEx2 interface
*/
cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
[
object,
uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
pointer_default(unique)
]
interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
{
HRESULT MapUrlToZoneEx2(
[in] IUri *pUri,
[out] DWORD *pdwZone,
[in] DWORD dwFlags,
[out] LPWSTR *ppwszMappedUrl,
[out] DWORD *pdwOutFlags);
HRESULT ProcessUrlActionEx2(
[in] IUri *pUri,
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in, unique] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwFlags,
[in] DWORD_PTR dwReserved,
[out] DWORD *pdwOutFlags);
HRESULT GetSecurityIdEx2(
[in] IUri *pUri,
[out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
[in, out] DWORD *pcbSecurityId,
[in] DWORD_PTR dwReserved);
HRESULT QueryCustomPolicyEx2(
[in] IUri *pUri,
[in] REFGUID guidKey,
[out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
[out] DWORD *pcbPolicy,
[in] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD_PTR dwReserved);
}
/*****************************************************************************
* IInternetHostSecurityManager interface
*/
cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
[
local,
object,
uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
pointer_default(unique)
]
interface IInternetHostSecurityManager : IUnknown
{
HRESULT GetSecurityId(
[out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
[in, out] DWORD *pcbSecurityId,
[in] DWORD_PTR dwReserved);
HRESULT ProcessUrlAction(
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwFlags,
[in] DWORD dwReserved);
HRESULT QueryCustomPolicy(
[in] REFGUID guidKey,
[out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
[out] DWORD *pcbPolicy,
[in] BYTE *pContext,
[in] DWORD cbContext,
[in] DWORD dwReserved);
}
cpp_quote("#define URLACTION_MIN 0x00001000")
cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
cpp_quote("#define URLACTION_COOKIES 0x00001a02")
cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
cpp_quote("#define URLPOLICY_ALLOW 0x00")
cpp_quote("#define URLPOLICY_QUERY 0x01")
cpp_quote("#define URLPOLICY_DISALLOW 0x03")
cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
/*****************************************************************************
* IInternetZoneManager interface
*/
[
local,
object,
uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IInternetZoneManager : IUnknown
{
typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
typedef enum tagURLZONE
{
URLZONE_INVALID = -1,
URLZONE_PREDEFINED_MIN = 0,
URLZONE_LOCAL_MACHINE = 0,
URLZONE_INTRANET = 1,
URLZONE_TRUSTED = 2,
URLZONE_INTERNET = 3,
URLZONE_UNTRUSTED = 4,
URLZONE_PREDEFINED_MAX = 999,
URLZONE_USER_MIN = 1000,
URLZONE_USER_MAX = 10000,
} URLZONE;
typedef enum tagURLTEMPLATE
{
URLTEMPLATE_CUSTOM = 0x00000,
URLTEMPLATE_PREDEFINED_MIN = 0x10000,
URLTEMPLATE_LOW = 0x10000,
URLTEMPLATE_MEDLOW = 0x10500,
URLTEMPLATE_MEDIUM = 0x11000,
URLTEMPLATE_MEDHIGH = 0x11500,
URLTEMPLATE_HIGH = 0x12000,
URLTEMPLATE_PREDEFINED_MAX = 0x20000,
} URLTEMPLATE ;
typedef enum {
ZAFLAGS_CUSTOM_EDIT = 0x00000001,
ZAFLAGS_ADD_SITES = 0x00000002,
ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
ZAFLAGS_NO_UI = 0x00000020,
ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
ZAFLAGS_DETECT_INTRANET = 0x00000100,
ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
ZAFLAGS_NO_CACHE = 0x00040000,
} ZAFLAGS ;
enum {
MAX_ZONE_PATH = 260,
MAX_ZONE_DESCRIPTION = 200
};
typedef struct _ZONEATTRIBUTES {
ULONG cbSize;
WCHAR szDisplayName[MAX_ZONE_PATH];
WCHAR szDescription[MAX_ZONE_DESCRIPTION];
WCHAR szIconPath[MAX_ZONE_PATH];
DWORD dwTemplateMinLevel;
DWORD dwTemplateRecommended;
DWORD dwTemplateCurrentLevel;
DWORD dwFlags;
} ZONEATTRIBUTES, *LPZONEATTRIBUTES;
typedef enum _URLZONEREG {
URLZONEREG_DEFAULT,
URLZONEREG_HKLM,
URLZONEREG_HKCU
} URLZONEREG;
HRESULT GetZoneAttributes(
[in] DWORD dwZone,
[in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
HRESULT SetZoneAttributes(
[in] DWORD dwZone,
[in] ZONEATTRIBUTES* pZoneAttributes);
HRESULT GetZoneCustomPolicy(
[in] DWORD dwZone,
[in] REFGUID guidKey,
[out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
[out] DWORD* pcbPolicy,
[in] URLZONEREG ulrZoneReg);
HRESULT SetZoneCustomPolicy(
[in] DWORD dwZone,
[in] REFGUID guidKey,
[in, size_is(pcbPolicy)] BYTE *ppPolicy,
[in] DWORD pcbPolicy,
[in] URLZONEREG ulrZoneReg);
HRESULT GetZoneActionPolicy(
[in] DWORD dwZone,
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE* pPolicy,
[in] DWORD cbPolicy,
[in] URLZONEREG urlZoneReg);
HRESULT SetZoneActionPolicy(
[in] DWORD dwZone,
[in] DWORD dwAction,
[in, size_is(cbPolicy)] BYTE* pPolicy,
[in] DWORD cbPolicy,
[in] URLZONEREG urlZoneReg);
HRESULT PromptAction(
[in] DWORD dwAction,
[in] HWND hwndParent,
[in] LPCWSTR pwszUrl,
[in] LPCWSTR pwszText,
[in] DWORD dwPromptFlags );
HRESULT LogAction(
[in] DWORD dwAction,
[in] LPCWSTR pwszUrl,
[in] LPCWSTR pwszText,
[in] DWORD dwLogFlags);
HRESULT CreateZoneEnumerator(
[out] DWORD* pdwEnum,
[out] DWORD* pdwCount,
[in] DWORD dwFlags);
HRESULT GetZoneAt(
[in] DWORD dwEnum,
[in] DWORD dwIndex,
[out] DWORD* pdwZone);
HRESULT DestroyZoneEnumerator(
[in] DWORD dwEnum);
HRESULT CopyTemplatePoliciesToZone(
[in] DWORD dwTemplate,
[in] DWORD dwZone,
[in] DWORD dwReserved);
}
/*****************************************************************************
* IInternetZoneManagerEx interface
*/
[
local,
object,
uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
pointer_default(unique)
]
interface IInternetZoneManagerEx : IInternetZoneManager
{
HRESULT GetZoneActionPolicyEx(
[in] DWORD dwZone,
[in] DWORD dwAction,
[out, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in] URLZONEREG urlZoneReg,
[in] DWORD dwFlags);
HRESULT SetZoneActionPolicyEx(
[in] DWORD dwZone,
[in] DWORD dwAction,
[in, size_is(cbPolicy)] BYTE *pPolicy,
[in] DWORD cbPolicy,
[in] URLZONEREG urlZoneReg,
[in] DWORD dwFlags);
}
/*****************************************************************************
* IInternetZoneManagerEx2 interface
*/
cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
cpp_quote("#define SECURITY_IE_STATE_RED 1")
[
local,
object,
uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
pointer_default(unique)
]
interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
{
HRESULT GetZoneAttributesEx(
[in] DWORD dwZone,
[in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
[in] DWORD dwFlags);
HRESULT GetZoneSecurityState(
[in] DWORD dwZoneIndex,
[in] BOOL fRespectPolicy,
[in, out] LPDWORD pdwState,
[in, out] BOOL *pfPolicyEncountered);
HRESULT GetIESecurityState(
[in] BOOL fRespectPolicy,
[in, out] LPDWORD pdwState,
[in, out] BOOL *pfPolicyEncountered,
[in] BOOL fNoCache);
HRESULT FixInsecureSettings(void);
}
typedef struct _tagSOFTDISTINFO
{
ULONG cbSize;
DWORD dwFlags;
DWORD dwAdState;
LPWSTR szTitle;
LPWSTR szAbstract;
LPWSTR szHREF;
DWORD dwInstalledVersionMS;
DWORD dwInstalledVersionLS;
DWORD dwUpdateVersionMS;
DWORD dwUpdateVersionLS;
DWORD dwAdvertisedVersionMS;
DWORD dwAdvertisedVersionLS;
DWORD dwReserved;
} SOFTDISTINFO, *LPSOFTDISTINFO;
typedef struct _tagCODEBASEHOLD
{
DWORD cbSize;
LPWSTR szDistUnit;
LPWSTR szCodeBase;
DWORD dwVersionMS;
DWORD dwVersionLS;
DWORD dwStyle;
} CODEBASEHOLD, *LPCODEBASEHOLD;
[
local,
object,
uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
pointer_default(unique)
]
interface ISoftDistExt : IUnknown
{
HRESULT ProcessSoftDist(
[in] LPCWSTR szCDFURL,
[in] IXMLElement *pSoftDistElement,
[in, out] LPSOFTDISTINFO lpsdi );
HRESULT GetFirstCodeBase(
[in] LPWSTR *szCodeBase,
[in] LPDWORD dwMaxSize );
HRESULT GetNextCodeBase(
[in] LPWSTR *szCodeBase,
[in] LPDWORD dwMaxSize );
HRESULT AsyncInstallDistributionUnit(
[in] IBindCtx *pbc,
[in] LPVOID lpReserved,
[in] DWORD flags,
[in] LPCODEBASEHOLD lpcbh);
}
typedef enum _tagINTERNETFEATURELIST
{
FEATURE_OBJECT_CACHING,
FEATURE_ZONE_ELEVATION,
FEATURE_MIME_HANDLING,
FEATURE_MIME_SNIFFING,
FEATURE_WINDOW_RESTRICTIONS,
FEATURE_WEBOC_POPUPMANAGEMENT,
FEATURE_BEHAVIORS,
FEATURE_DISABLE_MK_PROTOCOL,
FEATURE_LOCALMACHINE_LOCKDOWN,
FEATURE_SECURITYBAND,
FEATURE_RESTRICT_ACTIVEXINSTALL,
FEATURE_VALIDATE_NAVIGATE_URL,
FEATURE_RESTRICT_FILEDOWNLOAD,
FEATURE_ADDON_MANAGEMENT,
FEATURE_PROTOCOL_LOCKDOWN,
FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
FEATURE_SAFE_BINDTOOBJECT,
FEATURE_UNC_SAVEDFILECHECK,
FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
FEATURE_TABBED_BROWSING,
FEATURE_SSLUX,
FEATURE_DISABLE_NAVIGATION_SOUNDS,
FEATURE_DISABLE_LEGACY_COMPRESSION,
FEATURE_FORCE_ADDR_AND_STATUS,
FEATURE_XMLHTTP,
FEATURE_DISABLE_TELNET_PROTOCOL,
FEATURE_FEEDS,
FEATURE_BLOCK_INPUT_PROMPTS,
FEATURE_ENTRY_COUNT
} INTERNETFEATURELIST;
cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
typedef struct _tagPROTOCOLFILTERDATA {
DWORD cbSize;
IInternetProtocolSink *pProtocolSink;
IInternetProtocol *pProtocol;
IUnknown *pUnk;
DWORD dwFilterFlags;
} PROTOCOLFILTERDATA;
/*****************************************************************************
* IUri interface
*/
[
object,
uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
pointer_default(unique)
]
interface IUri : IUnknown
{
typedef enum
{
Uri_PROPERTY_ABSOLUTE_URI = 0,
Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
Uri_PROPERTY_AUTHORITY = 1,
Uri_PROPERTY_DISPLAY_URI = 2,
Uri_PROPERTY_DOMAIN = 3,
Uri_PROPERTY_EXTENSION = 4,
Uri_PROPERTY_FRAGMENT = 5,
Uri_PROPERTY_HOST = 6,
Uri_PROPERTY_PASSWORD = 7,
Uri_PROPERTY_PATH = 8,
Uri_PROPERTY_PATH_AND_QUERY = 9,
Uri_PROPERTY_QUERY = 10,
Uri_PROPERTY_RAW_URI = 11,
Uri_PROPERTY_SCHEME_NAME = 12,
Uri_PROPERTY_USER_INFO = 13,
Uri_PROPERTY_USER_NAME = 14,
Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
Uri_PROPERTY_HOST_TYPE = 15,
Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
Uri_PROPERTY_PORT = 16,
Uri_PROPERTY_SCHEME = 17,
Uri_PROPERTY_ZONE = 18,
Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
} Uri_PROPERTY;
typedef enum
{
Uri_HOST_UNKNOWN = 0,
Uri_HOST_DNS = 1,
Uri_HOST_IPV4 = 2,
Uri_HOST_IPV6 = 3,
Uri_HOST_IDN = 4
} Uri_HOST_TYPE;
HRESULT GetPropertyBSTR(
[in] Uri_PROPERTY uriProp,
[out] BSTR *pbstrProperty,
[in] DWORD dwFlags);
HRESULT GetPropertyLength(
[in] Uri_PROPERTY uriProp,
[out] DWORD *pcchProperty,
[in] DWORD dwFlags);
HRESULT GetPropertyDWORD(
[in] Uri_PROPERTY uriProp,
[out] DWORD *pdwProperty,
[in] DWORD dwFlags);
HRESULT HasProperty(
[in] Uri_PROPERTY uriProp,
[out] BOOL *pfHasProperty);
HRESULT GetAbsoluteUri(
[out] BSTR *pbstrAbsoluteUri);
HRESULT GetAuthority(
[out] BSTR *pbstrAuthority);
HRESULT GetDisplayUri(
[out] BSTR *pbstrDisplayString);
HRESULT GetDomain(
[out] BSTR *pbstrDomain);
HRESULT GetExtension(
[out] BSTR *pbstrExtension);
HRESULT GetFragment(
[out] BSTR *pbstrFragment);
HRESULT GetHost(
[out] BSTR *pbstrHost);
HRESULT GetPassword(
[out] BSTR *pbstrPassword);
HRESULT GetPath(
[out] BSTR *pbstrPath);
HRESULT GetPathAndQuery(
[out] BSTR *pbstrPathAndQuery);
HRESULT GetQuery(
[out] BSTR *pbstrQuery);
HRESULT GetRawUri(
[out] BSTR *pbstrRawUri);
HRESULT GetSchemeName(
[out] BSTR *pbstrSchemeName);
HRESULT GetUserInfo(
[out] BSTR *pbstrUserInfo);
HRESULT GetUserName(
[out] BSTR *pbstrUserName);
HRESULT GetHostType(
[out] DWORD *pdwHostType);
HRESULT GetPort(
[out] DWORD *pdwPort);
HRESULT GetScheme(
[out] DWORD *pdwScheme);
HRESULT GetZone(
[out] DWORD *pdwZone);
HRESULT GetProperties(
[out] LPDWORD pdwFlags);
HRESULT IsEqual(
[in] IUri *pUri,
[out] BOOL *pfEqual);
}
cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
cpp_quote("#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8)")
cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
/*****************************************************************************
* IUriContainer interface
*/
[
local,
object,
uuid(a158a630-ed6f-45fb-b987-f68676f57752),
pointer_default(unique)
]
interface IUriContainer : IUnknown
{
HRESULT GetIUri([out] IUri **ppIUri);
}
/*****************************************************************************
* IUriBuilder interface
*/
[
local,
object,
uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
pointer_default(unique)
]
interface IUriBuilder: IUnknown
{
HRESULT CreateUriSimple(
[in] DWORD dwAllowEncodingPropertyMask,
[in] DWORD_PTR dwReserved,
[out] IUri **ppIUri);
HRESULT CreateUri(
[in] DWORD dwCreateFlags,
[in] DWORD dwAllowEncodingPropertyMask,
[in] DWORD_PTR dwReserved,
[out] IUri **ppIUri);
HRESULT CreateUriWithFlags(
[in] DWORD dwCreateFlags,
[in] DWORD dwUriBuilderFlags,
[in] DWORD dwAllowEncodingPropertyMask,
[in] DWORD_PTR dwReserved,
[out] IUri **ppIUri);
HRESULT GetIUri(
[out] IUri **ppIUri);
HRESULT SetIUri(
[in, unique] IUri *pIUri);
HRESULT GetFragment(
[out] DWORD *pcchFragment,
[out] LPCWSTR *ppwzFragment);
HRESULT GetHost(
[out] DWORD *pcchHost,
[out] LPCWSTR *ppwzHost);
HRESULT GetPassword(
[out] DWORD *pcchPassword,
[out] LPCWSTR *ppwzPassword);
HRESULT GetPath(
[out] DWORD *pcchPath,
[out] LPCWSTR *ppwzPath);
HRESULT GetPort(
[out] BOOL *pfHasPort,
[out] DWORD *pdwPort);
HRESULT GetQuery(
[out] DWORD *pcchQuery,
[out] LPCWSTR *ppwzQuery);
HRESULT GetSchemeName(
[out] DWORD *pcchSchemeName,
[out] LPCWSTR *ppwzSchemeName);
HRESULT GetUserName(
[out] DWORD *pcchUserName,
[out] LPCWSTR *ppwzUserName);
HRESULT SetFragment(
[in] LPCWSTR pwzNewValue);
HRESULT SetHost(
[in] LPCWSTR pwzNewValue);
HRESULT SetPassword(
[in] LPCWSTR pwzNewValue);
HRESULT SetPath(
[in] LPCWSTR pwzNewValue);
HRESULT SetPort(
[in] BOOL fHasPort,
[in] DWORD dwNewValue);
HRESULT SetQuery(
[in] LPCWSTR pwzNewValue);
HRESULT SetSchemeName(
[in] LPCWSTR pwzNewValue);
HRESULT SetUserName(
[in] LPCWSTR pwzNewValue);
HRESULT RemoveProperties(
[in] DWORD dwPropertyMask);
HRESULT HasBeenModified(
[out] BOOL *pfModified);
};
cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
/*****************************************************************************
* IUriBuilderFactory interface
*/
[
local,
object,
uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
pointer_default(unique)
]
interface IUriBuilderFactory : IUnknown
{
HRESULT CreateIUriBuilder(
[in] DWORD dwFlags,
[in] DWORD_PTR dwReserved,
[out] IUriBuilder **ppIUriBuilder);
HRESULT CreateInitializedIUriBuilder(
[in] DWORD dwFlags,
[in] DWORD_PTR dwReserved,
[out] IUriBuilder **ppIUriBuilder);
}
/*****************************************************************************
* IInternetProtocolEx interface
*/
[
local,
object,
uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
pointer_default(unique)
]
interface IInternetProtocolEx : IInternetProtocol
{
HRESULT StartEx(
[in] IUri *pUri,
[in] IInternetProtocolSink *pOIProtSink,
[in] IInternetBindInfo *pOIBindInfo,
[in] DWORD grfPI,
[in] HANDLE *dwReserved);
}
/*****************************************************************************
* IGetBindHandle interface
*/
[
local,
object,
uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
pointer_default(unique)
]
interface IGetBindHandle : IUnknown
{
typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
typedef enum {
BINDHANDLETYPES_APPCACHE = 0x00000000,
BINDHANDLETYPES_DEPENDENCY = 0x00000001,
BINDHANDLETYPES_COUNT
} BINDHANDLETYPES;
HRESULT GetBindHandle(
[in] BINDHANDLETYPES enumRequestedHandle,
[out] HANDLE *pRetHandle);
}
cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
struct CONFIRMSAFETY
{
CLSID clsid;
IUnknown *pUnk;
DWORD dwFlags;
};
cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
cpp_quote("#ifndef S_ASYNCHRONOUS")
cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
cpp_quote("#endif")
cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
cpp_quote("#define OInetGetSession CoInternetGetSession")
cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
cpp_quote("#define MKSYS_URLMONIKER 6")
cpp_quote("#define URL_MK_LEGACY 0")
cpp_quote("#define URL_MK_UNIFORM 1")
cpp_quote("#define URL_MK_NO_CANONICALIZE 2")
|