/usr/include/wine/windows/control.h is in libwine-dev 3.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 | /*** Autogenerated by WIDL 3.0 from control.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __control_h__
#define __control_h__
/* Forward declarations */
#ifndef __IMediaControl_FWD_DEFINED__
#define __IMediaControl_FWD_DEFINED__
typedef interface IMediaControl IMediaControl;
#ifdef __cplusplus
interface IMediaControl;
#endif /* __cplusplus */
#endif
#ifndef __IBasicAudio_FWD_DEFINED__
#define __IBasicAudio_FWD_DEFINED__
typedef interface IBasicAudio IBasicAudio;
#ifdef __cplusplus
interface IBasicAudio;
#endif /* __cplusplus */
#endif
#ifndef __IVideoWindow_FWD_DEFINED__
#define __IVideoWindow_FWD_DEFINED__
typedef interface IVideoWindow IVideoWindow;
#ifdef __cplusplus
interface IVideoWindow;
#endif /* __cplusplus */
#endif
#ifndef __IBasicVideo_FWD_DEFINED__
#define __IBasicVideo_FWD_DEFINED__
typedef interface IBasicVideo IBasicVideo;
#ifdef __cplusplus
interface IBasicVideo;
#endif /* __cplusplus */
#endif
#ifndef __IBasicVideo2_FWD_DEFINED__
#define __IBasicVideo2_FWD_DEFINED__
typedef interface IBasicVideo2 IBasicVideo2;
#ifdef __cplusplus
interface IBasicVideo2;
#endif /* __cplusplus */
#endif
#ifndef __IMediaEvent_FWD_DEFINED__
#define __IMediaEvent_FWD_DEFINED__
typedef interface IMediaEvent IMediaEvent;
#ifdef __cplusplus
interface IMediaEvent;
#endif /* __cplusplus */
#endif
#ifndef __IMediaEventEx_FWD_DEFINED__
#define __IMediaEventEx_FWD_DEFINED__
typedef interface IMediaEventEx IMediaEventEx;
#ifdef __cplusplus
interface IMediaEventEx;
#endif /* __cplusplus */
#endif
#ifndef __IMediaPosition_FWD_DEFINED__
#define __IMediaPosition_FWD_DEFINED__
typedef interface IMediaPosition IMediaPosition;
#ifdef __cplusplus
interface IMediaPosition;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <oaidl.h>
#ifdef __cplusplus
extern "C" {
#endif
DEFINE_GUID(LIBID_QuartzTypeLib, 0x56a868b0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
typedef LONG OAFilterState;
typedef LONG_PTR OAHWND;
typedef LONG_PTR OAEVENT;
#ifndef REFTIME_DEFINED
#define REFTIME_DEFINED
typedef DOUBLE REFTIME;
#endif
/*****************************************************************************
* IMediaControl interface
*/
#ifndef __IMediaControl_INTERFACE_DEFINED__
#define __IMediaControl_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMediaControl, 0x56a868b1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b1-0ad4-11ce-b03a-0020af0ba770")
IMediaControl : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE Run(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Pause(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetState(
LONG msTimeout,
OAFilterState *pfs) = 0;
virtual HRESULT STDMETHODCALLTYPE RenderFile(
BSTR strFilename) = 0;
virtual HRESULT STDMETHODCALLTYPE AddSourceFilter(
BSTR strFilename,
IDispatch **ppUnk) = 0;
virtual HRESULT STDMETHODCALLTYPE get_FilterCollection(
IDispatch **ppUnk) = 0;
virtual HRESULT STDMETHODCALLTYPE get_RegFilterCollection(
IDispatch **ppUnk) = 0;
virtual HRESULT STDMETHODCALLTYPE StopWhenReady(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMediaControl, 0x56a868b1, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IMediaControlVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMediaControl *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMediaControl *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMediaControl *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IMediaControl *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IMediaControl *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IMediaControl *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IMediaControl *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IMediaControl methods ***/
HRESULT (STDMETHODCALLTYPE *Run)(
IMediaControl *This);
HRESULT (STDMETHODCALLTYPE *Pause)(
IMediaControl *This);
HRESULT (STDMETHODCALLTYPE *Stop)(
IMediaControl *This);
HRESULT (STDMETHODCALLTYPE *GetState)(
IMediaControl *This,
LONG msTimeout,
OAFilterState *pfs);
HRESULT (STDMETHODCALLTYPE *RenderFile)(
IMediaControl *This,
BSTR strFilename);
HRESULT (STDMETHODCALLTYPE *AddSourceFilter)(
IMediaControl *This,
BSTR strFilename,
IDispatch **ppUnk);
HRESULT (STDMETHODCALLTYPE *get_FilterCollection)(
IMediaControl *This,
IDispatch **ppUnk);
HRESULT (STDMETHODCALLTYPE *get_RegFilterCollection)(
IMediaControl *This,
IDispatch **ppUnk);
HRESULT (STDMETHODCALLTYPE *StopWhenReady)(
IMediaControl *This);
END_INTERFACE
} IMediaControlVtbl;
interface IMediaControl {
CONST_VTBL IMediaControlVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMediaControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMediaControl_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMediaControl_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IMediaControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IMediaControl methods ***/
#define IMediaControl_Run(This) (This)->lpVtbl->Run(This)
#define IMediaControl_Pause(This) (This)->lpVtbl->Pause(This)
#define IMediaControl_Stop(This) (This)->lpVtbl->Stop(This)
#define IMediaControl_GetState(This,msTimeout,pfs) (This)->lpVtbl->GetState(This,msTimeout,pfs)
#define IMediaControl_RenderFile(This,strFilename) (This)->lpVtbl->RenderFile(This,strFilename)
#define IMediaControl_AddSourceFilter(This,strFilename,ppUnk) (This)->lpVtbl->AddSourceFilter(This,strFilename,ppUnk)
#define IMediaControl_get_FilterCollection(This,ppUnk) (This)->lpVtbl->get_FilterCollection(This,ppUnk)
#define IMediaControl_get_RegFilterCollection(This,ppUnk) (This)->lpVtbl->get_RegFilterCollection(This,ppUnk)
#define IMediaControl_StopWhenReady(This) (This)->lpVtbl->StopWhenReady(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMediaControl_QueryInterface(IMediaControl* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMediaControl_AddRef(IMediaControl* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMediaControl_Release(IMediaControl* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IMediaControl_GetTypeInfoCount(IMediaControl* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IMediaControl_GetTypeInfo(IMediaControl* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IMediaControl_GetIDsOfNames(IMediaControl* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IMediaControl_Invoke(IMediaControl* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IMediaControl methods ***/
static FORCEINLINE HRESULT IMediaControl_Run(IMediaControl* This) {
return This->lpVtbl->Run(This);
}
static FORCEINLINE HRESULT IMediaControl_Pause(IMediaControl* This) {
return This->lpVtbl->Pause(This);
}
static FORCEINLINE HRESULT IMediaControl_Stop(IMediaControl* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IMediaControl_GetState(IMediaControl* This,LONG msTimeout,OAFilterState *pfs) {
return This->lpVtbl->GetState(This,msTimeout,pfs);
}
static FORCEINLINE HRESULT IMediaControl_RenderFile(IMediaControl* This,BSTR strFilename) {
return This->lpVtbl->RenderFile(This,strFilename);
}
static FORCEINLINE HRESULT IMediaControl_AddSourceFilter(IMediaControl* This,BSTR strFilename,IDispatch **ppUnk) {
return This->lpVtbl->AddSourceFilter(This,strFilename,ppUnk);
}
static FORCEINLINE HRESULT IMediaControl_get_FilterCollection(IMediaControl* This,IDispatch **ppUnk) {
return This->lpVtbl->get_FilterCollection(This,ppUnk);
}
static FORCEINLINE HRESULT IMediaControl_get_RegFilterCollection(IMediaControl* This,IDispatch **ppUnk) {
return This->lpVtbl->get_RegFilterCollection(This,ppUnk);
}
static FORCEINLINE HRESULT IMediaControl_StopWhenReady(IMediaControl* This) {
return This->lpVtbl->StopWhenReady(This);
}
#endif
#endif
#endif
#endif /* __IMediaControl_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBasicAudio interface
*/
#ifndef __IBasicAudio_INTERFACE_DEFINED__
#define __IBasicAudio_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBasicAudio, 0x56a868b3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b3-0ad4-11ce-b03a-0020af0ba770")
IBasicAudio : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE put_Volume(
LONG lVolume) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Volume(
LONG *plVolume) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Balance(
LONG lBalance) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Balance(
LONG *plBalance) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBasicAudio, 0x56a868b3, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IBasicAudioVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBasicAudio *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBasicAudio *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBasicAudio *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IBasicAudio *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IBasicAudio *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IBasicAudio *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IBasicAudio *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IBasicAudio methods ***/
HRESULT (STDMETHODCALLTYPE *put_Volume)(
IBasicAudio *This,
LONG lVolume);
HRESULT (STDMETHODCALLTYPE *get_Volume)(
IBasicAudio *This,
LONG *plVolume);
HRESULT (STDMETHODCALLTYPE *put_Balance)(
IBasicAudio *This,
LONG lBalance);
HRESULT (STDMETHODCALLTYPE *get_Balance)(
IBasicAudio *This,
LONG *plBalance);
END_INTERFACE
} IBasicAudioVtbl;
interface IBasicAudio {
CONST_VTBL IBasicAudioVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBasicAudio_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBasicAudio_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBasicAudio_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IBasicAudio_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IBasicAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IBasicAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IBasicAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IBasicAudio methods ***/
#define IBasicAudio_put_Volume(This,lVolume) (This)->lpVtbl->put_Volume(This,lVolume)
#define IBasicAudio_get_Volume(This,plVolume) (This)->lpVtbl->get_Volume(This,plVolume)
#define IBasicAudio_put_Balance(This,lBalance) (This)->lpVtbl->put_Balance(This,lBalance)
#define IBasicAudio_get_Balance(This,plBalance) (This)->lpVtbl->get_Balance(This,plBalance)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBasicAudio_QueryInterface(IBasicAudio* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBasicAudio_AddRef(IBasicAudio* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBasicAudio_Release(IBasicAudio* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IBasicAudio_GetTypeInfoCount(IBasicAudio* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IBasicAudio_GetTypeInfo(IBasicAudio* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IBasicAudio_GetIDsOfNames(IBasicAudio* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IBasicAudio_Invoke(IBasicAudio* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IBasicAudio methods ***/
static FORCEINLINE HRESULT IBasicAudio_put_Volume(IBasicAudio* This,LONG lVolume) {
return This->lpVtbl->put_Volume(This,lVolume);
}
static FORCEINLINE HRESULT IBasicAudio_get_Volume(IBasicAudio* This,LONG *plVolume) {
return This->lpVtbl->get_Volume(This,plVolume);
}
static FORCEINLINE HRESULT IBasicAudio_put_Balance(IBasicAudio* This,LONG lBalance) {
return This->lpVtbl->put_Balance(This,lBalance);
}
static FORCEINLINE HRESULT IBasicAudio_get_Balance(IBasicAudio* This,LONG *plBalance) {
return This->lpVtbl->get_Balance(This,plBalance);
}
#endif
#endif
#endif
#endif /* __IBasicAudio_INTERFACE_DEFINED__ */
/*****************************************************************************
* IVideoWindow interface
*/
#ifndef __IVideoWindow_INTERFACE_DEFINED__
#define __IVideoWindow_INTERFACE_DEFINED__
DEFINE_GUID(IID_IVideoWindow, 0x56a868b4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b4-0ad4-11ce-b03a-0020af0ba770")
IVideoWindow : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE put_Caption(
BSTR strCaption) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Caption(
BSTR *strCaption) = 0;
virtual HRESULT STDMETHODCALLTYPE put_WindowStyle(
LONG WindowStyle) = 0;
virtual HRESULT STDMETHODCALLTYPE get_WindowStyle(
LONG *WindowStyle) = 0;
virtual HRESULT STDMETHODCALLTYPE put_WindowStyleEx(
LONG WindowStyleEx) = 0;
virtual HRESULT STDMETHODCALLTYPE get_WindowStyleEx(
LONG *WindowStyleEx) = 0;
virtual HRESULT STDMETHODCALLTYPE put_AutoShow(
LONG AutoShow) = 0;
virtual HRESULT STDMETHODCALLTYPE get_AutoShow(
LONG *AutoShow) = 0;
virtual HRESULT STDMETHODCALLTYPE put_WindowState(
LONG WindowState) = 0;
virtual HRESULT STDMETHODCALLTYPE get_WindowState(
LONG *WindowState) = 0;
virtual HRESULT STDMETHODCALLTYPE put_BackgroundPalette(
LONG BackgroundPalette) = 0;
virtual HRESULT STDMETHODCALLTYPE get_BackgroundPalette(
LONG *pBackgroundPalette) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Visible(
LONG Visible) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Visible(
LONG *pVisible) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Left(
LONG Left) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Left(
LONG *pLeft) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Width(
LONG Width) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Width(
LONG *pWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Top(
LONG Top) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Top(
LONG *pTop) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Height(
LONG Height) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Height(
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Owner(
OAHWND Owner) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Owner(
OAHWND *Owner) = 0;
virtual HRESULT STDMETHODCALLTYPE put_MessageDrain(
OAHWND Drain) = 0;
virtual HRESULT STDMETHODCALLTYPE get_MessageDrain(
OAHWND *Drain) = 0;
virtual HRESULT STDMETHODCALLTYPE get_BorderColor(
LONG *Color) = 0;
virtual HRESULT STDMETHODCALLTYPE put_BorderColor(
LONG Color) = 0;
virtual HRESULT STDMETHODCALLTYPE get_FullScreenMode(
LONG *FullScreenMode) = 0;
virtual HRESULT STDMETHODCALLTYPE put_FullScreenMode(
LONG FullScreenMode) = 0;
virtual HRESULT STDMETHODCALLTYPE SetWindowForeground(
LONG Focus) = 0;
virtual HRESULT STDMETHODCALLTYPE NotifyOwnerMessage(
OAHWND hwnd,
LONG uMsg,
LONG_PTR wParam,
LONG_PTR lParam) = 0;
virtual HRESULT STDMETHODCALLTYPE SetWindowPosition(
LONG Left,
LONG Top,
LONG Width,
LONG Height) = 0;
virtual HRESULT STDMETHODCALLTYPE GetWindowPosition(
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMinIdealImageSize(
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMaxIdealImageSize(
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRestorePosition(
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE HideCursor(
LONG HideCursor) = 0;
virtual HRESULT STDMETHODCALLTYPE IsCursorHidden(
LONG *CursorHidden) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IVideoWindow, 0x56a868b4, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IVideoWindowVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IVideoWindow *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IVideoWindow *This);
ULONG (STDMETHODCALLTYPE *Release)(
IVideoWindow *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IVideoWindow *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IVideoWindow *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IVideoWindow *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IVideoWindow *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IVideoWindow methods ***/
HRESULT (STDMETHODCALLTYPE *put_Caption)(
IVideoWindow *This,
BSTR strCaption);
HRESULT (STDMETHODCALLTYPE *get_Caption)(
IVideoWindow *This,
BSTR *strCaption);
HRESULT (STDMETHODCALLTYPE *put_WindowStyle)(
IVideoWindow *This,
LONG WindowStyle);
HRESULT (STDMETHODCALLTYPE *get_WindowStyle)(
IVideoWindow *This,
LONG *WindowStyle);
HRESULT (STDMETHODCALLTYPE *put_WindowStyleEx)(
IVideoWindow *This,
LONG WindowStyleEx);
HRESULT (STDMETHODCALLTYPE *get_WindowStyleEx)(
IVideoWindow *This,
LONG *WindowStyleEx);
HRESULT (STDMETHODCALLTYPE *put_AutoShow)(
IVideoWindow *This,
LONG AutoShow);
HRESULT (STDMETHODCALLTYPE *get_AutoShow)(
IVideoWindow *This,
LONG *AutoShow);
HRESULT (STDMETHODCALLTYPE *put_WindowState)(
IVideoWindow *This,
LONG WindowState);
HRESULT (STDMETHODCALLTYPE *get_WindowState)(
IVideoWindow *This,
LONG *WindowState);
HRESULT (STDMETHODCALLTYPE *put_BackgroundPalette)(
IVideoWindow *This,
LONG BackgroundPalette);
HRESULT (STDMETHODCALLTYPE *get_BackgroundPalette)(
IVideoWindow *This,
LONG *pBackgroundPalette);
HRESULT (STDMETHODCALLTYPE *put_Visible)(
IVideoWindow *This,
LONG Visible);
HRESULT (STDMETHODCALLTYPE *get_Visible)(
IVideoWindow *This,
LONG *pVisible);
HRESULT (STDMETHODCALLTYPE *put_Left)(
IVideoWindow *This,
LONG Left);
HRESULT (STDMETHODCALLTYPE *get_Left)(
IVideoWindow *This,
LONG *pLeft);
HRESULT (STDMETHODCALLTYPE *put_Width)(
IVideoWindow *This,
LONG Width);
HRESULT (STDMETHODCALLTYPE *get_Width)(
IVideoWindow *This,
LONG *pWidth);
HRESULT (STDMETHODCALLTYPE *put_Top)(
IVideoWindow *This,
LONG Top);
HRESULT (STDMETHODCALLTYPE *get_Top)(
IVideoWindow *This,
LONG *pTop);
HRESULT (STDMETHODCALLTYPE *put_Height)(
IVideoWindow *This,
LONG Height);
HRESULT (STDMETHODCALLTYPE *get_Height)(
IVideoWindow *This,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *put_Owner)(
IVideoWindow *This,
OAHWND Owner);
HRESULT (STDMETHODCALLTYPE *get_Owner)(
IVideoWindow *This,
OAHWND *Owner);
HRESULT (STDMETHODCALLTYPE *put_MessageDrain)(
IVideoWindow *This,
OAHWND Drain);
HRESULT (STDMETHODCALLTYPE *get_MessageDrain)(
IVideoWindow *This,
OAHWND *Drain);
HRESULT (STDMETHODCALLTYPE *get_BorderColor)(
IVideoWindow *This,
LONG *Color);
HRESULT (STDMETHODCALLTYPE *put_BorderColor)(
IVideoWindow *This,
LONG Color);
HRESULT (STDMETHODCALLTYPE *get_FullScreenMode)(
IVideoWindow *This,
LONG *FullScreenMode);
HRESULT (STDMETHODCALLTYPE *put_FullScreenMode)(
IVideoWindow *This,
LONG FullScreenMode);
HRESULT (STDMETHODCALLTYPE *SetWindowForeground)(
IVideoWindow *This,
LONG Focus);
HRESULT (STDMETHODCALLTYPE *NotifyOwnerMessage)(
IVideoWindow *This,
OAHWND hwnd,
LONG uMsg,
LONG_PTR wParam,
LONG_PTR lParam);
HRESULT (STDMETHODCALLTYPE *SetWindowPosition)(
IVideoWindow *This,
LONG Left,
LONG Top,
LONG Width,
LONG Height);
HRESULT (STDMETHODCALLTYPE *GetWindowPosition)(
IVideoWindow *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *GetMinIdealImageSize)(
IVideoWindow *This,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *GetMaxIdealImageSize)(
IVideoWindow *This,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *GetRestorePosition)(
IVideoWindow *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *HideCursor)(
IVideoWindow *This,
LONG HideCursor);
HRESULT (STDMETHODCALLTYPE *IsCursorHidden)(
IVideoWindow *This,
LONG *CursorHidden);
END_INTERFACE
} IVideoWindowVtbl;
interface IVideoWindow {
CONST_VTBL IVideoWindowVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IVideoWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IVideoWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IVideoWindow_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IVideoWindow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IVideoWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IVideoWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IVideoWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IVideoWindow methods ***/
#define IVideoWindow_put_Caption(This,strCaption) (This)->lpVtbl->put_Caption(This,strCaption)
#define IVideoWindow_get_Caption(This,strCaption) (This)->lpVtbl->get_Caption(This,strCaption)
#define IVideoWindow_put_WindowStyle(This,WindowStyle) (This)->lpVtbl->put_WindowStyle(This,WindowStyle)
#define IVideoWindow_get_WindowStyle(This,WindowStyle) (This)->lpVtbl->get_WindowStyle(This,WindowStyle)
#define IVideoWindow_put_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->put_WindowStyleEx(This,WindowStyleEx)
#define IVideoWindow_get_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->get_WindowStyleEx(This,WindowStyleEx)
#define IVideoWindow_put_AutoShow(This,AutoShow) (This)->lpVtbl->put_AutoShow(This,AutoShow)
#define IVideoWindow_get_AutoShow(This,AutoShow) (This)->lpVtbl->get_AutoShow(This,AutoShow)
#define IVideoWindow_put_WindowState(This,WindowState) (This)->lpVtbl->put_WindowState(This,WindowState)
#define IVideoWindow_get_WindowState(This,WindowState) (This)->lpVtbl->get_WindowState(This,WindowState)
#define IVideoWindow_put_BackgroundPalette(This,BackgroundPalette) (This)->lpVtbl->put_BackgroundPalette(This,BackgroundPalette)
#define IVideoWindow_get_BackgroundPalette(This,pBackgroundPalette) (This)->lpVtbl->get_BackgroundPalette(This,pBackgroundPalette)
#define IVideoWindow_put_Visible(This,Visible) (This)->lpVtbl->put_Visible(This,Visible)
#define IVideoWindow_get_Visible(This,pVisible) (This)->lpVtbl->get_Visible(This,pVisible)
#define IVideoWindow_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
#define IVideoWindow_get_Left(This,pLeft) (This)->lpVtbl->get_Left(This,pLeft)
#define IVideoWindow_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
#define IVideoWindow_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth)
#define IVideoWindow_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
#define IVideoWindow_get_Top(This,pTop) (This)->lpVtbl->get_Top(This,pTop)
#define IVideoWindow_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
#define IVideoWindow_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight)
#define IVideoWindow_put_Owner(This,Owner) (This)->lpVtbl->put_Owner(This,Owner)
#define IVideoWindow_get_Owner(This,Owner) (This)->lpVtbl->get_Owner(This,Owner)
#define IVideoWindow_put_MessageDrain(This,Drain) (This)->lpVtbl->put_MessageDrain(This,Drain)
#define IVideoWindow_get_MessageDrain(This,Drain) (This)->lpVtbl->get_MessageDrain(This,Drain)
#define IVideoWindow_get_BorderColor(This,Color) (This)->lpVtbl->get_BorderColor(This,Color)
#define IVideoWindow_put_BorderColor(This,Color) (This)->lpVtbl->put_BorderColor(This,Color)
#define IVideoWindow_get_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->get_FullScreenMode(This,FullScreenMode)
#define IVideoWindow_put_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->put_FullScreenMode(This,FullScreenMode)
#define IVideoWindow_SetWindowForeground(This,Focus) (This)->lpVtbl->SetWindowForeground(This,Focus)
#define IVideoWindow_NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam) (This)->lpVtbl->NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam)
#define IVideoWindow_SetWindowPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetWindowPosition(This,Left,Top,Width,Height)
#define IVideoWindow_GetWindowPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetWindowPosition(This,pLeft,pTop,pWidth,pHeight)
#define IVideoWindow_GetMinIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMinIdealImageSize(This,pWidth,pHeight)
#define IVideoWindow_GetMaxIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMaxIdealImageSize(This,pWidth,pHeight)
#define IVideoWindow_GetRestorePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetRestorePosition(This,pLeft,pTop,pWidth,pHeight)
#define IVideoWindow_HideCursor(This,HideCursor) (This)->lpVtbl->HideCursor(This,HideCursor)
#define IVideoWindow_IsCursorHidden(This,CursorHidden) (This)->lpVtbl->IsCursorHidden(This,CursorHidden)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IVideoWindow_QueryInterface(IVideoWindow* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IVideoWindow_AddRef(IVideoWindow* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IVideoWindow_Release(IVideoWindow* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IVideoWindow_GetTypeInfoCount(IVideoWindow* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IVideoWindow_GetTypeInfo(IVideoWindow* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IVideoWindow_GetIDsOfNames(IVideoWindow* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IVideoWindow_Invoke(IVideoWindow* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IVideoWindow methods ***/
static FORCEINLINE HRESULT IVideoWindow_put_Caption(IVideoWindow* This,BSTR strCaption) {
return This->lpVtbl->put_Caption(This,strCaption);
}
static FORCEINLINE HRESULT IVideoWindow_get_Caption(IVideoWindow* This,BSTR *strCaption) {
return This->lpVtbl->get_Caption(This,strCaption);
}
static FORCEINLINE HRESULT IVideoWindow_put_WindowStyle(IVideoWindow* This,LONG WindowStyle) {
return This->lpVtbl->put_WindowStyle(This,WindowStyle);
}
static FORCEINLINE HRESULT IVideoWindow_get_WindowStyle(IVideoWindow* This,LONG *WindowStyle) {
return This->lpVtbl->get_WindowStyle(This,WindowStyle);
}
static FORCEINLINE HRESULT IVideoWindow_put_WindowStyleEx(IVideoWindow* This,LONG WindowStyleEx) {
return This->lpVtbl->put_WindowStyleEx(This,WindowStyleEx);
}
static FORCEINLINE HRESULT IVideoWindow_get_WindowStyleEx(IVideoWindow* This,LONG *WindowStyleEx) {
return This->lpVtbl->get_WindowStyleEx(This,WindowStyleEx);
}
static FORCEINLINE HRESULT IVideoWindow_put_AutoShow(IVideoWindow* This,LONG AutoShow) {
return This->lpVtbl->put_AutoShow(This,AutoShow);
}
static FORCEINLINE HRESULT IVideoWindow_get_AutoShow(IVideoWindow* This,LONG *AutoShow) {
return This->lpVtbl->get_AutoShow(This,AutoShow);
}
static FORCEINLINE HRESULT IVideoWindow_put_WindowState(IVideoWindow* This,LONG WindowState) {
return This->lpVtbl->put_WindowState(This,WindowState);
}
static FORCEINLINE HRESULT IVideoWindow_get_WindowState(IVideoWindow* This,LONG *WindowState) {
return This->lpVtbl->get_WindowState(This,WindowState);
}
static FORCEINLINE HRESULT IVideoWindow_put_BackgroundPalette(IVideoWindow* This,LONG BackgroundPalette) {
return This->lpVtbl->put_BackgroundPalette(This,BackgroundPalette);
}
static FORCEINLINE HRESULT IVideoWindow_get_BackgroundPalette(IVideoWindow* This,LONG *pBackgroundPalette) {
return This->lpVtbl->get_BackgroundPalette(This,pBackgroundPalette);
}
static FORCEINLINE HRESULT IVideoWindow_put_Visible(IVideoWindow* This,LONG Visible) {
return This->lpVtbl->put_Visible(This,Visible);
}
static FORCEINLINE HRESULT IVideoWindow_get_Visible(IVideoWindow* This,LONG *pVisible) {
return This->lpVtbl->get_Visible(This,pVisible);
}
static FORCEINLINE HRESULT IVideoWindow_put_Left(IVideoWindow* This,LONG Left) {
return This->lpVtbl->put_Left(This,Left);
}
static FORCEINLINE HRESULT IVideoWindow_get_Left(IVideoWindow* This,LONG *pLeft) {
return This->lpVtbl->get_Left(This,pLeft);
}
static FORCEINLINE HRESULT IVideoWindow_put_Width(IVideoWindow* This,LONG Width) {
return This->lpVtbl->put_Width(This,Width);
}
static FORCEINLINE HRESULT IVideoWindow_get_Width(IVideoWindow* This,LONG *pWidth) {
return This->lpVtbl->get_Width(This,pWidth);
}
static FORCEINLINE HRESULT IVideoWindow_put_Top(IVideoWindow* This,LONG Top) {
return This->lpVtbl->put_Top(This,Top);
}
static FORCEINLINE HRESULT IVideoWindow_get_Top(IVideoWindow* This,LONG *pTop) {
return This->lpVtbl->get_Top(This,pTop);
}
static FORCEINLINE HRESULT IVideoWindow_put_Height(IVideoWindow* This,LONG Height) {
return This->lpVtbl->put_Height(This,Height);
}
static FORCEINLINE HRESULT IVideoWindow_get_Height(IVideoWindow* This,LONG *pHeight) {
return This->lpVtbl->get_Height(This,pHeight);
}
static FORCEINLINE HRESULT IVideoWindow_put_Owner(IVideoWindow* This,OAHWND Owner) {
return This->lpVtbl->put_Owner(This,Owner);
}
static FORCEINLINE HRESULT IVideoWindow_get_Owner(IVideoWindow* This,OAHWND *Owner) {
return This->lpVtbl->get_Owner(This,Owner);
}
static FORCEINLINE HRESULT IVideoWindow_put_MessageDrain(IVideoWindow* This,OAHWND Drain) {
return This->lpVtbl->put_MessageDrain(This,Drain);
}
static FORCEINLINE HRESULT IVideoWindow_get_MessageDrain(IVideoWindow* This,OAHWND *Drain) {
return This->lpVtbl->get_MessageDrain(This,Drain);
}
static FORCEINLINE HRESULT IVideoWindow_get_BorderColor(IVideoWindow* This,LONG *Color) {
return This->lpVtbl->get_BorderColor(This,Color);
}
static FORCEINLINE HRESULT IVideoWindow_put_BorderColor(IVideoWindow* This,LONG Color) {
return This->lpVtbl->put_BorderColor(This,Color);
}
static FORCEINLINE HRESULT IVideoWindow_get_FullScreenMode(IVideoWindow* This,LONG *FullScreenMode) {
return This->lpVtbl->get_FullScreenMode(This,FullScreenMode);
}
static FORCEINLINE HRESULT IVideoWindow_put_FullScreenMode(IVideoWindow* This,LONG FullScreenMode) {
return This->lpVtbl->put_FullScreenMode(This,FullScreenMode);
}
static FORCEINLINE HRESULT IVideoWindow_SetWindowForeground(IVideoWindow* This,LONG Focus) {
return This->lpVtbl->SetWindowForeground(This,Focus);
}
static FORCEINLINE HRESULT IVideoWindow_NotifyOwnerMessage(IVideoWindow* This,OAHWND hwnd,LONG uMsg,LONG_PTR wParam,LONG_PTR lParam) {
return This->lpVtbl->NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam);
}
static FORCEINLINE HRESULT IVideoWindow_SetWindowPosition(IVideoWindow* This,LONG Left,LONG Top,LONG Width,LONG Height) {
return This->lpVtbl->SetWindowPosition(This,Left,Top,Width,Height);
}
static FORCEINLINE HRESULT IVideoWindow_GetWindowPosition(IVideoWindow* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetWindowPosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IVideoWindow_GetMinIdealImageSize(IVideoWindow* This,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetMinIdealImageSize(This,pWidth,pHeight);
}
static FORCEINLINE HRESULT IVideoWindow_GetMaxIdealImageSize(IVideoWindow* This,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetMaxIdealImageSize(This,pWidth,pHeight);
}
static FORCEINLINE HRESULT IVideoWindow_GetRestorePosition(IVideoWindow* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetRestorePosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IVideoWindow_HideCursor(IVideoWindow* This,LONG HideCursor) {
return This->lpVtbl->HideCursor(This,HideCursor);
}
static FORCEINLINE HRESULT IVideoWindow_IsCursorHidden(IVideoWindow* This,LONG *CursorHidden) {
return This->lpVtbl->IsCursorHidden(This,CursorHidden);
}
#endif
#endif
#endif
#endif /* __IVideoWindow_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBasicVideo interface
*/
#ifndef __IBasicVideo_INTERFACE_DEFINED__
#define __IBasicVideo_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBasicVideo, 0x56a868b5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b5-0ad4-11ce-b03a-0020af0ba770")
IBasicVideo : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_AvgTimePerFrame(
REFTIME *pAvgTimePerFrame) = 0;
virtual HRESULT STDMETHODCALLTYPE get_BitRate(
LONG *pBitRate) = 0;
virtual HRESULT STDMETHODCALLTYPE get_BitErrorRate(
LONG *pBitErrorRate) = 0;
virtual HRESULT STDMETHODCALLTYPE get_VideoWidth(
LONG *pVideoWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE get_VideoHeight(
LONG *pVideoHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE put_SourceLeft(
LONG SourceLeft) = 0;
virtual HRESULT STDMETHODCALLTYPE get_SourceLeft(
LONG *pSourceLeft) = 0;
virtual HRESULT STDMETHODCALLTYPE put_SourceWidth(
LONG SourceWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE get_SourceWidth(
LONG *pSourceWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE put_SourceTop(
LONG SourceTop) = 0;
virtual HRESULT STDMETHODCALLTYPE get_SourceTop(
LONG *pSourceTop) = 0;
virtual HRESULT STDMETHODCALLTYPE put_SourceHeight(
LONG SourceHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE get_SourceHeight(
LONG *pSourceHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE put_DestinationLeft(
LONG DestinationLeft) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DestinationLeft(
LONG *pDestinationLeft) = 0;
virtual HRESULT STDMETHODCALLTYPE put_DestinationWidth(
LONG DestinationWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DestinationWidth(
LONG *pDestinationWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE put_DestinationTop(
LONG DestinationTop) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DestinationTop(
LONG *pDestinationTop) = 0;
virtual HRESULT STDMETHODCALLTYPE put_DestinationHeight(
LONG DestinationHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DestinationHeight(
LONG *pDestinationHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSourcePosition(
LONG Left,
LONG Top,
LONG Width,
LONG Height) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSourcePosition(
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefaultSourcePosition(
) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDestinationPosition(
LONG Left,
LONG Top,
LONG Width,
LONG Height) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDestinationPosition(
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefaultDestinationPosition(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoSize(
LONG *pWidth,
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoPaletteEntries(
LONG StartIndex,
LONG Entries,
LONG *pRetrieved,
LONG *pPalette) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCurrentImage(
LONG *pBufferSize,
LONG *pDIBImage) = 0;
virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultSource(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultDestination(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBasicVideo, 0x56a868b5, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IBasicVideoVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBasicVideo *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBasicVideo *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBasicVideo *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IBasicVideo *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IBasicVideo *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IBasicVideo *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IBasicVideo *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IBasicVideo methods ***/
HRESULT (STDMETHODCALLTYPE *get_AvgTimePerFrame)(
IBasicVideo *This,
REFTIME *pAvgTimePerFrame);
HRESULT (STDMETHODCALLTYPE *get_BitRate)(
IBasicVideo *This,
LONG *pBitRate);
HRESULT (STDMETHODCALLTYPE *get_BitErrorRate)(
IBasicVideo *This,
LONG *pBitErrorRate);
HRESULT (STDMETHODCALLTYPE *get_VideoWidth)(
IBasicVideo *This,
LONG *pVideoWidth);
HRESULT (STDMETHODCALLTYPE *get_VideoHeight)(
IBasicVideo *This,
LONG *pVideoHeight);
HRESULT (STDMETHODCALLTYPE *put_SourceLeft)(
IBasicVideo *This,
LONG SourceLeft);
HRESULT (STDMETHODCALLTYPE *get_SourceLeft)(
IBasicVideo *This,
LONG *pSourceLeft);
HRESULT (STDMETHODCALLTYPE *put_SourceWidth)(
IBasicVideo *This,
LONG SourceWidth);
HRESULT (STDMETHODCALLTYPE *get_SourceWidth)(
IBasicVideo *This,
LONG *pSourceWidth);
HRESULT (STDMETHODCALLTYPE *put_SourceTop)(
IBasicVideo *This,
LONG SourceTop);
HRESULT (STDMETHODCALLTYPE *get_SourceTop)(
IBasicVideo *This,
LONG *pSourceTop);
HRESULT (STDMETHODCALLTYPE *put_SourceHeight)(
IBasicVideo *This,
LONG SourceHeight);
HRESULT (STDMETHODCALLTYPE *get_SourceHeight)(
IBasicVideo *This,
LONG *pSourceHeight);
HRESULT (STDMETHODCALLTYPE *put_DestinationLeft)(
IBasicVideo *This,
LONG DestinationLeft);
HRESULT (STDMETHODCALLTYPE *get_DestinationLeft)(
IBasicVideo *This,
LONG *pDestinationLeft);
HRESULT (STDMETHODCALLTYPE *put_DestinationWidth)(
IBasicVideo *This,
LONG DestinationWidth);
HRESULT (STDMETHODCALLTYPE *get_DestinationWidth)(
IBasicVideo *This,
LONG *pDestinationWidth);
HRESULT (STDMETHODCALLTYPE *put_DestinationTop)(
IBasicVideo *This,
LONG DestinationTop);
HRESULT (STDMETHODCALLTYPE *get_DestinationTop)(
IBasicVideo *This,
LONG *pDestinationTop);
HRESULT (STDMETHODCALLTYPE *put_DestinationHeight)(
IBasicVideo *This,
LONG DestinationHeight);
HRESULT (STDMETHODCALLTYPE *get_DestinationHeight)(
IBasicVideo *This,
LONG *pDestinationHeight);
HRESULT (STDMETHODCALLTYPE *SetSourcePosition)(
IBasicVideo *This,
LONG Left,
LONG Top,
LONG Width,
LONG Height);
HRESULT (STDMETHODCALLTYPE *GetSourcePosition)(
IBasicVideo *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *SetDefaultSourcePosition)(
IBasicVideo *This);
HRESULT (STDMETHODCALLTYPE *SetDestinationPosition)(
IBasicVideo *This,
LONG Left,
LONG Top,
LONG Width,
LONG Height);
HRESULT (STDMETHODCALLTYPE *GetDestinationPosition)(
IBasicVideo *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *SetDefaultDestinationPosition)(
IBasicVideo *This);
HRESULT (STDMETHODCALLTYPE *GetVideoSize)(
IBasicVideo *This,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *GetVideoPaletteEntries)(
IBasicVideo *This,
LONG StartIndex,
LONG Entries,
LONG *pRetrieved,
LONG *pPalette);
HRESULT (STDMETHODCALLTYPE *GetCurrentImage)(
IBasicVideo *This,
LONG *pBufferSize,
LONG *pDIBImage);
HRESULT (STDMETHODCALLTYPE *IsUsingDefaultSource)(
IBasicVideo *This);
HRESULT (STDMETHODCALLTYPE *IsUsingDefaultDestination)(
IBasicVideo *This);
END_INTERFACE
} IBasicVideoVtbl;
interface IBasicVideo {
CONST_VTBL IBasicVideoVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBasicVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBasicVideo_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBasicVideo_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IBasicVideo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IBasicVideo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IBasicVideo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IBasicVideo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IBasicVideo methods ***/
#define IBasicVideo_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame)
#define IBasicVideo_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate)
#define IBasicVideo_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate)
#define IBasicVideo_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth)
#define IBasicVideo_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight)
#define IBasicVideo_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft)
#define IBasicVideo_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft)
#define IBasicVideo_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth)
#define IBasicVideo_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth)
#define IBasicVideo_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop)
#define IBasicVideo_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop)
#define IBasicVideo_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight)
#define IBasicVideo_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight)
#define IBasicVideo_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft)
#define IBasicVideo_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft)
#define IBasicVideo_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth)
#define IBasicVideo_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth)
#define IBasicVideo_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop)
#define IBasicVideo_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop)
#define IBasicVideo_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight)
#define IBasicVideo_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight)
#define IBasicVideo_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height)
#define IBasicVideo_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)
#define IBasicVideo_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This)
#define IBasicVideo_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height)
#define IBasicVideo_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)
#define IBasicVideo_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This)
#define IBasicVideo_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight)
#define IBasicVideo_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)
#define IBasicVideo_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage)
#define IBasicVideo_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This)
#define IBasicVideo_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBasicVideo_QueryInterface(IBasicVideo* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBasicVideo_AddRef(IBasicVideo* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBasicVideo_Release(IBasicVideo* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IBasicVideo_GetTypeInfoCount(IBasicVideo* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IBasicVideo_GetTypeInfo(IBasicVideo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IBasicVideo_GetIDsOfNames(IBasicVideo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IBasicVideo_Invoke(IBasicVideo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IBasicVideo methods ***/
static FORCEINLINE HRESULT IBasicVideo_get_AvgTimePerFrame(IBasicVideo* This,REFTIME *pAvgTimePerFrame) {
return This->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame);
}
static FORCEINLINE HRESULT IBasicVideo_get_BitRate(IBasicVideo* This,LONG *pBitRate) {
return This->lpVtbl->get_BitRate(This,pBitRate);
}
static FORCEINLINE HRESULT IBasicVideo_get_BitErrorRate(IBasicVideo* This,LONG *pBitErrorRate) {
return This->lpVtbl->get_BitErrorRate(This,pBitErrorRate);
}
static FORCEINLINE HRESULT IBasicVideo_get_VideoWidth(IBasicVideo* This,LONG *pVideoWidth) {
return This->lpVtbl->get_VideoWidth(This,pVideoWidth);
}
static FORCEINLINE HRESULT IBasicVideo_get_VideoHeight(IBasicVideo* This,LONG *pVideoHeight) {
return This->lpVtbl->get_VideoHeight(This,pVideoHeight);
}
static FORCEINLINE HRESULT IBasicVideo_put_SourceLeft(IBasicVideo* This,LONG SourceLeft) {
return This->lpVtbl->put_SourceLeft(This,SourceLeft);
}
static FORCEINLINE HRESULT IBasicVideo_get_SourceLeft(IBasicVideo* This,LONG *pSourceLeft) {
return This->lpVtbl->get_SourceLeft(This,pSourceLeft);
}
static FORCEINLINE HRESULT IBasicVideo_put_SourceWidth(IBasicVideo* This,LONG SourceWidth) {
return This->lpVtbl->put_SourceWidth(This,SourceWidth);
}
static FORCEINLINE HRESULT IBasicVideo_get_SourceWidth(IBasicVideo* This,LONG *pSourceWidth) {
return This->lpVtbl->get_SourceWidth(This,pSourceWidth);
}
static FORCEINLINE HRESULT IBasicVideo_put_SourceTop(IBasicVideo* This,LONG SourceTop) {
return This->lpVtbl->put_SourceTop(This,SourceTop);
}
static FORCEINLINE HRESULT IBasicVideo_get_SourceTop(IBasicVideo* This,LONG *pSourceTop) {
return This->lpVtbl->get_SourceTop(This,pSourceTop);
}
static FORCEINLINE HRESULT IBasicVideo_put_SourceHeight(IBasicVideo* This,LONG SourceHeight) {
return This->lpVtbl->put_SourceHeight(This,SourceHeight);
}
static FORCEINLINE HRESULT IBasicVideo_get_SourceHeight(IBasicVideo* This,LONG *pSourceHeight) {
return This->lpVtbl->get_SourceHeight(This,pSourceHeight);
}
static FORCEINLINE HRESULT IBasicVideo_put_DestinationLeft(IBasicVideo* This,LONG DestinationLeft) {
return This->lpVtbl->put_DestinationLeft(This,DestinationLeft);
}
static FORCEINLINE HRESULT IBasicVideo_get_DestinationLeft(IBasicVideo* This,LONG *pDestinationLeft) {
return This->lpVtbl->get_DestinationLeft(This,pDestinationLeft);
}
static FORCEINLINE HRESULT IBasicVideo_put_DestinationWidth(IBasicVideo* This,LONG DestinationWidth) {
return This->lpVtbl->put_DestinationWidth(This,DestinationWidth);
}
static FORCEINLINE HRESULT IBasicVideo_get_DestinationWidth(IBasicVideo* This,LONG *pDestinationWidth) {
return This->lpVtbl->get_DestinationWidth(This,pDestinationWidth);
}
static FORCEINLINE HRESULT IBasicVideo_put_DestinationTop(IBasicVideo* This,LONG DestinationTop) {
return This->lpVtbl->put_DestinationTop(This,DestinationTop);
}
static FORCEINLINE HRESULT IBasicVideo_get_DestinationTop(IBasicVideo* This,LONG *pDestinationTop) {
return This->lpVtbl->get_DestinationTop(This,pDestinationTop);
}
static FORCEINLINE HRESULT IBasicVideo_put_DestinationHeight(IBasicVideo* This,LONG DestinationHeight) {
return This->lpVtbl->put_DestinationHeight(This,DestinationHeight);
}
static FORCEINLINE HRESULT IBasicVideo_get_DestinationHeight(IBasicVideo* This,LONG *pDestinationHeight) {
return This->lpVtbl->get_DestinationHeight(This,pDestinationHeight);
}
static FORCEINLINE HRESULT IBasicVideo_SetSourcePosition(IBasicVideo* This,LONG Left,LONG Top,LONG Width,LONG Height) {
return This->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height);
}
static FORCEINLINE HRESULT IBasicVideo_GetSourcePosition(IBasicVideo* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo_SetDefaultSourcePosition(IBasicVideo* This) {
return This->lpVtbl->SetDefaultSourcePosition(This);
}
static FORCEINLINE HRESULT IBasicVideo_SetDestinationPosition(IBasicVideo* This,LONG Left,LONG Top,LONG Width,LONG Height) {
return This->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height);
}
static FORCEINLINE HRESULT IBasicVideo_GetDestinationPosition(IBasicVideo* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo_SetDefaultDestinationPosition(IBasicVideo* This) {
return This->lpVtbl->SetDefaultDestinationPosition(This);
}
static FORCEINLINE HRESULT IBasicVideo_GetVideoSize(IBasicVideo* This,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetVideoSize(This,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo_GetVideoPaletteEntries(IBasicVideo* This,LONG StartIndex,LONG Entries,LONG *pRetrieved,LONG *pPalette) {
return This->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette);
}
static FORCEINLINE HRESULT IBasicVideo_GetCurrentImage(IBasicVideo* This,LONG *pBufferSize,LONG *pDIBImage) {
return This->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage);
}
static FORCEINLINE HRESULT IBasicVideo_IsUsingDefaultSource(IBasicVideo* This) {
return This->lpVtbl->IsUsingDefaultSource(This);
}
static FORCEINLINE HRESULT IBasicVideo_IsUsingDefaultDestination(IBasicVideo* This) {
return This->lpVtbl->IsUsingDefaultDestination(This);
}
#endif
#endif
#endif
#endif /* __IBasicVideo_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBasicVideo2 interface
*/
#ifndef __IBasicVideo2_INTERFACE_DEFINED__
#define __IBasicVideo2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBasicVideo2, 0x329bb360, 0xf6ea, 0x11d1, 0x90,0x38, 0x00,0xa0,0xc9,0x69,0x72,0x98);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("329bb360-f6ea-11d1-9038-00a0c9697298")
IBasicVideo2 : public IBasicVideo
{
virtual HRESULT STDMETHODCALLTYPE GetPreferredAspectRatio(
LONG *plAspectX,
LONG *plAspectY) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBasicVideo2, 0x329bb360, 0xf6ea, 0x11d1, 0x90,0x38, 0x00,0xa0,0xc9,0x69,0x72,0x98)
#endif
#else
typedef struct IBasicVideo2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBasicVideo2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBasicVideo2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBasicVideo2 *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IBasicVideo2 *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IBasicVideo2 *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IBasicVideo2 *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IBasicVideo2 *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IBasicVideo methods ***/
HRESULT (STDMETHODCALLTYPE *get_AvgTimePerFrame)(
IBasicVideo2 *This,
REFTIME *pAvgTimePerFrame);
HRESULT (STDMETHODCALLTYPE *get_BitRate)(
IBasicVideo2 *This,
LONG *pBitRate);
HRESULT (STDMETHODCALLTYPE *get_BitErrorRate)(
IBasicVideo2 *This,
LONG *pBitErrorRate);
HRESULT (STDMETHODCALLTYPE *get_VideoWidth)(
IBasicVideo2 *This,
LONG *pVideoWidth);
HRESULT (STDMETHODCALLTYPE *get_VideoHeight)(
IBasicVideo2 *This,
LONG *pVideoHeight);
HRESULT (STDMETHODCALLTYPE *put_SourceLeft)(
IBasicVideo2 *This,
LONG SourceLeft);
HRESULT (STDMETHODCALLTYPE *get_SourceLeft)(
IBasicVideo2 *This,
LONG *pSourceLeft);
HRESULT (STDMETHODCALLTYPE *put_SourceWidth)(
IBasicVideo2 *This,
LONG SourceWidth);
HRESULT (STDMETHODCALLTYPE *get_SourceWidth)(
IBasicVideo2 *This,
LONG *pSourceWidth);
HRESULT (STDMETHODCALLTYPE *put_SourceTop)(
IBasicVideo2 *This,
LONG SourceTop);
HRESULT (STDMETHODCALLTYPE *get_SourceTop)(
IBasicVideo2 *This,
LONG *pSourceTop);
HRESULT (STDMETHODCALLTYPE *put_SourceHeight)(
IBasicVideo2 *This,
LONG SourceHeight);
HRESULT (STDMETHODCALLTYPE *get_SourceHeight)(
IBasicVideo2 *This,
LONG *pSourceHeight);
HRESULT (STDMETHODCALLTYPE *put_DestinationLeft)(
IBasicVideo2 *This,
LONG DestinationLeft);
HRESULT (STDMETHODCALLTYPE *get_DestinationLeft)(
IBasicVideo2 *This,
LONG *pDestinationLeft);
HRESULT (STDMETHODCALLTYPE *put_DestinationWidth)(
IBasicVideo2 *This,
LONG DestinationWidth);
HRESULT (STDMETHODCALLTYPE *get_DestinationWidth)(
IBasicVideo2 *This,
LONG *pDestinationWidth);
HRESULT (STDMETHODCALLTYPE *put_DestinationTop)(
IBasicVideo2 *This,
LONG DestinationTop);
HRESULT (STDMETHODCALLTYPE *get_DestinationTop)(
IBasicVideo2 *This,
LONG *pDestinationTop);
HRESULT (STDMETHODCALLTYPE *put_DestinationHeight)(
IBasicVideo2 *This,
LONG DestinationHeight);
HRESULT (STDMETHODCALLTYPE *get_DestinationHeight)(
IBasicVideo2 *This,
LONG *pDestinationHeight);
HRESULT (STDMETHODCALLTYPE *SetSourcePosition)(
IBasicVideo2 *This,
LONG Left,
LONG Top,
LONG Width,
LONG Height);
HRESULT (STDMETHODCALLTYPE *GetSourcePosition)(
IBasicVideo2 *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *SetDefaultSourcePosition)(
IBasicVideo2 *This);
HRESULT (STDMETHODCALLTYPE *SetDestinationPosition)(
IBasicVideo2 *This,
LONG Left,
LONG Top,
LONG Width,
LONG Height);
HRESULT (STDMETHODCALLTYPE *GetDestinationPosition)(
IBasicVideo2 *This,
LONG *pLeft,
LONG *pTop,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *SetDefaultDestinationPosition)(
IBasicVideo2 *This);
HRESULT (STDMETHODCALLTYPE *GetVideoSize)(
IBasicVideo2 *This,
LONG *pWidth,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *GetVideoPaletteEntries)(
IBasicVideo2 *This,
LONG StartIndex,
LONG Entries,
LONG *pRetrieved,
LONG *pPalette);
HRESULT (STDMETHODCALLTYPE *GetCurrentImage)(
IBasicVideo2 *This,
LONG *pBufferSize,
LONG *pDIBImage);
HRESULT (STDMETHODCALLTYPE *IsUsingDefaultSource)(
IBasicVideo2 *This);
HRESULT (STDMETHODCALLTYPE *IsUsingDefaultDestination)(
IBasicVideo2 *This);
/*** IBasicVideo2 methods ***/
HRESULT (STDMETHODCALLTYPE *GetPreferredAspectRatio)(
IBasicVideo2 *This,
LONG *plAspectX,
LONG *plAspectY);
END_INTERFACE
} IBasicVideo2Vtbl;
interface IBasicVideo2 {
CONST_VTBL IBasicVideo2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBasicVideo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBasicVideo2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBasicVideo2_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IBasicVideo2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IBasicVideo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IBasicVideo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IBasicVideo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IBasicVideo methods ***/
#define IBasicVideo2_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame)
#define IBasicVideo2_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate)
#define IBasicVideo2_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate)
#define IBasicVideo2_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth)
#define IBasicVideo2_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight)
#define IBasicVideo2_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft)
#define IBasicVideo2_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft)
#define IBasicVideo2_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth)
#define IBasicVideo2_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth)
#define IBasicVideo2_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop)
#define IBasicVideo2_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop)
#define IBasicVideo2_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight)
#define IBasicVideo2_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight)
#define IBasicVideo2_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft)
#define IBasicVideo2_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft)
#define IBasicVideo2_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth)
#define IBasicVideo2_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth)
#define IBasicVideo2_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop)
#define IBasicVideo2_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop)
#define IBasicVideo2_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight)
#define IBasicVideo2_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight)
#define IBasicVideo2_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height)
#define IBasicVideo2_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)
#define IBasicVideo2_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This)
#define IBasicVideo2_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height)
#define IBasicVideo2_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)
#define IBasicVideo2_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This)
#define IBasicVideo2_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight)
#define IBasicVideo2_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)
#define IBasicVideo2_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage)
#define IBasicVideo2_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This)
#define IBasicVideo2_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This)
/*** IBasicVideo2 methods ***/
#define IBasicVideo2_GetPreferredAspectRatio(This,plAspectX,plAspectY) (This)->lpVtbl->GetPreferredAspectRatio(This,plAspectX,plAspectY)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBasicVideo2_QueryInterface(IBasicVideo2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBasicVideo2_AddRef(IBasicVideo2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBasicVideo2_Release(IBasicVideo2* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IBasicVideo2_GetTypeInfoCount(IBasicVideo2* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IBasicVideo2_GetTypeInfo(IBasicVideo2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IBasicVideo2_GetIDsOfNames(IBasicVideo2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IBasicVideo2_Invoke(IBasicVideo2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IBasicVideo methods ***/
static FORCEINLINE HRESULT IBasicVideo2_get_AvgTimePerFrame(IBasicVideo2* This,REFTIME *pAvgTimePerFrame) {
return This->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame);
}
static FORCEINLINE HRESULT IBasicVideo2_get_BitRate(IBasicVideo2* This,LONG *pBitRate) {
return This->lpVtbl->get_BitRate(This,pBitRate);
}
static FORCEINLINE HRESULT IBasicVideo2_get_BitErrorRate(IBasicVideo2* This,LONG *pBitErrorRate) {
return This->lpVtbl->get_BitErrorRate(This,pBitErrorRate);
}
static FORCEINLINE HRESULT IBasicVideo2_get_VideoWidth(IBasicVideo2* This,LONG *pVideoWidth) {
return This->lpVtbl->get_VideoWidth(This,pVideoWidth);
}
static FORCEINLINE HRESULT IBasicVideo2_get_VideoHeight(IBasicVideo2* This,LONG *pVideoHeight) {
return This->lpVtbl->get_VideoHeight(This,pVideoHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_put_SourceLeft(IBasicVideo2* This,LONG SourceLeft) {
return This->lpVtbl->put_SourceLeft(This,SourceLeft);
}
static FORCEINLINE HRESULT IBasicVideo2_get_SourceLeft(IBasicVideo2* This,LONG *pSourceLeft) {
return This->lpVtbl->get_SourceLeft(This,pSourceLeft);
}
static FORCEINLINE HRESULT IBasicVideo2_put_SourceWidth(IBasicVideo2* This,LONG SourceWidth) {
return This->lpVtbl->put_SourceWidth(This,SourceWidth);
}
static FORCEINLINE HRESULT IBasicVideo2_get_SourceWidth(IBasicVideo2* This,LONG *pSourceWidth) {
return This->lpVtbl->get_SourceWidth(This,pSourceWidth);
}
static FORCEINLINE HRESULT IBasicVideo2_put_SourceTop(IBasicVideo2* This,LONG SourceTop) {
return This->lpVtbl->put_SourceTop(This,SourceTop);
}
static FORCEINLINE HRESULT IBasicVideo2_get_SourceTop(IBasicVideo2* This,LONG *pSourceTop) {
return This->lpVtbl->get_SourceTop(This,pSourceTop);
}
static FORCEINLINE HRESULT IBasicVideo2_put_SourceHeight(IBasicVideo2* This,LONG SourceHeight) {
return This->lpVtbl->put_SourceHeight(This,SourceHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_get_SourceHeight(IBasicVideo2* This,LONG *pSourceHeight) {
return This->lpVtbl->get_SourceHeight(This,pSourceHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_put_DestinationLeft(IBasicVideo2* This,LONG DestinationLeft) {
return This->lpVtbl->put_DestinationLeft(This,DestinationLeft);
}
static FORCEINLINE HRESULT IBasicVideo2_get_DestinationLeft(IBasicVideo2* This,LONG *pDestinationLeft) {
return This->lpVtbl->get_DestinationLeft(This,pDestinationLeft);
}
static FORCEINLINE HRESULT IBasicVideo2_put_DestinationWidth(IBasicVideo2* This,LONG DestinationWidth) {
return This->lpVtbl->put_DestinationWidth(This,DestinationWidth);
}
static FORCEINLINE HRESULT IBasicVideo2_get_DestinationWidth(IBasicVideo2* This,LONG *pDestinationWidth) {
return This->lpVtbl->get_DestinationWidth(This,pDestinationWidth);
}
static FORCEINLINE HRESULT IBasicVideo2_put_DestinationTop(IBasicVideo2* This,LONG DestinationTop) {
return This->lpVtbl->put_DestinationTop(This,DestinationTop);
}
static FORCEINLINE HRESULT IBasicVideo2_get_DestinationTop(IBasicVideo2* This,LONG *pDestinationTop) {
return This->lpVtbl->get_DestinationTop(This,pDestinationTop);
}
static FORCEINLINE HRESULT IBasicVideo2_put_DestinationHeight(IBasicVideo2* This,LONG DestinationHeight) {
return This->lpVtbl->put_DestinationHeight(This,DestinationHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_get_DestinationHeight(IBasicVideo2* This,LONG *pDestinationHeight) {
return This->lpVtbl->get_DestinationHeight(This,pDestinationHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_SetSourcePosition(IBasicVideo2* This,LONG Left,LONG Top,LONG Width,LONG Height) {
return This->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height);
}
static FORCEINLINE HRESULT IBasicVideo2_GetSourcePosition(IBasicVideo2* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_SetDefaultSourcePosition(IBasicVideo2* This) {
return This->lpVtbl->SetDefaultSourcePosition(This);
}
static FORCEINLINE HRESULT IBasicVideo2_SetDestinationPosition(IBasicVideo2* This,LONG Left,LONG Top,LONG Width,LONG Height) {
return This->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height);
}
static FORCEINLINE HRESULT IBasicVideo2_GetDestinationPosition(IBasicVideo2* This,LONG *pLeft,LONG *pTop,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_SetDefaultDestinationPosition(IBasicVideo2* This) {
return This->lpVtbl->SetDefaultDestinationPosition(This);
}
static FORCEINLINE HRESULT IBasicVideo2_GetVideoSize(IBasicVideo2* This,LONG *pWidth,LONG *pHeight) {
return This->lpVtbl->GetVideoSize(This,pWidth,pHeight);
}
static FORCEINLINE HRESULT IBasicVideo2_GetVideoPaletteEntries(IBasicVideo2* This,LONG StartIndex,LONG Entries,LONG *pRetrieved,LONG *pPalette) {
return This->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette);
}
static FORCEINLINE HRESULT IBasicVideo2_GetCurrentImage(IBasicVideo2* This,LONG *pBufferSize,LONG *pDIBImage) {
return This->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage);
}
static FORCEINLINE HRESULT IBasicVideo2_IsUsingDefaultSource(IBasicVideo2* This) {
return This->lpVtbl->IsUsingDefaultSource(This);
}
static FORCEINLINE HRESULT IBasicVideo2_IsUsingDefaultDestination(IBasicVideo2* This) {
return This->lpVtbl->IsUsingDefaultDestination(This);
}
/*** IBasicVideo2 methods ***/
static FORCEINLINE HRESULT IBasicVideo2_GetPreferredAspectRatio(IBasicVideo2* This,LONG *plAspectX,LONG *plAspectY) {
return This->lpVtbl->GetPreferredAspectRatio(This,plAspectX,plAspectY);
}
#endif
#endif
#endif
#endif /* __IBasicVideo2_INTERFACE_DEFINED__ */
/*****************************************************************************
* IMediaEvent interface
*/
#ifndef __IMediaEvent_INTERFACE_DEFINED__
#define __IMediaEvent_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMediaEvent, 0x56a868b6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b6-0ad4-11ce-b03a-0020af0ba770")
IMediaEvent : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE GetEventHandle(
OAEVENT *hEvent) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEvent(
LONG *lEventCode,
LONG_PTR *lParam1,
LONG_PTR *lParam2,
LONG msTimeout) = 0;
virtual HRESULT STDMETHODCALLTYPE WaitForCompletion(
LONG msTimeout,
LONG *pEvCode) = 0;
virtual HRESULT STDMETHODCALLTYPE CancelDefaultHandling(
LONG lEvCode) = 0;
virtual HRESULT STDMETHODCALLTYPE RestoreDefaultHandling(
LONG lEvCode) = 0;
virtual HRESULT STDMETHODCALLTYPE FreeEventParams(
LONG lEvCode,
LONG_PTR lParam1,
LONG_PTR lParam2) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMediaEvent, 0x56a868b6, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IMediaEventVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMediaEvent *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMediaEvent *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMediaEvent *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IMediaEvent *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IMediaEvent *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IMediaEvent *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IMediaEvent *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IMediaEvent methods ***/
HRESULT (STDMETHODCALLTYPE *GetEventHandle)(
IMediaEvent *This,
OAEVENT *hEvent);
HRESULT (STDMETHODCALLTYPE *GetEvent)(
IMediaEvent *This,
LONG *lEventCode,
LONG_PTR *lParam1,
LONG_PTR *lParam2,
LONG msTimeout);
HRESULT (STDMETHODCALLTYPE *WaitForCompletion)(
IMediaEvent *This,
LONG msTimeout,
LONG *pEvCode);
HRESULT (STDMETHODCALLTYPE *CancelDefaultHandling)(
IMediaEvent *This,
LONG lEvCode);
HRESULT (STDMETHODCALLTYPE *RestoreDefaultHandling)(
IMediaEvent *This,
LONG lEvCode);
HRESULT (STDMETHODCALLTYPE *FreeEventParams)(
IMediaEvent *This,
LONG lEvCode,
LONG_PTR lParam1,
LONG_PTR lParam2);
END_INTERFACE
} IMediaEventVtbl;
interface IMediaEvent {
CONST_VTBL IMediaEventVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMediaEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMediaEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMediaEvent_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IMediaEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IMediaEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IMediaEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IMediaEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IMediaEvent methods ***/
#define IMediaEvent_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent)
#define IMediaEvent_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)
#define IMediaEvent_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode)
#define IMediaEvent_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode)
#define IMediaEvent_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode)
#define IMediaEvent_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMediaEvent_QueryInterface(IMediaEvent* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMediaEvent_AddRef(IMediaEvent* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMediaEvent_Release(IMediaEvent* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IMediaEvent_GetTypeInfoCount(IMediaEvent* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IMediaEvent_GetTypeInfo(IMediaEvent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IMediaEvent_GetIDsOfNames(IMediaEvent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IMediaEvent_Invoke(IMediaEvent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IMediaEvent methods ***/
static FORCEINLINE HRESULT IMediaEvent_GetEventHandle(IMediaEvent* This,OAEVENT *hEvent) {
return This->lpVtbl->GetEventHandle(This,hEvent);
}
static FORCEINLINE HRESULT IMediaEvent_GetEvent(IMediaEvent* This,LONG *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,LONG msTimeout) {
return This->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout);
}
static FORCEINLINE HRESULT IMediaEvent_WaitForCompletion(IMediaEvent* This,LONG msTimeout,LONG *pEvCode) {
return This->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode);
}
static FORCEINLINE HRESULT IMediaEvent_CancelDefaultHandling(IMediaEvent* This,LONG lEvCode) {
return This->lpVtbl->CancelDefaultHandling(This,lEvCode);
}
static FORCEINLINE HRESULT IMediaEvent_RestoreDefaultHandling(IMediaEvent* This,LONG lEvCode) {
return This->lpVtbl->RestoreDefaultHandling(This,lEvCode);
}
static FORCEINLINE HRESULT IMediaEvent_FreeEventParams(IMediaEvent* This,LONG lEvCode,LONG_PTR lParam1,LONG_PTR lParam2) {
return This->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2);
}
#endif
#endif
#endif
#endif /* __IMediaEvent_INTERFACE_DEFINED__ */
/*****************************************************************************
* IMediaEventEx interface
*/
#ifndef __IMediaEventEx_INTERFACE_DEFINED__
#define __IMediaEventEx_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMediaEventEx, 0x56a868c0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868c0-0ad4-11ce-b03a-0020af0ba770")
IMediaEventEx : public IMediaEvent
{
virtual HRESULT STDMETHODCALLTYPE SetNotifyWindow(
OAHWND hwnd,
LONG lMsg,
LONG_PTR lInstanceData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags(
LONG lNoNotifyFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags(
LONG *lplNoNotifyFlags) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMediaEventEx, 0x56a868c0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IMediaEventExVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMediaEventEx *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMediaEventEx *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMediaEventEx *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IMediaEventEx *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IMediaEventEx *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IMediaEventEx *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IMediaEventEx *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IMediaEvent methods ***/
HRESULT (STDMETHODCALLTYPE *GetEventHandle)(
IMediaEventEx *This,
OAEVENT *hEvent);
HRESULT (STDMETHODCALLTYPE *GetEvent)(
IMediaEventEx *This,
LONG *lEventCode,
LONG_PTR *lParam1,
LONG_PTR *lParam2,
LONG msTimeout);
HRESULT (STDMETHODCALLTYPE *WaitForCompletion)(
IMediaEventEx *This,
LONG msTimeout,
LONG *pEvCode);
HRESULT (STDMETHODCALLTYPE *CancelDefaultHandling)(
IMediaEventEx *This,
LONG lEvCode);
HRESULT (STDMETHODCALLTYPE *RestoreDefaultHandling)(
IMediaEventEx *This,
LONG lEvCode);
HRESULT (STDMETHODCALLTYPE *FreeEventParams)(
IMediaEventEx *This,
LONG lEvCode,
LONG_PTR lParam1,
LONG_PTR lParam2);
/*** IMediaEventEx methods ***/
HRESULT (STDMETHODCALLTYPE *SetNotifyWindow)(
IMediaEventEx *This,
OAHWND hwnd,
LONG lMsg,
LONG_PTR lInstanceData);
HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
IMediaEventEx *This,
LONG lNoNotifyFlags);
HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
IMediaEventEx *This,
LONG *lplNoNotifyFlags);
END_INTERFACE
} IMediaEventExVtbl;
interface IMediaEventEx {
CONST_VTBL IMediaEventExVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMediaEventEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMediaEventEx_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMediaEventEx_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IMediaEventEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IMediaEventEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IMediaEventEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IMediaEventEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IMediaEvent methods ***/
#define IMediaEventEx_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent)
#define IMediaEventEx_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)
#define IMediaEventEx_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode)
#define IMediaEventEx_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode)
#define IMediaEventEx_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode)
#define IMediaEventEx_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2)
/*** IMediaEventEx methods ***/
#define IMediaEventEx_SetNotifyWindow(This,hwnd,lMsg,lInstanceData) (This)->lpVtbl->SetNotifyWindow(This,hwnd,lMsg,lInstanceData)
#define IMediaEventEx_SetNotifyFlags(This,lNoNotifyFlags) (This)->lpVtbl->SetNotifyFlags(This,lNoNotifyFlags)
#define IMediaEventEx_GetNotifyFlags(This,lplNoNotifyFlags) (This)->lpVtbl->GetNotifyFlags(This,lplNoNotifyFlags)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMediaEventEx_QueryInterface(IMediaEventEx* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMediaEventEx_AddRef(IMediaEventEx* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMediaEventEx_Release(IMediaEventEx* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IMediaEventEx_GetTypeInfoCount(IMediaEventEx* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IMediaEventEx_GetTypeInfo(IMediaEventEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IMediaEventEx_GetIDsOfNames(IMediaEventEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IMediaEventEx_Invoke(IMediaEventEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IMediaEvent methods ***/
static FORCEINLINE HRESULT IMediaEventEx_GetEventHandle(IMediaEventEx* This,OAEVENT *hEvent) {
return This->lpVtbl->GetEventHandle(This,hEvent);
}
static FORCEINLINE HRESULT IMediaEventEx_GetEvent(IMediaEventEx* This,LONG *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,LONG msTimeout) {
return This->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout);
}
static FORCEINLINE HRESULT IMediaEventEx_WaitForCompletion(IMediaEventEx* This,LONG msTimeout,LONG *pEvCode) {
return This->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode);
}
static FORCEINLINE HRESULT IMediaEventEx_CancelDefaultHandling(IMediaEventEx* This,LONG lEvCode) {
return This->lpVtbl->CancelDefaultHandling(This,lEvCode);
}
static FORCEINLINE HRESULT IMediaEventEx_RestoreDefaultHandling(IMediaEventEx* This,LONG lEvCode) {
return This->lpVtbl->RestoreDefaultHandling(This,lEvCode);
}
static FORCEINLINE HRESULT IMediaEventEx_FreeEventParams(IMediaEventEx* This,LONG lEvCode,LONG_PTR lParam1,LONG_PTR lParam2) {
return This->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2);
}
/*** IMediaEventEx methods ***/
static FORCEINLINE HRESULT IMediaEventEx_SetNotifyWindow(IMediaEventEx* This,OAHWND hwnd,LONG lMsg,LONG_PTR lInstanceData) {
return This->lpVtbl->SetNotifyWindow(This,hwnd,lMsg,lInstanceData);
}
static FORCEINLINE HRESULT IMediaEventEx_SetNotifyFlags(IMediaEventEx* This,LONG lNoNotifyFlags) {
return This->lpVtbl->SetNotifyFlags(This,lNoNotifyFlags);
}
static FORCEINLINE HRESULT IMediaEventEx_GetNotifyFlags(IMediaEventEx* This,LONG *lplNoNotifyFlags) {
return This->lpVtbl->GetNotifyFlags(This,lplNoNotifyFlags);
}
#endif
#endif
#endif
#endif /* __IMediaEventEx_INTERFACE_DEFINED__ */
/*****************************************************************************
* IMediaPosition interface
*/
#ifndef __IMediaPosition_INTERFACE_DEFINED__
#define __IMediaPosition_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMediaPosition, 0x56a868b2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("56a868b2-0ad4-11ce-b03a-0020af0ba770")
IMediaPosition : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_Duration(
REFTIME *plength) = 0;
virtual HRESULT STDMETHODCALLTYPE put_CurrentPosition(
REFTIME llTime) = 0;
virtual HRESULT STDMETHODCALLTYPE get_CurrentPosition(
REFTIME *pllTime) = 0;
virtual HRESULT STDMETHODCALLTYPE get_StopTime(
REFTIME *pllTime) = 0;
virtual HRESULT STDMETHODCALLTYPE put_StopTime(
REFTIME llTime) = 0;
virtual HRESULT STDMETHODCALLTYPE get_PrerollTime(
REFTIME *pllTime) = 0;
virtual HRESULT STDMETHODCALLTYPE put_PrerollTime(
REFTIME llTime) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Rate(
double dRate) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Rate(
double *pdRate) = 0;
virtual HRESULT STDMETHODCALLTYPE CanSeekForward(
LONG *pCanSeekForward) = 0;
virtual HRESULT STDMETHODCALLTYPE CanSeekBackward(
LONG *pCanSeekBackward) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMediaPosition, 0x56a868b2, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70)
#endif
#else
typedef struct IMediaPositionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMediaPosition *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMediaPosition *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMediaPosition *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IMediaPosition *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IMediaPosition *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IMediaPosition *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IMediaPosition *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IMediaPosition methods ***/
HRESULT (STDMETHODCALLTYPE *get_Duration)(
IMediaPosition *This,
REFTIME *plength);
HRESULT (STDMETHODCALLTYPE *put_CurrentPosition)(
IMediaPosition *This,
REFTIME llTime);
HRESULT (STDMETHODCALLTYPE *get_CurrentPosition)(
IMediaPosition *This,
REFTIME *pllTime);
HRESULT (STDMETHODCALLTYPE *get_StopTime)(
IMediaPosition *This,
REFTIME *pllTime);
HRESULT (STDMETHODCALLTYPE *put_StopTime)(
IMediaPosition *This,
REFTIME llTime);
HRESULT (STDMETHODCALLTYPE *get_PrerollTime)(
IMediaPosition *This,
REFTIME *pllTime);
HRESULT (STDMETHODCALLTYPE *put_PrerollTime)(
IMediaPosition *This,
REFTIME llTime);
HRESULT (STDMETHODCALLTYPE *put_Rate)(
IMediaPosition *This,
double dRate);
HRESULT (STDMETHODCALLTYPE *get_Rate)(
IMediaPosition *This,
double *pdRate);
HRESULT (STDMETHODCALLTYPE *CanSeekForward)(
IMediaPosition *This,
LONG *pCanSeekForward);
HRESULT (STDMETHODCALLTYPE *CanSeekBackward)(
IMediaPosition *This,
LONG *pCanSeekBackward);
END_INTERFACE
} IMediaPositionVtbl;
interface IMediaPosition {
CONST_VTBL IMediaPositionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMediaPosition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMediaPosition_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMediaPosition_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IMediaPosition_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IMediaPosition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IMediaPosition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IMediaPosition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IMediaPosition methods ***/
#define IMediaPosition_get_Duration(This,plength) (This)->lpVtbl->get_Duration(This,plength)
#define IMediaPosition_put_CurrentPosition(This,llTime) (This)->lpVtbl->put_CurrentPosition(This,llTime)
#define IMediaPosition_get_CurrentPosition(This,pllTime) (This)->lpVtbl->get_CurrentPosition(This,pllTime)
#define IMediaPosition_get_StopTime(This,pllTime) (This)->lpVtbl->get_StopTime(This,pllTime)
#define IMediaPosition_put_StopTime(This,llTime) (This)->lpVtbl->put_StopTime(This,llTime)
#define IMediaPosition_get_PrerollTime(This,pllTime) (This)->lpVtbl->get_PrerollTime(This,pllTime)
#define IMediaPosition_put_PrerollTime(This,llTime) (This)->lpVtbl->put_PrerollTime(This,llTime)
#define IMediaPosition_put_Rate(This,dRate) (This)->lpVtbl->put_Rate(This,dRate)
#define IMediaPosition_get_Rate(This,pdRate) (This)->lpVtbl->get_Rate(This,pdRate)
#define IMediaPosition_CanSeekForward(This,pCanSeekForward) (This)->lpVtbl->CanSeekForward(This,pCanSeekForward)
#define IMediaPosition_CanSeekBackward(This,pCanSeekBackward) (This)->lpVtbl->CanSeekBackward(This,pCanSeekBackward)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMediaPosition_QueryInterface(IMediaPosition* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMediaPosition_AddRef(IMediaPosition* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMediaPosition_Release(IMediaPosition* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IMediaPosition_GetTypeInfoCount(IMediaPosition* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IMediaPosition_GetTypeInfo(IMediaPosition* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IMediaPosition_GetIDsOfNames(IMediaPosition* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IMediaPosition_Invoke(IMediaPosition* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IMediaPosition methods ***/
static FORCEINLINE HRESULT IMediaPosition_get_Duration(IMediaPosition* This,REFTIME *plength) {
return This->lpVtbl->get_Duration(This,plength);
}
static FORCEINLINE HRESULT IMediaPosition_put_CurrentPosition(IMediaPosition* This,REFTIME llTime) {
return This->lpVtbl->put_CurrentPosition(This,llTime);
}
static FORCEINLINE HRESULT IMediaPosition_get_CurrentPosition(IMediaPosition* This,REFTIME *pllTime) {
return This->lpVtbl->get_CurrentPosition(This,pllTime);
}
static FORCEINLINE HRESULT IMediaPosition_get_StopTime(IMediaPosition* This,REFTIME *pllTime) {
return This->lpVtbl->get_StopTime(This,pllTime);
}
static FORCEINLINE HRESULT IMediaPosition_put_StopTime(IMediaPosition* This,REFTIME llTime) {
return This->lpVtbl->put_StopTime(This,llTime);
}
static FORCEINLINE HRESULT IMediaPosition_get_PrerollTime(IMediaPosition* This,REFTIME *pllTime) {
return This->lpVtbl->get_PrerollTime(This,pllTime);
}
static FORCEINLINE HRESULT IMediaPosition_put_PrerollTime(IMediaPosition* This,REFTIME llTime) {
return This->lpVtbl->put_PrerollTime(This,llTime);
}
static FORCEINLINE HRESULT IMediaPosition_put_Rate(IMediaPosition* This,double dRate) {
return This->lpVtbl->put_Rate(This,dRate);
}
static FORCEINLINE HRESULT IMediaPosition_get_Rate(IMediaPosition* This,double *pdRate) {
return This->lpVtbl->get_Rate(This,pdRate);
}
static FORCEINLINE HRESULT IMediaPosition_CanSeekForward(IMediaPosition* This,LONG *pCanSeekForward) {
return This->lpVtbl->CanSeekForward(This,pCanSeekForward);
}
static FORCEINLINE HRESULT IMediaPosition_CanSeekBackward(IMediaPosition* This,LONG *pCanSeekBackward) {
return This->lpVtbl->CanSeekBackward(This,pCanSeekBackward);
}
#endif
#endif
#endif
#endif /* __IMediaPosition_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __control_h__ */
|