/usr/share/mingw-w64/include/xpsobjectmodel_1.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 | /*** Autogenerated by WIDL 1.6 from include/xpsobjectmodel_1.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 __xpsobjectmodel_1_h__
#define __xpsobjectmodel_1_h__
/* Forward declarations */
#ifndef __IXpsOMObjectFactory1_FWD_DEFINED__
#define __IXpsOMObjectFactory1_FWD_DEFINED__
typedef interface IXpsOMObjectFactory1 IXpsOMObjectFactory1;
#endif
#ifndef __IXpsOMPackage1_FWD_DEFINED__
#define __IXpsOMPackage1_FWD_DEFINED__
typedef interface IXpsOMPackage1 IXpsOMPackage1;
#endif
#ifndef __IXpsOMPage1_FWD_DEFINED__
#define __IXpsOMPage1_FWD_DEFINED__
typedef interface IXpsOMPage1 IXpsOMPage1;
#endif
#ifndef __IXpsDocumentPackageTarget_FWD_DEFINED__
#define __IXpsDocumentPackageTarget_FWD_DEFINED__
typedef interface IXpsDocumentPackageTarget IXpsDocumentPackageTarget;
#endif
#ifndef __IXpsOMRemoteDictionaryResource1_FWD_DEFINED__
#define __IXpsOMRemoteDictionaryResource1_FWD_DEFINED__
typedef interface IXpsOMRemoteDictionaryResource1 IXpsOMRemoteDictionaryResource1;
#endif
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#include <xpsobjectmodel.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <winapifamily.h>
#if NTDDI_VERSION >= 0x06020000
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#define XPS_E_INVALID_NUMBER_OF_POINTS_IN_CURVE_SEGMENTS MAKE_HRESULT(1, FACILITY_XPS, 0x600)
#define XPS_E_ABSOLUTE_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x601)
#define XPS_E_INVALID_NUMBER_OF_COLOR_CHANNELS MAKE_HRESULT(1, FACILITY_XPS, 0x602)
#ifndef __IXpsOMObjectFactory1_FWD_DEFINED__
#define __IXpsOMObjectFactory1_FWD_DEFINED__
typedef interface IXpsOMObjectFactory1 IXpsOMObjectFactory1;
#endif
#ifndef __IXpsOMPackage1_FWD_DEFINED__
#define __IXpsOMPackage1_FWD_DEFINED__
typedef interface IXpsOMPackage1 IXpsOMPackage1;
#endif
#ifndef __IXpsOMPage1_FWD_DEFINED__
#define __IXpsOMPage1_FWD_DEFINED__
typedef interface IXpsOMPage1 IXpsOMPage1;
#endif
typedef enum __WIDL_xpsobjectmodel_1_generated_name_00000038 {
XPS_DOCUMENT_TYPE_UNSPECIFIED = 1,
XPS_DOCUMENT_TYPE_XPS = 2,
XPS_DOCUMENT_TYPE_OPENXPS = 3
} XPS_DOCUMENT_TYPE;
/*****************************************************************************
* IXpsOMObjectFactory1 interface
*/
#ifndef __IXpsOMObjectFactory1_INTERFACE_DEFINED__
#define __IXpsOMObjectFactory1_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsOMObjectFactory1, 0x0a91b617, 0xd612, 0x4181, 0xbf,0x7c, 0xbe,0x58,0x24,0xe9,0xcc,0x8f);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0a91b617-d612-4181-bf7c-be5824e9cc8f")
IXpsOMObjectFactory1 : public IXpsOMObjectFactory
{
virtual HRESULT STDMETHODCALLTYPE GetDocumentTypeFromFile(
LPCWSTR filename,
XPS_DOCUMENT_TYPE *documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDocumentTypeFromStream(
IStream *xpsDocumentStream,
XPS_DOCUMENT_TYPE *documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE ConvertHDPhotoToJpegXR(
IXpsOMImageResource *imageResource) = 0;
virtual HRESULT STDMETHODCALLTYPE ConvertJpegXRToHDPhoto(
IXpsOMImageResource *imageResource) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnFile1(
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnStream1(
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePackage1(
IXpsOMPackage1 **package) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePackageFromStream1(
IStream *stream,
WINBOOL reuseObjects,
IXpsOMPackage1 **package) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePackageFromFile1(
LPCWSTR filename,
WINBOOL reuseObjects,
IXpsOMPackage1 **package) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePage1(
const XPS_SIZE *pageDimensions,
LPCWSTR language,
IOpcPartUri *partUri,
IXpsOMPage1 **page) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePageFromStream1(
IStream *pageMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
WINBOOL reuseObjects,
IXpsOMPage1 **page) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResourceFromStream1(
IStream *dictionaryMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
IXpsOMRemoteDictionaryResource **dictionaryResource) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsOMObjectFactory1, 0x0a91b617, 0xd612, 0x4181, 0xbf,0x7c, 0xbe,0x58,0x24,0xe9,0xcc,0x8f)
#endif
#else
typedef struct IXpsOMObjectFactory1Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsOMObjectFactory1* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsOMObjectFactory1* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsOMObjectFactory1* This);
/*** IXpsOMObjectFactory methods ***/
HRESULT (STDMETHODCALLTYPE *CreatePackage)(
IXpsOMObjectFactory1* This,
IXpsOMPackage **package);
HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile)(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
WINBOOL reuseObjects,
IXpsOMPackage **package);
HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream)(
IXpsOMObjectFactory1* This,
IStream *stream,
WINBOOL reuseObjects,
IXpsOMPackage **package);
HRESULT (STDMETHODCALLTYPE *CreateStoryFragmentsResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
IOpcPartUri *partUri,
IXpsOMStoryFragmentsResource **storyFragmentsResource);
HRESULT (STDMETHODCALLTYPE *CreateDocumentStructureResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
IOpcPartUri *partUri,
IXpsOMDocumentStructureResource **documentStructureResource);
HRESULT (STDMETHODCALLTYPE *CreateSignatureBlockResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
IOpcPartUri *partUri,
IXpsOMSignatureBlockResource **signatureBlockResource);
HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResource)(
IXpsOMObjectFactory1* This,
IXpsOMDictionary *dictionary,
IOpcPartUri *partUri,
IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream)(
IXpsOMObjectFactory1* This,
IStream *dictionaryMarkupStream,
IOpcPartUri *dictionaryPartUri,
IXpsOMPartResources *resources,
IXpsOMRemoteDictionaryResource **dictionaryResource);
HRESULT (STDMETHODCALLTYPE *CreatePartResources)(
IXpsOMObjectFactory1* This,
IXpsOMPartResources **partResources);
HRESULT (STDMETHODCALLTYPE *CreateDocumentSequence)(
IXpsOMObjectFactory1* This,
IOpcPartUri *partUri,
IXpsOMDocumentSequence **documentSequence);
HRESULT (STDMETHODCALLTYPE *CreateDocument)(
IXpsOMObjectFactory1* This,
IOpcPartUri *partUri,
IXpsOMDocument **document);
HRESULT (STDMETHODCALLTYPE *CreatePageReference)(
IXpsOMObjectFactory1* This,
const XPS_SIZE *advisoryPageDimensions,
IXpsOMPageReference **pageReference);
HRESULT (STDMETHODCALLTYPE *CreatePage)(
IXpsOMObjectFactory1* This,
const XPS_SIZE *pageDimensions,
LPCWSTR language,
IOpcPartUri *partUri,
IXpsOMPage **page);
HRESULT (STDMETHODCALLTYPE *CreatePageFromStream)(
IXpsOMObjectFactory1* This,
IStream *pageMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
WINBOOL reuseObjects,
IXpsOMPage **page);
HRESULT (STDMETHODCALLTYPE *CreateCanvas)(
IXpsOMObjectFactory1* This,
IXpsOMCanvas **canvas);
HRESULT (STDMETHODCALLTYPE *CreateGlyphs)(
IXpsOMObjectFactory1* This,
IXpsOMFontResource *fontResource,
IXpsOMGlyphs **glyphs);
HRESULT (STDMETHODCALLTYPE *CreatePath)(
IXpsOMObjectFactory1* This,
IXpsOMPath **path);
HRESULT (STDMETHODCALLTYPE *CreateGeometry)(
IXpsOMObjectFactory1* This,
IXpsOMGeometry **geometry);
HRESULT (STDMETHODCALLTYPE *CreateGeometryFigure)(
IXpsOMObjectFactory1* This,
const XPS_POINT *startPoint,
IXpsOMGeometryFigure **figure);
HRESULT (STDMETHODCALLTYPE *CreateMatrixTransform)(
IXpsOMObjectFactory1* This,
const XPS_MATRIX *matrix,
IXpsOMMatrixTransform **transform);
HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)(
IXpsOMObjectFactory1* This,
const XPS_COLOR *color,
IXpsOMColorProfileResource *colorProfile,
IXpsOMSolidColorBrush **solidColorBrush);
HRESULT (STDMETHODCALLTYPE *CreateColorProfileResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
IOpcPartUri *partUri,
IXpsOMColorProfileResource **colorProfileResource);
HRESULT (STDMETHODCALLTYPE *CreateImageBrush)(
IXpsOMObjectFactory1* This,
IXpsOMImageResource *image,
const XPS_RECT *viewBox,
const XPS_RECT *viewPort,
IXpsOMImageBrush **imageBrush);
HRESULT (STDMETHODCALLTYPE *CreateVisualBrush)(
IXpsOMObjectFactory1* This,
const XPS_RECT *viewBox,
const XPS_RECT *viewPort,
IXpsOMVisualBrush **visualBrush);
HRESULT (STDMETHODCALLTYPE *CreateImageResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
XPS_IMAGE_TYPE contentType,
IOpcPartUri *partUri,
IXpsOMImageResource **imageResource);
HRESULT (STDMETHODCALLTYPE *CreatePrintTicketResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
IOpcPartUri *partUri,
IXpsOMPrintTicketResource **printTicketResource);
HRESULT (STDMETHODCALLTYPE *CreateFontResource)(
IXpsOMObjectFactory1* This,
IStream *acquiredStream,
XPS_FONT_EMBEDDING fontEmbedding,
IOpcPartUri *partUri,
WINBOOL isObfSourceStream,
IXpsOMFontResource **fontResource);
HRESULT (STDMETHODCALLTYPE *CreateGradientStop)(
IXpsOMObjectFactory1* This,
const XPS_COLOR *color,
IXpsOMColorProfileResource *colorProfile,
FLOAT offset,
IXpsOMGradientStop **gradientStop);
HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)(
IXpsOMObjectFactory1* This,
IXpsOMGradientStop *gradStop1,
IXpsOMGradientStop *gradStop2,
const XPS_POINT *startPoint,
const XPS_POINT *endPoint,
IXpsOMLinearGradientBrush **linearGradientBrush);
HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)(
IXpsOMObjectFactory1* This,
IXpsOMGradientStop *gradStop1,
IXpsOMGradientStop *gradStop2,
const XPS_POINT *centerPoint,
const XPS_POINT *gradientOrigin,
const XPS_SIZE *radiiSizes,
IXpsOMRadialGradientBrush **radialGradientBrush);
HRESULT (STDMETHODCALLTYPE *CreateCoreProperties)(
IXpsOMObjectFactory1* This,
IOpcPartUri *partUri,
IXpsOMCoreProperties **coreProperties);
HRESULT (STDMETHODCALLTYPE *CreateDictionary)(
IXpsOMObjectFactory1* This,
IXpsOMDictionary **dictionary);
HRESULT (STDMETHODCALLTYPE *CreatePartUriCollection)(
IXpsOMObjectFactory1* This,
IXpsOMPartUriCollection **partUriCollection);
HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile)(
IXpsOMObjectFactory1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
IXpsOMPackageWriter **packageWriter);
HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream)(
IXpsOMObjectFactory1* This,
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
IXpsOMPackageWriter **packageWriter);
HRESULT (STDMETHODCALLTYPE *CreatePartUri)(
IXpsOMObjectFactory1* This,
LPCWSTR uri,
IOpcPartUri **partUri);
HRESULT (STDMETHODCALLTYPE *CreateReadOnlyStreamOnFile)(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
IStream **stream);
/*** IXpsOMObjectFactory1 methods ***/
HRESULT (STDMETHODCALLTYPE *GetDocumentTypeFromFile)(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
XPS_DOCUMENT_TYPE *documentType);
HRESULT (STDMETHODCALLTYPE *GetDocumentTypeFromStream)(
IXpsOMObjectFactory1* This,
IStream *xpsDocumentStream,
XPS_DOCUMENT_TYPE *documentType);
HRESULT (STDMETHODCALLTYPE *ConvertHDPhotoToJpegXR)(
IXpsOMObjectFactory1* This,
IXpsOMImageResource *imageResource);
HRESULT (STDMETHODCALLTYPE *ConvertJpegXRToHDPhoto)(
IXpsOMObjectFactory1* This,
IXpsOMImageResource *imageResource);
HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile1)(
IXpsOMObjectFactory1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter);
HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream1)(
IXpsOMObjectFactory1* This,
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter);
HRESULT (STDMETHODCALLTYPE *CreatePackage1)(
IXpsOMObjectFactory1* This,
IXpsOMPackage1 **package);
HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream1)(
IXpsOMObjectFactory1* This,
IStream *stream,
WINBOOL reuseObjects,
IXpsOMPackage1 **package);
HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile1)(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
WINBOOL reuseObjects,
IXpsOMPackage1 **package);
HRESULT (STDMETHODCALLTYPE *CreatePage1)(
IXpsOMObjectFactory1* This,
const XPS_SIZE *pageDimensions,
LPCWSTR language,
IOpcPartUri *partUri,
IXpsOMPage1 **page);
HRESULT (STDMETHODCALLTYPE *CreatePageFromStream1)(
IXpsOMObjectFactory1* This,
IStream *pageMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
WINBOOL reuseObjects,
IXpsOMPage1 **page);
HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream1)(
IXpsOMObjectFactory1* This,
IStream *dictionaryMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
IXpsOMRemoteDictionaryResource **dictionaryResource);
END_INTERFACE
} IXpsOMObjectFactory1Vtbl;
interface IXpsOMObjectFactory1 {
CONST_VTBL IXpsOMObjectFactory1Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsOMObjectFactory1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsOMObjectFactory1_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsOMObjectFactory1_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsOMObjectFactory methods ***/
#define IXpsOMObjectFactory1_CreatePackage(This,package) (This)->lpVtbl->CreatePackage(This,package)
#define IXpsOMObjectFactory1_CreatePackageFromFile(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package)
#define IXpsOMObjectFactory1_CreatePackageFromStream(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package)
#define IXpsOMObjectFactory1_CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) (This)->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource)
#define IXpsOMObjectFactory1_CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) (This)->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource)
#define IXpsOMObjectFactory1_CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) (This)->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource)
#define IXpsOMObjectFactory1_CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource)
#define IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource)
#define IXpsOMObjectFactory1_CreatePartResources(This,partResources) (This)->lpVtbl->CreatePartResources(This,partResources)
#define IXpsOMObjectFactory1_CreateDocumentSequence(This,partUri,documentSequence) (This)->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence)
#define IXpsOMObjectFactory1_CreateDocument(This,partUri,document) (This)->lpVtbl->CreateDocument(This,partUri,document)
#define IXpsOMObjectFactory1_CreatePageReference(This,advisoryPageDimensions,pageReference) (This)->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference)
#define IXpsOMObjectFactory1_CreatePage(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page)
#define IXpsOMObjectFactory1_CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page)
#define IXpsOMObjectFactory1_CreateCanvas(This,canvas) (This)->lpVtbl->CreateCanvas(This,canvas)
#define IXpsOMObjectFactory1_CreateGlyphs(This,fontResource,glyphs) (This)->lpVtbl->CreateGlyphs(This,fontResource,glyphs)
#define IXpsOMObjectFactory1_CreatePath(This,path) (This)->lpVtbl->CreatePath(This,path)
#define IXpsOMObjectFactory1_CreateGeometry(This,geometry) (This)->lpVtbl->CreateGeometry(This,geometry)
#define IXpsOMObjectFactory1_CreateGeometryFigure(This,startPoint,figure) (This)->lpVtbl->CreateGeometryFigure(This,startPoint,figure)
#define IXpsOMObjectFactory1_CreateMatrixTransform(This,matrix,transform) (This)->lpVtbl->CreateMatrixTransform(This,matrix,transform)
#define IXpsOMObjectFactory1_CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) (This)->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush)
#define IXpsOMObjectFactory1_CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) (This)->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource)
#define IXpsOMObjectFactory1_CreateImageBrush(This,image,viewBox,viewPort,imageBrush) (This)->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush)
#define IXpsOMObjectFactory1_CreateVisualBrush(This,viewBox,viewPort,visualBrush) (This)->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush)
#define IXpsOMObjectFactory1_CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) (This)->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource)
#define IXpsOMObjectFactory1_CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) (This)->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource)
#define IXpsOMObjectFactory1_CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) (This)->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource)
#define IXpsOMObjectFactory1_CreateGradientStop(This,color,colorProfile,offset,gradientStop) (This)->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop)
#define IXpsOMObjectFactory1_CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush)
#define IXpsOMObjectFactory1_CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush)
#define IXpsOMObjectFactory1_CreateCoreProperties(This,partUri,coreProperties) (This)->lpVtbl->CreateCoreProperties(This,partUri,coreProperties)
#define IXpsOMObjectFactory1_CreateDictionary(This,dictionary) (This)->lpVtbl->CreateDictionary(This,dictionary)
#define IXpsOMObjectFactory1_CreatePartUriCollection(This,partUriCollection) (This)->lpVtbl->CreatePartUriCollection(This,partUriCollection)
#define IXpsOMObjectFactory1_CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter)
#define IXpsOMObjectFactory1_CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter)
#define IXpsOMObjectFactory1_CreatePartUri(This,uri,partUri) (This)->lpVtbl->CreatePartUri(This,uri,partUri)
#define IXpsOMObjectFactory1_CreateReadOnlyStreamOnFile(This,filename,stream) (This)->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream)
/*** IXpsOMObjectFactory1 methods ***/
#define IXpsOMObjectFactory1_GetDocumentTypeFromFile(This,filename,documentType) (This)->lpVtbl->GetDocumentTypeFromFile(This,filename,documentType)
#define IXpsOMObjectFactory1_GetDocumentTypeFromStream(This,xpsDocumentStream,documentType) (This)->lpVtbl->GetDocumentTypeFromStream(This,xpsDocumentStream,documentType)
#define IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR(This,imageResource) (This)->lpVtbl->ConvertHDPhotoToJpegXR(This,imageResource)
#define IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto(This,imageResource) (This)->lpVtbl->ConvertJpegXRToHDPhoto(This,imageResource)
#define IXpsOMObjectFactory1_CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) (This)->lpVtbl->CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter)
#define IXpsOMObjectFactory1_CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter)
#define IXpsOMObjectFactory1_CreatePackage1(This,package) (This)->lpVtbl->CreatePackage1(This,package)
#define IXpsOMObjectFactory1_CreatePackageFromStream1(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream1(This,stream,reuseObjects,package)
#define IXpsOMObjectFactory1_CreatePackageFromFile1(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile1(This,filename,reuseObjects,package)
#define IXpsOMObjectFactory1_CreatePage1(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage1(This,pageDimensions,language,partUri,page)
#define IXpsOMObjectFactory1_CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page)
#define IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsOMObjectFactory1_QueryInterface(IXpsOMObjectFactory1* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsOMObjectFactory1_AddRef(IXpsOMObjectFactory1* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsOMObjectFactory1_Release(IXpsOMObjectFactory1* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsOMObjectFactory methods ***/
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackage(IXpsOMObjectFactory1* This,IXpsOMPackage **package) {
return This->lpVtbl->CreatePackage(This,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageFromFile(IXpsOMObjectFactory1* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage **package) {
return This->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageFromStream(IXpsOMObjectFactory1* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage **package) {
return This->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateStoryFragmentsResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
return This->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateDocumentStructureResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMDocumentStructureResource **documentStructureResource) {
return This->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateSignatureBlockResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMSignatureBlockResource **signatureBlockResource) {
return This->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResource(IXpsOMObjectFactory1* This,IXpsOMDictionary *dictionary,IOpcPartUri *partUri,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
return This->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream(IXpsOMObjectFactory1* This,IStream *dictionaryMarkupStream,IOpcPartUri *dictionaryPartUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) {
return This->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePartResources(IXpsOMObjectFactory1* This,IXpsOMPartResources **partResources) {
return This->lpVtbl->CreatePartResources(This,partResources);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateDocumentSequence(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMDocumentSequence **documentSequence) {
return This->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateDocument(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMDocument **document) {
return This->lpVtbl->CreateDocument(This,partUri,document);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePageReference(IXpsOMObjectFactory1* This,const XPS_SIZE *advisoryPageDimensions,IXpsOMPageReference **pageReference) {
return This->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePage(IXpsOMObjectFactory1* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage **page) {
return This->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePageFromStream(IXpsOMObjectFactory1* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage **page) {
return This->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateCanvas(IXpsOMObjectFactory1* This,IXpsOMCanvas **canvas) {
return This->lpVtbl->CreateCanvas(This,canvas);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateGlyphs(IXpsOMObjectFactory1* This,IXpsOMFontResource *fontResource,IXpsOMGlyphs **glyphs) {
return This->lpVtbl->CreateGlyphs(This,fontResource,glyphs);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePath(IXpsOMObjectFactory1* This,IXpsOMPath **path) {
return This->lpVtbl->CreatePath(This,path);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateGeometry(IXpsOMObjectFactory1* This,IXpsOMGeometry **geometry) {
return This->lpVtbl->CreateGeometry(This,geometry);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateGeometryFigure(IXpsOMObjectFactory1* This,const XPS_POINT *startPoint,IXpsOMGeometryFigure **figure) {
return This->lpVtbl->CreateGeometryFigure(This,startPoint,figure);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateMatrixTransform(IXpsOMObjectFactory1* This,const XPS_MATRIX *matrix,IXpsOMMatrixTransform **transform) {
return This->lpVtbl->CreateMatrixTransform(This,matrix,transform);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateSolidColorBrush(IXpsOMObjectFactory1* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,IXpsOMSolidColorBrush **solidColorBrush) {
return This->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateColorProfileResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMColorProfileResource **colorProfileResource) {
return This->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateImageBrush(IXpsOMObjectFactory1* This,IXpsOMImageResource *image,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMImageBrush **imageBrush) {
return This->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateVisualBrush(IXpsOMObjectFactory1* This,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMVisualBrush **visualBrush) {
return This->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateImageResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,XPS_IMAGE_TYPE contentType,IOpcPartUri *partUri,IXpsOMImageResource **imageResource) {
return This->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePrintTicketResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMPrintTicketResource **printTicketResource) {
return This->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateFontResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,XPS_FONT_EMBEDDING fontEmbedding,IOpcPartUri *partUri,WINBOOL isObfSourceStream,IXpsOMFontResource **fontResource) {
return This->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateGradientStop(IXpsOMObjectFactory1* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,FLOAT offset,IXpsOMGradientStop **gradientStop) {
return This->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateLinearGradientBrush(IXpsOMObjectFactory1* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *startPoint,const XPS_POINT *endPoint,IXpsOMLinearGradientBrush **linearGradientBrush) {
return This->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateRadialGradientBrush(IXpsOMObjectFactory1* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *centerPoint,const XPS_POINT *gradientOrigin,const XPS_SIZE *radiiSizes,IXpsOMRadialGradientBrush **radialGradientBrush) {
return This->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateCoreProperties(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMCoreProperties **coreProperties) {
return This->lpVtbl->CreateCoreProperties(This,partUri,coreProperties);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateDictionary(IXpsOMObjectFactory1* This,IXpsOMDictionary **dictionary) {
return This->lpVtbl->CreateDictionary(This,dictionary);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePartUriCollection(IXpsOMObjectFactory1* This,IXpsOMPartUriCollection **partUriCollection) {
return This->lpVtbl->CreatePartUriCollection(This,partUriCollection);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnFile(IXpsOMObjectFactory1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
return This->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnStream(IXpsOMObjectFactory1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
return This->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePartUri(IXpsOMObjectFactory1* This,LPCWSTR uri,IOpcPartUri **partUri) {
return This->lpVtbl->CreatePartUri(This,uri,partUri);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateReadOnlyStreamOnFile(IXpsOMObjectFactory1* This,LPCWSTR filename,IStream **stream) {
return This->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream);
}
/*** IXpsOMObjectFactory1 methods ***/
static FORCEINLINE HRESULT IXpsOMObjectFactory1_GetDocumentTypeFromFile(IXpsOMObjectFactory1* This,LPCWSTR filename,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetDocumentTypeFromFile(This,filename,documentType);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_GetDocumentTypeFromStream(IXpsOMObjectFactory1* This,IStream *xpsDocumentStream,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetDocumentTypeFromStream(This,xpsDocumentStream,documentType);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR(IXpsOMObjectFactory1* This,IXpsOMImageResource *imageResource) {
return This->lpVtbl->ConvertHDPhotoToJpegXR(This,imageResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto(IXpsOMObjectFactory1* This,IXpsOMImageResource *imageResource) {
return This->lpVtbl->ConvertJpegXRToHDPhoto(This,imageResource);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnFile1(IXpsOMObjectFactory1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,XPS_DOCUMENT_TYPE documentType,IXpsOMPackageWriter **packageWriter) {
return This->lpVtbl->CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnStream1(IXpsOMObjectFactory1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,XPS_DOCUMENT_TYPE documentType,IXpsOMPackageWriter **packageWriter) {
return This->lpVtbl->CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackage1(IXpsOMObjectFactory1* This,IXpsOMPackage1 **package) {
return This->lpVtbl->CreatePackage1(This,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageFromStream1(IXpsOMObjectFactory1* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage1 **package) {
return This->lpVtbl->CreatePackageFromStream1(This,stream,reuseObjects,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePackageFromFile1(IXpsOMObjectFactory1* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage1 **package) {
return This->lpVtbl->CreatePackageFromFile1(This,filename,reuseObjects,package);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePage1(IXpsOMObjectFactory1* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage1 **page) {
return This->lpVtbl->CreatePage1(This,pageDimensions,language,partUri,page);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreatePageFromStream1(IXpsOMObjectFactory1* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage1 **page) {
return This->lpVtbl->CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page);
}
static FORCEINLINE HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1(IXpsOMObjectFactory1* This,IStream *dictionaryMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) {
return This->lpVtbl->CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_GetDocumentTypeFromFile_Proxy(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsOMObjectFactory1_GetDocumentTypeFromFile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_GetDocumentTypeFromStream_Proxy(
IXpsOMObjectFactory1* This,
IStream *xpsDocumentStream,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsOMObjectFactory1_GetDocumentTypeFromStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR_Proxy(
IXpsOMObjectFactory1* This,
IXpsOMImageResource *imageResource);
void __RPC_STUB IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto_Proxy(
IXpsOMObjectFactory1* This,
IXpsOMImageResource *imageResource);
void __RPC_STUB IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePackageWriterOnFile1_Proxy(
IXpsOMObjectFactory1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter);
void __RPC_STUB IXpsOMObjectFactory1_CreatePackageWriterOnFile1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePackageWriterOnStream1_Proxy(
IXpsOMObjectFactory1* This,
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_INTERLEAVING interleaving,
IOpcPartUri *documentSequencePartName,
IXpsOMCoreProperties *coreProperties,
IXpsOMImageResource *packageThumbnail,
IXpsOMPrintTicketResource *documentSequencePrintTicket,
IOpcPartUri *discardControlPartName,
XPS_DOCUMENT_TYPE documentType,
IXpsOMPackageWriter **packageWriter);
void __RPC_STUB IXpsOMObjectFactory1_CreatePackageWriterOnStream1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePackage1_Proxy(
IXpsOMObjectFactory1* This,
IXpsOMPackage1 **package);
void __RPC_STUB IXpsOMObjectFactory1_CreatePackage1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePackageFromStream1_Proxy(
IXpsOMObjectFactory1* This,
IStream *stream,
WINBOOL reuseObjects,
IXpsOMPackage1 **package);
void __RPC_STUB IXpsOMObjectFactory1_CreatePackageFromStream1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePackageFromFile1_Proxy(
IXpsOMObjectFactory1* This,
LPCWSTR filename,
WINBOOL reuseObjects,
IXpsOMPackage1 **package);
void __RPC_STUB IXpsOMObjectFactory1_CreatePackageFromFile1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePage1_Proxy(
IXpsOMObjectFactory1* This,
const XPS_SIZE *pageDimensions,
LPCWSTR language,
IOpcPartUri *partUri,
IXpsOMPage1 **page);
void __RPC_STUB IXpsOMObjectFactory1_CreatePage1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreatePageFromStream1_Proxy(
IXpsOMObjectFactory1* This,
IStream *pageMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
WINBOOL reuseObjects,
IXpsOMPage1 **page);
void __RPC_STUB IXpsOMObjectFactory1_CreatePageFromStream1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1_Proxy(
IXpsOMObjectFactory1* This,
IStream *dictionaryMarkupStream,
IOpcPartUri *partUri,
IXpsOMPartResources *resources,
IXpsOMRemoteDictionaryResource **dictionaryResource);
void __RPC_STUB IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsOMObjectFactory1_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsOMPackage1 interface
*/
#ifndef __IXpsOMPackage1_INTERFACE_DEFINED__
#define __IXpsOMPackage1_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsOMPackage1, 0x95a9435e, 0x12bb, 0x461b, 0x8e,0x7f, 0xc6,0xad,0xb0,0x4c,0xd9,0x6a);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("95a9435e-12bb-461b-8e7f-c6adb04cd96a")
IXpsOMPackage1 : public IXpsOMPackage
{
virtual HRESULT STDMETHODCALLTYPE GetDocumentType(
XPS_DOCUMENT_TYPE *documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteToFile1(
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteToStream1(
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsOMPackage1, 0x95a9435e, 0x12bb, 0x461b, 0x8e,0x7f, 0xc6,0xad,0xb0,0x4c,0xd9,0x6a)
#endif
#else
typedef struct IXpsOMPackage1Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsOMPackage1* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsOMPackage1* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsOMPackage1* This);
/*** IXpsOMPackage methods ***/
HRESULT (STDMETHODCALLTYPE *GetDocumentSequence)(
IXpsOMPackage1* This,
IXpsOMDocumentSequence **documentSequence);
HRESULT (STDMETHODCALLTYPE *SetDocumentSequence)(
IXpsOMPackage1* This,
IXpsOMDocumentSequence *documentSequence);
HRESULT (STDMETHODCALLTYPE *GetCoreProperties)(
IXpsOMPackage1* This,
IXpsOMCoreProperties **coreProperties);
HRESULT (STDMETHODCALLTYPE *SetCoreProperties)(
IXpsOMPackage1* This,
IXpsOMCoreProperties *coreProperties);
HRESULT (STDMETHODCALLTYPE *GetDiscardControlPartName)(
IXpsOMPackage1* This,
IOpcPartUri **discardControlPartUri);
HRESULT (STDMETHODCALLTYPE *SetDiscardControlPartName)(
IXpsOMPackage1* This,
IOpcPartUri *discardControlPartUri);
HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
IXpsOMPackage1* This,
IXpsOMImageResource **imageResource);
HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
IXpsOMPackage1* This,
IXpsOMImageResource *imageResource);
HRESULT (STDMETHODCALLTYPE *WriteToFile)(
IXpsOMPackage1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize);
HRESULT (STDMETHODCALLTYPE *WriteToStream)(
IXpsOMPackage1* This,
ISequentialStream *stream,
WINBOOL optimizeMarkupSize);
/*** IXpsOMPackage1 methods ***/
HRESULT (STDMETHODCALLTYPE *GetDocumentType)(
IXpsOMPackage1* This,
XPS_DOCUMENT_TYPE *documentType);
HRESULT (STDMETHODCALLTYPE *WriteToFile1)(
IXpsOMPackage1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
HRESULT (STDMETHODCALLTYPE *WriteToStream1)(
IXpsOMPackage1* This,
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
END_INTERFACE
} IXpsOMPackage1Vtbl;
interface IXpsOMPackage1 {
CONST_VTBL IXpsOMPackage1Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsOMPackage1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsOMPackage1_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsOMPackage1_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsOMPackage methods ***/
#define IXpsOMPackage1_GetDocumentSequence(This,documentSequence) (This)->lpVtbl->GetDocumentSequence(This,documentSequence)
#define IXpsOMPackage1_SetDocumentSequence(This,documentSequence) (This)->lpVtbl->SetDocumentSequence(This,documentSequence)
#define IXpsOMPackage1_GetCoreProperties(This,coreProperties) (This)->lpVtbl->GetCoreProperties(This,coreProperties)
#define IXpsOMPackage1_SetCoreProperties(This,coreProperties) (This)->lpVtbl->SetCoreProperties(This,coreProperties)
#define IXpsOMPackage1_GetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri)
#define IXpsOMPackage1_SetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri)
#define IXpsOMPackage1_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
#define IXpsOMPackage1_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
#define IXpsOMPackage1_WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) (This)->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize)
#define IXpsOMPackage1_WriteToStream(This,stream,optimizeMarkupSize) (This)->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize)
/*** IXpsOMPackage1 methods ***/
#define IXpsOMPackage1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType)
#define IXpsOMPackage1_WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType) (This)->lpVtbl->WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType)
#define IXpsOMPackage1_WriteToStream1(This,outputStream,optimizeMarkupSize,documentType) (This)->lpVtbl->WriteToStream1(This,outputStream,optimizeMarkupSize,documentType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsOMPackage1_QueryInterface(IXpsOMPackage1* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsOMPackage1_AddRef(IXpsOMPackage1* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsOMPackage1_Release(IXpsOMPackage1* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsOMPackage methods ***/
static FORCEINLINE HRESULT IXpsOMPackage1_GetDocumentSequence(IXpsOMPackage1* This,IXpsOMDocumentSequence **documentSequence) {
return This->lpVtbl->GetDocumentSequence(This,documentSequence);
}
static FORCEINLINE HRESULT IXpsOMPackage1_SetDocumentSequence(IXpsOMPackage1* This,IXpsOMDocumentSequence *documentSequence) {
return This->lpVtbl->SetDocumentSequence(This,documentSequence);
}
static FORCEINLINE HRESULT IXpsOMPackage1_GetCoreProperties(IXpsOMPackage1* This,IXpsOMCoreProperties **coreProperties) {
return This->lpVtbl->GetCoreProperties(This,coreProperties);
}
static FORCEINLINE HRESULT IXpsOMPackage1_SetCoreProperties(IXpsOMPackage1* This,IXpsOMCoreProperties *coreProperties) {
return This->lpVtbl->SetCoreProperties(This,coreProperties);
}
static FORCEINLINE HRESULT IXpsOMPackage1_GetDiscardControlPartName(IXpsOMPackage1* This,IOpcPartUri **discardControlPartUri) {
return This->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri);
}
static FORCEINLINE HRESULT IXpsOMPackage1_SetDiscardControlPartName(IXpsOMPackage1* This,IOpcPartUri *discardControlPartUri) {
return This->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri);
}
static FORCEINLINE HRESULT IXpsOMPackage1_GetThumbnailResource(IXpsOMPackage1* This,IXpsOMImageResource **imageResource) {
return This->lpVtbl->GetThumbnailResource(This,imageResource);
}
static FORCEINLINE HRESULT IXpsOMPackage1_SetThumbnailResource(IXpsOMPackage1* This,IXpsOMImageResource *imageResource) {
return This->lpVtbl->SetThumbnailResource(This,imageResource);
}
static FORCEINLINE HRESULT IXpsOMPackage1_WriteToFile(IXpsOMPackage1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize) {
return This->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize);
}
static FORCEINLINE HRESULT IXpsOMPackage1_WriteToStream(IXpsOMPackage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
return This->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize);
}
/*** IXpsOMPackage1 methods ***/
static FORCEINLINE HRESULT IXpsOMPackage1_GetDocumentType(IXpsOMPackage1* This,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetDocumentType(This,documentType);
}
static FORCEINLINE HRESULT IXpsOMPackage1_WriteToFile1(IXpsOMPackage1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) {
return This->lpVtbl->WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType);
}
static FORCEINLINE HRESULT IXpsOMPackage1_WriteToStream1(IXpsOMPackage1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) {
return This->lpVtbl->WriteToStream1(This,outputStream,optimizeMarkupSize,documentType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsOMPackage1_GetDocumentType_Proxy(
IXpsOMPackage1* This,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsOMPackage1_GetDocumentType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMPackage1_WriteToFile1_Proxy(
IXpsOMPackage1* This,
LPCWSTR fileName,
LPSECURITY_ATTRIBUTES securityAttributes,
DWORD flagsAndAttributes,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
void __RPC_STUB IXpsOMPackage1_WriteToFile1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMPackage1_WriteToStream1_Proxy(
IXpsOMPackage1* This,
ISequentialStream *outputStream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
void __RPC_STUB IXpsOMPackage1_WriteToStream1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsOMPackage1_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsOMPage1 interface
*/
#ifndef __IXpsOMPage1_INTERFACE_DEFINED__
#define __IXpsOMPage1_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsOMPage1, 0x305b60ef, 0x6892, 0x4dda, 0x9c,0xbb, 0x3a,0xa6,0x59,0x74,0x50,0x8a);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("305b60ef-6892-4dda-9cbb-3aa65974508a")
IXpsOMPage1 : public IXpsOMPage
{
virtual HRESULT STDMETHODCALLTYPE GetDocumentType(
XPS_DOCUMENT_TYPE *documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE Write1(
ISequentialStream *stream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsOMPage1, 0x305b60ef, 0x6892, 0x4dda, 0x9c,0xbb, 0x3a,0xa6,0x59,0x74,0x50,0x8a)
#endif
#else
typedef struct IXpsOMPage1Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsOMPage1* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsOMPage1* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsOMPage1* This);
/*** IXpsOMPart methods ***/
HRESULT (STDMETHODCALLTYPE *GetPartName)(
IXpsOMPage1* This,
IOpcPartUri **partUri);
HRESULT (STDMETHODCALLTYPE *SetPartName)(
IXpsOMPage1* This,
IOpcPartUri *partUri);
/*** IXpsOMPage methods ***/
HRESULT (STDMETHODCALLTYPE *GetOwner)(
IXpsOMPage1* This,
IXpsOMPageReference **pageReference);
HRESULT (STDMETHODCALLTYPE *GetVisuals)(
IXpsOMPage1* This,
IXpsOMVisualCollection **visuals);
HRESULT (STDMETHODCALLTYPE *GetPageDimensions)(
IXpsOMPage1* This,
XPS_SIZE *pageDimensions);
HRESULT (STDMETHODCALLTYPE *SetPageDimensions)(
IXpsOMPage1* This,
const XPS_SIZE *pageDimensions);
HRESULT (STDMETHODCALLTYPE *GetContentBox)(
IXpsOMPage1* This,
XPS_RECT *contentBox);
HRESULT (STDMETHODCALLTYPE *SetContentBox)(
IXpsOMPage1* This,
const XPS_RECT *contentBox);
HRESULT (STDMETHODCALLTYPE *GetBleedBox)(
IXpsOMPage1* This,
XPS_RECT *bleedBox);
HRESULT (STDMETHODCALLTYPE *SetBleedBox)(
IXpsOMPage1* This,
const XPS_RECT *bleedBox);
HRESULT (STDMETHODCALLTYPE *GetLanguage)(
IXpsOMPage1* This,
LPWSTR *language);
HRESULT (STDMETHODCALLTYPE *SetLanguage)(
IXpsOMPage1* This,
LPCWSTR language);
HRESULT (STDMETHODCALLTYPE *GetName)(
IXpsOMPage1* This,
LPWSTR *name);
HRESULT (STDMETHODCALLTYPE *SetName)(
IXpsOMPage1* This,
LPCWSTR name);
HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
IXpsOMPage1* This,
WINBOOL *isHyperlinkTarget);
HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
IXpsOMPage1* This,
WINBOOL isHyperlinkTarget);
HRESULT (STDMETHODCALLTYPE *GetDictionary)(
IXpsOMPage1* This,
IXpsOMDictionary **resourceDictionary);
HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
IXpsOMPage1* This,
IXpsOMDictionary **resourceDictionary);
HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
IXpsOMPage1* This,
IXpsOMDictionary *resourceDictionary);
HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
IXpsOMPage1* This,
IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
IXpsOMPage1* This,
IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
HRESULT (STDMETHODCALLTYPE *Write)(
IXpsOMPage1* This,
ISequentialStream *stream,
WINBOOL optimizeMarkupSize);
HRESULT (STDMETHODCALLTYPE *GenerateUnusedLookupKey)(
IXpsOMPage1* This,
XPS_OBJECT_TYPE type,
LPWSTR *key);
HRESULT (STDMETHODCALLTYPE *Clone)(
IXpsOMPage1* This,
IXpsOMPage **page);
/*** IXpsOMPage1 methods ***/
HRESULT (STDMETHODCALLTYPE *GetDocumentType)(
IXpsOMPage1* This,
XPS_DOCUMENT_TYPE *documentType);
HRESULT (STDMETHODCALLTYPE *Write1)(
IXpsOMPage1* This,
ISequentialStream *stream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
END_INTERFACE
} IXpsOMPage1Vtbl;
interface IXpsOMPage1 {
CONST_VTBL IXpsOMPage1Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsOMPage1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsOMPage1_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsOMPage1_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsOMPart methods ***/
#define IXpsOMPage1_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
#define IXpsOMPage1_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
/*** IXpsOMPage methods ***/
#define IXpsOMPage1_GetOwner(This,pageReference) (This)->lpVtbl->GetOwner(This,pageReference)
#define IXpsOMPage1_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
#define IXpsOMPage1_GetPageDimensions(This,pageDimensions) (This)->lpVtbl->GetPageDimensions(This,pageDimensions)
#define IXpsOMPage1_SetPageDimensions(This,pageDimensions) (This)->lpVtbl->SetPageDimensions(This,pageDimensions)
#define IXpsOMPage1_GetContentBox(This,contentBox) (This)->lpVtbl->GetContentBox(This,contentBox)
#define IXpsOMPage1_SetContentBox(This,contentBox) (This)->lpVtbl->SetContentBox(This,contentBox)
#define IXpsOMPage1_GetBleedBox(This,bleedBox) (This)->lpVtbl->GetBleedBox(This,bleedBox)
#define IXpsOMPage1_SetBleedBox(This,bleedBox) (This)->lpVtbl->SetBleedBox(This,bleedBox)
#define IXpsOMPage1_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
#define IXpsOMPage1_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
#define IXpsOMPage1_GetName(This,name) (This)->lpVtbl->GetName(This,name)
#define IXpsOMPage1_SetName(This,name) (This)->lpVtbl->SetName(This,name)
#define IXpsOMPage1_GetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget)
#define IXpsOMPage1_SetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget)
#define IXpsOMPage1_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
#define IXpsOMPage1_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
#define IXpsOMPage1_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
#define IXpsOMPage1_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
#define IXpsOMPage1_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
#define IXpsOMPage1_Write(This,stream,optimizeMarkupSize) (This)->lpVtbl->Write(This,stream,optimizeMarkupSize)
#define IXpsOMPage1_GenerateUnusedLookupKey(This,type,key) (This)->lpVtbl->GenerateUnusedLookupKey(This,type,key)
#define IXpsOMPage1_Clone(This,page) (This)->lpVtbl->Clone(This,page)
/*** IXpsOMPage1 methods ***/
#define IXpsOMPage1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType)
#define IXpsOMPage1_Write1(This,stream,optimizeMarkupSize,documentType) (This)->lpVtbl->Write1(This,stream,optimizeMarkupSize,documentType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsOMPage1_QueryInterface(IXpsOMPage1* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsOMPage1_AddRef(IXpsOMPage1* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsOMPage1_Release(IXpsOMPage1* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsOMPart methods ***/
static FORCEINLINE HRESULT IXpsOMPage1_GetPartName(IXpsOMPage1* This,IOpcPartUri **partUri) {
return This->lpVtbl->GetPartName(This,partUri);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetPartName(IXpsOMPage1* This,IOpcPartUri *partUri) {
return This->lpVtbl->SetPartName(This,partUri);
}
/*** IXpsOMPage methods ***/
static FORCEINLINE HRESULT IXpsOMPage1_GetOwner(IXpsOMPage1* This,IXpsOMPageReference **pageReference) {
return This->lpVtbl->GetOwner(This,pageReference);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetVisuals(IXpsOMPage1* This,IXpsOMVisualCollection **visuals) {
return This->lpVtbl->GetVisuals(This,visuals);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetPageDimensions(IXpsOMPage1* This,XPS_SIZE *pageDimensions) {
return This->lpVtbl->GetPageDimensions(This,pageDimensions);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetPageDimensions(IXpsOMPage1* This,const XPS_SIZE *pageDimensions) {
return This->lpVtbl->SetPageDimensions(This,pageDimensions);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetContentBox(IXpsOMPage1* This,XPS_RECT *contentBox) {
return This->lpVtbl->GetContentBox(This,contentBox);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetContentBox(IXpsOMPage1* This,const XPS_RECT *contentBox) {
return This->lpVtbl->SetContentBox(This,contentBox);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetBleedBox(IXpsOMPage1* This,XPS_RECT *bleedBox) {
return This->lpVtbl->GetBleedBox(This,bleedBox);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetBleedBox(IXpsOMPage1* This,const XPS_RECT *bleedBox) {
return This->lpVtbl->SetBleedBox(This,bleedBox);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetLanguage(IXpsOMPage1* This,LPWSTR *language) {
return This->lpVtbl->GetLanguage(This,language);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetLanguage(IXpsOMPage1* This,LPCWSTR language) {
return This->lpVtbl->SetLanguage(This,language);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetName(IXpsOMPage1* This,LPWSTR *name) {
return This->lpVtbl->GetName(This,name);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetName(IXpsOMPage1* This,LPCWSTR name) {
return This->lpVtbl->SetName(This,name);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetIsHyperlinkTarget(IXpsOMPage1* This,WINBOOL *isHyperlinkTarget) {
return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetIsHyperlinkTarget(IXpsOMPage1* This,WINBOOL isHyperlinkTarget) {
return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetDictionary(IXpsOMPage1* This,IXpsOMDictionary **resourceDictionary) {
return This->lpVtbl->GetDictionary(This,resourceDictionary);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetDictionaryLocal(IXpsOMPage1* This,IXpsOMDictionary **resourceDictionary) {
return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetDictionaryLocal(IXpsOMPage1* This,IXpsOMDictionary *resourceDictionary) {
return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
}
static FORCEINLINE HRESULT IXpsOMPage1_GetDictionaryResource(IXpsOMPage1* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
}
static FORCEINLINE HRESULT IXpsOMPage1_SetDictionaryResource(IXpsOMPage1* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
}
static FORCEINLINE HRESULT IXpsOMPage1_Write(IXpsOMPage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
return This->lpVtbl->Write(This,stream,optimizeMarkupSize);
}
static FORCEINLINE HRESULT IXpsOMPage1_GenerateUnusedLookupKey(IXpsOMPage1* This,XPS_OBJECT_TYPE type,LPWSTR *key) {
return This->lpVtbl->GenerateUnusedLookupKey(This,type,key);
}
static FORCEINLINE HRESULT IXpsOMPage1_Clone(IXpsOMPage1* This,IXpsOMPage **page) {
return This->lpVtbl->Clone(This,page);
}
/*** IXpsOMPage1 methods ***/
static FORCEINLINE HRESULT IXpsOMPage1_GetDocumentType(IXpsOMPage1* This,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetDocumentType(This,documentType);
}
static FORCEINLINE HRESULT IXpsOMPage1_Write1(IXpsOMPage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) {
return This->lpVtbl->Write1(This,stream,optimizeMarkupSize,documentType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsOMPage1_GetDocumentType_Proxy(
IXpsOMPage1* This,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsOMPage1_GetDocumentType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMPage1_Write1_Proxy(
IXpsOMPage1* This,
ISequentialStream *stream,
WINBOOL optimizeMarkupSize,
XPS_DOCUMENT_TYPE documentType);
void __RPC_STUB IXpsOMPage1_Write1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsOMPage1_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsDocumentPackageTarget interface
*/
#ifndef __IXpsDocumentPackageTarget_INTERFACE_DEFINED__
#define __IXpsDocumentPackageTarget_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsDocumentPackageTarget, 0x3b0b6d38, 0x53ad, 0x41da, 0xb2,0x12, 0xd3,0x76,0x37,0xa6,0x71,0x4e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3b0b6d38-53ad-41da-b212-d37637a6714e")
IXpsDocumentPackageTarget : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetXpsOMPackageWriter(
IOpcPartUri *documentSequencePartName,
IOpcPartUri *discardControlPartName,
IXpsOMPackageWriter **packageWriter) = 0;
virtual HRESULT STDMETHODCALLTYPE GetXpsOMFactory(
IXpsOMObjectFactory **xpsFactory) = 0;
virtual HRESULT STDMETHODCALLTYPE GetXpsType(
XPS_DOCUMENT_TYPE *documentType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsDocumentPackageTarget, 0x3b0b6d38, 0x53ad, 0x41da, 0xb2,0x12, 0xd3,0x76,0x37,0xa6,0x71,0x4e)
#endif
#else
typedef struct IXpsDocumentPackageTargetVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsDocumentPackageTarget* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsDocumentPackageTarget* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsDocumentPackageTarget* This);
/*** IXpsDocumentPackageTarget methods ***/
HRESULT (STDMETHODCALLTYPE *GetXpsOMPackageWriter)(
IXpsDocumentPackageTarget* This,
IOpcPartUri *documentSequencePartName,
IOpcPartUri *discardControlPartName,
IXpsOMPackageWriter **packageWriter);
HRESULT (STDMETHODCALLTYPE *GetXpsOMFactory)(
IXpsDocumentPackageTarget* This,
IXpsOMObjectFactory **xpsFactory);
HRESULT (STDMETHODCALLTYPE *GetXpsType)(
IXpsDocumentPackageTarget* This,
XPS_DOCUMENT_TYPE *documentType);
END_INTERFACE
} IXpsDocumentPackageTargetVtbl;
interface IXpsDocumentPackageTarget {
CONST_VTBL IXpsDocumentPackageTargetVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsDocumentPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsDocumentPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsDocumentPackageTarget_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsDocumentPackageTarget methods ***/
#define IXpsDocumentPackageTarget_GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter) (This)->lpVtbl->GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter)
#define IXpsDocumentPackageTarget_GetXpsOMFactory(This,xpsFactory) (This)->lpVtbl->GetXpsOMFactory(This,xpsFactory)
#define IXpsDocumentPackageTarget_GetXpsType(This,documentType) (This)->lpVtbl->GetXpsType(This,documentType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsDocumentPackageTarget_QueryInterface(IXpsDocumentPackageTarget* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsDocumentPackageTarget_AddRef(IXpsDocumentPackageTarget* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsDocumentPackageTarget_Release(IXpsDocumentPackageTarget* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsDocumentPackageTarget methods ***/
static FORCEINLINE HRESULT IXpsDocumentPackageTarget_GetXpsOMPackageWriter(IXpsDocumentPackageTarget* This,IOpcPartUri *documentSequencePartName,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
return This->lpVtbl->GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter);
}
static FORCEINLINE HRESULT IXpsDocumentPackageTarget_GetXpsOMFactory(IXpsDocumentPackageTarget* This,IXpsOMObjectFactory **xpsFactory) {
return This->lpVtbl->GetXpsOMFactory(This,xpsFactory);
}
static FORCEINLINE HRESULT IXpsDocumentPackageTarget_GetXpsType(IXpsDocumentPackageTarget* This,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetXpsType(This,documentType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsDocumentPackageTarget_GetXpsOMPackageWriter_Proxy(
IXpsDocumentPackageTarget* This,
IOpcPartUri *documentSequencePartName,
IOpcPartUri *discardControlPartName,
IXpsOMPackageWriter **packageWriter);
void __RPC_STUB IXpsDocumentPackageTarget_GetXpsOMPackageWriter_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsDocumentPackageTarget_GetXpsOMFactory_Proxy(
IXpsDocumentPackageTarget* This,
IXpsOMObjectFactory **xpsFactory);
void __RPC_STUB IXpsDocumentPackageTarget_GetXpsOMFactory_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsDocumentPackageTarget_GetXpsType_Proxy(
IXpsDocumentPackageTarget* This,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsDocumentPackageTarget_GetXpsType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsDocumentPackageTarget_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXpsOMRemoteDictionaryResource1 interface
*/
#ifndef __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__
#define __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXpsOMRemoteDictionaryResource1, 0xbf8fc1d4, 0x9d46, 0x4141, 0xba,0x5f, 0x94,0xbb,0x92,0x50,0xd0,0x41);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("bf8fc1d4-9d46-4141-ba5f-94bb9250d041")
IXpsOMRemoteDictionaryResource1 : public IXpsOMRemoteDictionaryResource
{
virtual HRESULT STDMETHODCALLTYPE GetDocumentType(
XPS_DOCUMENT_TYPE *documentType) = 0;
virtual HRESULT STDMETHODCALLTYPE Write1(
ISequentialStream *stream,
XPS_DOCUMENT_TYPE documentType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXpsOMRemoteDictionaryResource1, 0xbf8fc1d4, 0x9d46, 0x4141, 0xba,0x5f, 0x94,0xbb,0x92,0x50,0xd0,0x41)
#endif
#else
typedef struct IXpsOMRemoteDictionaryResource1Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXpsOMRemoteDictionaryResource1* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXpsOMRemoteDictionaryResource1* This);
ULONG (STDMETHODCALLTYPE *Release)(
IXpsOMRemoteDictionaryResource1* This);
/*** IXpsOMPart methods ***/
HRESULT (STDMETHODCALLTYPE *GetPartName)(
IXpsOMRemoteDictionaryResource1* This,
IOpcPartUri **partUri);
HRESULT (STDMETHODCALLTYPE *SetPartName)(
IXpsOMRemoteDictionaryResource1* This,
IOpcPartUri *partUri);
/*** IXpsOMRemoteDictionaryResource methods ***/
HRESULT (STDMETHODCALLTYPE *GetDictionary)(
IXpsOMRemoteDictionaryResource1* This,
IXpsOMDictionary **dictionary);
HRESULT (STDMETHODCALLTYPE *SetDictionary)(
IXpsOMRemoteDictionaryResource1* This,
IXpsOMDictionary *dictionary);
/*** IXpsOMRemoteDictionaryResource1 methods ***/
HRESULT (STDMETHODCALLTYPE *GetDocumentType)(
IXpsOMRemoteDictionaryResource1* This,
XPS_DOCUMENT_TYPE *documentType);
HRESULT (STDMETHODCALLTYPE *Write1)(
IXpsOMRemoteDictionaryResource1* This,
ISequentialStream *stream,
XPS_DOCUMENT_TYPE documentType);
END_INTERFACE
} IXpsOMRemoteDictionaryResource1Vtbl;
interface IXpsOMRemoteDictionaryResource1 {
CONST_VTBL IXpsOMRemoteDictionaryResource1Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXpsOMRemoteDictionaryResource1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXpsOMRemoteDictionaryResource1_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXpsOMRemoteDictionaryResource1_Release(This) (This)->lpVtbl->Release(This)
/*** IXpsOMPart methods ***/
#define IXpsOMRemoteDictionaryResource1_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
#define IXpsOMRemoteDictionaryResource1_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
/*** IXpsOMRemoteDictionaryResource methods ***/
#define IXpsOMRemoteDictionaryResource1_GetDictionary(This,dictionary) (This)->lpVtbl->GetDictionary(This,dictionary)
#define IXpsOMRemoteDictionaryResource1_SetDictionary(This,dictionary) (This)->lpVtbl->SetDictionary(This,dictionary)
/*** IXpsOMRemoteDictionaryResource1 methods ***/
#define IXpsOMRemoteDictionaryResource1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType)
#define IXpsOMRemoteDictionaryResource1_Write1(This,stream,documentType) (This)->lpVtbl->Write1(This,stream,documentType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_QueryInterface(IXpsOMRemoteDictionaryResource1* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource1_AddRef(IXpsOMRemoteDictionaryResource1* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource1_Release(IXpsOMRemoteDictionaryResource1* This) {
return This->lpVtbl->Release(This);
}
/*** IXpsOMPart methods ***/
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_GetPartName(IXpsOMRemoteDictionaryResource1* This,IOpcPartUri **partUri) {
return This->lpVtbl->GetPartName(This,partUri);
}
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_SetPartName(IXpsOMRemoteDictionaryResource1* This,IOpcPartUri *partUri) {
return This->lpVtbl->SetPartName(This,partUri);
}
/*** IXpsOMRemoteDictionaryResource methods ***/
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_GetDictionary(IXpsOMRemoteDictionaryResource1* This,IXpsOMDictionary **dictionary) {
return This->lpVtbl->GetDictionary(This,dictionary);
}
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_SetDictionary(IXpsOMRemoteDictionaryResource1* This,IXpsOMDictionary *dictionary) {
return This->lpVtbl->SetDictionary(This,dictionary);
}
/*** IXpsOMRemoteDictionaryResource1 methods ***/
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_GetDocumentType(IXpsOMRemoteDictionaryResource1* This,XPS_DOCUMENT_TYPE *documentType) {
return This->lpVtbl->GetDocumentType(This,documentType);
}
static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource1_Write1(IXpsOMRemoteDictionaryResource1* This,ISequentialStream *stream,XPS_DOCUMENT_TYPE documentType) {
return This->lpVtbl->Write1(This,stream,documentType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResource1_GetDocumentType_Proxy(
IXpsOMRemoteDictionaryResource1* This,
XPS_DOCUMENT_TYPE *documentType);
void __RPC_STUB IXpsOMRemoteDictionaryResource1_GetDocumentType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResource1_Write1_Proxy(
IXpsOMRemoteDictionaryResource1* This,
ISequentialStream *stream,
XPS_DOCUMENT_TYPE documentType);
void __RPC_STUB IXpsOMRemoteDictionaryResource1_Write1_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__ */
#endif
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __xpsobjectmodel_1_h__ */
|