/usr/share/mingw-w64/include/xpsdigitalsignature.h is in mingw-w64-common 4.0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 | /*** Autogenerated by WIDL 1.6 from include/xpsdigitalsignature.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 __xpsdigitalsignature_h__
#define __xpsdigitalsignature_h__
/* Forward declarations */
#ifndef __IXpsSigningOptions_FWD_DEFINED__
#define __IXpsSigningOptions_FWD_DEFINED__
typedef interface IXpsSigningOptions IXpsSigningOptions;
#endif
#ifndef __IXpsSignature_FWD_DEFINED__
#define __IXpsSignature_FWD_DEFINED__
typedef interface IXpsSignature IXpsSignature;
#endif
#ifndef __IXpsSignatureBlock_FWD_DEFINED__
#define __IXpsSignatureBlock_FWD_DEFINED__
typedef interface IXpsSignatureBlock IXpsSignatureBlock;
#endif
#ifndef __IXpsSignatureBlockCollection_FWD_DEFINED__
#define __IXpsSignatureBlockCollection_FWD_DEFINED__
typedef interface IXpsSignatureBlockCollection IXpsSignatureBlockCollection;
#endif
#ifndef __IXpsSignatureCollection_FWD_DEFINED__
#define __IXpsSignatureCollection_FWD_DEFINED__
typedef interface IXpsSignatureCollection IXpsSignatureCollection;
#endif
#ifndef __IXpsSignatureManager_FWD_DEFINED__
#define __IXpsSignatureManager_FWD_DEFINED__
typedef interface IXpsSignatureManager IXpsSignatureManager;
#endif
#ifndef __IXpsSignatureRequest_FWD_DEFINED__
#define __IXpsSignatureRequest_FWD_DEFINED__
typedef interface IXpsSignatureRequest IXpsSignatureRequest;
#endif
#ifndef __IXpsSignatureRequestCollection_FWD_DEFINED__
#define __IXpsSignatureRequestCollection_FWD_DEFINED__
typedef interface IXpsSignatureRequestCollection IXpsSignatureRequestCollection;
#endif
#ifndef __XpsSignatureManager_FWD_DEFINED__
#define __XpsSignatureManager_FWD_DEFINED__
#ifdef __cplusplus
typedef class XpsSignatureManager XpsSignatureManager;
#else
typedef struct XpsSignatureManager XpsSignatureManager;
#endif /* defined __cplusplus */
#endif /* defined __XpsSignatureManager_FWD_DEFINED__ */
/* Headers for imported files */
#include <oaidl.h>
#include <wincrypt.h>
#include <msopc.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#if NTDDI_VERSION >= 0x06010000
#define XPS_E_SIGREQUESTID_DUP MAKE_HRESULT(1, FACILITY_XPS, 901)
#define XPS_E_PACKAGE_NOT_OPENED MAKE_HRESULT(1, FACILITY_XPS, 902)
#define XPS_E_PACKAGE_ALREADY_OPENED MAKE_HRESULT(1, FACILITY_XPS, 903)
#define XPS_E_SIGNATUREID_DUP MAKE_HRESULT(1, FACILITY_XPS, 904)
#define XPS_E_MARKUP_COMPATIBILITY_ELEMENTS MAKE_HRESULT(1, FACILITY_XPS, 905)
#define XPS_E_OBJECT_DETACHED MAKE_HRESULT(1, FACILITY_XPS, 906)
#define XPS_E_INVALID_SIGNATUREBLOCK_MARKUP MAKE_HRESULT(1, FACILITY_XPS, 907)
DEFINE_GUID(LIBID_MSXPSSIG, 0x8223a7eb, 0xc4d5, 0x474d, 0x9b,0xcc, 0xff,0x67,0x18,0x5e,0x64,0xa0);
#ifndef __IXpsSigningOptions_FWD_DEFINED__
#define __IXpsSigningOptions_FWD_DEFINED__
typedef interface IXpsSigningOptions IXpsSigningOptions;
#endif
#ifndef __IXpsSignatureCollection_FWD_DEFINED__
#define __IXpsSignatureCollection_FWD_DEFINED__
typedef interface IXpsSignatureCollection IXpsSignatureCollection;
#endif
#ifndef __IXpsSignature_FWD_DEFINED__
#define __IXpsSignature_FWD_DEFINED__
typedef interface IXpsSignature IXpsSignature;
#endif
#ifndef __IXpsSignatureBlockCollection_FWD_DEFINED__
#define __IXpsSignatureBlockCollection_FWD_DEFINED__
typedef interface IXpsSignatureBlockCollection IXpsSignatureBlockCollection;
#endif
#ifndef __IXpsSignatureBlock_FWD_DEFINED__
#define __IXpsSignatureBlock_FWD_DEFINED__
typedef interface IXpsSignatureBlock IXpsSignatureBlock;
#endif
#ifndef __IXpsSignatureRequestCollection_FWD_DEFINED__
#define __IXpsSignatureRequestCollection_FWD_DEFINED__
typedef interface IXpsSignatureRequestCollection IXpsSignatureRequestCollection;
#endif
#ifndef __IXpsSignatureRequest_FWD_DEFINED__
#define __IXpsSignatureRequest_FWD_DEFINED__
typedef interface IXpsSignatureRequest IXpsSignatureRequest;
#endif
typedef enum __WIDL_xpsdigitalsignature_generated_name_00000020 {
XPS_SIGN_FLAGS_NONE = 0x0,
XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY = 0x1
} XPS_SIGN_FLAGS;
typedef enum __WIDL_xpsdigitalsignature_generated_name_00000021 {
XPS_SIGN_POLICY_NONE = 0x0,
XPS_SIGN_POLICY_CORE_PROPERTIES = 0x1,
XPS_SIGN_POLICY_SIGNATURE_RELATIONSHIPS = 0x2,
XPS_SIGN_POLICY_PRINT_TICKET = 0x4,
XPS_SIGN_POLICY_DISCARD_CONTROL = 0x8,
XPS_SIGN_POLICY_ALL = 0xf
} XPS_SIGN_POLICY;
typedef enum __WIDL_xpsdigitalsignature_generated_name_00000022 {
XPS_SIGNATURE_STATUS_INCOMPLIANT = 1,
XPS_SIGNATURE_STATUS_INCOMPLETE = 2,
XPS_SIGNATURE_STATUS_BROKEN = 3,
XPS_SIGNATURE_STATUS_QUESTIONABLE = 4,
XPS_SIGNATURE_STATUS_VALID = 5
} XPS_SIGNATURE_STATUS;
DEFINE_ENUM_FLAG_OPERATORS(XPS_SIGN_FLAGS)
DEFINE_ENUM_FLAG_OPERATORS(XPS_SIGN_POLICY)
/*****************************************************************************
* IXpsSigningOptions interface
*/
#ifndef __IXpsSigningOptions_INTERFACE_DEFINED__
#define __IXpsSigningOptions_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSigningOptions, 0x7718eae4, 0x3215, 0x49be, 0xaf,0x5b, 0x59,0x4f,0xef,0x7f,0xcf,0xa6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7718eae4-3215-49be-af5b-594fef7fcfa6")
IXpsSigningOptions : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetSignatureId(
LPWSTR *signatureId) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignatureId(
LPCWSTR signatureId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatureMethod(
LPWSTR *signatureMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignatureMethod(
LPCWSTR signatureMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDigestMethod(
LPWSTR *digestMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDigestMethod(
LPCWSTR digestMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignaturePartName(
IOpcPartUri **signaturePartName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignaturePartName(
IOpcPartUri *signaturePartName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPolicy(
XPS_SIGN_POLICY *policy) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPolicy(
XPS_SIGN_POLICY policy) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSigningTimeFormat(
OPC_SIGNATURE_TIME_FORMAT *timeFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSigningTimeFormat(
OPC_SIGNATURE_TIME_FORMAT timeFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomObjects(
IOpcSignatureCustomObjectSet **customObjectSet) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomReferences(
IOpcSignatureReferenceSet **customReferenceSet) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCertificateSet(
IOpcCertificateSet **certificateSet) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFlags(
XPS_SIGN_FLAGS *flags) = 0;
virtual HRESULT STDMETHODCALLTYPE SetFlags(
XPS_SIGN_FLAGS flags) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSigningOptions, 0x7718eae4, 0x3215, 0x49be, 0xaf,0x5b, 0x59,0x4f,0xef,0x7f,0xcf,0xa6)
#endif
#else
typedef struct IXpsSigningOptionsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSigningOptions* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSigningOptions* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSigningOptions* This);
/*** IXpsSigningOptions methods ***/
HRESULT (STDMETHODCALLTYPE *GetSignatureId)(
IXpsSigningOptions* This,
LPWSTR *signatureId);
HRESULT (STDMETHODCALLTYPE *SetSignatureId)(
IXpsSigningOptions* This,
LPCWSTR signatureId);
HRESULT (STDMETHODCALLTYPE *GetSignatureMethod)(
IXpsSigningOptions* This,
LPWSTR *signatureMethod);
HRESULT (STDMETHODCALLTYPE *SetSignatureMethod)(
IXpsSigningOptions* This,
LPCWSTR signatureMethod);
HRESULT (STDMETHODCALLTYPE *GetDigestMethod)(
IXpsSigningOptions* This,
LPWSTR *digestMethod);
HRESULT (STDMETHODCALLTYPE *SetDigestMethod)(
IXpsSigningOptions* This,
LPCWSTR digestMethod);
HRESULT (STDMETHODCALLTYPE *GetSignaturePartName)(
IXpsSigningOptions* This,
IOpcPartUri **signaturePartName);
HRESULT (STDMETHODCALLTYPE *SetSignaturePartName)(
IXpsSigningOptions* This,
IOpcPartUri *signaturePartName);
HRESULT (STDMETHODCALLTYPE *GetPolicy)(
IXpsSigningOptions* This,
XPS_SIGN_POLICY *policy);
HRESULT (STDMETHODCALLTYPE *SetPolicy)(
IXpsSigningOptions* This,
XPS_SIGN_POLICY policy);
HRESULT (STDMETHODCALLTYPE *GetSigningTimeFormat)(
IXpsSigningOptions* This,
OPC_SIGNATURE_TIME_FORMAT *timeFormat);
HRESULT (STDMETHODCALLTYPE *SetSigningTimeFormat)(
IXpsSigningOptions* This,
OPC_SIGNATURE_TIME_FORMAT timeFormat);
HRESULT (STDMETHODCALLTYPE *GetCustomObjects)(
IXpsSigningOptions* This,
IOpcSignatureCustomObjectSet **customObjectSet);
HRESULT (STDMETHODCALLTYPE *GetCustomReferences)(
IXpsSigningOptions* This,
IOpcSignatureReferenceSet **customReferenceSet);
HRESULT (STDMETHODCALLTYPE *GetCertificateSet)(
IXpsSigningOptions* This,
IOpcCertificateSet **certificateSet);
HRESULT (STDMETHODCALLTYPE *GetFlags)(
IXpsSigningOptions* This,
XPS_SIGN_FLAGS *flags);
HRESULT (STDMETHODCALLTYPE *SetFlags)(
IXpsSigningOptions* This,
XPS_SIGN_FLAGS flags);
END_INTERFACE
} IXpsSigningOptionsVtbl;
interface IXpsSigningOptions {
CONST_VTBL IXpsSigningOptionsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSigningOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSigningOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSigningOptions_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSigningOptions methods ***/
#define IXpsSigningOptions_GetSignatureId(This,signatureId) (This)->lpVtbl->GetSignatureId(This,signatureId)
#define IXpsSigningOptions_SetSignatureId(This,signatureId) (This)->lpVtbl->SetSignatureId(This,signatureId)
#define IXpsSigningOptions_GetSignatureMethod(This,signatureMethod) (This)->lpVtbl->GetSignatureMethod(This,signatureMethod)
#define IXpsSigningOptions_SetSignatureMethod(This,signatureMethod) (This)->lpVtbl->SetSignatureMethod(This,signatureMethod)
#define IXpsSigningOptions_GetDigestMethod(This,digestMethod) (This)->lpVtbl->GetDigestMethod(This,digestMethod)
#define IXpsSigningOptions_SetDigestMethod(This,digestMethod) (This)->lpVtbl->SetDigestMethod(This,digestMethod)
#define IXpsSigningOptions_GetSignaturePartName(This,signaturePartName) (This)->lpVtbl->GetSignaturePartName(This,signaturePartName)
#define IXpsSigningOptions_SetSignaturePartName(This,signaturePartName) (This)->lpVtbl->SetSignaturePartName(This,signaturePartName)
#define IXpsSigningOptions_GetPolicy(This,policy) (This)->lpVtbl->GetPolicy(This,policy)
#define IXpsSigningOptions_SetPolicy(This,policy) (This)->lpVtbl->SetPolicy(This,policy)
#define IXpsSigningOptions_GetSigningTimeFormat(This,timeFormat) (This)->lpVtbl->GetSigningTimeFormat(This,timeFormat)
#define IXpsSigningOptions_SetSigningTimeFormat(This,timeFormat) (This)->lpVtbl->SetSigningTimeFormat(This,timeFormat)
#define IXpsSigningOptions_GetCustomObjects(This,customObjectSet) (This)->lpVtbl->GetCustomObjects(This,customObjectSet)
#define IXpsSigningOptions_GetCustomReferences(This,customReferenceSet) (This)->lpVtbl->GetCustomReferences(This,customReferenceSet)
#define IXpsSigningOptions_GetCertificateSet(This,certificateSet) (This)->lpVtbl->GetCertificateSet(This,certificateSet)
#define IXpsSigningOptions_GetFlags(This,flags) (This)->lpVtbl->GetFlags(This,flags)
#define IXpsSigningOptions_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSigningOptions_QueryInterface(IXpsSigningOptions* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSigningOptions_AddRef(IXpsSigningOptions* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSigningOptions_Release(IXpsSigningOptions* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSigningOptions methods ***/
static FORCEINLINE HRESULT IXpsSigningOptions_GetSignatureId(IXpsSigningOptions* This,LPWSTR *signatureId) {
return This->lpVtbl->GetSignatureId(This,signatureId);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetSignatureId(IXpsSigningOptions* This,LPCWSTR signatureId) {
return This->lpVtbl->SetSignatureId(This,signatureId);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetSignatureMethod(IXpsSigningOptions* This,LPWSTR *signatureMethod) {
return This->lpVtbl->GetSignatureMethod(This,signatureMethod);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetSignatureMethod(IXpsSigningOptions* This,LPCWSTR signatureMethod) {
return This->lpVtbl->SetSignatureMethod(This,signatureMethod);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetDigestMethod(IXpsSigningOptions* This,LPWSTR *digestMethod) {
return This->lpVtbl->GetDigestMethod(This,digestMethod);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetDigestMethod(IXpsSigningOptions* This,LPCWSTR digestMethod) {
return This->lpVtbl->SetDigestMethod(This,digestMethod);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetSignaturePartName(IXpsSigningOptions* This,IOpcPartUri **signaturePartName) {
return This->lpVtbl->GetSignaturePartName(This,signaturePartName);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetSignaturePartName(IXpsSigningOptions* This,IOpcPartUri *signaturePartName) {
return This->lpVtbl->SetSignaturePartName(This,signaturePartName);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetPolicy(IXpsSigningOptions* This,XPS_SIGN_POLICY *policy) {
return This->lpVtbl->GetPolicy(This,policy);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetPolicy(IXpsSigningOptions* This,XPS_SIGN_POLICY policy) {
return This->lpVtbl->SetPolicy(This,policy);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetSigningTimeFormat(IXpsSigningOptions* This,OPC_SIGNATURE_TIME_FORMAT *timeFormat) {
return This->lpVtbl->GetSigningTimeFormat(This,timeFormat);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetSigningTimeFormat(IXpsSigningOptions* This,OPC_SIGNATURE_TIME_FORMAT timeFormat) {
return This->lpVtbl->SetSigningTimeFormat(This,timeFormat);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetCustomObjects(IXpsSigningOptions* This,IOpcSignatureCustomObjectSet **customObjectSet) {
return This->lpVtbl->GetCustomObjects(This,customObjectSet);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetCustomReferences(IXpsSigningOptions* This,IOpcSignatureReferenceSet **customReferenceSet) {
return This->lpVtbl->GetCustomReferences(This,customReferenceSet);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetCertificateSet(IXpsSigningOptions* This,IOpcCertificateSet **certificateSet) {
return This->lpVtbl->GetCertificateSet(This,certificateSet);
}
static FORCEINLINE HRESULT IXpsSigningOptions_GetFlags(IXpsSigningOptions* This,XPS_SIGN_FLAGS *flags) {
return This->lpVtbl->GetFlags(This,flags);
}
static FORCEINLINE HRESULT IXpsSigningOptions_SetFlags(IXpsSigningOptions* This,XPS_SIGN_FLAGS flags) {
return This->lpVtbl->SetFlags(This,flags);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetSignatureId_Proxy(
IXpsSigningOptions* This,
LPWSTR *signatureId);
void __RPC_STUB IXpsSigningOptions_GetSignatureId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetSignatureId_Proxy(
IXpsSigningOptions* This,
LPCWSTR signatureId);
void __RPC_STUB IXpsSigningOptions_SetSignatureId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetSignatureMethod_Proxy(
IXpsSigningOptions* This,
LPWSTR *signatureMethod);
void __RPC_STUB IXpsSigningOptions_GetSignatureMethod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetSignatureMethod_Proxy(
IXpsSigningOptions* This,
LPCWSTR signatureMethod);
void __RPC_STUB IXpsSigningOptions_SetSignatureMethod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetDigestMethod_Proxy(
IXpsSigningOptions* This,
LPWSTR *digestMethod);
void __RPC_STUB IXpsSigningOptions_GetDigestMethod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetDigestMethod_Proxy(
IXpsSigningOptions* This,
LPCWSTR digestMethod);
void __RPC_STUB IXpsSigningOptions_SetDigestMethod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetSignaturePartName_Proxy(
IXpsSigningOptions* This,
IOpcPartUri **signaturePartName);
void __RPC_STUB IXpsSigningOptions_GetSignaturePartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetSignaturePartName_Proxy(
IXpsSigningOptions* This,
IOpcPartUri *signaturePartName);
void __RPC_STUB IXpsSigningOptions_SetSignaturePartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetPolicy_Proxy(
IXpsSigningOptions* This,
XPS_SIGN_POLICY *policy);
void __RPC_STUB IXpsSigningOptions_GetPolicy_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetPolicy_Proxy(
IXpsSigningOptions* This,
XPS_SIGN_POLICY policy);
void __RPC_STUB IXpsSigningOptions_SetPolicy_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetSigningTimeFormat_Proxy(
IXpsSigningOptions* This,
OPC_SIGNATURE_TIME_FORMAT *timeFormat);
void __RPC_STUB IXpsSigningOptions_GetSigningTimeFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetSigningTimeFormat_Proxy(
IXpsSigningOptions* This,
OPC_SIGNATURE_TIME_FORMAT timeFormat);
void __RPC_STUB IXpsSigningOptions_SetSigningTimeFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetCustomObjects_Proxy(
IXpsSigningOptions* This,
IOpcSignatureCustomObjectSet **customObjectSet);
void __RPC_STUB IXpsSigningOptions_GetCustomObjects_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetCustomReferences_Proxy(
IXpsSigningOptions* This,
IOpcSignatureReferenceSet **customReferenceSet);
void __RPC_STUB IXpsSigningOptions_GetCustomReferences_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetCertificateSet_Proxy(
IXpsSigningOptions* This,
IOpcCertificateSet **certificateSet);
void __RPC_STUB IXpsSigningOptions_GetCertificateSet_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_GetFlags_Proxy(
IXpsSigningOptions* This,
XPS_SIGN_FLAGS *flags);
void __RPC_STUB IXpsSigningOptions_GetFlags_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSigningOptions_SetFlags_Proxy(
IXpsSigningOptions* This,
XPS_SIGN_FLAGS flags);
void __RPC_STUB IXpsSigningOptions_SetFlags_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSigningOptions_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignature interface
*/
#ifndef __IXpsSignature_INTERFACE_DEFINED__
#define __IXpsSignature_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignature, 0x6ae4c93e, 0x1ade, 0x42fb, 0x89,0x8b, 0x3a,0x56,0x58,0x28,0x48,0x57);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6ae4c93e-1ade-42fb-898b-3a5658284857")
IXpsSignature : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetSignatureId(
LPWSTR *sigId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatureValue(
UINT8 **signatureHashValue,
UINT32 *count) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCertificateEnumerator(
IOpcCertificateEnumerator **certificateEnumerator) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSigningTime(
LPWSTR *sigDateTimeString) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSigningTimeFormat(
OPC_SIGNATURE_TIME_FORMAT *timeFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignaturePartName(
IOpcPartUri **signaturePartName) = 0;
virtual HRESULT STDMETHODCALLTYPE Verify(
const CERT_CONTEXT *x509Certificate,
XPS_SIGNATURE_STATUS *sigStatus) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPolicy(
XPS_SIGN_POLICY *policy) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomObjectEnumerator(
IOpcSignatureCustomObjectEnumerator **customObjectEnumerator) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomReferenceEnumerator(
IOpcSignatureReferenceEnumerator **customReferenceEnumerator) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatureXml(
UINT8 **signatureXml,
UINT32 *count) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignatureXml(
const UINT8 *signatureXml,
UINT32 count) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignature, 0x6ae4c93e, 0x1ade, 0x42fb, 0x89,0x8b, 0x3a,0x56,0x58,0x28,0x48,0x57)
#endif
#else
typedef struct IXpsSignatureVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignature* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignature* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignature* This);
/*** IXpsSignature methods ***/
HRESULT (STDMETHODCALLTYPE *GetSignatureId)(
IXpsSignature* This,
LPWSTR *sigId);
HRESULT (STDMETHODCALLTYPE *GetSignatureValue)(
IXpsSignature* This,
UINT8 **signatureHashValue,
UINT32 *count);
HRESULT (STDMETHODCALLTYPE *GetCertificateEnumerator)(
IXpsSignature* This,
IOpcCertificateEnumerator **certificateEnumerator);
HRESULT (STDMETHODCALLTYPE *GetSigningTime)(
IXpsSignature* This,
LPWSTR *sigDateTimeString);
HRESULT (STDMETHODCALLTYPE *GetSigningTimeFormat)(
IXpsSignature* This,
OPC_SIGNATURE_TIME_FORMAT *timeFormat);
HRESULT (STDMETHODCALLTYPE *GetSignaturePartName)(
IXpsSignature* This,
IOpcPartUri **signaturePartName);
HRESULT (STDMETHODCALLTYPE *Verify)(
IXpsSignature* This,
const CERT_CONTEXT *x509Certificate,
XPS_SIGNATURE_STATUS *sigStatus);
HRESULT (STDMETHODCALLTYPE *GetPolicy)(
IXpsSignature* This,
XPS_SIGN_POLICY *policy);
HRESULT (STDMETHODCALLTYPE *GetCustomObjectEnumerator)(
IXpsSignature* This,
IOpcSignatureCustomObjectEnumerator **customObjectEnumerator);
HRESULT (STDMETHODCALLTYPE *GetCustomReferenceEnumerator)(
IXpsSignature* This,
IOpcSignatureReferenceEnumerator **customReferenceEnumerator);
HRESULT (STDMETHODCALLTYPE *GetSignatureXml)(
IXpsSignature* This,
UINT8 **signatureXml,
UINT32 *count);
HRESULT (STDMETHODCALLTYPE *SetSignatureXml)(
IXpsSignature* This,
const UINT8 *signatureXml,
UINT32 count);
END_INTERFACE
} IXpsSignatureVtbl;
interface IXpsSignature {
CONST_VTBL IXpsSignatureVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignature_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignature_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignature_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignature methods ***/
#define IXpsSignature_GetSignatureId(This,sigId) (This)->lpVtbl->GetSignatureId(This,sigId)
#define IXpsSignature_GetSignatureValue(This,signatureHashValue,count) (This)->lpVtbl->GetSignatureValue(This,signatureHashValue,count)
#define IXpsSignature_GetCertificateEnumerator(This,certificateEnumerator) (This)->lpVtbl->GetCertificateEnumerator(This,certificateEnumerator)
#define IXpsSignature_GetSigningTime(This,sigDateTimeString) (This)->lpVtbl->GetSigningTime(This,sigDateTimeString)
#define IXpsSignature_GetSigningTimeFormat(This,timeFormat) (This)->lpVtbl->GetSigningTimeFormat(This,timeFormat)
#define IXpsSignature_GetSignaturePartName(This,signaturePartName) (This)->lpVtbl->GetSignaturePartName(This,signaturePartName)
#define IXpsSignature_Verify(This,x509Certificate,sigStatus) (This)->lpVtbl->Verify(This,x509Certificate,sigStatus)
#define IXpsSignature_GetPolicy(This,policy) (This)->lpVtbl->GetPolicy(This,policy)
#define IXpsSignature_GetCustomObjectEnumerator(This,customObjectEnumerator) (This)->lpVtbl->GetCustomObjectEnumerator(This,customObjectEnumerator)
#define IXpsSignature_GetCustomReferenceEnumerator(This,customReferenceEnumerator) (This)->lpVtbl->GetCustomReferenceEnumerator(This,customReferenceEnumerator)
#define IXpsSignature_GetSignatureXml(This,signatureXml,count) (This)->lpVtbl->GetSignatureXml(This,signatureXml,count)
#define IXpsSignature_SetSignatureXml(This,signatureXml,count) (This)->lpVtbl->SetSignatureXml(This,signatureXml,count)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignature_QueryInterface(IXpsSignature* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignature_AddRef(IXpsSignature* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignature_Release(IXpsSignature* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignature methods ***/
static FORCEINLINE HRESULT IXpsSignature_GetSignatureId(IXpsSignature* This,LPWSTR *sigId) {
return This->lpVtbl->GetSignatureId(This,sigId);
}
static FORCEINLINE HRESULT IXpsSignature_GetSignatureValue(IXpsSignature* This,UINT8 **signatureHashValue,UINT32 *count) {
return This->lpVtbl->GetSignatureValue(This,signatureHashValue,count);
}
static FORCEINLINE HRESULT IXpsSignature_GetCertificateEnumerator(IXpsSignature* This,IOpcCertificateEnumerator **certificateEnumerator) {
return This->lpVtbl->GetCertificateEnumerator(This,certificateEnumerator);
}
static FORCEINLINE HRESULT IXpsSignature_GetSigningTime(IXpsSignature* This,LPWSTR *sigDateTimeString) {
return This->lpVtbl->GetSigningTime(This,sigDateTimeString);
}
static FORCEINLINE HRESULT IXpsSignature_GetSigningTimeFormat(IXpsSignature* This,OPC_SIGNATURE_TIME_FORMAT *timeFormat) {
return This->lpVtbl->GetSigningTimeFormat(This,timeFormat);
}
static FORCEINLINE HRESULT IXpsSignature_GetSignaturePartName(IXpsSignature* This,IOpcPartUri **signaturePartName) {
return This->lpVtbl->GetSignaturePartName(This,signaturePartName);
}
static FORCEINLINE HRESULT IXpsSignature_Verify(IXpsSignature* This,const CERT_CONTEXT *x509Certificate,XPS_SIGNATURE_STATUS *sigStatus) {
return This->lpVtbl->Verify(This,x509Certificate,sigStatus);
}
static FORCEINLINE HRESULT IXpsSignature_GetPolicy(IXpsSignature* This,XPS_SIGN_POLICY *policy) {
return This->lpVtbl->GetPolicy(This,policy);
}
static FORCEINLINE HRESULT IXpsSignature_GetCustomObjectEnumerator(IXpsSignature* This,IOpcSignatureCustomObjectEnumerator **customObjectEnumerator) {
return This->lpVtbl->GetCustomObjectEnumerator(This,customObjectEnumerator);
}
static FORCEINLINE HRESULT IXpsSignature_GetCustomReferenceEnumerator(IXpsSignature* This,IOpcSignatureReferenceEnumerator **customReferenceEnumerator) {
return This->lpVtbl->GetCustomReferenceEnumerator(This,customReferenceEnumerator);
}
static FORCEINLINE HRESULT IXpsSignature_GetSignatureXml(IXpsSignature* This,UINT8 **signatureXml,UINT32 *count) {
return This->lpVtbl->GetSignatureXml(This,signatureXml,count);
}
static FORCEINLINE HRESULT IXpsSignature_SetSignatureXml(IXpsSignature* This,const UINT8 *signatureXml,UINT32 count) {
return This->lpVtbl->SetSignatureXml(This,signatureXml,count);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSignatureId_Proxy(
IXpsSignature* This,
LPWSTR *sigId);
void __RPC_STUB IXpsSignature_GetSignatureId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSignatureValue_Proxy(
IXpsSignature* This,
UINT8 **signatureHashValue,
UINT32 *count);
void __RPC_STUB IXpsSignature_GetSignatureValue_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetCertificateEnumerator_Proxy(
IXpsSignature* This,
IOpcCertificateEnumerator **certificateEnumerator);
void __RPC_STUB IXpsSignature_GetCertificateEnumerator_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSigningTime_Proxy(
IXpsSignature* This,
LPWSTR *sigDateTimeString);
void __RPC_STUB IXpsSignature_GetSigningTime_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSigningTimeFormat_Proxy(
IXpsSignature* This,
OPC_SIGNATURE_TIME_FORMAT *timeFormat);
void __RPC_STUB IXpsSignature_GetSigningTimeFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSignaturePartName_Proxy(
IXpsSignature* This,
IOpcPartUri **signaturePartName);
void __RPC_STUB IXpsSignature_GetSignaturePartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_Verify_Proxy(
IXpsSignature* This,
const CERT_CONTEXT *x509Certificate,
XPS_SIGNATURE_STATUS *sigStatus);
void __RPC_STUB IXpsSignature_Verify_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetPolicy_Proxy(
IXpsSignature* This,
XPS_SIGN_POLICY *policy);
void __RPC_STUB IXpsSignature_GetPolicy_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetCustomObjectEnumerator_Proxy(
IXpsSignature* This,
IOpcSignatureCustomObjectEnumerator **customObjectEnumerator);
void __RPC_STUB IXpsSignature_GetCustomObjectEnumerator_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetCustomReferenceEnumerator_Proxy(
IXpsSignature* This,
IOpcSignatureReferenceEnumerator **customReferenceEnumerator);
void __RPC_STUB IXpsSignature_GetCustomReferenceEnumerator_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_GetSignatureXml_Proxy(
IXpsSignature* This,
UINT8 **signatureXml,
UINT32 *count);
void __RPC_STUB IXpsSignature_GetSignatureXml_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignature_SetSignatureXml_Proxy(
IXpsSignature* This,
const UINT8 *signatureXml,
UINT32 count);
void __RPC_STUB IXpsSignature_SetSignatureXml_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignature_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureBlock interface
*/
#ifndef __IXpsSignatureBlock_INTERFACE_DEFINED__
#define __IXpsSignatureBlock_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureBlock, 0x151fac09, 0x0b97, 0x4ac6, 0xa3,0x23, 0x5e,0x42,0x97,0xd4,0x32,0x2b);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("151fac09-0b97-4ac6-a323-5e4297d4322b")
IXpsSignatureBlock : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetRequests(
IXpsSignatureRequestCollection **requests) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPartName(
IOpcPartUri **partName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDocumentIndex(
UINT32 *fixedDocumentIndex) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDocumentName(
IOpcPartUri **fixedDocumentName) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRequest(
LPCWSTR requestId,
IXpsSignatureRequest **signatureRequest) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureBlock, 0x151fac09, 0x0b97, 0x4ac6, 0xa3,0x23, 0x5e,0x42,0x97,0xd4,0x32,0x2b)
#endif
#else
typedef struct IXpsSignatureBlockVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureBlock* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureBlock* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureBlock* This);
/*** IXpsSignatureBlock methods ***/
HRESULT (STDMETHODCALLTYPE *GetRequests)(
IXpsSignatureBlock* This,
IXpsSignatureRequestCollection **requests);
HRESULT (STDMETHODCALLTYPE *GetPartName)(
IXpsSignatureBlock* This,
IOpcPartUri **partName);
HRESULT (STDMETHODCALLTYPE *GetDocumentIndex)(
IXpsSignatureBlock* This,
UINT32 *fixedDocumentIndex);
HRESULT (STDMETHODCALLTYPE *GetDocumentName)(
IXpsSignatureBlock* This,
IOpcPartUri **fixedDocumentName);
HRESULT (STDMETHODCALLTYPE *CreateRequest)(
IXpsSignatureBlock* This,
LPCWSTR requestId,
IXpsSignatureRequest **signatureRequest);
END_INTERFACE
} IXpsSignatureBlockVtbl;
interface IXpsSignatureBlock {
CONST_VTBL IXpsSignatureBlockVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureBlock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureBlock_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureBlock_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureBlock methods ***/
#define IXpsSignatureBlock_GetRequests(This,requests) (This)->lpVtbl->GetRequests(This,requests)
#define IXpsSignatureBlock_GetPartName(This,partName) (This)->lpVtbl->GetPartName(This,partName)
#define IXpsSignatureBlock_GetDocumentIndex(This,fixedDocumentIndex) (This)->lpVtbl->GetDocumentIndex(This,fixedDocumentIndex)
#define IXpsSignatureBlock_GetDocumentName(This,fixedDocumentName) (This)->lpVtbl->GetDocumentName(This,fixedDocumentName)
#define IXpsSignatureBlock_CreateRequest(This,requestId,signatureRequest) (This)->lpVtbl->CreateRequest(This,requestId,signatureRequest)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureBlock_QueryInterface(IXpsSignatureBlock* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureBlock_AddRef(IXpsSignatureBlock* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureBlock_Release(IXpsSignatureBlock* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureBlock methods ***/
static FORCEINLINE HRESULT IXpsSignatureBlock_GetRequests(IXpsSignatureBlock* This,IXpsSignatureRequestCollection **requests) {
return This->lpVtbl->GetRequests(This,requests);
}
static FORCEINLINE HRESULT IXpsSignatureBlock_GetPartName(IXpsSignatureBlock* This,IOpcPartUri **partName) {
return This->lpVtbl->GetPartName(This,partName);
}
static FORCEINLINE HRESULT IXpsSignatureBlock_GetDocumentIndex(IXpsSignatureBlock* This,UINT32 *fixedDocumentIndex) {
return This->lpVtbl->GetDocumentIndex(This,fixedDocumentIndex);
}
static FORCEINLINE HRESULT IXpsSignatureBlock_GetDocumentName(IXpsSignatureBlock* This,IOpcPartUri **fixedDocumentName) {
return This->lpVtbl->GetDocumentName(This,fixedDocumentName);
}
static FORCEINLINE HRESULT IXpsSignatureBlock_CreateRequest(IXpsSignatureBlock* This,LPCWSTR requestId,IXpsSignatureRequest **signatureRequest) {
return This->lpVtbl->CreateRequest(This,requestId,signatureRequest);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureBlock_GetRequests_Proxy(
IXpsSignatureBlock* This,
IXpsSignatureRequestCollection **requests);
void __RPC_STUB IXpsSignatureBlock_GetRequests_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlock_GetPartName_Proxy(
IXpsSignatureBlock* This,
IOpcPartUri **partName);
void __RPC_STUB IXpsSignatureBlock_GetPartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlock_GetDocumentIndex_Proxy(
IXpsSignatureBlock* This,
UINT32 *fixedDocumentIndex);
void __RPC_STUB IXpsSignatureBlock_GetDocumentIndex_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlock_GetDocumentName_Proxy(
IXpsSignatureBlock* This,
IOpcPartUri **fixedDocumentName);
void __RPC_STUB IXpsSignatureBlock_GetDocumentName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlock_CreateRequest_Proxy(
IXpsSignatureBlock* This,
LPCWSTR requestId,
IXpsSignatureRequest **signatureRequest);
void __RPC_STUB IXpsSignatureBlock_CreateRequest_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureBlock_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureBlockCollection interface
*/
#ifndef __IXpsSignatureBlockCollection_INTERFACE_DEFINED__
#define __IXpsSignatureBlockCollection_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureBlockCollection, 0x23397050, 0xfe99, 0x467a, 0x8d,0xce, 0x92,0x37,0xf0,0x74,0xff,0xe4);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("23397050-fe99-467a-8dce-9237f074ffe4")
IXpsSignatureBlockCollection : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetCount(
UINT32 *count) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAt(
UINT32 index,
IXpsSignatureBlock **signatureBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveAt(
UINT32 index) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureBlockCollection, 0x23397050, 0xfe99, 0x467a, 0x8d,0xce, 0x92,0x37,0xf0,0x74,0xff,0xe4)
#endif
#else
typedef struct IXpsSignatureBlockCollectionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureBlockCollection* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureBlockCollection* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureBlockCollection* This);
/*** IXpsSignatureBlockCollection methods ***/
HRESULT (STDMETHODCALLTYPE *GetCount)(
IXpsSignatureBlockCollection* This,
UINT32 *count);
HRESULT (STDMETHODCALLTYPE *GetAt)(
IXpsSignatureBlockCollection* This,
UINT32 index,
IXpsSignatureBlock **signatureBlock);
HRESULT (STDMETHODCALLTYPE *RemoveAt)(
IXpsSignatureBlockCollection* This,
UINT32 index);
END_INTERFACE
} IXpsSignatureBlockCollectionVtbl;
interface IXpsSignatureBlockCollection {
CONST_VTBL IXpsSignatureBlockCollectionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureBlockCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureBlockCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureBlockCollection_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureBlockCollection methods ***/
#define IXpsSignatureBlockCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
#define IXpsSignatureBlockCollection_GetAt(This,index,signatureBlock) (This)->lpVtbl->GetAt(This,index,signatureBlock)
#define IXpsSignatureBlockCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureBlockCollection_QueryInterface(IXpsSignatureBlockCollection* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureBlockCollection_AddRef(IXpsSignatureBlockCollection* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureBlockCollection_Release(IXpsSignatureBlockCollection* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureBlockCollection methods ***/
static FORCEINLINE HRESULT IXpsSignatureBlockCollection_GetCount(IXpsSignatureBlockCollection* This,UINT32 *count) {
return This->lpVtbl->GetCount(This,count);
}
static FORCEINLINE HRESULT IXpsSignatureBlockCollection_GetAt(IXpsSignatureBlockCollection* This,UINT32 index,IXpsSignatureBlock **signatureBlock) {
return This->lpVtbl->GetAt(This,index,signatureBlock);
}
static FORCEINLINE HRESULT IXpsSignatureBlockCollection_RemoveAt(IXpsSignatureBlockCollection* This,UINT32 index) {
return This->lpVtbl->RemoveAt(This,index);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureBlockCollection_GetCount_Proxy(
IXpsSignatureBlockCollection* This,
UINT32 *count);
void __RPC_STUB IXpsSignatureBlockCollection_GetCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlockCollection_GetAt_Proxy(
IXpsSignatureBlockCollection* This,
UINT32 index,
IXpsSignatureBlock **signatureBlock);
void __RPC_STUB IXpsSignatureBlockCollection_GetAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureBlockCollection_RemoveAt_Proxy(
IXpsSignatureBlockCollection* This,
UINT32 index);
void __RPC_STUB IXpsSignatureBlockCollection_RemoveAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureBlockCollection_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureCollection interface
*/
#ifndef __IXpsSignatureCollection_INTERFACE_DEFINED__
#define __IXpsSignatureCollection_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureCollection, 0xa2d1d95d, 0xadd2, 0x4dff, 0xab,0x27, 0x6b,0x9c,0x64,0x5f,0xf3,0x22);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a2d1d95d-add2-4dff-ab27-6b9c645ff322")
IXpsSignatureCollection : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetCount(
UINT32 *count) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAt(
UINT32 index,
IXpsSignature **signature) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveAt(
UINT32 index) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureCollection, 0xa2d1d95d, 0xadd2, 0x4dff, 0xab,0x27, 0x6b,0x9c,0x64,0x5f,0xf3,0x22)
#endif
#else
typedef struct IXpsSignatureCollectionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureCollection* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureCollection* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureCollection* This);
/*** IXpsSignatureCollection methods ***/
HRESULT (STDMETHODCALLTYPE *GetCount)(
IXpsSignatureCollection* This,
UINT32 *count);
HRESULT (STDMETHODCALLTYPE *GetAt)(
IXpsSignatureCollection* This,
UINT32 index,
IXpsSignature **signature);
HRESULT (STDMETHODCALLTYPE *RemoveAt)(
IXpsSignatureCollection* This,
UINT32 index);
END_INTERFACE
} IXpsSignatureCollectionVtbl;
interface IXpsSignatureCollection {
CONST_VTBL IXpsSignatureCollectionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureCollection_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureCollection methods ***/
#define IXpsSignatureCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
#define IXpsSignatureCollection_GetAt(This,index,signature) (This)->lpVtbl->GetAt(This,index,signature)
#define IXpsSignatureCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureCollection_QueryInterface(IXpsSignatureCollection* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureCollection_AddRef(IXpsSignatureCollection* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureCollection_Release(IXpsSignatureCollection* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureCollection methods ***/
static FORCEINLINE HRESULT IXpsSignatureCollection_GetCount(IXpsSignatureCollection* This,UINT32 *count) {
return This->lpVtbl->GetCount(This,count);
}
static FORCEINLINE HRESULT IXpsSignatureCollection_GetAt(IXpsSignatureCollection* This,UINT32 index,IXpsSignature **signature) {
return This->lpVtbl->GetAt(This,index,signature);
}
static FORCEINLINE HRESULT IXpsSignatureCollection_RemoveAt(IXpsSignatureCollection* This,UINT32 index) {
return This->lpVtbl->RemoveAt(This,index);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureCollection_GetCount_Proxy(
IXpsSignatureCollection* This,
UINT32 *count);
void __RPC_STUB IXpsSignatureCollection_GetCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureCollection_GetAt_Proxy(
IXpsSignatureCollection* This,
UINT32 index,
IXpsSignature **signature);
void __RPC_STUB IXpsSignatureCollection_GetAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureCollection_RemoveAt_Proxy(
IXpsSignatureCollection* This,
UINT32 index);
void __RPC_STUB IXpsSignatureCollection_RemoveAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureCollection_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureManager interface
*/
#ifndef __IXpsSignatureManager_INTERFACE_DEFINED__
#define __IXpsSignatureManager_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureManager, 0xd3e8d338, 0xfdc4, 0x4afc, 0x80,0xb5, 0xd5,0x32,0xa1,0x78,0x2e,0xe1);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d3e8d338-fdc4-4afc-80b5-d532a1782ee1")
IXpsSignatureManager : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE LoadPackageFile(
LPCWSTR fileName) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadPackageStream(
IStream *stream) = 0;
virtual HRESULT STDMETHODCALLTYPE Sign(
IXpsSigningOptions *signOptions,
const CERT_CONTEXT *x509Certificate,
IXpsSignature **signature) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatureOriginPartName(
IOpcPartUri **signatureOriginPartName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignatureOriginPartName(
IOpcPartUri *signatureOriginPartName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatures(
IXpsSignatureCollection **signatures) = 0;
virtual HRESULT STDMETHODCALLTYPE AddSignatureBlock(
IOpcPartUri *partName,
UINT32 fixedDocumentIndex,
IXpsSignatureBlock **signatureBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignatureBlocks(
IXpsSignatureBlockCollection **signatureBlocks) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateSigningOptions(
IXpsSigningOptions **signingOptions) = 0;
virtual HRESULT STDMETHODCALLTYPE SavePackageToFile(
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes) = 0;
virtual HRESULT STDMETHODCALLTYPE SavePackageToStream(
IStream *stream) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureManager, 0xd3e8d338, 0xfdc4, 0x4afc, 0x80,0xb5, 0xd5,0x32,0xa1,0x78,0x2e,0xe1)
#endif
#else
typedef struct IXpsSignatureManagerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureManager* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureManager* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureManager* This);
/*** IXpsSignatureManager methods ***/
HRESULT (STDMETHODCALLTYPE *LoadPackageFile)(
IXpsSignatureManager* This,
LPCWSTR fileName);
HRESULT (STDMETHODCALLTYPE *LoadPackageStream)(
IXpsSignatureManager* This,
IStream *stream);
HRESULT (STDMETHODCALLTYPE *Sign)(
IXpsSignatureManager* This,
IXpsSigningOptions *signOptions,
const CERT_CONTEXT *x509Certificate,
IXpsSignature **signature);
HRESULT (STDMETHODCALLTYPE *GetSignatureOriginPartName)(
IXpsSignatureManager* This,
IOpcPartUri **signatureOriginPartName);
HRESULT (STDMETHODCALLTYPE *SetSignatureOriginPartName)(
IXpsSignatureManager* This,
IOpcPartUri *signatureOriginPartName);
HRESULT (STDMETHODCALLTYPE *GetSignatures)(
IXpsSignatureManager* This,
IXpsSignatureCollection **signatures);
HRESULT (STDMETHODCALLTYPE *AddSignatureBlock)(
IXpsSignatureManager* This,
IOpcPartUri *partName,
UINT32 fixedDocumentIndex,
IXpsSignatureBlock **signatureBlock);
HRESULT (STDMETHODCALLTYPE *GetSignatureBlocks)(
IXpsSignatureManager* This,
IXpsSignatureBlockCollection **signatureBlocks);
HRESULT (STDMETHODCALLTYPE *CreateSigningOptions)(
IXpsSignatureManager* This,
IXpsSigningOptions **signingOptions);
HRESULT (STDMETHODCALLTYPE *SavePackageToFile)(
IXpsSignatureManager* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes);
HRESULT (STDMETHODCALLTYPE *SavePackageToStream)(
IXpsSignatureManager* This,
IStream *stream);
END_INTERFACE
} IXpsSignatureManagerVtbl;
interface IXpsSignatureManager {
CONST_VTBL IXpsSignatureManagerVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureManager_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureManager_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureManager methods ***/
#define IXpsSignatureManager_LoadPackageFile(This,fileName) (This)->lpVtbl->LoadPackageFile(This,fileName)
#define IXpsSignatureManager_LoadPackageStream(This,stream) (This)->lpVtbl->LoadPackageStream(This,stream)
#define IXpsSignatureManager_Sign(This,signOptions,x509Certificate,signature) (This)->lpVtbl->Sign(This,signOptions,x509Certificate,signature)
#define IXpsSignatureManager_GetSignatureOriginPartName(This,signatureOriginPartName) (This)->lpVtbl->GetSignatureOriginPartName(This,signatureOriginPartName)
#define IXpsSignatureManager_SetSignatureOriginPartName(This,signatureOriginPartName) (This)->lpVtbl->SetSignatureOriginPartName(This,signatureOriginPartName)
#define IXpsSignatureManager_GetSignatures(This,signatures) (This)->lpVtbl->GetSignatures(This,signatures)
#define IXpsSignatureManager_AddSignatureBlock(This,partName,fixedDocumentIndex,signatureBlock) (This)->lpVtbl->AddSignatureBlock(This,partName,fixedDocumentIndex,signatureBlock)
#define IXpsSignatureManager_GetSignatureBlocks(This,signatureBlocks) (This)->lpVtbl->GetSignatureBlocks(This,signatureBlocks)
#define IXpsSignatureManager_CreateSigningOptions(This,signingOptions) (This)->lpVtbl->CreateSigningOptions(This,signingOptions)
#define IXpsSignatureManager_SavePackageToFile(This,fileName,securityAttributes,flagsAndAttributes) (This)->lpVtbl->SavePackageToFile(This,fileName,securityAttributes,flagsAndAttributes)
#define IXpsSignatureManager_SavePackageToStream(This,stream) (This)->lpVtbl->SavePackageToStream(This,stream)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureManager_QueryInterface(IXpsSignatureManager* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureManager_AddRef(IXpsSignatureManager* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureManager_Release(IXpsSignatureManager* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureManager methods ***/
static FORCEINLINE HRESULT IXpsSignatureManager_LoadPackageFile(IXpsSignatureManager* This,LPCWSTR fileName) {
return This->lpVtbl->LoadPackageFile(This,fileName);
}
static FORCEINLINE HRESULT IXpsSignatureManager_LoadPackageStream(IXpsSignatureManager* This,IStream *stream) {
return This->lpVtbl->LoadPackageStream(This,stream);
}
static FORCEINLINE HRESULT IXpsSignatureManager_Sign(IXpsSignatureManager* This,IXpsSigningOptions *signOptions,const CERT_CONTEXT *x509Certificate,IXpsSignature **signature) {
return This->lpVtbl->Sign(This,signOptions,x509Certificate,signature);
}
static FORCEINLINE HRESULT IXpsSignatureManager_GetSignatureOriginPartName(IXpsSignatureManager* This,IOpcPartUri **signatureOriginPartName) {
return This->lpVtbl->GetSignatureOriginPartName(This,signatureOriginPartName);
}
static FORCEINLINE HRESULT IXpsSignatureManager_SetSignatureOriginPartName(IXpsSignatureManager* This,IOpcPartUri *signatureOriginPartName) {
return This->lpVtbl->SetSignatureOriginPartName(This,signatureOriginPartName);
}
static FORCEINLINE HRESULT IXpsSignatureManager_GetSignatures(IXpsSignatureManager* This,IXpsSignatureCollection **signatures) {
return This->lpVtbl->GetSignatures(This,signatures);
}
static FORCEINLINE HRESULT IXpsSignatureManager_AddSignatureBlock(IXpsSignatureManager* This,IOpcPartUri *partName,UINT32 fixedDocumentIndex,IXpsSignatureBlock **signatureBlock) {
return This->lpVtbl->AddSignatureBlock(This,partName,fixedDocumentIndex,signatureBlock);
}
static FORCEINLINE HRESULT IXpsSignatureManager_GetSignatureBlocks(IXpsSignatureManager* This,IXpsSignatureBlockCollection **signatureBlocks) {
return This->lpVtbl->GetSignatureBlocks(This,signatureBlocks);
}
static FORCEINLINE HRESULT IXpsSignatureManager_CreateSigningOptions(IXpsSignatureManager* This,IXpsSigningOptions **signingOptions) {
return This->lpVtbl->CreateSigningOptions(This,signingOptions);
}
static FORCEINLINE HRESULT IXpsSignatureManager_SavePackageToFile(IXpsSignatureManager* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes) {
return This->lpVtbl->SavePackageToFile(This,fileName,securityAttributes,flagsAndAttributes);
}
static FORCEINLINE HRESULT IXpsSignatureManager_SavePackageToStream(IXpsSignatureManager* This,IStream *stream) {
return This->lpVtbl->SavePackageToStream(This,stream);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_LoadPackageFile_Proxy(
IXpsSignatureManager* This,
LPCWSTR fileName);
void __RPC_STUB IXpsSignatureManager_LoadPackageFile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_LoadPackageStream_Proxy(
IXpsSignatureManager* This,
IStream *stream);
void __RPC_STUB IXpsSignatureManager_LoadPackageStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_Sign_Proxy(
IXpsSignatureManager* This,
IXpsSigningOptions *signOptions,
const CERT_CONTEXT *x509Certificate,
IXpsSignature **signature);
void __RPC_STUB IXpsSignatureManager_Sign_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_GetSignatureOriginPartName_Proxy(
IXpsSignatureManager* This,
IOpcPartUri **signatureOriginPartName);
void __RPC_STUB IXpsSignatureManager_GetSignatureOriginPartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_SetSignatureOriginPartName_Proxy(
IXpsSignatureManager* This,
IOpcPartUri *signatureOriginPartName);
void __RPC_STUB IXpsSignatureManager_SetSignatureOriginPartName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_GetSignatures_Proxy(
IXpsSignatureManager* This,
IXpsSignatureCollection **signatures);
void __RPC_STUB IXpsSignatureManager_GetSignatures_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_AddSignatureBlock_Proxy(
IXpsSignatureManager* This,
IOpcPartUri *partName,
UINT32 fixedDocumentIndex,
IXpsSignatureBlock **signatureBlock);
void __RPC_STUB IXpsSignatureManager_AddSignatureBlock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_GetSignatureBlocks_Proxy(
IXpsSignatureManager* This,
IXpsSignatureBlockCollection **signatureBlocks);
void __RPC_STUB IXpsSignatureManager_GetSignatureBlocks_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_CreateSigningOptions_Proxy(
IXpsSignatureManager* This,
IXpsSigningOptions **signingOptions);
void __RPC_STUB IXpsSignatureManager_CreateSigningOptions_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_SavePackageToFile_Proxy(
IXpsSignatureManager* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes);
void __RPC_STUB IXpsSignatureManager_SavePackageToFile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureManager_SavePackageToStream_Proxy(
IXpsSignatureManager* This,
IStream *stream);
void __RPC_STUB IXpsSignatureManager_SavePackageToStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureManager_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureRequest interface
*/
#ifndef __IXpsSignatureRequest_INTERFACE_DEFINED__
#define __IXpsSignatureRequest_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureRequest, 0xac58950b, 0x7208, 0x4b2d, 0xb2,0xc4, 0x95,0x10,0x83,0xd3,0xb8,0xeb);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ac58950b-7208-4b2d-b2c4-951083d3b8eb")
IXpsSignatureRequest : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetIntent(
LPWSTR *intent) = 0;
virtual HRESULT STDMETHODCALLTYPE SetIntent(
LPCWSTR intent) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRequestedSigner(
LPWSTR *signerName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetRequestedSigner(
LPCWSTR signerName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRequestSignByDate(
LPWSTR *dateString) = 0;
virtual HRESULT STDMETHODCALLTYPE SetRequestSignByDate(
LPCWSTR dateString) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSigningLocale(
LPWSTR *place) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSigningLocale(
LPCWSTR place) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSpotLocation(
INT32 *pageIndex,
IOpcPartUri **pagePartName,
float *x,
float *y) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSpotLocation(
INT32 pageIndex,
float x,
float y) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRequestId(
LPWSTR *requestId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignature(
IXpsSignature **signature) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureRequest, 0xac58950b, 0x7208, 0x4b2d, 0xb2,0xc4, 0x95,0x10,0x83,0xd3,0xb8,0xeb)
#endif
#else
typedef struct IXpsSignatureRequestVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureRequest* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureRequest* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureRequest* This);
/*** IXpsSignatureRequest methods ***/
HRESULT (STDMETHODCALLTYPE *GetIntent)(
IXpsSignatureRequest* This,
LPWSTR *intent);
HRESULT (STDMETHODCALLTYPE *SetIntent)(
IXpsSignatureRequest* This,
LPCWSTR intent);
HRESULT (STDMETHODCALLTYPE *GetRequestedSigner)(
IXpsSignatureRequest* This,
LPWSTR *signerName);
HRESULT (STDMETHODCALLTYPE *SetRequestedSigner)(
IXpsSignatureRequest* This,
LPCWSTR signerName);
HRESULT (STDMETHODCALLTYPE *GetRequestSignByDate)(
IXpsSignatureRequest* This,
LPWSTR *dateString);
HRESULT (STDMETHODCALLTYPE *SetRequestSignByDate)(
IXpsSignatureRequest* This,
LPCWSTR dateString);
HRESULT (STDMETHODCALLTYPE *GetSigningLocale)(
IXpsSignatureRequest* This,
LPWSTR *place);
HRESULT (STDMETHODCALLTYPE *SetSigningLocale)(
IXpsSignatureRequest* This,
LPCWSTR place);
HRESULT (STDMETHODCALLTYPE *GetSpotLocation)(
IXpsSignatureRequest* This,
INT32 *pageIndex,
IOpcPartUri **pagePartName,
float *x,
float *y);
HRESULT (STDMETHODCALLTYPE *SetSpotLocation)(
IXpsSignatureRequest* This,
INT32 pageIndex,
float x,
float y);
HRESULT (STDMETHODCALLTYPE *GetRequestId)(
IXpsSignatureRequest* This,
LPWSTR *requestId);
HRESULT (STDMETHODCALLTYPE *GetSignature)(
IXpsSignatureRequest* This,
IXpsSignature **signature);
END_INTERFACE
} IXpsSignatureRequestVtbl;
interface IXpsSignatureRequest {
CONST_VTBL IXpsSignatureRequestVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureRequest_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureRequest_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureRequest methods ***/
#define IXpsSignatureRequest_GetIntent(This,intent) (This)->lpVtbl->GetIntent(This,intent)
#define IXpsSignatureRequest_SetIntent(This,intent) (This)->lpVtbl->SetIntent(This,intent)
#define IXpsSignatureRequest_GetRequestedSigner(This,signerName) (This)->lpVtbl->GetRequestedSigner(This,signerName)
#define IXpsSignatureRequest_SetRequestedSigner(This,signerName) (This)->lpVtbl->SetRequestedSigner(This,signerName)
#define IXpsSignatureRequest_GetRequestSignByDate(This,dateString) (This)->lpVtbl->GetRequestSignByDate(This,dateString)
#define IXpsSignatureRequest_SetRequestSignByDate(This,dateString) (This)->lpVtbl->SetRequestSignByDate(This,dateString)
#define IXpsSignatureRequest_GetSigningLocale(This,place) (This)->lpVtbl->GetSigningLocale(This,place)
#define IXpsSignatureRequest_SetSigningLocale(This,place) (This)->lpVtbl->SetSigningLocale(This,place)
#define IXpsSignatureRequest_GetSpotLocation(This,pageIndex,pagePartName,x,y) (This)->lpVtbl->GetSpotLocation(This,pageIndex,pagePartName,x,y)
#define IXpsSignatureRequest_SetSpotLocation(This,pageIndex,x,y) (This)->lpVtbl->SetSpotLocation(This,pageIndex,x,y)
#define IXpsSignatureRequest_GetRequestId(This,requestId) (This)->lpVtbl->GetRequestId(This,requestId)
#define IXpsSignatureRequest_GetSignature(This,signature) (This)->lpVtbl->GetSignature(This,signature)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureRequest_QueryInterface(IXpsSignatureRequest* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureRequest_AddRef(IXpsSignatureRequest* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureRequest_Release(IXpsSignatureRequest* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureRequest methods ***/
static FORCEINLINE HRESULT IXpsSignatureRequest_GetIntent(IXpsSignatureRequest* This,LPWSTR *intent) {
return This->lpVtbl->GetIntent(This,intent);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_SetIntent(IXpsSignatureRequest* This,LPCWSTR intent) {
return This->lpVtbl->SetIntent(This,intent);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetRequestedSigner(IXpsSignatureRequest* This,LPWSTR *signerName) {
return This->lpVtbl->GetRequestedSigner(This,signerName);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_SetRequestedSigner(IXpsSignatureRequest* This,LPCWSTR signerName) {
return This->lpVtbl->SetRequestedSigner(This,signerName);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetRequestSignByDate(IXpsSignatureRequest* This,LPWSTR *dateString) {
return This->lpVtbl->GetRequestSignByDate(This,dateString);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_SetRequestSignByDate(IXpsSignatureRequest* This,LPCWSTR dateString) {
return This->lpVtbl->SetRequestSignByDate(This,dateString);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetSigningLocale(IXpsSignatureRequest* This,LPWSTR *place) {
return This->lpVtbl->GetSigningLocale(This,place);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_SetSigningLocale(IXpsSignatureRequest* This,LPCWSTR place) {
return This->lpVtbl->SetSigningLocale(This,place);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetSpotLocation(IXpsSignatureRequest* This,INT32 *pageIndex,IOpcPartUri **pagePartName,float *x,float *y) {
return This->lpVtbl->GetSpotLocation(This,pageIndex,pagePartName,x,y);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_SetSpotLocation(IXpsSignatureRequest* This,INT32 pageIndex,float x,float y) {
return This->lpVtbl->SetSpotLocation(This,pageIndex,x,y);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetRequestId(IXpsSignatureRequest* This,LPWSTR *requestId) {
return This->lpVtbl->GetRequestId(This,requestId);
}
static FORCEINLINE HRESULT IXpsSignatureRequest_GetSignature(IXpsSignatureRequest* This,IXpsSignature **signature) {
return This->lpVtbl->GetSignature(This,signature);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetIntent_Proxy(
IXpsSignatureRequest* This,
LPWSTR *intent);
void __RPC_STUB IXpsSignatureRequest_GetIntent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_SetIntent_Proxy(
IXpsSignatureRequest* This,
LPCWSTR intent);
void __RPC_STUB IXpsSignatureRequest_SetIntent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetRequestedSigner_Proxy(
IXpsSignatureRequest* This,
LPWSTR *signerName);
void __RPC_STUB IXpsSignatureRequest_GetRequestedSigner_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_SetRequestedSigner_Proxy(
IXpsSignatureRequest* This,
LPCWSTR signerName);
void __RPC_STUB IXpsSignatureRequest_SetRequestedSigner_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetRequestSignByDate_Proxy(
IXpsSignatureRequest* This,
LPWSTR *dateString);
void __RPC_STUB IXpsSignatureRequest_GetRequestSignByDate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_SetRequestSignByDate_Proxy(
IXpsSignatureRequest* This,
LPCWSTR dateString);
void __RPC_STUB IXpsSignatureRequest_SetRequestSignByDate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetSigningLocale_Proxy(
IXpsSignatureRequest* This,
LPWSTR *place);
void __RPC_STUB IXpsSignatureRequest_GetSigningLocale_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_SetSigningLocale_Proxy(
IXpsSignatureRequest* This,
LPCWSTR place);
void __RPC_STUB IXpsSignatureRequest_SetSigningLocale_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetSpotLocation_Proxy(
IXpsSignatureRequest* This,
INT32 *pageIndex,
IOpcPartUri **pagePartName,
float *x,
float *y);
void __RPC_STUB IXpsSignatureRequest_GetSpotLocation_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_SetSpotLocation_Proxy(
IXpsSignatureRequest* This,
INT32 pageIndex,
float x,
float y);
void __RPC_STUB IXpsSignatureRequest_SetSpotLocation_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetRequestId_Proxy(
IXpsSignatureRequest* This,
LPWSTR *requestId);
void __RPC_STUB IXpsSignatureRequest_GetRequestId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequest_GetSignature_Proxy(
IXpsSignatureRequest* This,
IXpsSignature **signature);
void __RPC_STUB IXpsSignatureRequest_GetSignature_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureRequest_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsSignatureRequestCollection interface
*/
#ifndef __IXpsSignatureRequestCollection_INTERFACE_DEFINED__
#define __IXpsSignatureRequestCollection_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsSignatureRequestCollection, 0xf0253e68, 0x9f19, 0x412e, 0x9b,0x4f, 0x54,0xd3,0xb0,0xac,0x6c,0xd9);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("f0253e68-9f19-412e-9b4f-54d3b0ac6cd9")
IXpsSignatureRequestCollection : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetCount(
UINT32 *count) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAt(
UINT32 index,
IXpsSignatureRequest **signatureRequest) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveAt(
UINT32 index) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsSignatureRequestCollection, 0xf0253e68, 0x9f19, 0x412e, 0x9b,0x4f, 0x54,0xd3,0xb0,0xac,0x6c,0xd9)
#endif
#else
typedef struct IXpsSignatureRequestCollectionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsSignatureRequestCollection* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsSignatureRequestCollection* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsSignatureRequestCollection* This);
/*** IXpsSignatureRequestCollection methods ***/
HRESULT (STDMETHODCALLTYPE *GetCount)(
IXpsSignatureRequestCollection* This,
UINT32 *count);
HRESULT (STDMETHODCALLTYPE *GetAt)(
IXpsSignatureRequestCollection* This,
UINT32 index,
IXpsSignatureRequest **signatureRequest);
HRESULT (STDMETHODCALLTYPE *RemoveAt)(
IXpsSignatureRequestCollection* This,
UINT32 index);
END_INTERFACE
} IXpsSignatureRequestCollectionVtbl;
interface IXpsSignatureRequestCollection {
CONST_VTBL IXpsSignatureRequestCollectionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsSignatureRequestCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsSignatureRequestCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsSignatureRequestCollection_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsSignatureRequestCollection methods ***/
#define IXpsSignatureRequestCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
#define IXpsSignatureRequestCollection_GetAt(This,index,signatureRequest) (This)->lpVtbl->GetAt(This,index,signatureRequest)
#define IXpsSignatureRequestCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsSignatureRequestCollection_QueryInterface(IXpsSignatureRequestCollection* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsSignatureRequestCollection_AddRef(IXpsSignatureRequestCollection* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsSignatureRequestCollection_Release(IXpsSignatureRequestCollection* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsSignatureRequestCollection methods ***/
static FORCEINLINE HRESULT IXpsSignatureRequestCollection_GetCount(IXpsSignatureRequestCollection* This,UINT32 *count) {
return This->lpVtbl->GetCount(This,count);
}
static FORCEINLINE HRESULT IXpsSignatureRequestCollection_GetAt(IXpsSignatureRequestCollection* This,UINT32 index,IXpsSignatureRequest **signatureRequest) {
return This->lpVtbl->GetAt(This,index,signatureRequest);
}
static FORCEINLINE HRESULT IXpsSignatureRequestCollection_RemoveAt(IXpsSignatureRequestCollection* This,UINT32 index) {
return This->lpVtbl->RemoveAt(This,index);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsSignatureRequestCollection_GetCount_Proxy(
IXpsSignatureRequestCollection* This,
UINT32 *count);
void __RPC_STUB IXpsSignatureRequestCollection_GetCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequestCollection_GetAt_Proxy(
IXpsSignatureRequestCollection* This,
UINT32 index,
IXpsSignatureRequest **signatureRequest);
void __RPC_STUB IXpsSignatureRequestCollection_GetAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsSignatureRequestCollection_RemoveAt_Proxy(
IXpsSignatureRequestCollection* This,
UINT32 index);
void __RPC_STUB IXpsSignatureRequestCollection_RemoveAt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsSignatureRequestCollection_INTERFACE_DEFINED__ */
/*****************************************************************************
* XpsSignatureManager coclass
*/
DEFINE_GUID(CLSID_XpsSignatureManager, 0xb0c43320, 0x2315, 0x44a2, 0xb7,0x0a, 0x09,0x43,0xa1,0x40,0xa8,0xee);
#ifdef __cplusplus
class DECLSPEC_UUID("b0c43320-2315-44a2-b70a-0943a140a8ee") XpsSignatureManager;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(XpsSignatureManager, 0xb0c43320, 0x2315, 0x44a2, 0xb7,0x0a, 0x09,0x43,0xa1,0x40,0xa8,0xee)
#endif
#endif
#endif
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __xpsdigitalsignature_h__ */
|