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 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222
|
/*-------------------------------------------------------------------------------------
*
* Copyright (c) Microsoft Corporation
*
*-------------------------------------------------------------------------------------*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0622 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __d3d11_1_h__
#define __d3d11_1_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __ID3D11BlendState1_FWD_DEFINED__
#define __ID3D11BlendState1_FWD_DEFINED__
typedef interface ID3D11BlendState1 ID3D11BlendState1;
#endif /* __ID3D11BlendState1_FWD_DEFINED__ */
#ifndef __ID3D11RasterizerState1_FWD_DEFINED__
#define __ID3D11RasterizerState1_FWD_DEFINED__
typedef interface ID3D11RasterizerState1 ID3D11RasterizerState1;
#endif /* __ID3D11RasterizerState1_FWD_DEFINED__ */
#ifndef __ID3DDeviceContextState_FWD_DEFINED__
#define __ID3DDeviceContextState_FWD_DEFINED__
typedef interface ID3DDeviceContextState ID3DDeviceContextState;
#endif /* __ID3DDeviceContextState_FWD_DEFINED__ */
#ifndef __ID3D11DeviceContext1_FWD_DEFINED__
#define __ID3D11DeviceContext1_FWD_DEFINED__
typedef interface ID3D11DeviceContext1 ID3D11DeviceContext1;
#endif /* __ID3D11DeviceContext1_FWD_DEFINED__ */
#ifndef __ID3D11VideoContext1_FWD_DEFINED__
#define __ID3D11VideoContext1_FWD_DEFINED__
typedef interface ID3D11VideoContext1 ID3D11VideoContext1;
#endif /* __ID3D11VideoContext1_FWD_DEFINED__ */
#ifndef __ID3D11VideoDevice1_FWD_DEFINED__
#define __ID3D11VideoDevice1_FWD_DEFINED__
typedef interface ID3D11VideoDevice1 ID3D11VideoDevice1;
#endif /* __ID3D11VideoDevice1_FWD_DEFINED__ */
#ifndef __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
#define __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
typedef interface ID3D11VideoProcessorEnumerator1 ID3D11VideoProcessorEnumerator1;
#endif /* __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__ */
#ifndef __ID3D11Device1_FWD_DEFINED__
#define __ID3D11Device1_FWD_DEFINED__
typedef interface ID3D11Device1 ID3D11Device1;
#endif /* __ID3D11Device1_FWD_DEFINED__ */
#ifndef __ID3DUserDefinedAnnotation_FWD_DEFINED__
#define __ID3DUserDefinedAnnotation_FWD_DEFINED__
typedef interface ID3DUserDefinedAnnotation ID3DUserDefinedAnnotation;
#endif /* __ID3DUserDefinedAnnotation_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "dxgi1_2.h"
#include "d3dcommon.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_d3d11_1_0000_0000 */
/* [local] */
#ifdef __cplusplus
}
#endif
#include "d3d11.h" //
#ifdef __cplusplus
extern "C"{
#endif
typedef
enum D3D11_COPY_FLAGS
{
D3D11_COPY_NO_OVERWRITE = 0x1,
D3D11_COPY_DISCARD = 0x2
} D3D11_COPY_FLAGS;
typedef
enum D3D11_LOGIC_OP
{
D3D11_LOGIC_OP_CLEAR = 0,
D3D11_LOGIC_OP_SET = ( D3D11_LOGIC_OP_CLEAR + 1 ) ,
D3D11_LOGIC_OP_COPY = ( D3D11_LOGIC_OP_SET + 1 ) ,
D3D11_LOGIC_OP_COPY_INVERTED = ( D3D11_LOGIC_OP_COPY + 1 ) ,
D3D11_LOGIC_OP_NOOP = ( D3D11_LOGIC_OP_COPY_INVERTED + 1 ) ,
D3D11_LOGIC_OP_INVERT = ( D3D11_LOGIC_OP_NOOP + 1 ) ,
D3D11_LOGIC_OP_AND = ( D3D11_LOGIC_OP_INVERT + 1 ) ,
D3D11_LOGIC_OP_NAND = ( D3D11_LOGIC_OP_AND + 1 ) ,
D3D11_LOGIC_OP_OR = ( D3D11_LOGIC_OP_NAND + 1 ) ,
D3D11_LOGIC_OP_NOR = ( D3D11_LOGIC_OP_OR + 1 ) ,
D3D11_LOGIC_OP_XOR = ( D3D11_LOGIC_OP_NOR + 1 ) ,
D3D11_LOGIC_OP_EQUIV = ( D3D11_LOGIC_OP_XOR + 1 ) ,
D3D11_LOGIC_OP_AND_REVERSE = ( D3D11_LOGIC_OP_EQUIV + 1 ) ,
D3D11_LOGIC_OP_AND_INVERTED = ( D3D11_LOGIC_OP_AND_REVERSE + 1 ) ,
D3D11_LOGIC_OP_OR_REVERSE = ( D3D11_LOGIC_OP_AND_INVERTED + 1 ) ,
D3D11_LOGIC_OP_OR_INVERTED = ( D3D11_LOGIC_OP_OR_REVERSE + 1 )
} D3D11_LOGIC_OP;
typedef struct D3D11_RENDER_TARGET_BLEND_DESC1
{
BOOL BlendEnable;
BOOL LogicOpEnable;
D3D11_BLEND SrcBlend;
D3D11_BLEND DestBlend;
D3D11_BLEND_OP BlendOp;
D3D11_BLEND SrcBlendAlpha;
D3D11_BLEND DestBlendAlpha;
D3D11_BLEND_OP BlendOpAlpha;
D3D11_LOGIC_OP LogicOp;
UINT8 RenderTargetWriteMask;
} D3D11_RENDER_TARGET_BLEND_DESC1;
typedef struct D3D11_BLEND_DESC1
{
BOOL AlphaToCoverageEnable;
BOOL IndependentBlendEnable;
D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[ 8 ];
} D3D11_BLEND_DESC1;
/* Note, the array size for RenderTarget[] above is D3D11_SIMULTANEOUS_RENDERTARGET_COUNT.
IDL processing/generation of this header replaces the define; this comment is merely explaining what happened. */
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
}
struct CD3D11_BLEND_DESC1 : public D3D11_BLEND_DESC1
{
CD3D11_BLEND_DESC1()
{}
explicit CD3D11_BLEND_DESC1( const D3D11_BLEND_DESC1& o ) :
D3D11_BLEND_DESC1( o )
{}
explicit CD3D11_BLEND_DESC1( CD3D11_DEFAULT )
{
AlphaToCoverageEnable = FALSE;
IndependentBlendEnable = FALSE;
const D3D11_RENDER_TARGET_BLEND_DESC1 defaultRenderTargetBlendDesc =
{
FALSE,FALSE,
D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
D3D11_LOGIC_OP_NOOP,
D3D11_COLOR_WRITE_ENABLE_ALL,
};
for (UINT i = 0; i < D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; ++i)
RenderTarget[ i ] = defaultRenderTargetBlendDesc;
}
~CD3D11_BLEND_DESC1() {}
operator const D3D11_BLEND_DESC1&() const { return *this; }
};
extern "C"{
#endif
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0000_v0_0_s_ifspec;
#ifndef __ID3D11BlendState1_INTERFACE_DEFINED__
#define __ID3D11BlendState1_INTERFACE_DEFINED__
/* interface ID3D11BlendState1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11BlendState1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("cc86fabe-da55-401d-85e7-e3c9de2877e9")
ID3D11BlendState1 : public ID3D11BlendState
{
public:
virtual void STDMETHODCALLTYPE GetDesc1(
/* [annotation] */
_Out_ D3D11_BLEND_DESC1 *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11BlendState1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11BlendState1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11BlendState1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11BlendState1 * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11BlendState1 * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11BlendState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11BlendState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11BlendState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11BlendState1 * This,
/* [annotation] */
_Out_ D3D11_BLEND_DESC *pDesc);
void ( STDMETHODCALLTYPE *GetDesc1 )(
ID3D11BlendState1 * This,
/* [annotation] */
_Out_ D3D11_BLEND_DESC1 *pDesc);
END_INTERFACE
} ID3D11BlendState1Vtbl;
interface ID3D11BlendState1
{
CONST_VTBL struct ID3D11BlendState1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11BlendState1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11BlendState1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11BlendState1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11BlendState1_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11BlendState1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11BlendState1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11BlendState1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11BlendState1_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#define ID3D11BlendState1_GetDesc1(This,pDesc) \
( (This)->lpVtbl -> GetDesc1(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11BlendState1_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_1_0000_0001 */
/* [local] */
typedef struct D3D11_RASTERIZER_DESC1
{
D3D11_FILL_MODE FillMode;
D3D11_CULL_MODE CullMode;
BOOL FrontCounterClockwise;
INT DepthBias;
FLOAT DepthBiasClamp;
FLOAT SlopeScaledDepthBias;
BOOL DepthClipEnable;
BOOL ScissorEnable;
BOOL MultisampleEnable;
BOOL AntialiasedLineEnable;
UINT ForcedSampleCount;
} D3D11_RASTERIZER_DESC1;
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
}
struct CD3D11_RASTERIZER_DESC1 : public D3D11_RASTERIZER_DESC1
{
CD3D11_RASTERIZER_DESC1()
{}
explicit CD3D11_RASTERIZER_DESC1( const D3D11_RASTERIZER_DESC1& o ) :
D3D11_RASTERIZER_DESC1( o )
{}
explicit CD3D11_RASTERIZER_DESC1( CD3D11_DEFAULT )
{
FillMode = D3D11_FILL_SOLID;
CullMode = D3D11_CULL_BACK;
FrontCounterClockwise = FALSE;
DepthBias = D3D11_DEFAULT_DEPTH_BIAS;
DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;
SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
DepthClipEnable = TRUE;
ScissorEnable = FALSE;
MultisampleEnable = FALSE;
AntialiasedLineEnable = FALSE;
ForcedSampleCount = 0;
}
explicit CD3D11_RASTERIZER_DESC1(
D3D11_FILL_MODE fillMode,
D3D11_CULL_MODE cullMode,
BOOL frontCounterClockwise,
INT depthBias,
FLOAT depthBiasClamp,
FLOAT slopeScaledDepthBias,
BOOL depthClipEnable,
BOOL scissorEnable,
BOOL multisampleEnable,
BOOL antialiasedLineEnable,
UINT forcedSampleCount )
{
FillMode = fillMode;
CullMode = cullMode;
FrontCounterClockwise = frontCounterClockwise;
DepthBias = depthBias;
DepthBiasClamp = depthBiasClamp;
SlopeScaledDepthBias = slopeScaledDepthBias;
DepthClipEnable = depthClipEnable;
ScissorEnable = scissorEnable;
MultisampleEnable = multisampleEnable;
AntialiasedLineEnable = antialiasedLineEnable;
ForcedSampleCount = forcedSampleCount;
}
~CD3D11_RASTERIZER_DESC1() {}
operator const D3D11_RASTERIZER_DESC1&() const { return *this; }
};
extern "C"{
#endif
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0001_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0001_v0_0_s_ifspec;
#ifndef __ID3D11RasterizerState1_INTERFACE_DEFINED__
#define __ID3D11RasterizerState1_INTERFACE_DEFINED__
/* interface ID3D11RasterizerState1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11RasterizerState1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1217d7a6-5039-418c-b042-9cbe256afd6e")
ID3D11RasterizerState1 : public ID3D11RasterizerState
{
public:
virtual void STDMETHODCALLTYPE GetDesc1(
/* [annotation] */
_Out_ D3D11_RASTERIZER_DESC1 *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11RasterizerState1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11RasterizerState1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11RasterizerState1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11RasterizerState1 * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_Out_ D3D11_RASTERIZER_DESC *pDesc);
void ( STDMETHODCALLTYPE *GetDesc1 )(
ID3D11RasterizerState1 * This,
/* [annotation] */
_Out_ D3D11_RASTERIZER_DESC1 *pDesc);
END_INTERFACE
} ID3D11RasterizerState1Vtbl;
interface ID3D11RasterizerState1
{
CONST_VTBL struct ID3D11RasterizerState1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11RasterizerState1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11RasterizerState1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11RasterizerState1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11RasterizerState1_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11RasterizerState1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11RasterizerState1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11RasterizerState1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11RasterizerState1_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#define ID3D11RasterizerState1_GetDesc1(This,pDesc) \
( (This)->lpVtbl -> GetDesc1(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11RasterizerState1_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_1_0000_0002 */
/* [local] */
typedef
enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG
{
D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1
} D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0002_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0002_v0_0_s_ifspec;
#ifndef __ID3DDeviceContextState_INTERFACE_DEFINED__
#define __ID3DDeviceContextState_INTERFACE_DEFINED__
/* interface ID3DDeviceContextState */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3DDeviceContextState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("5c1e0d8a-7c23-48f9-8c59-a92958ceff11")
ID3DDeviceContextState : public ID3D11DeviceChild
{
public:
};
#else /* C style interface */
typedef struct ID3DDeviceContextStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3DDeviceContextState * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3DDeviceContextState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3DDeviceContextState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3DDeviceContextState * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3DDeviceContextState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3DDeviceContextState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3DDeviceContextState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3DDeviceContextStateVtbl;
interface ID3DDeviceContextState
{
CONST_VTBL struct ID3DDeviceContextStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3DDeviceContextState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3DDeviceContextState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3DDeviceContextState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3DDeviceContextState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3DDeviceContextState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3DDeviceContextState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3DDeviceContextState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3DDeviceContextState_INTERFACE_DEFINED__ */
#ifndef __ID3D11DeviceContext1_INTERFACE_DEFINED__
#define __ID3D11DeviceContext1_INTERFACE_DEFINED__
/* interface ID3D11DeviceContext1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11DeviceContext1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")
ID3D11DeviceContext1 : public ID3D11DeviceContext
{
public:
virtual void STDMETHODCALLTYPE CopySubresourceRegion1(
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ UINT DstX,
/* [annotation] */
_In_ UINT DstY,
/* [annotation] */
_In_ UINT DstZ,
/* [annotation] */
_In_ ID3D11Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pSrcBox,
/* [annotation] */
_In_ UINT CopyFlags) = 0;
virtual void STDMETHODCALLTYPE UpdateSubresource1(
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pDstBox,
/* [annotation] */
_In_ const void *pSrcData,
/* [annotation] */
_In_ UINT SrcRowPitch,
/* [annotation] */
_In_ UINT SrcDepthPitch,
/* [annotation] */
_In_ UINT CopyFlags) = 0;
virtual void STDMETHODCALLTYPE DiscardResource(
/* [annotation] */
_In_ ID3D11Resource *pResource) = 0;
virtual void STDMETHODCALLTYPE DiscardView(
/* [annotation] */
_In_ ID3D11View *pResourceView) = 0;
virtual void STDMETHODCALLTYPE VSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE HSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE DSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE GSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE PSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE CSSetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE VSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE HSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE DSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE GSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE PSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE CSGetConstantBuffers1(
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants) = 0;
virtual void STDMETHODCALLTYPE SwapDeviceContextState(
/* [annotation] */
_In_ ID3DDeviceContextState *pState,
/* [annotation] */
_Outptr_opt_ ID3DDeviceContextState **ppPreviousState) = 0;
virtual void STDMETHODCALLTYPE ClearView(
/* [annotation] */
_In_ ID3D11View *pView,
/* [annotation] */
_In_ const FLOAT Color[ 4 ],
/* [annotation] */
_In_reads_opt_(NumRects) const D3D11_RECT *pRect,
UINT NumRects) = 0;
virtual void STDMETHODCALLTYPE DiscardView1(
/* [annotation] */
_In_ ID3D11View *pResourceView,
/* [annotation] */
_In_reads_opt_(NumRects) const D3D11_RECT *pRects,
UINT NumRects) = 0;
};
#else /* C style interface */
typedef struct ID3D11DeviceContext1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DeviceContext1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DeviceContext1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DeviceContext1 * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *PSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11PixelShader *pPixelShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *PSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *VSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11VertexShader *pVertexShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *DrawIndexed )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT IndexCount,
/* [annotation] */
_In_ UINT StartIndexLocation,
/* [annotation] */
_In_ INT BaseVertexLocation);
void ( STDMETHODCALLTYPE *Draw )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT VertexCount,
/* [annotation] */
_In_ UINT StartVertexLocation);
HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ UINT Subresource,
/* [annotation] */
_In_ D3D11_MAP MapType,
/* [annotation] */
_In_ UINT MapFlags,
/* [annotation] */
_Out_opt_ D3D11_MAPPED_SUBRESOURCE *pMappedResource);
void ( STDMETHODCALLTYPE *Unmap )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ UINT Subresource);
void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *IASetInputLayout )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11InputLayout *pInputLayout);
void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pStrides,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11Buffer *pIndexBuffer,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_In_ UINT Offset);
void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT IndexCountPerInstance,
/* [annotation] */
_In_ UINT InstanceCount,
/* [annotation] */
_In_ UINT StartIndexLocation,
/* [annotation] */
_In_ INT BaseVertexLocation,
/* [annotation] */
_In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *DrawInstanced )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT VertexCountPerInstance,
/* [annotation] */
_In_ UINT InstanceCount,
/* [annotation] */
_In_ UINT StartVertexLocation,
/* [annotation] */
_In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11GeometryShader *pShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ D3D11_PRIMITIVE_TOPOLOGY Topology);
void ( STDMETHODCALLTYPE *VSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *VSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *Begin )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Asynchronous *pAsync);
void ( STDMETHODCALLTYPE *End )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Asynchronous *pAsync);
HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Asynchronous *pAsync,
/* [annotation] */
_Out_writes_bytes_opt_( DataSize ) void *pData,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ UINT GetDataFlags);
void ( STDMETHODCALLTYPE *SetPredication )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11Predicate *pPredicate,
/* [annotation] */
_In_ BOOL PredicateValue);
void ( STDMETHODCALLTYPE *GSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *GSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
/* [annotation] */
_In_opt_ ID3D11DepthStencilView *pDepthStencilView);
void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT NumRTVs,
/* [annotation] */
_In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
/* [annotation] */
_In_opt_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */
_In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
/* [annotation] */
_In_ UINT NumUAVs,
/* [annotation] */
_In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
/* [annotation] */
_In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
void ( STDMETHODCALLTYPE *OMSetBlendState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11BlendState *pBlendState,
/* [annotation] */
_In_opt_ const FLOAT BlendFactor[ 4 ],
/* [annotation] */
_In_ UINT SampleMask);
void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11DepthStencilState *pDepthStencilState,
/* [annotation] */
_In_ UINT StencilRef);
void ( STDMETHODCALLTYPE *SOSetTargets )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *DrawAuto )(
ID3D11DeviceContext1 * This);
void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */
_In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */
_In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *Dispatch )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ UINT ThreadGroupCountX,
/* [annotation] */
_In_ UINT ThreadGroupCountY,
/* [annotation] */
_In_ UINT ThreadGroupCountZ);
void ( STDMETHODCALLTYPE *DispatchIndirect )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */
_In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *RSSetState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11RasterizerState *pRasterizerState);
void ( STDMETHODCALLTYPE *RSSetViewports )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
/* [annotation] */
_In_reads_opt_(NumViewports) const D3D11_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSSetScissorRects )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
/* [annotation] */
_In_reads_opt_(NumRects) const D3D11_RECT *pRects);
void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ UINT DstX,
/* [annotation] */
_In_ UINT DstY,
/* [annotation] */
_In_ UINT DstZ,
/* [annotation] */
_In_ ID3D11Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pSrcBox);
void ( STDMETHODCALLTYPE *CopyResource )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ ID3D11Resource *pSrcResource);
void ( STDMETHODCALLTYPE *UpdateSubresource )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pDstBox,
/* [annotation] */
_In_ const void *pSrcData,
/* [annotation] */
_In_ UINT SrcRowPitch,
/* [annotation] */
_In_ UINT SrcDepthPitch);
void ( STDMETHODCALLTYPE *CopyStructureCount )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Buffer *pDstBuffer,
/* [annotation] */
_In_ UINT DstAlignedByteOffset,
/* [annotation] */
_In_ ID3D11UnorderedAccessView *pSrcView);
void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11RenderTargetView *pRenderTargetView,
/* [annotation] */
_In_ const FLOAT ColorRGBA[ 4 ]);
void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */
_In_ const UINT Values[ 4 ]);
void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */
_In_ const FLOAT Values[ 4 ]);
void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */
_In_ UINT ClearFlags,
/* [annotation] */
_In_ FLOAT Depth,
/* [annotation] */
_In_ UINT8 Stencil);
void ( STDMETHODCALLTYPE *GenerateMips )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11ShaderResourceView *pShaderResourceView);
void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
FLOAT MinLOD);
FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource);
void ( STDMETHODCALLTYPE *ResolveSubresource )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ ID3D11Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_ DXGI_FORMAT Format);
void ( STDMETHODCALLTYPE *ExecuteCommandList )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11CommandList *pCommandList,
BOOL RestoreContextState);
void ( STDMETHODCALLTYPE *HSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *HSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11HullShader *pHullShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *HSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *DSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *DSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11DomainShader *pDomainShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *DSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *CSSetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
/* [annotation] */
_In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
/* [annotation] */
_In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
void ( STDMETHODCALLTYPE *CSSetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_opt_ ID3D11ComputeShader *pComputeShader,
/* [annotation] */
_In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
UINT NumClassInstances);
void ( STDMETHODCALLTYPE *CSSetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *PSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11PixelShader **ppPixelShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *PSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *VSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11VertexShader **ppVertexShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *IAGetInputLayout )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11InputLayout **ppInputLayout);
void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pStrides,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11Buffer **pIndexBuffer,
/* [annotation] */
_Out_opt_ DXGI_FORMAT *Format,
/* [annotation] */
_Out_opt_ UINT *Offset);
void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11GeometryShader **ppGeometryShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Out_ D3D11_PRIMITIVE_TOPOLOGY *pTopology);
void ( STDMETHODCALLTYPE *VSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *VSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *GetPredication )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11Predicate **ppPredicate,
/* [annotation] */
_Out_opt_ BOOL *pPredicateValue);
void ( STDMETHODCALLTYPE *GSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *GSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView);
void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTVs,
/* [annotation] */
_Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView,
/* [annotation] */
_In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
/* [annotation] */
_In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
/* [annotation] */
_Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
void ( STDMETHODCALLTYPE *OMGetBlendState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11BlendState **ppBlendState,
/* [annotation] */
_Out_opt_ FLOAT BlendFactor[ 4 ],
/* [annotation] */
_Out_opt_ UINT *pSampleMask);
void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_opt_result_maybenull_ ID3D11DepthStencilState **ppDepthStencilState,
/* [annotation] */
_Out_opt_ UINT *pStencilRef);
void ( STDMETHODCALLTYPE *SOGetTargets )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets);
void ( STDMETHODCALLTYPE *RSGetState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11RasterizerState **ppRasterizerState);
void ( STDMETHODCALLTYPE *RSGetViewports )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
/* [annotation] */
_Out_writes_opt_(*pNumViewports) D3D11_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSGetScissorRects )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
/* [annotation] */
_Out_writes_opt_(*pNumRects) D3D11_RECT *pRects);
void ( STDMETHODCALLTYPE *HSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *HSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11HullShader **ppHullShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *HSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *DSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *DSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11DomainShader **ppDomainShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *DSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *CSGetShaderResources )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
/* [annotation] */
_Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
void ( STDMETHODCALLTYPE *CSGetShader )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_Outptr_result_maybenull_ ID3D11ComputeShader **ppComputeShader,
/* [annotation] */
_Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
/* [annotation] */
_Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *CSGetSamplers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *ClearState )(
ID3D11DeviceContext1 * This);
void ( STDMETHODCALLTYPE *Flush )(
ID3D11DeviceContext1 * This);
D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
ID3D11DeviceContext1 * This);
UINT ( STDMETHODCALLTYPE *GetContextFlags )(
ID3D11DeviceContext1 * This);
HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
ID3D11DeviceContext1 * This,
BOOL RestoreDeferredContextState,
/* [annotation] */
_COM_Outptr_opt_ ID3D11CommandList **ppCommandList);
void ( STDMETHODCALLTYPE *CopySubresourceRegion1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ UINT DstX,
/* [annotation] */
_In_ UINT DstY,
/* [annotation] */
_In_ UINT DstZ,
/* [annotation] */
_In_ ID3D11Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pSrcBox,
/* [annotation] */
_In_ UINT CopyFlags);
void ( STDMETHODCALLTYPE *UpdateSubresource1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_opt_ const D3D11_BOX *pDstBox,
/* [annotation] */
_In_ const void *pSrcData,
/* [annotation] */
_In_ UINT SrcRowPitch,
/* [annotation] */
_In_ UINT SrcDepthPitch,
/* [annotation] */
_In_ UINT CopyFlags);
void ( STDMETHODCALLTYPE *DiscardResource )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource);
void ( STDMETHODCALLTYPE *DiscardView )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11View *pResourceView);
void ( STDMETHODCALLTYPE *VSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *HSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *DSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *GSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *PSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *CSSetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pNumConstants);
void ( STDMETHODCALLTYPE *VSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *HSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *DSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *GSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *PSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *CSGetConstantBuffers1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pNumConstants);
void ( STDMETHODCALLTYPE *SwapDeviceContextState )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3DDeviceContextState *pState,
/* [annotation] */
_Outptr_opt_ ID3DDeviceContextState **ppPreviousState);
void ( STDMETHODCALLTYPE *ClearView )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11View *pView,
/* [annotation] */
_In_ const FLOAT Color[ 4 ],
/* [annotation] */
_In_reads_opt_(NumRects) const D3D11_RECT *pRect,
UINT NumRects);
void ( STDMETHODCALLTYPE *DiscardView1 )(
ID3D11DeviceContext1 * This,
/* [annotation] */
_In_ ID3D11View *pResourceView,
/* [annotation] */
_In_reads_opt_(NumRects) const D3D11_RECT *pRects,
UINT NumRects);
END_INTERFACE
} ID3D11DeviceContext1Vtbl;
interface ID3D11DeviceContext1
{
CONST_VTBL struct ID3D11DeviceContext1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11DeviceContext1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11DeviceContext1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11DeviceContext1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11DeviceContext1_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11DeviceContext1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11DeviceContext1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11DeviceContext1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11DeviceContext1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
#define ID3D11DeviceContext1_Draw(This,VertexCount,StartVertexLocation) \
( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
#define ID3D11DeviceContext1_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) \
( (This)->lpVtbl -> Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) )
#define ID3D11DeviceContext1_Unmap(This,pResource,Subresource) \
( (This)->lpVtbl -> Unmap(This,pResource,Subresource) )
#define ID3D11DeviceContext1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_IASetInputLayout(This,pInputLayout) \
( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
#define ID3D11DeviceContext1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
#define ID3D11DeviceContext1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
#define ID3D11DeviceContext1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
#define ID3D11DeviceContext1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
#define ID3D11DeviceContext1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> GSSetShader(This,pShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_IASetPrimitiveTopology(This,Topology) \
( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
#define ID3D11DeviceContext1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_Begin(This,pAsync) \
( (This)->lpVtbl -> Begin(This,pAsync) )
#define ID3D11DeviceContext1_End(This,pAsync) \
( (This)->lpVtbl -> End(This,pAsync) )
#define ID3D11DeviceContext1_GetData(This,pAsync,pData,DataSize,GetDataFlags) \
( (This)->lpVtbl -> GetData(This,pAsync,pData,DataSize,GetDataFlags) )
#define ID3D11DeviceContext1_SetPredication(This,pPredicate,PredicateValue) \
( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
#define ID3D11DeviceContext1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
#define ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
( (This)->lpVtbl -> OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
#define ID3D11DeviceContext1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
#define ID3D11DeviceContext1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
#define ID3D11DeviceContext1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
#define ID3D11DeviceContext1_DrawAuto(This) \
( (This)->lpVtbl -> DrawAuto(This) )
#define ID3D11DeviceContext1_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
( (This)->lpVtbl -> DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
#define ID3D11DeviceContext1_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
( (This)->lpVtbl -> DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
#define ID3D11DeviceContext1_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) \
( (This)->lpVtbl -> Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) )
#define ID3D11DeviceContext1_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
( (This)->lpVtbl -> DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
#define ID3D11DeviceContext1_RSSetState(This,pRasterizerState) \
( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
#define ID3D11DeviceContext1_RSSetViewports(This,NumViewports,pViewports) \
( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
#define ID3D11DeviceContext1_RSSetScissorRects(This,NumRects,pRects) \
( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
#define ID3D11DeviceContext1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
#define ID3D11DeviceContext1_CopyResource(This,pDstResource,pSrcResource) \
( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
#define ID3D11DeviceContext1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
#define ID3D11DeviceContext1_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) \
( (This)->lpVtbl -> CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) )
#define ID3D11DeviceContext1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
#define ID3D11DeviceContext1_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) \
( (This)->lpVtbl -> ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) )
#define ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) \
( (This)->lpVtbl -> ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) )
#define ID3D11DeviceContext1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
#define ID3D11DeviceContext1_GenerateMips(This,pShaderResourceView) \
( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
#define ID3D11DeviceContext1_SetResourceMinLOD(This,pResource,MinLOD) \
( (This)->lpVtbl -> SetResourceMinLOD(This,pResource,MinLOD) )
#define ID3D11DeviceContext1_GetResourceMinLOD(This,pResource) \
( (This)->lpVtbl -> GetResourceMinLOD(This,pResource) )
#define ID3D11DeviceContext1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
#define ID3D11DeviceContext1_ExecuteCommandList(This,pCommandList,RestoreContextState) \
( (This)->lpVtbl -> ExecuteCommandList(This,pCommandList,RestoreContextState) )
#define ID3D11DeviceContext1_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
( (This)->lpVtbl -> CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
#define ID3D11DeviceContext1_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) \
( (This)->lpVtbl -> CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) )
#define ID3D11DeviceContext1_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_IAGetInputLayout(This,ppInputLayout) \
( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
#define ID3D11DeviceContext1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
#define ID3D11DeviceContext1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
#define ID3D11DeviceContext1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_IAGetPrimitiveTopology(This,pTopology) \
( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
#define ID3D11DeviceContext1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_GetPredication(This,ppPredicate,pPredicateValue) \
( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
#define ID3D11DeviceContext1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
#define ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) \
( (This)->lpVtbl -> OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) )
#define ID3D11DeviceContext1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
#define ID3D11DeviceContext1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
#define ID3D11DeviceContext1_SOGetTargets(This,NumBuffers,ppSOTargets) \
( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets) )
#define ID3D11DeviceContext1_RSGetState(This,ppRasterizerState) \
( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
#define ID3D11DeviceContext1_RSGetViewports(This,pNumViewports,pViewports) \
( (This)->lpVtbl -> RSGetViewports(This,pNumViewports,pViewports) )
#define ID3D11DeviceContext1_RSGetScissorRects(This,pNumRects,pRects) \
( (This)->lpVtbl -> RSGetScissorRects(This,pNumRects,pRects) )
#define ID3D11DeviceContext1_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D11DeviceContext1_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) \
( (This)->lpVtbl -> CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) )
#define ID3D11DeviceContext1_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) \
( (This)->lpVtbl -> CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) )
#define ID3D11DeviceContext1_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D11DeviceContext1_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D11DeviceContext1_ClearState(This) \
( (This)->lpVtbl -> ClearState(This) )
#define ID3D11DeviceContext1_Flush(This) \
( (This)->lpVtbl -> Flush(This) )
#define ID3D11DeviceContext1_GetType(This) \
( (This)->lpVtbl -> GetType(This) )
#define ID3D11DeviceContext1_GetContextFlags(This) \
( (This)->lpVtbl -> GetContextFlags(This) )
#define ID3D11DeviceContext1_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) \
( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCommandList) )
#define ID3D11DeviceContext1_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) \
( (This)->lpVtbl -> CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) )
#define ID3D11DeviceContext1_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) \
( (This)->lpVtbl -> UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) )
#define ID3D11DeviceContext1_DiscardResource(This,pResource) \
( (This)->lpVtbl -> DiscardResource(This,pResource) )
#define ID3D11DeviceContext1_DiscardView(This,pResourceView) \
( (This)->lpVtbl -> DiscardView(This,pResourceView) )
#define ID3D11DeviceContext1_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
( (This)->lpVtbl -> CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
#define ID3D11DeviceContext1_SwapDeviceContextState(This,pState,ppPreviousState) \
( (This)->lpVtbl -> SwapDeviceContextState(This,pState,ppPreviousState) )
#define ID3D11DeviceContext1_ClearView(This,pView,Color,pRect,NumRects) \
( (This)->lpVtbl -> ClearView(This,pView,Color,pRect,NumRects) )
#define ID3D11DeviceContext1_DiscardView1(This,pResourceView,pRects,NumRects) \
( (This)->lpVtbl -> DiscardView1(This,pResourceView,pRects,NumRects) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11DeviceContext1_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_1_0000_0004 */
/* [local] */
typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK
{
UINT ClearSize;
UINT EncryptedSize;
} D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK;
typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1
{
D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
UINT DataOffset;
UINT DataSize;
/* [annotation] */
_Field_size_opt_(IVSize) void *pIV;
UINT IVSize;
/* [annotation] */
_Field_size_opt_(SubSampleMappingCount) D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
UINT SubSampleMappingCount;
} D3D11_VIDEO_DECODER_BUFFER_DESC1;
typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION
{
ID3D11CryptoSession *pCryptoSession;
UINT BlobSize;
/* [annotation] */
_Field_size_opt_(BlobSize) void *pBlob;
GUID *pKeyInfoId;
UINT PrivateDataSize;
/* [annotation] */
_Field_size_opt_(PrivateDataSize) void *pPrivateData;
} D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;
typedef
enum D3D11_VIDEO_DECODER_CAPS
{
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x1,
D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x2,
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x4,
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x8,
D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10
} D3D11_VIDEO_DECODER_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS
{
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x1,
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x2,
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x4,
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x8
} D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS;
typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT
{
BOOL Enable;
UINT Width;
UINT Height;
DXGI_FORMAT Format;
} D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT;
typedef
enum D3D11_CRYPTO_SESSION_STATUS
{
D3D11_CRYPTO_SESSION_STATUS_OK = 0,
D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 1,
D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 2
} D3D11_CRYPTO_SESSION_STATUS;
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA
{
UINT PrivateDataSize;
UINT HWProtectionDataSize;
BYTE pbInput[ 4 ];
} D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA;
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA
{
UINT PrivateDataSize;
UINT MaxHWProtectionDataSize;
UINT HWProtectionDataSize;
UINT64 TransportTime;
UINT64 ExecutionTime;
BYTE pbOutput[ 4 ];
} D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA;
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA
{
UINT HWProtectionFunctionID;
D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData;
D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
HRESULT Status;
} D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA;
typedef struct D3D11_VIDEO_SAMPLE_DESC
{
UINT Width;
UINT Height;
DXGI_FORMAT Format;
DXGI_COLOR_SPACE_TYPE ColorSpace;
} D3D11_VIDEO_SAMPLE_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0004_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0004_v0_0_s_ifspec;
#ifndef __ID3D11VideoContext1_INTERFACE_DEFINED__
#define __ID3D11VideoContext1_INTERFACE_DEFINED__
/* interface ID3D11VideoContext1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoContext1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A7F026DA-A5F8-4487-A564-15E34357651E")
ID3D11VideoContext1 : public ID3D11VideoContext
{
public:
virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers1(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ UINT NumBuffers,
/* [annotation] */
_In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDataForNewHardwareKey(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT PrivateInputSize,
/* [annotation] */
_In_reads_(PrivateInputSize) const void *pPrivatInputData,
/* [annotation] */
_Out_ UINT64 *pPrivateOutputData) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckCryptoSessionStatus(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_Out_ D3D11_CRYPTO_SESSION_STATUS *pStatus) = 0;
virtual HRESULT STDMETHODCALLTYPE DecoderEnableDownsampling(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
/* [annotation] */
_In_ UINT ReferenceFrameCount) = 0;
virtual HRESULT STDMETHODCALLTYPE DecoderUpdateDownsampling(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace1(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE ColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputShaderUsage(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL ShaderUsage) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace1(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputShaderUsage(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pShaderUsage) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace1(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE ColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamMirror(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ BOOL FlipHorizontal,
/* [annotation] */
_In_ BOOL FlipVertical) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace1(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamMirror(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ BOOL *pFlipHorizontal,
/* [annotation] */
_Out_ BOOL *pFlipVertical) = 0;
virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetBehaviorHints(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT OutputWidth,
/* [annotation] */
_In_ UINT OutputHeight,
/* [annotation] */
_In_ DXGI_FORMAT OutputFormat,
/* [annotation] */
_In_ UINT StreamCount,
/* [annotation] */
_In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
/* [annotation] */
_Out_ UINT *pBehaviorHints) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoContext1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoContext1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoContext1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoContext1 * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoContext1 * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
/* [annotation] */
_Out_ UINT *pBufferSize,
/* [annotation] */
_Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ ID3D11VideoDecoderOutputView *pView,
UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey);
HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder);
HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ UINT NumBuffers,
/* [annotation] */
_In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL YCbCr,
/* [annotation] */
_In_ const D3D11_VIDEO_COLOR *pColor);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
/* [annotation] */
_In_ UINT StreamIndex);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ SIZE Size);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExtension )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *Enabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pYCbCr,
/* [annotation] */
_Out_ D3D11_VIDEO_COLOR *pColor);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
/* [annotation] */
_Out_ UINT *pStreamIndex);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ SIZE *pSize);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExtension )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
/* [annotation] */
_In_ BOOL RepeatFrame,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pCustomRate);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Alpha);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_In_reads_opt_(Count) const UINT *pEntries);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Lower,
/* [annotation] */
_In_ FLOAT Upper);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
/* [annotation] */
_In_ BOOL LeftViewFrame0,
/* [annotation] */
_In_ BOOL BaseViewFrame0,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
/* [annotation] */
_In_ int MonoOffset);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ int Level);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExtension )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
/* [annotation] */
_Out_ BOOL *pRepeatFrame,
/* [annotation] */
_Out_ DXGI_RATIONAL *pCustomRate);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pAlpha);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_Out_writes_(Count) UINT *pEntries);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_Out_ DXGI_RATIONAL *pDestinationAspectRatio);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pLower,
/* [annotation] */
_Out_ FLOAT *pUpper);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
/* [annotation] */
_Out_ BOOL *pLeftViewFrame0,
/* [annotation] */
_Out_ BOOL *pBaseViewFrame0,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
/* [annotation] */
_Out_ int *MonoOffset);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ int *pLevel);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExtension )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ ID3D11VideoProcessorOutputView *pView,
/* [annotation] */
_In_ UINT OutputFrame,
/* [annotation] */
_In_ UINT StreamCount,
/* [annotation] */
_In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStreams);
HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData);
void ( STDMETHODCALLTYPE *EncryptionBlt )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV);
void ( STDMETHODCALLTYPE *DecryptionBlt )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
/* [annotation] */
_In_ UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV);
void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT RandomNumberSize,
/* [annotation] */
_Out_writes_bytes_(RandomNumberSize) void *pRandomNumber);
void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession);
HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT KeySize,
/* [annotation] */
_Out_writes_bytes_(KeySize) void *pReadbackKey);
HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_In_ UINT OutputSize,
/* [annotation] */
_Out_writes_bytes_(OutputSize) void *pOutput);
HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers1 )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ UINT NumBuffers,
/* [annotation] */
_In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc);
HRESULT ( STDMETHODCALLTYPE *GetDataForNewHardwareKey )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT PrivateInputSize,
/* [annotation] */
_In_reads_(PrivateInputSize) const void *pPrivatInputData,
/* [annotation] */
_Out_ UINT64 *pPrivateOutputData);
HRESULT ( STDMETHODCALLTYPE *CheckCryptoSessionStatus )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_Out_ D3D11_CRYPTO_SESSION_STATUS *pStatus);
HRESULT ( STDMETHODCALLTYPE *DecoderEnableDownsampling )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
/* [annotation] */
_In_ UINT ReferenceFrameCount);
HRESULT ( STDMETHODCALLTYPE *DecoderUpdateDownsampling )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1 )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL ShaderUsage);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1 )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pShaderUsage);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1 )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamMirror )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ BOOL FlipHorizontal,
/* [annotation] */
_In_ BOOL FlipVertical);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1 )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamMirror )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ BOOL *pFlipHorizontal,
/* [annotation] */
_Out_ BOOL *pFlipVertical);
HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints )(
ID3D11VideoContext1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT OutputWidth,
/* [annotation] */
_In_ UINT OutputHeight,
/* [annotation] */
_In_ DXGI_FORMAT OutputFormat,
/* [annotation] */
_In_ UINT StreamCount,
/* [annotation] */
_In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
/* [annotation] */
_Out_ UINT *pBehaviorHints);
END_INTERFACE
} ID3D11VideoContext1Vtbl;
interface ID3D11VideoContext1
{
CONST_VTBL struct ID3D11VideoContext1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoContext1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoContext1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoContext1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoContext1_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoContext1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoContext1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoContext1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoContext1_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) \
( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) )
#define ID3D11VideoContext1_ReleaseDecoderBuffer(This,pDecoder,Type) \
( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) )
#define ID3D11VideoContext1_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) \
( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) )
#define ID3D11VideoContext1_DecoderEndFrame(This,pDecoder) \
( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) )
#define ID3D11VideoContext1_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) \
( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) )
#define ID3D11VideoContext1_DecoderExtension(This,pDecoder,pExtensionData) \
( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) )
#define ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) )
#define ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) \
( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) )
#define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) \
( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) )
#define ID3D11VideoContext1_VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) \
( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) )
#define ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) \
( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) )
#define ID3D11VideoContext1_VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) )
#define ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) \
( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) )
#define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) \
( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) )
#define ID3D11VideoContext1_VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) \
( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) )
#define ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) \
( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) )
#define ID3D11VideoContext1_VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) \
( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) )
#define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) \
( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) )
#define ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
#define ID3D11VideoContext1_VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
#define ID3D11VideoContext1_VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) \
( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) )
#define ID3D11VideoContext1_VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
#define ID3D11VideoContext1_VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) \
( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) )
#define ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) \
( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) )
#define ID3D11VideoContext1_VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) \
( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) )
#define ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) \
( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) )
#define ID3D11VideoContext1_VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) \
( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) )
#define ID3D11VideoContext1_VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) \
( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) )
#define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) \
( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) )
#define ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
#define ID3D11VideoContext1_VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
#define ID3D11VideoContext1_VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) \
( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) )
#define ID3D11VideoContext1_VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
#define ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) \
( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) )
#define ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) \
( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) )
#define ID3D11VideoContext1_VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) \
( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) )
#define ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) \
( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) )
#define ID3D11VideoContext1_VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) \
( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) )
#define ID3D11VideoContext1_VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext1_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) \
( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) )
#define ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) \
( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) )
#define ID3D11VideoContext1_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) \
( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) )
#define ID3D11VideoContext1_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) \
( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) )
#define ID3D11VideoContext1_StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) \
( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) )
#define ID3D11VideoContext1_FinishSessionKeyRefresh(This,pCryptoSession) \
( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) )
#define ID3D11VideoContext1_GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) \
( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) )
#define ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) \
( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) )
#define ID3D11VideoContext1_QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) \
( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) )
#define ID3D11VideoContext1_ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) \
( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) )
#define ID3D11VideoContext1_VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) \
( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) )
#define ID3D11VideoContext1_VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) \
( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) )
#define ID3D11VideoContext1_SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) \
( (This)->lpVtbl -> SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) )
#define ID3D11VideoContext1_GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) \
( (This)->lpVtbl -> GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) )
#define ID3D11VideoContext1_CheckCryptoSessionStatus(This,pCryptoSession,pStatus) \
( (This)->lpVtbl -> CheckCryptoSessionStatus(This,pCryptoSession,pStatus) )
#define ID3D11VideoContext1_DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) \
( (This)->lpVtbl -> DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) )
#define ID3D11VideoContext1_DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) \
( (This)->lpVtbl -> DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) )
#define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) )
#define ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) \
( (This)->lpVtbl -> VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) )
#define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) \
( (This)->lpVtbl -> VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) )
#define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) )
#define ID3D11VideoContext1_VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) \
( (This)->lpVtbl -> VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) )
#define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) )
#define ID3D11VideoContext1_VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) \
( (This)->lpVtbl -> VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) )
#define ID3D11VideoContext1_VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) \
( (This)->lpVtbl -> VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoContext1_INTERFACE_DEFINED__ */
#ifndef __ID3D11VideoDevice1_INTERFACE_DEFINED__
#define __ID3D11VideoDevice1_INTERFACE_DEFINED__
/* interface ID3D11VideoDevice1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoDevice1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("29DA1D51-1321-4454-804B-F5FC9F861F0F")
ID3D11VideoDevice1 : public ID3D11VideoDevice
{
public:
virtual HRESULT STDMETHODCALLTYPE GetCryptoSessionPrivateDataSize(
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ const GUID *pKeyExchangeType,
/* [annotation] */
_Out_ UINT *pPrivateInputSize,
/* [annotation] */
_Out_ UINT *pPrivateOutputSize) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderCaps(
/* [annotation] */
_In_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ UINT SampleWidth,
/* [annotation] */
_In_ UINT SampleHeight,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_In_ UINT BitRate,
/* [annotation] */
_In_opt_ const GUID *pCryptoType,
/* [annotation] */
_Out_ UINT *pDecoderCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderDownsampling(
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
/* [annotation] */
_Out_ BOOL *pSupported,
/* [annotation] */
_Out_ BOOL *pRealTimeHint) = 0;
virtual HRESULT STDMETHODCALLTYPE RecommendVideoDecoderDownsampleParameters(
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_Out_ D3D11_VIDEO_SAMPLE_DESC *pRecommendedOutputDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoDevice1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoDevice1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoDevice1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoDevice1 * This);
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoder )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pConfig,
/* [annotation] */
_COM_Outptr_ ID3D11VideoDecoder **ppDecoder);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessor )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ UINT RateConversionIndex,
/* [annotation] */
_COM_Outptr_ ID3D11VideoProcessor **ppVideoProcessor);
HRESULT ( STDMETHODCALLTYPE *CreateAuthenticatedChannel )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
/* [annotation] */
_COM_Outptr_ ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
HRESULT ( STDMETHODCALLTYPE *CreateCryptoSession )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ const GUID *pKeyExchangeType,
/* [annotation] */
_COM_Outptr_ ID3D11CryptoSession **ppCryptoSession);
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoderOutputView )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11VideoDecoderOutputView **ppVDOVView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorInputView )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11VideoProcessorInputView **ppVPIView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorOutputView )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11VideoProcessorOutputView **ppVPOView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorEnumerator )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
/* [annotation] */
_COM_Outptr_ ID3D11VideoProcessorEnumerator **ppEnum);
UINT ( STDMETHODCALLTYPE *GetVideoDecoderProfileCount )(
ID3D11VideoDevice1 * This);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderProfile )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pDecoderProfile);
HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderFormat )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ BOOL *pSupported);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfigCount )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_Out_ UINT *pCount);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfig )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig);
HRESULT ( STDMETHODCALLTYPE *GetContentProtectionCaps )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_opt_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_Out_ D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *CheckCryptoKeyExchange )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pKeyExchangeType);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ const GUID *pKeyExchangeType,
/* [annotation] */
_Out_ UINT *pPrivateInputSize,
/* [annotation] */
_Out_ UINT *pPrivateOutputSize);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderCaps )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ UINT SampleWidth,
/* [annotation] */
_In_ UINT SampleHeight,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_In_ UINT BitRate,
/* [annotation] */
_In_opt_ const GUID *pCryptoType,
/* [annotation] */
_Out_ UINT *pDecoderCaps);
HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderDownsampling )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
/* [annotation] */
_Out_ BOOL *pSupported,
/* [annotation] */
_Out_ BOOL *pRealTimeHint);
HRESULT ( STDMETHODCALLTYPE *RecommendVideoDecoderDownsampleParameters )(
ID3D11VideoDevice1 * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
/* [annotation] */
_In_ const DXGI_RATIONAL *pFrameRate,
/* [annotation] */
_Out_ D3D11_VIDEO_SAMPLE_DESC *pRecommendedOutputDesc);
END_INTERFACE
} ID3D11VideoDevice1Vtbl;
interface ID3D11VideoDevice1
{
CONST_VTBL struct ID3D11VideoDevice1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoDevice1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoDevice1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoDevice1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoDevice1_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) \
( (This)->lpVtbl -> CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) )
#define ID3D11VideoDevice1_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) \
( (This)->lpVtbl -> CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) )
#define ID3D11VideoDevice1_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) \
( (This)->lpVtbl -> CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) )
#define ID3D11VideoDevice1_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) \
( (This)->lpVtbl -> CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) )
#define ID3D11VideoDevice1_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) \
( (This)->lpVtbl -> CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) )
#define ID3D11VideoDevice1_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) \
( (This)->lpVtbl -> CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) )
#define ID3D11VideoDevice1_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) \
( (This)->lpVtbl -> CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) )
#define ID3D11VideoDevice1_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) \
( (This)->lpVtbl -> CreateVideoProcessorEnumerator(This,pDesc,ppEnum) )
#define ID3D11VideoDevice1_GetVideoDecoderProfileCount(This) \
( (This)->lpVtbl -> GetVideoDecoderProfileCount(This) )
#define ID3D11VideoDevice1_GetVideoDecoderProfile(This,Index,pDecoderProfile) \
( (This)->lpVtbl -> GetVideoDecoderProfile(This,Index,pDecoderProfile) )
#define ID3D11VideoDevice1_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) \
( (This)->lpVtbl -> CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) )
#define ID3D11VideoDevice1_GetVideoDecoderConfigCount(This,pDesc,pCount) \
( (This)->lpVtbl -> GetVideoDecoderConfigCount(This,pDesc,pCount) )
#define ID3D11VideoDevice1_GetVideoDecoderConfig(This,pDesc,Index,pConfig) \
( (This)->lpVtbl -> GetVideoDecoderConfig(This,pDesc,Index,pConfig) )
#define ID3D11VideoDevice1_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) \
( (This)->lpVtbl -> GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) )
#define ID3D11VideoDevice1_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) \
( (This)->lpVtbl -> CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) )
#define ID3D11VideoDevice1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoDevice1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoDevice1_GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize) \
( (This)->lpVtbl -> GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize) )
#define ID3D11VideoDevice1_GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps) \
( (This)->lpVtbl -> GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps) )
#define ID3D11VideoDevice1_CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint) \
( (This)->lpVtbl -> CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint) )
#define ID3D11VideoDevice1_RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc) \
( (This)->lpVtbl -> RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoDevice1_INTERFACE_DEFINED__ */
#ifndef __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
#define __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
/* interface ID3D11VideoProcessorEnumerator1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoProcessorEnumerator1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("465217F2-5568-43CF-B5B9-F61D54531CA1")
ID3D11VideoProcessorEnumerator1 : public ID3D11VideoProcessorEnumerator
{
public:
virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormatConversion(
/* [annotation] */
_In_ DXGI_FORMAT InputFormat,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ DXGI_FORMAT OutputFormat,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE OutputColorSpace,
/* [annotation] */
_Out_ BOOL *pSupported) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoProcessorEnumerator1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoProcessorEnumerator1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoProcessorEnumerator1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoProcessorEnumerator1 * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_Outptr_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorContentDesc )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc);
HRESULT ( STDMETHODCALLTYPE *CheckVideoProcessorFormat )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ UINT *pFlags);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorCaps )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorCustomRate )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_In_ UINT CustomRateIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorFilterRange )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange);
HRESULT ( STDMETHODCALLTYPE *CheckVideoProcessorFormatConversion )(
ID3D11VideoProcessorEnumerator1 * This,
/* [annotation] */
_In_ DXGI_FORMAT InputFormat,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
/* [annotation] */
_In_ DXGI_FORMAT OutputFormat,
/* [annotation] */
_In_ DXGI_COLOR_SPACE_TYPE OutputColorSpace,
/* [annotation] */
_Out_ BOOL *pSupported);
END_INTERFACE
} ID3D11VideoProcessorEnumerator1Vtbl;
interface ID3D11VideoProcessorEnumerator1
{
CONST_VTBL struct ID3D11VideoProcessorEnumerator1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoProcessorEnumerator1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoProcessorEnumerator1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoProcessorEnumerator1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoProcessorEnumerator1_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoProcessorEnumerator1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoProcessorEnumerator1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(This,pContentDesc) \
( (This)->lpVtbl -> GetVideoProcessorContentDesc(This,pContentDesc) )
#define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(This,Format,pFlags) \
( (This)->lpVtbl -> CheckVideoProcessorFormat(This,Format,pFlags) )
#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(This,pCaps) \
( (This)->lpVtbl -> GetVideoProcessorCaps(This,pCaps) )
#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) \
( (This)->lpVtbl -> GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) )
#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) \
( (This)->lpVtbl -> GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) )
#define ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(This,Filter,pRange) \
( (This)->lpVtbl -> GetVideoProcessorFilterRange(This,Filter,pRange) )
#define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormatConversion(This,InputFormat,InputColorSpace,OutputFormat,OutputColorSpace,pSupported) \
( (This)->lpVtbl -> CheckVideoProcessorFormatConversion(This,InputFormat,InputColorSpace,OutputFormat,OutputColorSpace,pSupported) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ */
#ifndef __ID3D11Device1_INTERFACE_DEFINED__
#define __ID3D11Device1_INTERFACE_DEFINED__
/* interface ID3D11Device1 */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11Device1;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")
ID3D11Device1 : public ID3D11Device
{
public:
virtual void STDMETHODCALLTYPE GetImmediateContext1(
/* [annotation] */
_Outptr_ ID3D11DeviceContext1 **ppImmediateContext) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext1(
UINT ContextFlags,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateBlendState1(
/* [annotation] */
_In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState1(
/* [annotation] */
_In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDeviceContextState(
UINT Flags,
/* [annotation] */
_In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
UINT FeatureLevels,
UINT SDKVersion,
REFIID EmulatedInterface,
/* [annotation] */
_Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
/* [annotation] */
_Out_opt_ ID3DDeviceContextState **ppContextState) = 0;
virtual HRESULT STDMETHODCALLTYPE OpenSharedResource1(
/* [annotation] */
_In_ HANDLE hResource,
/* [annotation] */
_In_ REFIID returnedInterface,
/* [annotation] */
_COM_Outptr_ void **ppResource) = 0;
virtual HRESULT STDMETHODCALLTYPE OpenSharedResourceByName(
/* [annotation] */
_In_ LPCWSTR lpName,
/* [annotation] */
_In_ DWORD dwDesiredAccess,
/* [annotation] */
_In_ REFIID returnedInterface,
/* [annotation] */
_COM_Outptr_ void **ppResource) = 0;
};
#else /* C style interface */
typedef struct ID3D11Device1Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Device1 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Device1 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Device1 * This);
HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_BUFFER_DESC *pDesc,
/* [annotation] */
_In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_TEXTURE1D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_TEXTURE2D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_TEXTURE3D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
ID3D11Device1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
ID3D11Device1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
ID3D11Device1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
ID3D11Device1 * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
/* [annotation] */
_In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
/* [annotation] */
_In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
/* [annotation] */
_In_reads_opt_(NumStrides) const UINT *pBufferStrides,
/* [annotation] */
_In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
/* [annotation] */
_In_ UINT RasterizedStream,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
ID3D11Device1 * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */
_COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
ID3D11Device1 * This,
/* [annotation] */
_COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_BLEND_DESC *pBlendStateDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_QUERY_DESC *pQueryDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Query **ppQuery);
HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_QUERY_DESC *pPredicateDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_COUNTER_DESC *pCounterDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11Counter **ppCounter);
HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
ID3D11Device1 * This,
UINT ContextFlags,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
ID3D11Device1 * This,
/* [annotation] */
_In_ HANDLE hResource,
/* [annotation] */
_In_ REFIID ReturnedInterface,
/* [annotation] */
_COM_Outptr_opt_ void **ppResource);
HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
ID3D11Device1 * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ UINT *pFormatSupport);
HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
ID3D11Device1 * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_In_ UINT SampleCount,
/* [annotation] */
_Out_ UINT *pNumQualityLevels);
void ( STDMETHODCALLTYPE *CheckCounterInfo )(
ID3D11Device1 * This,
/* [annotation] */
_Out_ D3D11_COUNTER_INFO *pCounterInfo);
HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_COUNTER_DESC *pDesc,
/* [annotation] */
_Out_ D3D11_COUNTER_TYPE *pType,
/* [annotation] */
_Out_ UINT *pActiveCounters,
/* [annotation] */
_Out_writes_opt_(*pNameLength) LPSTR szName,
/* [annotation] */
_Inout_opt_ UINT *pNameLength,
/* [annotation] */
_Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
/* [annotation] */
_Inout_opt_ UINT *pUnitsLength,
/* [annotation] */
_Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
/* [annotation] */
_Inout_opt_ UINT *pDescriptionLength);
HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
ID3D11Device1 * This,
D3D11_FEATURE Feature,
/* [annotation] */
_Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
UINT FeatureSupportDataSize);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Device1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Device1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Device1 * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
ID3D11Device1 * This);
UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
ID3D11Device1 * This);
HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
ID3D11Device1 * This);
void ( STDMETHODCALLTYPE *GetImmediateContext )(
ID3D11Device1 * This,
/* [annotation] */
_Outptr_ ID3D11DeviceContext **ppImmediateContext);
HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
ID3D11Device1 * This,
UINT RaiseFlags);
UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
ID3D11Device1 * This);
void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
ID3D11Device1 * This,
/* [annotation] */
_Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
ID3D11Device1 * This,
UINT ContextFlags,
/* [annotation] */
_COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
ID3D11Device1 * This,
/* [annotation] */
_In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
/* [annotation] */
_COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
ID3D11Device1 * This,
UINT Flags,
/* [annotation] */
_In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
UINT FeatureLevels,
UINT SDKVersion,
REFIID EmulatedInterface,
/* [annotation] */
_Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
/* [annotation] */
_Out_opt_ ID3DDeviceContextState **ppContextState);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
ID3D11Device1 * This,
/* [annotation] */
_In_ HANDLE hResource,
/* [annotation] */
_In_ REFIID returnedInterface,
/* [annotation] */
_COM_Outptr_ void **ppResource);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
ID3D11Device1 * This,
/* [annotation] */
_In_ LPCWSTR lpName,
/* [annotation] */
_In_ DWORD dwDesiredAccess,
/* [annotation] */
_In_ REFIID returnedInterface,
/* [annotation] */
_COM_Outptr_ void **ppResource);
END_INTERFACE
} ID3D11Device1Vtbl;
interface ID3D11Device1
{
CONST_VTBL struct ID3D11Device1Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11Device1_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11Device1_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11Device1_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
#define ID3D11Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
#define ID3D11Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
#define ID3D11Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
#define ID3D11Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
#define ID3D11Device1_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
#define ID3D11Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
#define ID3D11Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
#define ID3D11Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
#define ID3D11Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
#define ID3D11Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
#define ID3D11Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
#define ID3D11Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
#define ID3D11Device1_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
#define ID3D11Device1_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
#define ID3D11Device1_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
#define ID3D11Device1_CreateClassLinkage(This,ppLinkage) \
( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
#define ID3D11Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
#define ID3D11Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
#define ID3D11Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
#define ID3D11Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
#define ID3D11Device1_CreateQuery(This,pQueryDesc,ppQuery) \
( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
#define ID3D11Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) \
( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
#define ID3D11Device1_CreateCounter(This,pCounterDesc,ppCounter) \
( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
#define ID3D11Device1_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
#define ID3D11Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
#define ID3D11Device1_CheckFormatSupport(This,Format,pFormatSupport) \
( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
#define ID3D11Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
#define ID3D11Device1_CheckCounterInfo(This,pCounterInfo) \
( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
#define ID3D11Device1_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
#define ID3D11Device1_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
#define ID3D11Device1_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11Device1_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11Device1_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11Device1_GetFeatureLevel(This) \
( (This)->lpVtbl -> GetFeatureLevel(This) )
#define ID3D11Device1_GetCreationFlags(This) \
( (This)->lpVtbl -> GetCreationFlags(This) )
#define ID3D11Device1_GetDeviceRemovedReason(This) \
( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
#define ID3D11Device1_GetImmediateContext(This,ppImmediateContext) \
( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
#define ID3D11Device1_SetExceptionMode(This,RaiseFlags) \
( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
#define ID3D11Device1_GetExceptionMode(This) \
( (This)->lpVtbl -> GetExceptionMode(This) )
#define ID3D11Device1_GetImmediateContext1(This,ppImmediateContext) \
( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
#define ID3D11Device1_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
#define ID3D11Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
#define ID3D11Device1_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
#define ID3D11Device1_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
#define ID3D11Device1_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
#define ID3D11Device1_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11Device1_INTERFACE_DEFINED__ */
#ifndef __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
#define __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
/* interface ID3DUserDefinedAnnotation */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3DUserDefinedAnnotation;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab")
ID3DUserDefinedAnnotation : public IUnknown
{
public:
virtual INT STDMETHODCALLTYPE BeginEvent(
/* [annotation] */
_In_ LPCWSTR Name) = 0;
virtual INT STDMETHODCALLTYPE EndEvent( void) = 0;
virtual void STDMETHODCALLTYPE SetMarker(
/* [annotation] */
_In_ LPCWSTR Name) = 0;
virtual BOOL STDMETHODCALLTYPE GetStatus( void) = 0;
};
#else /* C style interface */
typedef struct ID3DUserDefinedAnnotationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3DUserDefinedAnnotation * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3DUserDefinedAnnotation * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3DUserDefinedAnnotation * This);
INT ( STDMETHODCALLTYPE *BeginEvent )(
ID3DUserDefinedAnnotation * This,
/* [annotation] */
_In_ LPCWSTR Name);
INT ( STDMETHODCALLTYPE *EndEvent )(
ID3DUserDefinedAnnotation * This);
void ( STDMETHODCALLTYPE *SetMarker )(
ID3DUserDefinedAnnotation * This,
/* [annotation] */
_In_ LPCWSTR Name);
BOOL ( STDMETHODCALLTYPE *GetStatus )(
ID3DUserDefinedAnnotation * This);
END_INTERFACE
} ID3DUserDefinedAnnotationVtbl;
interface ID3DUserDefinedAnnotation
{
CONST_VTBL struct ID3DUserDefinedAnnotationVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3DUserDefinedAnnotation_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3DUserDefinedAnnotation_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3DUserDefinedAnnotation_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3DUserDefinedAnnotation_BeginEvent(This,Name) \
( (This)->lpVtbl -> BeginEvent(This,Name) )
#define ID3DUserDefinedAnnotation_EndEvent(This) \
( (This)->lpVtbl -> EndEvent(This) )
#define ID3DUserDefinedAnnotation_SetMarker(This,Name) \
( (This)->lpVtbl -> SetMarker(This,Name) )
#define ID3DUserDefinedAnnotation_GetStatus(This) \
( (This)->lpVtbl -> GetStatus(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_1_0000_0009 */
/* [local] */
DEFINE_GUID(IID_ID3D11BlendState1,0xcc86fabe,0xda55,0x401d,0x85,0xe7,0xe3,0xc9,0xde,0x28,0x77,0xe9);
DEFINE_GUID(IID_ID3D11RasterizerState1,0x1217d7a6,0x5039,0x418c,0xb0,0x42,0x9c,0xbe,0x25,0x6a,0xfd,0x6e);
DEFINE_GUID(IID_ID3DDeviceContextState,0x5c1e0d8a,0x7c23,0x48f9,0x8c,0x59,0xa9,0x29,0x58,0xce,0xff,0x11);
DEFINE_GUID(IID_ID3D11DeviceContext1,0xbb2c6faa,0xb5fb,0x4082,0x8e,0x6b,0x38,0x8b,0x8c,0xfa,0x90,0xe1);
DEFINE_GUID(IID_ID3D11VideoContext1,0xA7F026DA,0xA5F8,0x4487,0xA5,0x64,0x15,0xE3,0x43,0x57,0x65,0x1E);
DEFINE_GUID(IID_ID3D11VideoDevice1,0x29DA1D51,0x1321,0x4454,0x80,0x4B,0xF5,0xFC,0x9F,0x86,0x1F,0x0F);
DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator1,0x465217F2,0x5568,0x43CF,0xB5,0xB9,0xF6,0x1D,0x54,0x53,0x1C,0xA1);
DEFINE_GUID(IID_ID3D11Device1,0xa04bfb29,0x08ef,0x43d6,0xa4,0x9c,0xa9,0xbd,0xbd,0xcb,0xe6,0x86);
DEFINE_GUID(IID_ID3DUserDefinedAnnotation,0xb2daad8b,0x03d4,0x4dbf,0x95,0xeb,0x32,0xab,0x4b,0x63,0xd0,0xab);
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0009_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_1_0000_0009_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
|