/usr/include/wine/windows/oledb.h is in wine1.6-dev 1:1.6.2-0ubuntu14.
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 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 | /*** Autogenerated by WIDL 1.6.2 from oledb.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 __oledb_h__
#define __oledb_h__
/* Forward declarations */
#ifndef __IAccessor_FWD_DEFINED__
#define __IAccessor_FWD_DEFINED__
typedef interface IAccessor IAccessor;
#endif
#ifndef __IRowset_FWD_DEFINED__
#define __IRowset_FWD_DEFINED__
typedef interface IRowset IRowset;
#endif
#ifndef __IRowsetInfo_FWD_DEFINED__
#define __IRowsetInfo_FWD_DEFINED__
typedef interface IRowsetInfo IRowsetInfo;
#endif
#ifndef __IRowsetLocate_FWD_DEFINED__
#define __IRowsetLocate_FWD_DEFINED__
typedef interface IRowsetLocate IRowsetLocate;
#endif
#ifndef __ICommand_FWD_DEFINED__
#define __ICommand_FWD_DEFINED__
typedef interface ICommand ICommand;
#endif
#ifndef __ICommandText_FWD_DEFINED__
#define __ICommandText_FWD_DEFINED__
typedef interface ICommandText ICommandText;
#endif
#ifndef __IDBCreateCommand_FWD_DEFINED__
#define __IDBCreateCommand_FWD_DEFINED__
typedef interface IDBCreateCommand IDBCreateCommand;
#endif
#ifndef __IDBCreateSession_FWD_DEFINED__
#define __IDBCreateSession_FWD_DEFINED__
typedef interface IDBCreateSession IDBCreateSession;
#endif
#ifndef __IDBProperties_FWD_DEFINED__
#define __IDBProperties_FWD_DEFINED__
typedef interface IDBProperties IDBProperties;
#endif
#ifndef __IDBInitialize_FWD_DEFINED__
#define __IDBInitialize_FWD_DEFINED__
typedef interface IDBInitialize IDBInitialize;
#endif
#ifndef __IDBDataSourceAdmin_FWD_DEFINED__
#define __IDBDataSourceAdmin_FWD_DEFINED__
typedef interface IDBDataSourceAdmin IDBDataSourceAdmin;
#endif
#ifndef __IDBAsynchNotify_FWD_DEFINED__
#define __IDBAsynchNotify_FWD_DEFINED__
typedef interface IDBAsynchNotify IDBAsynchNotify;
#endif
#ifndef __IDBAsynchStatus_FWD_DEFINED__
#define __IDBAsynchStatus_FWD_DEFINED__
typedef interface IDBAsynchStatus IDBAsynchStatus;
#endif
#ifndef __ISessionProperties_FWD_DEFINED__
#define __ISessionProperties_FWD_DEFINED__
typedef interface ISessionProperties ISessionProperties;
#endif
#ifndef __IRowsetNotify_FWD_DEFINED__
#define __IRowsetNotify_FWD_DEFINED__
typedef interface IRowsetNotify IRowsetNotify;
#endif
#ifndef __IOpenRowset_FWD_DEFINED__
#define __IOpenRowset_FWD_DEFINED__
typedef interface IOpenRowset IOpenRowset;
#endif
#ifndef __IRow_FWD_DEFINED__
#define __IRow_FWD_DEFINED__
typedef interface IRow IRow;
#endif
#ifndef __IRowChange_FWD_DEFINED__
#define __IRowChange_FWD_DEFINED__
typedef interface IRowChange IRowChange;
#endif
#ifndef __IBindResource_FWD_DEFINED__
#define __IBindResource_FWD_DEFINED__
typedef interface IBindResource IBindResource;
#endif
#ifndef __ICreateRow_FWD_DEFINED__
#define __ICreateRow_FWD_DEFINED__
typedef interface ICreateRow ICreateRow;
#endif
/* Headers for imported files */
#include <wtypes.h>
#include <oaidl.h>
#include <ocidl.h>
#include <propidl.h>
#include <urlmon.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN64
#include <pshpack8.h>
#else
#include <pshpack2.h>
#endif
typedef ULONG_PTR DBBYTEOFFSET;
typedef LONG_PTR DBROWOFFSET;
typedef LONG_PTR DBROWCOUNT;
typedef ULONG_PTR DBCOUNTITEM;
typedef ULONG_PTR DBLENGTH;
typedef ULONG_PTR DBORDINAL;
typedef DWORD DBREASON;
typedef DWORD DBEVENTPHASE;
typedef ULONG_PTR DBBKMARK;
typedef DWORD_PTR DB_DWRESERVE;
typedef ULONG_PTR DBREFCOUNT;
typedef ULONG_PTR DB_UPARAMS;
typedef LONG_PTR DB_LPARAMS;
typedef DWORD_PTR DBHASHVALUE;
typedef DWORD DBKIND;
enum DBKINDENUM {
DBKIND_GUID_NAME = 0,
DBKIND_GUID_PROPID = 1,
DBKIND_NAME = 2,
DBKIND_PGUID_NAME = 3,
DBKIND_PGUID_PROPID = 4,
DBKIND_PROPID = 5,
DBKIND_GUID = 6
};
typedef struct tagDBID {
union {
GUID guid;
GUID *pguid;
} uGuid;
DBKIND eKind;
union {
LPOLESTR pwszName;
ULONG ulPropid;
} uName;
} DBID;
typedef DWORD DBPROPID;
typedef struct tagDBPROPIDSET {
DBPROPID *rgPropertyIDs;
ULONG cPropertyIDs;
GUID guidPropertySet;
} DBPROPIDSET;
typedef DWORD DBPROPOPTIONS;
enum DBPROPOPTIONENUM {
DBPROPOPTIONS_REQUIRED = 0,
DBPROPOPTIONS_SETIFCHEAP = 1,
DBPROPOPTIONS_OPTIONAL = 1
};
typedef DWORD DBPROPSTATUS;
typedef struct tagDBPROP {
DBPROPID dwPropertyID;
DBPROPOPTIONS dwOptions;
DBPROPSTATUS dwStatus;
DBID colid;
VARIANT vValue;
} DBPROP;
typedef struct tagDBPROPSET {
DBPROP *rgProperties;
ULONG cProperties;
GUID guidPropertySet;
} DBPROPSET;
typedef DWORD DBPROPFLAGS;
typedef struct tagDBPROPINFO {
LPOLESTR pwszDescription;
DBPROPID dwPropertyID;
DBPROPFLAGS dwFlags;
VARTYPE vtType;
VARIANT vValues;
} DBPROPINFO;
typedef DBPROPINFO *PDBPROPINFO;
typedef struct tagDBPROPINFOSET {
PDBPROPINFO rgPropertyInfos;
ULONG cPropertyInfos;
GUID guidPropertySet;
} DBPROPINFOSET;
typedef DWORD DBBINDURLFLAG;
typedef DWORD DBBINDURLSTATUS;
typedef struct tagDBIMPLICITSESSION {
IUnknown *pUnkOuter;
IID *piid;
IUnknown *pSession;
} DBIMPLICITSESSION;
typedef WORD DBTYPE;
enum DBTYPEENUM {
DBTYPE_EMPTY = 0,
DBTYPE_NULL = 1,
DBTYPE_I2 = 2,
DBTYPE_I4 = 3,
DBTYPE_R4 = 4,
DBTYPE_R8 = 5,
DBTYPE_CY = 6,
DBTYPE_DATE = 7,
DBTYPE_BSTR = 8,
DBTYPE_IDISPATCH = 9,
DBTYPE_ERROR = 10,
DBTYPE_BOOL = 11,
DBTYPE_VARIANT = 12,
DBTYPE_IUNKNOWN = 13,
DBTYPE_DECIMAL = 14,
DBTYPE_I1 = 16,
DBTYPE_UI1 = 17,
DBTYPE_UI2 = 18,
DBTYPE_UI4 = 19,
DBTYPE_I8 = 20,
DBTYPE_UI8 = 21,
DBTYPE_GUID = 72,
DBTYPE_BYTES = 128,
DBTYPE_STR = 129,
DBTYPE_WSTR = 130,
DBTYPE_NUMERIC = 131,
DBTYPE_UDT = 132,
DBTYPE_DBDATE = 133,
DBTYPE_DBTIME = 134,
DBTYPE_DBTIMESTAMP = 135,
DBTYPE_VECTOR = 0x1000,
DBTYPE_ARRAY = 0x2000,
DBTYPE_BYREF = 0x4000,
DBTYPE_RESERVED = 0x8000
};
enum DBTYPEENUM15 {
DBTYPE_HCHAPTER = 136
};
enum DBTYPEENUM20 {
DBTYPE_FILETIME = 64,
DBTYPE_PROPVARIANT = 138,
DBTYPE_VARNUMERIC = 139
};
typedef DWORD DBSTATUS;
enum DBSTATUSENUM {
DBSTATUS_S_OK = 0,
DBSTATUS_E_BADACCESSOR = 1,
DBSTATUS_E_CANTCONVERTVALUE = 2,
DBSTATUS_S_ISNULL = 3,
DBSTATUS_S_TRUNCATED = 4,
DBSTATUS_E_SIGNMISMATCH = 5,
DBSTATUS_E_DATAOVERFLOW = 6,
DBSTATUS_E_CANTCREATE = 7,
DBSTATUS_E_UNAVAILABLE = 8,
DBSTATUS_E_PERMISSIONDENIED = 9,
DBSTATUS_E_INTEGRITYVIOLATION = 10,
DBSTATUS_E_SCHEMAVIOLATION = 11,
DBSTATUS_E_BADSTATUS = 12,
DBSTATUS_S_DEFAULT = 13
};
enum DBPROPENUM {
DBPROP_ABORTPRESERVE = 0x2,
DBPROP_ACTIVESESSIONS = 0x3,
DBPROP_ASYNCTXNCOMMIT = 0x4,
DBPROP_AUTH_CACHE_AUTHINFO = 0x5,
DBPROP_AUTH_ENCRYPT_PASSWORD = 0x6,
DBPROP_AUTH_INTEGRATED = 0x7,
DBPROP_AUTH_MASK_PASSWORD = 0x8,
DBPROP_AUTH_PASSWORD = 0x9,
DBPROP_AUTH_PERSIST_ENCRYPTED = 0xa,
DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO = 0xb,
DBPROP_AUTH_USERID = 0xc,
DBPROP_BLOCKINGSTORAGEOBJECTS = 0xd,
DBPROP_BOOKMARKS = 0xe,
DBPROP_BOOKMARKSKIPPED = 0xf,
DBPROP_BOOKMARKTYPE = 0x10,
DBPROP_CACHEDEFERRED = 0x11,
DBPROP_CANFETCHBACKWARDS = 0x12,
DBPROP_CANHOLDROWS = 0x13,
DBPROP_CANSCROLLBACKWARDS = 0x15,
DBPROP_CATALOGLOCATION = 0x16,
DBPROP_CATALOGTERM = 0x17,
DBPROP_CATALOGUSAGE = 0x18,
DBPROP_COL_AUTOINCREMENT = 0x1a,
DBPROP_COL_DEFAULT = 0x1b,
DBPROP_COL_DESCRIPTION = 0x1c,
DBPROP_COL_NULLABLE = 0x1d,
DBPROP_COL_PRIMARYKEY = 0x1e,
DBPROP_COL_UNIQUE = 0x1f,
DBPROP_COLUMNDEFINITION = 0x20,
DBPROP_COLUMNRESTRICT = 0x21,
DBPROP_COMMANDTIMEOUT = 0x22,
DBPROP_COMMITPRESERVE = 0x23,
DBPROP_CONCATNULLBEHAVIOR = 0x24,
DBPROP_CURRENTCATALOG = 0x25,
DBPROP_DATASOURCENAME = 0x26,
DBPROP_DATASOURCEREADONLY = 0x27,
DBPROP_DBMSNAME = 0x28,
DBPROP_DBMSVER = 0x29,
DBPROP_DEFERRED = 0x2a,
DBPROP_DELAYSTORAGEOBJECTS = 0x2b,
DBPROP_GROUPBY = 0x2c,
DBPROP_HETEROGENEOUSTABLES = 0x2d,
DBPROP_IDENTIFIERCASE = 0x2e,
DBPROP_IMMOBILEROWS = 0x2f,
DBPROP_INDEX_AUTOUPDATE = 0x30,
DBPROP_INDEX_CLUSTERED = 0x31,
DBPROP_INDEX_FILLFACTOR = 0x32,
DBPROP_INDEX_INITIALSIZE = 0x33,
DBPROP_INDEX_NULLCOLLATION = 0x34,
DBPROP_INDEX_NULLS = 0x35,
DBPROP_INDEX_PRIMARYKEY = 0x36,
DBPROP_INDEX_SORTBOOKMARKS = 0x37,
DBPROP_INDEX_TYPE = 0x38,
DBPROP_INDEX_UNIQUE = 0x39,
DBPROP_INIT_DATASOURCE = 0x3b,
DBPROP_INIT_HWND = 0x3c,
DBPROP_INIT_IMPERSONATION_LEVEL = 0x3d,
DBPROP_INIT_LOCATION = 0x3e,
DBPROP_INIT_MODE = 0x3f,
DBPROP_INIT_PROMPT = 0x40,
DBPROP_INIT_PROTECTION_LEVEL = 0x41,
DBPROP_INIT_TIMEOUT = 0x42,
DBPROP_LITERALBOOKMARKS = 0x43,
DBPROP_LITERALIDENTITY = 0x44,
DBPROP_MAXINDEXSIZE = 0x46,
DBPROP_MAXOPENROWS = 0x47,
DBPROP_MAXPENDINGROWS = 0x48,
DBPROP_MAXROWS = 0x49,
DBPROP_MAXROWSIZE = 0x4a,
DBPROP_MAXROWSIZEINCLUDESBLOB = 0x4b,
DBPROP_MAXTABLESINSELECT = 0x4c,
DBPROP_MAYWRITECOLUMN = 0x4d,
DBPROP_MEMORYUSAGE = 0x4e,
DBPROP_MULTIPLESTORAGEOBJECTS = 0x50,
DBPROP_MULTITABLEUPDATE = 0x51,
DBPROP_NOTIFICATIONPHASES = 0x52,
DBPROP_NULLCOLLATION = 0x53,
DBPROP_OLEOBJECTS = 0x54,
DBPROP_ORDERBYCOLUMNSINSELECT = 0x55,
DBPROP_ORDEREDBOOKMARKS = 0x56,
DBPROP_OTHERINSERT = 0x57,
DBPROP_OTHERUPDATEDELETE = 0x58,
DBPROP_OWNINSERT = 0x59,
DBPROP_OWNUPDATEDELETE = 0x5a,
DBPROP_PREPAREABORTBEHAVIOR = 0x5b,
DBPROP_PREPARECOMMITBEHAVIOR = 0x5c,
DBPROP_PROCEDURETERM = 0x5d,
DBPROP_PROVIDERNAME = 0x60,
DBPROP_PROVIDEROLEDBVER = 0x61,
DBPROP_PROVIDERVER = 0x62,
DBPROP_QUICKRESTART = 0x63,
DBPROP_QUOTEDIDENTIFIERCASE = 0x64,
DBPROP_REENTRANTEVENTS = 0x65,
DBPROP_REMOVEDELETED = 0x66,
DBPROP_REPORTMULTIPLECHANGES = 0x67,
DBPROP_ROWRESTRICT = 0x68,
DBPROP_ROWTHREADMODEL = 0x69,
DBPROP_SCHEMATERM = 0x6a,
DBPROP_SCHEMAUSAGE = 0x6b,
DBPROP_SERVERCURSOR = 0x6c,
DBPROP_SQLSUPPORT = 0x6d,
DBPROP_STRUCTUREDSTORAGE = 0x6f,
DBPROP_SUBQUERIES = 0x70,
DBPROP_SUPPORTEDTXNISOLEVELS = 0x71,
DBPROP_SUPPORTEDTXNISORETAIN = 0x72,
DBPROP_TABLETERM = 0x73,
DBPROP_TRANSACTEDOBJECT = 0x74,
DBPROP_UPDATABILITY = 0x75,
DBPROP_USERNAME = 0x76,
DBPROP_STRONGIDENTITY = 0x77,
DBPROP_BYREFACCESSORS = 0x78,
DBPROP_IAccessor = 0x79,
DBPROP_IColumnsInfo = 0x7a,
DBPROP_IColumnsRowset = 0x7b,
DBPROP_IConnectionPointContainer = 0x7c,
DBPROP_IRowset = 0x7e,
DBPROP_IRowsetChange = 0x7f,
DBPROP_IRowsetIdentity = 0x80,
DBPROP_IRowsetInfo = 0x81,
DBPROP_IRowsetLocate = 0x82,
DBPROP_IRowsetResynch = 0x84,
DBPROP_IRowsetScroll = 0x85,
DBPROP_IRowsetUpdate = 0x86,
DBPROP_ISupportErrorInfo = 0x87,
DBPROP_ILockBytes = 0x88,
DBPROP_ISequentialStream = 0x89,
DBPROP_IStorage = 0x8a,
DBPROP_IStream = 0x8b,
DBPROP_TBL_TEMPTABLE = 0x8c,
DBPROP_IRowsetIndex = 0x9f,
DBPROP_INIT_PROVIDERSTRING = 0xa0,
DBPROP_SUPPORTEDTXNDDL = 0xa1,
DBPROP_INDEX_TEMPINDEX = 0xa3,
DBPROP_COL_FIXEDLENGTH = 0xa7,
DBPROP_ASYNCTXNABORT = 0xa8,
DBPROP_DSOTHREADMODEL = 0xa9,
DBPROP_NOTIFYCOLUMNSET = 0xab,
DBPROP_NOTIFYROWDELETE = 0xad,
DBPROP_NOTIFYROWFIRSTCHANGE = 0xae,
DBPROP_NOTIFYROWINSERT = 0xaf,
DBPROP_NOTIFYROWRESYNCH = 0xb1,
DBPROP_NOTIFYROWSETRELEASE = 0xb2,
DBPROP_NOTIFYROWSETFETCHPOSITIONCHANGE = 0xb3,
DBPROP_NOTIFYROWUNDOCHANGE = 0xb4,
DBPROP_NOTIFYROWUNDODELETE = 0xb5,
DBPROP_NOTIFYROWUNDOINSERT = 0xb6,
DBPROP_NOTIFYROWUPDATE = 0xb7,
DBPROP_OUTPUTPARAMETERAVAILABILITY = 0xb8,
DBPROP_PERSISTENTIDTYPE = 0xb9,
DBPROP_INIT_LCID = 0xba,
DBPROP_APPENDONLY = 0xbb,
DBPROP_CHANGEINSERTEDROWS = 0xbc,
DBPROP_RETURNPENDINGINSERTS = 0xbd,
DBPROP_SESS_AUTOCOMMITISOLEVELS = 0xbe,
DBPROP_MULTIPLEPARAMSETS = 0xbf,
DBPROP_ROWSETCONVERSIONSONCOMMAND = 0xc0,
DBPROP_IConvertType = 0xc2,
DBPROP_MULTIPLERESULTS = 0xc4,
DBPROP_NOTIFICATIONGRANULARITY = 0xc6,
DBPROP_NOTIFYROWSETCHANGED = 0xd3
};
enum DBPROPENUM15 {
DBPROP_FILTERCOMPAREOPS = 0xd1,
DBPROP_FINDCOMPAREOPS = 0xd2,
DBPROP_IChapteredRowset = 0xca,
DBPROP_IDBAsynchStatus = 0xcb,
DBPROP_IRowsetFind = 0xcc,
DBPROP_IRowsetView = 0xd4,
DBPROP_IViewChapter = 0xd5,
DBPROP_IViewFilter = 0xd6,
DBPROP_IViewRowset = 0xd7,
DBPROP_IViewSort = 0xd8,
DBPROP_INIT_ASYNCH = 0xc8,
DBPROP_MAXOPENCHAPTERS = 0xc7,
DBPROP_MAXORSINFILTER = 0xcd,
DBPROP_MAXSORTCOLUMNS = 0xce,
DBPROP_ROWSET_ASYNCH = 0xc9,
DBPROP_SORTONINDEX = 0xcf
};
enum DBPROPENUM20 {
DBPROP_IMultipleResults = 0xd9,
DBPROP_DATASOURCE_TYPE = 0xfb,
MDPROP_AXES = 0xfc,
MDPROP_FLATTENING_SUPPORT = 0xfd,
MDPROP_MDX_JOINCUBES = 0xfe,
MDPROP_NAMED_LEVELS = 0xff,
MDPROP_RANGEROWSET = 0x100,
MDPROP_MDX_SLICER = 0xda,
MDPROP_MDX_CUBEQUALIFICATION = 0xdb,
MDPROP_MDX_OUTERREFERENCE = 0xdc,
MDPROP_MDX_QUERYBYPROPERTY = 0xdd,
MDPROP_MDX_CASESUPPORT = 0xde,
MDPROP_MDX_STRING_COMPOP = 0xe0,
MDPROP_MDX_DESCFLAGS = 0xe1,
MDPROP_MDX_SET_FUNCTIONS = 0xe2,
MDPROP_MDX_MEMBER_FUNCTIONS = 0xe3,
MDPROP_MDX_NUMERIC_FUNCTIONS = 0xe4,
MDPROP_MDX_FORMULAS = 0xe5,
MDPROP_AGGREGATECELL_UPDATE = 0xe6,
MDPROP_MDX_AGGREGATECELL_UPDATE = MDPROP_AGGREGATECELL_UPDATE,
MDPROP_MDX_OBJQUALIFICATION = 0x105,
MDPROP_MDX_NONMEASURE_EXPRESSIONS = 0x106,
DBPROP_ACCESSORDER = 0xe7,
DBPROP_BOOKMARKINFO = 0xe8,
DBPROP_INIT_CATALOG = 0xe9,
DBPROP_ROW_BULKOPS = 0xea,
DBPROP_PROVIDERFRIENDLYNAME = 0xeb,
DBPROP_LOCKMODE = 0xec,
DBPROP_MULTIPLECONNECTIONS = 0xed,
DBPROP_UNIQUEROWS = 0xee,
DBPROP_SERVERDATAONINSERT = 0xef,
DBPROP_STORAGEFLAGS = 0xf0,
DBPROP_CONNECTIONSTATUS = 0xf4,
DBPROP_ALTERCOLUMN = 0xf5,
DBPROP_COLUMNLCID = 0xf6,
DBPROP_RESETDATASOURCE = 0xf7,
DBPROP_INIT_OLEDBSERVICES = 0xf8,
DBPROP_IRowsetRefresh = 0xf9,
DBPROP_SERVERNAME = 0xfa,
DBPROP_IParentRowset = 0x101,
DBPROP_HIDDENCOLUMNS = 0x102,
DBPROP_PROVIDERMEMORY = 0x103,
DBPROP_CLIENTCURSOR = 0x104
};
enum DBPROPENUM21 {
DBPROP_TRUSTEE_USERNAME = 0xf1,
DBPROP_TRUSTEE_AUTHENTICATION = 0xf2,
DBPROP_TRUSTEE_NEWAUTHENTICATION = 0xf3,
DBPROP_IRow = 0x107,
DBPROP_IRowChange = 0x108,
DBPROP_IRowSchemaChange = 0x109,
DBPROP_IGetRow = 0x10a,
DBPROP_IScopedOperations = 0x10b,
DBPROP_IBindResource = 0x10c,
DBPROP_ICreateRow = 0x10d,
DBPROP_INIT_BINDFLAGS = 0x10e,
DBPROP_INIT_LOCKOWNER = 0x10f,
DBPROP_GENERATEURL = 0x111,
DBPROP_IDBBinderProperties = 0x112,
DBPROP_IColumnsInfo2 = 0x113,
DBPROP_IRegisterProvider = 0x114,
DBPROP_IGetSession = 0x115,
DBPROP_IGetSourceRow = 0x116,
DBPROP_IRowsetCurrentIndex = 0x117,
DBPROP_OPENROWSETSUPPORT = 0x118,
DBPROP_COL_ISLONG = 0x119
};
enum DBPROPENUM25 {
DBPROP_COL_SEED = 0x11a,
DBPROP_COL_INCREMENT = 0x11b,
DBPROP_INIT_GENERALTIMEOUT = 0x11c,
DBPROP_COMSERVICES = 0x11d
};
enum DBPROPENUM26 {
DBPROP_OUTPUTSTREAM = 0x11e,
DBPROP_OUTPUTENCODING = 0x11f,
DBPROP_TABLESTATISTICS = 0x120,
DBPROP_SKIPROWCOUNTRESULTS = 0x123,
DBPROP_IRowsetBookmark = 0x124,
MDPROP_VISUALMODE = 0x125
};
#ifdef DBINITCONSTANTS
#ifdef __cplusplus
#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name DECLSPEC_HIDDEN; \
EXTERN_C const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#else
#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
const GUID name DECLSPEC_HIDDEN; \
const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif
#else
#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name DECLSPEC_HIDDEN
#endif
DEFINE_DBGUID(DB_NULLGUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
DEFINE_DBGUID(DBPROPSET_DBINIT, 0xc8b522bc, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);
DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);
DEFINE_DBGUID(DBGUID_ROWSET, 0xc8b522f6, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);
DEFINE_DBGUID(DBGUID_ROW, 0xc8b522f7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);
DEFINE_DBGUID(DBGUID_STREAM, 0xc8b522f9, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);
#define DBPROMPT_PROMPT 0x01
#define DBPROMPT_COMPLETE 0x02
#define DBPROMPT_COMPLETEREQUIRED 0x03
#define DBPROMPT_NOPROMPT 0x04
#define DBPROPVAL_STGM_READ OF_READ
#define DBPROPVAL_STGM_WRITE OF_WRITE
#define DBPROPVAL_STGM_READWRITE OF_READWRITE
#define DBPROPVAL_STGM_SHARE_DENY_NONE OF_SHARE_DENY_NONE
#define DBPROPVAL_STGM_SHARE_DENY_READ OF_SHARE_DENY_READ
#define DBPROPVAL_STGM_SHARE_DENY_WRITE OF_SHARE_DENY_WRITE)
#define DBPROPVAL_STGM_SHARE_EXCLUSIVE OF_SHARE_EXCLUSIVE
#define DBPROPVAL_STGM_DIRECT 0x00010000
#define DBPROPVAL_STGM_TRANSACTED 0x00020000
#define DBPROPVAL_STGM_CREATE OF_CREATE
#define DBPROPVAL_STGM_CONVERT 0x00040000
#define DBPROPVAL_STGM_FAILIFTHERE 0x00080000
#define DBPROPVAL_STGM_PRIORITY 0x00100000
#define DBPROPVAL_STGM_DELETEONRELEASE 0x00200000
#define DBPROPVAL_GB_COLLATE __MSABI_LONG(0x00000010)
#define DBPROPVAL_CS_UNINITIALIZED __MSABI_LONG(0x00000000)
#define DBPROPVAL_CS_INITIALIZED __MSABI_LONG(0x00000001)
#define DBPROPVAL_CS_COMMUNICATIONFAILURE __MSABI_LONG(0x00000002)
#define DBPROPVAL_RD_RESETALL __MSABI_LONG(0xffffffff)
#define DBPROPVAL_OS_RESOURCEPOOLING __MSABI_LONG(0x00000001)
#define DBPROPVAL_OS_TXNENLISTMENT __MSABI_LONG(0x00000002)
#define DBPROPVAL_OS_CLIENTCURSOR __MSABI_LONG(0x00000004)
#define DBPROPVAL_OS_ENABLEALL __MSABI_LONG(0xffffffff)
#define DBPROPVAL_BI_CROSSROWSET __MSABI_LONG(0x00000001)
typedef struct tagDBCOLUMNACCESS {
void *pData;
DBID columnid;
DBLENGTH cbDataLen;
DBSTATUS dwStatus;
DBLENGTH cbMaxLen;
DB_DWRESERVE dwReserved;
DBTYPE wType;
BYTE bPrecision;
BYTE bScale;
} DBCOLUMNACCESS;
typedef DWORD DBROWSTATUS;
enum DBROWSTATUSENUM {
DBROWSTATUS_S_OK = 0,
DBROWSTATUS_S_LOCKUPGRADED = 1,
DBROWSTATUS_S_MULTIPLECHANGES = 2,
DBROWSTATUS_S_PENDINGCHANGES = 3,
DBROWSTATUS_E_CANCELED = 4,
DBROWSTATUS_E_CANTLOCKROW = 5,
DBROWSTATUS_E_CANTRELEASE = 6,
DBROWSTATUS_E_CONCURRENCYVIOLATION = 7,
DBROWSTATUS_E_DELETED = 8,
DBROWSTATUS_E_PENDINGINSERT = 9,
DBROWSTATUS_E_NEWLYINSERTED = 10,
DBROWSTATUS_E_INTEGRITYVIOLATION = 11,
DBROWSTATUS_E_INVALID = 12,
DBROWSTATUS_E_MAXPENDCHANGESEXCEEDED = 13,
DBROWSTATUS_E_OBJECTOPEN = 14,
DBROWSTATUS_E_OUTOFMEMORY = 15,
DBROWSTATUS_E_PERMISSIONDENIED = 16,
DBROWSTATUS_E_LIMITREACHED = 17,
DBROWSTATUS_E_SCHEMAVIOLATION = 18,
DBROWSTATUS_E_FAIL = 19
};
typedef DWORD DBPART;
enum DBPARTENUM {
DBPART_INVALID = 0,
DBPART_VALUE = 1,
DBPART_LENGTH = 2,
DBPART_STATUS = 4
};
typedef DWORD DBPARAMIO;
enum DBPARAMIOENUM {
DBPARAMIO_NOTPARAM = 0,
DBPARAMIO_INPUT = 1,
DBPARAMIO_OUTPUT = 2
};
typedef DWORD DBMEMOWNER;
enum DBMEMOWNERENUM {
DBMEMOWNER_CLIENTOWNED = 0,
DBMEMOWNER_PROVIDEROWNED = 1
};
typedef struct tagDBOBJECT {
DWORD dwFlags;
IID iid;
} DBOBJECT;
typedef struct tagDBBINDEXT {
BYTE *pExtension;
DBCOUNTITEM ulExtension;
} DBBINDEXT;
typedef struct tagDBBINDING {
DBORDINAL iOrdinal;
DBBYTEOFFSET obValue;
DBBYTEOFFSET obLength;
DBBYTEOFFSET obStatus;
ITypeInfo *pTypeInfo;
DBOBJECT *pObject;
DBBINDEXT *pBindExt;
DBPART dwPart;
DBMEMOWNER dwMemOwner;
DBPARAMIO eParamIO;
DBLENGTH cbMaxLen;
DWORD dwFlags;
DBTYPE wType;
BYTE bPrecision;
BYTE bScale;
} DBBINDING;
typedef ULONG_PTR HACCESSOR;
#define DB_INVALID_HACCESSOR 0x00
typedef ULONG_PTR HROW;
#define DB_NULL_HROW 0x00
typedef ULONG_PTR HWATCHREGION;
#define DBWATCHREGION_NULL NULL
typedef ULONG_PTR HCHAPTER;
#define DB_NULL_HCHAPTER 0x00
typedef struct tagDBPARAMS {
void *pData;
DB_UPARAMS cParamSets;
HACCESSOR hAccessor;
} DBPARAMS;
typedef DWORD DBASYNCHOP;
enum DBASYNCHOPENUM {
DBSYNCHOP_OPEN = 0
};
typedef DWORD DBASYNCHPHASE;
enum DBASYNCHPHASEENUM {
DBASYNCHPHASE_INITIALIZATION = 0,
DBASYNCHPHASE_POPULATION = 1,
DBASYNCHPHASE_COMPLETE = 2,
DBASYNCHPHASE_CANCELED = 3
};
typedef struct tagRMTPACK {
ISequentialStream *pISeqStream;
ULONG cbData;
ULONG cBSTR;
BSTR *rgBSTR;
ULONG cVARIANT;
VARIANT *rgVARIANT;
ULONG cIDISPATCH;
IDispatch **rgIDISPATCH;
ULONG cIUNKNOWN;
IUnknown **rgIUNKNOWN;
ULONG cPROPVARIANT;
PROPVARIANT *rgPROPVARIANT;
ULONG cArray;
VARIANT *rgArray;
} RMTPACK;
typedef struct tagDBDATE {
SHORT year;
USHORT month;
USHORT day;
} DBDATE;
typedef struct tagDBTIME {
USHORT hour;
USHORT minute;
USHORT second;
} DBTIME;
typedef struct tagDBTIMESTAMP {
SHORT year;
USHORT month;
USHORT day;
USHORT hour;
USHORT minute;
USHORT second;
ULONG fraction;
} DBTIMESTAMP;
/*****************************************************************************
* IAccessor interface
*/
#ifndef __IAccessor_INTERFACE_DEFINED__
#define __IAccessor_INTERFACE_DEFINED__
typedef DWORD DBACCESSORFLAGS;
typedef DWORD DBBINDSTATUS;
DEFINE_GUID(IID_IAccessor, 0x0c733a8c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a8c-2a1c-11ce-ade5-00aa0044773d")
IAccessor : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE AddRefAccessor(
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateAccessor(
DBACCESSORFLAGS dwAccessorFlags,
DBCOUNTITEM cBindings,
const DBBINDING rgBindings[],
DBLENGTH cbRowSize,
HACCESSOR *phAccessor,
DBBINDSTATUS rgStatus[]) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBindings(
HACCESSOR hAccessor,
DBACCESSORFLAGS *pdwAccessorFlags,
DBCOUNTITEM *pcBindings,
DBBINDING **prgBindings) = 0;
virtual HRESULT STDMETHODCALLTYPE ReleaseAccessor(
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IAccessor, 0x0c733a8c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IAccessorVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IAccessor* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IAccessor* This);
ULONG (STDMETHODCALLTYPE *Release)(
IAccessor* This);
/*** IAccessor methods ***/
HRESULT (STDMETHODCALLTYPE *AddRefAccessor)(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount);
HRESULT (STDMETHODCALLTYPE *CreateAccessor)(
IAccessor* This,
DBACCESSORFLAGS dwAccessorFlags,
DBCOUNTITEM cBindings,
const DBBINDING rgBindings[],
DBLENGTH cbRowSize,
HACCESSOR *phAccessor,
DBBINDSTATUS rgStatus[]);
HRESULT (STDMETHODCALLTYPE *GetBindings)(
IAccessor* This,
HACCESSOR hAccessor,
DBACCESSORFLAGS *pdwAccessorFlags,
DBCOUNTITEM *pcBindings,
DBBINDING **prgBindings);
HRESULT (STDMETHODCALLTYPE *ReleaseAccessor)(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount);
END_INTERFACE
} IAccessorVtbl;
interface IAccessor {
CONST_VTBL IAccessorVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IAccessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IAccessor_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IAccessor_Release(This) (This)->lpVtbl->Release(This)
/*** IAccessor methods ***/
#define IAccessor_AddRefAccessor(This,hAccessor,pcRefCount) (This)->lpVtbl->AddRefAccessor(This,hAccessor,pcRefCount)
#define IAccessor_CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus) (This)->lpVtbl->CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus)
#define IAccessor_GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings) (This)->lpVtbl->GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings)
#define IAccessor_ReleaseAccessor(This,hAccessor,pcRefCount) (This)->lpVtbl->ReleaseAccessor(This,hAccessor,pcRefCount)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IAccessor_QueryInterface(IAccessor* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IAccessor_AddRef(IAccessor* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IAccessor_Release(IAccessor* This) {
return This->lpVtbl->Release(This);
}
/*** IAccessor methods ***/
static FORCEINLINE HRESULT IAccessor_AddRefAccessor(IAccessor* This,HACCESSOR hAccessor,DBREFCOUNT *pcRefCount) {
return This->lpVtbl->AddRefAccessor(This,hAccessor,pcRefCount);
}
static FORCEINLINE HRESULT IAccessor_CreateAccessor(IAccessor* This,DBACCESSORFLAGS dwAccessorFlags,DBCOUNTITEM cBindings,const DBBINDING rgBindings[],DBLENGTH cbRowSize,HACCESSOR *phAccessor,DBBINDSTATUS rgStatus[]) {
return This->lpVtbl->CreateAccessor(This,dwAccessorFlags,cBindings,rgBindings,cbRowSize,phAccessor,rgStatus);
}
static FORCEINLINE HRESULT IAccessor_GetBindings(IAccessor* This,HACCESSOR hAccessor,DBACCESSORFLAGS *pdwAccessorFlags,DBCOUNTITEM *pcBindings,DBBINDING **prgBindings) {
return This->lpVtbl->GetBindings(This,hAccessor,pdwAccessorFlags,pcBindings,prgBindings);
}
static FORCEINLINE HRESULT IAccessor_ReleaseAccessor(IAccessor* This,HACCESSOR hAccessor,DBREFCOUNT *pcRefCount) {
return This->lpVtbl->ReleaseAccessor(This,hAccessor,pcRefCount);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IAccessor_RemoteAddRefAccessor_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IAccessor_RemoteAddRefAccessor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IAccessor_RemoteCreateAccessor_Proxy(
IAccessor* This,
DBACCESSORFLAGS dwAccessorFlags,
DBCOUNTITEM cBindings,
DBBINDING *rgBindings,
DBLENGTH cbRowSize,
HACCESSOR *phAccessor,
DBBINDSTATUS *rgStatus,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IAccessor_RemoteCreateAccessor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IAccessor_RemoteGetBindings_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBACCESSORFLAGS *pdwAccessorFlags,
DBCOUNTITEM *pcBindings,
DBBINDING **prgBindings,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IAccessor_RemoteGetBindings_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IAccessor_RemoteReleaseAccessor_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IAccessor_RemoteReleaseAccessor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IAccessor_AddRefAccessor_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount);
HRESULT __RPC_STUB IAccessor_AddRefAccessor_Stub(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IAccessor_CreateAccessor_Proxy(
IAccessor* This,
DBACCESSORFLAGS dwAccessorFlags,
DBCOUNTITEM cBindings,
const DBBINDING rgBindings[],
DBLENGTH cbRowSize,
HACCESSOR *phAccessor,
DBBINDSTATUS rgStatus[]);
HRESULT __RPC_STUB IAccessor_CreateAccessor_Stub(
IAccessor* This,
DBACCESSORFLAGS dwAccessorFlags,
DBCOUNTITEM cBindings,
DBBINDING *rgBindings,
DBLENGTH cbRowSize,
HACCESSOR *phAccessor,
DBBINDSTATUS *rgStatus,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IAccessor_GetBindings_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBACCESSORFLAGS *pdwAccessorFlags,
DBCOUNTITEM *pcBindings,
DBBINDING **prgBindings);
HRESULT __RPC_STUB IAccessor_GetBindings_Stub(
IAccessor* This,
HACCESSOR hAccessor,
DBACCESSORFLAGS *pdwAccessorFlags,
DBCOUNTITEM *pcBindings,
DBBINDING **prgBindings,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IAccessor_ReleaseAccessor_Proxy(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount);
HRESULT __RPC_STUB IAccessor_ReleaseAccessor_Stub(
IAccessor* This,
HACCESSOR hAccessor,
DBREFCOUNT *pcRefCount,
IErrorInfo **ppErrorInfoRem);
#endif /* __IAccessor_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRowset interface
*/
#ifndef __IRowset_INTERFACE_DEFINED__
#define __IRowset_INTERFACE_DEFINED__
typedef DWORD DBROWOPTIONS;
DEFINE_GUID(IID_IRowset, 0x0c733a7c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a7c-2a1c-11ce-ade5-00aa0044773d")
IRowset : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE AddRefRows(
DBCOUNTITEM cRows,
const HROW rghRows[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]) = 0;
virtual HRESULT STDMETHODCALLTYPE GetData(
HROW hRow,
HACCESSOR hAccessor,
void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNextRows(
HCHAPTER hReserved,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowObtained,
HROW **prghRows) = 0;
virtual HRESULT STDMETHODCALLTYPE ReleaseRows(
DBCOUNTITEM cRows,
const HROW rghRows[],
DBROWOPTIONS rgRowOptions[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]) = 0;
virtual HRESULT STDMETHODCALLTYPE RestartPosition(
HCHAPTER hReserved) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRowset, 0x0c733a7c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowsetVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRowset* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRowset* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRowset* This);
/*** IRowset methods ***/
HRESULT (STDMETHODCALLTYPE *AddRefRows)(
IRowset* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
HRESULT (STDMETHODCALLTYPE *GetData)(
IRowset* This,
HROW hRow,
HACCESSOR hAccessor,
void *pData);
HRESULT (STDMETHODCALLTYPE *GetNextRows)(
IRowset* This,
HCHAPTER hReserved,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowObtained,
HROW **prghRows);
HRESULT (STDMETHODCALLTYPE *ReleaseRows)(
IRowset* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBROWOPTIONS rgRowOptions[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
HRESULT (STDMETHODCALLTYPE *RestartPosition)(
IRowset* This,
HCHAPTER hReserved);
END_INTERFACE
} IRowsetVtbl;
interface IRowset {
CONST_VTBL IRowsetVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRowset_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRowset_Release(This) (This)->lpVtbl->Release(This)
/*** IRowset methods ***/
#define IRowset_AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) (This)->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus)
#define IRowset_GetData(This,hRow,hAccessor,pData) (This)->lpVtbl->GetData(This,hRow,hAccessor,pData)
#define IRowset_GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) (This)->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows)
#define IRowset_ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) (This)->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus)
#define IRowset_RestartPosition(This,hReserved) (This)->lpVtbl->RestartPosition(This,hReserved)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRowset_QueryInterface(IRowset* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRowset_AddRef(IRowset* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRowset_Release(IRowset* This) {
return This->lpVtbl->Release(This);
}
/*** IRowset methods ***/
static FORCEINLINE HRESULT IRowset_AddRefRows(IRowset* This,DBCOUNTITEM cRows,const HROW rghRows[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) {
return This->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus);
}
static FORCEINLINE HRESULT IRowset_GetData(IRowset* This,HROW hRow,HACCESSOR hAccessor,void *pData) {
return This->lpVtbl->GetData(This,hRow,hAccessor,pData);
}
static FORCEINLINE HRESULT IRowset_GetNextRows(IRowset* This,HCHAPTER hReserved,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowObtained,HROW **prghRows) {
return This->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows);
}
static FORCEINLINE HRESULT IRowset_ReleaseRows(IRowset* This,DBCOUNTITEM cRows,const HROW rghRows[],DBROWOPTIONS rgRowOptions[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) {
return This->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus);
}
static FORCEINLINE HRESULT IRowset_RestartPosition(IRowset* This,HCHAPTER hReserved) {
return This->lpVtbl->RestartPosition(This,hReserved);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IRowset_AddRefRows_Proxy(
IRowset* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
void __RPC_STUB IRowset_AddRefRows_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowset_GetData_Proxy(
IRowset* This,
HROW hRow,
HACCESSOR hAccessor,
void *pData);
void __RPC_STUB IRowset_GetData_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowset_GetNextRows_Proxy(
IRowset* This,
HCHAPTER hReserved,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowObtained,
HROW **prghRows);
void __RPC_STUB IRowset_GetNextRows_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowset_ReleaseRows_Proxy(
IRowset* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBROWOPTIONS rgRowOptions[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
void __RPC_STUB IRowset_ReleaseRows_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowset_RestartPosition_Proxy(
IRowset* This,
HCHAPTER hReserved);
void __RPC_STUB IRowset_RestartPosition_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IRowset_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRowsetInfo interface
*/
#ifndef __IRowsetInfo_INTERFACE_DEFINED__
#define __IRowsetInfo_INTERFACE_DEFINED__
DEFINE_GUID(IID_IRowsetInfo, 0x0c733a55, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a55-2a1c-11ce-ade5-00aa0044773d")
IRowsetInfo : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetProperties(
const ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReferencedRowset(
DBORDINAL iOrdinal,
REFIID riid,
IUnknown **ppReferencedRowset) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSpecification(
REFIID riid,
IUnknown **ppSpecification) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRowsetInfo, 0x0c733a55, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowsetInfoVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRowsetInfo* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRowsetInfo* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRowsetInfo* This);
/*** IRowsetInfo methods ***/
HRESULT (STDMETHODCALLTYPE *GetProperties)(
IRowsetInfo* This,
const ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT (STDMETHODCALLTYPE *GetReferencedRowset)(
IRowsetInfo* This,
DBORDINAL iOrdinal,
REFIID riid,
IUnknown **ppReferencedRowset);
HRESULT (STDMETHODCALLTYPE *GetSpecification)(
IRowsetInfo* This,
REFIID riid,
IUnknown **ppSpecification);
END_INTERFACE
} IRowsetInfoVtbl;
interface IRowsetInfo {
CONST_VTBL IRowsetInfoVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRowsetInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRowsetInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRowsetInfo_Release(This) (This)->lpVtbl->Release(This)
/*** IRowsetInfo methods ***/
#define IRowsetInfo_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets)
#define IRowsetInfo_GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset) (This)->lpVtbl->GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset)
#define IRowsetInfo_GetSpecification(This,riid,ppSpecification) (This)->lpVtbl->GetSpecification(This,riid,ppSpecification)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRowsetInfo_QueryInterface(IRowsetInfo* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRowsetInfo_AddRef(IRowsetInfo* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRowsetInfo_Release(IRowsetInfo* This) {
return This->lpVtbl->Release(This);
}
/*** IRowsetInfo methods ***/
static FORCEINLINE HRESULT IRowsetInfo_GetProperties(IRowsetInfo* This,const ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) {
return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets);
}
static FORCEINLINE HRESULT IRowsetInfo_GetReferencedRowset(IRowsetInfo* This,DBORDINAL iOrdinal,REFIID riid,IUnknown **ppReferencedRowset) {
return This->lpVtbl->GetReferencedRowset(This,iOrdinal,riid,ppReferencedRowset);
}
static FORCEINLINE HRESULT IRowsetInfo_GetSpecification(IRowsetInfo* This,REFIID riid,IUnknown **ppSpecification) {
return This->lpVtbl->GetSpecification(This,riid,ppSpecification);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetProperties_Proxy(
IRowsetInfo* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IRowsetInfo_RemoteGetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetReferencedRowset_Proxy(
IRowsetInfo* This,
DBORDINAL iOrdinal,
REFIID riid,
IUnknown **ppReferencedRowset,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IRowsetInfo_RemoteGetReferencedRowset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetInfo_RemoteGetSpecification_Proxy(
IRowsetInfo* This,
REFIID riid,
IUnknown **ppSpecification,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IRowsetInfo_RemoteGetSpecification_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IRowsetInfo_GetProperties_Proxy(
IRowsetInfo* This,
const ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT __RPC_STUB IRowsetInfo_GetProperties_Stub(
IRowsetInfo* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IRowsetInfo_GetReferencedRowset_Proxy(
IRowsetInfo* This,
DBORDINAL iOrdinal,
REFIID riid,
IUnknown **ppReferencedRowset);
HRESULT __RPC_STUB IRowsetInfo_GetReferencedRowset_Stub(
IRowsetInfo* This,
DBORDINAL iOrdinal,
REFIID riid,
IUnknown **ppReferencedRowset,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IRowsetInfo_GetSpecification_Proxy(
IRowsetInfo* This,
REFIID riid,
IUnknown **ppSpecification);
HRESULT __RPC_STUB IRowsetInfo_GetSpecification_Stub(
IRowsetInfo* This,
REFIID riid,
IUnknown **ppSpecification,
IErrorInfo **ppErrorInfoRem);
#endif /* __IRowsetInfo_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRowsetLocate interface
*/
#ifndef __IRowsetLocate_INTERFACE_DEFINED__
#define __IRowsetLocate_INTERFACE_DEFINED__
typedef DWORD DBCOMPARE;
enum DBCOMPAREENUM {
DBCOMPARE_LT = 0,
DBCOMPARE_EQ = 1,
DBCOMPARE_GT = 2,
DBCOMPARE_NE = 3,
DBCOMPARE_NOTCOMPARABLE = 4
};
DEFINE_GUID(IID_IRowsetLocate, 0x0c733a7d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a7d-2a1c-11ce-ade5-00aa0044773d")
IRowsetLocate : public IRowset
{
virtual HRESULT STDMETHODCALLTYPE Compare(
HCHAPTER hReserved,
DBBKMARK cbBookmark1,
const BYTE *pBookmark1,
DBBKMARK cbBookmark2,
const BYTE *pBookmark2,
DBCOMPARE *pComparison) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRowsAt(
HWATCHREGION hReserved1,
HCHAPTER hReserved2,
DBBKMARK cbBookmark,
const BYTE *pBookmark,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowsObtained,
HROW **prghRows) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRowsByBookmark(
HCHAPTER hReserved,
DBCOUNTITEM cRows,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
HROW rghRows[],
DBROWSTATUS rgRowStatus[]) = 0;
virtual HRESULT STDMETHODCALLTYPE Hash(
HCHAPTER hReserved,
DBBKMARK cBookmarks,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
DBHASHVALUE rgHashedValues[],
DBROWSTATUS rgBookmarkStatus[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRowsetLocate, 0x0c733a7d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowsetLocateVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRowsetLocate* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRowsetLocate* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRowsetLocate* This);
/*** IRowset methods ***/
HRESULT (STDMETHODCALLTYPE *AddRefRows)(
IRowsetLocate* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
HRESULT (STDMETHODCALLTYPE *GetData)(
IRowsetLocate* This,
HROW hRow,
HACCESSOR hAccessor,
void *pData);
HRESULT (STDMETHODCALLTYPE *GetNextRows)(
IRowsetLocate* This,
HCHAPTER hReserved,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowObtained,
HROW **prghRows);
HRESULT (STDMETHODCALLTYPE *ReleaseRows)(
IRowsetLocate* This,
DBCOUNTITEM cRows,
const HROW rghRows[],
DBROWOPTIONS rgRowOptions[],
DBREFCOUNT rgRefCounts[],
DBROWSTATUS rgRowStatus[]);
HRESULT (STDMETHODCALLTYPE *RestartPosition)(
IRowsetLocate* This,
HCHAPTER hReserved);
/*** IRowsetLocate methods ***/
HRESULT (STDMETHODCALLTYPE *Compare)(
IRowsetLocate* This,
HCHAPTER hReserved,
DBBKMARK cbBookmark1,
const BYTE *pBookmark1,
DBBKMARK cbBookmark2,
const BYTE *pBookmark2,
DBCOMPARE *pComparison);
HRESULT (STDMETHODCALLTYPE *GetRowsAt)(
IRowsetLocate* This,
HWATCHREGION hReserved1,
HCHAPTER hReserved2,
DBBKMARK cbBookmark,
const BYTE *pBookmark,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowsObtained,
HROW **prghRows);
HRESULT (STDMETHODCALLTYPE *GetRowsByBookmark)(
IRowsetLocate* This,
HCHAPTER hReserved,
DBCOUNTITEM cRows,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
HROW rghRows[],
DBROWSTATUS rgRowStatus[]);
HRESULT (STDMETHODCALLTYPE *Hash)(
IRowsetLocate* This,
HCHAPTER hReserved,
DBBKMARK cBookmarks,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
DBHASHVALUE rgHashedValues[],
DBROWSTATUS rgBookmarkStatus[]);
END_INTERFACE
} IRowsetLocateVtbl;
interface IRowsetLocate {
CONST_VTBL IRowsetLocateVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRowsetLocate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRowsetLocate_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRowsetLocate_Release(This) (This)->lpVtbl->Release(This)
/*** IRowset methods ***/
#define IRowsetLocate_AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus) (This)->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus)
#define IRowsetLocate_GetData(This,hRow,hAccessor,pData) (This)->lpVtbl->GetData(This,hRow,hAccessor,pData)
#define IRowsetLocate_GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows) (This)->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows)
#define IRowsetLocate_ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus) (This)->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus)
#define IRowsetLocate_RestartPosition(This,hReserved) (This)->lpVtbl->RestartPosition(This,hReserved)
/*** IRowsetLocate methods ***/
#define IRowsetLocate_Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison) (This)->lpVtbl->Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison)
#define IRowsetLocate_GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows) (This)->lpVtbl->GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows)
#define IRowsetLocate_GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus) (This)->lpVtbl->GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus)
#define IRowsetLocate_Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus) (This)->lpVtbl->Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRowsetLocate_QueryInterface(IRowsetLocate* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRowsetLocate_AddRef(IRowsetLocate* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRowsetLocate_Release(IRowsetLocate* This) {
return This->lpVtbl->Release(This);
}
/*** IRowset methods ***/
static FORCEINLINE HRESULT IRowsetLocate_AddRefRows(IRowsetLocate* This,DBCOUNTITEM cRows,const HROW rghRows[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) {
return This->lpVtbl->AddRefRows(This,cRows,rghRows,rgRefCounts,rgRowStatus);
}
static FORCEINLINE HRESULT IRowsetLocate_GetData(IRowsetLocate* This,HROW hRow,HACCESSOR hAccessor,void *pData) {
return This->lpVtbl->GetData(This,hRow,hAccessor,pData);
}
static FORCEINLINE HRESULT IRowsetLocate_GetNextRows(IRowsetLocate* This,HCHAPTER hReserved,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowObtained,HROW **prghRows) {
return This->lpVtbl->GetNextRows(This,hReserved,lRowsOffset,cRows,pcRowObtained,prghRows);
}
static FORCEINLINE HRESULT IRowsetLocate_ReleaseRows(IRowsetLocate* This,DBCOUNTITEM cRows,const HROW rghRows[],DBROWOPTIONS rgRowOptions[],DBREFCOUNT rgRefCounts[],DBROWSTATUS rgRowStatus[]) {
return This->lpVtbl->ReleaseRows(This,cRows,rghRows,rgRowOptions,rgRefCounts,rgRowStatus);
}
static FORCEINLINE HRESULT IRowsetLocate_RestartPosition(IRowsetLocate* This,HCHAPTER hReserved) {
return This->lpVtbl->RestartPosition(This,hReserved);
}
/*** IRowsetLocate methods ***/
static FORCEINLINE HRESULT IRowsetLocate_Compare(IRowsetLocate* This,HCHAPTER hReserved,DBBKMARK cbBookmark1,const BYTE *pBookmark1,DBBKMARK cbBookmark2,const BYTE *pBookmark2,DBCOMPARE *pComparison) {
return This->lpVtbl->Compare(This,hReserved,cbBookmark1,pBookmark1,cbBookmark2,pBookmark2,pComparison);
}
static FORCEINLINE HRESULT IRowsetLocate_GetRowsAt(IRowsetLocate* This,HWATCHREGION hReserved1,HCHAPTER hReserved2,DBBKMARK cbBookmark,const BYTE *pBookmark,DBROWOFFSET lRowsOffset,DBROWCOUNT cRows,DBCOUNTITEM *pcRowsObtained,HROW **prghRows) {
return This->lpVtbl->GetRowsAt(This,hReserved1,hReserved2,cbBookmark,pBookmark,lRowsOffset,cRows,pcRowsObtained,prghRows);
}
static FORCEINLINE HRESULT IRowsetLocate_GetRowsByBookmark(IRowsetLocate* This,HCHAPTER hReserved,DBCOUNTITEM cRows,const DBBKMARK rgcbBookmarks[],const BYTE * rgpBookmarks[],HROW rghRows[],DBROWSTATUS rgRowStatus[]) {
return This->lpVtbl->GetRowsByBookmark(This,hReserved,cRows,rgcbBookmarks,rgpBookmarks,rghRows,rgRowStatus);
}
static FORCEINLINE HRESULT IRowsetLocate_Hash(IRowsetLocate* This,HCHAPTER hReserved,DBBKMARK cBookmarks,const DBBKMARK rgcbBookmarks[],const BYTE * rgpBookmarks[],DBHASHVALUE rgHashedValues[],DBROWSTATUS rgBookmarkStatus[]) {
return This->lpVtbl->Hash(This,hReserved,cBookmarks,rgcbBookmarks,rgpBookmarks,rgHashedValues,rgBookmarkStatus);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IRowsetLocate_Compare_Proxy(
IRowsetLocate* This,
HCHAPTER hReserved,
DBBKMARK cbBookmark1,
const BYTE *pBookmark1,
DBBKMARK cbBookmark2,
const BYTE *pBookmark2,
DBCOMPARE *pComparison);
void __RPC_STUB IRowsetLocate_Compare_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetLocate_GetRowsAt_Proxy(
IRowsetLocate* This,
HWATCHREGION hReserved1,
HCHAPTER hReserved2,
DBBKMARK cbBookmark,
const BYTE *pBookmark,
DBROWOFFSET lRowsOffset,
DBROWCOUNT cRows,
DBCOUNTITEM *pcRowsObtained,
HROW **prghRows);
void __RPC_STUB IRowsetLocate_GetRowsAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetLocate_GetRowsByBookmark_Proxy(
IRowsetLocate* This,
HCHAPTER hReserved,
DBCOUNTITEM cRows,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
HROW rghRows[],
DBROWSTATUS rgRowStatus[]);
void __RPC_STUB IRowsetLocate_GetRowsByBookmark_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetLocate_Hash_Proxy(
IRowsetLocate* This,
HCHAPTER hReserved,
DBBKMARK cBookmarks,
const DBBKMARK rgcbBookmarks[],
const BYTE * rgpBookmarks[],
DBHASHVALUE rgHashedValues[],
DBROWSTATUS rgBookmarkStatus[]);
void __RPC_STUB IRowsetLocate_Hash_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IRowsetLocate_INTERFACE_DEFINED__ */
/*****************************************************************************
* ICommand interface
*/
#ifndef __ICommand_INTERFACE_DEFINED__
#define __ICommand_INTERFACE_DEFINED__
DEFINE_GUID(IID_ICommand, 0x0c733a63, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a63-2a1c-11ce-ade5-00aa0044773d")
ICommand : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Cancel(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Execute(
IUnknown *pUnkOuter,
REFIID riid,
DBPARAMS *pParams,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDBSession(
REFIID riid,
IUnknown **ppSession) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ICommand, 0x0c733a63, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct ICommandVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ICommand* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ICommand* This);
ULONG (STDMETHODCALLTYPE *Release)(
ICommand* This);
/*** ICommand methods ***/
HRESULT (STDMETHODCALLTYPE *Cancel)(
ICommand* This);
HRESULT (STDMETHODCALLTYPE *Execute)(
ICommand* This,
IUnknown *pUnkOuter,
REFIID riid,
DBPARAMS *pParams,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset);
HRESULT (STDMETHODCALLTYPE *GetDBSession)(
ICommand* This,
REFIID riid,
IUnknown **ppSession);
END_INTERFACE
} ICommandVtbl;
interface ICommand {
CONST_VTBL ICommandVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ICommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ICommand_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ICommand_Release(This) (This)->lpVtbl->Release(This)
/*** ICommand methods ***/
#define ICommand_Cancel(This) (This)->lpVtbl->Cancel(This)
#define ICommand_Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) (This)->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset)
#define ICommand_GetDBSession(This,riid,ppSession) (This)->lpVtbl->GetDBSession(This,riid,ppSession)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ICommand_QueryInterface(ICommand* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ICommand_AddRef(ICommand* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ICommand_Release(ICommand* This) {
return This->lpVtbl->Release(This);
}
/*** ICommand methods ***/
static FORCEINLINE HRESULT ICommand_Cancel(ICommand* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT ICommand_Execute(ICommand* This,IUnknown *pUnkOuter,REFIID riid,DBPARAMS *pParams,DBROWCOUNT *pcRowsAffected,IUnknown **ppRowset) {
return This->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset);
}
static FORCEINLINE HRESULT ICommand_GetDBSession(ICommand* This,REFIID riid,IUnknown **ppSession) {
return This->lpVtbl->GetDBSession(This,riid,ppSession);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE ICommand_RemoteCancel_Proxy(
ICommand* This,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ICommand_RemoteCancel_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ICommand_RemoteExecute_Proxy(
ICommand* This,
IUnknown *pUnkOuter,
REFIID riid,
HACCESSOR hAccessor,
DB_UPARAMS cParamSets,
GUID *pGuid,
ULONG ulGuidOffset,
RMTPACK *pInputParams,
RMTPACK *pOutputParams,
DBCOUNTITEM cBindings,
DBBINDING *rgBindings,
DBSTATUS *rgStatus,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset);
void __RPC_STUB ICommand_RemoteExecute_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ICommand_RemoteGetDBSession_Proxy(
ICommand* This,
REFIID riid,
IUnknown **ppSession,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ICommand_RemoteGetDBSession_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK ICommand_Cancel_Proxy(
ICommand* This);
HRESULT __RPC_STUB ICommand_Cancel_Stub(
ICommand* This,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK ICommand_Execute_Proxy(
ICommand* This,
IUnknown *pUnkOuter,
REFIID riid,
DBPARAMS *pParams,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset);
HRESULT __RPC_STUB ICommand_Execute_Stub(
ICommand* This,
IUnknown *pUnkOuter,
REFIID riid,
HACCESSOR hAccessor,
DB_UPARAMS cParamSets,
GUID *pGuid,
ULONG ulGuidOffset,
RMTPACK *pInputParams,
RMTPACK *pOutputParams,
DBCOUNTITEM cBindings,
DBBINDING *rgBindings,
DBSTATUS *rgStatus,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset);
HRESULT CALLBACK ICommand_GetDBSession_Proxy(
ICommand* This,
REFIID riid,
IUnknown **ppSession);
HRESULT __RPC_STUB ICommand_GetDBSession_Stub(
ICommand* This,
REFIID riid,
IUnknown **ppSession,
IErrorInfo **ppErrorInfoRem);
#endif /* __ICommand_INTERFACE_DEFINED__ */
/*****************************************************************************
* ICommandText interface
*/
#ifndef __ICommandText_INTERFACE_DEFINED__
#define __ICommandText_INTERFACE_DEFINED__
DEFINE_GUID(IID_ICommandText, 0x0c733a27, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a27-2a1c-11ce-ade5-00aa0044773d")
ICommandText : public ICommand
{
virtual HRESULT STDMETHODCALLTYPE GetCommandText(
GUID *pguidDialect,
LPOLESTR *ppwszCommand) = 0;
virtual HRESULT STDMETHODCALLTYPE SetCommandText(
REFGUID rguidDialect,
LPCOLESTR pwszCommand) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ICommandText, 0x0c733a27, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct ICommandTextVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ICommandText* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ICommandText* This);
ULONG (STDMETHODCALLTYPE *Release)(
ICommandText* This);
/*** ICommand methods ***/
HRESULT (STDMETHODCALLTYPE *Cancel)(
ICommandText* This);
HRESULT (STDMETHODCALLTYPE *Execute)(
ICommandText* This,
IUnknown *pUnkOuter,
REFIID riid,
DBPARAMS *pParams,
DBROWCOUNT *pcRowsAffected,
IUnknown **ppRowset);
HRESULT (STDMETHODCALLTYPE *GetDBSession)(
ICommandText* This,
REFIID riid,
IUnknown **ppSession);
/*** ICommandText methods ***/
HRESULT (STDMETHODCALLTYPE *GetCommandText)(
ICommandText* This,
GUID *pguidDialect,
LPOLESTR *ppwszCommand);
HRESULT (STDMETHODCALLTYPE *SetCommandText)(
ICommandText* This,
REFGUID rguidDialect,
LPCOLESTR pwszCommand);
END_INTERFACE
} ICommandTextVtbl;
interface ICommandText {
CONST_VTBL ICommandTextVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ICommandText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ICommandText_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ICommandText_Release(This) (This)->lpVtbl->Release(This)
/*** ICommand methods ***/
#define ICommandText_Cancel(This) (This)->lpVtbl->Cancel(This)
#define ICommandText_Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset) (This)->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset)
#define ICommandText_GetDBSession(This,riid,ppSession) (This)->lpVtbl->GetDBSession(This,riid,ppSession)
/*** ICommandText methods ***/
#define ICommandText_GetCommandText(This,pguidDialect,ppwszCommand) (This)->lpVtbl->GetCommandText(This,pguidDialect,ppwszCommand)
#define ICommandText_SetCommandText(This,rguidDialect,pwszCommand) (This)->lpVtbl->SetCommandText(This,rguidDialect,pwszCommand)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ICommandText_QueryInterface(ICommandText* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ICommandText_AddRef(ICommandText* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ICommandText_Release(ICommandText* This) {
return This->lpVtbl->Release(This);
}
/*** ICommand methods ***/
static FORCEINLINE HRESULT ICommandText_Cancel(ICommandText* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT ICommandText_Execute(ICommandText* This,IUnknown *pUnkOuter,REFIID riid,DBPARAMS *pParams,DBROWCOUNT *pcRowsAffected,IUnknown **ppRowset) {
return This->lpVtbl->Execute(This,pUnkOuter,riid,pParams,pcRowsAffected,ppRowset);
}
static FORCEINLINE HRESULT ICommandText_GetDBSession(ICommandText* This,REFIID riid,IUnknown **ppSession) {
return This->lpVtbl->GetDBSession(This,riid,ppSession);
}
/*** ICommandText methods ***/
static FORCEINLINE HRESULT ICommandText_GetCommandText(ICommandText* This,GUID *pguidDialect,LPOLESTR *ppwszCommand) {
return This->lpVtbl->GetCommandText(This,pguidDialect,ppwszCommand);
}
static FORCEINLINE HRESULT ICommandText_SetCommandText(ICommandText* This,REFGUID rguidDialect,LPCOLESTR pwszCommand) {
return This->lpVtbl->SetCommandText(This,rguidDialect,pwszCommand);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE ICommandText_RemoteGetCommandText_Proxy(
ICommandText* This,
GUID *pguidDialect,
LPOLESTR *ppwszCommand,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ICommandText_RemoteGetCommandText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ICommandText_RemoteSetCommandText_Proxy(
ICommandText* This,
REFGUID rguidDialect,
LPCOLESTR pwszCommand,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ICommandText_RemoteSetCommandText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK ICommandText_GetCommandText_Proxy(
ICommandText* This,
GUID *pguidDialect,
LPOLESTR *ppwszCommand);
HRESULT __RPC_STUB ICommandText_GetCommandText_Stub(
ICommandText* This,
GUID *pguidDialect,
LPOLESTR *ppwszCommand,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK ICommandText_SetCommandText_Proxy(
ICommandText* This,
REFGUID rguidDialect,
LPCOLESTR pwszCommand);
HRESULT __RPC_STUB ICommandText_SetCommandText_Stub(
ICommandText* This,
REFGUID rguidDialect,
LPCOLESTR pwszCommand,
IErrorInfo **ppErrorInfoRem);
#endif /* __ICommandText_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBCreateCommand interface
*/
#ifndef __IDBCreateCommand_INTERFACE_DEFINED__
#define __IDBCreateCommand_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBCreateCommand, 0x0c733a1d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a1d-2a1c-11ce-ade5-00aa0044773d")
IDBCreateCommand : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateCommand(
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppCommand) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBCreateCommand, 0x0c733a1d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBCreateCommandVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBCreateCommand* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBCreateCommand* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBCreateCommand* This);
/*** IDBCreateCommand methods ***/
HRESULT (STDMETHODCALLTYPE *CreateCommand)(
IDBCreateCommand* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppCommand);
END_INTERFACE
} IDBCreateCommandVtbl;
interface IDBCreateCommand {
CONST_VTBL IDBCreateCommandVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBCreateCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBCreateCommand_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBCreateCommand_Release(This) (This)->lpVtbl->Release(This)
/*** IDBCreateCommand methods ***/
#define IDBCreateCommand_CreateCommand(This,pUnkOuter,riid,ppCommand) (This)->lpVtbl->CreateCommand(This,pUnkOuter,riid,ppCommand)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBCreateCommand_QueryInterface(IDBCreateCommand* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBCreateCommand_AddRef(IDBCreateCommand* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBCreateCommand_Release(IDBCreateCommand* This) {
return This->lpVtbl->Release(This);
}
/*** IDBCreateCommand methods ***/
static FORCEINLINE HRESULT IDBCreateCommand_CreateCommand(IDBCreateCommand* This,IUnknown *pUnkOuter,REFIID riid,IUnknown **ppCommand) {
return This->lpVtbl->CreateCommand(This,pUnkOuter,riid,ppCommand);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBCreateCommand_RemoteCreateCommand_Proxy(
IDBCreateCommand* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppCommand,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBCreateCommand_RemoteCreateCommand_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBCreateCommand_CreateCommand_Proxy(
IDBCreateCommand* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppCommand);
HRESULT __RPC_STUB IDBCreateCommand_CreateCommand_Stub(
IDBCreateCommand* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppCommand,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBCreateCommand_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBCreateSession interface
*/
#ifndef __IDBCreateSession_INTERFACE_DEFINED__
#define __IDBCreateSession_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBCreateSession, 0x0c733a5d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a5d-2a1c-11ce-ade5-00aa0044773d")
IDBCreateSession : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateSession(
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBCreateSession, 0x0c733a5d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBCreateSessionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBCreateSession* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBCreateSession* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBCreateSession* This);
/*** IDBCreateSession methods ***/
HRESULT (STDMETHODCALLTYPE *CreateSession)(
IDBCreateSession* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession);
END_INTERFACE
} IDBCreateSessionVtbl;
interface IDBCreateSession {
CONST_VTBL IDBCreateSessionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBCreateSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBCreateSession_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBCreateSession_Release(This) (This)->lpVtbl->Release(This)
/*** IDBCreateSession methods ***/
#define IDBCreateSession_CreateSession(This,pUnkOuter,riid,ppDBSession) (This)->lpVtbl->CreateSession(This,pUnkOuter,riid,ppDBSession)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBCreateSession_QueryInterface(IDBCreateSession* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBCreateSession_AddRef(IDBCreateSession* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBCreateSession_Release(IDBCreateSession* This) {
return This->lpVtbl->Release(This);
}
/*** IDBCreateSession methods ***/
static FORCEINLINE HRESULT IDBCreateSession_CreateSession(IDBCreateSession* This,IUnknown *pUnkOuter,REFIID riid,IUnknown **ppDBSession) {
return This->lpVtbl->CreateSession(This,pUnkOuter,riid,ppDBSession);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBCreateSession_RemoteCreateSession_Proxy(
IDBCreateSession* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBCreateSession_RemoteCreateSession_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBCreateSession_CreateSession_Proxy(
IDBCreateSession* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession);
HRESULT __RPC_STUB IDBCreateSession_CreateSession_Stub(
IDBCreateSession* This,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBCreateSession_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBProperties interface
*/
#ifndef __IDBProperties_INTERFACE_DEFINED__
#define __IDBProperties_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBProperties, 0x0c733a8a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a8a-2a1c-11ce-ade5-00aa0044773d")
IDBProperties : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetProperties(
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo(
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProperties(
ULONG cPropertySets,
DBPROPSET rgPropertySets[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBProperties, 0x0c733a8a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBPropertiesVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBProperties* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBProperties* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBProperties* This);
/*** IDBProperties methods ***/
HRESULT (STDMETHODCALLTYPE *GetProperties)(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT (STDMETHODCALLTYPE *GetPropertyInfo)(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer);
HRESULT (STDMETHODCALLTYPE *SetProperties)(
IDBProperties* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
END_INTERFACE
} IDBPropertiesVtbl;
interface IDBProperties {
CONST_VTBL IDBPropertiesVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBProperties_Release(This) (This)->lpVtbl->Release(This)
/*** IDBProperties methods ***/
#define IDBProperties_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets)
#define IDBProperties_GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) (This)->lpVtbl->GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer)
#define IDBProperties_SetProperties(This,cPropertySets,rgPropertySets) (This)->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBProperties_QueryInterface(IDBProperties* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBProperties_AddRef(IDBProperties* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBProperties_Release(IDBProperties* This) {
return This->lpVtbl->Release(This);
}
/*** IDBProperties methods ***/
static FORCEINLINE HRESULT IDBProperties_GetProperties(IDBProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) {
return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets);
}
static FORCEINLINE HRESULT IDBProperties_GetPropertyInfo(IDBProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertyInfoSets,DBPROPINFOSET **prgPropertyInfoSets,OLECHAR **ppDescBuffer) {
return This->lpVtbl->GetPropertyInfo(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer);
}
static FORCEINLINE HRESULT IDBProperties_SetProperties(IDBProperties* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) {
return This->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBProperties_RemoteGetProperties_Proxy(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBProperties_RemoteGetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBProperties_RemoteGetPropertyInfo_Proxy(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
ULONG *pcOffsets,
DBBYTEOFFSET **prgDescOffsets,
ULONG *pcbDescBuffer,
OLECHAR **ppDescBuffer,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBProperties_RemoteGetPropertyInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBProperties_RemoteSetProperties_Proxy(
IDBProperties* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBProperties_RemoteSetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBProperties_GetProperties_Proxy(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT __RPC_STUB IDBProperties_GetProperties_Stub(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBProperties_GetPropertyInfo_Proxy(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer);
HRESULT __RPC_STUB IDBProperties_GetPropertyInfo_Stub(
IDBProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
ULONG *pcOffsets,
DBBYTEOFFSET **prgDescOffsets,
ULONG *pcbDescBuffer,
OLECHAR **ppDescBuffer,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBProperties_SetProperties_Proxy(
IDBProperties* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
HRESULT __RPC_STUB IDBProperties_SetProperties_Stub(
IDBProperties* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBProperties_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBInitialize interface
*/
#ifndef __IDBInitialize_INTERFACE_DEFINED__
#define __IDBInitialize_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBInitialize, 0x0c733a8b, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a8b-2a1c-11ce-ade5-00aa0044773d")
IDBInitialize : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Initialize(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Uninitialize(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBInitialize, 0x0c733a8b, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBInitializeVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBInitialize* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBInitialize* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBInitialize* This);
/*** IDBInitialize methods ***/
HRESULT (STDMETHODCALLTYPE *Initialize)(
IDBInitialize* This);
HRESULT (STDMETHODCALLTYPE *Uninitialize)(
IDBInitialize* This);
END_INTERFACE
} IDBInitializeVtbl;
interface IDBInitialize {
CONST_VTBL IDBInitializeVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBInitialize_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBInitialize_Release(This) (This)->lpVtbl->Release(This)
/*** IDBInitialize methods ***/
#define IDBInitialize_Initialize(This) (This)->lpVtbl->Initialize(This)
#define IDBInitialize_Uninitialize(This) (This)->lpVtbl->Uninitialize(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBInitialize_QueryInterface(IDBInitialize* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBInitialize_AddRef(IDBInitialize* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBInitialize_Release(IDBInitialize* This) {
return This->lpVtbl->Release(This);
}
/*** IDBInitialize methods ***/
static FORCEINLINE HRESULT IDBInitialize_Initialize(IDBInitialize* This) {
return This->lpVtbl->Initialize(This);
}
static FORCEINLINE HRESULT IDBInitialize_Uninitialize(IDBInitialize* This) {
return This->lpVtbl->Uninitialize(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBInitialize_RemoteInitialize_Proxy(
IDBInitialize* This,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBInitialize_RemoteInitialize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBInitialize_RemoteUninitialize_Proxy(
IDBInitialize* This,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBInitialize_RemoteUninitialize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBInitialize_Initialize_Proxy(
IDBInitialize* This);
HRESULT __RPC_STUB IDBInitialize_Initialize_Stub(
IDBInitialize* This,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBInitialize_Uninitialize_Proxy(
IDBInitialize* This);
HRESULT __RPC_STUB IDBInitialize_Uninitialize_Stub(
IDBInitialize* This,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBInitialize_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBDataSourceAdmin interface
*/
#ifndef __IDBDataSourceAdmin_INTERFACE_DEFINED__
#define __IDBDataSourceAdmin_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBDataSourceAdmin, 0x0c733a7a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a7a-2a1c-11ce-ade5-00aa0044773d")
IDBDataSourceAdmin : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateDataSource(
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession) = 0;
virtual HRESULT STDMETHODCALLTYPE DestroyDataSource(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCreationProperties(
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE ModifyDataSource(
ULONG cPropertySets,
DBPROPSET rgPropertySets[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBDataSourceAdmin, 0x0c733a7a, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBDataSourceAdminVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBDataSourceAdmin* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBDataSourceAdmin* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBDataSourceAdmin* This);
/*** IDBDataSourceAdmin methods ***/
HRESULT (STDMETHODCALLTYPE *CreateDataSource)(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession);
HRESULT (STDMETHODCALLTYPE *DestroyDataSource)(
IDBDataSourceAdmin* This);
HRESULT (STDMETHODCALLTYPE *GetCreationProperties)(
IDBDataSourceAdmin* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer);
HRESULT (STDMETHODCALLTYPE *ModifyDataSource)(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
END_INTERFACE
} IDBDataSourceAdminVtbl;
interface IDBDataSourceAdmin {
CONST_VTBL IDBDataSourceAdminVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBDataSourceAdmin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBDataSourceAdmin_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBDataSourceAdmin_Release(This) (This)->lpVtbl->Release(This)
/*** IDBDataSourceAdmin methods ***/
#define IDBDataSourceAdmin_CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession) (This)->lpVtbl->CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession)
#define IDBDataSourceAdmin_DestroyDataSource(This) (This)->lpVtbl->DestroyDataSource(This)
#define IDBDataSourceAdmin_GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer) (This)->lpVtbl->GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer)
#define IDBDataSourceAdmin_ModifyDataSource(This,cPropertySets,rgPropertySets) (This)->lpVtbl->ModifyDataSource(This,cPropertySets,rgPropertySets)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBDataSourceAdmin_QueryInterface(IDBDataSourceAdmin* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBDataSourceAdmin_AddRef(IDBDataSourceAdmin* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBDataSourceAdmin_Release(IDBDataSourceAdmin* This) {
return This->lpVtbl->Release(This);
}
/*** IDBDataSourceAdmin methods ***/
static FORCEINLINE HRESULT IDBDataSourceAdmin_CreateDataSource(IDBDataSourceAdmin* This,ULONG cPropertySets,DBPROPSET rgPropertySets[],IUnknown *pUnkOuter,REFIID riid,IUnknown **ppDBSession) {
return This->lpVtbl->CreateDataSource(This,cPropertySets,rgPropertySets,pUnkOuter,riid,ppDBSession);
}
static FORCEINLINE HRESULT IDBDataSourceAdmin_DestroyDataSource(IDBDataSourceAdmin* This) {
return This->lpVtbl->DestroyDataSource(This);
}
static FORCEINLINE HRESULT IDBDataSourceAdmin_GetCreationProperties(IDBDataSourceAdmin* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertyInfoSets,DBPROPINFOSET **prgPropertyInfoSets,OLECHAR **ppDescBuffer) {
return This->lpVtbl->GetCreationProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertyInfoSets,prgPropertyInfoSets,ppDescBuffer);
}
static FORCEINLINE HRESULT IDBDataSourceAdmin_ModifyDataSource(IDBDataSourceAdmin* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) {
return This->lpVtbl->ModifyDataSource(This,cPropertySets,rgPropertySets);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteCreateDataSource_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBDataSourceAdmin_RemoteCreateDataSource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteDestroyDataSource_Proxy(
IDBDataSourceAdmin* This,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBDataSourceAdmin_RemoteDestroyDataSource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteGetCreationProperties_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
DBCOUNTITEM *pcOffsets,
DBBYTEOFFSET **prgDescOffsets,
ULONG *pcbDescBuffer,
OLECHAR **ppDescBuffer,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBDataSourceAdmin_RemoteGetCreationProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBDataSourceAdmin_RemoteModifyDataSource_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBDataSourceAdmin_RemoteModifyDataSource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBDataSourceAdmin_CreateDataSource_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession);
HRESULT __RPC_STUB IDBDataSourceAdmin_CreateDataSource_Stub(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IUnknown *pUnkOuter,
REFIID riid,
IUnknown **ppDBSession,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBDataSourceAdmin_DestroyDataSource_Proxy(
IDBDataSourceAdmin* This);
HRESULT __RPC_STUB IDBDataSourceAdmin_DestroyDataSource_Stub(
IDBDataSourceAdmin* This,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBDataSourceAdmin_GetCreationProperties_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
OLECHAR **ppDescBuffer);
HRESULT __RPC_STUB IDBDataSourceAdmin_GetCreationProperties_Stub(
IDBDataSourceAdmin* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertyInfoSets,
DBPROPINFOSET **prgPropertyInfoSets,
DBCOUNTITEM *pcOffsets,
DBBYTEOFFSET **prgDescOffsets,
ULONG *pcbDescBuffer,
OLECHAR **ppDescBuffer,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBDataSourceAdmin_ModifyDataSource_Proxy(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
HRESULT __RPC_STUB IDBDataSourceAdmin_ModifyDataSource_Stub(
IDBDataSourceAdmin* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBDataSourceAdmin_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBAsynchNotify interface
*/
#ifndef __IDBAsynchNotify_INTERFACE_DEFINED__
#define __IDBAsynchNotify_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBAsynchNotify, 0x0c733a96, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a96-2a1c-11ce-ade5-00aa0044773d")
IDBAsynchNotify : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE OnLowResource(
DB_DWRESERVE dwReserved) = 0;
virtual HRESULT STDMETHODCALLTYPE OnProgress(
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress,
DBCOUNTITEM ulProgressMax,
DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText) = 0;
virtual HRESULT STDMETHODCALLTYPE OnStop(
HCHAPTER hChapter,
DBASYNCHOP eOperation,
HRESULT hrStatus,
LPOLESTR pwszStatusText) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBAsynchNotify, 0x0c733a96, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBAsynchNotifyVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBAsynchNotify* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBAsynchNotify* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBAsynchNotify* This);
/*** IDBAsynchNotify methods ***/
HRESULT (STDMETHODCALLTYPE *OnLowResource)(
IDBAsynchNotify* This,
DB_DWRESERVE dwReserved);
HRESULT (STDMETHODCALLTYPE *OnProgress)(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress,
DBCOUNTITEM ulProgressMax,
DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText);
HRESULT (STDMETHODCALLTYPE *OnStop)(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
HRESULT hrStatus,
LPOLESTR pwszStatusText);
END_INTERFACE
} IDBAsynchNotifyVtbl;
interface IDBAsynchNotify {
CONST_VTBL IDBAsynchNotifyVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBAsynchNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBAsynchNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBAsynchNotify_Release(This) (This)->lpVtbl->Release(This)
/*** IDBAsynchNotify methods ***/
#define IDBAsynchNotify_OnLowResource(This,dwReserved) (This)->lpVtbl->OnLowResource(This,dwReserved)
#define IDBAsynchNotify_OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText) (This)->lpVtbl->OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText)
#define IDBAsynchNotify_OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText) (This)->lpVtbl->OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBAsynchNotify_QueryInterface(IDBAsynchNotify* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBAsynchNotify_AddRef(IDBAsynchNotify* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBAsynchNotify_Release(IDBAsynchNotify* This) {
return This->lpVtbl->Release(This);
}
/*** IDBAsynchNotify methods ***/
static FORCEINLINE HRESULT IDBAsynchNotify_OnLowResource(IDBAsynchNotify* This,DB_DWRESERVE dwReserved) {
return This->lpVtbl->OnLowResource(This,dwReserved);
}
static FORCEINLINE HRESULT IDBAsynchNotify_OnProgress(IDBAsynchNotify* This,HCHAPTER hChapter,DBASYNCHOP eOperation,DBCOUNTITEM ulProgress,DBCOUNTITEM ulProgressMax,DBASYNCHPHASE eAsynchPhase,LPOLESTR pwszStatusText) {
return This->lpVtbl->OnProgress(This,hChapter,eOperation,ulProgress,ulProgressMax,eAsynchPhase,pwszStatusText);
}
static FORCEINLINE HRESULT IDBAsynchNotify_OnStop(IDBAsynchNotify* This,HCHAPTER hChapter,DBASYNCHOP eOperation,HRESULT hrStatus,LPOLESTR pwszStatusText) {
return This->lpVtbl->OnStop(This,hChapter,eOperation,hrStatus,pwszStatusText);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnLowResource_Proxy(
IDBAsynchNotify* This,
DB_DWRESERVE dwReserved);
void __RPC_STUB IDBAsynchNotify_RemoteOnLowResource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnProgress_Proxy(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress,
DBCOUNTITEM ulProgressMax,
DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText);
void __RPC_STUB IDBAsynchNotify_RemoteOnProgress_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBAsynchNotify_RemoteOnStop_Proxy(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
HRESULT hrStatus,
LPOLESTR pwszStatusText);
void __RPC_STUB IDBAsynchNotify_RemoteOnStop_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBAsynchNotify_OnLowResource_Proxy(
IDBAsynchNotify* This,
DB_DWRESERVE dwReserved);
HRESULT __RPC_STUB IDBAsynchNotify_OnLowResource_Stub(
IDBAsynchNotify* This,
DB_DWRESERVE dwReserved);
HRESULT CALLBACK IDBAsynchNotify_OnProgress_Proxy(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress,
DBCOUNTITEM ulProgressMax,
DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText);
HRESULT __RPC_STUB IDBAsynchNotify_OnProgress_Stub(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress,
DBCOUNTITEM ulProgressMax,
DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText);
HRESULT CALLBACK IDBAsynchNotify_OnStop_Proxy(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
HRESULT hrStatus,
LPOLESTR pwszStatusText);
HRESULT __RPC_STUB IDBAsynchNotify_OnStop_Stub(
IDBAsynchNotify* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
HRESULT hrStatus,
LPOLESTR pwszStatusText);
#endif /* __IDBAsynchNotify_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBAsynchStatus interface
*/
#ifndef __IDBAsynchStatus_INTERFACE_DEFINED__
#define __IDBAsynchStatus_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBAsynchStatus, 0x0c733a95, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a95-2a1c-11ce-ade5-00aa0044773d")
IDBAsynchStatus : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Abort(
HCHAPTER hChapter,
DBASYNCHOP eOperation) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStatus(
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM *pulProgress,
DBCOUNTITEM *pulProgressMax,
DBASYNCHPHASE *peAsynchPhase,
LPOLESTR *ppwszStatusText) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBAsynchStatus, 0x0c733a95, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDBAsynchStatusVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBAsynchStatus* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBAsynchStatus* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBAsynchStatus* This);
/*** IDBAsynchStatus methods ***/
HRESULT (STDMETHODCALLTYPE *Abort)(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation);
HRESULT (STDMETHODCALLTYPE *GetStatus)(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM *pulProgress,
DBCOUNTITEM *pulProgressMax,
DBASYNCHPHASE *peAsynchPhase,
LPOLESTR *ppwszStatusText);
END_INTERFACE
} IDBAsynchStatusVtbl;
interface IDBAsynchStatus {
CONST_VTBL IDBAsynchStatusVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBAsynchStatus_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBAsynchStatus_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBAsynchStatus_Release(This) (This)->lpVtbl->Release(This)
/*** IDBAsynchStatus methods ***/
#define IDBAsynchStatus_Abort(This,hChapter,eOperation) (This)->lpVtbl->Abort(This,hChapter,eOperation)
#define IDBAsynchStatus_GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText) (This)->lpVtbl->GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBAsynchStatus_QueryInterface(IDBAsynchStatus* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBAsynchStatus_AddRef(IDBAsynchStatus* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBAsynchStatus_Release(IDBAsynchStatus* This) {
return This->lpVtbl->Release(This);
}
/*** IDBAsynchStatus methods ***/
static FORCEINLINE HRESULT IDBAsynchStatus_Abort(IDBAsynchStatus* This,HCHAPTER hChapter,DBASYNCHOP eOperation) {
return This->lpVtbl->Abort(This,hChapter,eOperation);
}
static FORCEINLINE HRESULT IDBAsynchStatus_GetStatus(IDBAsynchStatus* This,HCHAPTER hChapter,DBASYNCHOP eOperation,DBCOUNTITEM *pulProgress,DBCOUNTITEM *pulProgressMax,DBASYNCHPHASE *peAsynchPhase,LPOLESTR *ppwszStatusText) {
return This->lpVtbl->GetStatus(This,hChapter,eOperation,pulProgress,pulProgressMax,peAsynchPhase,ppwszStatusText);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDBAsynchStatus_RemoteAbort_Proxy(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBAsynchStatus_RemoteAbort_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDBAsynchStatus_RemoteGetStatus_Proxy(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM *pulProgress,
DBCOUNTITEM *pulProgressMax,
DBASYNCHPHASE *peAsynchPhase,
LPOLESTR *ppwszStatusText,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IDBAsynchStatus_RemoteGetStatus_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IDBAsynchStatus_Abort_Proxy(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation);
HRESULT __RPC_STUB IDBAsynchStatus_Abort_Stub(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK IDBAsynchStatus_GetStatus_Proxy(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM *pulProgress,
DBCOUNTITEM *pulProgressMax,
DBASYNCHPHASE *peAsynchPhase,
LPOLESTR *ppwszStatusText);
HRESULT __RPC_STUB IDBAsynchStatus_GetStatus_Stub(
IDBAsynchStatus* This,
HCHAPTER hChapter,
DBASYNCHOP eOperation,
DBCOUNTITEM *pulProgress,
DBCOUNTITEM *pulProgressMax,
DBASYNCHPHASE *peAsynchPhase,
LPOLESTR *ppwszStatusText,
IErrorInfo **ppErrorInfoRem);
#endif /* __IDBAsynchStatus_INTERFACE_DEFINED__ */
/*****************************************************************************
* ISessionProperties interface
*/
#ifndef __ISessionProperties_INTERFACE_DEFINED__
#define __ISessionProperties_INTERFACE_DEFINED__
DEFINE_GUID(IID_ISessionProperties, 0x0c733a85, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a85-2a1c-11ce-ade5-00aa0044773d")
ISessionProperties : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetProperties(
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProperties(
ULONG cPropertySets,
DBPROPSET rgPropertySets[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ISessionProperties, 0x0c733a85, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct ISessionPropertiesVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ISessionProperties* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ISessionProperties* This);
ULONG (STDMETHODCALLTYPE *Release)(
ISessionProperties* This);
/*** ISessionProperties methods ***/
HRESULT (STDMETHODCALLTYPE *GetProperties)(
ISessionProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT (STDMETHODCALLTYPE *SetProperties)(
ISessionProperties* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
END_INTERFACE
} ISessionPropertiesVtbl;
interface ISessionProperties {
CONST_VTBL ISessionPropertiesVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ISessionProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ISessionProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ISessionProperties_Release(This) (This)->lpVtbl->Release(This)
/*** ISessionProperties methods ***/
#define ISessionProperties_GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets) (This)->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets)
#define ISessionProperties_SetProperties(This,cPropertySets,rgPropertySets) (This)->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ISessionProperties_QueryInterface(ISessionProperties* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ISessionProperties_AddRef(ISessionProperties* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ISessionProperties_Release(ISessionProperties* This) {
return This->lpVtbl->Release(This);
}
/*** ISessionProperties methods ***/
static FORCEINLINE HRESULT ISessionProperties_GetProperties(ISessionProperties* This,ULONG cPropertyIDSets,const DBPROPIDSET rgPropertyIDSets[],ULONG *pcPropertySets,DBPROPSET **prgPropertySets) {
return This->lpVtbl->GetProperties(This,cPropertyIDSets,rgPropertyIDSets,pcPropertySets,prgPropertySets);
}
static FORCEINLINE HRESULT ISessionProperties_SetProperties(ISessionProperties* This,ULONG cPropertySets,DBPROPSET rgPropertySets[]) {
return This->lpVtbl->SetProperties(This,cPropertySets,rgPropertySets);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE ISessionProperties_RemoteGetProperties_Proxy(
ISessionProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ISessionProperties_RemoteGetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISessionProperties_RemoteSetProperties_Proxy(
ISessionProperties* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB ISessionProperties_RemoteSetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK ISessionProperties_GetProperties_Proxy(
ISessionProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets);
HRESULT __RPC_STUB ISessionProperties_GetProperties_Stub(
ISessionProperties* This,
ULONG cPropertyIDSets,
const DBPROPIDSET *rgPropertyIDSets,
ULONG *pcPropertySets,
DBPROPSET **prgPropertySets,
IErrorInfo **ppErrorInfoRem);
HRESULT CALLBACK ISessionProperties_SetProperties_Proxy(
ISessionProperties* This,
ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
HRESULT __RPC_STUB ISessionProperties_SetProperties_Stub(
ISessionProperties* This,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
#endif /* __ISessionProperties_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRowsetNotify interface
*/
#ifndef __IRowsetNotify_INTERFACE_DEFINED__
#define __IRowsetNotify_INTERFACE_DEFINED__
DEFINE_GUID(IID_IRowsetNotify, 0x0c733a83, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a83-2a1c-11ce-ade5-00aa0044773d")
IRowsetNotify : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE OnFieldChange(
IRowset *rowset,
HROW row,
DBORDINAL ccols,
DBORDINAL *columns,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny) = 0;
virtual HRESULT STDMETHODCALLTYPE OnRowChange(
IRowset *rowset,
DBCOUNTITEM rows,
HROW *hrows,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny) = 0;
virtual HRESULT STDMETHODCALLTYPE OnRowsetChange(
IRowset *rowset,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRowsetNotify, 0x0c733a83, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowsetNotifyVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRowsetNotify* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRowsetNotify* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRowsetNotify* This);
/*** IRowsetNotify methods ***/
HRESULT (STDMETHODCALLTYPE *OnFieldChange)(
IRowsetNotify* This,
IRowset *rowset,
HROW row,
DBORDINAL ccols,
DBORDINAL *columns,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT (STDMETHODCALLTYPE *OnRowChange)(
IRowsetNotify* This,
IRowset *rowset,
DBCOUNTITEM rows,
HROW *hrows,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT (STDMETHODCALLTYPE *OnRowsetChange)(
IRowsetNotify* This,
IRowset *rowset,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
END_INTERFACE
} IRowsetNotifyVtbl;
interface IRowsetNotify {
CONST_VTBL IRowsetNotifyVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRowsetNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRowsetNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRowsetNotify_Release(This) (This)->lpVtbl->Release(This)
/*** IRowsetNotify methods ***/
#define IRowsetNotify_OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny) (This)->lpVtbl->OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny)
#define IRowsetNotify_OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny) (This)->lpVtbl->OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny)
#define IRowsetNotify_OnRowsetChange(This,rowset,reason,phase,cantdeny) (This)->lpVtbl->OnRowsetChange(This,rowset,reason,phase,cantdeny)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRowsetNotify_QueryInterface(IRowsetNotify* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRowsetNotify_AddRef(IRowsetNotify* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRowsetNotify_Release(IRowsetNotify* This) {
return This->lpVtbl->Release(This);
}
/*** IRowsetNotify methods ***/
static FORCEINLINE HRESULT IRowsetNotify_OnFieldChange(IRowsetNotify* This,IRowset *rowset,HROW row,DBORDINAL ccols,DBORDINAL *columns,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) {
return This->lpVtbl->OnFieldChange(This,rowset,row,ccols,columns,reason,phase,cantdeny);
}
static FORCEINLINE HRESULT IRowsetNotify_OnRowChange(IRowsetNotify* This,IRowset *rowset,DBCOUNTITEM rows,HROW *hrows,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) {
return This->lpVtbl->OnRowChange(This,rowset,rows,hrows,reason,phase,cantdeny);
}
static FORCEINLINE HRESULT IRowsetNotify_OnRowsetChange(IRowsetNotify* This,IRowset *rowset,DBREASON reason,DBEVENTPHASE phase,BOOL cantdeny) {
return This->lpVtbl->OnRowsetChange(This,rowset,reason,phase,cantdeny);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnFieldChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
HROW row,
DBORDINAL ccols,
DBORDINAL *columns,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
void __RPC_STUB IRowsetNotify_RemoteOnFieldChange_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnRowChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
DBCOUNTITEM rows,
HROW *hrows,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
void __RPC_STUB IRowsetNotify_RemoteOnRowChange_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRowsetNotify_RemoteOnRowsetChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
void __RPC_STUB IRowsetNotify_RemoteOnRowsetChange_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IRowsetNotify_OnFieldChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
HROW row,
DBORDINAL ccols,
DBORDINAL *columns,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT __RPC_STUB IRowsetNotify_OnFieldChange_Stub(
IRowsetNotify* This,
IRowset *rowset,
HROW row,
DBORDINAL ccols,
DBORDINAL *columns,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT CALLBACK IRowsetNotify_OnRowChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
DBCOUNTITEM rows,
HROW *hrows,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT __RPC_STUB IRowsetNotify_OnRowChange_Stub(
IRowsetNotify* This,
IRowset *rowset,
DBCOUNTITEM rows,
HROW *hrows,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT CALLBACK IRowsetNotify_OnRowsetChange_Proxy(
IRowsetNotify* This,
IRowset *rowset,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
HRESULT __RPC_STUB IRowsetNotify_OnRowsetChange_Stub(
IRowsetNotify* This,
IRowset *rowset,
DBREASON reason,
DBEVENTPHASE phase,
BOOL cantdeny);
#endif /* __IRowsetNotify_INTERFACE_DEFINED__ */
/*****************************************************************************
* IOpenRowset interface
*/
#ifndef __IOpenRowset_INTERFACE_DEFINED__
#define __IOpenRowset_INTERFACE_DEFINED__
DEFINE_GUID(IID_IOpenRowset, 0x0c733a69, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a69-2a1c-11ce-ade5-00aa0044773d")
IOpenRowset : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE OpenRowset(
IUnknown *pUnkOuter,
DBID *pTableID,
DBID *pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown **ppRowset) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IOpenRowset, 0x0c733a69, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IOpenRowsetVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IOpenRowset* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IOpenRowset* This);
ULONG (STDMETHODCALLTYPE *Release)(
IOpenRowset* This);
/*** IOpenRowset methods ***/
HRESULT (STDMETHODCALLTYPE *OpenRowset)(
IOpenRowset* This,
IUnknown *pUnkOuter,
DBID *pTableID,
DBID *pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown **ppRowset);
END_INTERFACE
} IOpenRowsetVtbl;
interface IOpenRowset {
CONST_VTBL IOpenRowsetVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IOpenRowset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IOpenRowset_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IOpenRowset_Release(This) (This)->lpVtbl->Release(This)
/*** IOpenRowset methods ***/
#define IOpenRowset_OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset) (This)->lpVtbl->OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IOpenRowset_QueryInterface(IOpenRowset* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IOpenRowset_AddRef(IOpenRowset* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IOpenRowset_Release(IOpenRowset* This) {
return This->lpVtbl->Release(This);
}
/*** IOpenRowset methods ***/
static FORCEINLINE HRESULT IOpenRowset_OpenRowset(IOpenRowset* This,IUnknown *pUnkOuter,DBID *pTableID,DBID *pIndexID,REFIID riid,ULONG cPropertySets,DBPROPSET rgPropertySets[],IUnknown **ppRowset) {
return This->lpVtbl->OpenRowset(This,pUnkOuter,pTableID,pIndexID,riid,cPropertySets,rgPropertySets,ppRowset);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IOpenRowset_RemoteOpenRowset_Proxy(
IOpenRowset* This,
IUnknown *pUnkOuter,
DBID *pTableID,
DBID *pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IUnknown **ppRowset,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
void __RPC_STUB IOpenRowset_RemoteOpenRowset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IOpenRowset_OpenRowset_Proxy(
IOpenRowset* This,
IUnknown *pUnkOuter,
DBID *pTableID,
DBID *pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown **ppRowset);
HRESULT __RPC_STUB IOpenRowset_OpenRowset_Stub(
IOpenRowset* This,
IUnknown *pUnkOuter,
DBID *pTableID,
DBID *pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET *rgPropertySets,
IUnknown **ppRowset,
ULONG cTotalProps,
DBPROPSTATUS *rgPropStatus,
IErrorInfo **ppErrorInfoRem);
#endif /* __IOpenRowset_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRow interface
*/
#ifndef __IRow_INTERFACE_DEFINED__
#define __IRow_INTERFACE_DEFINED__
DEFINE_GUID(IID_IRow, 0x0c733ab4, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733ab4-2a1c-11ce-ade5-00aa0044773d")
IRow : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetColumns(
DBORDINAL cColumns,
DBCOLUMNACCESS rgColumns[]) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSourceRowset(
REFIID riid,
IUnknown **ppRowset,
HROW *phRow) = 0;
virtual HRESULT STDMETHODCALLTYPE Open(
IUnknown *pUnkOuter,
DBID *pColumnID,
REFGUID rguidColumnType,
DWORD dwBindFlags,
REFIID riid,
IUnknown **ppUnk) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRow, 0x0c733ab4, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRow* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRow* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRow* This);
/*** IRow methods ***/
HRESULT (STDMETHODCALLTYPE *GetColumns)(
IRow* This,
DBORDINAL cColumns,
DBCOLUMNACCESS rgColumns[]);
HRESULT (STDMETHODCALLTYPE *GetSourceRowset)(
IRow* This,
REFIID riid,
IUnknown **ppRowset,
HROW *phRow);
HRESULT (STDMETHODCALLTYPE *Open)(
IRow* This,
IUnknown *pUnkOuter,
DBID *pColumnID,
REFGUID rguidColumnType,
DWORD dwBindFlags,
REFIID riid,
IUnknown **ppUnk);
END_INTERFACE
} IRowVtbl;
interface IRow {
CONST_VTBL IRowVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRow_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRow_Release(This) (This)->lpVtbl->Release(This)
/*** IRow methods ***/
#define IRow_GetColumns(This,cColumns,rgColumns) (This)->lpVtbl->GetColumns(This,cColumns,rgColumns)
#define IRow_GetSourceRowset(This,riid,ppRowset,phRow) (This)->lpVtbl->GetSourceRowset(This,riid,ppRowset,phRow)
#define IRow_Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk) (This)->lpVtbl->Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRow_QueryInterface(IRow* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRow_AddRef(IRow* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRow_Release(IRow* This) {
return This->lpVtbl->Release(This);
}
/*** IRow methods ***/
static FORCEINLINE HRESULT IRow_GetColumns(IRow* This,DBORDINAL cColumns,DBCOLUMNACCESS rgColumns[]) {
return This->lpVtbl->GetColumns(This,cColumns,rgColumns);
}
static FORCEINLINE HRESULT IRow_GetSourceRowset(IRow* This,REFIID riid,IUnknown **ppRowset,HROW *phRow) {
return This->lpVtbl->GetSourceRowset(This,riid,ppRowset,phRow);
}
static FORCEINLINE HRESULT IRow_Open(IRow* This,IUnknown *pUnkOuter,DBID *pColumnID,REFGUID rguidColumnType,DWORD dwBindFlags,REFIID riid,IUnknown **ppUnk) {
return This->lpVtbl->Open(This,pUnkOuter,pColumnID,rguidColumnType,dwBindFlags,riid,ppUnk);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IRow_GetSourceRowset_Proxy(
IRow* This,
REFIID riid,
IUnknown **ppRowset,
HROW *phRow);
void __RPC_STUB IRow_GetSourceRowset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IRow_Open_Proxy(
IRow* This,
IUnknown *pUnkOuter,
DBID *pColumnID,
REFGUID rguidColumnType,
DWORD dwBindFlags,
REFIID riid,
IUnknown **ppUnk);
void __RPC_STUB IRow_Open_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IRow_INTERFACE_DEFINED__ */
/*****************************************************************************
* IRowChange interface
*/
#ifndef __IRowChange_INTERFACE_DEFINED__
#define __IRowChange_INTERFACE_DEFINED__
DEFINE_GUID(IID_IRowChange, 0x0c733ab5, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733ab5-2a1c-11ce-ade5-00aa0044773d")
IRowChange : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetColumns(
DBORDINAL cColumns,
DBCOLUMNACCESS rgColumns[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IRowChange, 0x0c733ab5, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IRowChangeVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IRowChange* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IRowChange* This);
ULONG (STDMETHODCALLTYPE *Release)(
IRowChange* This);
/*** IRowChange methods ***/
HRESULT (STDMETHODCALLTYPE *SetColumns)(
IRowChange* This,
DBORDINAL cColumns,
DBCOLUMNACCESS rgColumns[]);
END_INTERFACE
} IRowChangeVtbl;
interface IRowChange {
CONST_VTBL IRowChangeVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IRowChange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IRowChange_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IRowChange_Release(This) (This)->lpVtbl->Release(This)
/*** IRowChange methods ***/
#define IRowChange_SetColumns(This,cColumns,rgColumns) (This)->lpVtbl->SetColumns(This,cColumns,rgColumns)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IRowChange_QueryInterface(IRowChange* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IRowChange_AddRef(IRowChange* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IRowChange_Release(IRowChange* This) {
return This->lpVtbl->Release(This);
}
/*** IRowChange methods ***/
static FORCEINLINE HRESULT IRowChange_SetColumns(IRowChange* This,DBORDINAL cColumns,DBCOLUMNACCESS rgColumns[]) {
return This->lpVtbl->SetColumns(This,cColumns,rgColumns);
}
#endif
#endif
#endif
#endif /* __IRowChange_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBindResource interface
*/
#ifndef __IBindResource_INTERFACE_DEFINED__
#define __IBindResource_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBindResource, 0x0c733ab1, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733ab1-2a1c-11ce-ade5-00aa0044773d")
IBindResource : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Bind(
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
IUnknown **ppUnk) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBindResource, 0x0c733ab1, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IBindResourceVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBindResource* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBindResource* This);
ULONG (STDMETHODCALLTYPE *Release)(
IBindResource* This);
/*** IBindResource methods ***/
HRESULT (STDMETHODCALLTYPE *Bind)(
IBindResource* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
IUnknown **ppUnk);
END_INTERFACE
} IBindResourceVtbl;
interface IBindResource {
CONST_VTBL IBindResourceVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBindResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBindResource_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBindResource_Release(This) (This)->lpVtbl->Release(This)
/*** IBindResource methods ***/
#define IBindResource_Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk) (This)->lpVtbl->Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBindResource_QueryInterface(IBindResource* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBindResource_AddRef(IBindResource* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBindResource_Release(IBindResource* This) {
return This->lpVtbl->Release(This);
}
/*** IBindResource methods ***/
static FORCEINLINE HRESULT IBindResource_Bind(IBindResource* This,IUnknown *pUnkOuter,LPCOLESTR pwszURL,DBBINDURLFLAG dwBindURLFlags,REFGUID rguid,REFIID riid,IAuthenticate *pAuthenticate,DBIMPLICITSESSION *pImplSession,DBBINDURLSTATUS *pdwBindStatus,IUnknown **ppUnk) {
return This->lpVtbl->Bind(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppUnk);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IBindResource_RemoteBind_Proxy(
IBindResource* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
IUnknown *pSessionUnkOuter,
IID *piid,
IUnknown **ppSession,
DBBINDURLSTATUS *pdwBindStatus,
IUnknown **ppUnk);
void __RPC_STUB IBindResource_RemoteBind_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK IBindResource_Bind_Proxy(
IBindResource* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
IUnknown **ppUnk);
HRESULT __RPC_STUB IBindResource_Bind_Stub(
IBindResource* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
IUnknown *pSessionUnkOuter,
IID *piid,
IUnknown **ppSession,
DBBINDURLSTATUS *pdwBindStatus,
IUnknown **ppUnk);
#endif /* __IBindResource_INTERFACE_DEFINED__ */
/*****************************************************************************
* ICreateRow interface
*/
#ifndef __ICreateRow_INTERFACE_DEFINED__
#define __ICreateRow_INTERFACE_DEFINED__
DEFINE_GUID(IID_ICreateRow, 0x0c733ab2, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733ab2-2a1c-11ce-ade5-00aa0044773d")
ICreateRow : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateRow(
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
LPOLESTR *ppwszNewURL,
IUnknown **ppUnk) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ICreateRow, 0x0c733ab2, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct ICreateRowVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ICreateRow* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ICreateRow* This);
ULONG (STDMETHODCALLTYPE *Release)(
ICreateRow* This);
/*** ICreateRow methods ***/
HRESULT (STDMETHODCALLTYPE *CreateRow)(
ICreateRow* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
LPOLESTR *ppwszNewURL,
IUnknown **ppUnk);
END_INTERFACE
} ICreateRowVtbl;
interface ICreateRow {
CONST_VTBL ICreateRowVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ICreateRow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ICreateRow_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ICreateRow_Release(This) (This)->lpVtbl->Release(This)
/*** ICreateRow methods ***/
#define ICreateRow_CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk) (This)->lpVtbl->CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ICreateRow_QueryInterface(ICreateRow* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ICreateRow_AddRef(ICreateRow* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ICreateRow_Release(ICreateRow* This) {
return This->lpVtbl->Release(This);
}
/*** ICreateRow methods ***/
static FORCEINLINE HRESULT ICreateRow_CreateRow(ICreateRow* This,IUnknown *pUnkOuter,LPCOLESTR pwszURL,DBBINDURLFLAG dwBindURLFlags,REFGUID rguid,REFIID riid,IAuthenticate *pAuthenticate,DBIMPLICITSESSION *pImplSession,DBBINDURLSTATUS *pdwBindStatus,LPOLESTR *ppwszNewURL,IUnknown **ppUnk) {
return This->lpVtbl->CreateRow(This,pUnkOuter,pwszURL,dwBindURLFlags,rguid,riid,pAuthenticate,pImplSession,pdwBindStatus,ppwszNewURL,ppUnk);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE ICreateRow_RemoteCreateRow_Proxy(
ICreateRow* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
IUnknown *pSessionUnkOuter,
IID *piid,
IUnknown **ppSession,
DBBINDURLSTATUS *pdwBindStatus,
LPOLESTR *ppwszNewURL,
IUnknown **ppUnk);
void __RPC_STUB ICreateRow_RemoteCreateRow_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT CALLBACK ICreateRow_CreateRow_Proxy(
ICreateRow* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
DBIMPLICITSESSION *pImplSession,
DBBINDURLSTATUS *pdwBindStatus,
LPOLESTR *ppwszNewURL,
IUnknown **ppUnk);
HRESULT __RPC_STUB ICreateRow_CreateRow_Stub(
ICreateRow* This,
IUnknown *pUnkOuter,
LPCOLESTR pwszURL,
DBBINDURLFLAG dwBindURLFlags,
REFGUID rguid,
REFIID riid,
IAuthenticate *pAuthenticate,
IUnknown *pSessionUnkOuter,
IID *piid,
IUnknown **ppSession,
DBBINDURLSTATUS *pdwBindStatus,
LPOLESTR *ppwszNewURL,
IUnknown **ppUnk);
#endif /* __ICreateRow_INTERFACE_DEFINED__ */
#include <accctrl.h>
#include <poppack.h>
/* Begin additional prototypes for all interfaces */
ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *);
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *);
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *);
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __oledb_h__ */
|