zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

xpsobjectmodel.h (477448B) - Raw


      1 /*** Autogenerated by WIDL 10.4 from include/xpsobjectmodel.idl - Do not edit ***/
      2 
      3 #ifdef _WIN32
      4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      6 #endif
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 #endif
     10 
     11 #ifndef COM_NO_WINDOWS_H
     12 #include <windows.h>
     13 #include <ole2.h>
     14 #endif
     15 
     16 #ifndef __xpsobjectmodel_h__
     17 #define __xpsobjectmodel_h__
     18 
     19 /* Forward declarations */
     20 
     21 #ifndef __IXpsOMShareable_FWD_DEFINED__
     22 #define __IXpsOMShareable_FWD_DEFINED__
     23 typedef interface IXpsOMShareable IXpsOMShareable;
     24 #ifdef __cplusplus
     25 interface IXpsOMShareable;
     26 #endif /* __cplusplus */
     27 #endif
     28 
     29 #ifndef __IXpsOMPart_FWD_DEFINED__
     30 #define __IXpsOMPart_FWD_DEFINED__
     31 typedef interface IXpsOMPart IXpsOMPart;
     32 #ifdef __cplusplus
     33 interface IXpsOMPart;
     34 #endif /* __cplusplus */
     35 #endif
     36 
     37 #ifndef __IXpsOMGlyphsEditor_FWD_DEFINED__
     38 #define __IXpsOMGlyphsEditor_FWD_DEFINED__
     39 typedef interface IXpsOMGlyphsEditor IXpsOMGlyphsEditor;
     40 #ifdef __cplusplus
     41 interface IXpsOMGlyphsEditor;
     42 #endif /* __cplusplus */
     43 #endif
     44 
     45 #ifndef __IXpsOMDashCollection_FWD_DEFINED__
     46 #define __IXpsOMDashCollection_FWD_DEFINED__
     47 typedef interface IXpsOMDashCollection IXpsOMDashCollection;
     48 #ifdef __cplusplus
     49 interface IXpsOMDashCollection;
     50 #endif /* __cplusplus */
     51 #endif
     52 
     53 #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
     54 #define __IXpsOMGeometryFigure_FWD_DEFINED__
     55 typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
     56 #ifdef __cplusplus
     57 interface IXpsOMGeometryFigure;
     58 #endif /* __cplusplus */
     59 #endif
     60 
     61 #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
     62 #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
     63 typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
     64 #ifdef __cplusplus
     65 interface IXpsOMGeometryFigureCollection;
     66 #endif /* __cplusplus */
     67 #endif
     68 
     69 #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
     70 #define __IXpsOMGradientStopCollection_FWD_DEFINED__
     71 typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
     72 #ifdef __cplusplus
     73 interface IXpsOMGradientStopCollection;
     74 #endif /* __cplusplus */
     75 #endif
     76 
     77 #ifndef __IXpsOMGradientStop_FWD_DEFINED__
     78 #define __IXpsOMGradientStop_FWD_DEFINED__
     79 typedef interface IXpsOMGradientStop IXpsOMGradientStop;
     80 #ifdef __cplusplus
     81 interface IXpsOMGradientStop;
     82 #endif /* __cplusplus */
     83 #endif
     84 
     85 #ifndef __IXpsOMPartResources_FWD_DEFINED__
     86 #define __IXpsOMPartResources_FWD_DEFINED__
     87 typedef interface IXpsOMPartResources IXpsOMPartResources;
     88 #ifdef __cplusplus
     89 interface IXpsOMPartResources;
     90 #endif /* __cplusplus */
     91 #endif
     92 
     93 #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
     94 #define __IXpsOMFontResourceCollection_FWD_DEFINED__
     95 typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
     96 #ifdef __cplusplus
     97 interface IXpsOMFontResourceCollection;
     98 #endif /* __cplusplus */
     99 #endif
    100 
    101 #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
    102 #define __IXpsOMImageResourceCollection_FWD_DEFINED__
    103 typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
    104 #ifdef __cplusplus
    105 interface IXpsOMImageResourceCollection;
    106 #endif /* __cplusplus */
    107 #endif
    108 
    109 #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    110 #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    111 typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
    112 #ifdef __cplusplus
    113 interface IXpsOMColorProfileResourceCollection;
    114 #endif /* __cplusplus */
    115 #endif
    116 
    117 #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    118 #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    119 typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
    120 #ifdef __cplusplus
    121 interface IXpsOMRemoteDictionaryResourceCollection;
    122 #endif /* __cplusplus */
    123 #endif
    124 
    125 #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    126 #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    127 typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
    128 #ifdef __cplusplus
    129 interface IXpsOMSignatureBlockResourceCollection;
    130 #endif /* __cplusplus */
    131 #endif
    132 
    133 #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
    134 #define __IXpsOMVisualCollection_FWD_DEFINED__
    135 typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
    136 #ifdef __cplusplus
    137 interface IXpsOMVisualCollection;
    138 #endif /* __cplusplus */
    139 #endif
    140 
    141 #ifndef __IXpsOMDictionary_FWD_DEFINED__
    142 #define __IXpsOMDictionary_FWD_DEFINED__
    143 typedef interface IXpsOMDictionary IXpsOMDictionary;
    144 #ifdef __cplusplus
    145 interface IXpsOMDictionary;
    146 #endif /* __cplusplus */
    147 #endif
    148 
    149 #ifndef __IXpsOMPageReference_FWD_DEFINED__
    150 #define __IXpsOMPageReference_FWD_DEFINED__
    151 typedef interface IXpsOMPageReference IXpsOMPageReference;
    152 #ifdef __cplusplus
    153 interface IXpsOMPageReference;
    154 #endif /* __cplusplus */
    155 #endif
    156 
    157 #ifndef __IXpsOMPageReferenceCollection_FWD_DEFINED__
    158 #define __IXpsOMPageReferenceCollection_FWD_DEFINED__
    159 typedef interface IXpsOMPageReferenceCollection IXpsOMPageReferenceCollection;
    160 #ifdef __cplusplus
    161 interface IXpsOMPageReferenceCollection;
    162 #endif /* __cplusplus */
    163 #endif
    164 
    165 #ifndef __IXpsOMDocumentCollection_FWD_DEFINED__
    166 #define __IXpsOMDocumentCollection_FWD_DEFINED__
    167 typedef interface IXpsOMDocumentCollection IXpsOMDocumentCollection;
    168 #ifdef __cplusplus
    169 interface IXpsOMDocumentCollection;
    170 #endif /* __cplusplus */
    171 #endif
    172 
    173 #ifndef __IXpsOMPackage_FWD_DEFINED__
    174 #define __IXpsOMPackage_FWD_DEFINED__
    175 typedef interface IXpsOMPackage IXpsOMPackage;
    176 #ifdef __cplusplus
    177 interface IXpsOMPackage;
    178 #endif /* __cplusplus */
    179 #endif
    180 
    181 #ifndef __IXpsOMObjectFactory_FWD_DEFINED__
    182 #define __IXpsOMObjectFactory_FWD_DEFINED__
    183 typedef interface IXpsOMObjectFactory IXpsOMObjectFactory;
    184 #ifdef __cplusplus
    185 interface IXpsOMObjectFactory;
    186 #endif /* __cplusplus */
    187 #endif
    188 
    189 #ifndef __IXpsOMNameCollection_FWD_DEFINED__
    190 #define __IXpsOMNameCollection_FWD_DEFINED__
    191 typedef interface IXpsOMNameCollection IXpsOMNameCollection;
    192 #ifdef __cplusplus
    193 interface IXpsOMNameCollection;
    194 #endif /* __cplusplus */
    195 #endif
    196 
    197 #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
    198 #define __IXpsOMPartUriCollection_FWD_DEFINED__
    199 typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
    200 #ifdef __cplusplus
    201 interface IXpsOMPartUriCollection;
    202 #endif /* __cplusplus */
    203 #endif
    204 
    205 #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
    206 #define __IXpsOMPackageWriter_FWD_DEFINED__
    207 typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
    208 #ifdef __cplusplus
    209 interface IXpsOMPackageWriter;
    210 #endif /* __cplusplus */
    211 #endif
    212 
    213 #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
    214 #define __IXpsOMPackageTarget_FWD_DEFINED__
    215 typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
    216 #ifdef __cplusplus
    217 interface IXpsOMPackageTarget;
    218 #endif /* __cplusplus */
    219 #endif
    220 
    221 #ifndef __IXpsOMVisual_FWD_DEFINED__
    222 #define __IXpsOMVisual_FWD_DEFINED__
    223 typedef interface IXpsOMVisual IXpsOMVisual;
    224 #ifdef __cplusplus
    225 interface IXpsOMVisual;
    226 #endif /* __cplusplus */
    227 #endif
    228 
    229 #ifndef __IXpsOMBrush_FWD_DEFINED__
    230 #define __IXpsOMBrush_FWD_DEFINED__
    231 typedef interface IXpsOMBrush IXpsOMBrush;
    232 #ifdef __cplusplus
    233 interface IXpsOMBrush;
    234 #endif /* __cplusplus */
    235 #endif
    236 
    237 #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
    238 #define __IXpsOMMatrixTransform_FWD_DEFINED__
    239 typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
    240 #ifdef __cplusplus
    241 interface IXpsOMMatrixTransform;
    242 #endif /* __cplusplus */
    243 #endif
    244 
    245 #ifndef __IXpsOMGeometry_FWD_DEFINED__
    246 #define __IXpsOMGeometry_FWD_DEFINED__
    247 typedef interface IXpsOMGeometry IXpsOMGeometry;
    248 #ifdef __cplusplus
    249 interface IXpsOMGeometry;
    250 #endif /* __cplusplus */
    251 #endif
    252 
    253 #ifndef __IXpsOMGlyphs_FWD_DEFINED__
    254 #define __IXpsOMGlyphs_FWD_DEFINED__
    255 typedef interface IXpsOMGlyphs IXpsOMGlyphs;
    256 #ifdef __cplusplus
    257 interface IXpsOMGlyphs;
    258 #endif /* __cplusplus */
    259 #endif
    260 
    261 #ifndef __IXpsOMPath_FWD_DEFINED__
    262 #define __IXpsOMPath_FWD_DEFINED__
    263 typedef interface IXpsOMPath IXpsOMPath;
    264 #ifdef __cplusplus
    265 interface IXpsOMPath;
    266 #endif /* __cplusplus */
    267 #endif
    268 
    269 #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
    270 #define __IXpsOMSolidColorBrush_FWD_DEFINED__
    271 typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
    272 #ifdef __cplusplus
    273 interface IXpsOMSolidColorBrush;
    274 #endif /* __cplusplus */
    275 #endif
    276 
    277 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    278 #define __IXpsOMTileBrush_FWD_DEFINED__
    279 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    280 #ifdef __cplusplus
    281 interface IXpsOMTileBrush;
    282 #endif /* __cplusplus */
    283 #endif
    284 
    285 #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
    286 #define __IXpsOMGradientBrush_FWD_DEFINED__
    287 typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
    288 #ifdef __cplusplus
    289 interface IXpsOMGradientBrush;
    290 #endif /* __cplusplus */
    291 #endif
    292 
    293 #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
    294 #define __IXpsOMVisualBrush_FWD_DEFINED__
    295 typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
    296 #ifdef __cplusplus
    297 interface IXpsOMVisualBrush;
    298 #endif /* __cplusplus */
    299 #endif
    300 
    301 #ifndef __IXpsOMImageBrush_FWD_DEFINED__
    302 #define __IXpsOMImageBrush_FWD_DEFINED__
    303 typedef interface IXpsOMImageBrush IXpsOMImageBrush;
    304 #ifdef __cplusplus
    305 interface IXpsOMImageBrush;
    306 #endif /* __cplusplus */
    307 #endif
    308 
    309 #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
    310 #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
    311 typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
    312 #ifdef __cplusplus
    313 interface IXpsOMLinearGradientBrush;
    314 #endif /* __cplusplus */
    315 #endif
    316 
    317 #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
    318 #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
    319 typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
    320 #ifdef __cplusplus
    321 interface IXpsOMRadialGradientBrush;
    322 #endif /* __cplusplus */
    323 #endif
    324 
    325 #ifndef __IXpsOMResource_FWD_DEFINED__
    326 #define __IXpsOMResource_FWD_DEFINED__
    327 typedef interface IXpsOMResource IXpsOMResource;
    328 #ifdef __cplusplus
    329 interface IXpsOMResource;
    330 #endif /* __cplusplus */
    331 #endif
    332 
    333 #ifndef __IXpsOMFontResource_FWD_DEFINED__
    334 #define __IXpsOMFontResource_FWD_DEFINED__
    335 typedef interface IXpsOMFontResource IXpsOMFontResource;
    336 #ifdef __cplusplus
    337 interface IXpsOMFontResource;
    338 #endif /* __cplusplus */
    339 #endif
    340 
    341 #ifndef __IXpsOMImageResource_FWD_DEFINED__
    342 #define __IXpsOMImageResource_FWD_DEFINED__
    343 typedef interface IXpsOMImageResource IXpsOMImageResource;
    344 #ifdef __cplusplus
    345 interface IXpsOMImageResource;
    346 #endif /* __cplusplus */
    347 #endif
    348 
    349 #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
    350 #define __IXpsOMColorProfileResource_FWD_DEFINED__
    351 typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
    352 #ifdef __cplusplus
    353 interface IXpsOMColorProfileResource;
    354 #endif /* __cplusplus */
    355 #endif
    356 
    357 #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
    358 #define __IXpsOMPrintTicketResource_FWD_DEFINED__
    359 typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
    360 #ifdef __cplusplus
    361 interface IXpsOMPrintTicketResource;
    362 #endif /* __cplusplus */
    363 #endif
    364 
    365 #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    366 #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    367 typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
    368 #ifdef __cplusplus
    369 interface IXpsOMRemoteDictionaryResource;
    370 #endif /* __cplusplus */
    371 #endif
    372 
    373 #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
    374 #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
    375 typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
    376 #ifdef __cplusplus
    377 interface IXpsOMDocumentStructureResource;
    378 #endif /* __cplusplus */
    379 #endif
    380 
    381 #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    382 #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    383 typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
    384 #ifdef __cplusplus
    385 interface IXpsOMStoryFragmentsResource;
    386 #endif /* __cplusplus */
    387 #endif
    388 
    389 #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
    390 #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
    391 typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
    392 #ifdef __cplusplus
    393 interface IXpsOMSignatureBlockResource;
    394 #endif /* __cplusplus */
    395 #endif
    396 
    397 #ifndef __IXpsOMCanvas_FWD_DEFINED__
    398 #define __IXpsOMCanvas_FWD_DEFINED__
    399 typedef interface IXpsOMCanvas IXpsOMCanvas;
    400 #ifdef __cplusplus
    401 interface IXpsOMCanvas;
    402 #endif /* __cplusplus */
    403 #endif
    404 
    405 #ifndef __IXpsOMPage_FWD_DEFINED__
    406 #define __IXpsOMPage_FWD_DEFINED__
    407 typedef interface IXpsOMPage IXpsOMPage;
    408 #ifdef __cplusplus
    409 interface IXpsOMPage;
    410 #endif /* __cplusplus */
    411 #endif
    412 
    413 #ifndef __IXpsOMDocument_FWD_DEFINED__
    414 #define __IXpsOMDocument_FWD_DEFINED__
    415 typedef interface IXpsOMDocument IXpsOMDocument;
    416 #ifdef __cplusplus
    417 interface IXpsOMDocument;
    418 #endif /* __cplusplus */
    419 #endif
    420 
    421 #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
    422 #define __IXpsOMDocumentSequence_FWD_DEFINED__
    423 typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
    424 #ifdef __cplusplus
    425 interface IXpsOMDocumentSequence;
    426 #endif /* __cplusplus */
    427 #endif
    428 
    429 #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
    430 #define __IXpsOMCoreProperties_FWD_DEFINED__
    431 typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
    432 #ifdef __cplusplus
    433 interface IXpsOMCoreProperties;
    434 #endif /* __cplusplus */
    435 #endif
    436 
    437 #ifndef __IXpsOMThumbnailGenerator_FWD_DEFINED__
    438 #define __IXpsOMThumbnailGenerator_FWD_DEFINED__
    439 typedef interface IXpsOMThumbnailGenerator IXpsOMThumbnailGenerator;
    440 #ifdef __cplusplus
    441 interface IXpsOMThumbnailGenerator;
    442 #endif /* __cplusplus */
    443 #endif
    444 
    445 #ifndef __XpsOMObjectFactory_FWD_DEFINED__
    446 #define __XpsOMObjectFactory_FWD_DEFINED__
    447 #ifdef __cplusplus
    448 typedef class XpsOMObjectFactory XpsOMObjectFactory;
    449 #else
    450 typedef struct XpsOMObjectFactory XpsOMObjectFactory;
    451 #endif /* defined __cplusplus */
    452 #endif /* defined __XpsOMObjectFactory_FWD_DEFINED__ */
    453 
    454 #ifndef __XpsOMThumbnailGenerator_FWD_DEFINED__
    455 #define __XpsOMThumbnailGenerator_FWD_DEFINED__
    456 #ifdef __cplusplus
    457 typedef class XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
    458 #else
    459 typedef struct XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
    460 #endif /* defined __cplusplus */
    461 #endif /* defined __XpsOMThumbnailGenerator_FWD_DEFINED__ */
    462 
    463 /* Headers for imported files */
    464 
    465 #include <oaidl.h>
    466 #include <ocidl.h>
    467 #include <msopc.h>
    468 
    469 #ifdef __cplusplus
    470 extern "C" {
    471 #endif
    472 
    473 #include <winapifamily.h>
    474 
    475 #if NTDDI_VERSION >= 0x06010000
    476 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    477 #endif
    478 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
    479 #define XPS_E_INVALID_LANGUAGE MAKE_HRESULT(1, FACILITY_XPS, 0x0)
    480 #define XPS_E_INVALID_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x1)
    481 #define XPS_E_INVALID_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x2)
    482 #define XPS_E_INVALID_PAGE_SIZE MAKE_HRESULT(1, FACILITY_XPS, 0x3)
    483 #define XPS_E_INVALID_BLEED_BOX MAKE_HRESULT(1, FACILITY_XPS, 0x4)
    484 #define XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x5)
    485 #define XPS_E_INVALID_LOOKUP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x6)
    486 #define XPS_E_INVALID_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x7)
    487 #define XPS_E_UNEXPECTED_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x8)
    488 #define XPS_E_INVALID_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xa)
    489 #define XPS_E_INVALID_CONTENT_BOX MAKE_HRESULT(1, FACILITY_XPS, 0xb)
    490 #define XPS_E_INVALID_MARKUP MAKE_HRESULT(1, FACILITY_XPS, 0xc)
    491 #define XPS_E_INVALID_XML_ENCODING MAKE_HRESULT(1, FACILITY_XPS, 0xd)
    492 #define XPS_E_INVALID_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0xe)
    493 #define XPS_E_INVALID_OBFUSCATED_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xf)
    494 #define XPS_E_UNEXPECTED_RELATIONSHIP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x10)
    495 #define XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x11)
    496 #define XPS_E_MISSING_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x100)
    497 #define XPS_E_MISSING_LOOKUP MAKE_HRESULT(1, FACILITY_XPS, 0x101)
    498 #define XPS_E_MISSING_GLYPHS MAKE_HRESULT(1, FACILITY_XPS, 0x102)
    499 #define XPS_E_MISSING_SEGMENT_DATA MAKE_HRESULT(1, FACILITY_XPS, 0x103)
    500 #define XPS_E_MISSING_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x104)
    501 #define XPS_E_MISSING_RELATIONSHIP_TARGET MAKE_HRESULT(1, FACILITY_XPS, 0x105)
    502 #define XPS_E_MISSING_RESOURCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x106)
    503 #define XPS_E_MISSING_FONTURI MAKE_HRESULT(1, FACILITY_XPS, 0x107)
    504 #define XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x108)
    505 #define XPS_E_MISSING_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x109)
    506 #define XPS_E_MISSING_REFERRED_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10a)
    507 #define XPS_E_MISSING_REFERRED_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x10b)
    508 #define XPS_E_MISSING_PAGE_IN_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10c)
    509 #define XPS_E_MISSING_PAGE_IN_PAGEREFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x10d)
    510 #define XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH MAKE_HRESULT(1, FACILITY_XPS, 0x10e)
    511 #define XPS_E_MISSING_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x10f)
    512 #define XPS_E_MISSING_PART_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x110)
    513 #define XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x111)
    514 #define XPS_E_MISSING_DISCARDCONTROL MAKE_HRESULT(1, FACILITY_XPS, 0x112)
    515 #define XPS_E_MISSING_PART_STREAM MAKE_HRESULT(1, FACILITY_XPS, 0x113)
    516 #define XPS_E_UNAVAILABLE_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x114)
    517 #define XPS_E_DUPLICATE_RESOURCE_KEYS MAKE_HRESULT(1, FACILITY_XPS, 0x200)
    518 #define XPS_E_MULTIPLE_RESOURCES MAKE_HRESULT(1, FACILITY_XPS, 0x201)
    519 #define XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS MAKE_HRESULT(1, FACILITY_XPS, 0x202)
    520 #define XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x203)
    521 #define XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x204)
    522 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x205)
    523 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x206)
    524 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE MAKE_HRESULT(1, FACILITY_XPS, 0x207)
    525 #define XPS_E_MULTIPLE_REFERENCES_TO_PART MAKE_HRESULT(1, FACILITY_XPS, 0x208)
    526 #define XPS_E_DUPLICATE_NAMES MAKE_HRESULT(1, FACILITY_XPS, 0x209)
    527 #define XPS_E_STRING_TOO_LONG MAKE_HRESULT(1, FACILITY_XPS, 0x300)
    528 #define XPS_E_TOO_MANY_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x301)
    529 #define XPS_E_MAPPING_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x302)
    530 #define XPS_E_MAPPING_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x303)
    531 #define XPS_E_MAPPING_OUTSIDE_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x304)
    532 #define XPS_E_CARET_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x305)
    533 #define XPS_E_CARET_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x306)
    534 #define XPS_E_ODD_BIDILEVEL MAKE_HRESULT(1, FACILITY_XPS, 0x307)
    535 #define XPS_E_ONE_TO_ONE_MAPPING_EXPECTED MAKE_HRESULT(1, FACILITY_XPS, 0x308)
    536 #define XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED MAKE_HRESULT(1, FACILITY_XPS, 0x309)
    537 #define XPS_E_NEGATIVE_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x30a)
    538 #define XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT MAKE_HRESULT(1, FACILITY_XPS, 0x400)
    539 #define XPS_E_DICTIONARY_ITEM_NAMED MAKE_HRESULT(1, FACILITY_XPS, 0x401)
    540 #define XPS_E_NESTED_REMOTE_DICTIONARY MAKE_HRESULT(1, FACILITY_XPS, 0x402)
    541 #define XPS_E_INDEX_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x500)
    542 #define XPS_E_VISUAL_CIRCULAR_REF MAKE_HRESULT(1, FACILITY_XPS, 0x501)
    543 #define XPS_E_NO_CUSTOM_OBJECTS MAKE_HRESULT(1, FACILITY_XPS, 0x502)
    544 #define XPS_E_ALREADY_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x503)
    545 #define XPS_E_RESOURCE_NOT_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x504)
    546 #define XPS_E_UNEXPECTED_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x505)
    547 #define XPS_E_COLOR_COMPONENT_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x506)
    548 #define XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x507)
    549 #define XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x508)
    550 #define XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC MAKE_HRESULT(1, FACILITY_XPS, 0x509)
    551 #define XPS_E_RELATIONSHIP_EXTERNAL MAKE_HRESULT(1, FACILITY_XPS, 0x50a)
    552 #define XPS_E_NOT_ENOUGH_GRADIENT_STOPS MAKE_HRESULT(1, FACILITY_XPS, 0x50b)
    553 #define XPS_E_PACKAGE_WRITER_NOT_CLOSED MAKE_HRESULT(1, FACILITY_XPS, 0x50c)
    554 #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
    555 #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
    556 typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
    557 #ifdef __cplusplus
    558 interface IXpsOMDocumentStructureResource;
    559 #endif /* __cplusplus */
    560 #endif
    561 
    562 #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
    563 #define __IXpsOMCoreProperties_FWD_DEFINED__
    564 typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
    565 #ifdef __cplusplus
    566 interface IXpsOMCoreProperties;
    567 #endif /* __cplusplus */
    568 #endif
    569 
    570 #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
    571 #define __IXpsOMPrintTicketResource_FWD_DEFINED__
    572 typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
    573 #ifdef __cplusplus
    574 interface IXpsOMPrintTicketResource;
    575 #endif /* __cplusplus */
    576 #endif
    577 
    578 #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    579 #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    580 typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
    581 #ifdef __cplusplus
    582 interface IXpsOMStoryFragmentsResource;
    583 #endif /* __cplusplus */
    584 #endif
    585 
    586 #ifndef __IXpsOMPackage_FWD_DEFINED__
    587 #define __IXpsOMPackage_FWD_DEFINED__
    588 typedef interface IXpsOMPackage IXpsOMPackage;
    589 #ifdef __cplusplus
    590 interface IXpsOMPackage;
    591 #endif /* __cplusplus */
    592 #endif
    593 
    594 #ifndef __IXpsOMPart_FWD_DEFINED__
    595 #define __IXpsOMPart_FWD_DEFINED__
    596 typedef interface IXpsOMPart IXpsOMPart;
    597 #ifdef __cplusplus
    598 interface IXpsOMPart;
    599 #endif /* __cplusplus */
    600 #endif
    601 
    602 #ifndef __IXpsOMShareable_FWD_DEFINED__
    603 #define __IXpsOMShareable_FWD_DEFINED__
    604 typedef interface IXpsOMShareable IXpsOMShareable;
    605 #ifdef __cplusplus
    606 interface IXpsOMShareable;
    607 #endif /* __cplusplus */
    608 #endif
    609 
    610 #ifndef __IXpsOMVisual_FWD_DEFINED__
    611 #define __IXpsOMVisual_FWD_DEFINED__
    612 typedef interface IXpsOMVisual IXpsOMVisual;
    613 #ifdef __cplusplus
    614 interface IXpsOMVisual;
    615 #endif /* __cplusplus */
    616 #endif
    617 
    618 #ifndef __IXpsOMBrush_FWD_DEFINED__
    619 #define __IXpsOMBrush_FWD_DEFINED__
    620 typedef interface IXpsOMBrush IXpsOMBrush;
    621 #ifdef __cplusplus
    622 interface IXpsOMBrush;
    623 #endif /* __cplusplus */
    624 #endif
    625 
    626 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    627 #define __IXpsOMTileBrush_FWD_DEFINED__
    628 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    629 #ifdef __cplusplus
    630 interface IXpsOMTileBrush;
    631 #endif /* __cplusplus */
    632 #endif
    633 
    634 #ifndef __IXpsOMResource_FWD_DEFINED__
    635 #define __IXpsOMResource_FWD_DEFINED__
    636 typedef interface IXpsOMResource IXpsOMResource;
    637 #ifdef __cplusplus
    638 interface IXpsOMResource;
    639 #endif /* __cplusplus */
    640 #endif
    641 
    642 #ifndef __IXpsOMCanvas_FWD_DEFINED__
    643 #define __IXpsOMCanvas_FWD_DEFINED__
    644 typedef interface IXpsOMCanvas IXpsOMCanvas;
    645 #ifdef __cplusplus
    646 interface IXpsOMCanvas;
    647 #endif /* __cplusplus */
    648 #endif
    649 
    650 #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
    651 #define __IXpsOMColorProfileResource_FWD_DEFINED__
    652 typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
    653 #ifdef __cplusplus
    654 interface IXpsOMColorProfileResource;
    655 #endif /* __cplusplus */
    656 #endif
    657 
    658 #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    659 #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    660 typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
    661 #ifdef __cplusplus
    662 interface IXpsOMColorProfileResourceCollection;
    663 #endif /* __cplusplus */
    664 #endif
    665 
    666 #ifndef __IXpsOMDashCollection_FWD_DEFINED__
    667 #define __IXpsOMDashCollection_FWD_DEFINED__
    668 typedef interface IXpsOMDashCollection IXpsOMDashCollection;
    669 #ifdef __cplusplus
    670 interface IXpsOMDashCollection;
    671 #endif /* __cplusplus */
    672 #endif
    673 
    674 #ifndef __IXpsOMFontResource_FWD_DEFINED__
    675 #define __IXpsOMFontResource_FWD_DEFINED__
    676 typedef interface IXpsOMFontResource IXpsOMFontResource;
    677 #ifdef __cplusplus
    678 interface IXpsOMFontResource;
    679 #endif /* __cplusplus */
    680 #endif
    681 
    682 #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
    683 #define __IXpsOMFontResourceCollection_FWD_DEFINED__
    684 typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
    685 #ifdef __cplusplus
    686 interface IXpsOMFontResourceCollection;
    687 #endif /* __cplusplus */
    688 #endif
    689 
    690 #ifndef __IXpsOMGeometry_FWD_DEFINED__
    691 #define __IXpsOMGeometry_FWD_DEFINED__
    692 typedef interface IXpsOMGeometry IXpsOMGeometry;
    693 #ifdef __cplusplus
    694 interface IXpsOMGeometry;
    695 #endif /* __cplusplus */
    696 #endif
    697 
    698 #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
    699 #define __IXpsOMGeometryFigure_FWD_DEFINED__
    700 typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
    701 #ifdef __cplusplus
    702 interface IXpsOMGeometryFigure;
    703 #endif /* __cplusplus */
    704 #endif
    705 
    706 #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
    707 #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
    708 typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
    709 #ifdef __cplusplus
    710 interface IXpsOMGeometryFigureCollection;
    711 #endif /* __cplusplus */
    712 #endif
    713 
    714 #ifndef __IXpsOMGlyphs_FWD_DEFINED__
    715 #define __IXpsOMGlyphs_FWD_DEFINED__
    716 typedef interface IXpsOMGlyphs IXpsOMGlyphs;
    717 #ifdef __cplusplus
    718 interface IXpsOMGlyphs;
    719 #endif /* __cplusplus */
    720 #endif
    721 
    722 #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
    723 #define __IXpsOMGradientBrush_FWD_DEFINED__
    724 typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
    725 #ifdef __cplusplus
    726 interface IXpsOMGradientBrush;
    727 #endif /* __cplusplus */
    728 #endif
    729 
    730 #ifndef __IXpsOMGradientStop_FWD_DEFINED__
    731 #define __IXpsOMGradientStop_FWD_DEFINED__
    732 typedef interface IXpsOMGradientStop IXpsOMGradientStop;
    733 #ifdef __cplusplus
    734 interface IXpsOMGradientStop;
    735 #endif /* __cplusplus */
    736 #endif
    737 
    738 #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
    739 #define __IXpsOMGradientStopCollection_FWD_DEFINED__
    740 typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
    741 #ifdef __cplusplus
    742 interface IXpsOMGradientStopCollection;
    743 #endif /* __cplusplus */
    744 #endif
    745 
    746 #ifndef __IXpsOMImageBrush_FWD_DEFINED__
    747 #define __IXpsOMImageBrush_FWD_DEFINED__
    748 typedef interface IXpsOMImageBrush IXpsOMImageBrush;
    749 #ifdef __cplusplus
    750 interface IXpsOMImageBrush;
    751 #endif /* __cplusplus */
    752 #endif
    753 
    754 #ifndef __IXpsOMImageResource_FWD_DEFINED__
    755 #define __IXpsOMImageResource_FWD_DEFINED__
    756 typedef interface IXpsOMImageResource IXpsOMImageResource;
    757 #ifdef __cplusplus
    758 interface IXpsOMImageResource;
    759 #endif /* __cplusplus */
    760 #endif
    761 
    762 #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
    763 #define __IXpsOMImageResourceCollection_FWD_DEFINED__
    764 typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
    765 #ifdef __cplusplus
    766 interface IXpsOMImageResourceCollection;
    767 #endif /* __cplusplus */
    768 #endif
    769 
    770 #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
    771 #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
    772 typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
    773 #ifdef __cplusplus
    774 interface IXpsOMLinearGradientBrush;
    775 #endif /* __cplusplus */
    776 #endif
    777 
    778 #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
    779 #define __IXpsOMMatrixTransform_FWD_DEFINED__
    780 typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
    781 #ifdef __cplusplus
    782 interface IXpsOMMatrixTransform;
    783 #endif /* __cplusplus */
    784 #endif
    785 
    786 #ifndef __IXpsOMPartResources_FWD_DEFINED__
    787 #define __IXpsOMPartResources_FWD_DEFINED__
    788 typedef interface IXpsOMPartResources IXpsOMPartResources;
    789 #ifdef __cplusplus
    790 interface IXpsOMPartResources;
    791 #endif /* __cplusplus */
    792 #endif
    793 
    794 #ifndef __IXpsOMPath_FWD_DEFINED__
    795 #define __IXpsOMPath_FWD_DEFINED__
    796 typedef interface IXpsOMPath IXpsOMPath;
    797 #ifdef __cplusplus
    798 interface IXpsOMPath;
    799 #endif /* __cplusplus */
    800 #endif
    801 
    802 #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
    803 #define __IXpsOMPartUriCollection_FWD_DEFINED__
    804 typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
    805 #ifdef __cplusplus
    806 interface IXpsOMPartUriCollection;
    807 #endif /* __cplusplus */
    808 #endif
    809 
    810 #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
    811 #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
    812 typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
    813 #ifdef __cplusplus
    814 interface IXpsOMRadialGradientBrush;
    815 #endif /* __cplusplus */
    816 #endif
    817 
    818 #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    819 #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    820 typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
    821 #ifdef __cplusplus
    822 interface IXpsOMRemoteDictionaryResource;
    823 #endif /* __cplusplus */
    824 #endif
    825 
    826 #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    827 #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    828 typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
    829 #ifdef __cplusplus
    830 interface IXpsOMRemoteDictionaryResourceCollection;
    831 #endif /* __cplusplus */
    832 #endif
    833 
    834 #ifndef __IXpsOMDictionary_FWD_DEFINED__
    835 #define __IXpsOMDictionary_FWD_DEFINED__
    836 typedef interface IXpsOMDictionary IXpsOMDictionary;
    837 #ifdef __cplusplus
    838 interface IXpsOMDictionary;
    839 #endif /* __cplusplus */
    840 #endif
    841 
    842 #ifndef __IXpsOMShareable_FWD_DEFINED__
    843 #define __IXpsOMShareable_FWD_DEFINED__
    844 typedef interface IXpsOMShareable IXpsOMShareable;
    845 #ifdef __cplusplus
    846 interface IXpsOMShareable;
    847 #endif /* __cplusplus */
    848 #endif
    849 
    850 #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
    851 #define __IXpsOMSolidColorBrush_FWD_DEFINED__
    852 typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
    853 #ifdef __cplusplus
    854 interface IXpsOMSolidColorBrush;
    855 #endif /* __cplusplus */
    856 #endif
    857 
    858 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    859 #define __IXpsOMTileBrush_FWD_DEFINED__
    860 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    861 #ifdef __cplusplus
    862 interface IXpsOMTileBrush;
    863 #endif /* __cplusplus */
    864 #endif
    865 
    866 #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
    867 #define __IXpsOMVisualBrush_FWD_DEFINED__
    868 typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
    869 #ifdef __cplusplus
    870 interface IXpsOMVisualBrush;
    871 #endif /* __cplusplus */
    872 #endif
    873 
    874 #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
    875 #define __IXpsOMVisualCollection_FWD_DEFINED__
    876 typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
    877 #ifdef __cplusplus
    878 interface IXpsOMVisualCollection;
    879 #endif /* __cplusplus */
    880 #endif
    881 
    882 #ifndef __IXpsOMPageReference_FWD_DEFINED__
    883 #define __IXpsOMPageReference_FWD_DEFINED__
    884 typedef interface IXpsOMPageReference IXpsOMPageReference;
    885 #ifdef __cplusplus
    886 interface IXpsOMPageReference;
    887 #endif /* __cplusplus */
    888 #endif
    889 
    890 #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
    891 #define __IXpsOMDocumentSequence_FWD_DEFINED__
    892 typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
    893 #ifdef __cplusplus
    894 interface IXpsOMDocumentSequence;
    895 #endif /* __cplusplus */
    896 #endif
    897 
    898 #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
    899 #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
    900 typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
    901 #ifdef __cplusplus
    902 interface IXpsOMSignatureBlockResource;
    903 #endif /* __cplusplus */
    904 #endif
    905 
    906 #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    907 #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    908 typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
    909 #ifdef __cplusplus
    910 interface IXpsOMSignatureBlockResourceCollection;
    911 #endif /* __cplusplus */
    912 #endif
    913 
    914 #ifndef __IXpsOMNameCollection_FWD_DEFINED__
    915 #define __IXpsOMNameCollection_FWD_DEFINED__
    916 typedef interface IXpsOMNameCollection IXpsOMNameCollection;
    917 #ifdef __cplusplus
    918 interface IXpsOMNameCollection;
    919 #endif /* __cplusplus */
    920 #endif
    921 
    922 #ifndef __IXpsOMDocument_FWD_DEFINED__
    923 #define __IXpsOMDocument_FWD_DEFINED__
    924 typedef interface IXpsOMDocument IXpsOMDocument;
    925 #ifdef __cplusplus
    926 interface IXpsOMDocument;
    927 #endif /* __cplusplus */
    928 #endif
    929 
    930 #ifndef __IXpsOMPage_FWD_DEFINED__
    931 #define __IXpsOMPage_FWD_DEFINED__
    932 typedef interface IXpsOMPage IXpsOMPage;
    933 #ifdef __cplusplus
    934 interface IXpsOMPage;
    935 #endif /* __cplusplus */
    936 #endif
    937 
    938 #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
    939 #define __IXpsOMPackageWriter_FWD_DEFINED__
    940 typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
    941 #ifdef __cplusplus
    942 interface IXpsOMPackageWriter;
    943 #endif /* __cplusplus */
    944 #endif
    945 
    946 #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
    947 #define __IXpsOMPackageTarget_FWD_DEFINED__
    948 typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
    949 #ifdef __cplusplus
    950 interface IXpsOMPackageTarget;
    951 #endif /* __cplusplus */
    952 #endif
    953 
    954 typedef enum __WIDL_xpsobjectmodel_generated_name_00000031 {
    955     XPS_COLOR_INTERPOLATION_SCRGBLINEAR = 1,
    956     XPS_COLOR_INTERPOLATION_SRGBLINEAR = 2
    957 } XPS_COLOR_INTERPOLATION;
    958 typedef enum __WIDL_xpsobjectmodel_generated_name_00000032 {
    959     XPS_COLOR_TYPE_SRGB = 1,
    960     XPS_COLOR_TYPE_SCRGB = 2,
    961     XPS_COLOR_TYPE_CONTEXT = 3
    962 } XPS_COLOR_TYPE;
    963 typedef enum __WIDL_xpsobjectmodel_generated_name_00000033 {
    964     XPS_DASH_CAP_FLAT = 1,
    965     XPS_DASH_CAP_ROUND = 2,
    966     XPS_DASH_CAP_SQUARE = 3,
    967     XPS_DASH_CAP_TRIANGLE = 4
    968 } XPS_DASH_CAP;
    969 typedef enum __WIDL_xpsobjectmodel_generated_name_00000034 {
    970     XPS_FILL_RULE_EVENODD = 1,
    971     XPS_FILL_RULE_NONZERO = 2
    972 } XPS_FILL_RULE;
    973 typedef enum __WIDL_xpsobjectmodel_generated_name_00000035 {
    974     XPS_FONT_EMBEDDING_NORMAL = 1,
    975     XPS_FONT_EMBEDDING_OBFUSCATED = 2,
    976     XPS_FONT_EMBEDDING_RESTRICTED = 3,
    977     XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED = 4
    978 } XPS_FONT_EMBEDDING;
    979 typedef enum __WIDL_xpsobjectmodel_generated_name_00000036 {
    980     XPS_IMAGE_TYPE_JPEG = 1,
    981     XPS_IMAGE_TYPE_PNG = 2,
    982     XPS_IMAGE_TYPE_TIFF = 3,
    983     XPS_IMAGE_TYPE_WDP = 4,
    984     XPS_IMAGE_TYPE_JXR = 5
    985 } XPS_IMAGE_TYPE;
    986 typedef enum __WIDL_xpsobjectmodel_generated_name_00000037 {
    987     XPS_INTERLEAVING_OFF = 1,
    988     XPS_INTERLEAVING_ON = 2
    989 } XPS_INTERLEAVING;
    990 typedef enum __WIDL_xpsobjectmodel_generated_name_00000038 {
    991     XPS_LINE_CAP_FLAT = 1,
    992     XPS_LINE_CAP_ROUND = 2,
    993     XPS_LINE_CAP_SQUARE = 3,
    994     XPS_LINE_CAP_TRIANGLE = 4
    995 } XPS_LINE_CAP;
    996 typedef enum __WIDL_xpsobjectmodel_generated_name_00000039 {
    997     XPS_LINE_JOIN_MITER = 1,
    998     XPS_LINE_JOIN_BEVEL = 2,
    999     XPS_LINE_JOIN_ROUND = 3
   1000 } XPS_LINE_JOIN;
   1001 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003A {
   1002     XPS_OBJECT_TYPE_CANVAS = 1,
   1003     XPS_OBJECT_TYPE_GLYPHS = 2,
   1004     XPS_OBJECT_TYPE_PATH = 3,
   1005     XPS_OBJECT_TYPE_MATRIX_TRANSFORM = 4,
   1006     XPS_OBJECT_TYPE_GEOMETRY = 5,
   1007     XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH = 6,
   1008     XPS_OBJECT_TYPE_IMAGE_BRUSH = 7,
   1009     XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH = 8,
   1010     XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH = 9,
   1011     XPS_OBJECT_TYPE_VISUAL_BRUSH = 10
   1012 } XPS_OBJECT_TYPE;
   1013 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003B {
   1014     XPS_SEGMENT_STROKE_PATTERN_ALL = 1,
   1015     XPS_SEGMENT_STROKE_PATTERN_NONE = 2,
   1016     XPS_SEGMENT_STROKE_PATTERN_MIXED = 3
   1017 } XPS_SEGMENT_STROKE_PATTERN;
   1018 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003C {
   1019     XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE = 1,
   1020     XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE = 2,
   1021     XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE = 3,
   1022     XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE = 4,
   1023     XPS_SEGMENT_TYPE_BEZIER = 5,
   1024     XPS_SEGMENT_TYPE_LINE = 6,
   1025     XPS_SEGMENT_TYPE_QUADRATIC_BEZIER = 7
   1026 } XPS_SEGMENT_TYPE;
   1027 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003D {
   1028     XPS_SPREAD_METHOD_PAD = 1,
   1029     XPS_SPREAD_METHOD_REFLECT = 2,
   1030     XPS_SPREAD_METHOD_REPEAT = 3
   1031 } XPS_SPREAD_METHOD;
   1032 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003E {
   1033     XPS_STYLE_SIMULATION_NONE = 1,
   1034     XPS_STYLE_SIMULATION_ITALIC = 2,
   1035     XPS_STYLE_SIMULATION_BOLD = 3,
   1036     XPS_STYLE_SIMULATION_BOLDITALIC = 4
   1037 } XPS_STYLE_SIMULATION;
   1038 typedef enum __WIDL_xpsobjectmodel_generated_name_0000003F {
   1039     XPS_THUMBNAIL_SIZE_VERYSMALL = 1,
   1040     XPS_THUMBNAIL_SIZE_SMALL = 2,
   1041     XPS_THUMBNAIL_SIZE_MEDIUM = 3,
   1042     XPS_THUMBNAIL_SIZE_LARGE = 4
   1043 } XPS_THUMBNAIL_SIZE;
   1044 typedef enum __WIDL_xpsobjectmodel_generated_name_00000040 {
   1045     XPS_TILE_MODE_NONE = 1,
   1046     XPS_TILE_MODE_TILE = 2,
   1047     XPS_TILE_MODE_FLIPX = 3,
   1048     XPS_TILE_MODE_FLIPY = 4,
   1049     XPS_TILE_MODE_FLIPXY = 5
   1050 } XPS_TILE_MODE;
   1051 typedef struct __WIDL_xpsobjectmodel_generated_name_00000042 {
   1052     XPS_COLOR_TYPE colorType;
   1053     union __WIDL_xpsobjectmodel_generated_name_00000041 {
   1054         struct {
   1055             UINT8 alpha;
   1056             UINT8 red;
   1057             UINT8 green;
   1058             UINT8 blue;
   1059         } sRGB;
   1060         struct {
   1061             FLOAT alpha;
   1062             FLOAT red;
   1063             FLOAT green;
   1064             FLOAT blue;
   1065         } scRGB;
   1066         struct {
   1067             UINT8 channelCount;
   1068             FLOAT channels[9];
   1069         } context;
   1070     } value;
   1071 } XPS_COLOR;
   1072 typedef struct __WIDL_xpsobjectmodel_generated_name_00000043 {
   1073     FLOAT length;
   1074     FLOAT gap;
   1075 } XPS_DASH;
   1076 typedef struct __WIDL_xpsobjectmodel_generated_name_00000044 {
   1077     LONG index;
   1078     FLOAT advanceWidth;
   1079     FLOAT horizontalOffset;
   1080     FLOAT verticalOffset;
   1081 } XPS_GLYPH_INDEX;
   1082 typedef struct __WIDL_xpsobjectmodel_generated_name_00000045 {
   1083     UINT32 unicodeStringStart;
   1084     UINT16 unicodeStringLength;
   1085     UINT32 glyphIndicesStart;
   1086     UINT16 glyphIndicesLength;
   1087 } XPS_GLYPH_MAPPING;
   1088 typedef struct __WIDL_xpsobjectmodel_generated_name_00000046 {
   1089     FLOAT m11;
   1090     FLOAT m12;
   1091     FLOAT m21;
   1092     FLOAT m22;
   1093     FLOAT m31;
   1094     FLOAT m32;
   1095 } XPS_MATRIX;
   1096 typedef struct __WIDL_xpsobjectmodel_generated_name_00000047 {
   1097     FLOAT x;
   1098     FLOAT y;
   1099 } XPS_POINT;
   1100 typedef struct __WIDL_xpsobjectmodel_generated_name_00000048 {
   1101     FLOAT x;
   1102     FLOAT y;
   1103     FLOAT width;
   1104     FLOAT height;
   1105 } XPS_RECT;
   1106 typedef struct __WIDL_xpsobjectmodel_generated_name_00000049 {
   1107     FLOAT width;
   1108     FLOAT height;
   1109 } XPS_SIZE;
   1110 /*****************************************************************************
   1111  * IXpsOMShareable interface
   1112  */
   1113 #ifndef __IXpsOMShareable_INTERFACE_DEFINED__
   1114 #define __IXpsOMShareable_INTERFACE_DEFINED__
   1115 
   1116 DEFINE_GUID(IID_IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce);
   1117 #if defined(__cplusplus) && !defined(CINTERFACE)
   1118 MIDL_INTERFACE("7137398f-2fc1-454d-8c6a-2c3115a16ece")
   1119 IXpsOMShareable : public IUnknown
   1120 {
   1121     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   1122         IUnknown **owner) = 0;
   1123 
   1124     virtual HRESULT STDMETHODCALLTYPE GetType(
   1125         XPS_OBJECT_TYPE *type) = 0;
   1126 
   1127 };
   1128 #ifdef __CRT_UUID_DECL
   1129 __CRT_UUID_DECL(IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce)
   1130 #endif
   1131 #else
   1132 typedef struct IXpsOMShareableVtbl {
   1133     BEGIN_INTERFACE
   1134 
   1135     /*** IUnknown methods ***/
   1136     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1137         IXpsOMShareable *This,
   1138         REFIID riid,
   1139         void **ppvObject);
   1140 
   1141     ULONG (STDMETHODCALLTYPE *AddRef)(
   1142         IXpsOMShareable *This);
   1143 
   1144     ULONG (STDMETHODCALLTYPE *Release)(
   1145         IXpsOMShareable *This);
   1146 
   1147     /*** IXpsOMShareable methods ***/
   1148     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   1149         IXpsOMShareable *This,
   1150         IUnknown **owner);
   1151 
   1152     HRESULT (STDMETHODCALLTYPE *GetType)(
   1153         IXpsOMShareable *This,
   1154         XPS_OBJECT_TYPE *type);
   1155 
   1156     END_INTERFACE
   1157 } IXpsOMShareableVtbl;
   1158 
   1159 interface IXpsOMShareable {
   1160     CONST_VTBL IXpsOMShareableVtbl* lpVtbl;
   1161 };
   1162 
   1163 #ifdef COBJMACROS
   1164 #ifndef WIDL_C_INLINE_WRAPPERS
   1165 /*** IUnknown methods ***/
   1166 #define IXpsOMShareable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1167 #define IXpsOMShareable_AddRef(This) (This)->lpVtbl->AddRef(This)
   1168 #define IXpsOMShareable_Release(This) (This)->lpVtbl->Release(This)
   1169 /*** IXpsOMShareable methods ***/
   1170 #define IXpsOMShareable_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   1171 #define IXpsOMShareable_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   1172 #else
   1173 /*** IUnknown methods ***/
   1174 static inline HRESULT IXpsOMShareable_QueryInterface(IXpsOMShareable* This,REFIID riid,void **ppvObject) {
   1175     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1176 }
   1177 static inline ULONG IXpsOMShareable_AddRef(IXpsOMShareable* This) {
   1178     return This->lpVtbl->AddRef(This);
   1179 }
   1180 static inline ULONG IXpsOMShareable_Release(IXpsOMShareable* This) {
   1181     return This->lpVtbl->Release(This);
   1182 }
   1183 /*** IXpsOMShareable methods ***/
   1184 static inline HRESULT IXpsOMShareable_GetOwner(IXpsOMShareable* This,IUnknown **owner) {
   1185     return This->lpVtbl->GetOwner(This,owner);
   1186 }
   1187 static inline HRESULT IXpsOMShareable_GetType(IXpsOMShareable* This,XPS_OBJECT_TYPE *type) {
   1188     return This->lpVtbl->GetType(This,type);
   1189 }
   1190 #endif
   1191 #endif
   1192 
   1193 #endif
   1194 
   1195 
   1196 #endif  /* __IXpsOMShareable_INTERFACE_DEFINED__ */
   1197 
   1198 /*****************************************************************************
   1199  * IXpsOMPart interface
   1200  */
   1201 #ifndef __IXpsOMPart_INTERFACE_DEFINED__
   1202 #define __IXpsOMPart_INTERFACE_DEFINED__
   1203 
   1204 DEFINE_GUID(IID_IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6);
   1205 #if defined(__cplusplus) && !defined(CINTERFACE)
   1206 MIDL_INTERFACE("74eb2f0b-a91e-4486-afac-0fabeca3dfc6")
   1207 IXpsOMPart : public IUnknown
   1208 {
   1209     virtual HRESULT STDMETHODCALLTYPE GetPartName(
   1210         IOpcPartUri **partUri) = 0;
   1211 
   1212     virtual HRESULT STDMETHODCALLTYPE SetPartName(
   1213         IOpcPartUri *partUri) = 0;
   1214 
   1215 };
   1216 #ifdef __CRT_UUID_DECL
   1217 __CRT_UUID_DECL(IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6)
   1218 #endif
   1219 #else
   1220 typedef struct IXpsOMPartVtbl {
   1221     BEGIN_INTERFACE
   1222 
   1223     /*** IUnknown methods ***/
   1224     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1225         IXpsOMPart *This,
   1226         REFIID riid,
   1227         void **ppvObject);
   1228 
   1229     ULONG (STDMETHODCALLTYPE *AddRef)(
   1230         IXpsOMPart *This);
   1231 
   1232     ULONG (STDMETHODCALLTYPE *Release)(
   1233         IXpsOMPart *This);
   1234 
   1235     /*** IXpsOMPart methods ***/
   1236     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   1237         IXpsOMPart *This,
   1238         IOpcPartUri **partUri);
   1239 
   1240     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   1241         IXpsOMPart *This,
   1242         IOpcPartUri *partUri);
   1243 
   1244     END_INTERFACE
   1245 } IXpsOMPartVtbl;
   1246 
   1247 interface IXpsOMPart {
   1248     CONST_VTBL IXpsOMPartVtbl* lpVtbl;
   1249 };
   1250 
   1251 #ifdef COBJMACROS
   1252 #ifndef WIDL_C_INLINE_WRAPPERS
   1253 /*** IUnknown methods ***/
   1254 #define IXpsOMPart_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1255 #define IXpsOMPart_AddRef(This) (This)->lpVtbl->AddRef(This)
   1256 #define IXpsOMPart_Release(This) (This)->lpVtbl->Release(This)
   1257 /*** IXpsOMPart methods ***/
   1258 #define IXpsOMPart_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   1259 #define IXpsOMPart_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   1260 #else
   1261 /*** IUnknown methods ***/
   1262 static inline HRESULT IXpsOMPart_QueryInterface(IXpsOMPart* This,REFIID riid,void **ppvObject) {
   1263     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1264 }
   1265 static inline ULONG IXpsOMPart_AddRef(IXpsOMPart* This) {
   1266     return This->lpVtbl->AddRef(This);
   1267 }
   1268 static inline ULONG IXpsOMPart_Release(IXpsOMPart* This) {
   1269     return This->lpVtbl->Release(This);
   1270 }
   1271 /*** IXpsOMPart methods ***/
   1272 static inline HRESULT IXpsOMPart_GetPartName(IXpsOMPart* This,IOpcPartUri **partUri) {
   1273     return This->lpVtbl->GetPartName(This,partUri);
   1274 }
   1275 static inline HRESULT IXpsOMPart_SetPartName(IXpsOMPart* This,IOpcPartUri *partUri) {
   1276     return This->lpVtbl->SetPartName(This,partUri);
   1277 }
   1278 #endif
   1279 #endif
   1280 
   1281 #endif
   1282 
   1283 
   1284 #endif  /* __IXpsOMPart_INTERFACE_DEFINED__ */
   1285 
   1286 /*****************************************************************************
   1287  * IXpsOMGlyphsEditor interface
   1288  */
   1289 #ifndef __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
   1290 #define __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
   1291 
   1292 DEFINE_GUID(IID_IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09);
   1293 #if defined(__cplusplus) && !defined(CINTERFACE)
   1294 MIDL_INTERFACE("a5ab8616-5b16-4b9f-9629-89b323ed7909")
   1295 IXpsOMGlyphsEditor : public IUnknown
   1296 {
   1297     virtual HRESULT STDMETHODCALLTYPE ApplyEdits(
   1298         ) = 0;
   1299 
   1300     virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
   1301         LPWSTR *unicodeString) = 0;
   1302 
   1303     virtual HRESULT STDMETHODCALLTYPE SetUnicodeString(
   1304         LPCWSTR unicodeString) = 0;
   1305 
   1306     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
   1307         UINT32 *indexCount) = 0;
   1308 
   1309     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
   1310         UINT32 *indexCount,
   1311         XPS_GLYPH_INDEX *glyphIndices) = 0;
   1312 
   1313     virtual HRESULT STDMETHODCALLTYPE SetGlyphIndices(
   1314         UINT32 indexCount,
   1315         const XPS_GLYPH_INDEX *glyphIndices) = 0;
   1316 
   1317     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
   1318         UINT32 *glyphMappingCount) = 0;
   1319 
   1320     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
   1321         UINT32 *glyphMappingCount,
   1322         XPS_GLYPH_MAPPING *glyphMappings) = 0;
   1323 
   1324     virtual HRESULT STDMETHODCALLTYPE SetGlyphMappings(
   1325         UINT32 glyphMappingCount,
   1326         const XPS_GLYPH_MAPPING *glyphMappings) = 0;
   1327 
   1328     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
   1329         UINT32 *prohibitedCaretStopCount) = 0;
   1330 
   1331     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
   1332         UINT32 *count,
   1333         UINT32 *prohibitedCaretStops) = 0;
   1334 
   1335     virtual HRESULT STDMETHODCALLTYPE SetProhibitedCaretStops(
   1336         UINT32 count,
   1337         const UINT32 *prohibitedCaretStops) = 0;
   1338 
   1339     virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
   1340         UINT32 *bidiLevel) = 0;
   1341 
   1342     virtual HRESULT STDMETHODCALLTYPE SetBidiLevel(
   1343         UINT32 bidiLevel) = 0;
   1344 
   1345     virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
   1346         WINBOOL *isSideways) = 0;
   1347 
   1348     virtual HRESULT STDMETHODCALLTYPE SetIsSideways(
   1349         WINBOOL isSideways) = 0;
   1350 
   1351     virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
   1352         LPWSTR *deviceFontName) = 0;
   1353 
   1354     virtual HRESULT STDMETHODCALLTYPE SetDeviceFontName(
   1355         LPCWSTR deviceFontName) = 0;
   1356 
   1357 };
   1358 #ifdef __CRT_UUID_DECL
   1359 __CRT_UUID_DECL(IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09)
   1360 #endif
   1361 #else
   1362 typedef struct IXpsOMGlyphsEditorVtbl {
   1363     BEGIN_INTERFACE
   1364 
   1365     /*** IUnknown methods ***/
   1366     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1367         IXpsOMGlyphsEditor *This,
   1368         REFIID riid,
   1369         void **ppvObject);
   1370 
   1371     ULONG (STDMETHODCALLTYPE *AddRef)(
   1372         IXpsOMGlyphsEditor *This);
   1373 
   1374     ULONG (STDMETHODCALLTYPE *Release)(
   1375         IXpsOMGlyphsEditor *This);
   1376 
   1377     /*** IXpsOMGlyphsEditor methods ***/
   1378     HRESULT (STDMETHODCALLTYPE *ApplyEdits)(
   1379         IXpsOMGlyphsEditor *This);
   1380 
   1381     HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
   1382         IXpsOMGlyphsEditor *This,
   1383         LPWSTR *unicodeString);
   1384 
   1385     HRESULT (STDMETHODCALLTYPE *SetUnicodeString)(
   1386         IXpsOMGlyphsEditor *This,
   1387         LPCWSTR unicodeString);
   1388 
   1389     HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
   1390         IXpsOMGlyphsEditor *This,
   1391         UINT32 *indexCount);
   1392 
   1393     HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
   1394         IXpsOMGlyphsEditor *This,
   1395         UINT32 *indexCount,
   1396         XPS_GLYPH_INDEX *glyphIndices);
   1397 
   1398     HRESULT (STDMETHODCALLTYPE *SetGlyphIndices)(
   1399         IXpsOMGlyphsEditor *This,
   1400         UINT32 indexCount,
   1401         const XPS_GLYPH_INDEX *glyphIndices);
   1402 
   1403     HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
   1404         IXpsOMGlyphsEditor *This,
   1405         UINT32 *glyphMappingCount);
   1406 
   1407     HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
   1408         IXpsOMGlyphsEditor *This,
   1409         UINT32 *glyphMappingCount,
   1410         XPS_GLYPH_MAPPING *glyphMappings);
   1411 
   1412     HRESULT (STDMETHODCALLTYPE *SetGlyphMappings)(
   1413         IXpsOMGlyphsEditor *This,
   1414         UINT32 glyphMappingCount,
   1415         const XPS_GLYPH_MAPPING *glyphMappings);
   1416 
   1417     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
   1418         IXpsOMGlyphsEditor *This,
   1419         UINT32 *prohibitedCaretStopCount);
   1420 
   1421     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
   1422         IXpsOMGlyphsEditor *This,
   1423         UINT32 *count,
   1424         UINT32 *prohibitedCaretStops);
   1425 
   1426     HRESULT (STDMETHODCALLTYPE *SetProhibitedCaretStops)(
   1427         IXpsOMGlyphsEditor *This,
   1428         UINT32 count,
   1429         const UINT32 *prohibitedCaretStops);
   1430 
   1431     HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
   1432         IXpsOMGlyphsEditor *This,
   1433         UINT32 *bidiLevel);
   1434 
   1435     HRESULT (STDMETHODCALLTYPE *SetBidiLevel)(
   1436         IXpsOMGlyphsEditor *This,
   1437         UINT32 bidiLevel);
   1438 
   1439     HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
   1440         IXpsOMGlyphsEditor *This,
   1441         WINBOOL *isSideways);
   1442 
   1443     HRESULT (STDMETHODCALLTYPE *SetIsSideways)(
   1444         IXpsOMGlyphsEditor *This,
   1445         WINBOOL isSideways);
   1446 
   1447     HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
   1448         IXpsOMGlyphsEditor *This,
   1449         LPWSTR *deviceFontName);
   1450 
   1451     HRESULT (STDMETHODCALLTYPE *SetDeviceFontName)(
   1452         IXpsOMGlyphsEditor *This,
   1453         LPCWSTR deviceFontName);
   1454 
   1455     END_INTERFACE
   1456 } IXpsOMGlyphsEditorVtbl;
   1457 
   1458 interface IXpsOMGlyphsEditor {
   1459     CONST_VTBL IXpsOMGlyphsEditorVtbl* lpVtbl;
   1460 };
   1461 
   1462 #ifdef COBJMACROS
   1463 #ifndef WIDL_C_INLINE_WRAPPERS
   1464 /*** IUnknown methods ***/
   1465 #define IXpsOMGlyphsEditor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1466 #define IXpsOMGlyphsEditor_AddRef(This) (This)->lpVtbl->AddRef(This)
   1467 #define IXpsOMGlyphsEditor_Release(This) (This)->lpVtbl->Release(This)
   1468 /*** IXpsOMGlyphsEditor methods ***/
   1469 #define IXpsOMGlyphsEditor_ApplyEdits(This) (This)->lpVtbl->ApplyEdits(This)
   1470 #define IXpsOMGlyphsEditor_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
   1471 #define IXpsOMGlyphsEditor_SetUnicodeString(This,unicodeString) (This)->lpVtbl->SetUnicodeString(This,unicodeString)
   1472 #define IXpsOMGlyphsEditor_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
   1473 #define IXpsOMGlyphsEditor_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
   1474 #define IXpsOMGlyphsEditor_SetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices)
   1475 #define IXpsOMGlyphsEditor_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
   1476 #define IXpsOMGlyphsEditor_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
   1477 #define IXpsOMGlyphsEditor_SetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings)
   1478 #define IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
   1479 #define IXpsOMGlyphsEditor_GetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops)
   1480 #define IXpsOMGlyphsEditor_SetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops)
   1481 #define IXpsOMGlyphsEditor_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
   1482 #define IXpsOMGlyphsEditor_SetBidiLevel(This,bidiLevel) (This)->lpVtbl->SetBidiLevel(This,bidiLevel)
   1483 #define IXpsOMGlyphsEditor_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
   1484 #define IXpsOMGlyphsEditor_SetIsSideways(This,isSideways) (This)->lpVtbl->SetIsSideways(This,isSideways)
   1485 #define IXpsOMGlyphsEditor_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
   1486 #define IXpsOMGlyphsEditor_SetDeviceFontName(This,deviceFontName) (This)->lpVtbl->SetDeviceFontName(This,deviceFontName)
   1487 #else
   1488 /*** IUnknown methods ***/
   1489 static inline HRESULT IXpsOMGlyphsEditor_QueryInterface(IXpsOMGlyphsEditor* This,REFIID riid,void **ppvObject) {
   1490     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1491 }
   1492 static inline ULONG IXpsOMGlyphsEditor_AddRef(IXpsOMGlyphsEditor* This) {
   1493     return This->lpVtbl->AddRef(This);
   1494 }
   1495 static inline ULONG IXpsOMGlyphsEditor_Release(IXpsOMGlyphsEditor* This) {
   1496     return This->lpVtbl->Release(This);
   1497 }
   1498 /*** IXpsOMGlyphsEditor methods ***/
   1499 static inline HRESULT IXpsOMGlyphsEditor_ApplyEdits(IXpsOMGlyphsEditor* This) {
   1500     return This->lpVtbl->ApplyEdits(This);
   1501 }
   1502 static inline HRESULT IXpsOMGlyphsEditor_GetUnicodeString(IXpsOMGlyphsEditor* This,LPWSTR *unicodeString) {
   1503     return This->lpVtbl->GetUnicodeString(This,unicodeString);
   1504 }
   1505 static inline HRESULT IXpsOMGlyphsEditor_SetUnicodeString(IXpsOMGlyphsEditor* This,LPCWSTR unicodeString) {
   1506     return This->lpVtbl->SetUnicodeString(This,unicodeString);
   1507 }
   1508 static inline HRESULT IXpsOMGlyphsEditor_GetGlyphIndexCount(IXpsOMGlyphsEditor* This,UINT32 *indexCount) {
   1509     return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
   1510 }
   1511 static inline HRESULT IXpsOMGlyphsEditor_GetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
   1512     return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
   1513 }
   1514 static inline HRESULT IXpsOMGlyphsEditor_SetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 indexCount,const XPS_GLYPH_INDEX *glyphIndices) {
   1515     return This->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices);
   1516 }
   1517 static inline HRESULT IXpsOMGlyphsEditor_GetGlyphMappingCount(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount) {
   1518     return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
   1519 }
   1520 static inline HRESULT IXpsOMGlyphsEditor_GetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
   1521     return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
   1522 }
   1523 static inline HRESULT IXpsOMGlyphsEditor_SetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 glyphMappingCount,const XPS_GLYPH_MAPPING *glyphMappings) {
   1524     return This->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings);
   1525 }
   1526 static inline HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(IXpsOMGlyphsEditor* This,UINT32 *prohibitedCaretStopCount) {
   1527     return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
   1528 }
   1529 static inline HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 *count,UINT32 *prohibitedCaretStops) {
   1530     return This->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops);
   1531 }
   1532 static inline HRESULT IXpsOMGlyphsEditor_SetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 count,const UINT32 *prohibitedCaretStops) {
   1533     return This->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops);
   1534 }
   1535 static inline HRESULT IXpsOMGlyphsEditor_GetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 *bidiLevel) {
   1536     return This->lpVtbl->GetBidiLevel(This,bidiLevel);
   1537 }
   1538 static inline HRESULT IXpsOMGlyphsEditor_SetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 bidiLevel) {
   1539     return This->lpVtbl->SetBidiLevel(This,bidiLevel);
   1540 }
   1541 static inline HRESULT IXpsOMGlyphsEditor_GetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL *isSideways) {
   1542     return This->lpVtbl->GetIsSideways(This,isSideways);
   1543 }
   1544 static inline HRESULT IXpsOMGlyphsEditor_SetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL isSideways) {
   1545     return This->lpVtbl->SetIsSideways(This,isSideways);
   1546 }
   1547 static inline HRESULT IXpsOMGlyphsEditor_GetDeviceFontName(IXpsOMGlyphsEditor* This,LPWSTR *deviceFontName) {
   1548     return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
   1549 }
   1550 static inline HRESULT IXpsOMGlyphsEditor_SetDeviceFontName(IXpsOMGlyphsEditor* This,LPCWSTR deviceFontName) {
   1551     return This->lpVtbl->SetDeviceFontName(This,deviceFontName);
   1552 }
   1553 #endif
   1554 #endif
   1555 
   1556 #endif
   1557 
   1558 
   1559 #endif  /* __IXpsOMGlyphsEditor_INTERFACE_DEFINED__ */
   1560 
   1561 /*****************************************************************************
   1562  * IXpsOMDashCollection interface
   1563  */
   1564 #ifndef __IXpsOMDashCollection_INTERFACE_DEFINED__
   1565 #define __IXpsOMDashCollection_INTERFACE_DEFINED__
   1566 
   1567 DEFINE_GUID(IID_IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6);
   1568 #if defined(__cplusplus) && !defined(CINTERFACE)
   1569 MIDL_INTERFACE("081613f4-74eb-48f2-83b3-37a9ce2d7dc6")
   1570 IXpsOMDashCollection : public IUnknown
   1571 {
   1572     virtual HRESULT STDMETHODCALLTYPE GetCount(
   1573         UINT32 *count) = 0;
   1574 
   1575     virtual HRESULT STDMETHODCALLTYPE GetAt(
   1576         UINT32 index,
   1577         XPS_DASH *dash) = 0;
   1578 
   1579     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   1580         UINT32 index,
   1581         const XPS_DASH *dash) = 0;
   1582 
   1583     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   1584         UINT32 index) = 0;
   1585 
   1586     virtual HRESULT STDMETHODCALLTYPE SetAt(
   1587         UINT32 index,
   1588         const XPS_DASH *dash) = 0;
   1589 
   1590     virtual HRESULT STDMETHODCALLTYPE Append(
   1591         const XPS_DASH *dash) = 0;
   1592 
   1593 };
   1594 #ifdef __CRT_UUID_DECL
   1595 __CRT_UUID_DECL(IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6)
   1596 #endif
   1597 #else
   1598 typedef struct IXpsOMDashCollectionVtbl {
   1599     BEGIN_INTERFACE
   1600 
   1601     /*** IUnknown methods ***/
   1602     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1603         IXpsOMDashCollection *This,
   1604         REFIID riid,
   1605         void **ppvObject);
   1606 
   1607     ULONG (STDMETHODCALLTYPE *AddRef)(
   1608         IXpsOMDashCollection *This);
   1609 
   1610     ULONG (STDMETHODCALLTYPE *Release)(
   1611         IXpsOMDashCollection *This);
   1612 
   1613     /*** IXpsOMDashCollection methods ***/
   1614     HRESULT (STDMETHODCALLTYPE *GetCount)(
   1615         IXpsOMDashCollection *This,
   1616         UINT32 *count);
   1617 
   1618     HRESULT (STDMETHODCALLTYPE *GetAt)(
   1619         IXpsOMDashCollection *This,
   1620         UINT32 index,
   1621         XPS_DASH *dash);
   1622 
   1623     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   1624         IXpsOMDashCollection *This,
   1625         UINT32 index,
   1626         const XPS_DASH *dash);
   1627 
   1628     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   1629         IXpsOMDashCollection *This,
   1630         UINT32 index);
   1631 
   1632     HRESULT (STDMETHODCALLTYPE *SetAt)(
   1633         IXpsOMDashCollection *This,
   1634         UINT32 index,
   1635         const XPS_DASH *dash);
   1636 
   1637     HRESULT (STDMETHODCALLTYPE *Append)(
   1638         IXpsOMDashCollection *This,
   1639         const XPS_DASH *dash);
   1640 
   1641     END_INTERFACE
   1642 } IXpsOMDashCollectionVtbl;
   1643 
   1644 interface IXpsOMDashCollection {
   1645     CONST_VTBL IXpsOMDashCollectionVtbl* lpVtbl;
   1646 };
   1647 
   1648 #ifdef COBJMACROS
   1649 #ifndef WIDL_C_INLINE_WRAPPERS
   1650 /*** IUnknown methods ***/
   1651 #define IXpsOMDashCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1652 #define IXpsOMDashCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   1653 #define IXpsOMDashCollection_Release(This) (This)->lpVtbl->Release(This)
   1654 /*** IXpsOMDashCollection methods ***/
   1655 #define IXpsOMDashCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   1656 #define IXpsOMDashCollection_GetAt(This,index,dash) (This)->lpVtbl->GetAt(This,index,dash)
   1657 #define IXpsOMDashCollection_InsertAt(This,index,dash) (This)->lpVtbl->InsertAt(This,index,dash)
   1658 #define IXpsOMDashCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   1659 #define IXpsOMDashCollection_SetAt(This,index,dash) (This)->lpVtbl->SetAt(This,index,dash)
   1660 #define IXpsOMDashCollection_Append(This,dash) (This)->lpVtbl->Append(This,dash)
   1661 #else
   1662 /*** IUnknown methods ***/
   1663 static inline HRESULT IXpsOMDashCollection_QueryInterface(IXpsOMDashCollection* This,REFIID riid,void **ppvObject) {
   1664     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1665 }
   1666 static inline ULONG IXpsOMDashCollection_AddRef(IXpsOMDashCollection* This) {
   1667     return This->lpVtbl->AddRef(This);
   1668 }
   1669 static inline ULONG IXpsOMDashCollection_Release(IXpsOMDashCollection* This) {
   1670     return This->lpVtbl->Release(This);
   1671 }
   1672 /*** IXpsOMDashCollection methods ***/
   1673 static inline HRESULT IXpsOMDashCollection_GetCount(IXpsOMDashCollection* This,UINT32 *count) {
   1674     return This->lpVtbl->GetCount(This,count);
   1675 }
   1676 static inline HRESULT IXpsOMDashCollection_GetAt(IXpsOMDashCollection* This,UINT32 index,XPS_DASH *dash) {
   1677     return This->lpVtbl->GetAt(This,index,dash);
   1678 }
   1679 static inline HRESULT IXpsOMDashCollection_InsertAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
   1680     return This->lpVtbl->InsertAt(This,index,dash);
   1681 }
   1682 static inline HRESULT IXpsOMDashCollection_RemoveAt(IXpsOMDashCollection* This,UINT32 index) {
   1683     return This->lpVtbl->RemoveAt(This,index);
   1684 }
   1685 static inline HRESULT IXpsOMDashCollection_SetAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
   1686     return This->lpVtbl->SetAt(This,index,dash);
   1687 }
   1688 static inline HRESULT IXpsOMDashCollection_Append(IXpsOMDashCollection* This,const XPS_DASH *dash) {
   1689     return This->lpVtbl->Append(This,dash);
   1690 }
   1691 #endif
   1692 #endif
   1693 
   1694 #endif
   1695 
   1696 
   1697 #endif  /* __IXpsOMDashCollection_INTERFACE_DEFINED__ */
   1698 
   1699 /*****************************************************************************
   1700  * IXpsOMGeometryFigure interface
   1701  */
   1702 #ifndef __IXpsOMGeometryFigure_INTERFACE_DEFINED__
   1703 #define __IXpsOMGeometryFigure_INTERFACE_DEFINED__
   1704 
   1705 DEFINE_GUID(IID_IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a);
   1706 #if defined(__cplusplus) && !defined(CINTERFACE)
   1707 MIDL_INTERFACE("d410dc83-908c-443e-8947-b1795d3c165a")
   1708 IXpsOMGeometryFigure : public IUnknown
   1709 {
   1710     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   1711         IXpsOMGeometry **owner) = 0;
   1712 
   1713     virtual HRESULT STDMETHODCALLTYPE GetSegmentData(
   1714         UINT32 *dataCount,
   1715         FLOAT *segmentData) = 0;
   1716 
   1717     virtual HRESULT STDMETHODCALLTYPE GetSegmentTypes(
   1718         UINT32 *segmentCount,
   1719         XPS_SEGMENT_TYPE *segmentTypes) = 0;
   1720 
   1721     virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokes(
   1722         UINT32 *segmentCount,
   1723         WINBOOL *segmentStrokes) = 0;
   1724 
   1725     virtual HRESULT STDMETHODCALLTYPE SetSegments(
   1726         UINT32 segmentCount,
   1727         UINT32 segmentDataCount,
   1728         const XPS_SEGMENT_TYPE *segmentTypes,
   1729         const FLOAT *segmentData,
   1730         const WINBOOL *segmentStrokes) = 0;
   1731 
   1732     virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
   1733         XPS_POINT *startPoint) = 0;
   1734 
   1735     virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
   1736         const XPS_POINT *startPoint) = 0;
   1737 
   1738     virtual HRESULT STDMETHODCALLTYPE GetIsClosed(
   1739         WINBOOL *isClosed) = 0;
   1740 
   1741     virtual HRESULT STDMETHODCALLTYPE SetIsClosed(
   1742         WINBOOL isClosed) = 0;
   1743 
   1744     virtual HRESULT STDMETHODCALLTYPE GetIsFilled(
   1745         WINBOOL *isFilled) = 0;
   1746 
   1747     virtual HRESULT STDMETHODCALLTYPE SetIsFilled(
   1748         WINBOOL isFilled) = 0;
   1749 
   1750     virtual HRESULT STDMETHODCALLTYPE GetSegmentCount(
   1751         UINT32 *segmentCount) = 0;
   1752 
   1753     virtual HRESULT STDMETHODCALLTYPE GetSegmentDataCount(
   1754         UINT32 *segmentDataCount) = 0;
   1755 
   1756     virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokePattern(
   1757         XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) = 0;
   1758 
   1759     virtual HRESULT STDMETHODCALLTYPE Clone(
   1760         IXpsOMGeometryFigure **geometryFigure) = 0;
   1761 
   1762 };
   1763 #ifdef __CRT_UUID_DECL
   1764 __CRT_UUID_DECL(IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a)
   1765 #endif
   1766 #else
   1767 typedef struct IXpsOMGeometryFigureVtbl {
   1768     BEGIN_INTERFACE
   1769 
   1770     /*** IUnknown methods ***/
   1771     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1772         IXpsOMGeometryFigure *This,
   1773         REFIID riid,
   1774         void **ppvObject);
   1775 
   1776     ULONG (STDMETHODCALLTYPE *AddRef)(
   1777         IXpsOMGeometryFigure *This);
   1778 
   1779     ULONG (STDMETHODCALLTYPE *Release)(
   1780         IXpsOMGeometryFigure *This);
   1781 
   1782     /*** IXpsOMGeometryFigure methods ***/
   1783     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   1784         IXpsOMGeometryFigure *This,
   1785         IXpsOMGeometry **owner);
   1786 
   1787     HRESULT (STDMETHODCALLTYPE *GetSegmentData)(
   1788         IXpsOMGeometryFigure *This,
   1789         UINT32 *dataCount,
   1790         FLOAT *segmentData);
   1791 
   1792     HRESULT (STDMETHODCALLTYPE *GetSegmentTypes)(
   1793         IXpsOMGeometryFigure *This,
   1794         UINT32 *segmentCount,
   1795         XPS_SEGMENT_TYPE *segmentTypes);
   1796 
   1797     HRESULT (STDMETHODCALLTYPE *GetSegmentStrokes)(
   1798         IXpsOMGeometryFigure *This,
   1799         UINT32 *segmentCount,
   1800         WINBOOL *segmentStrokes);
   1801 
   1802     HRESULT (STDMETHODCALLTYPE *SetSegments)(
   1803         IXpsOMGeometryFigure *This,
   1804         UINT32 segmentCount,
   1805         UINT32 segmentDataCount,
   1806         const XPS_SEGMENT_TYPE *segmentTypes,
   1807         const FLOAT *segmentData,
   1808         const WINBOOL *segmentStrokes);
   1809 
   1810     HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
   1811         IXpsOMGeometryFigure *This,
   1812         XPS_POINT *startPoint);
   1813 
   1814     HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
   1815         IXpsOMGeometryFigure *This,
   1816         const XPS_POINT *startPoint);
   1817 
   1818     HRESULT (STDMETHODCALLTYPE *GetIsClosed)(
   1819         IXpsOMGeometryFigure *This,
   1820         WINBOOL *isClosed);
   1821 
   1822     HRESULT (STDMETHODCALLTYPE *SetIsClosed)(
   1823         IXpsOMGeometryFigure *This,
   1824         WINBOOL isClosed);
   1825 
   1826     HRESULT (STDMETHODCALLTYPE *GetIsFilled)(
   1827         IXpsOMGeometryFigure *This,
   1828         WINBOOL *isFilled);
   1829 
   1830     HRESULT (STDMETHODCALLTYPE *SetIsFilled)(
   1831         IXpsOMGeometryFigure *This,
   1832         WINBOOL isFilled);
   1833 
   1834     HRESULT (STDMETHODCALLTYPE *GetSegmentCount)(
   1835         IXpsOMGeometryFigure *This,
   1836         UINT32 *segmentCount);
   1837 
   1838     HRESULT (STDMETHODCALLTYPE *GetSegmentDataCount)(
   1839         IXpsOMGeometryFigure *This,
   1840         UINT32 *segmentDataCount);
   1841 
   1842     HRESULT (STDMETHODCALLTYPE *GetSegmentStrokePattern)(
   1843         IXpsOMGeometryFigure *This,
   1844         XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern);
   1845 
   1846     HRESULT (STDMETHODCALLTYPE *Clone)(
   1847         IXpsOMGeometryFigure *This,
   1848         IXpsOMGeometryFigure **geometryFigure);
   1849 
   1850     END_INTERFACE
   1851 } IXpsOMGeometryFigureVtbl;
   1852 
   1853 interface IXpsOMGeometryFigure {
   1854     CONST_VTBL IXpsOMGeometryFigureVtbl* lpVtbl;
   1855 };
   1856 
   1857 #ifdef COBJMACROS
   1858 #ifndef WIDL_C_INLINE_WRAPPERS
   1859 /*** IUnknown methods ***/
   1860 #define IXpsOMGeometryFigure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1861 #define IXpsOMGeometryFigure_AddRef(This) (This)->lpVtbl->AddRef(This)
   1862 #define IXpsOMGeometryFigure_Release(This) (This)->lpVtbl->Release(This)
   1863 /*** IXpsOMGeometryFigure methods ***/
   1864 #define IXpsOMGeometryFigure_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   1865 #define IXpsOMGeometryFigure_GetSegmentData(This,dataCount,segmentData) (This)->lpVtbl->GetSegmentData(This,dataCount,segmentData)
   1866 #define IXpsOMGeometryFigure_GetSegmentTypes(This,segmentCount,segmentTypes) (This)->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes)
   1867 #define IXpsOMGeometryFigure_GetSegmentStrokes(This,segmentCount,segmentStrokes) (This)->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes)
   1868 #define IXpsOMGeometryFigure_SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes) (This)->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes)
   1869 #define IXpsOMGeometryFigure_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
   1870 #define IXpsOMGeometryFigure_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
   1871 #define IXpsOMGeometryFigure_GetIsClosed(This,isClosed) (This)->lpVtbl->GetIsClosed(This,isClosed)
   1872 #define IXpsOMGeometryFigure_SetIsClosed(This,isClosed) (This)->lpVtbl->SetIsClosed(This,isClosed)
   1873 #define IXpsOMGeometryFigure_GetIsFilled(This,isFilled) (This)->lpVtbl->GetIsFilled(This,isFilled)
   1874 #define IXpsOMGeometryFigure_SetIsFilled(This,isFilled) (This)->lpVtbl->SetIsFilled(This,isFilled)
   1875 #define IXpsOMGeometryFigure_GetSegmentCount(This,segmentCount) (This)->lpVtbl->GetSegmentCount(This,segmentCount)
   1876 #define IXpsOMGeometryFigure_GetSegmentDataCount(This,segmentDataCount) (This)->lpVtbl->GetSegmentDataCount(This,segmentDataCount)
   1877 #define IXpsOMGeometryFigure_GetSegmentStrokePattern(This,segmentStrokePattern) (This)->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern)
   1878 #define IXpsOMGeometryFigure_Clone(This,geometryFigure) (This)->lpVtbl->Clone(This,geometryFigure)
   1879 #else
   1880 /*** IUnknown methods ***/
   1881 static inline HRESULT IXpsOMGeometryFigure_QueryInterface(IXpsOMGeometryFigure* This,REFIID riid,void **ppvObject) {
   1882     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1883 }
   1884 static inline ULONG IXpsOMGeometryFigure_AddRef(IXpsOMGeometryFigure* This) {
   1885     return This->lpVtbl->AddRef(This);
   1886 }
   1887 static inline ULONG IXpsOMGeometryFigure_Release(IXpsOMGeometryFigure* This) {
   1888     return This->lpVtbl->Release(This);
   1889 }
   1890 /*** IXpsOMGeometryFigure methods ***/
   1891 static inline HRESULT IXpsOMGeometryFigure_GetOwner(IXpsOMGeometryFigure* This,IXpsOMGeometry **owner) {
   1892     return This->lpVtbl->GetOwner(This,owner);
   1893 }
   1894 static inline HRESULT IXpsOMGeometryFigure_GetSegmentData(IXpsOMGeometryFigure* This,UINT32 *dataCount,FLOAT *segmentData) {
   1895     return This->lpVtbl->GetSegmentData(This,dataCount,segmentData);
   1896 }
   1897 static inline HRESULT IXpsOMGeometryFigure_GetSegmentTypes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,XPS_SEGMENT_TYPE *segmentTypes) {
   1898     return This->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes);
   1899 }
   1900 static inline HRESULT IXpsOMGeometryFigure_GetSegmentStrokes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,WINBOOL *segmentStrokes) {
   1901     return This->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes);
   1902 }
   1903 static inline HRESULT IXpsOMGeometryFigure_SetSegments(IXpsOMGeometryFigure* This,UINT32 segmentCount,UINT32 segmentDataCount,const XPS_SEGMENT_TYPE *segmentTypes,const FLOAT *segmentData,const WINBOOL *segmentStrokes) {
   1904     return This->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes);
   1905 }
   1906 static inline HRESULT IXpsOMGeometryFigure_GetStartPoint(IXpsOMGeometryFigure* This,XPS_POINT *startPoint) {
   1907     return This->lpVtbl->GetStartPoint(This,startPoint);
   1908 }
   1909 static inline HRESULT IXpsOMGeometryFigure_SetStartPoint(IXpsOMGeometryFigure* This,const XPS_POINT *startPoint) {
   1910     return This->lpVtbl->SetStartPoint(This,startPoint);
   1911 }
   1912 static inline HRESULT IXpsOMGeometryFigure_GetIsClosed(IXpsOMGeometryFigure* This,WINBOOL *isClosed) {
   1913     return This->lpVtbl->GetIsClosed(This,isClosed);
   1914 }
   1915 static inline HRESULT IXpsOMGeometryFigure_SetIsClosed(IXpsOMGeometryFigure* This,WINBOOL isClosed) {
   1916     return This->lpVtbl->SetIsClosed(This,isClosed);
   1917 }
   1918 static inline HRESULT IXpsOMGeometryFigure_GetIsFilled(IXpsOMGeometryFigure* This,WINBOOL *isFilled) {
   1919     return This->lpVtbl->GetIsFilled(This,isFilled);
   1920 }
   1921 static inline HRESULT IXpsOMGeometryFigure_SetIsFilled(IXpsOMGeometryFigure* This,WINBOOL isFilled) {
   1922     return This->lpVtbl->SetIsFilled(This,isFilled);
   1923 }
   1924 static inline HRESULT IXpsOMGeometryFigure_GetSegmentCount(IXpsOMGeometryFigure* This,UINT32 *segmentCount) {
   1925     return This->lpVtbl->GetSegmentCount(This,segmentCount);
   1926 }
   1927 static inline HRESULT IXpsOMGeometryFigure_GetSegmentDataCount(IXpsOMGeometryFigure* This,UINT32 *segmentDataCount) {
   1928     return This->lpVtbl->GetSegmentDataCount(This,segmentDataCount);
   1929 }
   1930 static inline HRESULT IXpsOMGeometryFigure_GetSegmentStrokePattern(IXpsOMGeometryFigure* This,XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) {
   1931     return This->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern);
   1932 }
   1933 static inline HRESULT IXpsOMGeometryFigure_Clone(IXpsOMGeometryFigure* This,IXpsOMGeometryFigure **geometryFigure) {
   1934     return This->lpVtbl->Clone(This,geometryFigure);
   1935 }
   1936 #endif
   1937 #endif
   1938 
   1939 #endif
   1940 
   1941 
   1942 #endif  /* __IXpsOMGeometryFigure_INTERFACE_DEFINED__ */
   1943 
   1944 /*****************************************************************************
   1945  * IXpsOMGeometryFigureCollection interface
   1946  */
   1947 #ifndef __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
   1948 #define __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
   1949 
   1950 DEFINE_GUID(IID_IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2);
   1951 #if defined(__cplusplus) && !defined(CINTERFACE)
   1952 MIDL_INTERFACE("fd48c3f3-a58e-4b5a-8826-1de54abe72b2")
   1953 IXpsOMGeometryFigureCollection : public IUnknown
   1954 {
   1955     virtual HRESULT STDMETHODCALLTYPE GetCount(
   1956         UINT32 *count) = 0;
   1957 
   1958     virtual HRESULT STDMETHODCALLTYPE GetAt(
   1959         UINT32 index,
   1960         IXpsOMGeometryFigure **geometryFigure) = 0;
   1961 
   1962     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   1963         UINT32 index,
   1964         IXpsOMGeometryFigure *geometryFigure) = 0;
   1965 
   1966     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   1967         UINT32 index) = 0;
   1968 
   1969     virtual HRESULT STDMETHODCALLTYPE SetAt(
   1970         UINT32 index,
   1971         IXpsOMGeometryFigure *geometryFigure) = 0;
   1972 
   1973     virtual HRESULT STDMETHODCALLTYPE Append(
   1974         IXpsOMGeometryFigure *geometryFigure) = 0;
   1975 
   1976 };
   1977 #ifdef __CRT_UUID_DECL
   1978 __CRT_UUID_DECL(IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2)
   1979 #endif
   1980 #else
   1981 typedef struct IXpsOMGeometryFigureCollectionVtbl {
   1982     BEGIN_INTERFACE
   1983 
   1984     /*** IUnknown methods ***/
   1985     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1986         IXpsOMGeometryFigureCollection *This,
   1987         REFIID riid,
   1988         void **ppvObject);
   1989 
   1990     ULONG (STDMETHODCALLTYPE *AddRef)(
   1991         IXpsOMGeometryFigureCollection *This);
   1992 
   1993     ULONG (STDMETHODCALLTYPE *Release)(
   1994         IXpsOMGeometryFigureCollection *This);
   1995 
   1996     /*** IXpsOMGeometryFigureCollection methods ***/
   1997     HRESULT (STDMETHODCALLTYPE *GetCount)(
   1998         IXpsOMGeometryFigureCollection *This,
   1999         UINT32 *count);
   2000 
   2001     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2002         IXpsOMGeometryFigureCollection *This,
   2003         UINT32 index,
   2004         IXpsOMGeometryFigure **geometryFigure);
   2005 
   2006     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2007         IXpsOMGeometryFigureCollection *This,
   2008         UINT32 index,
   2009         IXpsOMGeometryFigure *geometryFigure);
   2010 
   2011     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2012         IXpsOMGeometryFigureCollection *This,
   2013         UINT32 index);
   2014 
   2015     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2016         IXpsOMGeometryFigureCollection *This,
   2017         UINT32 index,
   2018         IXpsOMGeometryFigure *geometryFigure);
   2019 
   2020     HRESULT (STDMETHODCALLTYPE *Append)(
   2021         IXpsOMGeometryFigureCollection *This,
   2022         IXpsOMGeometryFigure *geometryFigure);
   2023 
   2024     END_INTERFACE
   2025 } IXpsOMGeometryFigureCollectionVtbl;
   2026 
   2027 interface IXpsOMGeometryFigureCollection {
   2028     CONST_VTBL IXpsOMGeometryFigureCollectionVtbl* lpVtbl;
   2029 };
   2030 
   2031 #ifdef COBJMACROS
   2032 #ifndef WIDL_C_INLINE_WRAPPERS
   2033 /*** IUnknown methods ***/
   2034 #define IXpsOMGeometryFigureCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2035 #define IXpsOMGeometryFigureCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2036 #define IXpsOMGeometryFigureCollection_Release(This) (This)->lpVtbl->Release(This)
   2037 /*** IXpsOMGeometryFigureCollection methods ***/
   2038 #define IXpsOMGeometryFigureCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2039 #define IXpsOMGeometryFigureCollection_GetAt(This,index,geometryFigure) (This)->lpVtbl->GetAt(This,index,geometryFigure)
   2040 #define IXpsOMGeometryFigureCollection_InsertAt(This,index,geometryFigure) (This)->lpVtbl->InsertAt(This,index,geometryFigure)
   2041 #define IXpsOMGeometryFigureCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2042 #define IXpsOMGeometryFigureCollection_SetAt(This,index,geometryFigure) (This)->lpVtbl->SetAt(This,index,geometryFigure)
   2043 #define IXpsOMGeometryFigureCollection_Append(This,geometryFigure) (This)->lpVtbl->Append(This,geometryFigure)
   2044 #else
   2045 /*** IUnknown methods ***/
   2046 static inline HRESULT IXpsOMGeometryFigureCollection_QueryInterface(IXpsOMGeometryFigureCollection* This,REFIID riid,void **ppvObject) {
   2047     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2048 }
   2049 static inline ULONG IXpsOMGeometryFigureCollection_AddRef(IXpsOMGeometryFigureCollection* This) {
   2050     return This->lpVtbl->AddRef(This);
   2051 }
   2052 static inline ULONG IXpsOMGeometryFigureCollection_Release(IXpsOMGeometryFigureCollection* This) {
   2053     return This->lpVtbl->Release(This);
   2054 }
   2055 /*** IXpsOMGeometryFigureCollection methods ***/
   2056 static inline HRESULT IXpsOMGeometryFigureCollection_GetCount(IXpsOMGeometryFigureCollection* This,UINT32 *count) {
   2057     return This->lpVtbl->GetCount(This,count);
   2058 }
   2059 static inline HRESULT IXpsOMGeometryFigureCollection_GetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure **geometryFigure) {
   2060     return This->lpVtbl->GetAt(This,index,geometryFigure);
   2061 }
   2062 static inline HRESULT IXpsOMGeometryFigureCollection_InsertAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
   2063     return This->lpVtbl->InsertAt(This,index,geometryFigure);
   2064 }
   2065 static inline HRESULT IXpsOMGeometryFigureCollection_RemoveAt(IXpsOMGeometryFigureCollection* This,UINT32 index) {
   2066     return This->lpVtbl->RemoveAt(This,index);
   2067 }
   2068 static inline HRESULT IXpsOMGeometryFigureCollection_SetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
   2069     return This->lpVtbl->SetAt(This,index,geometryFigure);
   2070 }
   2071 static inline HRESULT IXpsOMGeometryFigureCollection_Append(IXpsOMGeometryFigureCollection* This,IXpsOMGeometryFigure *geometryFigure) {
   2072     return This->lpVtbl->Append(This,geometryFigure);
   2073 }
   2074 #endif
   2075 #endif
   2076 
   2077 #endif
   2078 
   2079 
   2080 #endif  /* __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__ */
   2081 
   2082 /*****************************************************************************
   2083  * IXpsOMGradientStopCollection interface
   2084  */
   2085 #ifndef __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
   2086 #define __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
   2087 
   2088 DEFINE_GUID(IID_IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef);
   2089 #if defined(__cplusplus) && !defined(CINTERFACE)
   2090 MIDL_INTERFACE("c9174c3a-3cd3-4319-bda4-11a39392ceef")
   2091 IXpsOMGradientStopCollection : public IUnknown
   2092 {
   2093     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2094         UINT32 *count) = 0;
   2095 
   2096     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2097         UINT32 index,
   2098         IXpsOMGradientStop **stop) = 0;
   2099 
   2100     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2101         UINT32 index,
   2102         IXpsOMGradientStop *stop) = 0;
   2103 
   2104     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2105         UINT32 index) = 0;
   2106 
   2107     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2108         UINT32 index,
   2109         IXpsOMGradientStop *stop) = 0;
   2110 
   2111     virtual HRESULT STDMETHODCALLTYPE Append(
   2112         IXpsOMGradientStop *stop) = 0;
   2113 
   2114 };
   2115 #ifdef __CRT_UUID_DECL
   2116 __CRT_UUID_DECL(IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef)
   2117 #endif
   2118 #else
   2119 typedef struct IXpsOMGradientStopCollectionVtbl {
   2120     BEGIN_INTERFACE
   2121 
   2122     /*** IUnknown methods ***/
   2123     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2124         IXpsOMGradientStopCollection *This,
   2125         REFIID riid,
   2126         void **ppvObject);
   2127 
   2128     ULONG (STDMETHODCALLTYPE *AddRef)(
   2129         IXpsOMGradientStopCollection *This);
   2130 
   2131     ULONG (STDMETHODCALLTYPE *Release)(
   2132         IXpsOMGradientStopCollection *This);
   2133 
   2134     /*** IXpsOMGradientStopCollection methods ***/
   2135     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2136         IXpsOMGradientStopCollection *This,
   2137         UINT32 *count);
   2138 
   2139     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2140         IXpsOMGradientStopCollection *This,
   2141         UINT32 index,
   2142         IXpsOMGradientStop **stop);
   2143 
   2144     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2145         IXpsOMGradientStopCollection *This,
   2146         UINT32 index,
   2147         IXpsOMGradientStop *stop);
   2148 
   2149     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2150         IXpsOMGradientStopCollection *This,
   2151         UINT32 index);
   2152 
   2153     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2154         IXpsOMGradientStopCollection *This,
   2155         UINT32 index,
   2156         IXpsOMGradientStop *stop);
   2157 
   2158     HRESULT (STDMETHODCALLTYPE *Append)(
   2159         IXpsOMGradientStopCollection *This,
   2160         IXpsOMGradientStop *stop);
   2161 
   2162     END_INTERFACE
   2163 } IXpsOMGradientStopCollectionVtbl;
   2164 
   2165 interface IXpsOMGradientStopCollection {
   2166     CONST_VTBL IXpsOMGradientStopCollectionVtbl* lpVtbl;
   2167 };
   2168 
   2169 #ifdef COBJMACROS
   2170 #ifndef WIDL_C_INLINE_WRAPPERS
   2171 /*** IUnknown methods ***/
   2172 #define IXpsOMGradientStopCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2173 #define IXpsOMGradientStopCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2174 #define IXpsOMGradientStopCollection_Release(This) (This)->lpVtbl->Release(This)
   2175 /*** IXpsOMGradientStopCollection methods ***/
   2176 #define IXpsOMGradientStopCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2177 #define IXpsOMGradientStopCollection_GetAt(This,index,stop) (This)->lpVtbl->GetAt(This,index,stop)
   2178 #define IXpsOMGradientStopCollection_InsertAt(This,index,stop) (This)->lpVtbl->InsertAt(This,index,stop)
   2179 #define IXpsOMGradientStopCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2180 #define IXpsOMGradientStopCollection_SetAt(This,index,stop) (This)->lpVtbl->SetAt(This,index,stop)
   2181 #define IXpsOMGradientStopCollection_Append(This,stop) (This)->lpVtbl->Append(This,stop)
   2182 #else
   2183 /*** IUnknown methods ***/
   2184 static inline HRESULT IXpsOMGradientStopCollection_QueryInterface(IXpsOMGradientStopCollection* This,REFIID riid,void **ppvObject) {
   2185     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2186 }
   2187 static inline ULONG IXpsOMGradientStopCollection_AddRef(IXpsOMGradientStopCollection* This) {
   2188     return This->lpVtbl->AddRef(This);
   2189 }
   2190 static inline ULONG IXpsOMGradientStopCollection_Release(IXpsOMGradientStopCollection* This) {
   2191     return This->lpVtbl->Release(This);
   2192 }
   2193 /*** IXpsOMGradientStopCollection methods ***/
   2194 static inline HRESULT IXpsOMGradientStopCollection_GetCount(IXpsOMGradientStopCollection* This,UINT32 *count) {
   2195     return This->lpVtbl->GetCount(This,count);
   2196 }
   2197 static inline HRESULT IXpsOMGradientStopCollection_GetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop **stop) {
   2198     return This->lpVtbl->GetAt(This,index,stop);
   2199 }
   2200 static inline HRESULT IXpsOMGradientStopCollection_InsertAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
   2201     return This->lpVtbl->InsertAt(This,index,stop);
   2202 }
   2203 static inline HRESULT IXpsOMGradientStopCollection_RemoveAt(IXpsOMGradientStopCollection* This,UINT32 index) {
   2204     return This->lpVtbl->RemoveAt(This,index);
   2205 }
   2206 static inline HRESULT IXpsOMGradientStopCollection_SetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
   2207     return This->lpVtbl->SetAt(This,index,stop);
   2208 }
   2209 static inline HRESULT IXpsOMGradientStopCollection_Append(IXpsOMGradientStopCollection* This,IXpsOMGradientStop *stop) {
   2210     return This->lpVtbl->Append(This,stop);
   2211 }
   2212 #endif
   2213 #endif
   2214 
   2215 #endif
   2216 
   2217 
   2218 #endif  /* __IXpsOMGradientStopCollection_INTERFACE_DEFINED__ */
   2219 
   2220 /*****************************************************************************
   2221  * IXpsOMGradientStop interface
   2222  */
   2223 #ifndef __IXpsOMGradientStop_INTERFACE_DEFINED__
   2224 #define __IXpsOMGradientStop_INTERFACE_DEFINED__
   2225 
   2226 DEFINE_GUID(IID_IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49);
   2227 #if defined(__cplusplus) && !defined(CINTERFACE)
   2228 MIDL_INTERFACE("5cf4f5cc-3969-49b5-a70a-5550b618fe49")
   2229 IXpsOMGradientStop : public IUnknown
   2230 {
   2231     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   2232         IXpsOMGradientBrush **owner) = 0;
   2233 
   2234     virtual HRESULT STDMETHODCALLTYPE GetOffset(
   2235         FLOAT *offset) = 0;
   2236 
   2237     virtual HRESULT STDMETHODCALLTYPE SetOffset(
   2238         FLOAT offset) = 0;
   2239 
   2240     virtual HRESULT STDMETHODCALLTYPE GetColor(
   2241         XPS_COLOR *color,
   2242         IXpsOMColorProfileResource **colorProfile) = 0;
   2243 
   2244     virtual HRESULT STDMETHODCALLTYPE SetColor(
   2245         const XPS_COLOR *color,
   2246         IXpsOMColorProfileResource *colorProfile) = 0;
   2247 
   2248     virtual HRESULT STDMETHODCALLTYPE Clone(
   2249         IXpsOMGradientStop **gradientStop) = 0;
   2250 
   2251 };
   2252 #ifdef __CRT_UUID_DECL
   2253 __CRT_UUID_DECL(IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49)
   2254 #endif
   2255 #else
   2256 typedef struct IXpsOMGradientStopVtbl {
   2257     BEGIN_INTERFACE
   2258 
   2259     /*** IUnknown methods ***/
   2260     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2261         IXpsOMGradientStop *This,
   2262         REFIID riid,
   2263         void **ppvObject);
   2264 
   2265     ULONG (STDMETHODCALLTYPE *AddRef)(
   2266         IXpsOMGradientStop *This);
   2267 
   2268     ULONG (STDMETHODCALLTYPE *Release)(
   2269         IXpsOMGradientStop *This);
   2270 
   2271     /*** IXpsOMGradientStop methods ***/
   2272     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   2273         IXpsOMGradientStop *This,
   2274         IXpsOMGradientBrush **owner);
   2275 
   2276     HRESULT (STDMETHODCALLTYPE *GetOffset)(
   2277         IXpsOMGradientStop *This,
   2278         FLOAT *offset);
   2279 
   2280     HRESULT (STDMETHODCALLTYPE *SetOffset)(
   2281         IXpsOMGradientStop *This,
   2282         FLOAT offset);
   2283 
   2284     HRESULT (STDMETHODCALLTYPE *GetColor)(
   2285         IXpsOMGradientStop *This,
   2286         XPS_COLOR *color,
   2287         IXpsOMColorProfileResource **colorProfile);
   2288 
   2289     HRESULT (STDMETHODCALLTYPE *SetColor)(
   2290         IXpsOMGradientStop *This,
   2291         const XPS_COLOR *color,
   2292         IXpsOMColorProfileResource *colorProfile);
   2293 
   2294     HRESULT (STDMETHODCALLTYPE *Clone)(
   2295         IXpsOMGradientStop *This,
   2296         IXpsOMGradientStop **gradientStop);
   2297 
   2298     END_INTERFACE
   2299 } IXpsOMGradientStopVtbl;
   2300 
   2301 interface IXpsOMGradientStop {
   2302     CONST_VTBL IXpsOMGradientStopVtbl* lpVtbl;
   2303 };
   2304 
   2305 #ifdef COBJMACROS
   2306 #ifndef WIDL_C_INLINE_WRAPPERS
   2307 /*** IUnknown methods ***/
   2308 #define IXpsOMGradientStop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2309 #define IXpsOMGradientStop_AddRef(This) (This)->lpVtbl->AddRef(This)
   2310 #define IXpsOMGradientStop_Release(This) (This)->lpVtbl->Release(This)
   2311 /*** IXpsOMGradientStop methods ***/
   2312 #define IXpsOMGradientStop_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   2313 #define IXpsOMGradientStop_GetOffset(This,offset) (This)->lpVtbl->GetOffset(This,offset)
   2314 #define IXpsOMGradientStop_SetOffset(This,offset) (This)->lpVtbl->SetOffset(This,offset)
   2315 #define IXpsOMGradientStop_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
   2316 #define IXpsOMGradientStop_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
   2317 #define IXpsOMGradientStop_Clone(This,gradientStop) (This)->lpVtbl->Clone(This,gradientStop)
   2318 #else
   2319 /*** IUnknown methods ***/
   2320 static inline HRESULT IXpsOMGradientStop_QueryInterface(IXpsOMGradientStop* This,REFIID riid,void **ppvObject) {
   2321     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2322 }
   2323 static inline ULONG IXpsOMGradientStop_AddRef(IXpsOMGradientStop* This) {
   2324     return This->lpVtbl->AddRef(This);
   2325 }
   2326 static inline ULONG IXpsOMGradientStop_Release(IXpsOMGradientStop* This) {
   2327     return This->lpVtbl->Release(This);
   2328 }
   2329 /*** IXpsOMGradientStop methods ***/
   2330 static inline HRESULT IXpsOMGradientStop_GetOwner(IXpsOMGradientStop* This,IXpsOMGradientBrush **owner) {
   2331     return This->lpVtbl->GetOwner(This,owner);
   2332 }
   2333 static inline HRESULT IXpsOMGradientStop_GetOffset(IXpsOMGradientStop* This,FLOAT *offset) {
   2334     return This->lpVtbl->GetOffset(This,offset);
   2335 }
   2336 static inline HRESULT IXpsOMGradientStop_SetOffset(IXpsOMGradientStop* This,FLOAT offset) {
   2337     return This->lpVtbl->SetOffset(This,offset);
   2338 }
   2339 static inline HRESULT IXpsOMGradientStop_GetColor(IXpsOMGradientStop* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
   2340     return This->lpVtbl->GetColor(This,color,colorProfile);
   2341 }
   2342 static inline HRESULT IXpsOMGradientStop_SetColor(IXpsOMGradientStop* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
   2343     return This->lpVtbl->SetColor(This,color,colorProfile);
   2344 }
   2345 static inline HRESULT IXpsOMGradientStop_Clone(IXpsOMGradientStop* This,IXpsOMGradientStop **gradientStop) {
   2346     return This->lpVtbl->Clone(This,gradientStop);
   2347 }
   2348 #endif
   2349 #endif
   2350 
   2351 #endif
   2352 
   2353 
   2354 #endif  /* __IXpsOMGradientStop_INTERFACE_DEFINED__ */
   2355 
   2356 /*****************************************************************************
   2357  * IXpsOMPartResources interface
   2358  */
   2359 #ifndef __IXpsOMPartResources_INTERFACE_DEFINED__
   2360 #define __IXpsOMPartResources_INTERFACE_DEFINED__
   2361 
   2362 DEFINE_GUID(IID_IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf);
   2363 #if defined(__cplusplus) && !defined(CINTERFACE)
   2364 MIDL_INTERFACE("f4cf7729-4864-4275-99b3-a8717163ecaf")
   2365 IXpsOMPartResources : public IUnknown
   2366 {
   2367     virtual HRESULT STDMETHODCALLTYPE GetFontResources(
   2368         IXpsOMFontResourceCollection **fontResources) = 0;
   2369 
   2370     virtual HRESULT STDMETHODCALLTYPE GetImageResources(
   2371         IXpsOMImageResourceCollection **imageResources) = 0;
   2372 
   2373     virtual HRESULT STDMETHODCALLTYPE GetColorProfileResources(
   2374         IXpsOMColorProfileResourceCollection **colorProfileResources) = 0;
   2375 
   2376     virtual HRESULT STDMETHODCALLTYPE GetRemoteDictionaryResources(
   2377         IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) = 0;
   2378 
   2379 };
   2380 #ifdef __CRT_UUID_DECL
   2381 __CRT_UUID_DECL(IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf)
   2382 #endif
   2383 #else
   2384 typedef struct IXpsOMPartResourcesVtbl {
   2385     BEGIN_INTERFACE
   2386 
   2387     /*** IUnknown methods ***/
   2388     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2389         IXpsOMPartResources *This,
   2390         REFIID riid,
   2391         void **ppvObject);
   2392 
   2393     ULONG (STDMETHODCALLTYPE *AddRef)(
   2394         IXpsOMPartResources *This);
   2395 
   2396     ULONG (STDMETHODCALLTYPE *Release)(
   2397         IXpsOMPartResources *This);
   2398 
   2399     /*** IXpsOMPartResources methods ***/
   2400     HRESULT (STDMETHODCALLTYPE *GetFontResources)(
   2401         IXpsOMPartResources *This,
   2402         IXpsOMFontResourceCollection **fontResources);
   2403 
   2404     HRESULT (STDMETHODCALLTYPE *GetImageResources)(
   2405         IXpsOMPartResources *This,
   2406         IXpsOMImageResourceCollection **imageResources);
   2407 
   2408     HRESULT (STDMETHODCALLTYPE *GetColorProfileResources)(
   2409         IXpsOMPartResources *This,
   2410         IXpsOMColorProfileResourceCollection **colorProfileResources);
   2411 
   2412     HRESULT (STDMETHODCALLTYPE *GetRemoteDictionaryResources)(
   2413         IXpsOMPartResources *This,
   2414         IXpsOMRemoteDictionaryResourceCollection **dictionaryResources);
   2415 
   2416     END_INTERFACE
   2417 } IXpsOMPartResourcesVtbl;
   2418 
   2419 interface IXpsOMPartResources {
   2420     CONST_VTBL IXpsOMPartResourcesVtbl* lpVtbl;
   2421 };
   2422 
   2423 #ifdef COBJMACROS
   2424 #ifndef WIDL_C_INLINE_WRAPPERS
   2425 /*** IUnknown methods ***/
   2426 #define IXpsOMPartResources_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2427 #define IXpsOMPartResources_AddRef(This) (This)->lpVtbl->AddRef(This)
   2428 #define IXpsOMPartResources_Release(This) (This)->lpVtbl->Release(This)
   2429 /*** IXpsOMPartResources methods ***/
   2430 #define IXpsOMPartResources_GetFontResources(This,fontResources) (This)->lpVtbl->GetFontResources(This,fontResources)
   2431 #define IXpsOMPartResources_GetImageResources(This,imageResources) (This)->lpVtbl->GetImageResources(This,imageResources)
   2432 #define IXpsOMPartResources_GetColorProfileResources(This,colorProfileResources) (This)->lpVtbl->GetColorProfileResources(This,colorProfileResources)
   2433 #define IXpsOMPartResources_GetRemoteDictionaryResources(This,dictionaryResources) (This)->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources)
   2434 #else
   2435 /*** IUnknown methods ***/
   2436 static inline HRESULT IXpsOMPartResources_QueryInterface(IXpsOMPartResources* This,REFIID riid,void **ppvObject) {
   2437     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2438 }
   2439 static inline ULONG IXpsOMPartResources_AddRef(IXpsOMPartResources* This) {
   2440     return This->lpVtbl->AddRef(This);
   2441 }
   2442 static inline ULONG IXpsOMPartResources_Release(IXpsOMPartResources* This) {
   2443     return This->lpVtbl->Release(This);
   2444 }
   2445 /*** IXpsOMPartResources methods ***/
   2446 static inline HRESULT IXpsOMPartResources_GetFontResources(IXpsOMPartResources* This,IXpsOMFontResourceCollection **fontResources) {
   2447     return This->lpVtbl->GetFontResources(This,fontResources);
   2448 }
   2449 static inline HRESULT IXpsOMPartResources_GetImageResources(IXpsOMPartResources* This,IXpsOMImageResourceCollection **imageResources) {
   2450     return This->lpVtbl->GetImageResources(This,imageResources);
   2451 }
   2452 static inline HRESULT IXpsOMPartResources_GetColorProfileResources(IXpsOMPartResources* This,IXpsOMColorProfileResourceCollection **colorProfileResources) {
   2453     return This->lpVtbl->GetColorProfileResources(This,colorProfileResources);
   2454 }
   2455 static inline HRESULT IXpsOMPartResources_GetRemoteDictionaryResources(IXpsOMPartResources* This,IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) {
   2456     return This->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources);
   2457 }
   2458 #endif
   2459 #endif
   2460 
   2461 #endif
   2462 
   2463 
   2464 #endif  /* __IXpsOMPartResources_INTERFACE_DEFINED__ */
   2465 
   2466 /*****************************************************************************
   2467  * IXpsOMFontResourceCollection interface
   2468  */
   2469 #ifndef __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
   2470 #define __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
   2471 
   2472 DEFINE_GUID(IID_IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad);
   2473 #if defined(__cplusplus) && !defined(CINTERFACE)
   2474 MIDL_INTERFACE("70b4a6bb-88d4-4fa8-aaf9-6d9c596fdbad")
   2475 IXpsOMFontResourceCollection : public IUnknown
   2476 {
   2477     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2478         UINT32 *count) = 0;
   2479 
   2480     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2481         UINT32 index,
   2482         IXpsOMFontResource **value) = 0;
   2483 
   2484     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2485         UINT32 index,
   2486         IXpsOMFontResource *value) = 0;
   2487 
   2488     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2489         UINT32 index,
   2490         IXpsOMFontResource *value) = 0;
   2491 
   2492     virtual HRESULT STDMETHODCALLTYPE Append(
   2493         IXpsOMFontResource *value) = 0;
   2494 
   2495     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2496         UINT32 index) = 0;
   2497 
   2498     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2499         IOpcPartUri *partName,
   2500         IXpsOMFontResource **part) = 0;
   2501 
   2502 };
   2503 #ifdef __CRT_UUID_DECL
   2504 __CRT_UUID_DECL(IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad)
   2505 #endif
   2506 #else
   2507 typedef struct IXpsOMFontResourceCollectionVtbl {
   2508     BEGIN_INTERFACE
   2509 
   2510     /*** IUnknown methods ***/
   2511     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2512         IXpsOMFontResourceCollection *This,
   2513         REFIID riid,
   2514         void **ppvObject);
   2515 
   2516     ULONG (STDMETHODCALLTYPE *AddRef)(
   2517         IXpsOMFontResourceCollection *This);
   2518 
   2519     ULONG (STDMETHODCALLTYPE *Release)(
   2520         IXpsOMFontResourceCollection *This);
   2521 
   2522     /*** IXpsOMFontResourceCollection methods ***/
   2523     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2524         IXpsOMFontResourceCollection *This,
   2525         UINT32 *count);
   2526 
   2527     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2528         IXpsOMFontResourceCollection *This,
   2529         UINT32 index,
   2530         IXpsOMFontResource **value);
   2531 
   2532     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2533         IXpsOMFontResourceCollection *This,
   2534         UINT32 index,
   2535         IXpsOMFontResource *value);
   2536 
   2537     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2538         IXpsOMFontResourceCollection *This,
   2539         UINT32 index,
   2540         IXpsOMFontResource *value);
   2541 
   2542     HRESULT (STDMETHODCALLTYPE *Append)(
   2543         IXpsOMFontResourceCollection *This,
   2544         IXpsOMFontResource *value);
   2545 
   2546     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2547         IXpsOMFontResourceCollection *This,
   2548         UINT32 index);
   2549 
   2550     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   2551         IXpsOMFontResourceCollection *This,
   2552         IOpcPartUri *partName,
   2553         IXpsOMFontResource **part);
   2554 
   2555     END_INTERFACE
   2556 } IXpsOMFontResourceCollectionVtbl;
   2557 
   2558 interface IXpsOMFontResourceCollection {
   2559     CONST_VTBL IXpsOMFontResourceCollectionVtbl* lpVtbl;
   2560 };
   2561 
   2562 #ifdef COBJMACROS
   2563 #ifndef WIDL_C_INLINE_WRAPPERS
   2564 /*** IUnknown methods ***/
   2565 #define IXpsOMFontResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2566 #define IXpsOMFontResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2567 #define IXpsOMFontResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   2568 /*** IXpsOMFontResourceCollection methods ***/
   2569 #define IXpsOMFontResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2570 #define IXpsOMFontResourceCollection_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
   2571 #define IXpsOMFontResourceCollection_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
   2572 #define IXpsOMFontResourceCollection_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
   2573 #define IXpsOMFontResourceCollection_Append(This,value) (This)->lpVtbl->Append(This,value)
   2574 #define IXpsOMFontResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2575 #define IXpsOMFontResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   2576 #else
   2577 /*** IUnknown methods ***/
   2578 static inline HRESULT IXpsOMFontResourceCollection_QueryInterface(IXpsOMFontResourceCollection* This,REFIID riid,void **ppvObject) {
   2579     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2580 }
   2581 static inline ULONG IXpsOMFontResourceCollection_AddRef(IXpsOMFontResourceCollection* This) {
   2582     return This->lpVtbl->AddRef(This);
   2583 }
   2584 static inline ULONG IXpsOMFontResourceCollection_Release(IXpsOMFontResourceCollection* This) {
   2585     return This->lpVtbl->Release(This);
   2586 }
   2587 /*** IXpsOMFontResourceCollection methods ***/
   2588 static inline HRESULT IXpsOMFontResourceCollection_GetCount(IXpsOMFontResourceCollection* This,UINT32 *count) {
   2589     return This->lpVtbl->GetCount(This,count);
   2590 }
   2591 static inline HRESULT IXpsOMFontResourceCollection_GetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource **value) {
   2592     return This->lpVtbl->GetAt(This,index,value);
   2593 }
   2594 static inline HRESULT IXpsOMFontResourceCollection_SetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
   2595     return This->lpVtbl->SetAt(This,index,value);
   2596 }
   2597 static inline HRESULT IXpsOMFontResourceCollection_InsertAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
   2598     return This->lpVtbl->InsertAt(This,index,value);
   2599 }
   2600 static inline HRESULT IXpsOMFontResourceCollection_Append(IXpsOMFontResourceCollection* This,IXpsOMFontResource *value) {
   2601     return This->lpVtbl->Append(This,value);
   2602 }
   2603 static inline HRESULT IXpsOMFontResourceCollection_RemoveAt(IXpsOMFontResourceCollection* This,UINT32 index) {
   2604     return This->lpVtbl->RemoveAt(This,index);
   2605 }
   2606 static inline HRESULT IXpsOMFontResourceCollection_GetByPartName(IXpsOMFontResourceCollection* This,IOpcPartUri *partName,IXpsOMFontResource **part) {
   2607     return This->lpVtbl->GetByPartName(This,partName,part);
   2608 }
   2609 #endif
   2610 #endif
   2611 
   2612 #endif
   2613 
   2614 
   2615 #endif  /* __IXpsOMFontResourceCollection_INTERFACE_DEFINED__ */
   2616 
   2617 /*****************************************************************************
   2618  * IXpsOMImageResourceCollection interface
   2619  */
   2620 #ifndef __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
   2621 #define __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
   2622 
   2623 DEFINE_GUID(IID_IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe);
   2624 #if defined(__cplusplus) && !defined(CINTERFACE)
   2625 MIDL_INTERFACE("7a4a1a71-9cde-4b71-b33f-62de843eabfe")
   2626 IXpsOMImageResourceCollection : public IUnknown
   2627 {
   2628     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2629         UINT32 *count) = 0;
   2630 
   2631     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2632         UINT32 index,
   2633         IXpsOMImageResource **object) = 0;
   2634 
   2635     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2636         UINT32 index,
   2637         IXpsOMImageResource *object) = 0;
   2638 
   2639     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2640         UINT32 index) = 0;
   2641 
   2642     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2643         UINT32 index,
   2644         IXpsOMImageResource *object) = 0;
   2645 
   2646     virtual HRESULT STDMETHODCALLTYPE Append(
   2647         IXpsOMImageResource *object) = 0;
   2648 
   2649     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2650         IOpcPartUri *partName,
   2651         IXpsOMImageResource **part) = 0;
   2652 
   2653 };
   2654 #ifdef __CRT_UUID_DECL
   2655 __CRT_UUID_DECL(IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe)
   2656 #endif
   2657 #else
   2658 typedef struct IXpsOMImageResourceCollectionVtbl {
   2659     BEGIN_INTERFACE
   2660 
   2661     /*** IUnknown methods ***/
   2662     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2663         IXpsOMImageResourceCollection *This,
   2664         REFIID riid,
   2665         void **ppvObject);
   2666 
   2667     ULONG (STDMETHODCALLTYPE *AddRef)(
   2668         IXpsOMImageResourceCollection *This);
   2669 
   2670     ULONG (STDMETHODCALLTYPE *Release)(
   2671         IXpsOMImageResourceCollection *This);
   2672 
   2673     /*** IXpsOMImageResourceCollection methods ***/
   2674     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2675         IXpsOMImageResourceCollection *This,
   2676         UINT32 *count);
   2677 
   2678     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2679         IXpsOMImageResourceCollection *This,
   2680         UINT32 index,
   2681         IXpsOMImageResource **object);
   2682 
   2683     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2684         IXpsOMImageResourceCollection *This,
   2685         UINT32 index,
   2686         IXpsOMImageResource *object);
   2687 
   2688     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2689         IXpsOMImageResourceCollection *This,
   2690         UINT32 index);
   2691 
   2692     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2693         IXpsOMImageResourceCollection *This,
   2694         UINT32 index,
   2695         IXpsOMImageResource *object);
   2696 
   2697     HRESULT (STDMETHODCALLTYPE *Append)(
   2698         IXpsOMImageResourceCollection *This,
   2699         IXpsOMImageResource *object);
   2700 
   2701     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   2702         IXpsOMImageResourceCollection *This,
   2703         IOpcPartUri *partName,
   2704         IXpsOMImageResource **part);
   2705 
   2706     END_INTERFACE
   2707 } IXpsOMImageResourceCollectionVtbl;
   2708 
   2709 interface IXpsOMImageResourceCollection {
   2710     CONST_VTBL IXpsOMImageResourceCollectionVtbl* lpVtbl;
   2711 };
   2712 
   2713 #ifdef COBJMACROS
   2714 #ifndef WIDL_C_INLINE_WRAPPERS
   2715 /*** IUnknown methods ***/
   2716 #define IXpsOMImageResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2717 #define IXpsOMImageResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2718 #define IXpsOMImageResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   2719 /*** IXpsOMImageResourceCollection methods ***/
   2720 #define IXpsOMImageResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2721 #define IXpsOMImageResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   2722 #define IXpsOMImageResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   2723 #define IXpsOMImageResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2724 #define IXpsOMImageResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   2725 #define IXpsOMImageResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   2726 #define IXpsOMImageResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   2727 #else
   2728 /*** IUnknown methods ***/
   2729 static inline HRESULT IXpsOMImageResourceCollection_QueryInterface(IXpsOMImageResourceCollection* This,REFIID riid,void **ppvObject) {
   2730     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2731 }
   2732 static inline ULONG IXpsOMImageResourceCollection_AddRef(IXpsOMImageResourceCollection* This) {
   2733     return This->lpVtbl->AddRef(This);
   2734 }
   2735 static inline ULONG IXpsOMImageResourceCollection_Release(IXpsOMImageResourceCollection* This) {
   2736     return This->lpVtbl->Release(This);
   2737 }
   2738 /*** IXpsOMImageResourceCollection methods ***/
   2739 static inline HRESULT IXpsOMImageResourceCollection_GetCount(IXpsOMImageResourceCollection* This,UINT32 *count) {
   2740     return This->lpVtbl->GetCount(This,count);
   2741 }
   2742 static inline HRESULT IXpsOMImageResourceCollection_GetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource **object) {
   2743     return This->lpVtbl->GetAt(This,index,object);
   2744 }
   2745 static inline HRESULT IXpsOMImageResourceCollection_InsertAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
   2746     return This->lpVtbl->InsertAt(This,index,object);
   2747 }
   2748 static inline HRESULT IXpsOMImageResourceCollection_RemoveAt(IXpsOMImageResourceCollection* This,UINT32 index) {
   2749     return This->lpVtbl->RemoveAt(This,index);
   2750 }
   2751 static inline HRESULT IXpsOMImageResourceCollection_SetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
   2752     return This->lpVtbl->SetAt(This,index,object);
   2753 }
   2754 static inline HRESULT IXpsOMImageResourceCollection_Append(IXpsOMImageResourceCollection* This,IXpsOMImageResource *object) {
   2755     return This->lpVtbl->Append(This,object);
   2756 }
   2757 static inline HRESULT IXpsOMImageResourceCollection_GetByPartName(IXpsOMImageResourceCollection* This,IOpcPartUri *partName,IXpsOMImageResource **part) {
   2758     return This->lpVtbl->GetByPartName(This,partName,part);
   2759 }
   2760 #endif
   2761 #endif
   2762 
   2763 #endif
   2764 
   2765 
   2766 #endif  /* __IXpsOMImageResourceCollection_INTERFACE_DEFINED__ */
   2767 
   2768 /*****************************************************************************
   2769  * IXpsOMColorProfileResourceCollection interface
   2770  */
   2771 #ifndef __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
   2772 #define __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
   2773 
   2774 DEFINE_GUID(IID_IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb);
   2775 #if defined(__cplusplus) && !defined(CINTERFACE)
   2776 MIDL_INTERFACE("12759630-5fba-4283-8f7d-cca849809edb")
   2777 IXpsOMColorProfileResourceCollection : public IUnknown
   2778 {
   2779     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2780         UINT32 *count) = 0;
   2781 
   2782     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2783         UINT32 index,
   2784         IXpsOMColorProfileResource **object) = 0;
   2785 
   2786     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2787         UINT32 index,
   2788         IXpsOMColorProfileResource *object) = 0;
   2789 
   2790     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2791         UINT32 index) = 0;
   2792 
   2793     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2794         UINT32 index,
   2795         IXpsOMColorProfileResource *object) = 0;
   2796 
   2797     virtual HRESULT STDMETHODCALLTYPE Append(
   2798         IXpsOMColorProfileResource *object) = 0;
   2799 
   2800     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2801         IOpcPartUri *partName,
   2802         IXpsOMColorProfileResource **part) = 0;
   2803 
   2804 };
   2805 #ifdef __CRT_UUID_DECL
   2806 __CRT_UUID_DECL(IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb)
   2807 #endif
   2808 #else
   2809 typedef struct IXpsOMColorProfileResourceCollectionVtbl {
   2810     BEGIN_INTERFACE
   2811 
   2812     /*** IUnknown methods ***/
   2813     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2814         IXpsOMColorProfileResourceCollection *This,
   2815         REFIID riid,
   2816         void **ppvObject);
   2817 
   2818     ULONG (STDMETHODCALLTYPE *AddRef)(
   2819         IXpsOMColorProfileResourceCollection *This);
   2820 
   2821     ULONG (STDMETHODCALLTYPE *Release)(
   2822         IXpsOMColorProfileResourceCollection *This);
   2823 
   2824     /*** IXpsOMColorProfileResourceCollection methods ***/
   2825     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2826         IXpsOMColorProfileResourceCollection *This,
   2827         UINT32 *count);
   2828 
   2829     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2830         IXpsOMColorProfileResourceCollection *This,
   2831         UINT32 index,
   2832         IXpsOMColorProfileResource **object);
   2833 
   2834     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2835         IXpsOMColorProfileResourceCollection *This,
   2836         UINT32 index,
   2837         IXpsOMColorProfileResource *object);
   2838 
   2839     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2840         IXpsOMColorProfileResourceCollection *This,
   2841         UINT32 index);
   2842 
   2843     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2844         IXpsOMColorProfileResourceCollection *This,
   2845         UINT32 index,
   2846         IXpsOMColorProfileResource *object);
   2847 
   2848     HRESULT (STDMETHODCALLTYPE *Append)(
   2849         IXpsOMColorProfileResourceCollection *This,
   2850         IXpsOMColorProfileResource *object);
   2851 
   2852     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   2853         IXpsOMColorProfileResourceCollection *This,
   2854         IOpcPartUri *partName,
   2855         IXpsOMColorProfileResource **part);
   2856 
   2857     END_INTERFACE
   2858 } IXpsOMColorProfileResourceCollectionVtbl;
   2859 
   2860 interface IXpsOMColorProfileResourceCollection {
   2861     CONST_VTBL IXpsOMColorProfileResourceCollectionVtbl* lpVtbl;
   2862 };
   2863 
   2864 #ifdef COBJMACROS
   2865 #ifndef WIDL_C_INLINE_WRAPPERS
   2866 /*** IUnknown methods ***/
   2867 #define IXpsOMColorProfileResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2868 #define IXpsOMColorProfileResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2869 #define IXpsOMColorProfileResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   2870 /*** IXpsOMColorProfileResourceCollection methods ***/
   2871 #define IXpsOMColorProfileResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2872 #define IXpsOMColorProfileResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   2873 #define IXpsOMColorProfileResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   2874 #define IXpsOMColorProfileResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2875 #define IXpsOMColorProfileResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   2876 #define IXpsOMColorProfileResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   2877 #define IXpsOMColorProfileResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   2878 #else
   2879 /*** IUnknown methods ***/
   2880 static inline HRESULT IXpsOMColorProfileResourceCollection_QueryInterface(IXpsOMColorProfileResourceCollection* This,REFIID riid,void **ppvObject) {
   2881     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2882 }
   2883 static inline ULONG IXpsOMColorProfileResourceCollection_AddRef(IXpsOMColorProfileResourceCollection* This) {
   2884     return This->lpVtbl->AddRef(This);
   2885 }
   2886 static inline ULONG IXpsOMColorProfileResourceCollection_Release(IXpsOMColorProfileResourceCollection* This) {
   2887     return This->lpVtbl->Release(This);
   2888 }
   2889 /*** IXpsOMColorProfileResourceCollection methods ***/
   2890 static inline HRESULT IXpsOMColorProfileResourceCollection_GetCount(IXpsOMColorProfileResourceCollection* This,UINT32 *count) {
   2891     return This->lpVtbl->GetCount(This,count);
   2892 }
   2893 static inline HRESULT IXpsOMColorProfileResourceCollection_GetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource **object) {
   2894     return This->lpVtbl->GetAt(This,index,object);
   2895 }
   2896 static inline HRESULT IXpsOMColorProfileResourceCollection_InsertAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
   2897     return This->lpVtbl->InsertAt(This,index,object);
   2898 }
   2899 static inline HRESULT IXpsOMColorProfileResourceCollection_RemoveAt(IXpsOMColorProfileResourceCollection* This,UINT32 index) {
   2900     return This->lpVtbl->RemoveAt(This,index);
   2901 }
   2902 static inline HRESULT IXpsOMColorProfileResourceCollection_SetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
   2903     return This->lpVtbl->SetAt(This,index,object);
   2904 }
   2905 static inline HRESULT IXpsOMColorProfileResourceCollection_Append(IXpsOMColorProfileResourceCollection* This,IXpsOMColorProfileResource *object) {
   2906     return This->lpVtbl->Append(This,object);
   2907 }
   2908 static inline HRESULT IXpsOMColorProfileResourceCollection_GetByPartName(IXpsOMColorProfileResourceCollection* This,IOpcPartUri *partName,IXpsOMColorProfileResource **part) {
   2909     return This->lpVtbl->GetByPartName(This,partName,part);
   2910 }
   2911 #endif
   2912 #endif
   2913 
   2914 #endif
   2915 
   2916 
   2917 #endif  /* __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__ */
   2918 
   2919 /*****************************************************************************
   2920  * IXpsOMRemoteDictionaryResourceCollection interface
   2921  */
   2922 #ifndef __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
   2923 #define __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
   2924 
   2925 DEFINE_GUID(IID_IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe);
   2926 #if defined(__cplusplus) && !defined(CINTERFACE)
   2927 MIDL_INTERFACE("5c38db61-7fec-464a-87bd-41e3bef018be")
   2928 IXpsOMRemoteDictionaryResourceCollection : public IUnknown
   2929 {
   2930     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2931         UINT32 *count) = 0;
   2932 
   2933     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2934         UINT32 index,
   2935         IXpsOMRemoteDictionaryResource **object) = 0;
   2936 
   2937     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2938         UINT32 index,
   2939         IXpsOMRemoteDictionaryResource *object) = 0;
   2940 
   2941     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2942         UINT32 index) = 0;
   2943 
   2944     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2945         UINT32 index,
   2946         IXpsOMRemoteDictionaryResource *object) = 0;
   2947 
   2948     virtual HRESULT STDMETHODCALLTYPE Append(
   2949         IXpsOMRemoteDictionaryResource *object) = 0;
   2950 
   2951     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2952         IOpcPartUri *partName,
   2953         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   2954 
   2955 };
   2956 #ifdef __CRT_UUID_DECL
   2957 __CRT_UUID_DECL(IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe)
   2958 #endif
   2959 #else
   2960 typedef struct IXpsOMRemoteDictionaryResourceCollectionVtbl {
   2961     BEGIN_INTERFACE
   2962 
   2963     /*** IUnknown methods ***/
   2964     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2965         IXpsOMRemoteDictionaryResourceCollection *This,
   2966         REFIID riid,
   2967         void **ppvObject);
   2968 
   2969     ULONG (STDMETHODCALLTYPE *AddRef)(
   2970         IXpsOMRemoteDictionaryResourceCollection *This);
   2971 
   2972     ULONG (STDMETHODCALLTYPE *Release)(
   2973         IXpsOMRemoteDictionaryResourceCollection *This);
   2974 
   2975     /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   2976     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2977         IXpsOMRemoteDictionaryResourceCollection *This,
   2978         UINT32 *count);
   2979 
   2980     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2981         IXpsOMRemoteDictionaryResourceCollection *This,
   2982         UINT32 index,
   2983         IXpsOMRemoteDictionaryResource **object);
   2984 
   2985     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2986         IXpsOMRemoteDictionaryResourceCollection *This,
   2987         UINT32 index,
   2988         IXpsOMRemoteDictionaryResource *object);
   2989 
   2990     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2991         IXpsOMRemoteDictionaryResourceCollection *This,
   2992         UINT32 index);
   2993 
   2994     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2995         IXpsOMRemoteDictionaryResourceCollection *This,
   2996         UINT32 index,
   2997         IXpsOMRemoteDictionaryResource *object);
   2998 
   2999     HRESULT (STDMETHODCALLTYPE *Append)(
   3000         IXpsOMRemoteDictionaryResourceCollection *This,
   3001         IXpsOMRemoteDictionaryResource *object);
   3002 
   3003     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   3004         IXpsOMRemoteDictionaryResourceCollection *This,
   3005         IOpcPartUri *partName,
   3006         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   3007 
   3008     END_INTERFACE
   3009 } IXpsOMRemoteDictionaryResourceCollectionVtbl;
   3010 
   3011 interface IXpsOMRemoteDictionaryResourceCollection {
   3012     CONST_VTBL IXpsOMRemoteDictionaryResourceCollectionVtbl* lpVtbl;
   3013 };
   3014 
   3015 #ifdef COBJMACROS
   3016 #ifndef WIDL_C_INLINE_WRAPPERS
   3017 /*** IUnknown methods ***/
   3018 #define IXpsOMRemoteDictionaryResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3019 #define IXpsOMRemoteDictionaryResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3020 #define IXpsOMRemoteDictionaryResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3021 /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   3022 #define IXpsOMRemoteDictionaryResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3023 #define IXpsOMRemoteDictionaryResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3024 #define IXpsOMRemoteDictionaryResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3025 #define IXpsOMRemoteDictionaryResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3026 #define IXpsOMRemoteDictionaryResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3027 #define IXpsOMRemoteDictionaryResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3028 #define IXpsOMRemoteDictionaryResourceCollection_GetByPartName(This,partName,remoteDictionaryResource) (This)->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource)
   3029 #else
   3030 /*** IUnknown methods ***/
   3031 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_QueryInterface(IXpsOMRemoteDictionaryResourceCollection* This,REFIID riid,void **ppvObject) {
   3032     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3033 }
   3034 static inline ULONG IXpsOMRemoteDictionaryResourceCollection_AddRef(IXpsOMRemoteDictionaryResourceCollection* This) {
   3035     return This->lpVtbl->AddRef(This);
   3036 }
   3037 static inline ULONG IXpsOMRemoteDictionaryResourceCollection_Release(IXpsOMRemoteDictionaryResourceCollection* This) {
   3038     return This->lpVtbl->Release(This);
   3039 }
   3040 /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   3041 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_GetCount(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 *count) {
   3042     return This->lpVtbl->GetCount(This,count);
   3043 }
   3044 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_GetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource **object) {
   3045     return This->lpVtbl->GetAt(This,index,object);
   3046 }
   3047 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_InsertAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
   3048     return This->lpVtbl->InsertAt(This,index,object);
   3049 }
   3050 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_RemoveAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index) {
   3051     return This->lpVtbl->RemoveAt(This,index);
   3052 }
   3053 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_SetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
   3054     return This->lpVtbl->SetAt(This,index,object);
   3055 }
   3056 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_Append(IXpsOMRemoteDictionaryResourceCollection* This,IXpsOMRemoteDictionaryResource *object) {
   3057     return This->lpVtbl->Append(This,object);
   3058 }
   3059 static inline HRESULT IXpsOMRemoteDictionaryResourceCollection_GetByPartName(IXpsOMRemoteDictionaryResourceCollection* This,IOpcPartUri *partName,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   3060     return This->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource);
   3061 }
   3062 #endif
   3063 #endif
   3064 
   3065 #endif
   3066 
   3067 
   3068 #endif  /* __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__ */
   3069 
   3070 /*****************************************************************************
   3071  * IXpsOMSignatureBlockResourceCollection interface
   3072  */
   3073 #ifndef __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
   3074 #define __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
   3075 
   3076 DEFINE_GUID(IID_IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31);
   3077 #if defined(__cplusplus) && !defined(CINTERFACE)
   3078 MIDL_INTERFACE("ab8f5d8e-351b-4d33-aaed-fa56f0022931")
   3079 IXpsOMSignatureBlockResourceCollection : public IUnknown
   3080 {
   3081     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3082         UINT32 *count) = 0;
   3083 
   3084     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3085         UINT32 index,
   3086         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   3087 
   3088     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3089         UINT32 index,
   3090         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3091 
   3092     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3093         UINT32 index) = 0;
   3094 
   3095     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3096         UINT32 index,
   3097         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3098 
   3099     virtual HRESULT STDMETHODCALLTYPE Append(
   3100         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3101 
   3102     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   3103         IOpcPartUri *partName,
   3104         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   3105 
   3106 };
   3107 #ifdef __CRT_UUID_DECL
   3108 __CRT_UUID_DECL(IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31)
   3109 #endif
   3110 #else
   3111 typedef struct IXpsOMSignatureBlockResourceCollectionVtbl {
   3112     BEGIN_INTERFACE
   3113 
   3114     /*** IUnknown methods ***/
   3115     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3116         IXpsOMSignatureBlockResourceCollection *This,
   3117         REFIID riid,
   3118         void **ppvObject);
   3119 
   3120     ULONG (STDMETHODCALLTYPE *AddRef)(
   3121         IXpsOMSignatureBlockResourceCollection *This);
   3122 
   3123     ULONG (STDMETHODCALLTYPE *Release)(
   3124         IXpsOMSignatureBlockResourceCollection *This);
   3125 
   3126     /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3127     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3128         IXpsOMSignatureBlockResourceCollection *This,
   3129         UINT32 *count);
   3130 
   3131     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3132         IXpsOMSignatureBlockResourceCollection *This,
   3133         UINT32 index,
   3134         IXpsOMSignatureBlockResource **signatureBlockResource);
   3135 
   3136     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3137         IXpsOMSignatureBlockResourceCollection *This,
   3138         UINT32 index,
   3139         IXpsOMSignatureBlockResource *signatureBlockResource);
   3140 
   3141     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3142         IXpsOMSignatureBlockResourceCollection *This,
   3143         UINT32 index);
   3144 
   3145     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3146         IXpsOMSignatureBlockResourceCollection *This,
   3147         UINT32 index,
   3148         IXpsOMSignatureBlockResource *signatureBlockResource);
   3149 
   3150     HRESULT (STDMETHODCALLTYPE *Append)(
   3151         IXpsOMSignatureBlockResourceCollection *This,
   3152         IXpsOMSignatureBlockResource *signatureBlockResource);
   3153 
   3154     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   3155         IXpsOMSignatureBlockResourceCollection *This,
   3156         IOpcPartUri *partName,
   3157         IXpsOMSignatureBlockResource **signatureBlockResource);
   3158 
   3159     END_INTERFACE
   3160 } IXpsOMSignatureBlockResourceCollectionVtbl;
   3161 
   3162 interface IXpsOMSignatureBlockResourceCollection {
   3163     CONST_VTBL IXpsOMSignatureBlockResourceCollectionVtbl* lpVtbl;
   3164 };
   3165 
   3166 #ifdef COBJMACROS
   3167 #ifndef WIDL_C_INLINE_WRAPPERS
   3168 /*** IUnknown methods ***/
   3169 #define IXpsOMSignatureBlockResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3170 #define IXpsOMSignatureBlockResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3171 #define IXpsOMSignatureBlockResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3172 /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3173 #define IXpsOMSignatureBlockResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3174 #define IXpsOMSignatureBlockResourceCollection_GetAt(This,index,signatureBlockResource) (This)->lpVtbl->GetAt(This,index,signatureBlockResource)
   3175 #define IXpsOMSignatureBlockResourceCollection_InsertAt(This,index,signatureBlockResource) (This)->lpVtbl->InsertAt(This,index,signatureBlockResource)
   3176 #define IXpsOMSignatureBlockResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3177 #define IXpsOMSignatureBlockResourceCollection_SetAt(This,index,signatureBlockResource) (This)->lpVtbl->SetAt(This,index,signatureBlockResource)
   3178 #define IXpsOMSignatureBlockResourceCollection_Append(This,signatureBlockResource) (This)->lpVtbl->Append(This,signatureBlockResource)
   3179 #define IXpsOMSignatureBlockResourceCollection_GetByPartName(This,partName,signatureBlockResource) (This)->lpVtbl->GetByPartName(This,partName,signatureBlockResource)
   3180 #else
   3181 /*** IUnknown methods ***/
   3182 static inline HRESULT IXpsOMSignatureBlockResourceCollection_QueryInterface(IXpsOMSignatureBlockResourceCollection* This,REFIID riid,void **ppvObject) {
   3183     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3184 }
   3185 static inline ULONG IXpsOMSignatureBlockResourceCollection_AddRef(IXpsOMSignatureBlockResourceCollection* This) {
   3186     return This->lpVtbl->AddRef(This);
   3187 }
   3188 static inline ULONG IXpsOMSignatureBlockResourceCollection_Release(IXpsOMSignatureBlockResourceCollection* This) {
   3189     return This->lpVtbl->Release(This);
   3190 }
   3191 /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3192 static inline HRESULT IXpsOMSignatureBlockResourceCollection_GetCount(IXpsOMSignatureBlockResourceCollection* This,UINT32 *count) {
   3193     return This->lpVtbl->GetCount(This,count);
   3194 }
   3195 static inline HRESULT IXpsOMSignatureBlockResourceCollection_GetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource **signatureBlockResource) {
   3196     return This->lpVtbl->GetAt(This,index,signatureBlockResource);
   3197 }
   3198 static inline HRESULT IXpsOMSignatureBlockResourceCollection_InsertAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3199     return This->lpVtbl->InsertAt(This,index,signatureBlockResource);
   3200 }
   3201 static inline HRESULT IXpsOMSignatureBlockResourceCollection_RemoveAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index) {
   3202     return This->lpVtbl->RemoveAt(This,index);
   3203 }
   3204 static inline HRESULT IXpsOMSignatureBlockResourceCollection_SetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3205     return This->lpVtbl->SetAt(This,index,signatureBlockResource);
   3206 }
   3207 static inline HRESULT IXpsOMSignatureBlockResourceCollection_Append(IXpsOMSignatureBlockResourceCollection* This,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3208     return This->lpVtbl->Append(This,signatureBlockResource);
   3209 }
   3210 static inline HRESULT IXpsOMSignatureBlockResourceCollection_GetByPartName(IXpsOMSignatureBlockResourceCollection* This,IOpcPartUri *partName,IXpsOMSignatureBlockResource **signatureBlockResource) {
   3211     return This->lpVtbl->GetByPartName(This,partName,signatureBlockResource);
   3212 }
   3213 #endif
   3214 #endif
   3215 
   3216 #endif
   3217 
   3218 
   3219 #endif  /* __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__ */
   3220 
   3221 /*****************************************************************************
   3222  * IXpsOMVisualCollection interface
   3223  */
   3224 #ifndef __IXpsOMVisualCollection_INTERFACE_DEFINED__
   3225 #define __IXpsOMVisualCollection_INTERFACE_DEFINED__
   3226 
   3227 DEFINE_GUID(IID_IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96);
   3228 #if defined(__cplusplus) && !defined(CINTERFACE)
   3229 MIDL_INTERFACE("94d8abde-ab91-46a8-82b7-f5b05ef01a96")
   3230 IXpsOMVisualCollection : public IUnknown
   3231 {
   3232     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3233         UINT32 *count) = 0;
   3234 
   3235     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3236         UINT32 index,
   3237         IXpsOMVisual **object) = 0;
   3238 
   3239     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3240         UINT32 index,
   3241         IXpsOMVisual *object) = 0;
   3242 
   3243     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3244         UINT32 index) = 0;
   3245 
   3246     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3247         UINT32 index,
   3248         IXpsOMVisual *object) = 0;
   3249 
   3250     virtual HRESULT STDMETHODCALLTYPE Append(
   3251         IXpsOMVisual *object) = 0;
   3252 
   3253 };
   3254 #ifdef __CRT_UUID_DECL
   3255 __CRT_UUID_DECL(IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96)
   3256 #endif
   3257 #else
   3258 typedef struct IXpsOMVisualCollectionVtbl {
   3259     BEGIN_INTERFACE
   3260 
   3261     /*** IUnknown methods ***/
   3262     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3263         IXpsOMVisualCollection *This,
   3264         REFIID riid,
   3265         void **ppvObject);
   3266 
   3267     ULONG (STDMETHODCALLTYPE *AddRef)(
   3268         IXpsOMVisualCollection *This);
   3269 
   3270     ULONG (STDMETHODCALLTYPE *Release)(
   3271         IXpsOMVisualCollection *This);
   3272 
   3273     /*** IXpsOMVisualCollection methods ***/
   3274     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3275         IXpsOMVisualCollection *This,
   3276         UINT32 *count);
   3277 
   3278     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3279         IXpsOMVisualCollection *This,
   3280         UINT32 index,
   3281         IXpsOMVisual **object);
   3282 
   3283     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3284         IXpsOMVisualCollection *This,
   3285         UINT32 index,
   3286         IXpsOMVisual *object);
   3287 
   3288     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3289         IXpsOMVisualCollection *This,
   3290         UINT32 index);
   3291 
   3292     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3293         IXpsOMVisualCollection *This,
   3294         UINT32 index,
   3295         IXpsOMVisual *object);
   3296 
   3297     HRESULT (STDMETHODCALLTYPE *Append)(
   3298         IXpsOMVisualCollection *This,
   3299         IXpsOMVisual *object);
   3300 
   3301     END_INTERFACE
   3302 } IXpsOMVisualCollectionVtbl;
   3303 
   3304 interface IXpsOMVisualCollection {
   3305     CONST_VTBL IXpsOMVisualCollectionVtbl* lpVtbl;
   3306 };
   3307 
   3308 #ifdef COBJMACROS
   3309 #ifndef WIDL_C_INLINE_WRAPPERS
   3310 /*** IUnknown methods ***/
   3311 #define IXpsOMVisualCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3312 #define IXpsOMVisualCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3313 #define IXpsOMVisualCollection_Release(This) (This)->lpVtbl->Release(This)
   3314 /*** IXpsOMVisualCollection methods ***/
   3315 #define IXpsOMVisualCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3316 #define IXpsOMVisualCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3317 #define IXpsOMVisualCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3318 #define IXpsOMVisualCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3319 #define IXpsOMVisualCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3320 #define IXpsOMVisualCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3321 #else
   3322 /*** IUnknown methods ***/
   3323 static inline HRESULT IXpsOMVisualCollection_QueryInterface(IXpsOMVisualCollection* This,REFIID riid,void **ppvObject) {
   3324     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3325 }
   3326 static inline ULONG IXpsOMVisualCollection_AddRef(IXpsOMVisualCollection* This) {
   3327     return This->lpVtbl->AddRef(This);
   3328 }
   3329 static inline ULONG IXpsOMVisualCollection_Release(IXpsOMVisualCollection* This) {
   3330     return This->lpVtbl->Release(This);
   3331 }
   3332 /*** IXpsOMVisualCollection methods ***/
   3333 static inline HRESULT IXpsOMVisualCollection_GetCount(IXpsOMVisualCollection* This,UINT32 *count) {
   3334     return This->lpVtbl->GetCount(This,count);
   3335 }
   3336 static inline HRESULT IXpsOMVisualCollection_GetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual **object) {
   3337     return This->lpVtbl->GetAt(This,index,object);
   3338 }
   3339 static inline HRESULT IXpsOMVisualCollection_InsertAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
   3340     return This->lpVtbl->InsertAt(This,index,object);
   3341 }
   3342 static inline HRESULT IXpsOMVisualCollection_RemoveAt(IXpsOMVisualCollection* This,UINT32 index) {
   3343     return This->lpVtbl->RemoveAt(This,index);
   3344 }
   3345 static inline HRESULT IXpsOMVisualCollection_SetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
   3346     return This->lpVtbl->SetAt(This,index,object);
   3347 }
   3348 static inline HRESULT IXpsOMVisualCollection_Append(IXpsOMVisualCollection* This,IXpsOMVisual *object) {
   3349     return This->lpVtbl->Append(This,object);
   3350 }
   3351 #endif
   3352 #endif
   3353 
   3354 #endif
   3355 
   3356 
   3357 #endif  /* __IXpsOMVisualCollection_INTERFACE_DEFINED__ */
   3358 
   3359 /*****************************************************************************
   3360  * IXpsOMDictionary interface
   3361  */
   3362 #ifndef __IXpsOMDictionary_INTERFACE_DEFINED__
   3363 #define __IXpsOMDictionary_INTERFACE_DEFINED__
   3364 
   3365 DEFINE_GUID(IID_IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36);
   3366 #if defined(__cplusplus) && !defined(CINTERFACE)
   3367 MIDL_INTERFACE("897c86b8-8eaf-4ae3-bdde-56419fcf4236")
   3368 IXpsOMDictionary : public IUnknown
   3369 {
   3370     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   3371         IUnknown **owner) = 0;
   3372 
   3373     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3374         UINT32 *count) = 0;
   3375 
   3376     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3377         UINT32 index,
   3378         LPWSTR *key,
   3379         IXpsOMShareable **entry) = 0;
   3380 
   3381     virtual HRESULT STDMETHODCALLTYPE GetByKey(
   3382         LPCWSTR key,
   3383         IXpsOMShareable *beforeEntry,
   3384         IXpsOMShareable **entry) = 0;
   3385 
   3386     virtual HRESULT STDMETHODCALLTYPE GetIndex(
   3387         IXpsOMShareable *entry,
   3388         UINT32 *index) = 0;
   3389 
   3390     virtual HRESULT STDMETHODCALLTYPE Append(
   3391         LPCWSTR key,
   3392         IXpsOMShareable *entry) = 0;
   3393 
   3394     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3395         UINT32 index,
   3396         LPCWSTR key,
   3397         IXpsOMShareable *entry) = 0;
   3398 
   3399     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3400         UINT32 index) = 0;
   3401 
   3402     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3403         UINT32 index,
   3404         LPCWSTR key,
   3405         IXpsOMShareable *entry) = 0;
   3406 
   3407     virtual HRESULT STDMETHODCALLTYPE Clone(
   3408         IXpsOMDictionary **dictionary) = 0;
   3409 
   3410 };
   3411 #ifdef __CRT_UUID_DECL
   3412 __CRT_UUID_DECL(IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36)
   3413 #endif
   3414 #else
   3415 typedef struct IXpsOMDictionaryVtbl {
   3416     BEGIN_INTERFACE
   3417 
   3418     /*** IUnknown methods ***/
   3419     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3420         IXpsOMDictionary *This,
   3421         REFIID riid,
   3422         void **ppvObject);
   3423 
   3424     ULONG (STDMETHODCALLTYPE *AddRef)(
   3425         IXpsOMDictionary *This);
   3426 
   3427     ULONG (STDMETHODCALLTYPE *Release)(
   3428         IXpsOMDictionary *This);
   3429 
   3430     /*** IXpsOMDictionary methods ***/
   3431     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   3432         IXpsOMDictionary *This,
   3433         IUnknown **owner);
   3434 
   3435     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3436         IXpsOMDictionary *This,
   3437         UINT32 *count);
   3438 
   3439     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3440         IXpsOMDictionary *This,
   3441         UINT32 index,
   3442         LPWSTR *key,
   3443         IXpsOMShareable **entry);
   3444 
   3445     HRESULT (STDMETHODCALLTYPE *GetByKey)(
   3446         IXpsOMDictionary *This,
   3447         LPCWSTR key,
   3448         IXpsOMShareable *beforeEntry,
   3449         IXpsOMShareable **entry);
   3450 
   3451     HRESULT (STDMETHODCALLTYPE *GetIndex)(
   3452         IXpsOMDictionary *This,
   3453         IXpsOMShareable *entry,
   3454         UINT32 *index);
   3455 
   3456     HRESULT (STDMETHODCALLTYPE *Append)(
   3457         IXpsOMDictionary *This,
   3458         LPCWSTR key,
   3459         IXpsOMShareable *entry);
   3460 
   3461     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3462         IXpsOMDictionary *This,
   3463         UINT32 index,
   3464         LPCWSTR key,
   3465         IXpsOMShareable *entry);
   3466 
   3467     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3468         IXpsOMDictionary *This,
   3469         UINT32 index);
   3470 
   3471     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3472         IXpsOMDictionary *This,
   3473         UINT32 index,
   3474         LPCWSTR key,
   3475         IXpsOMShareable *entry);
   3476 
   3477     HRESULT (STDMETHODCALLTYPE *Clone)(
   3478         IXpsOMDictionary *This,
   3479         IXpsOMDictionary **dictionary);
   3480 
   3481     END_INTERFACE
   3482 } IXpsOMDictionaryVtbl;
   3483 
   3484 interface IXpsOMDictionary {
   3485     CONST_VTBL IXpsOMDictionaryVtbl* lpVtbl;
   3486 };
   3487 
   3488 #ifdef COBJMACROS
   3489 #ifndef WIDL_C_INLINE_WRAPPERS
   3490 /*** IUnknown methods ***/
   3491 #define IXpsOMDictionary_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3492 #define IXpsOMDictionary_AddRef(This) (This)->lpVtbl->AddRef(This)
   3493 #define IXpsOMDictionary_Release(This) (This)->lpVtbl->Release(This)
   3494 /*** IXpsOMDictionary methods ***/
   3495 #define IXpsOMDictionary_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   3496 #define IXpsOMDictionary_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3497 #define IXpsOMDictionary_GetAt(This,index,key,entry) (This)->lpVtbl->GetAt(This,index,key,entry)
   3498 #define IXpsOMDictionary_GetByKey(This,key,beforeEntry,entry) (This)->lpVtbl->GetByKey(This,key,beforeEntry,entry)
   3499 #define IXpsOMDictionary_GetIndex(This,entry,index) (This)->lpVtbl->GetIndex(This,entry,index)
   3500 #define IXpsOMDictionary_Append(This,key,entry) (This)->lpVtbl->Append(This,key,entry)
   3501 #define IXpsOMDictionary_InsertAt(This,index,key,entry) (This)->lpVtbl->InsertAt(This,index,key,entry)
   3502 #define IXpsOMDictionary_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3503 #define IXpsOMDictionary_SetAt(This,index,key,entry) (This)->lpVtbl->SetAt(This,index,key,entry)
   3504 #define IXpsOMDictionary_Clone(This,dictionary) (This)->lpVtbl->Clone(This,dictionary)
   3505 #else
   3506 /*** IUnknown methods ***/
   3507 static inline HRESULT IXpsOMDictionary_QueryInterface(IXpsOMDictionary* This,REFIID riid,void **ppvObject) {
   3508     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3509 }
   3510 static inline ULONG IXpsOMDictionary_AddRef(IXpsOMDictionary* This) {
   3511     return This->lpVtbl->AddRef(This);
   3512 }
   3513 static inline ULONG IXpsOMDictionary_Release(IXpsOMDictionary* This) {
   3514     return This->lpVtbl->Release(This);
   3515 }
   3516 /*** IXpsOMDictionary methods ***/
   3517 static inline HRESULT IXpsOMDictionary_GetOwner(IXpsOMDictionary* This,IUnknown **owner) {
   3518     return This->lpVtbl->GetOwner(This,owner);
   3519 }
   3520 static inline HRESULT IXpsOMDictionary_GetCount(IXpsOMDictionary* This,UINT32 *count) {
   3521     return This->lpVtbl->GetCount(This,count);
   3522 }
   3523 static inline HRESULT IXpsOMDictionary_GetAt(IXpsOMDictionary* This,UINT32 index,LPWSTR *key,IXpsOMShareable **entry) {
   3524     return This->lpVtbl->GetAt(This,index,key,entry);
   3525 }
   3526 static inline HRESULT IXpsOMDictionary_GetByKey(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *beforeEntry,IXpsOMShareable **entry) {
   3527     return This->lpVtbl->GetByKey(This,key,beforeEntry,entry);
   3528 }
   3529 static inline HRESULT IXpsOMDictionary_GetIndex(IXpsOMDictionary* This,IXpsOMShareable *entry,UINT32 *index) {
   3530     return This->lpVtbl->GetIndex(This,entry,index);
   3531 }
   3532 static inline HRESULT IXpsOMDictionary_Append(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *entry) {
   3533     return This->lpVtbl->Append(This,key,entry);
   3534 }
   3535 static inline HRESULT IXpsOMDictionary_InsertAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
   3536     return This->lpVtbl->InsertAt(This,index,key,entry);
   3537 }
   3538 static inline HRESULT IXpsOMDictionary_RemoveAt(IXpsOMDictionary* This,UINT32 index) {
   3539     return This->lpVtbl->RemoveAt(This,index);
   3540 }
   3541 static inline HRESULT IXpsOMDictionary_SetAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
   3542     return This->lpVtbl->SetAt(This,index,key,entry);
   3543 }
   3544 static inline HRESULT IXpsOMDictionary_Clone(IXpsOMDictionary* This,IXpsOMDictionary **dictionary) {
   3545     return This->lpVtbl->Clone(This,dictionary);
   3546 }
   3547 #endif
   3548 #endif
   3549 
   3550 #endif
   3551 
   3552 
   3553 #endif  /* __IXpsOMDictionary_INTERFACE_DEFINED__ */
   3554 
   3555 /*****************************************************************************
   3556  * IXpsOMPageReference interface
   3557  */
   3558 #ifndef __IXpsOMPageReference_INTERFACE_DEFINED__
   3559 #define __IXpsOMPageReference_INTERFACE_DEFINED__
   3560 
   3561 DEFINE_GUID(IID_IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0);
   3562 #if defined(__cplusplus) && !defined(CINTERFACE)
   3563 MIDL_INTERFACE("ed360180-6f92-4998-890d-2f208531a0a0")
   3564 IXpsOMPageReference : public IUnknown
   3565 {
   3566     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   3567         IXpsOMDocument **document) = 0;
   3568 
   3569     virtual HRESULT STDMETHODCALLTYPE GetPage(
   3570         IXpsOMPage **page) = 0;
   3571 
   3572     virtual HRESULT STDMETHODCALLTYPE SetPage(
   3573         IXpsOMPage *page) = 0;
   3574 
   3575     virtual HRESULT STDMETHODCALLTYPE DiscardPage(
   3576         ) = 0;
   3577 
   3578     virtual HRESULT STDMETHODCALLTYPE IsPageLoaded(
   3579         WINBOOL *isPageLoaded) = 0;
   3580 
   3581     virtual HRESULT STDMETHODCALLTYPE GetAdvisoryPageDimensions(
   3582         XPS_SIZE *pageDimensions) = 0;
   3583 
   3584     virtual HRESULT STDMETHODCALLTYPE SetAdvisoryPageDimensions(
   3585         const XPS_SIZE *pageDimensions) = 0;
   3586 
   3587     virtual HRESULT STDMETHODCALLTYPE GetStoryFragmentsResource(
   3588         IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
   3589 
   3590     virtual HRESULT STDMETHODCALLTYPE SetStoryFragmentsResource(
   3591         IXpsOMStoryFragmentsResource *storyFragmentsResource) = 0;
   3592 
   3593     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
   3594         IXpsOMPrintTicketResource **printTicketResource) = 0;
   3595 
   3596     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
   3597         IXpsOMPrintTicketResource *printTicketResource) = 0;
   3598 
   3599     virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
   3600         IXpsOMImageResource **imageResource) = 0;
   3601 
   3602     virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
   3603         IXpsOMImageResource *imageResource) = 0;
   3604 
   3605     virtual HRESULT STDMETHODCALLTYPE CollectLinkTargets(
   3606         IXpsOMNameCollection **linkTargets) = 0;
   3607 
   3608     virtual HRESULT STDMETHODCALLTYPE CollectPartResources(
   3609         IXpsOMPartResources **partResources) = 0;
   3610 
   3611     virtual HRESULT STDMETHODCALLTYPE HasRestrictedFonts(
   3612         WINBOOL *restrictedFonts) = 0;
   3613 
   3614     virtual HRESULT STDMETHODCALLTYPE Clone(
   3615         IXpsOMPageReference **pageReference) = 0;
   3616 
   3617 };
   3618 #ifdef __CRT_UUID_DECL
   3619 __CRT_UUID_DECL(IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0)
   3620 #endif
   3621 #else
   3622 typedef struct IXpsOMPageReferenceVtbl {
   3623     BEGIN_INTERFACE
   3624 
   3625     /*** IUnknown methods ***/
   3626     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3627         IXpsOMPageReference *This,
   3628         REFIID riid,
   3629         void **ppvObject);
   3630 
   3631     ULONG (STDMETHODCALLTYPE *AddRef)(
   3632         IXpsOMPageReference *This);
   3633 
   3634     ULONG (STDMETHODCALLTYPE *Release)(
   3635         IXpsOMPageReference *This);
   3636 
   3637     /*** IXpsOMPageReference methods ***/
   3638     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   3639         IXpsOMPageReference *This,
   3640         IXpsOMDocument **document);
   3641 
   3642     HRESULT (STDMETHODCALLTYPE *GetPage)(
   3643         IXpsOMPageReference *This,
   3644         IXpsOMPage **page);
   3645 
   3646     HRESULT (STDMETHODCALLTYPE *SetPage)(
   3647         IXpsOMPageReference *This,
   3648         IXpsOMPage *page);
   3649 
   3650     HRESULT (STDMETHODCALLTYPE *DiscardPage)(
   3651         IXpsOMPageReference *This);
   3652 
   3653     HRESULT (STDMETHODCALLTYPE *IsPageLoaded)(
   3654         IXpsOMPageReference *This,
   3655         WINBOOL *isPageLoaded);
   3656 
   3657     HRESULT (STDMETHODCALLTYPE *GetAdvisoryPageDimensions)(
   3658         IXpsOMPageReference *This,
   3659         XPS_SIZE *pageDimensions);
   3660 
   3661     HRESULT (STDMETHODCALLTYPE *SetAdvisoryPageDimensions)(
   3662         IXpsOMPageReference *This,
   3663         const XPS_SIZE *pageDimensions);
   3664 
   3665     HRESULT (STDMETHODCALLTYPE *GetStoryFragmentsResource)(
   3666         IXpsOMPageReference *This,
   3667         IXpsOMStoryFragmentsResource **storyFragmentsResource);
   3668 
   3669     HRESULT (STDMETHODCALLTYPE *SetStoryFragmentsResource)(
   3670         IXpsOMPageReference *This,
   3671         IXpsOMStoryFragmentsResource *storyFragmentsResource);
   3672 
   3673     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
   3674         IXpsOMPageReference *This,
   3675         IXpsOMPrintTicketResource **printTicketResource);
   3676 
   3677     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
   3678         IXpsOMPageReference *This,
   3679         IXpsOMPrintTicketResource *printTicketResource);
   3680 
   3681     HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
   3682         IXpsOMPageReference *This,
   3683         IXpsOMImageResource **imageResource);
   3684 
   3685     HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
   3686         IXpsOMPageReference *This,
   3687         IXpsOMImageResource *imageResource);
   3688 
   3689     HRESULT (STDMETHODCALLTYPE *CollectLinkTargets)(
   3690         IXpsOMPageReference *This,
   3691         IXpsOMNameCollection **linkTargets);
   3692 
   3693     HRESULT (STDMETHODCALLTYPE *CollectPartResources)(
   3694         IXpsOMPageReference *This,
   3695         IXpsOMPartResources **partResources);
   3696 
   3697     HRESULT (STDMETHODCALLTYPE *HasRestrictedFonts)(
   3698         IXpsOMPageReference *This,
   3699         WINBOOL *restrictedFonts);
   3700 
   3701     HRESULT (STDMETHODCALLTYPE *Clone)(
   3702         IXpsOMPageReference *This,
   3703         IXpsOMPageReference **pageReference);
   3704 
   3705     END_INTERFACE
   3706 } IXpsOMPageReferenceVtbl;
   3707 
   3708 interface IXpsOMPageReference {
   3709     CONST_VTBL IXpsOMPageReferenceVtbl* lpVtbl;
   3710 };
   3711 
   3712 #ifdef COBJMACROS
   3713 #ifndef WIDL_C_INLINE_WRAPPERS
   3714 /*** IUnknown methods ***/
   3715 #define IXpsOMPageReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3716 #define IXpsOMPageReference_AddRef(This) (This)->lpVtbl->AddRef(This)
   3717 #define IXpsOMPageReference_Release(This) (This)->lpVtbl->Release(This)
   3718 /*** IXpsOMPageReference methods ***/
   3719 #define IXpsOMPageReference_GetOwner(This,document) (This)->lpVtbl->GetOwner(This,document)
   3720 #define IXpsOMPageReference_GetPage(This,page) (This)->lpVtbl->GetPage(This,page)
   3721 #define IXpsOMPageReference_SetPage(This,page) (This)->lpVtbl->SetPage(This,page)
   3722 #define IXpsOMPageReference_DiscardPage(This) (This)->lpVtbl->DiscardPage(This)
   3723 #define IXpsOMPageReference_IsPageLoaded(This,isPageLoaded) (This)->lpVtbl->IsPageLoaded(This,isPageLoaded)
   3724 #define IXpsOMPageReference_GetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions)
   3725 #define IXpsOMPageReference_SetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions)
   3726 #define IXpsOMPageReference_GetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource)
   3727 #define IXpsOMPageReference_SetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource)
   3728 #define IXpsOMPageReference_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
   3729 #define IXpsOMPageReference_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
   3730 #define IXpsOMPageReference_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
   3731 #define IXpsOMPageReference_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
   3732 #define IXpsOMPageReference_CollectLinkTargets(This,linkTargets) (This)->lpVtbl->CollectLinkTargets(This,linkTargets)
   3733 #define IXpsOMPageReference_CollectPartResources(This,partResources) (This)->lpVtbl->CollectPartResources(This,partResources)
   3734 #define IXpsOMPageReference_HasRestrictedFonts(This,restrictedFonts) (This)->lpVtbl->HasRestrictedFonts(This,restrictedFonts)
   3735 #define IXpsOMPageReference_Clone(This,pageReference) (This)->lpVtbl->Clone(This,pageReference)
   3736 #else
   3737 /*** IUnknown methods ***/
   3738 static inline HRESULT IXpsOMPageReference_QueryInterface(IXpsOMPageReference* This,REFIID riid,void **ppvObject) {
   3739     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3740 }
   3741 static inline ULONG IXpsOMPageReference_AddRef(IXpsOMPageReference* This) {
   3742     return This->lpVtbl->AddRef(This);
   3743 }
   3744 static inline ULONG IXpsOMPageReference_Release(IXpsOMPageReference* This) {
   3745     return This->lpVtbl->Release(This);
   3746 }
   3747 /*** IXpsOMPageReference methods ***/
   3748 static inline HRESULT IXpsOMPageReference_GetOwner(IXpsOMPageReference* This,IXpsOMDocument **document) {
   3749     return This->lpVtbl->GetOwner(This,document);
   3750 }
   3751 static inline HRESULT IXpsOMPageReference_GetPage(IXpsOMPageReference* This,IXpsOMPage **page) {
   3752     return This->lpVtbl->GetPage(This,page);
   3753 }
   3754 static inline HRESULT IXpsOMPageReference_SetPage(IXpsOMPageReference* This,IXpsOMPage *page) {
   3755     return This->lpVtbl->SetPage(This,page);
   3756 }
   3757 static inline HRESULT IXpsOMPageReference_DiscardPage(IXpsOMPageReference* This) {
   3758     return This->lpVtbl->DiscardPage(This);
   3759 }
   3760 static inline HRESULT IXpsOMPageReference_IsPageLoaded(IXpsOMPageReference* This,WINBOOL *isPageLoaded) {
   3761     return This->lpVtbl->IsPageLoaded(This,isPageLoaded);
   3762 }
   3763 static inline HRESULT IXpsOMPageReference_GetAdvisoryPageDimensions(IXpsOMPageReference* This,XPS_SIZE *pageDimensions) {
   3764     return This->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions);
   3765 }
   3766 static inline HRESULT IXpsOMPageReference_SetAdvisoryPageDimensions(IXpsOMPageReference* This,const XPS_SIZE *pageDimensions) {
   3767     return This->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions);
   3768 }
   3769 static inline HRESULT IXpsOMPageReference_GetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
   3770     return This->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource);
   3771 }
   3772 static inline HRESULT IXpsOMPageReference_SetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource *storyFragmentsResource) {
   3773     return This->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource);
   3774 }
   3775 static inline HRESULT IXpsOMPageReference_GetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource **printTicketResource) {
   3776     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
   3777 }
   3778 static inline HRESULT IXpsOMPageReference_SetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource *printTicketResource) {
   3779     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
   3780 }
   3781 static inline HRESULT IXpsOMPageReference_GetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource **imageResource) {
   3782     return This->lpVtbl->GetThumbnailResource(This,imageResource);
   3783 }
   3784 static inline HRESULT IXpsOMPageReference_SetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource *imageResource) {
   3785     return This->lpVtbl->SetThumbnailResource(This,imageResource);
   3786 }
   3787 static inline HRESULT IXpsOMPageReference_CollectLinkTargets(IXpsOMPageReference* This,IXpsOMNameCollection **linkTargets) {
   3788     return This->lpVtbl->CollectLinkTargets(This,linkTargets);
   3789 }
   3790 static inline HRESULT IXpsOMPageReference_CollectPartResources(IXpsOMPageReference* This,IXpsOMPartResources **partResources) {
   3791     return This->lpVtbl->CollectPartResources(This,partResources);
   3792 }
   3793 static inline HRESULT IXpsOMPageReference_HasRestrictedFonts(IXpsOMPageReference* This,WINBOOL *restrictedFonts) {
   3794     return This->lpVtbl->HasRestrictedFonts(This,restrictedFonts);
   3795 }
   3796 static inline HRESULT IXpsOMPageReference_Clone(IXpsOMPageReference* This,IXpsOMPageReference **pageReference) {
   3797     return This->lpVtbl->Clone(This,pageReference);
   3798 }
   3799 #endif
   3800 #endif
   3801 
   3802 #endif
   3803 
   3804 
   3805 #endif  /* __IXpsOMPageReference_INTERFACE_DEFINED__ */
   3806 
   3807 /*****************************************************************************
   3808  * IXpsOMPageReferenceCollection interface
   3809  */
   3810 #ifndef __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
   3811 #define __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
   3812 
   3813 DEFINE_GUID(IID_IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45);
   3814 #if defined(__cplusplus) && !defined(CINTERFACE)
   3815 MIDL_INTERFACE("ca16ba4d-e7b9-45c5-958b-f98022473745")
   3816 IXpsOMPageReferenceCollection : public IUnknown
   3817 {
   3818     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3819         UINT32 *count) = 0;
   3820 
   3821     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3822         UINT32 index,
   3823         IXpsOMPageReference **pageReference) = 0;
   3824 
   3825     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3826         UINT32 index,
   3827         IXpsOMPageReference *pageReference) = 0;
   3828 
   3829     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3830         UINT32 index) = 0;
   3831 
   3832     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3833         UINT32 index,
   3834         IXpsOMPageReference *pageReference) = 0;
   3835 
   3836     virtual HRESULT STDMETHODCALLTYPE Append(
   3837         IXpsOMPageReference *pageReference) = 0;
   3838 
   3839 };
   3840 #ifdef __CRT_UUID_DECL
   3841 __CRT_UUID_DECL(IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45)
   3842 #endif
   3843 #else
   3844 typedef struct IXpsOMPageReferenceCollectionVtbl {
   3845     BEGIN_INTERFACE
   3846 
   3847     /*** IUnknown methods ***/
   3848     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3849         IXpsOMPageReferenceCollection *This,
   3850         REFIID riid,
   3851         void **ppvObject);
   3852 
   3853     ULONG (STDMETHODCALLTYPE *AddRef)(
   3854         IXpsOMPageReferenceCollection *This);
   3855 
   3856     ULONG (STDMETHODCALLTYPE *Release)(
   3857         IXpsOMPageReferenceCollection *This);
   3858 
   3859     /*** IXpsOMPageReferenceCollection methods ***/
   3860     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3861         IXpsOMPageReferenceCollection *This,
   3862         UINT32 *count);
   3863 
   3864     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3865         IXpsOMPageReferenceCollection *This,
   3866         UINT32 index,
   3867         IXpsOMPageReference **pageReference);
   3868 
   3869     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3870         IXpsOMPageReferenceCollection *This,
   3871         UINT32 index,
   3872         IXpsOMPageReference *pageReference);
   3873 
   3874     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3875         IXpsOMPageReferenceCollection *This,
   3876         UINT32 index);
   3877 
   3878     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3879         IXpsOMPageReferenceCollection *This,
   3880         UINT32 index,
   3881         IXpsOMPageReference *pageReference);
   3882 
   3883     HRESULT (STDMETHODCALLTYPE *Append)(
   3884         IXpsOMPageReferenceCollection *This,
   3885         IXpsOMPageReference *pageReference);
   3886 
   3887     END_INTERFACE
   3888 } IXpsOMPageReferenceCollectionVtbl;
   3889 
   3890 interface IXpsOMPageReferenceCollection {
   3891     CONST_VTBL IXpsOMPageReferenceCollectionVtbl* lpVtbl;
   3892 };
   3893 
   3894 #ifdef COBJMACROS
   3895 #ifndef WIDL_C_INLINE_WRAPPERS
   3896 /*** IUnknown methods ***/
   3897 #define IXpsOMPageReferenceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3898 #define IXpsOMPageReferenceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3899 #define IXpsOMPageReferenceCollection_Release(This) (This)->lpVtbl->Release(This)
   3900 /*** IXpsOMPageReferenceCollection methods ***/
   3901 #define IXpsOMPageReferenceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3902 #define IXpsOMPageReferenceCollection_GetAt(This,index,pageReference) (This)->lpVtbl->GetAt(This,index,pageReference)
   3903 #define IXpsOMPageReferenceCollection_InsertAt(This,index,pageReference) (This)->lpVtbl->InsertAt(This,index,pageReference)
   3904 #define IXpsOMPageReferenceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3905 #define IXpsOMPageReferenceCollection_SetAt(This,index,pageReference) (This)->lpVtbl->SetAt(This,index,pageReference)
   3906 #define IXpsOMPageReferenceCollection_Append(This,pageReference) (This)->lpVtbl->Append(This,pageReference)
   3907 #else
   3908 /*** IUnknown methods ***/
   3909 static inline HRESULT IXpsOMPageReferenceCollection_QueryInterface(IXpsOMPageReferenceCollection* This,REFIID riid,void **ppvObject) {
   3910     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3911 }
   3912 static inline ULONG IXpsOMPageReferenceCollection_AddRef(IXpsOMPageReferenceCollection* This) {
   3913     return This->lpVtbl->AddRef(This);
   3914 }
   3915 static inline ULONG IXpsOMPageReferenceCollection_Release(IXpsOMPageReferenceCollection* This) {
   3916     return This->lpVtbl->Release(This);
   3917 }
   3918 /*** IXpsOMPageReferenceCollection methods ***/
   3919 static inline HRESULT IXpsOMPageReferenceCollection_GetCount(IXpsOMPageReferenceCollection* This,UINT32 *count) {
   3920     return This->lpVtbl->GetCount(This,count);
   3921 }
   3922 static inline HRESULT IXpsOMPageReferenceCollection_GetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference **pageReference) {
   3923     return This->lpVtbl->GetAt(This,index,pageReference);
   3924 }
   3925 static inline HRESULT IXpsOMPageReferenceCollection_InsertAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
   3926     return This->lpVtbl->InsertAt(This,index,pageReference);
   3927 }
   3928 static inline HRESULT IXpsOMPageReferenceCollection_RemoveAt(IXpsOMPageReferenceCollection* This,UINT32 index) {
   3929     return This->lpVtbl->RemoveAt(This,index);
   3930 }
   3931 static inline HRESULT IXpsOMPageReferenceCollection_SetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
   3932     return This->lpVtbl->SetAt(This,index,pageReference);
   3933 }
   3934 static inline HRESULT IXpsOMPageReferenceCollection_Append(IXpsOMPageReferenceCollection* This,IXpsOMPageReference *pageReference) {
   3935     return This->lpVtbl->Append(This,pageReference);
   3936 }
   3937 #endif
   3938 #endif
   3939 
   3940 #endif
   3941 
   3942 
   3943 #endif  /* __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__ */
   3944 
   3945 /*****************************************************************************
   3946  * IXpsOMDocumentCollection interface
   3947  */
   3948 #ifndef __IXpsOMDocumentCollection_INTERFACE_DEFINED__
   3949 #define __IXpsOMDocumentCollection_INTERFACE_DEFINED__
   3950 
   3951 DEFINE_GUID(IID_IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e);
   3952 #if defined(__cplusplus) && !defined(CINTERFACE)
   3953 MIDL_INTERFACE("d1c87f0d-e947-4754-8a25-971478f7e83e")
   3954 IXpsOMDocumentCollection : public IUnknown
   3955 {
   3956     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3957         UINT32 *count) = 0;
   3958 
   3959     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3960         UINT32 index,
   3961         IXpsOMDocument **document) = 0;
   3962 
   3963     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3964         UINT32 index,
   3965         IXpsOMDocument *document) = 0;
   3966 
   3967     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3968         UINT32 index) = 0;
   3969 
   3970     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3971         UINT32 index,
   3972         IXpsOMDocument *document) = 0;
   3973 
   3974     virtual HRESULT STDMETHODCALLTYPE Append(
   3975         IXpsOMDocument *document) = 0;
   3976 
   3977 };
   3978 #ifdef __CRT_UUID_DECL
   3979 __CRT_UUID_DECL(IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e)
   3980 #endif
   3981 #else
   3982 typedef struct IXpsOMDocumentCollectionVtbl {
   3983     BEGIN_INTERFACE
   3984 
   3985     /*** IUnknown methods ***/
   3986     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3987         IXpsOMDocumentCollection *This,
   3988         REFIID riid,
   3989         void **ppvObject);
   3990 
   3991     ULONG (STDMETHODCALLTYPE *AddRef)(
   3992         IXpsOMDocumentCollection *This);
   3993 
   3994     ULONG (STDMETHODCALLTYPE *Release)(
   3995         IXpsOMDocumentCollection *This);
   3996 
   3997     /*** IXpsOMDocumentCollection methods ***/
   3998     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3999         IXpsOMDocumentCollection *This,
   4000         UINT32 *count);
   4001 
   4002     HRESULT (STDMETHODCALLTYPE *GetAt)(
   4003         IXpsOMDocumentCollection *This,
   4004         UINT32 index,
   4005         IXpsOMDocument **document);
   4006 
   4007     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   4008         IXpsOMDocumentCollection *This,
   4009         UINT32 index,
   4010         IXpsOMDocument *document);
   4011 
   4012     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   4013         IXpsOMDocumentCollection *This,
   4014         UINT32 index);
   4015 
   4016     HRESULT (STDMETHODCALLTYPE *SetAt)(
   4017         IXpsOMDocumentCollection *This,
   4018         UINT32 index,
   4019         IXpsOMDocument *document);
   4020 
   4021     HRESULT (STDMETHODCALLTYPE *Append)(
   4022         IXpsOMDocumentCollection *This,
   4023         IXpsOMDocument *document);
   4024 
   4025     END_INTERFACE
   4026 } IXpsOMDocumentCollectionVtbl;
   4027 
   4028 interface IXpsOMDocumentCollection {
   4029     CONST_VTBL IXpsOMDocumentCollectionVtbl* lpVtbl;
   4030 };
   4031 
   4032 #ifdef COBJMACROS
   4033 #ifndef WIDL_C_INLINE_WRAPPERS
   4034 /*** IUnknown methods ***/
   4035 #define IXpsOMDocumentCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4036 #define IXpsOMDocumentCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   4037 #define IXpsOMDocumentCollection_Release(This) (This)->lpVtbl->Release(This)
   4038 /*** IXpsOMDocumentCollection methods ***/
   4039 #define IXpsOMDocumentCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   4040 #define IXpsOMDocumentCollection_GetAt(This,index,document) (This)->lpVtbl->GetAt(This,index,document)
   4041 #define IXpsOMDocumentCollection_InsertAt(This,index,document) (This)->lpVtbl->InsertAt(This,index,document)
   4042 #define IXpsOMDocumentCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   4043 #define IXpsOMDocumentCollection_SetAt(This,index,document) (This)->lpVtbl->SetAt(This,index,document)
   4044 #define IXpsOMDocumentCollection_Append(This,document) (This)->lpVtbl->Append(This,document)
   4045 #else
   4046 /*** IUnknown methods ***/
   4047 static inline HRESULT IXpsOMDocumentCollection_QueryInterface(IXpsOMDocumentCollection* This,REFIID riid,void **ppvObject) {
   4048     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4049 }
   4050 static inline ULONG IXpsOMDocumentCollection_AddRef(IXpsOMDocumentCollection* This) {
   4051     return This->lpVtbl->AddRef(This);
   4052 }
   4053 static inline ULONG IXpsOMDocumentCollection_Release(IXpsOMDocumentCollection* This) {
   4054     return This->lpVtbl->Release(This);
   4055 }
   4056 /*** IXpsOMDocumentCollection methods ***/
   4057 static inline HRESULT IXpsOMDocumentCollection_GetCount(IXpsOMDocumentCollection* This,UINT32 *count) {
   4058     return This->lpVtbl->GetCount(This,count);
   4059 }
   4060 static inline HRESULT IXpsOMDocumentCollection_GetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument **document) {
   4061     return This->lpVtbl->GetAt(This,index,document);
   4062 }
   4063 static inline HRESULT IXpsOMDocumentCollection_InsertAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
   4064     return This->lpVtbl->InsertAt(This,index,document);
   4065 }
   4066 static inline HRESULT IXpsOMDocumentCollection_RemoveAt(IXpsOMDocumentCollection* This,UINT32 index) {
   4067     return This->lpVtbl->RemoveAt(This,index);
   4068 }
   4069 static inline HRESULT IXpsOMDocumentCollection_SetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
   4070     return This->lpVtbl->SetAt(This,index,document);
   4071 }
   4072 static inline HRESULT IXpsOMDocumentCollection_Append(IXpsOMDocumentCollection* This,IXpsOMDocument *document) {
   4073     return This->lpVtbl->Append(This,document);
   4074 }
   4075 #endif
   4076 #endif
   4077 
   4078 #endif
   4079 
   4080 
   4081 #endif  /* __IXpsOMDocumentCollection_INTERFACE_DEFINED__ */
   4082 
   4083 /*****************************************************************************
   4084  * IXpsOMPackage interface
   4085  */
   4086 #ifndef __IXpsOMPackage_INTERFACE_DEFINED__
   4087 #define __IXpsOMPackage_INTERFACE_DEFINED__
   4088 
   4089 DEFINE_GUID(IID_IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f);
   4090 #if defined(__cplusplus) && !defined(CINTERFACE)
   4091 MIDL_INTERFACE("18c3df65-81e1-4674-91dc-fc452f5a416f")
   4092 IXpsOMPackage : public IUnknown
   4093 {
   4094     virtual HRESULT STDMETHODCALLTYPE GetDocumentSequence(
   4095         IXpsOMDocumentSequence **documentSequence) = 0;
   4096 
   4097     virtual HRESULT STDMETHODCALLTYPE SetDocumentSequence(
   4098         IXpsOMDocumentSequence *documentSequence) = 0;
   4099 
   4100     virtual HRESULT STDMETHODCALLTYPE GetCoreProperties(
   4101         IXpsOMCoreProperties **coreProperties) = 0;
   4102 
   4103     virtual HRESULT STDMETHODCALLTYPE SetCoreProperties(
   4104         IXpsOMCoreProperties *coreProperties) = 0;
   4105 
   4106     virtual HRESULT STDMETHODCALLTYPE GetDiscardControlPartName(
   4107         IOpcPartUri **discardControlPartUri) = 0;
   4108 
   4109     virtual HRESULT STDMETHODCALLTYPE SetDiscardControlPartName(
   4110         IOpcPartUri *discardControlPartUri) = 0;
   4111 
   4112     virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
   4113         IXpsOMImageResource **imageResource) = 0;
   4114 
   4115     virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
   4116         IXpsOMImageResource *imageResource) = 0;
   4117 
   4118     virtual HRESULT STDMETHODCALLTYPE WriteToFile(
   4119         LPCWSTR fileName,
   4120         LPSECURITY_ATTRIBUTES securityAttributes,
   4121         DWORD flagsAndAttributes,
   4122         WINBOOL optimizeMarkupSize) = 0;
   4123 
   4124     virtual HRESULT STDMETHODCALLTYPE WriteToStream(
   4125         ISequentialStream *stream,
   4126         WINBOOL optimizeMarkupSize) = 0;
   4127 
   4128 };
   4129 #ifdef __CRT_UUID_DECL
   4130 __CRT_UUID_DECL(IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f)
   4131 #endif
   4132 #else
   4133 typedef struct IXpsOMPackageVtbl {
   4134     BEGIN_INTERFACE
   4135 
   4136     /*** IUnknown methods ***/
   4137     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4138         IXpsOMPackage *This,
   4139         REFIID riid,
   4140         void **ppvObject);
   4141 
   4142     ULONG (STDMETHODCALLTYPE *AddRef)(
   4143         IXpsOMPackage *This);
   4144 
   4145     ULONG (STDMETHODCALLTYPE *Release)(
   4146         IXpsOMPackage *This);
   4147 
   4148     /*** IXpsOMPackage methods ***/
   4149     HRESULT (STDMETHODCALLTYPE *GetDocumentSequence)(
   4150         IXpsOMPackage *This,
   4151         IXpsOMDocumentSequence **documentSequence);
   4152 
   4153     HRESULT (STDMETHODCALLTYPE *SetDocumentSequence)(
   4154         IXpsOMPackage *This,
   4155         IXpsOMDocumentSequence *documentSequence);
   4156 
   4157     HRESULT (STDMETHODCALLTYPE *GetCoreProperties)(
   4158         IXpsOMPackage *This,
   4159         IXpsOMCoreProperties **coreProperties);
   4160 
   4161     HRESULT (STDMETHODCALLTYPE *SetCoreProperties)(
   4162         IXpsOMPackage *This,
   4163         IXpsOMCoreProperties *coreProperties);
   4164 
   4165     HRESULT (STDMETHODCALLTYPE *GetDiscardControlPartName)(
   4166         IXpsOMPackage *This,
   4167         IOpcPartUri **discardControlPartUri);
   4168 
   4169     HRESULT (STDMETHODCALLTYPE *SetDiscardControlPartName)(
   4170         IXpsOMPackage *This,
   4171         IOpcPartUri *discardControlPartUri);
   4172 
   4173     HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
   4174         IXpsOMPackage *This,
   4175         IXpsOMImageResource **imageResource);
   4176 
   4177     HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
   4178         IXpsOMPackage *This,
   4179         IXpsOMImageResource *imageResource);
   4180 
   4181     HRESULT (STDMETHODCALLTYPE *WriteToFile)(
   4182         IXpsOMPackage *This,
   4183         LPCWSTR fileName,
   4184         LPSECURITY_ATTRIBUTES securityAttributes,
   4185         DWORD flagsAndAttributes,
   4186         WINBOOL optimizeMarkupSize);
   4187 
   4188     HRESULT (STDMETHODCALLTYPE *WriteToStream)(
   4189         IXpsOMPackage *This,
   4190         ISequentialStream *stream,
   4191         WINBOOL optimizeMarkupSize);
   4192 
   4193     END_INTERFACE
   4194 } IXpsOMPackageVtbl;
   4195 
   4196 interface IXpsOMPackage {
   4197     CONST_VTBL IXpsOMPackageVtbl* lpVtbl;
   4198 };
   4199 
   4200 #ifdef COBJMACROS
   4201 #ifndef WIDL_C_INLINE_WRAPPERS
   4202 /*** IUnknown methods ***/
   4203 #define IXpsOMPackage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4204 #define IXpsOMPackage_AddRef(This) (This)->lpVtbl->AddRef(This)
   4205 #define IXpsOMPackage_Release(This) (This)->lpVtbl->Release(This)
   4206 /*** IXpsOMPackage methods ***/
   4207 #define IXpsOMPackage_GetDocumentSequence(This,documentSequence) (This)->lpVtbl->GetDocumentSequence(This,documentSequence)
   4208 #define IXpsOMPackage_SetDocumentSequence(This,documentSequence) (This)->lpVtbl->SetDocumentSequence(This,documentSequence)
   4209 #define IXpsOMPackage_GetCoreProperties(This,coreProperties) (This)->lpVtbl->GetCoreProperties(This,coreProperties)
   4210 #define IXpsOMPackage_SetCoreProperties(This,coreProperties) (This)->lpVtbl->SetCoreProperties(This,coreProperties)
   4211 #define IXpsOMPackage_GetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri)
   4212 #define IXpsOMPackage_SetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri)
   4213 #define IXpsOMPackage_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
   4214 #define IXpsOMPackage_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
   4215 #define IXpsOMPackage_WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) (This)->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize)
   4216 #define IXpsOMPackage_WriteToStream(This,stream,optimizeMarkupSize) (This)->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize)
   4217 #else
   4218 /*** IUnknown methods ***/
   4219 static inline HRESULT IXpsOMPackage_QueryInterface(IXpsOMPackage* This,REFIID riid,void **ppvObject) {
   4220     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4221 }
   4222 static inline ULONG IXpsOMPackage_AddRef(IXpsOMPackage* This) {
   4223     return This->lpVtbl->AddRef(This);
   4224 }
   4225 static inline ULONG IXpsOMPackage_Release(IXpsOMPackage* This) {
   4226     return This->lpVtbl->Release(This);
   4227 }
   4228 /*** IXpsOMPackage methods ***/
   4229 static inline HRESULT IXpsOMPackage_GetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence **documentSequence) {
   4230     return This->lpVtbl->GetDocumentSequence(This,documentSequence);
   4231 }
   4232 static inline HRESULT IXpsOMPackage_SetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence *documentSequence) {
   4233     return This->lpVtbl->SetDocumentSequence(This,documentSequence);
   4234 }
   4235 static inline HRESULT IXpsOMPackage_GetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties **coreProperties) {
   4236     return This->lpVtbl->GetCoreProperties(This,coreProperties);
   4237 }
   4238 static inline HRESULT IXpsOMPackage_SetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties *coreProperties) {
   4239     return This->lpVtbl->SetCoreProperties(This,coreProperties);
   4240 }
   4241 static inline HRESULT IXpsOMPackage_GetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri **discardControlPartUri) {
   4242     return This->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri);
   4243 }
   4244 static inline HRESULT IXpsOMPackage_SetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri *discardControlPartUri) {
   4245     return This->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri);
   4246 }
   4247 static inline HRESULT IXpsOMPackage_GetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource **imageResource) {
   4248     return This->lpVtbl->GetThumbnailResource(This,imageResource);
   4249 }
   4250 static inline HRESULT IXpsOMPackage_SetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource *imageResource) {
   4251     return This->lpVtbl->SetThumbnailResource(This,imageResource);
   4252 }
   4253 static inline HRESULT IXpsOMPackage_WriteToFile(IXpsOMPackage* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize) {
   4254     return This->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize);
   4255 }
   4256 static inline HRESULT IXpsOMPackage_WriteToStream(IXpsOMPackage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
   4257     return This->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize);
   4258 }
   4259 #endif
   4260 #endif
   4261 
   4262 #endif
   4263 
   4264 
   4265 #endif  /* __IXpsOMPackage_INTERFACE_DEFINED__ */
   4266 
   4267 /*****************************************************************************
   4268  * IXpsOMObjectFactory interface
   4269  */
   4270 #ifndef __IXpsOMObjectFactory_INTERFACE_DEFINED__
   4271 #define __IXpsOMObjectFactory_INTERFACE_DEFINED__
   4272 
   4273 DEFINE_GUID(IID_IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca);
   4274 #if defined(__cplusplus) && !defined(CINTERFACE)
   4275 MIDL_INTERFACE("f9b2a685-a50d-4fc2-b764-b56e093ea0ca")
   4276 IXpsOMObjectFactory : public IUnknown
   4277 {
   4278     virtual HRESULT STDMETHODCALLTYPE CreatePackage(
   4279         IXpsOMPackage **package) = 0;
   4280 
   4281     virtual HRESULT STDMETHODCALLTYPE CreatePackageFromFile(
   4282         LPCWSTR filename,
   4283         WINBOOL reuseObjects,
   4284         IXpsOMPackage **package) = 0;
   4285 
   4286     virtual HRESULT STDMETHODCALLTYPE CreatePackageFromStream(
   4287         IStream *stream,
   4288         WINBOOL reuseObjects,
   4289         IXpsOMPackage **package) = 0;
   4290 
   4291     virtual HRESULT STDMETHODCALLTYPE CreateStoryFragmentsResource(
   4292         IStream *acquiredStream,
   4293         IOpcPartUri *partUri,
   4294         IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
   4295 
   4296     virtual HRESULT STDMETHODCALLTYPE CreateDocumentStructureResource(
   4297         IStream *acquiredStream,
   4298         IOpcPartUri *partUri,
   4299         IXpsOMDocumentStructureResource **documentStructureResource) = 0;
   4300 
   4301     virtual HRESULT STDMETHODCALLTYPE CreateSignatureBlockResource(
   4302         IStream *acquiredStream,
   4303         IOpcPartUri *partUri,
   4304         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   4305 
   4306     virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResource(
   4307         IXpsOMDictionary *dictionary,
   4308         IOpcPartUri *partUri,
   4309         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   4310 
   4311     virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResourceFromStream(
   4312         IStream *dictionaryMarkupStream,
   4313         IOpcPartUri *dictionaryPartUri,
   4314         IXpsOMPartResources *resources,
   4315         IXpsOMRemoteDictionaryResource **dictionaryResource) = 0;
   4316 
   4317     virtual HRESULT STDMETHODCALLTYPE CreatePartResources(
   4318         IXpsOMPartResources **partResources) = 0;
   4319 
   4320     virtual HRESULT STDMETHODCALLTYPE CreateDocumentSequence(
   4321         IOpcPartUri *partUri,
   4322         IXpsOMDocumentSequence **documentSequence) = 0;
   4323 
   4324     virtual HRESULT STDMETHODCALLTYPE CreateDocument(
   4325         IOpcPartUri *partUri,
   4326         IXpsOMDocument **document) = 0;
   4327 
   4328     virtual HRESULT STDMETHODCALLTYPE CreatePageReference(
   4329         const XPS_SIZE *advisoryPageDimensions,
   4330         IXpsOMPageReference **pageReference) = 0;
   4331 
   4332     virtual HRESULT STDMETHODCALLTYPE CreatePage(
   4333         const XPS_SIZE *pageDimensions,
   4334         LPCWSTR language,
   4335         IOpcPartUri *partUri,
   4336         IXpsOMPage **page) = 0;
   4337 
   4338     virtual HRESULT STDMETHODCALLTYPE CreatePageFromStream(
   4339         IStream *pageMarkupStream,
   4340         IOpcPartUri *partUri,
   4341         IXpsOMPartResources *resources,
   4342         WINBOOL reuseObjects,
   4343         IXpsOMPage **page) = 0;
   4344 
   4345     virtual HRESULT STDMETHODCALLTYPE CreateCanvas(
   4346         IXpsOMCanvas **canvas) = 0;
   4347 
   4348     virtual HRESULT STDMETHODCALLTYPE CreateGlyphs(
   4349         IXpsOMFontResource *fontResource,
   4350         IXpsOMGlyphs **glyphs) = 0;
   4351 
   4352     virtual HRESULT STDMETHODCALLTYPE CreatePath(
   4353         IXpsOMPath **path) = 0;
   4354 
   4355     virtual HRESULT STDMETHODCALLTYPE CreateGeometry(
   4356         IXpsOMGeometry **geometry) = 0;
   4357 
   4358     virtual HRESULT STDMETHODCALLTYPE CreateGeometryFigure(
   4359         const XPS_POINT *startPoint,
   4360         IXpsOMGeometryFigure **figure) = 0;
   4361 
   4362     virtual HRESULT STDMETHODCALLTYPE CreateMatrixTransform(
   4363         const XPS_MATRIX *matrix,
   4364         IXpsOMMatrixTransform **transform) = 0;
   4365 
   4366     virtual HRESULT STDMETHODCALLTYPE CreateSolidColorBrush(
   4367         const XPS_COLOR *color,
   4368         IXpsOMColorProfileResource *colorProfile,
   4369         IXpsOMSolidColorBrush **solidColorBrush) = 0;
   4370 
   4371     virtual HRESULT STDMETHODCALLTYPE CreateColorProfileResource(
   4372         IStream *acquiredStream,
   4373         IOpcPartUri *partUri,
   4374         IXpsOMColorProfileResource **colorProfileResource) = 0;
   4375 
   4376     virtual HRESULT STDMETHODCALLTYPE CreateImageBrush(
   4377         IXpsOMImageResource *image,
   4378         const XPS_RECT *viewBox,
   4379         const XPS_RECT *viewPort,
   4380         IXpsOMImageBrush **imageBrush) = 0;
   4381 
   4382     virtual HRESULT STDMETHODCALLTYPE CreateVisualBrush(
   4383         const XPS_RECT *viewBox,
   4384         const XPS_RECT *viewPort,
   4385         IXpsOMVisualBrush **visualBrush) = 0;
   4386 
   4387     virtual HRESULT STDMETHODCALLTYPE CreateImageResource(
   4388         IStream *acquiredStream,
   4389         XPS_IMAGE_TYPE contentType,
   4390         IOpcPartUri *partUri,
   4391         IXpsOMImageResource **imageResource) = 0;
   4392 
   4393     virtual HRESULT STDMETHODCALLTYPE CreatePrintTicketResource(
   4394         IStream *acquiredStream,
   4395         IOpcPartUri *partUri,
   4396         IXpsOMPrintTicketResource **printTicketResource) = 0;
   4397 
   4398     virtual HRESULT STDMETHODCALLTYPE CreateFontResource(
   4399         IStream *acquiredStream,
   4400         XPS_FONT_EMBEDDING fontEmbedding,
   4401         IOpcPartUri *partUri,
   4402         WINBOOL isObfSourceStream,
   4403         IXpsOMFontResource **fontResource) = 0;
   4404 
   4405     virtual HRESULT STDMETHODCALLTYPE CreateGradientStop(
   4406         const XPS_COLOR *color,
   4407         IXpsOMColorProfileResource *colorProfile,
   4408         FLOAT offset,
   4409         IXpsOMGradientStop **gradientStop) = 0;
   4410 
   4411     virtual HRESULT STDMETHODCALLTYPE CreateLinearGradientBrush(
   4412         IXpsOMGradientStop *gradStop1,
   4413         IXpsOMGradientStop *gradStop2,
   4414         const XPS_POINT *startPoint,
   4415         const XPS_POINT *endPoint,
   4416         IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
   4417 
   4418     virtual HRESULT STDMETHODCALLTYPE CreateRadialGradientBrush(
   4419         IXpsOMGradientStop *gradStop1,
   4420         IXpsOMGradientStop *gradStop2,
   4421         const XPS_POINT *centerPoint,
   4422         const XPS_POINT *gradientOrigin,
   4423         const XPS_SIZE *radiiSizes,
   4424         IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
   4425 
   4426     virtual HRESULT STDMETHODCALLTYPE CreateCoreProperties(
   4427         IOpcPartUri *partUri,
   4428         IXpsOMCoreProperties **coreProperties) = 0;
   4429 
   4430     virtual HRESULT STDMETHODCALLTYPE CreateDictionary(
   4431         IXpsOMDictionary **dictionary) = 0;
   4432 
   4433     virtual HRESULT STDMETHODCALLTYPE CreatePartUriCollection(
   4434         IXpsOMPartUriCollection **partUriCollection) = 0;
   4435 
   4436     virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnFile(
   4437         LPCWSTR fileName,
   4438         LPSECURITY_ATTRIBUTES securityAttributes,
   4439         DWORD flagsAndAttributes,
   4440         WINBOOL optimizeMarkupSize,
   4441         XPS_INTERLEAVING interleaving,
   4442         IOpcPartUri *documentSequencePartName,
   4443         IXpsOMCoreProperties *coreProperties,
   4444         IXpsOMImageResource *packageThumbnail,
   4445         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   4446         IOpcPartUri *discardControlPartName,
   4447         IXpsOMPackageWriter **packageWriter) = 0;
   4448 
   4449     virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnStream(
   4450         ISequentialStream *outputStream,
   4451         WINBOOL optimizeMarkupSize,
   4452         XPS_INTERLEAVING interleaving,
   4453         IOpcPartUri *documentSequencePartName,
   4454         IXpsOMCoreProperties *coreProperties,
   4455         IXpsOMImageResource *packageThumbnail,
   4456         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   4457         IOpcPartUri *discardControlPartName,
   4458         IXpsOMPackageWriter **packageWriter) = 0;
   4459 
   4460     virtual HRESULT STDMETHODCALLTYPE CreatePartUri(
   4461         LPCWSTR uri,
   4462         IOpcPartUri **partUri) = 0;
   4463 
   4464     virtual HRESULT STDMETHODCALLTYPE CreateReadOnlyStreamOnFile(
   4465         LPCWSTR filename,
   4466         IStream **stream) = 0;
   4467 
   4468 };
   4469 #ifdef __CRT_UUID_DECL
   4470 __CRT_UUID_DECL(IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca)
   4471 #endif
   4472 #else
   4473 typedef struct IXpsOMObjectFactoryVtbl {
   4474     BEGIN_INTERFACE
   4475 
   4476     /*** IUnknown methods ***/
   4477     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4478         IXpsOMObjectFactory *This,
   4479         REFIID riid,
   4480         void **ppvObject);
   4481 
   4482     ULONG (STDMETHODCALLTYPE *AddRef)(
   4483         IXpsOMObjectFactory *This);
   4484 
   4485     ULONG (STDMETHODCALLTYPE *Release)(
   4486         IXpsOMObjectFactory *This);
   4487 
   4488     /*** IXpsOMObjectFactory methods ***/
   4489     HRESULT (STDMETHODCALLTYPE *CreatePackage)(
   4490         IXpsOMObjectFactory *This,
   4491         IXpsOMPackage **package);
   4492 
   4493     HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile)(
   4494         IXpsOMObjectFactory *This,
   4495         LPCWSTR filename,
   4496         WINBOOL reuseObjects,
   4497         IXpsOMPackage **package);
   4498 
   4499     HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream)(
   4500         IXpsOMObjectFactory *This,
   4501         IStream *stream,
   4502         WINBOOL reuseObjects,
   4503         IXpsOMPackage **package);
   4504 
   4505     HRESULT (STDMETHODCALLTYPE *CreateStoryFragmentsResource)(
   4506         IXpsOMObjectFactory *This,
   4507         IStream *acquiredStream,
   4508         IOpcPartUri *partUri,
   4509         IXpsOMStoryFragmentsResource **storyFragmentsResource);
   4510 
   4511     HRESULT (STDMETHODCALLTYPE *CreateDocumentStructureResource)(
   4512         IXpsOMObjectFactory *This,
   4513         IStream *acquiredStream,
   4514         IOpcPartUri *partUri,
   4515         IXpsOMDocumentStructureResource **documentStructureResource);
   4516 
   4517     HRESULT (STDMETHODCALLTYPE *CreateSignatureBlockResource)(
   4518         IXpsOMObjectFactory *This,
   4519         IStream *acquiredStream,
   4520         IOpcPartUri *partUri,
   4521         IXpsOMSignatureBlockResource **signatureBlockResource);
   4522 
   4523     HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResource)(
   4524         IXpsOMObjectFactory *This,
   4525         IXpsOMDictionary *dictionary,
   4526         IOpcPartUri *partUri,
   4527         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   4528 
   4529     HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream)(
   4530         IXpsOMObjectFactory *This,
   4531         IStream *dictionaryMarkupStream,
   4532         IOpcPartUri *dictionaryPartUri,
   4533         IXpsOMPartResources *resources,
   4534         IXpsOMRemoteDictionaryResource **dictionaryResource);
   4535 
   4536     HRESULT (STDMETHODCALLTYPE *CreatePartResources)(
   4537         IXpsOMObjectFactory *This,
   4538         IXpsOMPartResources **partResources);
   4539 
   4540     HRESULT (STDMETHODCALLTYPE *CreateDocumentSequence)(
   4541         IXpsOMObjectFactory *This,
   4542         IOpcPartUri *partUri,
   4543         IXpsOMDocumentSequence **documentSequence);
   4544 
   4545     HRESULT (STDMETHODCALLTYPE *CreateDocument)(
   4546         IXpsOMObjectFactory *This,
   4547         IOpcPartUri *partUri,
   4548         IXpsOMDocument **document);
   4549 
   4550     HRESULT (STDMETHODCALLTYPE *CreatePageReference)(
   4551         IXpsOMObjectFactory *This,
   4552         const XPS_SIZE *advisoryPageDimensions,
   4553         IXpsOMPageReference **pageReference);
   4554 
   4555     HRESULT (STDMETHODCALLTYPE *CreatePage)(
   4556         IXpsOMObjectFactory *This,
   4557         const XPS_SIZE *pageDimensions,
   4558         LPCWSTR language,
   4559         IOpcPartUri *partUri,
   4560         IXpsOMPage **page);
   4561 
   4562     HRESULT (STDMETHODCALLTYPE *CreatePageFromStream)(
   4563         IXpsOMObjectFactory *This,
   4564         IStream *pageMarkupStream,
   4565         IOpcPartUri *partUri,
   4566         IXpsOMPartResources *resources,
   4567         WINBOOL reuseObjects,
   4568         IXpsOMPage **page);
   4569 
   4570     HRESULT (STDMETHODCALLTYPE *CreateCanvas)(
   4571         IXpsOMObjectFactory *This,
   4572         IXpsOMCanvas **canvas);
   4573 
   4574     HRESULT (STDMETHODCALLTYPE *CreateGlyphs)(
   4575         IXpsOMObjectFactory *This,
   4576         IXpsOMFontResource *fontResource,
   4577         IXpsOMGlyphs **glyphs);
   4578 
   4579     HRESULT (STDMETHODCALLTYPE *CreatePath)(
   4580         IXpsOMObjectFactory *This,
   4581         IXpsOMPath **path);
   4582 
   4583     HRESULT (STDMETHODCALLTYPE *CreateGeometry)(
   4584         IXpsOMObjectFactory *This,
   4585         IXpsOMGeometry **geometry);
   4586 
   4587     HRESULT (STDMETHODCALLTYPE *CreateGeometryFigure)(
   4588         IXpsOMObjectFactory *This,
   4589         const XPS_POINT *startPoint,
   4590         IXpsOMGeometryFigure **figure);
   4591 
   4592     HRESULT (STDMETHODCALLTYPE *CreateMatrixTransform)(
   4593         IXpsOMObjectFactory *This,
   4594         const XPS_MATRIX *matrix,
   4595         IXpsOMMatrixTransform **transform);
   4596 
   4597     HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)(
   4598         IXpsOMObjectFactory *This,
   4599         const XPS_COLOR *color,
   4600         IXpsOMColorProfileResource *colorProfile,
   4601         IXpsOMSolidColorBrush **solidColorBrush);
   4602 
   4603     HRESULT (STDMETHODCALLTYPE *CreateColorProfileResource)(
   4604         IXpsOMObjectFactory *This,
   4605         IStream *acquiredStream,
   4606         IOpcPartUri *partUri,
   4607         IXpsOMColorProfileResource **colorProfileResource);
   4608 
   4609     HRESULT (STDMETHODCALLTYPE *CreateImageBrush)(
   4610         IXpsOMObjectFactory *This,
   4611         IXpsOMImageResource *image,
   4612         const XPS_RECT *viewBox,
   4613         const XPS_RECT *viewPort,
   4614         IXpsOMImageBrush **imageBrush);
   4615 
   4616     HRESULT (STDMETHODCALLTYPE *CreateVisualBrush)(
   4617         IXpsOMObjectFactory *This,
   4618         const XPS_RECT *viewBox,
   4619         const XPS_RECT *viewPort,
   4620         IXpsOMVisualBrush **visualBrush);
   4621 
   4622     HRESULT (STDMETHODCALLTYPE *CreateImageResource)(
   4623         IXpsOMObjectFactory *This,
   4624         IStream *acquiredStream,
   4625         XPS_IMAGE_TYPE contentType,
   4626         IOpcPartUri *partUri,
   4627         IXpsOMImageResource **imageResource);
   4628 
   4629     HRESULT (STDMETHODCALLTYPE *CreatePrintTicketResource)(
   4630         IXpsOMObjectFactory *This,
   4631         IStream *acquiredStream,
   4632         IOpcPartUri *partUri,
   4633         IXpsOMPrintTicketResource **printTicketResource);
   4634 
   4635     HRESULT (STDMETHODCALLTYPE *CreateFontResource)(
   4636         IXpsOMObjectFactory *This,
   4637         IStream *acquiredStream,
   4638         XPS_FONT_EMBEDDING fontEmbedding,
   4639         IOpcPartUri *partUri,
   4640         WINBOOL isObfSourceStream,
   4641         IXpsOMFontResource **fontResource);
   4642 
   4643     HRESULT (STDMETHODCALLTYPE *CreateGradientStop)(
   4644         IXpsOMObjectFactory *This,
   4645         const XPS_COLOR *color,
   4646         IXpsOMColorProfileResource *colorProfile,
   4647         FLOAT offset,
   4648         IXpsOMGradientStop **gradientStop);
   4649 
   4650     HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)(
   4651         IXpsOMObjectFactory *This,
   4652         IXpsOMGradientStop *gradStop1,
   4653         IXpsOMGradientStop *gradStop2,
   4654         const XPS_POINT *startPoint,
   4655         const XPS_POINT *endPoint,
   4656         IXpsOMLinearGradientBrush **linearGradientBrush);
   4657 
   4658     HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)(
   4659         IXpsOMObjectFactory *This,
   4660         IXpsOMGradientStop *gradStop1,
   4661         IXpsOMGradientStop *gradStop2,
   4662         const XPS_POINT *centerPoint,
   4663         const XPS_POINT *gradientOrigin,
   4664         const XPS_SIZE *radiiSizes,
   4665         IXpsOMRadialGradientBrush **radialGradientBrush);
   4666 
   4667     HRESULT (STDMETHODCALLTYPE *CreateCoreProperties)(
   4668         IXpsOMObjectFactory *This,
   4669         IOpcPartUri *partUri,
   4670         IXpsOMCoreProperties **coreProperties);
   4671 
   4672     HRESULT (STDMETHODCALLTYPE *CreateDictionary)(
   4673         IXpsOMObjectFactory *This,
   4674         IXpsOMDictionary **dictionary);
   4675 
   4676     HRESULT (STDMETHODCALLTYPE *CreatePartUriCollection)(
   4677         IXpsOMObjectFactory *This,
   4678         IXpsOMPartUriCollection **partUriCollection);
   4679 
   4680     HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile)(
   4681         IXpsOMObjectFactory *This,
   4682         LPCWSTR fileName,
   4683         LPSECURITY_ATTRIBUTES securityAttributes,
   4684         DWORD flagsAndAttributes,
   4685         WINBOOL optimizeMarkupSize,
   4686         XPS_INTERLEAVING interleaving,
   4687         IOpcPartUri *documentSequencePartName,
   4688         IXpsOMCoreProperties *coreProperties,
   4689         IXpsOMImageResource *packageThumbnail,
   4690         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   4691         IOpcPartUri *discardControlPartName,
   4692         IXpsOMPackageWriter **packageWriter);
   4693 
   4694     HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream)(
   4695         IXpsOMObjectFactory *This,
   4696         ISequentialStream *outputStream,
   4697         WINBOOL optimizeMarkupSize,
   4698         XPS_INTERLEAVING interleaving,
   4699         IOpcPartUri *documentSequencePartName,
   4700         IXpsOMCoreProperties *coreProperties,
   4701         IXpsOMImageResource *packageThumbnail,
   4702         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   4703         IOpcPartUri *discardControlPartName,
   4704         IXpsOMPackageWriter **packageWriter);
   4705 
   4706     HRESULT (STDMETHODCALLTYPE *CreatePartUri)(
   4707         IXpsOMObjectFactory *This,
   4708         LPCWSTR uri,
   4709         IOpcPartUri **partUri);
   4710 
   4711     HRESULT (STDMETHODCALLTYPE *CreateReadOnlyStreamOnFile)(
   4712         IXpsOMObjectFactory *This,
   4713         LPCWSTR filename,
   4714         IStream **stream);
   4715 
   4716     END_INTERFACE
   4717 } IXpsOMObjectFactoryVtbl;
   4718 
   4719 interface IXpsOMObjectFactory {
   4720     CONST_VTBL IXpsOMObjectFactoryVtbl* lpVtbl;
   4721 };
   4722 
   4723 #ifdef COBJMACROS
   4724 #ifndef WIDL_C_INLINE_WRAPPERS
   4725 /*** IUnknown methods ***/
   4726 #define IXpsOMObjectFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4727 #define IXpsOMObjectFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
   4728 #define IXpsOMObjectFactory_Release(This) (This)->lpVtbl->Release(This)
   4729 /*** IXpsOMObjectFactory methods ***/
   4730 #define IXpsOMObjectFactory_CreatePackage(This,package) (This)->lpVtbl->CreatePackage(This,package)
   4731 #define IXpsOMObjectFactory_CreatePackageFromFile(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package)
   4732 #define IXpsOMObjectFactory_CreatePackageFromStream(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package)
   4733 #define IXpsOMObjectFactory_CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) (This)->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource)
   4734 #define IXpsOMObjectFactory_CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) (This)->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource)
   4735 #define IXpsOMObjectFactory_CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) (This)->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource)
   4736 #define IXpsOMObjectFactory_CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource)
   4737 #define IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource)
   4738 #define IXpsOMObjectFactory_CreatePartResources(This,partResources) (This)->lpVtbl->CreatePartResources(This,partResources)
   4739 #define IXpsOMObjectFactory_CreateDocumentSequence(This,partUri,documentSequence) (This)->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence)
   4740 #define IXpsOMObjectFactory_CreateDocument(This,partUri,document) (This)->lpVtbl->CreateDocument(This,partUri,document)
   4741 #define IXpsOMObjectFactory_CreatePageReference(This,advisoryPageDimensions,pageReference) (This)->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference)
   4742 #define IXpsOMObjectFactory_CreatePage(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page)
   4743 #define IXpsOMObjectFactory_CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page)
   4744 #define IXpsOMObjectFactory_CreateCanvas(This,canvas) (This)->lpVtbl->CreateCanvas(This,canvas)
   4745 #define IXpsOMObjectFactory_CreateGlyphs(This,fontResource,glyphs) (This)->lpVtbl->CreateGlyphs(This,fontResource,glyphs)
   4746 #define IXpsOMObjectFactory_CreatePath(This,path) (This)->lpVtbl->CreatePath(This,path)
   4747 #define IXpsOMObjectFactory_CreateGeometry(This,geometry) (This)->lpVtbl->CreateGeometry(This,geometry)
   4748 #define IXpsOMObjectFactory_CreateGeometryFigure(This,startPoint,figure) (This)->lpVtbl->CreateGeometryFigure(This,startPoint,figure)
   4749 #define IXpsOMObjectFactory_CreateMatrixTransform(This,matrix,transform) (This)->lpVtbl->CreateMatrixTransform(This,matrix,transform)
   4750 #define IXpsOMObjectFactory_CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) (This)->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush)
   4751 #define IXpsOMObjectFactory_CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) (This)->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource)
   4752 #define IXpsOMObjectFactory_CreateImageBrush(This,image,viewBox,viewPort,imageBrush) (This)->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush)
   4753 #define IXpsOMObjectFactory_CreateVisualBrush(This,viewBox,viewPort,visualBrush) (This)->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush)
   4754 #define IXpsOMObjectFactory_CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) (This)->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource)
   4755 #define IXpsOMObjectFactory_CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) (This)->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource)
   4756 #define IXpsOMObjectFactory_CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) (This)->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource)
   4757 #define IXpsOMObjectFactory_CreateGradientStop(This,color,colorProfile,offset,gradientStop) (This)->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop)
   4758 #define IXpsOMObjectFactory_CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush)
   4759 #define IXpsOMObjectFactory_CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush)
   4760 #define IXpsOMObjectFactory_CreateCoreProperties(This,partUri,coreProperties) (This)->lpVtbl->CreateCoreProperties(This,partUri,coreProperties)
   4761 #define IXpsOMObjectFactory_CreateDictionary(This,dictionary) (This)->lpVtbl->CreateDictionary(This,dictionary)
   4762 #define IXpsOMObjectFactory_CreatePartUriCollection(This,partUriCollection) (This)->lpVtbl->CreatePartUriCollection(This,partUriCollection)
   4763 #define IXpsOMObjectFactory_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)
   4764 #define IXpsOMObjectFactory_CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter)
   4765 #define IXpsOMObjectFactory_CreatePartUri(This,uri,partUri) (This)->lpVtbl->CreatePartUri(This,uri,partUri)
   4766 #define IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(This,filename,stream) (This)->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream)
   4767 #else
   4768 /*** IUnknown methods ***/
   4769 static inline HRESULT IXpsOMObjectFactory_QueryInterface(IXpsOMObjectFactory* This,REFIID riid,void **ppvObject) {
   4770     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4771 }
   4772 static inline ULONG IXpsOMObjectFactory_AddRef(IXpsOMObjectFactory* This) {
   4773     return This->lpVtbl->AddRef(This);
   4774 }
   4775 static inline ULONG IXpsOMObjectFactory_Release(IXpsOMObjectFactory* This) {
   4776     return This->lpVtbl->Release(This);
   4777 }
   4778 /*** IXpsOMObjectFactory methods ***/
   4779 static inline HRESULT IXpsOMObjectFactory_CreatePackage(IXpsOMObjectFactory* This,IXpsOMPackage **package) {
   4780     return This->lpVtbl->CreatePackage(This,package);
   4781 }
   4782 static inline HRESULT IXpsOMObjectFactory_CreatePackageFromFile(IXpsOMObjectFactory* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage **package) {
   4783     return This->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package);
   4784 }
   4785 static inline HRESULT IXpsOMObjectFactory_CreatePackageFromStream(IXpsOMObjectFactory* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage **package) {
   4786     return This->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package);
   4787 }
   4788 static inline HRESULT IXpsOMObjectFactory_CreateStoryFragmentsResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
   4789     return This->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource);
   4790 }
   4791 static inline HRESULT IXpsOMObjectFactory_CreateDocumentStructureResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMDocumentStructureResource **documentStructureResource) {
   4792     return This->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource);
   4793 }
   4794 static inline HRESULT IXpsOMObjectFactory_CreateSignatureBlockResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMSignatureBlockResource **signatureBlockResource) {
   4795     return This->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource);
   4796 }
   4797 static inline HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResource(IXpsOMObjectFactory* This,IXpsOMDictionary *dictionary,IOpcPartUri *partUri,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   4798     return This->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource);
   4799 }
   4800 static inline HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(IXpsOMObjectFactory* This,IStream *dictionaryMarkupStream,IOpcPartUri *dictionaryPartUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) {
   4801     return This->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource);
   4802 }
   4803 static inline HRESULT IXpsOMObjectFactory_CreatePartResources(IXpsOMObjectFactory* This,IXpsOMPartResources **partResources) {
   4804     return This->lpVtbl->CreatePartResources(This,partResources);
   4805 }
   4806 static inline HRESULT IXpsOMObjectFactory_CreateDocumentSequence(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocumentSequence **documentSequence) {
   4807     return This->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence);
   4808 }
   4809 static inline HRESULT IXpsOMObjectFactory_CreateDocument(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocument **document) {
   4810     return This->lpVtbl->CreateDocument(This,partUri,document);
   4811 }
   4812 static inline HRESULT IXpsOMObjectFactory_CreatePageReference(IXpsOMObjectFactory* This,const XPS_SIZE *advisoryPageDimensions,IXpsOMPageReference **pageReference) {
   4813     return This->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference);
   4814 }
   4815 static inline HRESULT IXpsOMObjectFactory_CreatePage(IXpsOMObjectFactory* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage **page) {
   4816     return This->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page);
   4817 }
   4818 static inline HRESULT IXpsOMObjectFactory_CreatePageFromStream(IXpsOMObjectFactory* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage **page) {
   4819     return This->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page);
   4820 }
   4821 static inline HRESULT IXpsOMObjectFactory_CreateCanvas(IXpsOMObjectFactory* This,IXpsOMCanvas **canvas) {
   4822     return This->lpVtbl->CreateCanvas(This,canvas);
   4823 }
   4824 static inline HRESULT IXpsOMObjectFactory_CreateGlyphs(IXpsOMObjectFactory* This,IXpsOMFontResource *fontResource,IXpsOMGlyphs **glyphs) {
   4825     return This->lpVtbl->CreateGlyphs(This,fontResource,glyphs);
   4826 }
   4827 static inline HRESULT IXpsOMObjectFactory_CreatePath(IXpsOMObjectFactory* This,IXpsOMPath **path) {
   4828     return This->lpVtbl->CreatePath(This,path);
   4829 }
   4830 static inline HRESULT IXpsOMObjectFactory_CreateGeometry(IXpsOMObjectFactory* This,IXpsOMGeometry **geometry) {
   4831     return This->lpVtbl->CreateGeometry(This,geometry);
   4832 }
   4833 static inline HRESULT IXpsOMObjectFactory_CreateGeometryFigure(IXpsOMObjectFactory* This,const XPS_POINT *startPoint,IXpsOMGeometryFigure **figure) {
   4834     return This->lpVtbl->CreateGeometryFigure(This,startPoint,figure);
   4835 }
   4836 static inline HRESULT IXpsOMObjectFactory_CreateMatrixTransform(IXpsOMObjectFactory* This,const XPS_MATRIX *matrix,IXpsOMMatrixTransform **transform) {
   4837     return This->lpVtbl->CreateMatrixTransform(This,matrix,transform);
   4838 }
   4839 static inline HRESULT IXpsOMObjectFactory_CreateSolidColorBrush(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,IXpsOMSolidColorBrush **solidColorBrush) {
   4840     return This->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush);
   4841 }
   4842 static inline HRESULT IXpsOMObjectFactory_CreateColorProfileResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMColorProfileResource **colorProfileResource) {
   4843     return This->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource);
   4844 }
   4845 static inline HRESULT IXpsOMObjectFactory_CreateImageBrush(IXpsOMObjectFactory* This,IXpsOMImageResource *image,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMImageBrush **imageBrush) {
   4846     return This->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush);
   4847 }
   4848 static inline HRESULT IXpsOMObjectFactory_CreateVisualBrush(IXpsOMObjectFactory* This,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMVisualBrush **visualBrush) {
   4849     return This->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush);
   4850 }
   4851 static inline HRESULT IXpsOMObjectFactory_CreateImageResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_IMAGE_TYPE contentType,IOpcPartUri *partUri,IXpsOMImageResource **imageResource) {
   4852     return This->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource);
   4853 }
   4854 static inline HRESULT IXpsOMObjectFactory_CreatePrintTicketResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMPrintTicketResource **printTicketResource) {
   4855     return This->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource);
   4856 }
   4857 static inline HRESULT IXpsOMObjectFactory_CreateFontResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_FONT_EMBEDDING fontEmbedding,IOpcPartUri *partUri,WINBOOL isObfSourceStream,IXpsOMFontResource **fontResource) {
   4858     return This->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource);
   4859 }
   4860 static inline HRESULT IXpsOMObjectFactory_CreateGradientStop(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,FLOAT offset,IXpsOMGradientStop **gradientStop) {
   4861     return This->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop);
   4862 }
   4863 static inline HRESULT IXpsOMObjectFactory_CreateLinearGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *startPoint,const XPS_POINT *endPoint,IXpsOMLinearGradientBrush **linearGradientBrush) {
   4864     return This->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush);
   4865 }
   4866 static inline HRESULT IXpsOMObjectFactory_CreateRadialGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *centerPoint,const XPS_POINT *gradientOrigin,const XPS_SIZE *radiiSizes,IXpsOMRadialGradientBrush **radialGradientBrush) {
   4867     return This->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush);
   4868 }
   4869 static inline HRESULT IXpsOMObjectFactory_CreateCoreProperties(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMCoreProperties **coreProperties) {
   4870     return This->lpVtbl->CreateCoreProperties(This,partUri,coreProperties);
   4871 }
   4872 static inline HRESULT IXpsOMObjectFactory_CreateDictionary(IXpsOMObjectFactory* This,IXpsOMDictionary **dictionary) {
   4873     return This->lpVtbl->CreateDictionary(This,dictionary);
   4874 }
   4875 static inline HRESULT IXpsOMObjectFactory_CreatePartUriCollection(IXpsOMObjectFactory* This,IXpsOMPartUriCollection **partUriCollection) {
   4876     return This->lpVtbl->CreatePartUriCollection(This,partUriCollection);
   4877 }
   4878 static inline HRESULT IXpsOMObjectFactory_CreatePackageWriterOnFile(IXpsOMObjectFactory* 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) {
   4879     return This->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
   4880 }
   4881 static inline HRESULT IXpsOMObjectFactory_CreatePackageWriterOnStream(IXpsOMObjectFactory* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
   4882     return This->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
   4883 }
   4884 static inline HRESULT IXpsOMObjectFactory_CreatePartUri(IXpsOMObjectFactory* This,LPCWSTR uri,IOpcPartUri **partUri) {
   4885     return This->lpVtbl->CreatePartUri(This,uri,partUri);
   4886 }
   4887 static inline HRESULT IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(IXpsOMObjectFactory* This,LPCWSTR filename,IStream **stream) {
   4888     return This->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream);
   4889 }
   4890 #endif
   4891 #endif
   4892 
   4893 #endif
   4894 
   4895 
   4896 #endif  /* __IXpsOMObjectFactory_INTERFACE_DEFINED__ */
   4897 
   4898 /*****************************************************************************
   4899  * IXpsOMNameCollection interface
   4900  */
   4901 #ifndef __IXpsOMNameCollection_INTERFACE_DEFINED__
   4902 #define __IXpsOMNameCollection_INTERFACE_DEFINED__
   4903 
   4904 DEFINE_GUID(IID_IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2);
   4905 #if defined(__cplusplus) && !defined(CINTERFACE)
   4906 MIDL_INTERFACE("4bddf8ec-c915-421b-a166-d173d25653d2")
   4907 IXpsOMNameCollection : public IUnknown
   4908 {
   4909     virtual HRESULT STDMETHODCALLTYPE GetCount(
   4910         UINT32 *count) = 0;
   4911 
   4912     virtual HRESULT STDMETHODCALLTYPE GetAt(
   4913         UINT32 index,
   4914         LPWSTR *name) = 0;
   4915 
   4916 };
   4917 #ifdef __CRT_UUID_DECL
   4918 __CRT_UUID_DECL(IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2)
   4919 #endif
   4920 #else
   4921 typedef struct IXpsOMNameCollectionVtbl {
   4922     BEGIN_INTERFACE
   4923 
   4924     /*** IUnknown methods ***/
   4925     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4926         IXpsOMNameCollection *This,
   4927         REFIID riid,
   4928         void **ppvObject);
   4929 
   4930     ULONG (STDMETHODCALLTYPE *AddRef)(
   4931         IXpsOMNameCollection *This);
   4932 
   4933     ULONG (STDMETHODCALLTYPE *Release)(
   4934         IXpsOMNameCollection *This);
   4935 
   4936     /*** IXpsOMNameCollection methods ***/
   4937     HRESULT (STDMETHODCALLTYPE *GetCount)(
   4938         IXpsOMNameCollection *This,
   4939         UINT32 *count);
   4940 
   4941     HRESULT (STDMETHODCALLTYPE *GetAt)(
   4942         IXpsOMNameCollection *This,
   4943         UINT32 index,
   4944         LPWSTR *name);
   4945 
   4946     END_INTERFACE
   4947 } IXpsOMNameCollectionVtbl;
   4948 
   4949 interface IXpsOMNameCollection {
   4950     CONST_VTBL IXpsOMNameCollectionVtbl* lpVtbl;
   4951 };
   4952 
   4953 #ifdef COBJMACROS
   4954 #ifndef WIDL_C_INLINE_WRAPPERS
   4955 /*** IUnknown methods ***/
   4956 #define IXpsOMNameCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4957 #define IXpsOMNameCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   4958 #define IXpsOMNameCollection_Release(This) (This)->lpVtbl->Release(This)
   4959 /*** IXpsOMNameCollection methods ***/
   4960 #define IXpsOMNameCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   4961 #define IXpsOMNameCollection_GetAt(This,index,name) (This)->lpVtbl->GetAt(This,index,name)
   4962 #else
   4963 /*** IUnknown methods ***/
   4964 static inline HRESULT IXpsOMNameCollection_QueryInterface(IXpsOMNameCollection* This,REFIID riid,void **ppvObject) {
   4965     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4966 }
   4967 static inline ULONG IXpsOMNameCollection_AddRef(IXpsOMNameCollection* This) {
   4968     return This->lpVtbl->AddRef(This);
   4969 }
   4970 static inline ULONG IXpsOMNameCollection_Release(IXpsOMNameCollection* This) {
   4971     return This->lpVtbl->Release(This);
   4972 }
   4973 /*** IXpsOMNameCollection methods ***/
   4974 static inline HRESULT IXpsOMNameCollection_GetCount(IXpsOMNameCollection* This,UINT32 *count) {
   4975     return This->lpVtbl->GetCount(This,count);
   4976 }
   4977 static inline HRESULT IXpsOMNameCollection_GetAt(IXpsOMNameCollection* This,UINT32 index,LPWSTR *name) {
   4978     return This->lpVtbl->GetAt(This,index,name);
   4979 }
   4980 #endif
   4981 #endif
   4982 
   4983 #endif
   4984 
   4985 
   4986 #endif  /* __IXpsOMNameCollection_INTERFACE_DEFINED__ */
   4987 
   4988 /*****************************************************************************
   4989  * IXpsOMPartUriCollection interface
   4990  */
   4991 #ifndef __IXpsOMPartUriCollection_INTERFACE_DEFINED__
   4992 #define __IXpsOMPartUriCollection_INTERFACE_DEFINED__
   4993 
   4994 DEFINE_GUID(IID_IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f);
   4995 #if defined(__cplusplus) && !defined(CINTERFACE)
   4996 MIDL_INTERFACE("57c650d4-067c-4893-8c33-f62a0633730f")
   4997 IXpsOMPartUriCollection : public IUnknown
   4998 {
   4999     virtual HRESULT STDMETHODCALLTYPE GetCount(
   5000         UINT32 *count) = 0;
   5001 
   5002     virtual HRESULT STDMETHODCALLTYPE GetAt(
   5003         UINT32 index,
   5004         IOpcPartUri **partUri) = 0;
   5005 
   5006     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   5007         UINT32 index,
   5008         IOpcPartUri *partUri) = 0;
   5009 
   5010     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   5011         UINT32 index) = 0;
   5012 
   5013     virtual HRESULT STDMETHODCALLTYPE SetAt(
   5014         UINT32 index,
   5015         IOpcPartUri *partUri) = 0;
   5016 
   5017     virtual HRESULT STDMETHODCALLTYPE Append(
   5018         IOpcPartUri *partUri) = 0;
   5019 
   5020 };
   5021 #ifdef __CRT_UUID_DECL
   5022 __CRT_UUID_DECL(IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f)
   5023 #endif
   5024 #else
   5025 typedef struct IXpsOMPartUriCollectionVtbl {
   5026     BEGIN_INTERFACE
   5027 
   5028     /*** IUnknown methods ***/
   5029     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5030         IXpsOMPartUriCollection *This,
   5031         REFIID riid,
   5032         void **ppvObject);
   5033 
   5034     ULONG (STDMETHODCALLTYPE *AddRef)(
   5035         IXpsOMPartUriCollection *This);
   5036 
   5037     ULONG (STDMETHODCALLTYPE *Release)(
   5038         IXpsOMPartUriCollection *This);
   5039 
   5040     /*** IXpsOMPartUriCollection methods ***/
   5041     HRESULT (STDMETHODCALLTYPE *GetCount)(
   5042         IXpsOMPartUriCollection *This,
   5043         UINT32 *count);
   5044 
   5045     HRESULT (STDMETHODCALLTYPE *GetAt)(
   5046         IXpsOMPartUriCollection *This,
   5047         UINT32 index,
   5048         IOpcPartUri **partUri);
   5049 
   5050     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   5051         IXpsOMPartUriCollection *This,
   5052         UINT32 index,
   5053         IOpcPartUri *partUri);
   5054 
   5055     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   5056         IXpsOMPartUriCollection *This,
   5057         UINT32 index);
   5058 
   5059     HRESULT (STDMETHODCALLTYPE *SetAt)(
   5060         IXpsOMPartUriCollection *This,
   5061         UINT32 index,
   5062         IOpcPartUri *partUri);
   5063 
   5064     HRESULT (STDMETHODCALLTYPE *Append)(
   5065         IXpsOMPartUriCollection *This,
   5066         IOpcPartUri *partUri);
   5067 
   5068     END_INTERFACE
   5069 } IXpsOMPartUriCollectionVtbl;
   5070 
   5071 interface IXpsOMPartUriCollection {
   5072     CONST_VTBL IXpsOMPartUriCollectionVtbl* lpVtbl;
   5073 };
   5074 
   5075 #ifdef COBJMACROS
   5076 #ifndef WIDL_C_INLINE_WRAPPERS
   5077 /*** IUnknown methods ***/
   5078 #define IXpsOMPartUriCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5079 #define IXpsOMPartUriCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   5080 #define IXpsOMPartUriCollection_Release(This) (This)->lpVtbl->Release(This)
   5081 /*** IXpsOMPartUriCollection methods ***/
   5082 #define IXpsOMPartUriCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   5083 #define IXpsOMPartUriCollection_GetAt(This,index,partUri) (This)->lpVtbl->GetAt(This,index,partUri)
   5084 #define IXpsOMPartUriCollection_InsertAt(This,index,partUri) (This)->lpVtbl->InsertAt(This,index,partUri)
   5085 #define IXpsOMPartUriCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   5086 #define IXpsOMPartUriCollection_SetAt(This,index,partUri) (This)->lpVtbl->SetAt(This,index,partUri)
   5087 #define IXpsOMPartUriCollection_Append(This,partUri) (This)->lpVtbl->Append(This,partUri)
   5088 #else
   5089 /*** IUnknown methods ***/
   5090 static inline HRESULT IXpsOMPartUriCollection_QueryInterface(IXpsOMPartUriCollection* This,REFIID riid,void **ppvObject) {
   5091     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5092 }
   5093 static inline ULONG IXpsOMPartUriCollection_AddRef(IXpsOMPartUriCollection* This) {
   5094     return This->lpVtbl->AddRef(This);
   5095 }
   5096 static inline ULONG IXpsOMPartUriCollection_Release(IXpsOMPartUriCollection* This) {
   5097     return This->lpVtbl->Release(This);
   5098 }
   5099 /*** IXpsOMPartUriCollection methods ***/
   5100 static inline HRESULT IXpsOMPartUriCollection_GetCount(IXpsOMPartUriCollection* This,UINT32 *count) {
   5101     return This->lpVtbl->GetCount(This,count);
   5102 }
   5103 static inline HRESULT IXpsOMPartUriCollection_GetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri **partUri) {
   5104     return This->lpVtbl->GetAt(This,index,partUri);
   5105 }
   5106 static inline HRESULT IXpsOMPartUriCollection_InsertAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
   5107     return This->lpVtbl->InsertAt(This,index,partUri);
   5108 }
   5109 static inline HRESULT IXpsOMPartUriCollection_RemoveAt(IXpsOMPartUriCollection* This,UINT32 index) {
   5110     return This->lpVtbl->RemoveAt(This,index);
   5111 }
   5112 static inline HRESULT IXpsOMPartUriCollection_SetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
   5113     return This->lpVtbl->SetAt(This,index,partUri);
   5114 }
   5115 static inline HRESULT IXpsOMPartUriCollection_Append(IXpsOMPartUriCollection* This,IOpcPartUri *partUri) {
   5116     return This->lpVtbl->Append(This,partUri);
   5117 }
   5118 #endif
   5119 #endif
   5120 
   5121 #endif
   5122 
   5123 
   5124 #endif  /* __IXpsOMPartUriCollection_INTERFACE_DEFINED__ */
   5125 
   5126 /*****************************************************************************
   5127  * IXpsOMPackageWriter interface
   5128  */
   5129 #ifndef __IXpsOMPackageWriter_INTERFACE_DEFINED__
   5130 #define __IXpsOMPackageWriter_INTERFACE_DEFINED__
   5131 
   5132 DEFINE_GUID(IID_IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9);
   5133 #if defined(__cplusplus) && !defined(CINTERFACE)
   5134 MIDL_INTERFACE("4e2aa182-a443-42c6-b41b-4f8e9de73ff9")
   5135 IXpsOMPackageWriter : public IUnknown
   5136 {
   5137     virtual HRESULT STDMETHODCALLTYPE StartNewDocument(
   5138         IOpcPartUri *documentPartName,
   5139         IXpsOMPrintTicketResource *documentPrintTicket,
   5140         IXpsOMDocumentStructureResource *documentStructure,
   5141         IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
   5142         IXpsOMPartUriCollection *restrictedFonts) = 0;
   5143 
   5144     virtual HRESULT STDMETHODCALLTYPE AddPage(
   5145         IXpsOMPage *page,
   5146         const XPS_SIZE *advisoryPageDimensions,
   5147         IXpsOMPartUriCollection *discardableResourceParts,
   5148         IXpsOMStoryFragmentsResource *storyFragments,
   5149         IXpsOMPrintTicketResource *pagePrintTicket,
   5150         IXpsOMImageResource *pageThumbnail) = 0;
   5151 
   5152     virtual HRESULT STDMETHODCALLTYPE AddResource(
   5153         IXpsOMResource *resource) = 0;
   5154 
   5155     virtual HRESULT STDMETHODCALLTYPE Close(
   5156         ) = 0;
   5157 
   5158     virtual HRESULT STDMETHODCALLTYPE IsClosed(
   5159         WINBOOL *isClosed) = 0;
   5160 
   5161 };
   5162 #ifdef __CRT_UUID_DECL
   5163 __CRT_UUID_DECL(IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9)
   5164 #endif
   5165 #else
   5166 typedef struct IXpsOMPackageWriterVtbl {
   5167     BEGIN_INTERFACE
   5168 
   5169     /*** IUnknown methods ***/
   5170     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5171         IXpsOMPackageWriter *This,
   5172         REFIID riid,
   5173         void **ppvObject);
   5174 
   5175     ULONG (STDMETHODCALLTYPE *AddRef)(
   5176         IXpsOMPackageWriter *This);
   5177 
   5178     ULONG (STDMETHODCALLTYPE *Release)(
   5179         IXpsOMPackageWriter *This);
   5180 
   5181     /*** IXpsOMPackageWriter methods ***/
   5182     HRESULT (STDMETHODCALLTYPE *StartNewDocument)(
   5183         IXpsOMPackageWriter *This,
   5184         IOpcPartUri *documentPartName,
   5185         IXpsOMPrintTicketResource *documentPrintTicket,
   5186         IXpsOMDocumentStructureResource *documentStructure,
   5187         IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
   5188         IXpsOMPartUriCollection *restrictedFonts);
   5189 
   5190     HRESULT (STDMETHODCALLTYPE *AddPage)(
   5191         IXpsOMPackageWriter *This,
   5192         IXpsOMPage *page,
   5193         const XPS_SIZE *advisoryPageDimensions,
   5194         IXpsOMPartUriCollection *discardableResourceParts,
   5195         IXpsOMStoryFragmentsResource *storyFragments,
   5196         IXpsOMPrintTicketResource *pagePrintTicket,
   5197         IXpsOMImageResource *pageThumbnail);
   5198 
   5199     HRESULT (STDMETHODCALLTYPE *AddResource)(
   5200         IXpsOMPackageWriter *This,
   5201         IXpsOMResource *resource);
   5202 
   5203     HRESULT (STDMETHODCALLTYPE *Close)(
   5204         IXpsOMPackageWriter *This);
   5205 
   5206     HRESULT (STDMETHODCALLTYPE *IsClosed)(
   5207         IXpsOMPackageWriter *This,
   5208         WINBOOL *isClosed);
   5209 
   5210     END_INTERFACE
   5211 } IXpsOMPackageWriterVtbl;
   5212 
   5213 interface IXpsOMPackageWriter {
   5214     CONST_VTBL IXpsOMPackageWriterVtbl* lpVtbl;
   5215 };
   5216 
   5217 #ifdef COBJMACROS
   5218 #ifndef WIDL_C_INLINE_WRAPPERS
   5219 /*** IUnknown methods ***/
   5220 #define IXpsOMPackageWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5221 #define IXpsOMPackageWriter_AddRef(This) (This)->lpVtbl->AddRef(This)
   5222 #define IXpsOMPackageWriter_Release(This) (This)->lpVtbl->Release(This)
   5223 /*** IXpsOMPackageWriter methods ***/
   5224 #define IXpsOMPackageWriter_StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts) (This)->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts)
   5225 #define IXpsOMPackageWriter_AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail) (This)->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail)
   5226 #define IXpsOMPackageWriter_AddResource(This,resource) (This)->lpVtbl->AddResource(This,resource)
   5227 #define IXpsOMPackageWriter_Close(This) (This)->lpVtbl->Close(This)
   5228 #define IXpsOMPackageWriter_IsClosed(This,isClosed) (This)->lpVtbl->IsClosed(This,isClosed)
   5229 #else
   5230 /*** IUnknown methods ***/
   5231 static inline HRESULT IXpsOMPackageWriter_QueryInterface(IXpsOMPackageWriter* This,REFIID riid,void **ppvObject) {
   5232     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5233 }
   5234 static inline ULONG IXpsOMPackageWriter_AddRef(IXpsOMPackageWriter* This) {
   5235     return This->lpVtbl->AddRef(This);
   5236 }
   5237 static inline ULONG IXpsOMPackageWriter_Release(IXpsOMPackageWriter* This) {
   5238     return This->lpVtbl->Release(This);
   5239 }
   5240 /*** IXpsOMPackageWriter methods ***/
   5241 static inline HRESULT IXpsOMPackageWriter_StartNewDocument(IXpsOMPackageWriter* This,IOpcPartUri *documentPartName,IXpsOMPrintTicketResource *documentPrintTicket,IXpsOMDocumentStructureResource *documentStructure,IXpsOMSignatureBlockResourceCollection *signatureBlockResources,IXpsOMPartUriCollection *restrictedFonts) {
   5242     return This->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts);
   5243 }
   5244 static inline HRESULT IXpsOMPackageWriter_AddPage(IXpsOMPackageWriter* This,IXpsOMPage *page,const XPS_SIZE *advisoryPageDimensions,IXpsOMPartUriCollection *discardableResourceParts,IXpsOMStoryFragmentsResource *storyFragments,IXpsOMPrintTicketResource *pagePrintTicket,IXpsOMImageResource *pageThumbnail) {
   5245     return This->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail);
   5246 }
   5247 static inline HRESULT IXpsOMPackageWriter_AddResource(IXpsOMPackageWriter* This,IXpsOMResource *resource) {
   5248     return This->lpVtbl->AddResource(This,resource);
   5249 }
   5250 static inline HRESULT IXpsOMPackageWriter_Close(IXpsOMPackageWriter* This) {
   5251     return This->lpVtbl->Close(This);
   5252 }
   5253 static inline HRESULT IXpsOMPackageWriter_IsClosed(IXpsOMPackageWriter* This,WINBOOL *isClosed) {
   5254     return This->lpVtbl->IsClosed(This,isClosed);
   5255 }
   5256 #endif
   5257 #endif
   5258 
   5259 #endif
   5260 
   5261 
   5262 #endif  /* __IXpsOMPackageWriter_INTERFACE_DEFINED__ */
   5263 
   5264 /*****************************************************************************
   5265  * IXpsOMPackageTarget interface
   5266  */
   5267 #ifndef __IXpsOMPackageTarget_INTERFACE_DEFINED__
   5268 #define __IXpsOMPackageTarget_INTERFACE_DEFINED__
   5269 
   5270 DEFINE_GUID(IID_IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d);
   5271 #if defined(__cplusplus) && !defined(CINTERFACE)
   5272 MIDL_INTERFACE("219a9db0-4959-47d0-8034-b1ce84f41a4d")
   5273 IXpsOMPackageTarget : public IUnknown
   5274 {
   5275     virtual HRESULT STDMETHODCALLTYPE CreateXpsOMPackageWriter(
   5276         IOpcPartUri *documentSequencePartName,
   5277         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5278         IOpcPartUri *discardControlPartName,
   5279         IXpsOMPackageWriter **packageWriter) = 0;
   5280 
   5281 };
   5282 #ifdef __CRT_UUID_DECL
   5283 __CRT_UUID_DECL(IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d)
   5284 #endif
   5285 #else
   5286 typedef struct IXpsOMPackageTargetVtbl {
   5287     BEGIN_INTERFACE
   5288 
   5289     /*** IUnknown methods ***/
   5290     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5291         IXpsOMPackageTarget *This,
   5292         REFIID riid,
   5293         void **ppvObject);
   5294 
   5295     ULONG (STDMETHODCALLTYPE *AddRef)(
   5296         IXpsOMPackageTarget *This);
   5297 
   5298     ULONG (STDMETHODCALLTYPE *Release)(
   5299         IXpsOMPackageTarget *This);
   5300 
   5301     /*** IXpsOMPackageTarget methods ***/
   5302     HRESULT (STDMETHODCALLTYPE *CreateXpsOMPackageWriter)(
   5303         IXpsOMPackageTarget *This,
   5304         IOpcPartUri *documentSequencePartName,
   5305         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5306         IOpcPartUri *discardControlPartName,
   5307         IXpsOMPackageWriter **packageWriter);
   5308 
   5309     END_INTERFACE
   5310 } IXpsOMPackageTargetVtbl;
   5311 
   5312 interface IXpsOMPackageTarget {
   5313     CONST_VTBL IXpsOMPackageTargetVtbl* lpVtbl;
   5314 };
   5315 
   5316 #ifdef COBJMACROS
   5317 #ifndef WIDL_C_INLINE_WRAPPERS
   5318 /*** IUnknown methods ***/
   5319 #define IXpsOMPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5320 #define IXpsOMPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
   5321 #define IXpsOMPackageTarget_Release(This) (This)->lpVtbl->Release(This)
   5322 /*** IXpsOMPackageTarget methods ***/
   5323 #define IXpsOMPackageTarget_CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter)
   5324 #else
   5325 /*** IUnknown methods ***/
   5326 static inline HRESULT IXpsOMPackageTarget_QueryInterface(IXpsOMPackageTarget* This,REFIID riid,void **ppvObject) {
   5327     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5328 }
   5329 static inline ULONG IXpsOMPackageTarget_AddRef(IXpsOMPackageTarget* This) {
   5330     return This->lpVtbl->AddRef(This);
   5331 }
   5332 static inline ULONG IXpsOMPackageTarget_Release(IXpsOMPackageTarget* This) {
   5333     return This->lpVtbl->Release(This);
   5334 }
   5335 /*** IXpsOMPackageTarget methods ***/
   5336 static inline HRESULT IXpsOMPackageTarget_CreateXpsOMPackageWriter(IXpsOMPackageTarget* This,IOpcPartUri *documentSequencePartName,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
   5337     return This->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter);
   5338 }
   5339 #endif
   5340 #endif
   5341 
   5342 #endif
   5343 
   5344 
   5345 #endif  /* __IXpsOMPackageTarget_INTERFACE_DEFINED__ */
   5346 
   5347 /*****************************************************************************
   5348  * IXpsOMVisual interface
   5349  */
   5350 #ifndef __IXpsOMVisual_INTERFACE_DEFINED__
   5351 #define __IXpsOMVisual_INTERFACE_DEFINED__
   5352 
   5353 DEFINE_GUID(IID_IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd);
   5354 #if defined(__cplusplus) && !defined(CINTERFACE)
   5355 MIDL_INTERFACE("bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd")
   5356 IXpsOMVisual : public IXpsOMShareable
   5357 {
   5358     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   5359         IXpsOMMatrixTransform **matrixTransform) = 0;
   5360 
   5361     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   5362         IXpsOMMatrixTransform **matrixTransform) = 0;
   5363 
   5364     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   5365         IXpsOMMatrixTransform *matrixTransform) = 0;
   5366 
   5367     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   5368         LPWSTR *key) = 0;
   5369 
   5370     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   5371         LPCWSTR key) = 0;
   5372 
   5373     virtual HRESULT STDMETHODCALLTYPE GetClipGeometry(
   5374         IXpsOMGeometry **clipGeometry) = 0;
   5375 
   5376     virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLocal(
   5377         IXpsOMGeometry **clipGeometry) = 0;
   5378 
   5379     virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLocal(
   5380         IXpsOMGeometry *clipGeometry) = 0;
   5381 
   5382     virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLookup(
   5383         LPWSTR *key) = 0;
   5384 
   5385     virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLookup(
   5386         LPCWSTR key) = 0;
   5387 
   5388     virtual HRESULT STDMETHODCALLTYPE GetOpacity(
   5389         FLOAT *opacity) = 0;
   5390 
   5391     virtual HRESULT STDMETHODCALLTYPE SetOpacity(
   5392         FLOAT opacity) = 0;
   5393 
   5394     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrush(
   5395         IXpsOMBrush **opacityMaskBrush) = 0;
   5396 
   5397     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLocal(
   5398         IXpsOMBrush **opacityMaskBrush) = 0;
   5399 
   5400     virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLocal(
   5401         IXpsOMBrush *opacityMaskBrush) = 0;
   5402 
   5403     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLookup(
   5404         LPWSTR *key) = 0;
   5405 
   5406     virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLookup(
   5407         LPCWSTR key) = 0;
   5408 
   5409     virtual HRESULT STDMETHODCALLTYPE GetName(
   5410         LPWSTR *name) = 0;
   5411 
   5412     virtual HRESULT STDMETHODCALLTYPE SetName(
   5413         LPCWSTR name) = 0;
   5414 
   5415     virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
   5416         WINBOOL *isHyperlink) = 0;
   5417 
   5418     virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
   5419         WINBOOL isHyperlink) = 0;
   5420 
   5421     virtual HRESULT STDMETHODCALLTYPE GetHyperlinkNavigateUri(
   5422         IUri **hyperlinkUri) = 0;
   5423 
   5424     virtual HRESULT STDMETHODCALLTYPE SetHyperlinkNavigateUri(
   5425         IUri *hyperlinkUri) = 0;
   5426 
   5427     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
   5428         LPWSTR *language) = 0;
   5429 
   5430     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
   5431         LPCWSTR language) = 0;
   5432 
   5433 };
   5434 #ifdef __CRT_UUID_DECL
   5435 __CRT_UUID_DECL(IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd)
   5436 #endif
   5437 #else
   5438 typedef struct IXpsOMVisualVtbl {
   5439     BEGIN_INTERFACE
   5440 
   5441     /*** IUnknown methods ***/
   5442     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5443         IXpsOMVisual *This,
   5444         REFIID riid,
   5445         void **ppvObject);
   5446 
   5447     ULONG (STDMETHODCALLTYPE *AddRef)(
   5448         IXpsOMVisual *This);
   5449 
   5450     ULONG (STDMETHODCALLTYPE *Release)(
   5451         IXpsOMVisual *This);
   5452 
   5453     /*** IXpsOMShareable methods ***/
   5454     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   5455         IXpsOMVisual *This,
   5456         IUnknown **owner);
   5457 
   5458     HRESULT (STDMETHODCALLTYPE *GetType)(
   5459         IXpsOMVisual *This,
   5460         XPS_OBJECT_TYPE *type);
   5461 
   5462     /*** IXpsOMVisual methods ***/
   5463     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   5464         IXpsOMVisual *This,
   5465         IXpsOMMatrixTransform **matrixTransform);
   5466 
   5467     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   5468         IXpsOMVisual *This,
   5469         IXpsOMMatrixTransform **matrixTransform);
   5470 
   5471     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   5472         IXpsOMVisual *This,
   5473         IXpsOMMatrixTransform *matrixTransform);
   5474 
   5475     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   5476         IXpsOMVisual *This,
   5477         LPWSTR *key);
   5478 
   5479     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   5480         IXpsOMVisual *This,
   5481         LPCWSTR key);
   5482 
   5483     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   5484         IXpsOMVisual *This,
   5485         IXpsOMGeometry **clipGeometry);
   5486 
   5487     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   5488         IXpsOMVisual *This,
   5489         IXpsOMGeometry **clipGeometry);
   5490 
   5491     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   5492         IXpsOMVisual *This,
   5493         IXpsOMGeometry *clipGeometry);
   5494 
   5495     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   5496         IXpsOMVisual *This,
   5497         LPWSTR *key);
   5498 
   5499     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   5500         IXpsOMVisual *This,
   5501         LPCWSTR key);
   5502 
   5503     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   5504         IXpsOMVisual *This,
   5505         FLOAT *opacity);
   5506 
   5507     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   5508         IXpsOMVisual *This,
   5509         FLOAT opacity);
   5510 
   5511     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   5512         IXpsOMVisual *This,
   5513         IXpsOMBrush **opacityMaskBrush);
   5514 
   5515     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   5516         IXpsOMVisual *This,
   5517         IXpsOMBrush **opacityMaskBrush);
   5518 
   5519     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   5520         IXpsOMVisual *This,
   5521         IXpsOMBrush *opacityMaskBrush);
   5522 
   5523     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   5524         IXpsOMVisual *This,
   5525         LPWSTR *key);
   5526 
   5527     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   5528         IXpsOMVisual *This,
   5529         LPCWSTR key);
   5530 
   5531     HRESULT (STDMETHODCALLTYPE *GetName)(
   5532         IXpsOMVisual *This,
   5533         LPWSTR *name);
   5534 
   5535     HRESULT (STDMETHODCALLTYPE *SetName)(
   5536         IXpsOMVisual *This,
   5537         LPCWSTR name);
   5538 
   5539     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   5540         IXpsOMVisual *This,
   5541         WINBOOL *isHyperlink);
   5542 
   5543     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   5544         IXpsOMVisual *This,
   5545         WINBOOL isHyperlink);
   5546 
   5547     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   5548         IXpsOMVisual *This,
   5549         IUri **hyperlinkUri);
   5550 
   5551     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   5552         IXpsOMVisual *This,
   5553         IUri *hyperlinkUri);
   5554 
   5555     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   5556         IXpsOMVisual *This,
   5557         LPWSTR *language);
   5558 
   5559     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   5560         IXpsOMVisual *This,
   5561         LPCWSTR language);
   5562 
   5563     END_INTERFACE
   5564 } IXpsOMVisualVtbl;
   5565 
   5566 interface IXpsOMVisual {
   5567     CONST_VTBL IXpsOMVisualVtbl* lpVtbl;
   5568 };
   5569 
   5570 #ifdef COBJMACROS
   5571 #ifndef WIDL_C_INLINE_WRAPPERS
   5572 /*** IUnknown methods ***/
   5573 #define IXpsOMVisual_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5574 #define IXpsOMVisual_AddRef(This) (This)->lpVtbl->AddRef(This)
   5575 #define IXpsOMVisual_Release(This) (This)->lpVtbl->Release(This)
   5576 /*** IXpsOMShareable methods ***/
   5577 #define IXpsOMVisual_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   5578 #define IXpsOMVisual_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   5579 /*** IXpsOMVisual methods ***/
   5580 #define IXpsOMVisual_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   5581 #define IXpsOMVisual_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   5582 #define IXpsOMVisual_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   5583 #define IXpsOMVisual_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   5584 #define IXpsOMVisual_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   5585 #define IXpsOMVisual_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   5586 #define IXpsOMVisual_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   5587 #define IXpsOMVisual_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   5588 #define IXpsOMVisual_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   5589 #define IXpsOMVisual_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   5590 #define IXpsOMVisual_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   5591 #define IXpsOMVisual_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   5592 #define IXpsOMVisual_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   5593 #define IXpsOMVisual_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   5594 #define IXpsOMVisual_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   5595 #define IXpsOMVisual_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   5596 #define IXpsOMVisual_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   5597 #define IXpsOMVisual_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   5598 #define IXpsOMVisual_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   5599 #define IXpsOMVisual_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   5600 #define IXpsOMVisual_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   5601 #define IXpsOMVisual_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   5602 #define IXpsOMVisual_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   5603 #define IXpsOMVisual_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   5604 #define IXpsOMVisual_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   5605 #else
   5606 /*** IUnknown methods ***/
   5607 static inline HRESULT IXpsOMVisual_QueryInterface(IXpsOMVisual* This,REFIID riid,void **ppvObject) {
   5608     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5609 }
   5610 static inline ULONG IXpsOMVisual_AddRef(IXpsOMVisual* This) {
   5611     return This->lpVtbl->AddRef(This);
   5612 }
   5613 static inline ULONG IXpsOMVisual_Release(IXpsOMVisual* This) {
   5614     return This->lpVtbl->Release(This);
   5615 }
   5616 /*** IXpsOMShareable methods ***/
   5617 static inline HRESULT IXpsOMVisual_GetOwner(IXpsOMVisual* This,IUnknown **owner) {
   5618     return This->lpVtbl->GetOwner(This,owner);
   5619 }
   5620 static inline HRESULT IXpsOMVisual_GetType(IXpsOMVisual* This,XPS_OBJECT_TYPE *type) {
   5621     return This->lpVtbl->GetType(This,type);
   5622 }
   5623 /*** IXpsOMVisual methods ***/
   5624 static inline HRESULT IXpsOMVisual_GetTransform(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
   5625     return This->lpVtbl->GetTransform(This,matrixTransform);
   5626 }
   5627 static inline HRESULT IXpsOMVisual_GetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
   5628     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   5629 }
   5630 static inline HRESULT IXpsOMVisual_SetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform *matrixTransform) {
   5631     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   5632 }
   5633 static inline HRESULT IXpsOMVisual_GetTransformLookup(IXpsOMVisual* This,LPWSTR *key) {
   5634     return This->lpVtbl->GetTransformLookup(This,key);
   5635 }
   5636 static inline HRESULT IXpsOMVisual_SetTransformLookup(IXpsOMVisual* This,LPCWSTR key) {
   5637     return This->lpVtbl->SetTransformLookup(This,key);
   5638 }
   5639 static inline HRESULT IXpsOMVisual_GetClipGeometry(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
   5640     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   5641 }
   5642 static inline HRESULT IXpsOMVisual_GetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
   5643     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   5644 }
   5645 static inline HRESULT IXpsOMVisual_SetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry *clipGeometry) {
   5646     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   5647 }
   5648 static inline HRESULT IXpsOMVisual_GetClipGeometryLookup(IXpsOMVisual* This,LPWSTR *key) {
   5649     return This->lpVtbl->GetClipGeometryLookup(This,key);
   5650 }
   5651 static inline HRESULT IXpsOMVisual_SetClipGeometryLookup(IXpsOMVisual* This,LPCWSTR key) {
   5652     return This->lpVtbl->SetClipGeometryLookup(This,key);
   5653 }
   5654 static inline HRESULT IXpsOMVisual_GetOpacity(IXpsOMVisual* This,FLOAT *opacity) {
   5655     return This->lpVtbl->GetOpacity(This,opacity);
   5656 }
   5657 static inline HRESULT IXpsOMVisual_SetOpacity(IXpsOMVisual* This,FLOAT opacity) {
   5658     return This->lpVtbl->SetOpacity(This,opacity);
   5659 }
   5660 static inline HRESULT IXpsOMVisual_GetOpacityMaskBrush(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
   5661     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   5662 }
   5663 static inline HRESULT IXpsOMVisual_GetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
   5664     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   5665 }
   5666 static inline HRESULT IXpsOMVisual_SetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush *opacityMaskBrush) {
   5667     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   5668 }
   5669 static inline HRESULT IXpsOMVisual_GetOpacityMaskBrushLookup(IXpsOMVisual* This,LPWSTR *key) {
   5670     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   5671 }
   5672 static inline HRESULT IXpsOMVisual_SetOpacityMaskBrushLookup(IXpsOMVisual* This,LPCWSTR key) {
   5673     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   5674 }
   5675 static inline HRESULT IXpsOMVisual_GetName(IXpsOMVisual* This,LPWSTR *name) {
   5676     return This->lpVtbl->GetName(This,name);
   5677 }
   5678 static inline HRESULT IXpsOMVisual_SetName(IXpsOMVisual* This,LPCWSTR name) {
   5679     return This->lpVtbl->SetName(This,name);
   5680 }
   5681 static inline HRESULT IXpsOMVisual_GetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL *isHyperlink) {
   5682     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   5683 }
   5684 static inline HRESULT IXpsOMVisual_SetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL isHyperlink) {
   5685     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   5686 }
   5687 static inline HRESULT IXpsOMVisual_GetHyperlinkNavigateUri(IXpsOMVisual* This,IUri **hyperlinkUri) {
   5688     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   5689 }
   5690 static inline HRESULT IXpsOMVisual_SetHyperlinkNavigateUri(IXpsOMVisual* This,IUri *hyperlinkUri) {
   5691     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   5692 }
   5693 static inline HRESULT IXpsOMVisual_GetLanguage(IXpsOMVisual* This,LPWSTR *language) {
   5694     return This->lpVtbl->GetLanguage(This,language);
   5695 }
   5696 static inline HRESULT IXpsOMVisual_SetLanguage(IXpsOMVisual* This,LPCWSTR language) {
   5697     return This->lpVtbl->SetLanguage(This,language);
   5698 }
   5699 #endif
   5700 #endif
   5701 
   5702 #endif
   5703 
   5704 
   5705 #endif  /* __IXpsOMVisual_INTERFACE_DEFINED__ */
   5706 
   5707 /*****************************************************************************
   5708  * IXpsOMBrush interface
   5709  */
   5710 #ifndef __IXpsOMBrush_INTERFACE_DEFINED__
   5711 #define __IXpsOMBrush_INTERFACE_DEFINED__
   5712 
   5713 DEFINE_GUID(IID_IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b);
   5714 #if defined(__cplusplus) && !defined(CINTERFACE)
   5715 MIDL_INTERFACE("56a3f80c-ea4c-4187-a57b-a2a473b2b42b")
   5716 IXpsOMBrush : public IXpsOMShareable
   5717 {
   5718     virtual HRESULT STDMETHODCALLTYPE GetOpacity(
   5719         FLOAT *opacity) = 0;
   5720 
   5721     virtual HRESULT STDMETHODCALLTYPE SetOpacity(
   5722         FLOAT opacity) = 0;
   5723 
   5724 };
   5725 #ifdef __CRT_UUID_DECL
   5726 __CRT_UUID_DECL(IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b)
   5727 #endif
   5728 #else
   5729 typedef struct IXpsOMBrushVtbl {
   5730     BEGIN_INTERFACE
   5731 
   5732     /*** IUnknown methods ***/
   5733     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5734         IXpsOMBrush *This,
   5735         REFIID riid,
   5736         void **ppvObject);
   5737 
   5738     ULONG (STDMETHODCALLTYPE *AddRef)(
   5739         IXpsOMBrush *This);
   5740 
   5741     ULONG (STDMETHODCALLTYPE *Release)(
   5742         IXpsOMBrush *This);
   5743 
   5744     /*** IXpsOMShareable methods ***/
   5745     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   5746         IXpsOMBrush *This,
   5747         IUnknown **owner);
   5748 
   5749     HRESULT (STDMETHODCALLTYPE *GetType)(
   5750         IXpsOMBrush *This,
   5751         XPS_OBJECT_TYPE *type);
   5752 
   5753     /*** IXpsOMBrush methods ***/
   5754     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   5755         IXpsOMBrush *This,
   5756         FLOAT *opacity);
   5757 
   5758     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   5759         IXpsOMBrush *This,
   5760         FLOAT opacity);
   5761 
   5762     END_INTERFACE
   5763 } IXpsOMBrushVtbl;
   5764 
   5765 interface IXpsOMBrush {
   5766     CONST_VTBL IXpsOMBrushVtbl* lpVtbl;
   5767 };
   5768 
   5769 #ifdef COBJMACROS
   5770 #ifndef WIDL_C_INLINE_WRAPPERS
   5771 /*** IUnknown methods ***/
   5772 #define IXpsOMBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5773 #define IXpsOMBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   5774 #define IXpsOMBrush_Release(This) (This)->lpVtbl->Release(This)
   5775 /*** IXpsOMShareable methods ***/
   5776 #define IXpsOMBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   5777 #define IXpsOMBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   5778 /*** IXpsOMBrush methods ***/
   5779 #define IXpsOMBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   5780 #define IXpsOMBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   5781 #else
   5782 /*** IUnknown methods ***/
   5783 static inline HRESULT IXpsOMBrush_QueryInterface(IXpsOMBrush* This,REFIID riid,void **ppvObject) {
   5784     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5785 }
   5786 static inline ULONG IXpsOMBrush_AddRef(IXpsOMBrush* This) {
   5787     return This->lpVtbl->AddRef(This);
   5788 }
   5789 static inline ULONG IXpsOMBrush_Release(IXpsOMBrush* This) {
   5790     return This->lpVtbl->Release(This);
   5791 }
   5792 /*** IXpsOMShareable methods ***/
   5793 static inline HRESULT IXpsOMBrush_GetOwner(IXpsOMBrush* This,IUnknown **owner) {
   5794     return This->lpVtbl->GetOwner(This,owner);
   5795 }
   5796 static inline HRESULT IXpsOMBrush_GetType(IXpsOMBrush* This,XPS_OBJECT_TYPE *type) {
   5797     return This->lpVtbl->GetType(This,type);
   5798 }
   5799 /*** IXpsOMBrush methods ***/
   5800 static inline HRESULT IXpsOMBrush_GetOpacity(IXpsOMBrush* This,FLOAT *opacity) {
   5801     return This->lpVtbl->GetOpacity(This,opacity);
   5802 }
   5803 static inline HRESULT IXpsOMBrush_SetOpacity(IXpsOMBrush* This,FLOAT opacity) {
   5804     return This->lpVtbl->SetOpacity(This,opacity);
   5805 }
   5806 #endif
   5807 #endif
   5808 
   5809 #endif
   5810 
   5811 
   5812 #endif  /* __IXpsOMBrush_INTERFACE_DEFINED__ */
   5813 
   5814 /*****************************************************************************
   5815  * IXpsOMMatrixTransform interface
   5816  */
   5817 #ifndef __IXpsOMMatrixTransform_INTERFACE_DEFINED__
   5818 #define __IXpsOMMatrixTransform_INTERFACE_DEFINED__
   5819 
   5820 DEFINE_GUID(IID_IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46);
   5821 #if defined(__cplusplus) && !defined(CINTERFACE)
   5822 MIDL_INTERFACE("b77330ff-bb37-4501-a93e-f1b1e50bfc46")
   5823 IXpsOMMatrixTransform : public IXpsOMShareable
   5824 {
   5825     virtual HRESULT STDMETHODCALLTYPE GetMatrix(
   5826         XPS_MATRIX *matrix) = 0;
   5827 
   5828     virtual HRESULT STDMETHODCALLTYPE SetMatrix(
   5829         const XPS_MATRIX *matrix) = 0;
   5830 
   5831     virtual HRESULT STDMETHODCALLTYPE Clone(
   5832         IXpsOMMatrixTransform **matrixTransform) = 0;
   5833 
   5834 };
   5835 #ifdef __CRT_UUID_DECL
   5836 __CRT_UUID_DECL(IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46)
   5837 #endif
   5838 #else
   5839 typedef struct IXpsOMMatrixTransformVtbl {
   5840     BEGIN_INTERFACE
   5841 
   5842     /*** IUnknown methods ***/
   5843     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5844         IXpsOMMatrixTransform *This,
   5845         REFIID riid,
   5846         void **ppvObject);
   5847 
   5848     ULONG (STDMETHODCALLTYPE *AddRef)(
   5849         IXpsOMMatrixTransform *This);
   5850 
   5851     ULONG (STDMETHODCALLTYPE *Release)(
   5852         IXpsOMMatrixTransform *This);
   5853 
   5854     /*** IXpsOMShareable methods ***/
   5855     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   5856         IXpsOMMatrixTransform *This,
   5857         IUnknown **owner);
   5858 
   5859     HRESULT (STDMETHODCALLTYPE *GetType)(
   5860         IXpsOMMatrixTransform *This,
   5861         XPS_OBJECT_TYPE *type);
   5862 
   5863     /*** IXpsOMMatrixTransform methods ***/
   5864     HRESULT (STDMETHODCALLTYPE *GetMatrix)(
   5865         IXpsOMMatrixTransform *This,
   5866         XPS_MATRIX *matrix);
   5867 
   5868     HRESULT (STDMETHODCALLTYPE *SetMatrix)(
   5869         IXpsOMMatrixTransform *This,
   5870         const XPS_MATRIX *matrix);
   5871 
   5872     HRESULT (STDMETHODCALLTYPE *Clone)(
   5873         IXpsOMMatrixTransform *This,
   5874         IXpsOMMatrixTransform **matrixTransform);
   5875 
   5876     END_INTERFACE
   5877 } IXpsOMMatrixTransformVtbl;
   5878 
   5879 interface IXpsOMMatrixTransform {
   5880     CONST_VTBL IXpsOMMatrixTransformVtbl* lpVtbl;
   5881 };
   5882 
   5883 #ifdef COBJMACROS
   5884 #ifndef WIDL_C_INLINE_WRAPPERS
   5885 /*** IUnknown methods ***/
   5886 #define IXpsOMMatrixTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5887 #define IXpsOMMatrixTransform_AddRef(This) (This)->lpVtbl->AddRef(This)
   5888 #define IXpsOMMatrixTransform_Release(This) (This)->lpVtbl->Release(This)
   5889 /*** IXpsOMShareable methods ***/
   5890 #define IXpsOMMatrixTransform_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   5891 #define IXpsOMMatrixTransform_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   5892 /*** IXpsOMMatrixTransform methods ***/
   5893 #define IXpsOMMatrixTransform_GetMatrix(This,matrix) (This)->lpVtbl->GetMatrix(This,matrix)
   5894 #define IXpsOMMatrixTransform_SetMatrix(This,matrix) (This)->lpVtbl->SetMatrix(This,matrix)
   5895 #define IXpsOMMatrixTransform_Clone(This,matrixTransform) (This)->lpVtbl->Clone(This,matrixTransform)
   5896 #else
   5897 /*** IUnknown methods ***/
   5898 static inline HRESULT IXpsOMMatrixTransform_QueryInterface(IXpsOMMatrixTransform* This,REFIID riid,void **ppvObject) {
   5899     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5900 }
   5901 static inline ULONG IXpsOMMatrixTransform_AddRef(IXpsOMMatrixTransform* This) {
   5902     return This->lpVtbl->AddRef(This);
   5903 }
   5904 static inline ULONG IXpsOMMatrixTransform_Release(IXpsOMMatrixTransform* This) {
   5905     return This->lpVtbl->Release(This);
   5906 }
   5907 /*** IXpsOMShareable methods ***/
   5908 static inline HRESULT IXpsOMMatrixTransform_GetOwner(IXpsOMMatrixTransform* This,IUnknown **owner) {
   5909     return This->lpVtbl->GetOwner(This,owner);
   5910 }
   5911 static inline HRESULT IXpsOMMatrixTransform_GetType(IXpsOMMatrixTransform* This,XPS_OBJECT_TYPE *type) {
   5912     return This->lpVtbl->GetType(This,type);
   5913 }
   5914 /*** IXpsOMMatrixTransform methods ***/
   5915 static inline HRESULT IXpsOMMatrixTransform_GetMatrix(IXpsOMMatrixTransform* This,XPS_MATRIX *matrix) {
   5916     return This->lpVtbl->GetMatrix(This,matrix);
   5917 }
   5918 static inline HRESULT IXpsOMMatrixTransform_SetMatrix(IXpsOMMatrixTransform* This,const XPS_MATRIX *matrix) {
   5919     return This->lpVtbl->SetMatrix(This,matrix);
   5920 }
   5921 static inline HRESULT IXpsOMMatrixTransform_Clone(IXpsOMMatrixTransform* This,IXpsOMMatrixTransform **matrixTransform) {
   5922     return This->lpVtbl->Clone(This,matrixTransform);
   5923 }
   5924 #endif
   5925 #endif
   5926 
   5927 #endif
   5928 
   5929 
   5930 #endif  /* __IXpsOMMatrixTransform_INTERFACE_DEFINED__ */
   5931 
   5932 /*****************************************************************************
   5933  * IXpsOMGeometry interface
   5934  */
   5935 #ifndef __IXpsOMGeometry_INTERFACE_DEFINED__
   5936 #define __IXpsOMGeometry_INTERFACE_DEFINED__
   5937 
   5938 DEFINE_GUID(IID_IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72);
   5939 #if defined(__cplusplus) && !defined(CINTERFACE)
   5940 MIDL_INTERFACE("64fcf3d7-4d58-44ba-ad73-a13af6492072")
   5941 IXpsOMGeometry : public IXpsOMShareable
   5942 {
   5943     virtual HRESULT STDMETHODCALLTYPE GetFigures(
   5944         IXpsOMGeometryFigureCollection **figures) = 0;
   5945 
   5946     virtual HRESULT STDMETHODCALLTYPE GetFillRule(
   5947         XPS_FILL_RULE *fillRule) = 0;
   5948 
   5949     virtual HRESULT STDMETHODCALLTYPE SetFillRule(
   5950         XPS_FILL_RULE fillRule) = 0;
   5951 
   5952     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   5953         IXpsOMMatrixTransform **transform) = 0;
   5954 
   5955     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   5956         IXpsOMMatrixTransform **transform) = 0;
   5957 
   5958     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   5959         IXpsOMMatrixTransform *transform) = 0;
   5960 
   5961     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   5962         LPWSTR *lookup) = 0;
   5963 
   5964     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   5965         LPCWSTR lookup) = 0;
   5966 
   5967     virtual HRESULT STDMETHODCALLTYPE Clone(
   5968         IXpsOMGeometry **geometry) = 0;
   5969 
   5970 };
   5971 #ifdef __CRT_UUID_DECL
   5972 __CRT_UUID_DECL(IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72)
   5973 #endif
   5974 #else
   5975 typedef struct IXpsOMGeometryVtbl {
   5976     BEGIN_INTERFACE
   5977 
   5978     /*** IUnknown methods ***/
   5979     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5980         IXpsOMGeometry *This,
   5981         REFIID riid,
   5982         void **ppvObject);
   5983 
   5984     ULONG (STDMETHODCALLTYPE *AddRef)(
   5985         IXpsOMGeometry *This);
   5986 
   5987     ULONG (STDMETHODCALLTYPE *Release)(
   5988         IXpsOMGeometry *This);
   5989 
   5990     /*** IXpsOMShareable methods ***/
   5991     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   5992         IXpsOMGeometry *This,
   5993         IUnknown **owner);
   5994 
   5995     HRESULT (STDMETHODCALLTYPE *GetType)(
   5996         IXpsOMGeometry *This,
   5997         XPS_OBJECT_TYPE *type);
   5998 
   5999     /*** IXpsOMGeometry methods ***/
   6000     HRESULT (STDMETHODCALLTYPE *GetFigures)(
   6001         IXpsOMGeometry *This,
   6002         IXpsOMGeometryFigureCollection **figures);
   6003 
   6004     HRESULT (STDMETHODCALLTYPE *GetFillRule)(
   6005         IXpsOMGeometry *This,
   6006         XPS_FILL_RULE *fillRule);
   6007 
   6008     HRESULT (STDMETHODCALLTYPE *SetFillRule)(
   6009         IXpsOMGeometry *This,
   6010         XPS_FILL_RULE fillRule);
   6011 
   6012     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   6013         IXpsOMGeometry *This,
   6014         IXpsOMMatrixTransform **transform);
   6015 
   6016     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   6017         IXpsOMGeometry *This,
   6018         IXpsOMMatrixTransform **transform);
   6019 
   6020     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   6021         IXpsOMGeometry *This,
   6022         IXpsOMMatrixTransform *transform);
   6023 
   6024     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   6025         IXpsOMGeometry *This,
   6026         LPWSTR *lookup);
   6027 
   6028     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   6029         IXpsOMGeometry *This,
   6030         LPCWSTR lookup);
   6031 
   6032     HRESULT (STDMETHODCALLTYPE *Clone)(
   6033         IXpsOMGeometry *This,
   6034         IXpsOMGeometry **geometry);
   6035 
   6036     END_INTERFACE
   6037 } IXpsOMGeometryVtbl;
   6038 
   6039 interface IXpsOMGeometry {
   6040     CONST_VTBL IXpsOMGeometryVtbl* lpVtbl;
   6041 };
   6042 
   6043 #ifdef COBJMACROS
   6044 #ifndef WIDL_C_INLINE_WRAPPERS
   6045 /*** IUnknown methods ***/
   6046 #define IXpsOMGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6047 #define IXpsOMGeometry_AddRef(This) (This)->lpVtbl->AddRef(This)
   6048 #define IXpsOMGeometry_Release(This) (This)->lpVtbl->Release(This)
   6049 /*** IXpsOMShareable methods ***/
   6050 #define IXpsOMGeometry_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   6051 #define IXpsOMGeometry_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   6052 /*** IXpsOMGeometry methods ***/
   6053 #define IXpsOMGeometry_GetFigures(This,figures) (This)->lpVtbl->GetFigures(This,figures)
   6054 #define IXpsOMGeometry_GetFillRule(This,fillRule) (This)->lpVtbl->GetFillRule(This,fillRule)
   6055 #define IXpsOMGeometry_SetFillRule(This,fillRule) (This)->lpVtbl->SetFillRule(This,fillRule)
   6056 #define IXpsOMGeometry_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   6057 #define IXpsOMGeometry_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   6058 #define IXpsOMGeometry_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   6059 #define IXpsOMGeometry_GetTransformLookup(This,lookup) (This)->lpVtbl->GetTransformLookup(This,lookup)
   6060 #define IXpsOMGeometry_SetTransformLookup(This,lookup) (This)->lpVtbl->SetTransformLookup(This,lookup)
   6061 #define IXpsOMGeometry_Clone(This,geometry) (This)->lpVtbl->Clone(This,geometry)
   6062 #else
   6063 /*** IUnknown methods ***/
   6064 static inline HRESULT IXpsOMGeometry_QueryInterface(IXpsOMGeometry* This,REFIID riid,void **ppvObject) {
   6065     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6066 }
   6067 static inline ULONG IXpsOMGeometry_AddRef(IXpsOMGeometry* This) {
   6068     return This->lpVtbl->AddRef(This);
   6069 }
   6070 static inline ULONG IXpsOMGeometry_Release(IXpsOMGeometry* This) {
   6071     return This->lpVtbl->Release(This);
   6072 }
   6073 /*** IXpsOMShareable methods ***/
   6074 static inline HRESULT IXpsOMGeometry_GetOwner(IXpsOMGeometry* This,IUnknown **owner) {
   6075     return This->lpVtbl->GetOwner(This,owner);
   6076 }
   6077 static inline HRESULT IXpsOMGeometry_GetType(IXpsOMGeometry* This,XPS_OBJECT_TYPE *type) {
   6078     return This->lpVtbl->GetType(This,type);
   6079 }
   6080 /*** IXpsOMGeometry methods ***/
   6081 static inline HRESULT IXpsOMGeometry_GetFigures(IXpsOMGeometry* This,IXpsOMGeometryFigureCollection **figures) {
   6082     return This->lpVtbl->GetFigures(This,figures);
   6083 }
   6084 static inline HRESULT IXpsOMGeometry_GetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE *fillRule) {
   6085     return This->lpVtbl->GetFillRule(This,fillRule);
   6086 }
   6087 static inline HRESULT IXpsOMGeometry_SetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE fillRule) {
   6088     return This->lpVtbl->SetFillRule(This,fillRule);
   6089 }
   6090 static inline HRESULT IXpsOMGeometry_GetTransform(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
   6091     return This->lpVtbl->GetTransform(This,transform);
   6092 }
   6093 static inline HRESULT IXpsOMGeometry_GetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
   6094     return This->lpVtbl->GetTransformLocal(This,transform);
   6095 }
   6096 static inline HRESULT IXpsOMGeometry_SetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform *transform) {
   6097     return This->lpVtbl->SetTransformLocal(This,transform);
   6098 }
   6099 static inline HRESULT IXpsOMGeometry_GetTransformLookup(IXpsOMGeometry* This,LPWSTR *lookup) {
   6100     return This->lpVtbl->GetTransformLookup(This,lookup);
   6101 }
   6102 static inline HRESULT IXpsOMGeometry_SetTransformLookup(IXpsOMGeometry* This,LPCWSTR lookup) {
   6103     return This->lpVtbl->SetTransformLookup(This,lookup);
   6104 }
   6105 static inline HRESULT IXpsOMGeometry_Clone(IXpsOMGeometry* This,IXpsOMGeometry **geometry) {
   6106     return This->lpVtbl->Clone(This,geometry);
   6107 }
   6108 #endif
   6109 #endif
   6110 
   6111 #endif
   6112 
   6113 
   6114 #endif  /* __IXpsOMGeometry_INTERFACE_DEFINED__ */
   6115 
   6116 /*****************************************************************************
   6117  * IXpsOMGlyphs interface
   6118  */
   6119 #ifndef __IXpsOMGlyphs_INTERFACE_DEFINED__
   6120 #define __IXpsOMGlyphs_INTERFACE_DEFINED__
   6121 
   6122 DEFINE_GUID(IID_IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2);
   6123 #if defined(__cplusplus) && !defined(CINTERFACE)
   6124 MIDL_INTERFACE("819b3199-0a5a-4b64-bec7-a9e17e780de2")
   6125 IXpsOMGlyphs : public IXpsOMVisual
   6126 {
   6127     virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
   6128         LPWSTR *unicodeString) = 0;
   6129 
   6130     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
   6131         UINT32 *indexCount) = 0;
   6132 
   6133     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
   6134         UINT32 *indexCount,
   6135         XPS_GLYPH_INDEX *glyphIndices) = 0;
   6136 
   6137     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
   6138         UINT32 *glyphMappingCount) = 0;
   6139 
   6140     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
   6141         UINT32 *glyphMappingCount,
   6142         XPS_GLYPH_MAPPING *glyphMappings) = 0;
   6143 
   6144     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
   6145         UINT32 *prohibitedCaretStopCount) = 0;
   6146 
   6147     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
   6148         UINT32 *prohibitedCaretStopCount,
   6149         UINT32 *prohibitedCaretStops) = 0;
   6150 
   6151     virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
   6152         UINT32 *bidiLevel) = 0;
   6153 
   6154     virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
   6155         WINBOOL *isSideways) = 0;
   6156 
   6157     virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
   6158         LPWSTR *deviceFontName) = 0;
   6159 
   6160     virtual HRESULT STDMETHODCALLTYPE GetStyleSimulations(
   6161         XPS_STYLE_SIMULATION *styleSimulations) = 0;
   6162 
   6163     virtual HRESULT STDMETHODCALLTYPE SetStyleSimulations(
   6164         XPS_STYLE_SIMULATION styleSimulations) = 0;
   6165 
   6166     virtual HRESULT STDMETHODCALLTYPE GetOrigin(
   6167         XPS_POINT *origin) = 0;
   6168 
   6169     virtual HRESULT STDMETHODCALLTYPE SetOrigin(
   6170         const XPS_POINT *origin) = 0;
   6171 
   6172     virtual HRESULT STDMETHODCALLTYPE GetFontRenderingEmSize(
   6173         FLOAT *fontRenderingEmSize) = 0;
   6174 
   6175     virtual HRESULT STDMETHODCALLTYPE SetFontRenderingEmSize(
   6176         FLOAT fontRenderingEmSize) = 0;
   6177 
   6178     virtual HRESULT STDMETHODCALLTYPE GetFontResource(
   6179         IXpsOMFontResource **fontResource) = 0;
   6180 
   6181     virtual HRESULT STDMETHODCALLTYPE SetFontResource(
   6182         IXpsOMFontResource *fontResource) = 0;
   6183 
   6184     virtual HRESULT STDMETHODCALLTYPE GetFontFaceIndex(
   6185         SHORT *fontFaceIndex) = 0;
   6186 
   6187     virtual HRESULT STDMETHODCALLTYPE SetFontFaceIndex(
   6188         SHORT fontFaceIndex) = 0;
   6189 
   6190     virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
   6191         IXpsOMBrush **fillBrush) = 0;
   6192 
   6193     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
   6194         IXpsOMBrush **fillBrush) = 0;
   6195 
   6196     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
   6197         IXpsOMBrush *fillBrush) = 0;
   6198 
   6199     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
   6200         LPWSTR *key) = 0;
   6201 
   6202     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
   6203         LPCWSTR key) = 0;
   6204 
   6205     virtual HRESULT STDMETHODCALLTYPE GetGlyphsEditor(
   6206         IXpsOMGlyphsEditor **editor) = 0;
   6207 
   6208     virtual HRESULT STDMETHODCALLTYPE Clone(
   6209         IXpsOMGlyphs **glyphs) = 0;
   6210 
   6211 };
   6212 #ifdef __CRT_UUID_DECL
   6213 __CRT_UUID_DECL(IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2)
   6214 #endif
   6215 #else
   6216 typedef struct IXpsOMGlyphsVtbl {
   6217     BEGIN_INTERFACE
   6218 
   6219     /*** IUnknown methods ***/
   6220     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6221         IXpsOMGlyphs *This,
   6222         REFIID riid,
   6223         void **ppvObject);
   6224 
   6225     ULONG (STDMETHODCALLTYPE *AddRef)(
   6226         IXpsOMGlyphs *This);
   6227 
   6228     ULONG (STDMETHODCALLTYPE *Release)(
   6229         IXpsOMGlyphs *This);
   6230 
   6231     /*** IXpsOMShareable methods ***/
   6232     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   6233         IXpsOMGlyphs *This,
   6234         IUnknown **owner);
   6235 
   6236     HRESULT (STDMETHODCALLTYPE *GetType)(
   6237         IXpsOMGlyphs *This,
   6238         XPS_OBJECT_TYPE *type);
   6239 
   6240     /*** IXpsOMVisual methods ***/
   6241     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   6242         IXpsOMGlyphs *This,
   6243         IXpsOMMatrixTransform **matrixTransform);
   6244 
   6245     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   6246         IXpsOMGlyphs *This,
   6247         IXpsOMMatrixTransform **matrixTransform);
   6248 
   6249     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   6250         IXpsOMGlyphs *This,
   6251         IXpsOMMatrixTransform *matrixTransform);
   6252 
   6253     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   6254         IXpsOMGlyphs *This,
   6255         LPWSTR *key);
   6256 
   6257     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   6258         IXpsOMGlyphs *This,
   6259         LPCWSTR key);
   6260 
   6261     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   6262         IXpsOMGlyphs *This,
   6263         IXpsOMGeometry **clipGeometry);
   6264 
   6265     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   6266         IXpsOMGlyphs *This,
   6267         IXpsOMGeometry **clipGeometry);
   6268 
   6269     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   6270         IXpsOMGlyphs *This,
   6271         IXpsOMGeometry *clipGeometry);
   6272 
   6273     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   6274         IXpsOMGlyphs *This,
   6275         LPWSTR *key);
   6276 
   6277     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   6278         IXpsOMGlyphs *This,
   6279         LPCWSTR key);
   6280 
   6281     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   6282         IXpsOMGlyphs *This,
   6283         FLOAT *opacity);
   6284 
   6285     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   6286         IXpsOMGlyphs *This,
   6287         FLOAT opacity);
   6288 
   6289     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   6290         IXpsOMGlyphs *This,
   6291         IXpsOMBrush **opacityMaskBrush);
   6292 
   6293     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   6294         IXpsOMGlyphs *This,
   6295         IXpsOMBrush **opacityMaskBrush);
   6296 
   6297     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   6298         IXpsOMGlyphs *This,
   6299         IXpsOMBrush *opacityMaskBrush);
   6300 
   6301     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   6302         IXpsOMGlyphs *This,
   6303         LPWSTR *key);
   6304 
   6305     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   6306         IXpsOMGlyphs *This,
   6307         LPCWSTR key);
   6308 
   6309     HRESULT (STDMETHODCALLTYPE *GetName)(
   6310         IXpsOMGlyphs *This,
   6311         LPWSTR *name);
   6312 
   6313     HRESULT (STDMETHODCALLTYPE *SetName)(
   6314         IXpsOMGlyphs *This,
   6315         LPCWSTR name);
   6316 
   6317     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   6318         IXpsOMGlyphs *This,
   6319         WINBOOL *isHyperlink);
   6320 
   6321     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   6322         IXpsOMGlyphs *This,
   6323         WINBOOL isHyperlink);
   6324 
   6325     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   6326         IXpsOMGlyphs *This,
   6327         IUri **hyperlinkUri);
   6328 
   6329     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   6330         IXpsOMGlyphs *This,
   6331         IUri *hyperlinkUri);
   6332 
   6333     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   6334         IXpsOMGlyphs *This,
   6335         LPWSTR *language);
   6336 
   6337     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   6338         IXpsOMGlyphs *This,
   6339         LPCWSTR language);
   6340 
   6341     /*** IXpsOMGlyphs methods ***/
   6342     HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
   6343         IXpsOMGlyphs *This,
   6344         LPWSTR *unicodeString);
   6345 
   6346     HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
   6347         IXpsOMGlyphs *This,
   6348         UINT32 *indexCount);
   6349 
   6350     HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
   6351         IXpsOMGlyphs *This,
   6352         UINT32 *indexCount,
   6353         XPS_GLYPH_INDEX *glyphIndices);
   6354 
   6355     HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
   6356         IXpsOMGlyphs *This,
   6357         UINT32 *glyphMappingCount);
   6358 
   6359     HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
   6360         IXpsOMGlyphs *This,
   6361         UINT32 *glyphMappingCount,
   6362         XPS_GLYPH_MAPPING *glyphMappings);
   6363 
   6364     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
   6365         IXpsOMGlyphs *This,
   6366         UINT32 *prohibitedCaretStopCount);
   6367 
   6368     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
   6369         IXpsOMGlyphs *This,
   6370         UINT32 *prohibitedCaretStopCount,
   6371         UINT32 *prohibitedCaretStops);
   6372 
   6373     HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
   6374         IXpsOMGlyphs *This,
   6375         UINT32 *bidiLevel);
   6376 
   6377     HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
   6378         IXpsOMGlyphs *This,
   6379         WINBOOL *isSideways);
   6380 
   6381     HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
   6382         IXpsOMGlyphs *This,
   6383         LPWSTR *deviceFontName);
   6384 
   6385     HRESULT (STDMETHODCALLTYPE *GetStyleSimulations)(
   6386         IXpsOMGlyphs *This,
   6387         XPS_STYLE_SIMULATION *styleSimulations);
   6388 
   6389     HRESULT (STDMETHODCALLTYPE *SetStyleSimulations)(
   6390         IXpsOMGlyphs *This,
   6391         XPS_STYLE_SIMULATION styleSimulations);
   6392 
   6393     HRESULT (STDMETHODCALLTYPE *GetOrigin)(
   6394         IXpsOMGlyphs *This,
   6395         XPS_POINT *origin);
   6396 
   6397     HRESULT (STDMETHODCALLTYPE *SetOrigin)(
   6398         IXpsOMGlyphs *This,
   6399         const XPS_POINT *origin);
   6400 
   6401     HRESULT (STDMETHODCALLTYPE *GetFontRenderingEmSize)(
   6402         IXpsOMGlyphs *This,
   6403         FLOAT *fontRenderingEmSize);
   6404 
   6405     HRESULT (STDMETHODCALLTYPE *SetFontRenderingEmSize)(
   6406         IXpsOMGlyphs *This,
   6407         FLOAT fontRenderingEmSize);
   6408 
   6409     HRESULT (STDMETHODCALLTYPE *GetFontResource)(
   6410         IXpsOMGlyphs *This,
   6411         IXpsOMFontResource **fontResource);
   6412 
   6413     HRESULT (STDMETHODCALLTYPE *SetFontResource)(
   6414         IXpsOMGlyphs *This,
   6415         IXpsOMFontResource *fontResource);
   6416 
   6417     HRESULT (STDMETHODCALLTYPE *GetFontFaceIndex)(
   6418         IXpsOMGlyphs *This,
   6419         SHORT *fontFaceIndex);
   6420 
   6421     HRESULT (STDMETHODCALLTYPE *SetFontFaceIndex)(
   6422         IXpsOMGlyphs *This,
   6423         SHORT fontFaceIndex);
   6424 
   6425     HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
   6426         IXpsOMGlyphs *This,
   6427         IXpsOMBrush **fillBrush);
   6428 
   6429     HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
   6430         IXpsOMGlyphs *This,
   6431         IXpsOMBrush **fillBrush);
   6432 
   6433     HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
   6434         IXpsOMGlyphs *This,
   6435         IXpsOMBrush *fillBrush);
   6436 
   6437     HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
   6438         IXpsOMGlyphs *This,
   6439         LPWSTR *key);
   6440 
   6441     HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
   6442         IXpsOMGlyphs *This,
   6443         LPCWSTR key);
   6444 
   6445     HRESULT (STDMETHODCALLTYPE *GetGlyphsEditor)(
   6446         IXpsOMGlyphs *This,
   6447         IXpsOMGlyphsEditor **editor);
   6448 
   6449     HRESULT (STDMETHODCALLTYPE *Clone)(
   6450         IXpsOMGlyphs *This,
   6451         IXpsOMGlyphs **glyphs);
   6452 
   6453     END_INTERFACE
   6454 } IXpsOMGlyphsVtbl;
   6455 
   6456 interface IXpsOMGlyphs {
   6457     CONST_VTBL IXpsOMGlyphsVtbl* lpVtbl;
   6458 };
   6459 
   6460 #ifdef COBJMACROS
   6461 #ifndef WIDL_C_INLINE_WRAPPERS
   6462 /*** IUnknown methods ***/
   6463 #define IXpsOMGlyphs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6464 #define IXpsOMGlyphs_AddRef(This) (This)->lpVtbl->AddRef(This)
   6465 #define IXpsOMGlyphs_Release(This) (This)->lpVtbl->Release(This)
   6466 /*** IXpsOMShareable methods ***/
   6467 #define IXpsOMGlyphs_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   6468 #define IXpsOMGlyphs_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   6469 /*** IXpsOMVisual methods ***/
   6470 #define IXpsOMGlyphs_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   6471 #define IXpsOMGlyphs_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   6472 #define IXpsOMGlyphs_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   6473 #define IXpsOMGlyphs_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   6474 #define IXpsOMGlyphs_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   6475 #define IXpsOMGlyphs_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   6476 #define IXpsOMGlyphs_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   6477 #define IXpsOMGlyphs_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   6478 #define IXpsOMGlyphs_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   6479 #define IXpsOMGlyphs_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   6480 #define IXpsOMGlyphs_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   6481 #define IXpsOMGlyphs_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   6482 #define IXpsOMGlyphs_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   6483 #define IXpsOMGlyphs_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   6484 #define IXpsOMGlyphs_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   6485 #define IXpsOMGlyphs_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   6486 #define IXpsOMGlyphs_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   6487 #define IXpsOMGlyphs_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   6488 #define IXpsOMGlyphs_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   6489 #define IXpsOMGlyphs_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   6490 #define IXpsOMGlyphs_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   6491 #define IXpsOMGlyphs_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   6492 #define IXpsOMGlyphs_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   6493 #define IXpsOMGlyphs_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   6494 #define IXpsOMGlyphs_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   6495 /*** IXpsOMGlyphs methods ***/
   6496 #define IXpsOMGlyphs_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
   6497 #define IXpsOMGlyphs_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
   6498 #define IXpsOMGlyphs_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
   6499 #define IXpsOMGlyphs_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
   6500 #define IXpsOMGlyphs_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
   6501 #define IXpsOMGlyphs_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
   6502 #define IXpsOMGlyphs_GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops)
   6503 #define IXpsOMGlyphs_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
   6504 #define IXpsOMGlyphs_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
   6505 #define IXpsOMGlyphs_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
   6506 #define IXpsOMGlyphs_GetStyleSimulations(This,styleSimulations) (This)->lpVtbl->GetStyleSimulations(This,styleSimulations)
   6507 #define IXpsOMGlyphs_SetStyleSimulations(This,styleSimulations) (This)->lpVtbl->SetStyleSimulations(This,styleSimulations)
   6508 #define IXpsOMGlyphs_GetOrigin(This,origin) (This)->lpVtbl->GetOrigin(This,origin)
   6509 #define IXpsOMGlyphs_SetOrigin(This,origin) (This)->lpVtbl->SetOrigin(This,origin)
   6510 #define IXpsOMGlyphs_GetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize)
   6511 #define IXpsOMGlyphs_SetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize)
   6512 #define IXpsOMGlyphs_GetFontResource(This,fontResource) (This)->lpVtbl->GetFontResource(This,fontResource)
   6513 #define IXpsOMGlyphs_SetFontResource(This,fontResource) (This)->lpVtbl->SetFontResource(This,fontResource)
   6514 #define IXpsOMGlyphs_GetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->GetFontFaceIndex(This,fontFaceIndex)
   6515 #define IXpsOMGlyphs_SetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->SetFontFaceIndex(This,fontFaceIndex)
   6516 #define IXpsOMGlyphs_GetFillBrush(This,fillBrush) (This)->lpVtbl->GetFillBrush(This,fillBrush)
   6517 #define IXpsOMGlyphs_GetFillBrushLocal(This,fillBrush) (This)->lpVtbl->GetFillBrushLocal(This,fillBrush)
   6518 #define IXpsOMGlyphs_SetFillBrushLocal(This,fillBrush) (This)->lpVtbl->SetFillBrushLocal(This,fillBrush)
   6519 #define IXpsOMGlyphs_GetFillBrushLookup(This,key) (This)->lpVtbl->GetFillBrushLookup(This,key)
   6520 #define IXpsOMGlyphs_SetFillBrushLookup(This,key) (This)->lpVtbl->SetFillBrushLookup(This,key)
   6521 #define IXpsOMGlyphs_GetGlyphsEditor(This,editor) (This)->lpVtbl->GetGlyphsEditor(This,editor)
   6522 #define IXpsOMGlyphs_Clone(This,glyphs) (This)->lpVtbl->Clone(This,glyphs)
   6523 #else
   6524 /*** IUnknown methods ***/
   6525 static inline HRESULT IXpsOMGlyphs_QueryInterface(IXpsOMGlyphs* This,REFIID riid,void **ppvObject) {
   6526     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6527 }
   6528 static inline ULONG IXpsOMGlyphs_AddRef(IXpsOMGlyphs* This) {
   6529     return This->lpVtbl->AddRef(This);
   6530 }
   6531 static inline ULONG IXpsOMGlyphs_Release(IXpsOMGlyphs* This) {
   6532     return This->lpVtbl->Release(This);
   6533 }
   6534 /*** IXpsOMShareable methods ***/
   6535 static inline HRESULT IXpsOMGlyphs_GetOwner(IXpsOMGlyphs* This,IUnknown **owner) {
   6536     return This->lpVtbl->GetOwner(This,owner);
   6537 }
   6538 static inline HRESULT IXpsOMGlyphs_GetType(IXpsOMGlyphs* This,XPS_OBJECT_TYPE *type) {
   6539     return This->lpVtbl->GetType(This,type);
   6540 }
   6541 /*** IXpsOMVisual methods ***/
   6542 static inline HRESULT IXpsOMGlyphs_GetTransform(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
   6543     return This->lpVtbl->GetTransform(This,matrixTransform);
   6544 }
   6545 static inline HRESULT IXpsOMGlyphs_GetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
   6546     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   6547 }
   6548 static inline HRESULT IXpsOMGlyphs_SetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform *matrixTransform) {
   6549     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   6550 }
   6551 static inline HRESULT IXpsOMGlyphs_GetTransformLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   6552     return This->lpVtbl->GetTransformLookup(This,key);
   6553 }
   6554 static inline HRESULT IXpsOMGlyphs_SetTransformLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   6555     return This->lpVtbl->SetTransformLookup(This,key);
   6556 }
   6557 static inline HRESULT IXpsOMGlyphs_GetClipGeometry(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
   6558     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   6559 }
   6560 static inline HRESULT IXpsOMGlyphs_GetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
   6561     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   6562 }
   6563 static inline HRESULT IXpsOMGlyphs_SetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry *clipGeometry) {
   6564     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   6565 }
   6566 static inline HRESULT IXpsOMGlyphs_GetClipGeometryLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   6567     return This->lpVtbl->GetClipGeometryLookup(This,key);
   6568 }
   6569 static inline HRESULT IXpsOMGlyphs_SetClipGeometryLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   6570     return This->lpVtbl->SetClipGeometryLookup(This,key);
   6571 }
   6572 static inline HRESULT IXpsOMGlyphs_GetOpacity(IXpsOMGlyphs* This,FLOAT *opacity) {
   6573     return This->lpVtbl->GetOpacity(This,opacity);
   6574 }
   6575 static inline HRESULT IXpsOMGlyphs_SetOpacity(IXpsOMGlyphs* This,FLOAT opacity) {
   6576     return This->lpVtbl->SetOpacity(This,opacity);
   6577 }
   6578 static inline HRESULT IXpsOMGlyphs_GetOpacityMaskBrush(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
   6579     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   6580 }
   6581 static inline HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
   6582     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   6583 }
   6584 static inline HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *opacityMaskBrush) {
   6585     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   6586 }
   6587 static inline HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   6588     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   6589 }
   6590 static inline HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   6591     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   6592 }
   6593 static inline HRESULT IXpsOMGlyphs_GetName(IXpsOMGlyphs* This,LPWSTR *name) {
   6594     return This->lpVtbl->GetName(This,name);
   6595 }
   6596 static inline HRESULT IXpsOMGlyphs_SetName(IXpsOMGlyphs* This,LPCWSTR name) {
   6597     return This->lpVtbl->SetName(This,name);
   6598 }
   6599 static inline HRESULT IXpsOMGlyphs_GetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL *isHyperlink) {
   6600     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   6601 }
   6602 static inline HRESULT IXpsOMGlyphs_SetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL isHyperlink) {
   6603     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   6604 }
   6605 static inline HRESULT IXpsOMGlyphs_GetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri **hyperlinkUri) {
   6606     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   6607 }
   6608 static inline HRESULT IXpsOMGlyphs_SetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri *hyperlinkUri) {
   6609     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   6610 }
   6611 static inline HRESULT IXpsOMGlyphs_GetLanguage(IXpsOMGlyphs* This,LPWSTR *language) {
   6612     return This->lpVtbl->GetLanguage(This,language);
   6613 }
   6614 static inline HRESULT IXpsOMGlyphs_SetLanguage(IXpsOMGlyphs* This,LPCWSTR language) {
   6615     return This->lpVtbl->SetLanguage(This,language);
   6616 }
   6617 /*** IXpsOMGlyphs methods ***/
   6618 static inline HRESULT IXpsOMGlyphs_GetUnicodeString(IXpsOMGlyphs* This,LPWSTR *unicodeString) {
   6619     return This->lpVtbl->GetUnicodeString(This,unicodeString);
   6620 }
   6621 static inline HRESULT IXpsOMGlyphs_GetGlyphIndexCount(IXpsOMGlyphs* This,UINT32 *indexCount) {
   6622     return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
   6623 }
   6624 static inline HRESULT IXpsOMGlyphs_GetGlyphIndices(IXpsOMGlyphs* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
   6625     return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
   6626 }
   6627 static inline HRESULT IXpsOMGlyphs_GetGlyphMappingCount(IXpsOMGlyphs* This,UINT32 *glyphMappingCount) {
   6628     return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
   6629 }
   6630 static inline HRESULT IXpsOMGlyphs_GetGlyphMappings(IXpsOMGlyphs* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
   6631     return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
   6632 }
   6633 static inline HRESULT IXpsOMGlyphs_GetProhibitedCaretStopCount(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount) {
   6634     return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
   6635 }
   6636 static inline HRESULT IXpsOMGlyphs_GetProhibitedCaretStops(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount,UINT32 *prohibitedCaretStops) {
   6637     return This->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops);
   6638 }
   6639 static inline HRESULT IXpsOMGlyphs_GetBidiLevel(IXpsOMGlyphs* This,UINT32 *bidiLevel) {
   6640     return This->lpVtbl->GetBidiLevel(This,bidiLevel);
   6641 }
   6642 static inline HRESULT IXpsOMGlyphs_GetIsSideways(IXpsOMGlyphs* This,WINBOOL *isSideways) {
   6643     return This->lpVtbl->GetIsSideways(This,isSideways);
   6644 }
   6645 static inline HRESULT IXpsOMGlyphs_GetDeviceFontName(IXpsOMGlyphs* This,LPWSTR *deviceFontName) {
   6646     return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
   6647 }
   6648 static inline HRESULT IXpsOMGlyphs_GetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION *styleSimulations) {
   6649     return This->lpVtbl->GetStyleSimulations(This,styleSimulations);
   6650 }
   6651 static inline HRESULT IXpsOMGlyphs_SetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION styleSimulations) {
   6652     return This->lpVtbl->SetStyleSimulations(This,styleSimulations);
   6653 }
   6654 static inline HRESULT IXpsOMGlyphs_GetOrigin(IXpsOMGlyphs* This,XPS_POINT *origin) {
   6655     return This->lpVtbl->GetOrigin(This,origin);
   6656 }
   6657 static inline HRESULT IXpsOMGlyphs_SetOrigin(IXpsOMGlyphs* This,const XPS_POINT *origin) {
   6658     return This->lpVtbl->SetOrigin(This,origin);
   6659 }
   6660 static inline HRESULT IXpsOMGlyphs_GetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT *fontRenderingEmSize) {
   6661     return This->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize);
   6662 }
   6663 static inline HRESULT IXpsOMGlyphs_SetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT fontRenderingEmSize) {
   6664     return This->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize);
   6665 }
   6666 static inline HRESULT IXpsOMGlyphs_GetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource **fontResource) {
   6667     return This->lpVtbl->GetFontResource(This,fontResource);
   6668 }
   6669 static inline HRESULT IXpsOMGlyphs_SetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource *fontResource) {
   6670     return This->lpVtbl->SetFontResource(This,fontResource);
   6671 }
   6672 static inline HRESULT IXpsOMGlyphs_GetFontFaceIndex(IXpsOMGlyphs* This,SHORT *fontFaceIndex) {
   6673     return This->lpVtbl->GetFontFaceIndex(This,fontFaceIndex);
   6674 }
   6675 static inline HRESULT IXpsOMGlyphs_SetFontFaceIndex(IXpsOMGlyphs* This,SHORT fontFaceIndex) {
   6676     return This->lpVtbl->SetFontFaceIndex(This,fontFaceIndex);
   6677 }
   6678 static inline HRESULT IXpsOMGlyphs_GetFillBrush(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
   6679     return This->lpVtbl->GetFillBrush(This,fillBrush);
   6680 }
   6681 static inline HRESULT IXpsOMGlyphs_GetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
   6682     return This->lpVtbl->GetFillBrushLocal(This,fillBrush);
   6683 }
   6684 static inline HRESULT IXpsOMGlyphs_SetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *fillBrush) {
   6685     return This->lpVtbl->SetFillBrushLocal(This,fillBrush);
   6686 }
   6687 static inline HRESULT IXpsOMGlyphs_GetFillBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   6688     return This->lpVtbl->GetFillBrushLookup(This,key);
   6689 }
   6690 static inline HRESULT IXpsOMGlyphs_SetFillBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   6691     return This->lpVtbl->SetFillBrushLookup(This,key);
   6692 }
   6693 static inline HRESULT IXpsOMGlyphs_GetGlyphsEditor(IXpsOMGlyphs* This,IXpsOMGlyphsEditor **editor) {
   6694     return This->lpVtbl->GetGlyphsEditor(This,editor);
   6695 }
   6696 static inline HRESULT IXpsOMGlyphs_Clone(IXpsOMGlyphs* This,IXpsOMGlyphs **glyphs) {
   6697     return This->lpVtbl->Clone(This,glyphs);
   6698 }
   6699 #endif
   6700 #endif
   6701 
   6702 #endif
   6703 
   6704 
   6705 #endif  /* __IXpsOMGlyphs_INTERFACE_DEFINED__ */
   6706 
   6707 /*****************************************************************************
   6708  * IXpsOMPath interface
   6709  */
   6710 #ifndef __IXpsOMPath_INTERFACE_DEFINED__
   6711 #define __IXpsOMPath_INTERFACE_DEFINED__
   6712 
   6713 DEFINE_GUID(IID_IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37);
   6714 #if defined(__cplusplus) && !defined(CINTERFACE)
   6715 MIDL_INTERFACE("37d38bb6-3ee9-4110-9312-14b194163337")
   6716 IXpsOMPath : public IXpsOMVisual
   6717 {
   6718     virtual HRESULT STDMETHODCALLTYPE GetGeometry(
   6719         IXpsOMGeometry **geometry) = 0;
   6720 
   6721     virtual HRESULT STDMETHODCALLTYPE GetGeometryLocal(
   6722         IXpsOMGeometry **geometry) = 0;
   6723 
   6724     virtual HRESULT STDMETHODCALLTYPE SetGeometryLocal(
   6725         IXpsOMGeometry *geometry) = 0;
   6726 
   6727     virtual HRESULT STDMETHODCALLTYPE GetGeometryLookup(
   6728         LPWSTR *lookup) = 0;
   6729 
   6730     virtual HRESULT STDMETHODCALLTYPE SetGeometryLookup(
   6731         LPCWSTR lookup) = 0;
   6732 
   6733     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
   6734         LPWSTR *shortDescription) = 0;
   6735 
   6736     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
   6737         LPCWSTR shortDescription) = 0;
   6738 
   6739     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
   6740         LPWSTR *longDescription) = 0;
   6741 
   6742     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
   6743         LPCWSTR longDescription) = 0;
   6744 
   6745     virtual HRESULT STDMETHODCALLTYPE GetSnapsToPixels(
   6746         WINBOOL *snapsToPixels) = 0;
   6747 
   6748     virtual HRESULT STDMETHODCALLTYPE SetSnapsToPixels(
   6749         WINBOOL snapsToPixels) = 0;
   6750 
   6751     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrush(
   6752         IXpsOMBrush **brush) = 0;
   6753 
   6754     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLocal(
   6755         IXpsOMBrush **brush) = 0;
   6756 
   6757     virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLocal(
   6758         IXpsOMBrush *brush) = 0;
   6759 
   6760     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLookup(
   6761         LPWSTR *lookup) = 0;
   6762 
   6763     virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLookup(
   6764         LPCWSTR lookup) = 0;
   6765 
   6766     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashes(
   6767         IXpsOMDashCollection **strokeDashes) = 0;
   6768 
   6769     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashCap(
   6770         XPS_DASH_CAP *strokeDashCap) = 0;
   6771 
   6772     virtual HRESULT STDMETHODCALLTYPE SetStrokeDashCap(
   6773         XPS_DASH_CAP strokeDashCap) = 0;
   6774 
   6775     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashOffset(
   6776         FLOAT *strokeDashOffset) = 0;
   6777 
   6778     virtual HRESULT STDMETHODCALLTYPE SetStrokeDashOffset(
   6779         FLOAT strokeDashOffset) = 0;
   6780 
   6781     virtual HRESULT STDMETHODCALLTYPE GetStrokeStartLineCap(
   6782         XPS_LINE_CAP *strokeStartLineCap) = 0;
   6783 
   6784     virtual HRESULT STDMETHODCALLTYPE SetStrokeStartLineCap(
   6785         XPS_LINE_CAP strokeStartLineCap) = 0;
   6786 
   6787     virtual HRESULT STDMETHODCALLTYPE GetStrokeEndLineCap(
   6788         XPS_LINE_CAP *strokeEndLineCap) = 0;
   6789 
   6790     virtual HRESULT STDMETHODCALLTYPE SetStrokeEndLineCap(
   6791         XPS_LINE_CAP strokeEndLineCap) = 0;
   6792 
   6793     virtual HRESULT STDMETHODCALLTYPE GetStrokeLineJoin(
   6794         XPS_LINE_JOIN *strokeLineJoin) = 0;
   6795 
   6796     virtual HRESULT STDMETHODCALLTYPE SetStrokeLineJoin(
   6797         XPS_LINE_JOIN strokeLineJoin) = 0;
   6798 
   6799     virtual HRESULT STDMETHODCALLTYPE GetStrokeMiterLimit(
   6800         FLOAT *strokeMiterLimit) = 0;
   6801 
   6802     virtual HRESULT STDMETHODCALLTYPE SetStrokeMiterLimit(
   6803         FLOAT strokeMiterLimit) = 0;
   6804 
   6805     virtual HRESULT STDMETHODCALLTYPE GetStrokeThickness(
   6806         FLOAT *strokeThickness) = 0;
   6807 
   6808     virtual HRESULT STDMETHODCALLTYPE SetStrokeThickness(
   6809         FLOAT strokeThickness) = 0;
   6810 
   6811     virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
   6812         IXpsOMBrush **brush) = 0;
   6813 
   6814     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
   6815         IXpsOMBrush **brush) = 0;
   6816 
   6817     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
   6818         IXpsOMBrush *brush) = 0;
   6819 
   6820     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
   6821         LPWSTR *lookup) = 0;
   6822 
   6823     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
   6824         LPCWSTR lookup) = 0;
   6825 
   6826     virtual HRESULT STDMETHODCALLTYPE Clone(
   6827         IXpsOMPath **path) = 0;
   6828 
   6829 };
   6830 #ifdef __CRT_UUID_DECL
   6831 __CRT_UUID_DECL(IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37)
   6832 #endif
   6833 #else
   6834 typedef struct IXpsOMPathVtbl {
   6835     BEGIN_INTERFACE
   6836 
   6837     /*** IUnknown methods ***/
   6838     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6839         IXpsOMPath *This,
   6840         REFIID riid,
   6841         void **ppvObject);
   6842 
   6843     ULONG (STDMETHODCALLTYPE *AddRef)(
   6844         IXpsOMPath *This);
   6845 
   6846     ULONG (STDMETHODCALLTYPE *Release)(
   6847         IXpsOMPath *This);
   6848 
   6849     /*** IXpsOMShareable methods ***/
   6850     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   6851         IXpsOMPath *This,
   6852         IUnknown **owner);
   6853 
   6854     HRESULT (STDMETHODCALLTYPE *GetType)(
   6855         IXpsOMPath *This,
   6856         XPS_OBJECT_TYPE *type);
   6857 
   6858     /*** IXpsOMVisual methods ***/
   6859     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   6860         IXpsOMPath *This,
   6861         IXpsOMMatrixTransform **matrixTransform);
   6862 
   6863     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   6864         IXpsOMPath *This,
   6865         IXpsOMMatrixTransform **matrixTransform);
   6866 
   6867     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   6868         IXpsOMPath *This,
   6869         IXpsOMMatrixTransform *matrixTransform);
   6870 
   6871     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   6872         IXpsOMPath *This,
   6873         LPWSTR *key);
   6874 
   6875     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   6876         IXpsOMPath *This,
   6877         LPCWSTR key);
   6878 
   6879     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   6880         IXpsOMPath *This,
   6881         IXpsOMGeometry **clipGeometry);
   6882 
   6883     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   6884         IXpsOMPath *This,
   6885         IXpsOMGeometry **clipGeometry);
   6886 
   6887     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   6888         IXpsOMPath *This,
   6889         IXpsOMGeometry *clipGeometry);
   6890 
   6891     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   6892         IXpsOMPath *This,
   6893         LPWSTR *key);
   6894 
   6895     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   6896         IXpsOMPath *This,
   6897         LPCWSTR key);
   6898 
   6899     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   6900         IXpsOMPath *This,
   6901         FLOAT *opacity);
   6902 
   6903     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   6904         IXpsOMPath *This,
   6905         FLOAT opacity);
   6906 
   6907     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   6908         IXpsOMPath *This,
   6909         IXpsOMBrush **opacityMaskBrush);
   6910 
   6911     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   6912         IXpsOMPath *This,
   6913         IXpsOMBrush **opacityMaskBrush);
   6914 
   6915     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   6916         IXpsOMPath *This,
   6917         IXpsOMBrush *opacityMaskBrush);
   6918 
   6919     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   6920         IXpsOMPath *This,
   6921         LPWSTR *key);
   6922 
   6923     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   6924         IXpsOMPath *This,
   6925         LPCWSTR key);
   6926 
   6927     HRESULT (STDMETHODCALLTYPE *GetName)(
   6928         IXpsOMPath *This,
   6929         LPWSTR *name);
   6930 
   6931     HRESULT (STDMETHODCALLTYPE *SetName)(
   6932         IXpsOMPath *This,
   6933         LPCWSTR name);
   6934 
   6935     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   6936         IXpsOMPath *This,
   6937         WINBOOL *isHyperlink);
   6938 
   6939     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   6940         IXpsOMPath *This,
   6941         WINBOOL isHyperlink);
   6942 
   6943     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   6944         IXpsOMPath *This,
   6945         IUri **hyperlinkUri);
   6946 
   6947     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   6948         IXpsOMPath *This,
   6949         IUri *hyperlinkUri);
   6950 
   6951     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   6952         IXpsOMPath *This,
   6953         LPWSTR *language);
   6954 
   6955     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   6956         IXpsOMPath *This,
   6957         LPCWSTR language);
   6958 
   6959     /*** IXpsOMPath methods ***/
   6960     HRESULT (STDMETHODCALLTYPE *GetGeometry)(
   6961         IXpsOMPath *This,
   6962         IXpsOMGeometry **geometry);
   6963 
   6964     HRESULT (STDMETHODCALLTYPE *GetGeometryLocal)(
   6965         IXpsOMPath *This,
   6966         IXpsOMGeometry **geometry);
   6967 
   6968     HRESULT (STDMETHODCALLTYPE *SetGeometryLocal)(
   6969         IXpsOMPath *This,
   6970         IXpsOMGeometry *geometry);
   6971 
   6972     HRESULT (STDMETHODCALLTYPE *GetGeometryLookup)(
   6973         IXpsOMPath *This,
   6974         LPWSTR *lookup);
   6975 
   6976     HRESULT (STDMETHODCALLTYPE *SetGeometryLookup)(
   6977         IXpsOMPath *This,
   6978         LPCWSTR lookup);
   6979 
   6980     HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
   6981         IXpsOMPath *This,
   6982         LPWSTR *shortDescription);
   6983 
   6984     HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
   6985         IXpsOMPath *This,
   6986         LPCWSTR shortDescription);
   6987 
   6988     HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
   6989         IXpsOMPath *This,
   6990         LPWSTR *longDescription);
   6991 
   6992     HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
   6993         IXpsOMPath *This,
   6994         LPCWSTR longDescription);
   6995 
   6996     HRESULT (STDMETHODCALLTYPE *GetSnapsToPixels)(
   6997         IXpsOMPath *This,
   6998         WINBOOL *snapsToPixels);
   6999 
   7000     HRESULT (STDMETHODCALLTYPE *SetSnapsToPixels)(
   7001         IXpsOMPath *This,
   7002         WINBOOL snapsToPixels);
   7003 
   7004     HRESULT (STDMETHODCALLTYPE *GetStrokeBrush)(
   7005         IXpsOMPath *This,
   7006         IXpsOMBrush **brush);
   7007 
   7008     HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLocal)(
   7009         IXpsOMPath *This,
   7010         IXpsOMBrush **brush);
   7011 
   7012     HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLocal)(
   7013         IXpsOMPath *This,
   7014         IXpsOMBrush *brush);
   7015 
   7016     HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLookup)(
   7017         IXpsOMPath *This,
   7018         LPWSTR *lookup);
   7019 
   7020     HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLookup)(
   7021         IXpsOMPath *This,
   7022         LPCWSTR lookup);
   7023 
   7024     HRESULT (STDMETHODCALLTYPE *GetStrokeDashes)(
   7025         IXpsOMPath *This,
   7026         IXpsOMDashCollection **strokeDashes);
   7027 
   7028     HRESULT (STDMETHODCALLTYPE *GetStrokeDashCap)(
   7029         IXpsOMPath *This,
   7030         XPS_DASH_CAP *strokeDashCap);
   7031 
   7032     HRESULT (STDMETHODCALLTYPE *SetStrokeDashCap)(
   7033         IXpsOMPath *This,
   7034         XPS_DASH_CAP strokeDashCap);
   7035 
   7036     HRESULT (STDMETHODCALLTYPE *GetStrokeDashOffset)(
   7037         IXpsOMPath *This,
   7038         FLOAT *strokeDashOffset);
   7039 
   7040     HRESULT (STDMETHODCALLTYPE *SetStrokeDashOffset)(
   7041         IXpsOMPath *This,
   7042         FLOAT strokeDashOffset);
   7043 
   7044     HRESULT (STDMETHODCALLTYPE *GetStrokeStartLineCap)(
   7045         IXpsOMPath *This,
   7046         XPS_LINE_CAP *strokeStartLineCap);
   7047 
   7048     HRESULT (STDMETHODCALLTYPE *SetStrokeStartLineCap)(
   7049         IXpsOMPath *This,
   7050         XPS_LINE_CAP strokeStartLineCap);
   7051 
   7052     HRESULT (STDMETHODCALLTYPE *GetStrokeEndLineCap)(
   7053         IXpsOMPath *This,
   7054         XPS_LINE_CAP *strokeEndLineCap);
   7055 
   7056     HRESULT (STDMETHODCALLTYPE *SetStrokeEndLineCap)(
   7057         IXpsOMPath *This,
   7058         XPS_LINE_CAP strokeEndLineCap);
   7059 
   7060     HRESULT (STDMETHODCALLTYPE *GetStrokeLineJoin)(
   7061         IXpsOMPath *This,
   7062         XPS_LINE_JOIN *strokeLineJoin);
   7063 
   7064     HRESULT (STDMETHODCALLTYPE *SetStrokeLineJoin)(
   7065         IXpsOMPath *This,
   7066         XPS_LINE_JOIN strokeLineJoin);
   7067 
   7068     HRESULT (STDMETHODCALLTYPE *GetStrokeMiterLimit)(
   7069         IXpsOMPath *This,
   7070         FLOAT *strokeMiterLimit);
   7071 
   7072     HRESULT (STDMETHODCALLTYPE *SetStrokeMiterLimit)(
   7073         IXpsOMPath *This,
   7074         FLOAT strokeMiterLimit);
   7075 
   7076     HRESULT (STDMETHODCALLTYPE *GetStrokeThickness)(
   7077         IXpsOMPath *This,
   7078         FLOAT *strokeThickness);
   7079 
   7080     HRESULT (STDMETHODCALLTYPE *SetStrokeThickness)(
   7081         IXpsOMPath *This,
   7082         FLOAT strokeThickness);
   7083 
   7084     HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
   7085         IXpsOMPath *This,
   7086         IXpsOMBrush **brush);
   7087 
   7088     HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
   7089         IXpsOMPath *This,
   7090         IXpsOMBrush **brush);
   7091 
   7092     HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
   7093         IXpsOMPath *This,
   7094         IXpsOMBrush *brush);
   7095 
   7096     HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
   7097         IXpsOMPath *This,
   7098         LPWSTR *lookup);
   7099 
   7100     HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
   7101         IXpsOMPath *This,
   7102         LPCWSTR lookup);
   7103 
   7104     HRESULT (STDMETHODCALLTYPE *Clone)(
   7105         IXpsOMPath *This,
   7106         IXpsOMPath **path);
   7107 
   7108     END_INTERFACE
   7109 } IXpsOMPathVtbl;
   7110 
   7111 interface IXpsOMPath {
   7112     CONST_VTBL IXpsOMPathVtbl* lpVtbl;
   7113 };
   7114 
   7115 #ifdef COBJMACROS
   7116 #ifndef WIDL_C_INLINE_WRAPPERS
   7117 /*** IUnknown methods ***/
   7118 #define IXpsOMPath_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7119 #define IXpsOMPath_AddRef(This) (This)->lpVtbl->AddRef(This)
   7120 #define IXpsOMPath_Release(This) (This)->lpVtbl->Release(This)
   7121 /*** IXpsOMShareable methods ***/
   7122 #define IXpsOMPath_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7123 #define IXpsOMPath_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7124 /*** IXpsOMVisual methods ***/
   7125 #define IXpsOMPath_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   7126 #define IXpsOMPath_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   7127 #define IXpsOMPath_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   7128 #define IXpsOMPath_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   7129 #define IXpsOMPath_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   7130 #define IXpsOMPath_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   7131 #define IXpsOMPath_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   7132 #define IXpsOMPath_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   7133 #define IXpsOMPath_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   7134 #define IXpsOMPath_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   7135 #define IXpsOMPath_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7136 #define IXpsOMPath_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7137 #define IXpsOMPath_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   7138 #define IXpsOMPath_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   7139 #define IXpsOMPath_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   7140 #define IXpsOMPath_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   7141 #define IXpsOMPath_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   7142 #define IXpsOMPath_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   7143 #define IXpsOMPath_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   7144 #define IXpsOMPath_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   7145 #define IXpsOMPath_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   7146 #define IXpsOMPath_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   7147 #define IXpsOMPath_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   7148 #define IXpsOMPath_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   7149 #define IXpsOMPath_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   7150 /*** IXpsOMPath methods ***/
   7151 #define IXpsOMPath_GetGeometry(This,geometry) (This)->lpVtbl->GetGeometry(This,geometry)
   7152 #define IXpsOMPath_GetGeometryLocal(This,geometry) (This)->lpVtbl->GetGeometryLocal(This,geometry)
   7153 #define IXpsOMPath_SetGeometryLocal(This,geometry) (This)->lpVtbl->SetGeometryLocal(This,geometry)
   7154 #define IXpsOMPath_GetGeometryLookup(This,lookup) (This)->lpVtbl->GetGeometryLookup(This,lookup)
   7155 #define IXpsOMPath_SetGeometryLookup(This,lookup) (This)->lpVtbl->SetGeometryLookup(This,lookup)
   7156 #define IXpsOMPath_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
   7157 #define IXpsOMPath_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
   7158 #define IXpsOMPath_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
   7159 #define IXpsOMPath_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
   7160 #define IXpsOMPath_GetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->GetSnapsToPixels(This,snapsToPixels)
   7161 #define IXpsOMPath_SetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->SetSnapsToPixels(This,snapsToPixels)
   7162 #define IXpsOMPath_GetStrokeBrush(This,brush) (This)->lpVtbl->GetStrokeBrush(This,brush)
   7163 #define IXpsOMPath_GetStrokeBrushLocal(This,brush) (This)->lpVtbl->GetStrokeBrushLocal(This,brush)
   7164 #define IXpsOMPath_SetStrokeBrushLocal(This,brush) (This)->lpVtbl->SetStrokeBrushLocal(This,brush)
   7165 #define IXpsOMPath_GetStrokeBrushLookup(This,lookup) (This)->lpVtbl->GetStrokeBrushLookup(This,lookup)
   7166 #define IXpsOMPath_SetStrokeBrushLookup(This,lookup) (This)->lpVtbl->SetStrokeBrushLookup(This,lookup)
   7167 #define IXpsOMPath_GetStrokeDashes(This,strokeDashes) (This)->lpVtbl->GetStrokeDashes(This,strokeDashes)
   7168 #define IXpsOMPath_GetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->GetStrokeDashCap(This,strokeDashCap)
   7169 #define IXpsOMPath_SetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->SetStrokeDashCap(This,strokeDashCap)
   7170 #define IXpsOMPath_GetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset)
   7171 #define IXpsOMPath_SetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset)
   7172 #define IXpsOMPath_GetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap)
   7173 #define IXpsOMPath_SetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap)
   7174 #define IXpsOMPath_GetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap)
   7175 #define IXpsOMPath_SetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap)
   7176 #define IXpsOMPath_GetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin)
   7177 #define IXpsOMPath_SetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin)
   7178 #define IXpsOMPath_GetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit)
   7179 #define IXpsOMPath_SetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit)
   7180 #define IXpsOMPath_GetStrokeThickness(This,strokeThickness) (This)->lpVtbl->GetStrokeThickness(This,strokeThickness)
   7181 #define IXpsOMPath_SetStrokeThickness(This,strokeThickness) (This)->lpVtbl->SetStrokeThickness(This,strokeThickness)
   7182 #define IXpsOMPath_GetFillBrush(This,brush) (This)->lpVtbl->GetFillBrush(This,brush)
   7183 #define IXpsOMPath_GetFillBrushLocal(This,brush) (This)->lpVtbl->GetFillBrushLocal(This,brush)
   7184 #define IXpsOMPath_SetFillBrushLocal(This,brush) (This)->lpVtbl->SetFillBrushLocal(This,brush)
   7185 #define IXpsOMPath_GetFillBrushLookup(This,lookup) (This)->lpVtbl->GetFillBrushLookup(This,lookup)
   7186 #define IXpsOMPath_SetFillBrushLookup(This,lookup) (This)->lpVtbl->SetFillBrushLookup(This,lookup)
   7187 #define IXpsOMPath_Clone(This,path) (This)->lpVtbl->Clone(This,path)
   7188 #else
   7189 /*** IUnknown methods ***/
   7190 static inline HRESULT IXpsOMPath_QueryInterface(IXpsOMPath* This,REFIID riid,void **ppvObject) {
   7191     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7192 }
   7193 static inline ULONG IXpsOMPath_AddRef(IXpsOMPath* This) {
   7194     return This->lpVtbl->AddRef(This);
   7195 }
   7196 static inline ULONG IXpsOMPath_Release(IXpsOMPath* This) {
   7197     return This->lpVtbl->Release(This);
   7198 }
   7199 /*** IXpsOMShareable methods ***/
   7200 static inline HRESULT IXpsOMPath_GetOwner(IXpsOMPath* This,IUnknown **owner) {
   7201     return This->lpVtbl->GetOwner(This,owner);
   7202 }
   7203 static inline HRESULT IXpsOMPath_GetType(IXpsOMPath* This,XPS_OBJECT_TYPE *type) {
   7204     return This->lpVtbl->GetType(This,type);
   7205 }
   7206 /*** IXpsOMVisual methods ***/
   7207 static inline HRESULT IXpsOMPath_GetTransform(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
   7208     return This->lpVtbl->GetTransform(This,matrixTransform);
   7209 }
   7210 static inline HRESULT IXpsOMPath_GetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
   7211     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   7212 }
   7213 static inline HRESULT IXpsOMPath_SetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform *matrixTransform) {
   7214     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   7215 }
   7216 static inline HRESULT IXpsOMPath_GetTransformLookup(IXpsOMPath* This,LPWSTR *key) {
   7217     return This->lpVtbl->GetTransformLookup(This,key);
   7218 }
   7219 static inline HRESULT IXpsOMPath_SetTransformLookup(IXpsOMPath* This,LPCWSTR key) {
   7220     return This->lpVtbl->SetTransformLookup(This,key);
   7221 }
   7222 static inline HRESULT IXpsOMPath_GetClipGeometry(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
   7223     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   7224 }
   7225 static inline HRESULT IXpsOMPath_GetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
   7226     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   7227 }
   7228 static inline HRESULT IXpsOMPath_SetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *clipGeometry) {
   7229     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   7230 }
   7231 static inline HRESULT IXpsOMPath_GetClipGeometryLookup(IXpsOMPath* This,LPWSTR *key) {
   7232     return This->lpVtbl->GetClipGeometryLookup(This,key);
   7233 }
   7234 static inline HRESULT IXpsOMPath_SetClipGeometryLookup(IXpsOMPath* This,LPCWSTR key) {
   7235     return This->lpVtbl->SetClipGeometryLookup(This,key);
   7236 }
   7237 static inline HRESULT IXpsOMPath_GetOpacity(IXpsOMPath* This,FLOAT *opacity) {
   7238     return This->lpVtbl->GetOpacity(This,opacity);
   7239 }
   7240 static inline HRESULT IXpsOMPath_SetOpacity(IXpsOMPath* This,FLOAT opacity) {
   7241     return This->lpVtbl->SetOpacity(This,opacity);
   7242 }
   7243 static inline HRESULT IXpsOMPath_GetOpacityMaskBrush(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
   7244     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   7245 }
   7246 static inline HRESULT IXpsOMPath_GetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
   7247     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   7248 }
   7249 static inline HRESULT IXpsOMPath_SetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush *opacityMaskBrush) {
   7250     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   7251 }
   7252 static inline HRESULT IXpsOMPath_GetOpacityMaskBrushLookup(IXpsOMPath* This,LPWSTR *key) {
   7253     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   7254 }
   7255 static inline HRESULT IXpsOMPath_SetOpacityMaskBrushLookup(IXpsOMPath* This,LPCWSTR key) {
   7256     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   7257 }
   7258 static inline HRESULT IXpsOMPath_GetName(IXpsOMPath* This,LPWSTR *name) {
   7259     return This->lpVtbl->GetName(This,name);
   7260 }
   7261 static inline HRESULT IXpsOMPath_SetName(IXpsOMPath* This,LPCWSTR name) {
   7262     return This->lpVtbl->SetName(This,name);
   7263 }
   7264 static inline HRESULT IXpsOMPath_GetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL *isHyperlink) {
   7265     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   7266 }
   7267 static inline HRESULT IXpsOMPath_SetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL isHyperlink) {
   7268     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   7269 }
   7270 static inline HRESULT IXpsOMPath_GetHyperlinkNavigateUri(IXpsOMPath* This,IUri **hyperlinkUri) {
   7271     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   7272 }
   7273 static inline HRESULT IXpsOMPath_SetHyperlinkNavigateUri(IXpsOMPath* This,IUri *hyperlinkUri) {
   7274     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   7275 }
   7276 static inline HRESULT IXpsOMPath_GetLanguage(IXpsOMPath* This,LPWSTR *language) {
   7277     return This->lpVtbl->GetLanguage(This,language);
   7278 }
   7279 static inline HRESULT IXpsOMPath_SetLanguage(IXpsOMPath* This,LPCWSTR language) {
   7280     return This->lpVtbl->SetLanguage(This,language);
   7281 }
   7282 /*** IXpsOMPath methods ***/
   7283 static inline HRESULT IXpsOMPath_GetGeometry(IXpsOMPath* This,IXpsOMGeometry **geometry) {
   7284     return This->lpVtbl->GetGeometry(This,geometry);
   7285 }
   7286 static inline HRESULT IXpsOMPath_GetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **geometry) {
   7287     return This->lpVtbl->GetGeometryLocal(This,geometry);
   7288 }
   7289 static inline HRESULT IXpsOMPath_SetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *geometry) {
   7290     return This->lpVtbl->SetGeometryLocal(This,geometry);
   7291 }
   7292 static inline HRESULT IXpsOMPath_GetGeometryLookup(IXpsOMPath* This,LPWSTR *lookup) {
   7293     return This->lpVtbl->GetGeometryLookup(This,lookup);
   7294 }
   7295 static inline HRESULT IXpsOMPath_SetGeometryLookup(IXpsOMPath* This,LPCWSTR lookup) {
   7296     return This->lpVtbl->SetGeometryLookup(This,lookup);
   7297 }
   7298 static inline HRESULT IXpsOMPath_GetAccessibilityShortDescription(IXpsOMPath* This,LPWSTR *shortDescription) {
   7299     return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
   7300 }
   7301 static inline HRESULT IXpsOMPath_SetAccessibilityShortDescription(IXpsOMPath* This,LPCWSTR shortDescription) {
   7302     return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
   7303 }
   7304 static inline HRESULT IXpsOMPath_GetAccessibilityLongDescription(IXpsOMPath* This,LPWSTR *longDescription) {
   7305     return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
   7306 }
   7307 static inline HRESULT IXpsOMPath_SetAccessibilityLongDescription(IXpsOMPath* This,LPCWSTR longDescription) {
   7308     return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
   7309 }
   7310 static inline HRESULT IXpsOMPath_GetSnapsToPixels(IXpsOMPath* This,WINBOOL *snapsToPixels) {
   7311     return This->lpVtbl->GetSnapsToPixels(This,snapsToPixels);
   7312 }
   7313 static inline HRESULT IXpsOMPath_SetSnapsToPixels(IXpsOMPath* This,WINBOOL snapsToPixels) {
   7314     return This->lpVtbl->SetSnapsToPixels(This,snapsToPixels);
   7315 }
   7316 static inline HRESULT IXpsOMPath_GetStrokeBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
   7317     return This->lpVtbl->GetStrokeBrush(This,brush);
   7318 }
   7319 static inline HRESULT IXpsOMPath_GetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
   7320     return This->lpVtbl->GetStrokeBrushLocal(This,brush);
   7321 }
   7322 static inline HRESULT IXpsOMPath_SetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
   7323     return This->lpVtbl->SetStrokeBrushLocal(This,brush);
   7324 }
   7325 static inline HRESULT IXpsOMPath_GetStrokeBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
   7326     return This->lpVtbl->GetStrokeBrushLookup(This,lookup);
   7327 }
   7328 static inline HRESULT IXpsOMPath_SetStrokeBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
   7329     return This->lpVtbl->SetStrokeBrushLookup(This,lookup);
   7330 }
   7331 static inline HRESULT IXpsOMPath_GetStrokeDashes(IXpsOMPath* This,IXpsOMDashCollection **strokeDashes) {
   7332     return This->lpVtbl->GetStrokeDashes(This,strokeDashes);
   7333 }
   7334 static inline HRESULT IXpsOMPath_GetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP *strokeDashCap) {
   7335     return This->lpVtbl->GetStrokeDashCap(This,strokeDashCap);
   7336 }
   7337 static inline HRESULT IXpsOMPath_SetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP strokeDashCap) {
   7338     return This->lpVtbl->SetStrokeDashCap(This,strokeDashCap);
   7339 }
   7340 static inline HRESULT IXpsOMPath_GetStrokeDashOffset(IXpsOMPath* This,FLOAT *strokeDashOffset) {
   7341     return This->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset);
   7342 }
   7343 static inline HRESULT IXpsOMPath_SetStrokeDashOffset(IXpsOMPath* This,FLOAT strokeDashOffset) {
   7344     return This->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset);
   7345 }
   7346 static inline HRESULT IXpsOMPath_GetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeStartLineCap) {
   7347     return This->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap);
   7348 }
   7349 static inline HRESULT IXpsOMPath_SetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeStartLineCap) {
   7350     return This->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap);
   7351 }
   7352 static inline HRESULT IXpsOMPath_GetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeEndLineCap) {
   7353     return This->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap);
   7354 }
   7355 static inline HRESULT IXpsOMPath_SetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeEndLineCap) {
   7356     return This->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap);
   7357 }
   7358 static inline HRESULT IXpsOMPath_GetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN *strokeLineJoin) {
   7359     return This->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin);
   7360 }
   7361 static inline HRESULT IXpsOMPath_SetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN strokeLineJoin) {
   7362     return This->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin);
   7363 }
   7364 static inline HRESULT IXpsOMPath_GetStrokeMiterLimit(IXpsOMPath* This,FLOAT *strokeMiterLimit) {
   7365     return This->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit);
   7366 }
   7367 static inline HRESULT IXpsOMPath_SetStrokeMiterLimit(IXpsOMPath* This,FLOAT strokeMiterLimit) {
   7368     return This->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit);
   7369 }
   7370 static inline HRESULT IXpsOMPath_GetStrokeThickness(IXpsOMPath* This,FLOAT *strokeThickness) {
   7371     return This->lpVtbl->GetStrokeThickness(This,strokeThickness);
   7372 }
   7373 static inline HRESULT IXpsOMPath_SetStrokeThickness(IXpsOMPath* This,FLOAT strokeThickness) {
   7374     return This->lpVtbl->SetStrokeThickness(This,strokeThickness);
   7375 }
   7376 static inline HRESULT IXpsOMPath_GetFillBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
   7377     return This->lpVtbl->GetFillBrush(This,brush);
   7378 }
   7379 static inline HRESULT IXpsOMPath_GetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
   7380     return This->lpVtbl->GetFillBrushLocal(This,brush);
   7381 }
   7382 static inline HRESULT IXpsOMPath_SetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
   7383     return This->lpVtbl->SetFillBrushLocal(This,brush);
   7384 }
   7385 static inline HRESULT IXpsOMPath_GetFillBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
   7386     return This->lpVtbl->GetFillBrushLookup(This,lookup);
   7387 }
   7388 static inline HRESULT IXpsOMPath_SetFillBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
   7389     return This->lpVtbl->SetFillBrushLookup(This,lookup);
   7390 }
   7391 static inline HRESULT IXpsOMPath_Clone(IXpsOMPath* This,IXpsOMPath **path) {
   7392     return This->lpVtbl->Clone(This,path);
   7393 }
   7394 #endif
   7395 #endif
   7396 
   7397 #endif
   7398 
   7399 
   7400 #endif  /* __IXpsOMPath_INTERFACE_DEFINED__ */
   7401 
   7402 /*****************************************************************************
   7403  * IXpsOMSolidColorBrush interface
   7404  */
   7405 #ifndef __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
   7406 #define __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
   7407 
   7408 DEFINE_GUID(IID_IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88);
   7409 #if defined(__cplusplus) && !defined(CINTERFACE)
   7410 MIDL_INTERFACE("a06f9f05-3be9-4763-98a8-094fc672e488")
   7411 IXpsOMSolidColorBrush : public IXpsOMBrush
   7412 {
   7413     virtual HRESULT STDMETHODCALLTYPE GetColor(
   7414         XPS_COLOR *color,
   7415         IXpsOMColorProfileResource **colorProfile) = 0;
   7416 
   7417     virtual HRESULT STDMETHODCALLTYPE SetColor(
   7418         const XPS_COLOR *color,
   7419         IXpsOMColorProfileResource *colorProfile) = 0;
   7420 
   7421     virtual HRESULT STDMETHODCALLTYPE Clone(
   7422         IXpsOMSolidColorBrush **solidColorBrush) = 0;
   7423 
   7424 };
   7425 #ifdef __CRT_UUID_DECL
   7426 __CRT_UUID_DECL(IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88)
   7427 #endif
   7428 #else
   7429 typedef struct IXpsOMSolidColorBrushVtbl {
   7430     BEGIN_INTERFACE
   7431 
   7432     /*** IUnknown methods ***/
   7433     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7434         IXpsOMSolidColorBrush *This,
   7435         REFIID riid,
   7436         void **ppvObject);
   7437 
   7438     ULONG (STDMETHODCALLTYPE *AddRef)(
   7439         IXpsOMSolidColorBrush *This);
   7440 
   7441     ULONG (STDMETHODCALLTYPE *Release)(
   7442         IXpsOMSolidColorBrush *This);
   7443 
   7444     /*** IXpsOMShareable methods ***/
   7445     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7446         IXpsOMSolidColorBrush *This,
   7447         IUnknown **owner);
   7448 
   7449     HRESULT (STDMETHODCALLTYPE *GetType)(
   7450         IXpsOMSolidColorBrush *This,
   7451         XPS_OBJECT_TYPE *type);
   7452 
   7453     /*** IXpsOMBrush methods ***/
   7454     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   7455         IXpsOMSolidColorBrush *This,
   7456         FLOAT *opacity);
   7457 
   7458     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   7459         IXpsOMSolidColorBrush *This,
   7460         FLOAT opacity);
   7461 
   7462     /*** IXpsOMSolidColorBrush methods ***/
   7463     HRESULT (STDMETHODCALLTYPE *GetColor)(
   7464         IXpsOMSolidColorBrush *This,
   7465         XPS_COLOR *color,
   7466         IXpsOMColorProfileResource **colorProfile);
   7467 
   7468     HRESULT (STDMETHODCALLTYPE *SetColor)(
   7469         IXpsOMSolidColorBrush *This,
   7470         const XPS_COLOR *color,
   7471         IXpsOMColorProfileResource *colorProfile);
   7472 
   7473     HRESULT (STDMETHODCALLTYPE *Clone)(
   7474         IXpsOMSolidColorBrush *This,
   7475         IXpsOMSolidColorBrush **solidColorBrush);
   7476 
   7477     END_INTERFACE
   7478 } IXpsOMSolidColorBrushVtbl;
   7479 
   7480 interface IXpsOMSolidColorBrush {
   7481     CONST_VTBL IXpsOMSolidColorBrushVtbl* lpVtbl;
   7482 };
   7483 
   7484 #ifdef COBJMACROS
   7485 #ifndef WIDL_C_INLINE_WRAPPERS
   7486 /*** IUnknown methods ***/
   7487 #define IXpsOMSolidColorBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7488 #define IXpsOMSolidColorBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   7489 #define IXpsOMSolidColorBrush_Release(This) (This)->lpVtbl->Release(This)
   7490 /*** IXpsOMShareable methods ***/
   7491 #define IXpsOMSolidColorBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7492 #define IXpsOMSolidColorBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7493 /*** IXpsOMBrush methods ***/
   7494 #define IXpsOMSolidColorBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7495 #define IXpsOMSolidColorBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7496 /*** IXpsOMSolidColorBrush methods ***/
   7497 #define IXpsOMSolidColorBrush_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
   7498 #define IXpsOMSolidColorBrush_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
   7499 #define IXpsOMSolidColorBrush_Clone(This,solidColorBrush) (This)->lpVtbl->Clone(This,solidColorBrush)
   7500 #else
   7501 /*** IUnknown methods ***/
   7502 static inline HRESULT IXpsOMSolidColorBrush_QueryInterface(IXpsOMSolidColorBrush* This,REFIID riid,void **ppvObject) {
   7503     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7504 }
   7505 static inline ULONG IXpsOMSolidColorBrush_AddRef(IXpsOMSolidColorBrush* This) {
   7506     return This->lpVtbl->AddRef(This);
   7507 }
   7508 static inline ULONG IXpsOMSolidColorBrush_Release(IXpsOMSolidColorBrush* This) {
   7509     return This->lpVtbl->Release(This);
   7510 }
   7511 /*** IXpsOMShareable methods ***/
   7512 static inline HRESULT IXpsOMSolidColorBrush_GetOwner(IXpsOMSolidColorBrush* This,IUnknown **owner) {
   7513     return This->lpVtbl->GetOwner(This,owner);
   7514 }
   7515 static inline HRESULT IXpsOMSolidColorBrush_GetType(IXpsOMSolidColorBrush* This,XPS_OBJECT_TYPE *type) {
   7516     return This->lpVtbl->GetType(This,type);
   7517 }
   7518 /*** IXpsOMBrush methods ***/
   7519 static inline HRESULT IXpsOMSolidColorBrush_GetOpacity(IXpsOMSolidColorBrush* This,FLOAT *opacity) {
   7520     return This->lpVtbl->GetOpacity(This,opacity);
   7521 }
   7522 static inline HRESULT IXpsOMSolidColorBrush_SetOpacity(IXpsOMSolidColorBrush* This,FLOAT opacity) {
   7523     return This->lpVtbl->SetOpacity(This,opacity);
   7524 }
   7525 /*** IXpsOMSolidColorBrush methods ***/
   7526 static inline HRESULT IXpsOMSolidColorBrush_GetColor(IXpsOMSolidColorBrush* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
   7527     return This->lpVtbl->GetColor(This,color,colorProfile);
   7528 }
   7529 static inline HRESULT IXpsOMSolidColorBrush_SetColor(IXpsOMSolidColorBrush* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
   7530     return This->lpVtbl->SetColor(This,color,colorProfile);
   7531 }
   7532 static inline HRESULT IXpsOMSolidColorBrush_Clone(IXpsOMSolidColorBrush* This,IXpsOMSolidColorBrush **solidColorBrush) {
   7533     return This->lpVtbl->Clone(This,solidColorBrush);
   7534 }
   7535 #endif
   7536 #endif
   7537 
   7538 #endif
   7539 
   7540 
   7541 #endif  /* __IXpsOMSolidColorBrush_INTERFACE_DEFINED__ */
   7542 
   7543 /*****************************************************************************
   7544  * IXpsOMTileBrush interface
   7545  */
   7546 #ifndef __IXpsOMTileBrush_INTERFACE_DEFINED__
   7547 #define __IXpsOMTileBrush_INTERFACE_DEFINED__
   7548 
   7549 DEFINE_GUID(IID_IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e);
   7550 #if defined(__cplusplus) && !defined(CINTERFACE)
   7551 MIDL_INTERFACE("0fc2328d-d722-4a54-b2ec-be90218a789e")
   7552 IXpsOMTileBrush : public IXpsOMBrush
   7553 {
   7554     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   7555         IXpsOMMatrixTransform **transform) = 0;
   7556 
   7557     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   7558         IXpsOMMatrixTransform **transform) = 0;
   7559 
   7560     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   7561         IXpsOMMatrixTransform *transform) = 0;
   7562 
   7563     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   7564         LPWSTR *key) = 0;
   7565 
   7566     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   7567         LPCWSTR key) = 0;
   7568 
   7569     virtual HRESULT STDMETHODCALLTYPE GetViewbox(
   7570         XPS_RECT *viewbox) = 0;
   7571 
   7572     virtual HRESULT STDMETHODCALLTYPE SetViewbox(
   7573         const XPS_RECT *viewbox) = 0;
   7574 
   7575     virtual HRESULT STDMETHODCALLTYPE GetViewport(
   7576         XPS_RECT *viewport) = 0;
   7577 
   7578     virtual HRESULT STDMETHODCALLTYPE SetViewport(
   7579         const XPS_RECT *viewport) = 0;
   7580 
   7581     virtual HRESULT STDMETHODCALLTYPE GetTileMode(
   7582         XPS_TILE_MODE *tileMode) = 0;
   7583 
   7584     virtual HRESULT STDMETHODCALLTYPE SetTileMode(
   7585         XPS_TILE_MODE tileMode) = 0;
   7586 
   7587 };
   7588 #ifdef __CRT_UUID_DECL
   7589 __CRT_UUID_DECL(IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e)
   7590 #endif
   7591 #else
   7592 typedef struct IXpsOMTileBrushVtbl {
   7593     BEGIN_INTERFACE
   7594 
   7595     /*** IUnknown methods ***/
   7596     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7597         IXpsOMTileBrush *This,
   7598         REFIID riid,
   7599         void **ppvObject);
   7600 
   7601     ULONG (STDMETHODCALLTYPE *AddRef)(
   7602         IXpsOMTileBrush *This);
   7603 
   7604     ULONG (STDMETHODCALLTYPE *Release)(
   7605         IXpsOMTileBrush *This);
   7606 
   7607     /*** IXpsOMShareable methods ***/
   7608     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7609         IXpsOMTileBrush *This,
   7610         IUnknown **owner);
   7611 
   7612     HRESULT (STDMETHODCALLTYPE *GetType)(
   7613         IXpsOMTileBrush *This,
   7614         XPS_OBJECT_TYPE *type);
   7615 
   7616     /*** IXpsOMBrush methods ***/
   7617     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   7618         IXpsOMTileBrush *This,
   7619         FLOAT *opacity);
   7620 
   7621     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   7622         IXpsOMTileBrush *This,
   7623         FLOAT opacity);
   7624 
   7625     /*** IXpsOMTileBrush methods ***/
   7626     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   7627         IXpsOMTileBrush *This,
   7628         IXpsOMMatrixTransform **transform);
   7629 
   7630     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   7631         IXpsOMTileBrush *This,
   7632         IXpsOMMatrixTransform **transform);
   7633 
   7634     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   7635         IXpsOMTileBrush *This,
   7636         IXpsOMMatrixTransform *transform);
   7637 
   7638     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   7639         IXpsOMTileBrush *This,
   7640         LPWSTR *key);
   7641 
   7642     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   7643         IXpsOMTileBrush *This,
   7644         LPCWSTR key);
   7645 
   7646     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   7647         IXpsOMTileBrush *This,
   7648         XPS_RECT *viewbox);
   7649 
   7650     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   7651         IXpsOMTileBrush *This,
   7652         const XPS_RECT *viewbox);
   7653 
   7654     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   7655         IXpsOMTileBrush *This,
   7656         XPS_RECT *viewport);
   7657 
   7658     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   7659         IXpsOMTileBrush *This,
   7660         const XPS_RECT *viewport);
   7661 
   7662     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   7663         IXpsOMTileBrush *This,
   7664         XPS_TILE_MODE *tileMode);
   7665 
   7666     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   7667         IXpsOMTileBrush *This,
   7668         XPS_TILE_MODE tileMode);
   7669 
   7670     END_INTERFACE
   7671 } IXpsOMTileBrushVtbl;
   7672 
   7673 interface IXpsOMTileBrush {
   7674     CONST_VTBL IXpsOMTileBrushVtbl* lpVtbl;
   7675 };
   7676 
   7677 #ifdef COBJMACROS
   7678 #ifndef WIDL_C_INLINE_WRAPPERS
   7679 /*** IUnknown methods ***/
   7680 #define IXpsOMTileBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7681 #define IXpsOMTileBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   7682 #define IXpsOMTileBrush_Release(This) (This)->lpVtbl->Release(This)
   7683 /*** IXpsOMShareable methods ***/
   7684 #define IXpsOMTileBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7685 #define IXpsOMTileBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7686 /*** IXpsOMBrush methods ***/
   7687 #define IXpsOMTileBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7688 #define IXpsOMTileBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7689 /*** IXpsOMTileBrush methods ***/
   7690 #define IXpsOMTileBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   7691 #define IXpsOMTileBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   7692 #define IXpsOMTileBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   7693 #define IXpsOMTileBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   7694 #define IXpsOMTileBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   7695 #define IXpsOMTileBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   7696 #define IXpsOMTileBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   7697 #define IXpsOMTileBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   7698 #define IXpsOMTileBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   7699 #define IXpsOMTileBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   7700 #define IXpsOMTileBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   7701 #else
   7702 /*** IUnknown methods ***/
   7703 static inline HRESULT IXpsOMTileBrush_QueryInterface(IXpsOMTileBrush* This,REFIID riid,void **ppvObject) {
   7704     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7705 }
   7706 static inline ULONG IXpsOMTileBrush_AddRef(IXpsOMTileBrush* This) {
   7707     return This->lpVtbl->AddRef(This);
   7708 }
   7709 static inline ULONG IXpsOMTileBrush_Release(IXpsOMTileBrush* This) {
   7710     return This->lpVtbl->Release(This);
   7711 }
   7712 /*** IXpsOMShareable methods ***/
   7713 static inline HRESULT IXpsOMTileBrush_GetOwner(IXpsOMTileBrush* This,IUnknown **owner) {
   7714     return This->lpVtbl->GetOwner(This,owner);
   7715 }
   7716 static inline HRESULT IXpsOMTileBrush_GetType(IXpsOMTileBrush* This,XPS_OBJECT_TYPE *type) {
   7717     return This->lpVtbl->GetType(This,type);
   7718 }
   7719 /*** IXpsOMBrush methods ***/
   7720 static inline HRESULT IXpsOMTileBrush_GetOpacity(IXpsOMTileBrush* This,FLOAT *opacity) {
   7721     return This->lpVtbl->GetOpacity(This,opacity);
   7722 }
   7723 static inline HRESULT IXpsOMTileBrush_SetOpacity(IXpsOMTileBrush* This,FLOAT opacity) {
   7724     return This->lpVtbl->SetOpacity(This,opacity);
   7725 }
   7726 /*** IXpsOMTileBrush methods ***/
   7727 static inline HRESULT IXpsOMTileBrush_GetTransform(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
   7728     return This->lpVtbl->GetTransform(This,transform);
   7729 }
   7730 static inline HRESULT IXpsOMTileBrush_GetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
   7731     return This->lpVtbl->GetTransformLocal(This,transform);
   7732 }
   7733 static inline HRESULT IXpsOMTileBrush_SetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform *transform) {
   7734     return This->lpVtbl->SetTransformLocal(This,transform);
   7735 }
   7736 static inline HRESULT IXpsOMTileBrush_GetTransformLookup(IXpsOMTileBrush* This,LPWSTR *key) {
   7737     return This->lpVtbl->GetTransformLookup(This,key);
   7738 }
   7739 static inline HRESULT IXpsOMTileBrush_SetTransformLookup(IXpsOMTileBrush* This,LPCWSTR key) {
   7740     return This->lpVtbl->SetTransformLookup(This,key);
   7741 }
   7742 static inline HRESULT IXpsOMTileBrush_GetViewbox(IXpsOMTileBrush* This,XPS_RECT *viewbox) {
   7743     return This->lpVtbl->GetViewbox(This,viewbox);
   7744 }
   7745 static inline HRESULT IXpsOMTileBrush_SetViewbox(IXpsOMTileBrush* This,const XPS_RECT *viewbox) {
   7746     return This->lpVtbl->SetViewbox(This,viewbox);
   7747 }
   7748 static inline HRESULT IXpsOMTileBrush_GetViewport(IXpsOMTileBrush* This,XPS_RECT *viewport) {
   7749     return This->lpVtbl->GetViewport(This,viewport);
   7750 }
   7751 static inline HRESULT IXpsOMTileBrush_SetViewport(IXpsOMTileBrush* This,const XPS_RECT *viewport) {
   7752     return This->lpVtbl->SetViewport(This,viewport);
   7753 }
   7754 static inline HRESULT IXpsOMTileBrush_GetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE *tileMode) {
   7755     return This->lpVtbl->GetTileMode(This,tileMode);
   7756 }
   7757 static inline HRESULT IXpsOMTileBrush_SetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE tileMode) {
   7758     return This->lpVtbl->SetTileMode(This,tileMode);
   7759 }
   7760 #endif
   7761 #endif
   7762 
   7763 #endif
   7764 
   7765 
   7766 #endif  /* __IXpsOMTileBrush_INTERFACE_DEFINED__ */
   7767 
   7768 /*****************************************************************************
   7769  * IXpsOMGradientBrush interface
   7770  */
   7771 #ifndef __IXpsOMGradientBrush_INTERFACE_DEFINED__
   7772 #define __IXpsOMGradientBrush_INTERFACE_DEFINED__
   7773 
   7774 DEFINE_GUID(IID_IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf);
   7775 #if defined(__cplusplus) && !defined(CINTERFACE)
   7776 MIDL_INTERFACE("edb59622-61a2-42c3-bace-acf2286c06bf")
   7777 IXpsOMGradientBrush : public IXpsOMBrush
   7778 {
   7779     virtual HRESULT STDMETHODCALLTYPE GetGradientStops(
   7780         IXpsOMGradientStopCollection **gradientStops) = 0;
   7781 
   7782     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   7783         IXpsOMMatrixTransform **transform) = 0;
   7784 
   7785     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   7786         IXpsOMMatrixTransform **transform) = 0;
   7787 
   7788     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   7789         IXpsOMMatrixTransform *transform) = 0;
   7790 
   7791     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   7792         LPWSTR *key) = 0;
   7793 
   7794     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   7795         LPCWSTR key) = 0;
   7796 
   7797     virtual HRESULT STDMETHODCALLTYPE GetSpreadMethod(
   7798         XPS_SPREAD_METHOD *spreadMethod) = 0;
   7799 
   7800     virtual HRESULT STDMETHODCALLTYPE SetSpreadMethod(
   7801         XPS_SPREAD_METHOD spreadMethod) = 0;
   7802 
   7803     virtual HRESULT STDMETHODCALLTYPE GetColorInterpolationMode(
   7804         XPS_COLOR_INTERPOLATION *colorInterpolationMode) = 0;
   7805 
   7806     virtual HRESULT STDMETHODCALLTYPE SetColorInterpolationMode(
   7807         XPS_COLOR_INTERPOLATION colorInterpolationMode) = 0;
   7808 
   7809 };
   7810 #ifdef __CRT_UUID_DECL
   7811 __CRT_UUID_DECL(IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf)
   7812 #endif
   7813 #else
   7814 typedef struct IXpsOMGradientBrushVtbl {
   7815     BEGIN_INTERFACE
   7816 
   7817     /*** IUnknown methods ***/
   7818     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7819         IXpsOMGradientBrush *This,
   7820         REFIID riid,
   7821         void **ppvObject);
   7822 
   7823     ULONG (STDMETHODCALLTYPE *AddRef)(
   7824         IXpsOMGradientBrush *This);
   7825 
   7826     ULONG (STDMETHODCALLTYPE *Release)(
   7827         IXpsOMGradientBrush *This);
   7828 
   7829     /*** IXpsOMShareable methods ***/
   7830     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7831         IXpsOMGradientBrush *This,
   7832         IUnknown **owner);
   7833 
   7834     HRESULT (STDMETHODCALLTYPE *GetType)(
   7835         IXpsOMGradientBrush *This,
   7836         XPS_OBJECT_TYPE *type);
   7837 
   7838     /*** IXpsOMBrush methods ***/
   7839     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   7840         IXpsOMGradientBrush *This,
   7841         FLOAT *opacity);
   7842 
   7843     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   7844         IXpsOMGradientBrush *This,
   7845         FLOAT opacity);
   7846 
   7847     /*** IXpsOMGradientBrush methods ***/
   7848     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   7849         IXpsOMGradientBrush *This,
   7850         IXpsOMGradientStopCollection **gradientStops);
   7851 
   7852     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   7853         IXpsOMGradientBrush *This,
   7854         IXpsOMMatrixTransform **transform);
   7855 
   7856     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   7857         IXpsOMGradientBrush *This,
   7858         IXpsOMMatrixTransform **transform);
   7859 
   7860     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   7861         IXpsOMGradientBrush *This,
   7862         IXpsOMMatrixTransform *transform);
   7863 
   7864     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   7865         IXpsOMGradientBrush *This,
   7866         LPWSTR *key);
   7867 
   7868     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   7869         IXpsOMGradientBrush *This,
   7870         LPCWSTR key);
   7871 
   7872     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   7873         IXpsOMGradientBrush *This,
   7874         XPS_SPREAD_METHOD *spreadMethod);
   7875 
   7876     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   7877         IXpsOMGradientBrush *This,
   7878         XPS_SPREAD_METHOD spreadMethod);
   7879 
   7880     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   7881         IXpsOMGradientBrush *This,
   7882         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   7883 
   7884     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   7885         IXpsOMGradientBrush *This,
   7886         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   7887 
   7888     END_INTERFACE
   7889 } IXpsOMGradientBrushVtbl;
   7890 
   7891 interface IXpsOMGradientBrush {
   7892     CONST_VTBL IXpsOMGradientBrushVtbl* lpVtbl;
   7893 };
   7894 
   7895 #ifdef COBJMACROS
   7896 #ifndef WIDL_C_INLINE_WRAPPERS
   7897 /*** IUnknown methods ***/
   7898 #define IXpsOMGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7899 #define IXpsOMGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   7900 #define IXpsOMGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   7901 /*** IXpsOMShareable methods ***/
   7902 #define IXpsOMGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7903 #define IXpsOMGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7904 /*** IXpsOMBrush methods ***/
   7905 #define IXpsOMGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7906 #define IXpsOMGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7907 /*** IXpsOMGradientBrush methods ***/
   7908 #define IXpsOMGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   7909 #define IXpsOMGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   7910 #define IXpsOMGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   7911 #define IXpsOMGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   7912 #define IXpsOMGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   7913 #define IXpsOMGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   7914 #define IXpsOMGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   7915 #define IXpsOMGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   7916 #define IXpsOMGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   7917 #define IXpsOMGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   7918 #else
   7919 /*** IUnknown methods ***/
   7920 static inline HRESULT IXpsOMGradientBrush_QueryInterface(IXpsOMGradientBrush* This,REFIID riid,void **ppvObject) {
   7921     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7922 }
   7923 static inline ULONG IXpsOMGradientBrush_AddRef(IXpsOMGradientBrush* This) {
   7924     return This->lpVtbl->AddRef(This);
   7925 }
   7926 static inline ULONG IXpsOMGradientBrush_Release(IXpsOMGradientBrush* This) {
   7927     return This->lpVtbl->Release(This);
   7928 }
   7929 /*** IXpsOMShareable methods ***/
   7930 static inline HRESULT IXpsOMGradientBrush_GetOwner(IXpsOMGradientBrush* This,IUnknown **owner) {
   7931     return This->lpVtbl->GetOwner(This,owner);
   7932 }
   7933 static inline HRESULT IXpsOMGradientBrush_GetType(IXpsOMGradientBrush* This,XPS_OBJECT_TYPE *type) {
   7934     return This->lpVtbl->GetType(This,type);
   7935 }
   7936 /*** IXpsOMBrush methods ***/
   7937 static inline HRESULT IXpsOMGradientBrush_GetOpacity(IXpsOMGradientBrush* This,FLOAT *opacity) {
   7938     return This->lpVtbl->GetOpacity(This,opacity);
   7939 }
   7940 static inline HRESULT IXpsOMGradientBrush_SetOpacity(IXpsOMGradientBrush* This,FLOAT opacity) {
   7941     return This->lpVtbl->SetOpacity(This,opacity);
   7942 }
   7943 /*** IXpsOMGradientBrush methods ***/
   7944 static inline HRESULT IXpsOMGradientBrush_GetGradientStops(IXpsOMGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   7945     return This->lpVtbl->GetGradientStops(This,gradientStops);
   7946 }
   7947 static inline HRESULT IXpsOMGradientBrush_GetTransform(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
   7948     return This->lpVtbl->GetTransform(This,transform);
   7949 }
   7950 static inline HRESULT IXpsOMGradientBrush_GetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
   7951     return This->lpVtbl->GetTransformLocal(This,transform);
   7952 }
   7953 static inline HRESULT IXpsOMGradientBrush_SetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform *transform) {
   7954     return This->lpVtbl->SetTransformLocal(This,transform);
   7955 }
   7956 static inline HRESULT IXpsOMGradientBrush_GetTransformLookup(IXpsOMGradientBrush* This,LPWSTR *key) {
   7957     return This->lpVtbl->GetTransformLookup(This,key);
   7958 }
   7959 static inline HRESULT IXpsOMGradientBrush_SetTransformLookup(IXpsOMGradientBrush* This,LPCWSTR key) {
   7960     return This->lpVtbl->SetTransformLookup(This,key);
   7961 }
   7962 static inline HRESULT IXpsOMGradientBrush_GetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   7963     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   7964 }
   7965 static inline HRESULT IXpsOMGradientBrush_SetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   7966     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   7967 }
   7968 static inline HRESULT IXpsOMGradientBrush_GetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   7969     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   7970 }
   7971 static inline HRESULT IXpsOMGradientBrush_SetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   7972     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   7973 }
   7974 #endif
   7975 #endif
   7976 
   7977 #endif
   7978 
   7979 
   7980 #endif  /* __IXpsOMGradientBrush_INTERFACE_DEFINED__ */
   7981 
   7982 /*****************************************************************************
   7983  * IXpsOMVisualBrush interface
   7984  */
   7985 #ifndef __IXpsOMVisualBrush_INTERFACE_DEFINED__
   7986 #define __IXpsOMVisualBrush_INTERFACE_DEFINED__
   7987 
   7988 DEFINE_GUID(IID_IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b);
   7989 #if defined(__cplusplus) && !defined(CINTERFACE)
   7990 MIDL_INTERFACE("97e294af-5b37-46b4-8057-874d2f64119b")
   7991 IXpsOMVisualBrush : public IXpsOMTileBrush
   7992 {
   7993     virtual HRESULT STDMETHODCALLTYPE GetVisual(
   7994         IXpsOMVisual **visual) = 0;
   7995 
   7996     virtual HRESULT STDMETHODCALLTYPE GetVisualLocal(
   7997         IXpsOMVisual **visual) = 0;
   7998 
   7999     virtual HRESULT STDMETHODCALLTYPE SetVisualLocal(
   8000         IXpsOMVisual *visual) = 0;
   8001 
   8002     virtual HRESULT STDMETHODCALLTYPE GetVisualLookup(
   8003         LPWSTR *lookup) = 0;
   8004 
   8005     virtual HRESULT STDMETHODCALLTYPE SetVisualLookup(
   8006         LPCWSTR lookup) = 0;
   8007 
   8008     virtual HRESULT STDMETHODCALLTYPE Clone(
   8009         IXpsOMVisualBrush **visualBrush) = 0;
   8010 
   8011 };
   8012 #ifdef __CRT_UUID_DECL
   8013 __CRT_UUID_DECL(IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b)
   8014 #endif
   8015 #else
   8016 typedef struct IXpsOMVisualBrushVtbl {
   8017     BEGIN_INTERFACE
   8018 
   8019     /*** IUnknown methods ***/
   8020     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8021         IXpsOMVisualBrush *This,
   8022         REFIID riid,
   8023         void **ppvObject);
   8024 
   8025     ULONG (STDMETHODCALLTYPE *AddRef)(
   8026         IXpsOMVisualBrush *This);
   8027 
   8028     ULONG (STDMETHODCALLTYPE *Release)(
   8029         IXpsOMVisualBrush *This);
   8030 
   8031     /*** IXpsOMShareable methods ***/
   8032     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8033         IXpsOMVisualBrush *This,
   8034         IUnknown **owner);
   8035 
   8036     HRESULT (STDMETHODCALLTYPE *GetType)(
   8037         IXpsOMVisualBrush *This,
   8038         XPS_OBJECT_TYPE *type);
   8039 
   8040     /*** IXpsOMBrush methods ***/
   8041     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8042         IXpsOMVisualBrush *This,
   8043         FLOAT *opacity);
   8044 
   8045     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8046         IXpsOMVisualBrush *This,
   8047         FLOAT opacity);
   8048 
   8049     /*** IXpsOMTileBrush methods ***/
   8050     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8051         IXpsOMVisualBrush *This,
   8052         IXpsOMMatrixTransform **transform);
   8053 
   8054     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8055         IXpsOMVisualBrush *This,
   8056         IXpsOMMatrixTransform **transform);
   8057 
   8058     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8059         IXpsOMVisualBrush *This,
   8060         IXpsOMMatrixTransform *transform);
   8061 
   8062     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8063         IXpsOMVisualBrush *This,
   8064         LPWSTR *key);
   8065 
   8066     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8067         IXpsOMVisualBrush *This,
   8068         LPCWSTR key);
   8069 
   8070     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   8071         IXpsOMVisualBrush *This,
   8072         XPS_RECT *viewbox);
   8073 
   8074     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   8075         IXpsOMVisualBrush *This,
   8076         const XPS_RECT *viewbox);
   8077 
   8078     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   8079         IXpsOMVisualBrush *This,
   8080         XPS_RECT *viewport);
   8081 
   8082     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   8083         IXpsOMVisualBrush *This,
   8084         const XPS_RECT *viewport);
   8085 
   8086     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   8087         IXpsOMVisualBrush *This,
   8088         XPS_TILE_MODE *tileMode);
   8089 
   8090     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   8091         IXpsOMVisualBrush *This,
   8092         XPS_TILE_MODE tileMode);
   8093 
   8094     /*** IXpsOMVisualBrush methods ***/
   8095     HRESULT (STDMETHODCALLTYPE *GetVisual)(
   8096         IXpsOMVisualBrush *This,
   8097         IXpsOMVisual **visual);
   8098 
   8099     HRESULT (STDMETHODCALLTYPE *GetVisualLocal)(
   8100         IXpsOMVisualBrush *This,
   8101         IXpsOMVisual **visual);
   8102 
   8103     HRESULT (STDMETHODCALLTYPE *SetVisualLocal)(
   8104         IXpsOMVisualBrush *This,
   8105         IXpsOMVisual *visual);
   8106 
   8107     HRESULT (STDMETHODCALLTYPE *GetVisualLookup)(
   8108         IXpsOMVisualBrush *This,
   8109         LPWSTR *lookup);
   8110 
   8111     HRESULT (STDMETHODCALLTYPE *SetVisualLookup)(
   8112         IXpsOMVisualBrush *This,
   8113         LPCWSTR lookup);
   8114 
   8115     HRESULT (STDMETHODCALLTYPE *Clone)(
   8116         IXpsOMVisualBrush *This,
   8117         IXpsOMVisualBrush **visualBrush);
   8118 
   8119     END_INTERFACE
   8120 } IXpsOMVisualBrushVtbl;
   8121 
   8122 interface IXpsOMVisualBrush {
   8123     CONST_VTBL IXpsOMVisualBrushVtbl* lpVtbl;
   8124 };
   8125 
   8126 #ifdef COBJMACROS
   8127 #ifndef WIDL_C_INLINE_WRAPPERS
   8128 /*** IUnknown methods ***/
   8129 #define IXpsOMVisualBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   8130 #define IXpsOMVisualBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   8131 #define IXpsOMVisualBrush_Release(This) (This)->lpVtbl->Release(This)
   8132 /*** IXpsOMShareable methods ***/
   8133 #define IXpsOMVisualBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   8134 #define IXpsOMVisualBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   8135 /*** IXpsOMBrush methods ***/
   8136 #define IXpsOMVisualBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   8137 #define IXpsOMVisualBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   8138 /*** IXpsOMTileBrush methods ***/
   8139 #define IXpsOMVisualBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   8140 #define IXpsOMVisualBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   8141 #define IXpsOMVisualBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   8142 #define IXpsOMVisualBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   8143 #define IXpsOMVisualBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   8144 #define IXpsOMVisualBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   8145 #define IXpsOMVisualBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   8146 #define IXpsOMVisualBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   8147 #define IXpsOMVisualBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   8148 #define IXpsOMVisualBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   8149 #define IXpsOMVisualBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   8150 /*** IXpsOMVisualBrush methods ***/
   8151 #define IXpsOMVisualBrush_GetVisual(This,visual) (This)->lpVtbl->GetVisual(This,visual)
   8152 #define IXpsOMVisualBrush_GetVisualLocal(This,visual) (This)->lpVtbl->GetVisualLocal(This,visual)
   8153 #define IXpsOMVisualBrush_SetVisualLocal(This,visual) (This)->lpVtbl->SetVisualLocal(This,visual)
   8154 #define IXpsOMVisualBrush_GetVisualLookup(This,lookup) (This)->lpVtbl->GetVisualLookup(This,lookup)
   8155 #define IXpsOMVisualBrush_SetVisualLookup(This,lookup) (This)->lpVtbl->SetVisualLookup(This,lookup)
   8156 #define IXpsOMVisualBrush_Clone(This,visualBrush) (This)->lpVtbl->Clone(This,visualBrush)
   8157 #else
   8158 /*** IUnknown methods ***/
   8159 static inline HRESULT IXpsOMVisualBrush_QueryInterface(IXpsOMVisualBrush* This,REFIID riid,void **ppvObject) {
   8160     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   8161 }
   8162 static inline ULONG IXpsOMVisualBrush_AddRef(IXpsOMVisualBrush* This) {
   8163     return This->lpVtbl->AddRef(This);
   8164 }
   8165 static inline ULONG IXpsOMVisualBrush_Release(IXpsOMVisualBrush* This) {
   8166     return This->lpVtbl->Release(This);
   8167 }
   8168 /*** IXpsOMShareable methods ***/
   8169 static inline HRESULT IXpsOMVisualBrush_GetOwner(IXpsOMVisualBrush* This,IUnknown **owner) {
   8170     return This->lpVtbl->GetOwner(This,owner);
   8171 }
   8172 static inline HRESULT IXpsOMVisualBrush_GetType(IXpsOMVisualBrush* This,XPS_OBJECT_TYPE *type) {
   8173     return This->lpVtbl->GetType(This,type);
   8174 }
   8175 /*** IXpsOMBrush methods ***/
   8176 static inline HRESULT IXpsOMVisualBrush_GetOpacity(IXpsOMVisualBrush* This,FLOAT *opacity) {
   8177     return This->lpVtbl->GetOpacity(This,opacity);
   8178 }
   8179 static inline HRESULT IXpsOMVisualBrush_SetOpacity(IXpsOMVisualBrush* This,FLOAT opacity) {
   8180     return This->lpVtbl->SetOpacity(This,opacity);
   8181 }
   8182 /*** IXpsOMTileBrush methods ***/
   8183 static inline HRESULT IXpsOMVisualBrush_GetTransform(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
   8184     return This->lpVtbl->GetTransform(This,transform);
   8185 }
   8186 static inline HRESULT IXpsOMVisualBrush_GetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
   8187     return This->lpVtbl->GetTransformLocal(This,transform);
   8188 }
   8189 static inline HRESULT IXpsOMVisualBrush_SetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform *transform) {
   8190     return This->lpVtbl->SetTransformLocal(This,transform);
   8191 }
   8192 static inline HRESULT IXpsOMVisualBrush_GetTransformLookup(IXpsOMVisualBrush* This,LPWSTR *key) {
   8193     return This->lpVtbl->GetTransformLookup(This,key);
   8194 }
   8195 static inline HRESULT IXpsOMVisualBrush_SetTransformLookup(IXpsOMVisualBrush* This,LPCWSTR key) {
   8196     return This->lpVtbl->SetTransformLookup(This,key);
   8197 }
   8198 static inline HRESULT IXpsOMVisualBrush_GetViewbox(IXpsOMVisualBrush* This,XPS_RECT *viewbox) {
   8199     return This->lpVtbl->GetViewbox(This,viewbox);
   8200 }
   8201 static inline HRESULT IXpsOMVisualBrush_SetViewbox(IXpsOMVisualBrush* This,const XPS_RECT *viewbox) {
   8202     return This->lpVtbl->SetViewbox(This,viewbox);
   8203 }
   8204 static inline HRESULT IXpsOMVisualBrush_GetViewport(IXpsOMVisualBrush* This,XPS_RECT *viewport) {
   8205     return This->lpVtbl->GetViewport(This,viewport);
   8206 }
   8207 static inline HRESULT IXpsOMVisualBrush_SetViewport(IXpsOMVisualBrush* This,const XPS_RECT *viewport) {
   8208     return This->lpVtbl->SetViewport(This,viewport);
   8209 }
   8210 static inline HRESULT IXpsOMVisualBrush_GetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE *tileMode) {
   8211     return This->lpVtbl->GetTileMode(This,tileMode);
   8212 }
   8213 static inline HRESULT IXpsOMVisualBrush_SetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE tileMode) {
   8214     return This->lpVtbl->SetTileMode(This,tileMode);
   8215 }
   8216 /*** IXpsOMVisualBrush methods ***/
   8217 static inline HRESULT IXpsOMVisualBrush_GetVisual(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
   8218     return This->lpVtbl->GetVisual(This,visual);
   8219 }
   8220 static inline HRESULT IXpsOMVisualBrush_GetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
   8221     return This->lpVtbl->GetVisualLocal(This,visual);
   8222 }
   8223 static inline HRESULT IXpsOMVisualBrush_SetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual *visual) {
   8224     return This->lpVtbl->SetVisualLocal(This,visual);
   8225 }
   8226 static inline HRESULT IXpsOMVisualBrush_GetVisualLookup(IXpsOMVisualBrush* This,LPWSTR *lookup) {
   8227     return This->lpVtbl->GetVisualLookup(This,lookup);
   8228 }
   8229 static inline HRESULT IXpsOMVisualBrush_SetVisualLookup(IXpsOMVisualBrush* This,LPCWSTR lookup) {
   8230     return This->lpVtbl->SetVisualLookup(This,lookup);
   8231 }
   8232 static inline HRESULT IXpsOMVisualBrush_Clone(IXpsOMVisualBrush* This,IXpsOMVisualBrush **visualBrush) {
   8233     return This->lpVtbl->Clone(This,visualBrush);
   8234 }
   8235 #endif
   8236 #endif
   8237 
   8238 #endif
   8239 
   8240 
   8241 #endif  /* __IXpsOMVisualBrush_INTERFACE_DEFINED__ */
   8242 
   8243 /*****************************************************************************
   8244  * IXpsOMImageBrush interface
   8245  */
   8246 #ifndef __IXpsOMImageBrush_INTERFACE_DEFINED__
   8247 #define __IXpsOMImageBrush_INTERFACE_DEFINED__
   8248 
   8249 DEFINE_GUID(IID_IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4);
   8250 #if defined(__cplusplus) && !defined(CINTERFACE)
   8251 MIDL_INTERFACE("3df0b466-d382-49ef-8550-dd94c80242e4")
   8252 IXpsOMImageBrush : public IXpsOMTileBrush
   8253 {
   8254     virtual HRESULT STDMETHODCALLTYPE GetImageResource(
   8255         IXpsOMImageResource **imageResource) = 0;
   8256 
   8257     virtual HRESULT STDMETHODCALLTYPE SetImageResource(
   8258         IXpsOMImageResource *imageResource) = 0;
   8259 
   8260     virtual HRESULT STDMETHODCALLTYPE GetColorProfileResource(
   8261         IXpsOMColorProfileResource **colorProfileResource) = 0;
   8262 
   8263     virtual HRESULT STDMETHODCALLTYPE SetColorProfileResource(
   8264         IXpsOMColorProfileResource *colorProfileResource) = 0;
   8265 
   8266     virtual HRESULT STDMETHODCALLTYPE Clone(
   8267         IXpsOMImageBrush **imageBrush) = 0;
   8268 
   8269 };
   8270 #ifdef __CRT_UUID_DECL
   8271 __CRT_UUID_DECL(IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4)
   8272 #endif
   8273 #else
   8274 typedef struct IXpsOMImageBrushVtbl {
   8275     BEGIN_INTERFACE
   8276 
   8277     /*** IUnknown methods ***/
   8278     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8279         IXpsOMImageBrush *This,
   8280         REFIID riid,
   8281         void **ppvObject);
   8282 
   8283     ULONG (STDMETHODCALLTYPE *AddRef)(
   8284         IXpsOMImageBrush *This);
   8285 
   8286     ULONG (STDMETHODCALLTYPE *Release)(
   8287         IXpsOMImageBrush *This);
   8288 
   8289     /*** IXpsOMShareable methods ***/
   8290     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8291         IXpsOMImageBrush *This,
   8292         IUnknown **owner);
   8293 
   8294     HRESULT (STDMETHODCALLTYPE *GetType)(
   8295         IXpsOMImageBrush *This,
   8296         XPS_OBJECT_TYPE *type);
   8297 
   8298     /*** IXpsOMBrush methods ***/
   8299     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8300         IXpsOMImageBrush *This,
   8301         FLOAT *opacity);
   8302 
   8303     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8304         IXpsOMImageBrush *This,
   8305         FLOAT opacity);
   8306 
   8307     /*** IXpsOMTileBrush methods ***/
   8308     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8309         IXpsOMImageBrush *This,
   8310         IXpsOMMatrixTransform **transform);
   8311 
   8312     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8313         IXpsOMImageBrush *This,
   8314         IXpsOMMatrixTransform **transform);
   8315 
   8316     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8317         IXpsOMImageBrush *This,
   8318         IXpsOMMatrixTransform *transform);
   8319 
   8320     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8321         IXpsOMImageBrush *This,
   8322         LPWSTR *key);
   8323 
   8324     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8325         IXpsOMImageBrush *This,
   8326         LPCWSTR key);
   8327 
   8328     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   8329         IXpsOMImageBrush *This,
   8330         XPS_RECT *viewbox);
   8331 
   8332     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   8333         IXpsOMImageBrush *This,
   8334         const XPS_RECT *viewbox);
   8335 
   8336     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   8337         IXpsOMImageBrush *This,
   8338         XPS_RECT *viewport);
   8339 
   8340     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   8341         IXpsOMImageBrush *This,
   8342         const XPS_RECT *viewport);
   8343 
   8344     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   8345         IXpsOMImageBrush *This,
   8346         XPS_TILE_MODE *tileMode);
   8347 
   8348     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   8349         IXpsOMImageBrush *This,
   8350         XPS_TILE_MODE tileMode);
   8351 
   8352     /*** IXpsOMImageBrush methods ***/
   8353     HRESULT (STDMETHODCALLTYPE *GetImageResource)(
   8354         IXpsOMImageBrush *This,
   8355         IXpsOMImageResource **imageResource);
   8356 
   8357     HRESULT (STDMETHODCALLTYPE *SetImageResource)(
   8358         IXpsOMImageBrush *This,
   8359         IXpsOMImageResource *imageResource);
   8360 
   8361     HRESULT (STDMETHODCALLTYPE *GetColorProfileResource)(
   8362         IXpsOMImageBrush *This,
   8363         IXpsOMColorProfileResource **colorProfileResource);
   8364 
   8365     HRESULT (STDMETHODCALLTYPE *SetColorProfileResource)(
   8366         IXpsOMImageBrush *This,
   8367         IXpsOMColorProfileResource *colorProfileResource);
   8368 
   8369     HRESULT (STDMETHODCALLTYPE *Clone)(
   8370         IXpsOMImageBrush *This,
   8371         IXpsOMImageBrush **imageBrush);
   8372 
   8373     END_INTERFACE
   8374 } IXpsOMImageBrushVtbl;
   8375 
   8376 interface IXpsOMImageBrush {
   8377     CONST_VTBL IXpsOMImageBrushVtbl* lpVtbl;
   8378 };
   8379 
   8380 #ifdef COBJMACROS
   8381 #ifndef WIDL_C_INLINE_WRAPPERS
   8382 /*** IUnknown methods ***/
   8383 #define IXpsOMImageBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   8384 #define IXpsOMImageBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   8385 #define IXpsOMImageBrush_Release(This) (This)->lpVtbl->Release(This)
   8386 /*** IXpsOMShareable methods ***/
   8387 #define IXpsOMImageBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   8388 #define IXpsOMImageBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   8389 /*** IXpsOMBrush methods ***/
   8390 #define IXpsOMImageBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   8391 #define IXpsOMImageBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   8392 /*** IXpsOMTileBrush methods ***/
   8393 #define IXpsOMImageBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   8394 #define IXpsOMImageBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   8395 #define IXpsOMImageBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   8396 #define IXpsOMImageBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   8397 #define IXpsOMImageBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   8398 #define IXpsOMImageBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   8399 #define IXpsOMImageBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   8400 #define IXpsOMImageBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   8401 #define IXpsOMImageBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   8402 #define IXpsOMImageBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   8403 #define IXpsOMImageBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   8404 /*** IXpsOMImageBrush methods ***/
   8405 #define IXpsOMImageBrush_GetImageResource(This,imageResource) (This)->lpVtbl->GetImageResource(This,imageResource)
   8406 #define IXpsOMImageBrush_SetImageResource(This,imageResource) (This)->lpVtbl->SetImageResource(This,imageResource)
   8407 #define IXpsOMImageBrush_GetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->GetColorProfileResource(This,colorProfileResource)
   8408 #define IXpsOMImageBrush_SetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->SetColorProfileResource(This,colorProfileResource)
   8409 #define IXpsOMImageBrush_Clone(This,imageBrush) (This)->lpVtbl->Clone(This,imageBrush)
   8410 #else
   8411 /*** IUnknown methods ***/
   8412 static inline HRESULT IXpsOMImageBrush_QueryInterface(IXpsOMImageBrush* This,REFIID riid,void **ppvObject) {
   8413     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   8414 }
   8415 static inline ULONG IXpsOMImageBrush_AddRef(IXpsOMImageBrush* This) {
   8416     return This->lpVtbl->AddRef(This);
   8417 }
   8418 static inline ULONG IXpsOMImageBrush_Release(IXpsOMImageBrush* This) {
   8419     return This->lpVtbl->Release(This);
   8420 }
   8421 /*** IXpsOMShareable methods ***/
   8422 static inline HRESULT IXpsOMImageBrush_GetOwner(IXpsOMImageBrush* This,IUnknown **owner) {
   8423     return This->lpVtbl->GetOwner(This,owner);
   8424 }
   8425 static inline HRESULT IXpsOMImageBrush_GetType(IXpsOMImageBrush* This,XPS_OBJECT_TYPE *type) {
   8426     return This->lpVtbl->GetType(This,type);
   8427 }
   8428 /*** IXpsOMBrush methods ***/
   8429 static inline HRESULT IXpsOMImageBrush_GetOpacity(IXpsOMImageBrush* This,FLOAT *opacity) {
   8430     return This->lpVtbl->GetOpacity(This,opacity);
   8431 }
   8432 static inline HRESULT IXpsOMImageBrush_SetOpacity(IXpsOMImageBrush* This,FLOAT opacity) {
   8433     return This->lpVtbl->SetOpacity(This,opacity);
   8434 }
   8435 /*** IXpsOMTileBrush methods ***/
   8436 static inline HRESULT IXpsOMImageBrush_GetTransform(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
   8437     return This->lpVtbl->GetTransform(This,transform);
   8438 }
   8439 static inline HRESULT IXpsOMImageBrush_GetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
   8440     return This->lpVtbl->GetTransformLocal(This,transform);
   8441 }
   8442 static inline HRESULT IXpsOMImageBrush_SetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform *transform) {
   8443     return This->lpVtbl->SetTransformLocal(This,transform);
   8444 }
   8445 static inline HRESULT IXpsOMImageBrush_GetTransformLookup(IXpsOMImageBrush* This,LPWSTR *key) {
   8446     return This->lpVtbl->GetTransformLookup(This,key);
   8447 }
   8448 static inline HRESULT IXpsOMImageBrush_SetTransformLookup(IXpsOMImageBrush* This,LPCWSTR key) {
   8449     return This->lpVtbl->SetTransformLookup(This,key);
   8450 }
   8451 static inline HRESULT IXpsOMImageBrush_GetViewbox(IXpsOMImageBrush* This,XPS_RECT *viewbox) {
   8452     return This->lpVtbl->GetViewbox(This,viewbox);
   8453 }
   8454 static inline HRESULT IXpsOMImageBrush_SetViewbox(IXpsOMImageBrush* This,const XPS_RECT *viewbox) {
   8455     return This->lpVtbl->SetViewbox(This,viewbox);
   8456 }
   8457 static inline HRESULT IXpsOMImageBrush_GetViewport(IXpsOMImageBrush* This,XPS_RECT *viewport) {
   8458     return This->lpVtbl->GetViewport(This,viewport);
   8459 }
   8460 static inline HRESULT IXpsOMImageBrush_SetViewport(IXpsOMImageBrush* This,const XPS_RECT *viewport) {
   8461     return This->lpVtbl->SetViewport(This,viewport);
   8462 }
   8463 static inline HRESULT IXpsOMImageBrush_GetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE *tileMode) {
   8464     return This->lpVtbl->GetTileMode(This,tileMode);
   8465 }
   8466 static inline HRESULT IXpsOMImageBrush_SetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE tileMode) {
   8467     return This->lpVtbl->SetTileMode(This,tileMode);
   8468 }
   8469 /*** IXpsOMImageBrush methods ***/
   8470 static inline HRESULT IXpsOMImageBrush_GetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource **imageResource) {
   8471     return This->lpVtbl->GetImageResource(This,imageResource);
   8472 }
   8473 static inline HRESULT IXpsOMImageBrush_SetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource *imageResource) {
   8474     return This->lpVtbl->SetImageResource(This,imageResource);
   8475 }
   8476 static inline HRESULT IXpsOMImageBrush_GetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource **colorProfileResource) {
   8477     return This->lpVtbl->GetColorProfileResource(This,colorProfileResource);
   8478 }
   8479 static inline HRESULT IXpsOMImageBrush_SetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource *colorProfileResource) {
   8480     return This->lpVtbl->SetColorProfileResource(This,colorProfileResource);
   8481 }
   8482 static inline HRESULT IXpsOMImageBrush_Clone(IXpsOMImageBrush* This,IXpsOMImageBrush **imageBrush) {
   8483     return This->lpVtbl->Clone(This,imageBrush);
   8484 }
   8485 #endif
   8486 #endif
   8487 
   8488 #endif
   8489 
   8490 
   8491 #endif  /* __IXpsOMImageBrush_INTERFACE_DEFINED__ */
   8492 
   8493 /*****************************************************************************
   8494  * IXpsOMLinearGradientBrush interface
   8495  */
   8496 #ifndef __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
   8497 #define __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
   8498 
   8499 DEFINE_GUID(IID_IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb);
   8500 #if defined(__cplusplus) && !defined(CINTERFACE)
   8501 MIDL_INTERFACE("005e279f-c30d-40ff-93ec-1950d3c528db")
   8502 IXpsOMLinearGradientBrush : public IXpsOMGradientBrush
   8503 {
   8504     virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
   8505         XPS_POINT *startPoint) = 0;
   8506 
   8507     virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
   8508         const XPS_POINT *startPoint) = 0;
   8509 
   8510     virtual HRESULT STDMETHODCALLTYPE GetEndPoint(
   8511         XPS_POINT *endPoint) = 0;
   8512 
   8513     virtual HRESULT STDMETHODCALLTYPE SetEndPoint(
   8514         const XPS_POINT *endPoint) = 0;
   8515 
   8516     virtual HRESULT STDMETHODCALLTYPE Clone(
   8517         IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
   8518 
   8519 };
   8520 #ifdef __CRT_UUID_DECL
   8521 __CRT_UUID_DECL(IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb)
   8522 #endif
   8523 #else
   8524 typedef struct IXpsOMLinearGradientBrushVtbl {
   8525     BEGIN_INTERFACE
   8526 
   8527     /*** IUnknown methods ***/
   8528     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8529         IXpsOMLinearGradientBrush *This,
   8530         REFIID riid,
   8531         void **ppvObject);
   8532 
   8533     ULONG (STDMETHODCALLTYPE *AddRef)(
   8534         IXpsOMLinearGradientBrush *This);
   8535 
   8536     ULONG (STDMETHODCALLTYPE *Release)(
   8537         IXpsOMLinearGradientBrush *This);
   8538 
   8539     /*** IXpsOMShareable methods ***/
   8540     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8541         IXpsOMLinearGradientBrush *This,
   8542         IUnknown **owner);
   8543 
   8544     HRESULT (STDMETHODCALLTYPE *GetType)(
   8545         IXpsOMLinearGradientBrush *This,
   8546         XPS_OBJECT_TYPE *type);
   8547 
   8548     /*** IXpsOMBrush methods ***/
   8549     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8550         IXpsOMLinearGradientBrush *This,
   8551         FLOAT *opacity);
   8552 
   8553     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8554         IXpsOMLinearGradientBrush *This,
   8555         FLOAT opacity);
   8556 
   8557     /*** IXpsOMGradientBrush methods ***/
   8558     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   8559         IXpsOMLinearGradientBrush *This,
   8560         IXpsOMGradientStopCollection **gradientStops);
   8561 
   8562     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8563         IXpsOMLinearGradientBrush *This,
   8564         IXpsOMMatrixTransform **transform);
   8565 
   8566     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8567         IXpsOMLinearGradientBrush *This,
   8568         IXpsOMMatrixTransform **transform);
   8569 
   8570     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8571         IXpsOMLinearGradientBrush *This,
   8572         IXpsOMMatrixTransform *transform);
   8573 
   8574     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8575         IXpsOMLinearGradientBrush *This,
   8576         LPWSTR *key);
   8577 
   8578     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8579         IXpsOMLinearGradientBrush *This,
   8580         LPCWSTR key);
   8581 
   8582     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   8583         IXpsOMLinearGradientBrush *This,
   8584         XPS_SPREAD_METHOD *spreadMethod);
   8585 
   8586     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   8587         IXpsOMLinearGradientBrush *This,
   8588         XPS_SPREAD_METHOD spreadMethod);
   8589 
   8590     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   8591         IXpsOMLinearGradientBrush *This,
   8592         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   8593 
   8594     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   8595         IXpsOMLinearGradientBrush *This,
   8596         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   8597 
   8598     /*** IXpsOMLinearGradientBrush methods ***/
   8599     HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
   8600         IXpsOMLinearGradientBrush *This,
   8601         XPS_POINT *startPoint);
   8602 
   8603     HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
   8604         IXpsOMLinearGradientBrush *This,
   8605         const XPS_POINT *startPoint);
   8606 
   8607     HRESULT (STDMETHODCALLTYPE *GetEndPoint)(
   8608         IXpsOMLinearGradientBrush *This,
   8609         XPS_POINT *endPoint);
   8610 
   8611     HRESULT (STDMETHODCALLTYPE *SetEndPoint)(
   8612         IXpsOMLinearGradientBrush *This,
   8613         const XPS_POINT *endPoint);
   8614 
   8615     HRESULT (STDMETHODCALLTYPE *Clone)(
   8616         IXpsOMLinearGradientBrush *This,
   8617         IXpsOMLinearGradientBrush **linearGradientBrush);
   8618 
   8619     END_INTERFACE
   8620 } IXpsOMLinearGradientBrushVtbl;
   8621 
   8622 interface IXpsOMLinearGradientBrush {
   8623     CONST_VTBL IXpsOMLinearGradientBrushVtbl* lpVtbl;
   8624 };
   8625 
   8626 #ifdef COBJMACROS
   8627 #ifndef WIDL_C_INLINE_WRAPPERS
   8628 /*** IUnknown methods ***/
   8629 #define IXpsOMLinearGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   8630 #define IXpsOMLinearGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   8631 #define IXpsOMLinearGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   8632 /*** IXpsOMShareable methods ***/
   8633 #define IXpsOMLinearGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   8634 #define IXpsOMLinearGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   8635 /*** IXpsOMBrush methods ***/
   8636 #define IXpsOMLinearGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   8637 #define IXpsOMLinearGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   8638 /*** IXpsOMGradientBrush methods ***/
   8639 #define IXpsOMLinearGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   8640 #define IXpsOMLinearGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   8641 #define IXpsOMLinearGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   8642 #define IXpsOMLinearGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   8643 #define IXpsOMLinearGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   8644 #define IXpsOMLinearGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   8645 #define IXpsOMLinearGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   8646 #define IXpsOMLinearGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   8647 #define IXpsOMLinearGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   8648 #define IXpsOMLinearGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   8649 /*** IXpsOMLinearGradientBrush methods ***/
   8650 #define IXpsOMLinearGradientBrush_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
   8651 #define IXpsOMLinearGradientBrush_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
   8652 #define IXpsOMLinearGradientBrush_GetEndPoint(This,endPoint) (This)->lpVtbl->GetEndPoint(This,endPoint)
   8653 #define IXpsOMLinearGradientBrush_SetEndPoint(This,endPoint) (This)->lpVtbl->SetEndPoint(This,endPoint)
   8654 #define IXpsOMLinearGradientBrush_Clone(This,linearGradientBrush) (This)->lpVtbl->Clone(This,linearGradientBrush)
   8655 #else
   8656 /*** IUnknown methods ***/
   8657 static inline HRESULT IXpsOMLinearGradientBrush_QueryInterface(IXpsOMLinearGradientBrush* This,REFIID riid,void **ppvObject) {
   8658     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   8659 }
   8660 static inline ULONG IXpsOMLinearGradientBrush_AddRef(IXpsOMLinearGradientBrush* This) {
   8661     return This->lpVtbl->AddRef(This);
   8662 }
   8663 static inline ULONG IXpsOMLinearGradientBrush_Release(IXpsOMLinearGradientBrush* This) {
   8664     return This->lpVtbl->Release(This);
   8665 }
   8666 /*** IXpsOMShareable methods ***/
   8667 static inline HRESULT IXpsOMLinearGradientBrush_GetOwner(IXpsOMLinearGradientBrush* This,IUnknown **owner) {
   8668     return This->lpVtbl->GetOwner(This,owner);
   8669 }
   8670 static inline HRESULT IXpsOMLinearGradientBrush_GetType(IXpsOMLinearGradientBrush* This,XPS_OBJECT_TYPE *type) {
   8671     return This->lpVtbl->GetType(This,type);
   8672 }
   8673 /*** IXpsOMBrush methods ***/
   8674 static inline HRESULT IXpsOMLinearGradientBrush_GetOpacity(IXpsOMLinearGradientBrush* This,FLOAT *opacity) {
   8675     return This->lpVtbl->GetOpacity(This,opacity);
   8676 }
   8677 static inline HRESULT IXpsOMLinearGradientBrush_SetOpacity(IXpsOMLinearGradientBrush* This,FLOAT opacity) {
   8678     return This->lpVtbl->SetOpacity(This,opacity);
   8679 }
   8680 /*** IXpsOMGradientBrush methods ***/
   8681 static inline HRESULT IXpsOMLinearGradientBrush_GetGradientStops(IXpsOMLinearGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   8682     return This->lpVtbl->GetGradientStops(This,gradientStops);
   8683 }
   8684 static inline HRESULT IXpsOMLinearGradientBrush_GetTransform(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
   8685     return This->lpVtbl->GetTransform(This,transform);
   8686 }
   8687 static inline HRESULT IXpsOMLinearGradientBrush_GetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
   8688     return This->lpVtbl->GetTransformLocal(This,transform);
   8689 }
   8690 static inline HRESULT IXpsOMLinearGradientBrush_SetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform *transform) {
   8691     return This->lpVtbl->SetTransformLocal(This,transform);
   8692 }
   8693 static inline HRESULT IXpsOMLinearGradientBrush_GetTransformLookup(IXpsOMLinearGradientBrush* This,LPWSTR *key) {
   8694     return This->lpVtbl->GetTransformLookup(This,key);
   8695 }
   8696 static inline HRESULT IXpsOMLinearGradientBrush_SetTransformLookup(IXpsOMLinearGradientBrush* This,LPCWSTR key) {
   8697     return This->lpVtbl->SetTransformLookup(This,key);
   8698 }
   8699 static inline HRESULT IXpsOMLinearGradientBrush_GetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   8700     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   8701 }
   8702 static inline HRESULT IXpsOMLinearGradientBrush_SetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   8703     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   8704 }
   8705 static inline HRESULT IXpsOMLinearGradientBrush_GetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   8706     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   8707 }
   8708 static inline HRESULT IXpsOMLinearGradientBrush_SetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   8709     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   8710 }
   8711 /*** IXpsOMLinearGradientBrush methods ***/
   8712 static inline HRESULT IXpsOMLinearGradientBrush_GetStartPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *startPoint) {
   8713     return This->lpVtbl->GetStartPoint(This,startPoint);
   8714 }
   8715 static inline HRESULT IXpsOMLinearGradientBrush_SetStartPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *startPoint) {
   8716     return This->lpVtbl->SetStartPoint(This,startPoint);
   8717 }
   8718 static inline HRESULT IXpsOMLinearGradientBrush_GetEndPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *endPoint) {
   8719     return This->lpVtbl->GetEndPoint(This,endPoint);
   8720 }
   8721 static inline HRESULT IXpsOMLinearGradientBrush_SetEndPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *endPoint) {
   8722     return This->lpVtbl->SetEndPoint(This,endPoint);
   8723 }
   8724 static inline HRESULT IXpsOMLinearGradientBrush_Clone(IXpsOMLinearGradientBrush* This,IXpsOMLinearGradientBrush **linearGradientBrush) {
   8725     return This->lpVtbl->Clone(This,linearGradientBrush);
   8726 }
   8727 #endif
   8728 #endif
   8729 
   8730 #endif
   8731 
   8732 
   8733 #endif  /* __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__ */
   8734 
   8735 /*****************************************************************************
   8736  * IXpsOMRadialGradientBrush interface
   8737  */
   8738 #ifndef __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
   8739 #define __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
   8740 
   8741 DEFINE_GUID(IID_IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b);
   8742 #if defined(__cplusplus) && !defined(CINTERFACE)
   8743 MIDL_INTERFACE("75f207e5-08bf-413c-96b1-b82b4064176b")
   8744 IXpsOMRadialGradientBrush : public IXpsOMGradientBrush
   8745 {
   8746     virtual HRESULT STDMETHODCALLTYPE GetCenter(
   8747         XPS_POINT *center) = 0;
   8748 
   8749     virtual HRESULT STDMETHODCALLTYPE SetCenter(
   8750         const XPS_POINT *center) = 0;
   8751 
   8752     virtual HRESULT STDMETHODCALLTYPE GetRadiiSizes(
   8753         XPS_SIZE *radiiSizes) = 0;
   8754 
   8755     virtual HRESULT STDMETHODCALLTYPE SetRadiiSizes(
   8756         const XPS_SIZE *radiiSizes) = 0;
   8757 
   8758     virtual HRESULT STDMETHODCALLTYPE GetGradientOrigin(
   8759         XPS_POINT *origin) = 0;
   8760 
   8761     virtual HRESULT STDMETHODCALLTYPE SetGradientOrigin(
   8762         const XPS_POINT *origin) = 0;
   8763 
   8764     virtual HRESULT STDMETHODCALLTYPE Clone(
   8765         IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
   8766 
   8767 };
   8768 #ifdef __CRT_UUID_DECL
   8769 __CRT_UUID_DECL(IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b)
   8770 #endif
   8771 #else
   8772 typedef struct IXpsOMRadialGradientBrushVtbl {
   8773     BEGIN_INTERFACE
   8774 
   8775     /*** IUnknown methods ***/
   8776     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8777         IXpsOMRadialGradientBrush *This,
   8778         REFIID riid,
   8779         void **ppvObject);
   8780 
   8781     ULONG (STDMETHODCALLTYPE *AddRef)(
   8782         IXpsOMRadialGradientBrush *This);
   8783 
   8784     ULONG (STDMETHODCALLTYPE *Release)(
   8785         IXpsOMRadialGradientBrush *This);
   8786 
   8787     /*** IXpsOMShareable methods ***/
   8788     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8789         IXpsOMRadialGradientBrush *This,
   8790         IUnknown **owner);
   8791 
   8792     HRESULT (STDMETHODCALLTYPE *GetType)(
   8793         IXpsOMRadialGradientBrush *This,
   8794         XPS_OBJECT_TYPE *type);
   8795 
   8796     /*** IXpsOMBrush methods ***/
   8797     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8798         IXpsOMRadialGradientBrush *This,
   8799         FLOAT *opacity);
   8800 
   8801     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8802         IXpsOMRadialGradientBrush *This,
   8803         FLOAT opacity);
   8804 
   8805     /*** IXpsOMGradientBrush methods ***/
   8806     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   8807         IXpsOMRadialGradientBrush *This,
   8808         IXpsOMGradientStopCollection **gradientStops);
   8809 
   8810     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8811         IXpsOMRadialGradientBrush *This,
   8812         IXpsOMMatrixTransform **transform);
   8813 
   8814     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8815         IXpsOMRadialGradientBrush *This,
   8816         IXpsOMMatrixTransform **transform);
   8817 
   8818     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8819         IXpsOMRadialGradientBrush *This,
   8820         IXpsOMMatrixTransform *transform);
   8821 
   8822     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8823         IXpsOMRadialGradientBrush *This,
   8824         LPWSTR *key);
   8825 
   8826     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8827         IXpsOMRadialGradientBrush *This,
   8828         LPCWSTR key);
   8829 
   8830     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   8831         IXpsOMRadialGradientBrush *This,
   8832         XPS_SPREAD_METHOD *spreadMethod);
   8833 
   8834     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   8835         IXpsOMRadialGradientBrush *This,
   8836         XPS_SPREAD_METHOD spreadMethod);
   8837 
   8838     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   8839         IXpsOMRadialGradientBrush *This,
   8840         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   8841 
   8842     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   8843         IXpsOMRadialGradientBrush *This,
   8844         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   8845 
   8846     /*** IXpsOMRadialGradientBrush methods ***/
   8847     HRESULT (STDMETHODCALLTYPE *GetCenter)(
   8848         IXpsOMRadialGradientBrush *This,
   8849         XPS_POINT *center);
   8850 
   8851     HRESULT (STDMETHODCALLTYPE *SetCenter)(
   8852         IXpsOMRadialGradientBrush *This,
   8853         const XPS_POINT *center);
   8854 
   8855     HRESULT (STDMETHODCALLTYPE *GetRadiiSizes)(
   8856         IXpsOMRadialGradientBrush *This,
   8857         XPS_SIZE *radiiSizes);
   8858 
   8859     HRESULT (STDMETHODCALLTYPE *SetRadiiSizes)(
   8860         IXpsOMRadialGradientBrush *This,
   8861         const XPS_SIZE *radiiSizes);
   8862 
   8863     HRESULT (STDMETHODCALLTYPE *GetGradientOrigin)(
   8864         IXpsOMRadialGradientBrush *This,
   8865         XPS_POINT *origin);
   8866 
   8867     HRESULT (STDMETHODCALLTYPE *SetGradientOrigin)(
   8868         IXpsOMRadialGradientBrush *This,
   8869         const XPS_POINT *origin);
   8870 
   8871     HRESULT (STDMETHODCALLTYPE *Clone)(
   8872         IXpsOMRadialGradientBrush *This,
   8873         IXpsOMRadialGradientBrush **radialGradientBrush);
   8874 
   8875     END_INTERFACE
   8876 } IXpsOMRadialGradientBrushVtbl;
   8877 
   8878 interface IXpsOMRadialGradientBrush {
   8879     CONST_VTBL IXpsOMRadialGradientBrushVtbl* lpVtbl;
   8880 };
   8881 
   8882 #ifdef COBJMACROS
   8883 #ifndef WIDL_C_INLINE_WRAPPERS
   8884 /*** IUnknown methods ***/
   8885 #define IXpsOMRadialGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   8886 #define IXpsOMRadialGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   8887 #define IXpsOMRadialGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   8888 /*** IXpsOMShareable methods ***/
   8889 #define IXpsOMRadialGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   8890 #define IXpsOMRadialGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   8891 /*** IXpsOMBrush methods ***/
   8892 #define IXpsOMRadialGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   8893 #define IXpsOMRadialGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   8894 /*** IXpsOMGradientBrush methods ***/
   8895 #define IXpsOMRadialGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   8896 #define IXpsOMRadialGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   8897 #define IXpsOMRadialGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   8898 #define IXpsOMRadialGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   8899 #define IXpsOMRadialGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   8900 #define IXpsOMRadialGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   8901 #define IXpsOMRadialGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   8902 #define IXpsOMRadialGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   8903 #define IXpsOMRadialGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   8904 #define IXpsOMRadialGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   8905 /*** IXpsOMRadialGradientBrush methods ***/
   8906 #define IXpsOMRadialGradientBrush_GetCenter(This,center) (This)->lpVtbl->GetCenter(This,center)
   8907 #define IXpsOMRadialGradientBrush_SetCenter(This,center) (This)->lpVtbl->SetCenter(This,center)
   8908 #define IXpsOMRadialGradientBrush_GetRadiiSizes(This,radiiSizes) (This)->lpVtbl->GetRadiiSizes(This,radiiSizes)
   8909 #define IXpsOMRadialGradientBrush_SetRadiiSizes(This,radiiSizes) (This)->lpVtbl->SetRadiiSizes(This,radiiSizes)
   8910 #define IXpsOMRadialGradientBrush_GetGradientOrigin(This,origin) (This)->lpVtbl->GetGradientOrigin(This,origin)
   8911 #define IXpsOMRadialGradientBrush_SetGradientOrigin(This,origin) (This)->lpVtbl->SetGradientOrigin(This,origin)
   8912 #define IXpsOMRadialGradientBrush_Clone(This,radialGradientBrush) (This)->lpVtbl->Clone(This,radialGradientBrush)
   8913 #else
   8914 /*** IUnknown methods ***/
   8915 static inline HRESULT IXpsOMRadialGradientBrush_QueryInterface(IXpsOMRadialGradientBrush* This,REFIID riid,void **ppvObject) {
   8916     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   8917 }
   8918 static inline ULONG IXpsOMRadialGradientBrush_AddRef(IXpsOMRadialGradientBrush* This) {
   8919     return This->lpVtbl->AddRef(This);
   8920 }
   8921 static inline ULONG IXpsOMRadialGradientBrush_Release(IXpsOMRadialGradientBrush* This) {
   8922     return This->lpVtbl->Release(This);
   8923 }
   8924 /*** IXpsOMShareable methods ***/
   8925 static inline HRESULT IXpsOMRadialGradientBrush_GetOwner(IXpsOMRadialGradientBrush* This,IUnknown **owner) {
   8926     return This->lpVtbl->GetOwner(This,owner);
   8927 }
   8928 static inline HRESULT IXpsOMRadialGradientBrush_GetType(IXpsOMRadialGradientBrush* This,XPS_OBJECT_TYPE *type) {
   8929     return This->lpVtbl->GetType(This,type);
   8930 }
   8931 /*** IXpsOMBrush methods ***/
   8932 static inline HRESULT IXpsOMRadialGradientBrush_GetOpacity(IXpsOMRadialGradientBrush* This,FLOAT *opacity) {
   8933     return This->lpVtbl->GetOpacity(This,opacity);
   8934 }
   8935 static inline HRESULT IXpsOMRadialGradientBrush_SetOpacity(IXpsOMRadialGradientBrush* This,FLOAT opacity) {
   8936     return This->lpVtbl->SetOpacity(This,opacity);
   8937 }
   8938 /*** IXpsOMGradientBrush methods ***/
   8939 static inline HRESULT IXpsOMRadialGradientBrush_GetGradientStops(IXpsOMRadialGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   8940     return This->lpVtbl->GetGradientStops(This,gradientStops);
   8941 }
   8942 static inline HRESULT IXpsOMRadialGradientBrush_GetTransform(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
   8943     return This->lpVtbl->GetTransform(This,transform);
   8944 }
   8945 static inline HRESULT IXpsOMRadialGradientBrush_GetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
   8946     return This->lpVtbl->GetTransformLocal(This,transform);
   8947 }
   8948 static inline HRESULT IXpsOMRadialGradientBrush_SetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform *transform) {
   8949     return This->lpVtbl->SetTransformLocal(This,transform);
   8950 }
   8951 static inline HRESULT IXpsOMRadialGradientBrush_GetTransformLookup(IXpsOMRadialGradientBrush* This,LPWSTR *key) {
   8952     return This->lpVtbl->GetTransformLookup(This,key);
   8953 }
   8954 static inline HRESULT IXpsOMRadialGradientBrush_SetTransformLookup(IXpsOMRadialGradientBrush* This,LPCWSTR key) {
   8955     return This->lpVtbl->SetTransformLookup(This,key);
   8956 }
   8957 static inline HRESULT IXpsOMRadialGradientBrush_GetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   8958     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   8959 }
   8960 static inline HRESULT IXpsOMRadialGradientBrush_SetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   8961     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   8962 }
   8963 static inline HRESULT IXpsOMRadialGradientBrush_GetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   8964     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   8965 }
   8966 static inline HRESULT IXpsOMRadialGradientBrush_SetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   8967     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   8968 }
   8969 /*** IXpsOMRadialGradientBrush methods ***/
   8970 static inline HRESULT IXpsOMRadialGradientBrush_GetCenter(IXpsOMRadialGradientBrush* This,XPS_POINT *center) {
   8971     return This->lpVtbl->GetCenter(This,center);
   8972 }
   8973 static inline HRESULT IXpsOMRadialGradientBrush_SetCenter(IXpsOMRadialGradientBrush* This,const XPS_POINT *center) {
   8974     return This->lpVtbl->SetCenter(This,center);
   8975 }
   8976 static inline HRESULT IXpsOMRadialGradientBrush_GetRadiiSizes(IXpsOMRadialGradientBrush* This,XPS_SIZE *radiiSizes) {
   8977     return This->lpVtbl->GetRadiiSizes(This,radiiSizes);
   8978 }
   8979 static inline HRESULT IXpsOMRadialGradientBrush_SetRadiiSizes(IXpsOMRadialGradientBrush* This,const XPS_SIZE *radiiSizes) {
   8980     return This->lpVtbl->SetRadiiSizes(This,radiiSizes);
   8981 }
   8982 static inline HRESULT IXpsOMRadialGradientBrush_GetGradientOrigin(IXpsOMRadialGradientBrush* This,XPS_POINT *origin) {
   8983     return This->lpVtbl->GetGradientOrigin(This,origin);
   8984 }
   8985 static inline HRESULT IXpsOMRadialGradientBrush_SetGradientOrigin(IXpsOMRadialGradientBrush* This,const XPS_POINT *origin) {
   8986     return This->lpVtbl->SetGradientOrigin(This,origin);
   8987 }
   8988 static inline HRESULT IXpsOMRadialGradientBrush_Clone(IXpsOMRadialGradientBrush* This,IXpsOMRadialGradientBrush **radialGradientBrush) {
   8989     return This->lpVtbl->Clone(This,radialGradientBrush);
   8990 }
   8991 #endif
   8992 #endif
   8993 
   8994 #endif
   8995 
   8996 
   8997 #endif  /* __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__ */
   8998 
   8999 /*****************************************************************************
   9000  * IXpsOMResource interface
   9001  */
   9002 #ifndef __IXpsOMResource_INTERFACE_DEFINED__
   9003 #define __IXpsOMResource_INTERFACE_DEFINED__
   9004 
   9005 DEFINE_GUID(IID_IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5);
   9006 #if defined(__cplusplus) && !defined(CINTERFACE)
   9007 MIDL_INTERFACE("da2ac0a2-73a2-4975-ad14-74097c3ff3a5")
   9008 IXpsOMResource : public IXpsOMPart
   9009 {
   9010 };
   9011 #ifdef __CRT_UUID_DECL
   9012 __CRT_UUID_DECL(IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5)
   9013 #endif
   9014 #else
   9015 typedef struct IXpsOMResourceVtbl {
   9016     BEGIN_INTERFACE
   9017 
   9018     /*** IUnknown methods ***/
   9019     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9020         IXpsOMResource *This,
   9021         REFIID riid,
   9022         void **ppvObject);
   9023 
   9024     ULONG (STDMETHODCALLTYPE *AddRef)(
   9025         IXpsOMResource *This);
   9026 
   9027     ULONG (STDMETHODCALLTYPE *Release)(
   9028         IXpsOMResource *This);
   9029 
   9030     /*** IXpsOMPart methods ***/
   9031     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9032         IXpsOMResource *This,
   9033         IOpcPartUri **partUri);
   9034 
   9035     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9036         IXpsOMResource *This,
   9037         IOpcPartUri *partUri);
   9038 
   9039     END_INTERFACE
   9040 } IXpsOMResourceVtbl;
   9041 
   9042 interface IXpsOMResource {
   9043     CONST_VTBL IXpsOMResourceVtbl* lpVtbl;
   9044 };
   9045 
   9046 #ifdef COBJMACROS
   9047 #ifndef WIDL_C_INLINE_WRAPPERS
   9048 /*** IUnknown methods ***/
   9049 #define IXpsOMResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9050 #define IXpsOMResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9051 #define IXpsOMResource_Release(This) (This)->lpVtbl->Release(This)
   9052 /*** IXpsOMPart methods ***/
   9053 #define IXpsOMResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9054 #define IXpsOMResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9055 #else
   9056 /*** IUnknown methods ***/
   9057 static inline HRESULT IXpsOMResource_QueryInterface(IXpsOMResource* This,REFIID riid,void **ppvObject) {
   9058     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9059 }
   9060 static inline ULONG IXpsOMResource_AddRef(IXpsOMResource* This) {
   9061     return This->lpVtbl->AddRef(This);
   9062 }
   9063 static inline ULONG IXpsOMResource_Release(IXpsOMResource* This) {
   9064     return This->lpVtbl->Release(This);
   9065 }
   9066 /*** IXpsOMPart methods ***/
   9067 static inline HRESULT IXpsOMResource_GetPartName(IXpsOMResource* This,IOpcPartUri **partUri) {
   9068     return This->lpVtbl->GetPartName(This,partUri);
   9069 }
   9070 static inline HRESULT IXpsOMResource_SetPartName(IXpsOMResource* This,IOpcPartUri *partUri) {
   9071     return This->lpVtbl->SetPartName(This,partUri);
   9072 }
   9073 #endif
   9074 #endif
   9075 
   9076 #endif
   9077 
   9078 
   9079 #endif  /* __IXpsOMResource_INTERFACE_DEFINED__ */
   9080 
   9081 /*****************************************************************************
   9082  * IXpsOMFontResource interface
   9083  */
   9084 #ifndef __IXpsOMFontResource_INTERFACE_DEFINED__
   9085 #define __IXpsOMFontResource_INTERFACE_DEFINED__
   9086 
   9087 DEFINE_GUID(IID_IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85);
   9088 #if defined(__cplusplus) && !defined(CINTERFACE)
   9089 MIDL_INTERFACE("a8c45708-47d9-4af4-8d20-33b48c9b8485")
   9090 IXpsOMFontResource : public IXpsOMResource
   9091 {
   9092     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9093         IStream **readerStream) = 0;
   9094 
   9095     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9096         IStream *sourceStream,
   9097         XPS_FONT_EMBEDDING embeddingOption,
   9098         IOpcPartUri *partName) = 0;
   9099 
   9100     virtual HRESULT STDMETHODCALLTYPE GetEmbeddingOption(
   9101         XPS_FONT_EMBEDDING *embeddingOption) = 0;
   9102 
   9103 };
   9104 #ifdef __CRT_UUID_DECL
   9105 __CRT_UUID_DECL(IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85)
   9106 #endif
   9107 #else
   9108 typedef struct IXpsOMFontResourceVtbl {
   9109     BEGIN_INTERFACE
   9110 
   9111     /*** IUnknown methods ***/
   9112     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9113         IXpsOMFontResource *This,
   9114         REFIID riid,
   9115         void **ppvObject);
   9116 
   9117     ULONG (STDMETHODCALLTYPE *AddRef)(
   9118         IXpsOMFontResource *This);
   9119 
   9120     ULONG (STDMETHODCALLTYPE *Release)(
   9121         IXpsOMFontResource *This);
   9122 
   9123     /*** IXpsOMPart methods ***/
   9124     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9125         IXpsOMFontResource *This,
   9126         IOpcPartUri **partUri);
   9127 
   9128     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9129         IXpsOMFontResource *This,
   9130         IOpcPartUri *partUri);
   9131 
   9132     /*** IXpsOMFontResource methods ***/
   9133     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9134         IXpsOMFontResource *This,
   9135         IStream **readerStream);
   9136 
   9137     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9138         IXpsOMFontResource *This,
   9139         IStream *sourceStream,
   9140         XPS_FONT_EMBEDDING embeddingOption,
   9141         IOpcPartUri *partName);
   9142 
   9143     HRESULT (STDMETHODCALLTYPE *GetEmbeddingOption)(
   9144         IXpsOMFontResource *This,
   9145         XPS_FONT_EMBEDDING *embeddingOption);
   9146 
   9147     END_INTERFACE
   9148 } IXpsOMFontResourceVtbl;
   9149 
   9150 interface IXpsOMFontResource {
   9151     CONST_VTBL IXpsOMFontResourceVtbl* lpVtbl;
   9152 };
   9153 
   9154 #ifdef COBJMACROS
   9155 #ifndef WIDL_C_INLINE_WRAPPERS
   9156 /*** IUnknown methods ***/
   9157 #define IXpsOMFontResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9158 #define IXpsOMFontResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9159 #define IXpsOMFontResource_Release(This) (This)->lpVtbl->Release(This)
   9160 /*** IXpsOMPart methods ***/
   9161 #define IXpsOMFontResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9162 #define IXpsOMFontResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9163 /*** IXpsOMFontResource methods ***/
   9164 #define IXpsOMFontResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
   9165 #define IXpsOMFontResource_SetContent(This,sourceStream,embeddingOption,partName) (This)->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName)
   9166 #define IXpsOMFontResource_GetEmbeddingOption(This,embeddingOption) (This)->lpVtbl->GetEmbeddingOption(This,embeddingOption)
   9167 #else
   9168 /*** IUnknown methods ***/
   9169 static inline HRESULT IXpsOMFontResource_QueryInterface(IXpsOMFontResource* This,REFIID riid,void **ppvObject) {
   9170     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9171 }
   9172 static inline ULONG IXpsOMFontResource_AddRef(IXpsOMFontResource* This) {
   9173     return This->lpVtbl->AddRef(This);
   9174 }
   9175 static inline ULONG IXpsOMFontResource_Release(IXpsOMFontResource* This) {
   9176     return This->lpVtbl->Release(This);
   9177 }
   9178 /*** IXpsOMPart methods ***/
   9179 static inline HRESULT IXpsOMFontResource_GetPartName(IXpsOMFontResource* This,IOpcPartUri **partUri) {
   9180     return This->lpVtbl->GetPartName(This,partUri);
   9181 }
   9182 static inline HRESULT IXpsOMFontResource_SetPartName(IXpsOMFontResource* This,IOpcPartUri *partUri) {
   9183     return This->lpVtbl->SetPartName(This,partUri);
   9184 }
   9185 /*** IXpsOMFontResource methods ***/
   9186 static inline HRESULT IXpsOMFontResource_GetStream(IXpsOMFontResource* This,IStream **readerStream) {
   9187     return This->lpVtbl->GetStream(This,readerStream);
   9188 }
   9189 static inline HRESULT IXpsOMFontResource_SetContent(IXpsOMFontResource* This,IStream *sourceStream,XPS_FONT_EMBEDDING embeddingOption,IOpcPartUri *partName) {
   9190     return This->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName);
   9191 }
   9192 static inline HRESULT IXpsOMFontResource_GetEmbeddingOption(IXpsOMFontResource* This,XPS_FONT_EMBEDDING *embeddingOption) {
   9193     return This->lpVtbl->GetEmbeddingOption(This,embeddingOption);
   9194 }
   9195 #endif
   9196 #endif
   9197 
   9198 #endif
   9199 
   9200 
   9201 #endif  /* __IXpsOMFontResource_INTERFACE_DEFINED__ */
   9202 
   9203 /*****************************************************************************
   9204  * IXpsOMImageResource interface
   9205  */
   9206 #ifndef __IXpsOMImageResource_INTERFACE_DEFINED__
   9207 #define __IXpsOMImageResource_INTERFACE_DEFINED__
   9208 
   9209 DEFINE_GUID(IID_IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f);
   9210 #if defined(__cplusplus) && !defined(CINTERFACE)
   9211 MIDL_INTERFACE("3db8417d-ae50-485e-9a44-d7758f78a23f")
   9212 IXpsOMImageResource : public IXpsOMResource
   9213 {
   9214     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9215         IStream **readerStream) = 0;
   9216 
   9217     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9218         IStream *sourceStream,
   9219         XPS_IMAGE_TYPE imageType,
   9220         IOpcPartUri *partName) = 0;
   9221 
   9222     virtual HRESULT STDMETHODCALLTYPE GetImageType(
   9223         XPS_IMAGE_TYPE *imageType) = 0;
   9224 
   9225 };
   9226 #ifdef __CRT_UUID_DECL
   9227 __CRT_UUID_DECL(IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f)
   9228 #endif
   9229 #else
   9230 typedef struct IXpsOMImageResourceVtbl {
   9231     BEGIN_INTERFACE
   9232 
   9233     /*** IUnknown methods ***/
   9234     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9235         IXpsOMImageResource *This,
   9236         REFIID riid,
   9237         void **ppvObject);
   9238 
   9239     ULONG (STDMETHODCALLTYPE *AddRef)(
   9240         IXpsOMImageResource *This);
   9241 
   9242     ULONG (STDMETHODCALLTYPE *Release)(
   9243         IXpsOMImageResource *This);
   9244 
   9245     /*** IXpsOMPart methods ***/
   9246     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9247         IXpsOMImageResource *This,
   9248         IOpcPartUri **partUri);
   9249 
   9250     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9251         IXpsOMImageResource *This,
   9252         IOpcPartUri *partUri);
   9253 
   9254     /*** IXpsOMImageResource methods ***/
   9255     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9256         IXpsOMImageResource *This,
   9257         IStream **readerStream);
   9258 
   9259     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9260         IXpsOMImageResource *This,
   9261         IStream *sourceStream,
   9262         XPS_IMAGE_TYPE imageType,
   9263         IOpcPartUri *partName);
   9264 
   9265     HRESULT (STDMETHODCALLTYPE *GetImageType)(
   9266         IXpsOMImageResource *This,
   9267         XPS_IMAGE_TYPE *imageType);
   9268 
   9269     END_INTERFACE
   9270 } IXpsOMImageResourceVtbl;
   9271 
   9272 interface IXpsOMImageResource {
   9273     CONST_VTBL IXpsOMImageResourceVtbl* lpVtbl;
   9274 };
   9275 
   9276 #ifdef COBJMACROS
   9277 #ifndef WIDL_C_INLINE_WRAPPERS
   9278 /*** IUnknown methods ***/
   9279 #define IXpsOMImageResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9280 #define IXpsOMImageResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9281 #define IXpsOMImageResource_Release(This) (This)->lpVtbl->Release(This)
   9282 /*** IXpsOMPart methods ***/
   9283 #define IXpsOMImageResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9284 #define IXpsOMImageResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9285 /*** IXpsOMImageResource methods ***/
   9286 #define IXpsOMImageResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
   9287 #define IXpsOMImageResource_SetContent(This,sourceStream,imageType,partName) (This)->lpVtbl->SetContent(This,sourceStream,imageType,partName)
   9288 #define IXpsOMImageResource_GetImageType(This,imageType) (This)->lpVtbl->GetImageType(This,imageType)
   9289 #else
   9290 /*** IUnknown methods ***/
   9291 static inline HRESULT IXpsOMImageResource_QueryInterface(IXpsOMImageResource* This,REFIID riid,void **ppvObject) {
   9292     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9293 }
   9294 static inline ULONG IXpsOMImageResource_AddRef(IXpsOMImageResource* This) {
   9295     return This->lpVtbl->AddRef(This);
   9296 }
   9297 static inline ULONG IXpsOMImageResource_Release(IXpsOMImageResource* This) {
   9298     return This->lpVtbl->Release(This);
   9299 }
   9300 /*** IXpsOMPart methods ***/
   9301 static inline HRESULT IXpsOMImageResource_GetPartName(IXpsOMImageResource* This,IOpcPartUri **partUri) {
   9302     return This->lpVtbl->GetPartName(This,partUri);
   9303 }
   9304 static inline HRESULT IXpsOMImageResource_SetPartName(IXpsOMImageResource* This,IOpcPartUri *partUri) {
   9305     return This->lpVtbl->SetPartName(This,partUri);
   9306 }
   9307 /*** IXpsOMImageResource methods ***/
   9308 static inline HRESULT IXpsOMImageResource_GetStream(IXpsOMImageResource* This,IStream **readerStream) {
   9309     return This->lpVtbl->GetStream(This,readerStream);
   9310 }
   9311 static inline HRESULT IXpsOMImageResource_SetContent(IXpsOMImageResource* This,IStream *sourceStream,XPS_IMAGE_TYPE imageType,IOpcPartUri *partName) {
   9312     return This->lpVtbl->SetContent(This,sourceStream,imageType,partName);
   9313 }
   9314 static inline HRESULT IXpsOMImageResource_GetImageType(IXpsOMImageResource* This,XPS_IMAGE_TYPE *imageType) {
   9315     return This->lpVtbl->GetImageType(This,imageType);
   9316 }
   9317 #endif
   9318 #endif
   9319 
   9320 #endif
   9321 
   9322 
   9323 #endif  /* __IXpsOMImageResource_INTERFACE_DEFINED__ */
   9324 
   9325 /*****************************************************************************
   9326  * IXpsOMColorProfileResource interface
   9327  */
   9328 #ifndef __IXpsOMColorProfileResource_INTERFACE_DEFINED__
   9329 #define __IXpsOMColorProfileResource_INTERFACE_DEFINED__
   9330 
   9331 DEFINE_GUID(IID_IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe);
   9332 #if defined(__cplusplus) && !defined(CINTERFACE)
   9333 MIDL_INTERFACE("67bd7d69-1eef-4bb1-b5e7-6f4f87be8abe")
   9334 IXpsOMColorProfileResource : public IXpsOMResource
   9335 {
   9336     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9337         IStream **stream) = 0;
   9338 
   9339     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9340         IStream *sourceStream,
   9341         IOpcPartUri *partName) = 0;
   9342 
   9343 };
   9344 #ifdef __CRT_UUID_DECL
   9345 __CRT_UUID_DECL(IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe)
   9346 #endif
   9347 #else
   9348 typedef struct IXpsOMColorProfileResourceVtbl {
   9349     BEGIN_INTERFACE
   9350 
   9351     /*** IUnknown methods ***/
   9352     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9353         IXpsOMColorProfileResource *This,
   9354         REFIID riid,
   9355         void **ppvObject);
   9356 
   9357     ULONG (STDMETHODCALLTYPE *AddRef)(
   9358         IXpsOMColorProfileResource *This);
   9359 
   9360     ULONG (STDMETHODCALLTYPE *Release)(
   9361         IXpsOMColorProfileResource *This);
   9362 
   9363     /*** IXpsOMPart methods ***/
   9364     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9365         IXpsOMColorProfileResource *This,
   9366         IOpcPartUri **partUri);
   9367 
   9368     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9369         IXpsOMColorProfileResource *This,
   9370         IOpcPartUri *partUri);
   9371 
   9372     /*** IXpsOMColorProfileResource methods ***/
   9373     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9374         IXpsOMColorProfileResource *This,
   9375         IStream **stream);
   9376 
   9377     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9378         IXpsOMColorProfileResource *This,
   9379         IStream *sourceStream,
   9380         IOpcPartUri *partName);
   9381 
   9382     END_INTERFACE
   9383 } IXpsOMColorProfileResourceVtbl;
   9384 
   9385 interface IXpsOMColorProfileResource {
   9386     CONST_VTBL IXpsOMColorProfileResourceVtbl* lpVtbl;
   9387 };
   9388 
   9389 #ifdef COBJMACROS
   9390 #ifndef WIDL_C_INLINE_WRAPPERS
   9391 /*** IUnknown methods ***/
   9392 #define IXpsOMColorProfileResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9393 #define IXpsOMColorProfileResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9394 #define IXpsOMColorProfileResource_Release(This) (This)->lpVtbl->Release(This)
   9395 /*** IXpsOMPart methods ***/
   9396 #define IXpsOMColorProfileResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9397 #define IXpsOMColorProfileResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9398 /*** IXpsOMColorProfileResource methods ***/
   9399 #define IXpsOMColorProfileResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   9400 #define IXpsOMColorProfileResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   9401 #else
   9402 /*** IUnknown methods ***/
   9403 static inline HRESULT IXpsOMColorProfileResource_QueryInterface(IXpsOMColorProfileResource* This,REFIID riid,void **ppvObject) {
   9404     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9405 }
   9406 static inline ULONG IXpsOMColorProfileResource_AddRef(IXpsOMColorProfileResource* This) {
   9407     return This->lpVtbl->AddRef(This);
   9408 }
   9409 static inline ULONG IXpsOMColorProfileResource_Release(IXpsOMColorProfileResource* This) {
   9410     return This->lpVtbl->Release(This);
   9411 }
   9412 /*** IXpsOMPart methods ***/
   9413 static inline HRESULT IXpsOMColorProfileResource_GetPartName(IXpsOMColorProfileResource* This,IOpcPartUri **partUri) {
   9414     return This->lpVtbl->GetPartName(This,partUri);
   9415 }
   9416 static inline HRESULT IXpsOMColorProfileResource_SetPartName(IXpsOMColorProfileResource* This,IOpcPartUri *partUri) {
   9417     return This->lpVtbl->SetPartName(This,partUri);
   9418 }
   9419 /*** IXpsOMColorProfileResource methods ***/
   9420 static inline HRESULT IXpsOMColorProfileResource_GetStream(IXpsOMColorProfileResource* This,IStream **stream) {
   9421     return This->lpVtbl->GetStream(This,stream);
   9422 }
   9423 static inline HRESULT IXpsOMColorProfileResource_SetContent(IXpsOMColorProfileResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   9424     return This->lpVtbl->SetContent(This,sourceStream,partName);
   9425 }
   9426 #endif
   9427 #endif
   9428 
   9429 #endif
   9430 
   9431 
   9432 #endif  /* __IXpsOMColorProfileResource_INTERFACE_DEFINED__ */
   9433 
   9434 /*****************************************************************************
   9435  * IXpsOMPrintTicketResource interface
   9436  */
   9437 #ifndef __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
   9438 #define __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
   9439 
   9440 DEFINE_GUID(IID_IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7);
   9441 #if defined(__cplusplus) && !defined(CINTERFACE)
   9442 MIDL_INTERFACE("e7ff32d2-34aa-499b-bbe9-9cd4ee6c59f7")
   9443 IXpsOMPrintTicketResource : public IXpsOMResource
   9444 {
   9445     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9446         IStream **stream) = 0;
   9447 
   9448     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9449         IStream *sourceStream,
   9450         IOpcPartUri *partName) = 0;
   9451 
   9452 };
   9453 #ifdef __CRT_UUID_DECL
   9454 __CRT_UUID_DECL(IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7)
   9455 #endif
   9456 #else
   9457 typedef struct IXpsOMPrintTicketResourceVtbl {
   9458     BEGIN_INTERFACE
   9459 
   9460     /*** IUnknown methods ***/
   9461     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9462         IXpsOMPrintTicketResource *This,
   9463         REFIID riid,
   9464         void **ppvObject);
   9465 
   9466     ULONG (STDMETHODCALLTYPE *AddRef)(
   9467         IXpsOMPrintTicketResource *This);
   9468 
   9469     ULONG (STDMETHODCALLTYPE *Release)(
   9470         IXpsOMPrintTicketResource *This);
   9471 
   9472     /*** IXpsOMPart methods ***/
   9473     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9474         IXpsOMPrintTicketResource *This,
   9475         IOpcPartUri **partUri);
   9476 
   9477     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9478         IXpsOMPrintTicketResource *This,
   9479         IOpcPartUri *partUri);
   9480 
   9481     /*** IXpsOMPrintTicketResource methods ***/
   9482     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9483         IXpsOMPrintTicketResource *This,
   9484         IStream **stream);
   9485 
   9486     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9487         IXpsOMPrintTicketResource *This,
   9488         IStream *sourceStream,
   9489         IOpcPartUri *partName);
   9490 
   9491     END_INTERFACE
   9492 } IXpsOMPrintTicketResourceVtbl;
   9493 
   9494 interface IXpsOMPrintTicketResource {
   9495     CONST_VTBL IXpsOMPrintTicketResourceVtbl* lpVtbl;
   9496 };
   9497 
   9498 #ifdef COBJMACROS
   9499 #ifndef WIDL_C_INLINE_WRAPPERS
   9500 /*** IUnknown methods ***/
   9501 #define IXpsOMPrintTicketResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9502 #define IXpsOMPrintTicketResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9503 #define IXpsOMPrintTicketResource_Release(This) (This)->lpVtbl->Release(This)
   9504 /*** IXpsOMPart methods ***/
   9505 #define IXpsOMPrintTicketResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9506 #define IXpsOMPrintTicketResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9507 /*** IXpsOMPrintTicketResource methods ***/
   9508 #define IXpsOMPrintTicketResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   9509 #define IXpsOMPrintTicketResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   9510 #else
   9511 /*** IUnknown methods ***/
   9512 static inline HRESULT IXpsOMPrintTicketResource_QueryInterface(IXpsOMPrintTicketResource* This,REFIID riid,void **ppvObject) {
   9513     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9514 }
   9515 static inline ULONG IXpsOMPrintTicketResource_AddRef(IXpsOMPrintTicketResource* This) {
   9516     return This->lpVtbl->AddRef(This);
   9517 }
   9518 static inline ULONG IXpsOMPrintTicketResource_Release(IXpsOMPrintTicketResource* This) {
   9519     return This->lpVtbl->Release(This);
   9520 }
   9521 /*** IXpsOMPart methods ***/
   9522 static inline HRESULT IXpsOMPrintTicketResource_GetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri **partUri) {
   9523     return This->lpVtbl->GetPartName(This,partUri);
   9524 }
   9525 static inline HRESULT IXpsOMPrintTicketResource_SetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri *partUri) {
   9526     return This->lpVtbl->SetPartName(This,partUri);
   9527 }
   9528 /*** IXpsOMPrintTicketResource methods ***/
   9529 static inline HRESULT IXpsOMPrintTicketResource_GetStream(IXpsOMPrintTicketResource* This,IStream **stream) {
   9530     return This->lpVtbl->GetStream(This,stream);
   9531 }
   9532 static inline HRESULT IXpsOMPrintTicketResource_SetContent(IXpsOMPrintTicketResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   9533     return This->lpVtbl->SetContent(This,sourceStream,partName);
   9534 }
   9535 #endif
   9536 #endif
   9537 
   9538 #endif
   9539 
   9540 
   9541 #endif  /* __IXpsOMPrintTicketResource_INTERFACE_DEFINED__ */
   9542 
   9543 /*****************************************************************************
   9544  * IXpsOMRemoteDictionaryResource interface
   9545  */
   9546 #ifndef __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
   9547 #define __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
   9548 
   9549 DEFINE_GUID(IID_IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61);
   9550 #if defined(__cplusplus) && !defined(CINTERFACE)
   9551 MIDL_INTERFACE("c9bd7cd4-e16a-4bf8-8c84-c950af7a3061")
   9552 IXpsOMRemoteDictionaryResource : public IXpsOMResource
   9553 {
   9554     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
   9555         IXpsOMDictionary **dictionary) = 0;
   9556 
   9557     virtual HRESULT STDMETHODCALLTYPE SetDictionary(
   9558         IXpsOMDictionary *dictionary) = 0;
   9559 
   9560 };
   9561 #ifdef __CRT_UUID_DECL
   9562 __CRT_UUID_DECL(IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61)
   9563 #endif
   9564 #else
   9565 typedef struct IXpsOMRemoteDictionaryResourceVtbl {
   9566     BEGIN_INTERFACE
   9567 
   9568     /*** IUnknown methods ***/
   9569     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9570         IXpsOMRemoteDictionaryResource *This,
   9571         REFIID riid,
   9572         void **ppvObject);
   9573 
   9574     ULONG (STDMETHODCALLTYPE *AddRef)(
   9575         IXpsOMRemoteDictionaryResource *This);
   9576 
   9577     ULONG (STDMETHODCALLTYPE *Release)(
   9578         IXpsOMRemoteDictionaryResource *This);
   9579 
   9580     /*** IXpsOMPart methods ***/
   9581     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9582         IXpsOMRemoteDictionaryResource *This,
   9583         IOpcPartUri **partUri);
   9584 
   9585     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9586         IXpsOMRemoteDictionaryResource *This,
   9587         IOpcPartUri *partUri);
   9588 
   9589     /*** IXpsOMRemoteDictionaryResource methods ***/
   9590     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
   9591         IXpsOMRemoteDictionaryResource *This,
   9592         IXpsOMDictionary **dictionary);
   9593 
   9594     HRESULT (STDMETHODCALLTYPE *SetDictionary)(
   9595         IXpsOMRemoteDictionaryResource *This,
   9596         IXpsOMDictionary *dictionary);
   9597 
   9598     END_INTERFACE
   9599 } IXpsOMRemoteDictionaryResourceVtbl;
   9600 
   9601 interface IXpsOMRemoteDictionaryResource {
   9602     CONST_VTBL IXpsOMRemoteDictionaryResourceVtbl* lpVtbl;
   9603 };
   9604 
   9605 #ifdef COBJMACROS
   9606 #ifndef WIDL_C_INLINE_WRAPPERS
   9607 /*** IUnknown methods ***/
   9608 #define IXpsOMRemoteDictionaryResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9609 #define IXpsOMRemoteDictionaryResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9610 #define IXpsOMRemoteDictionaryResource_Release(This) (This)->lpVtbl->Release(This)
   9611 /*** IXpsOMPart methods ***/
   9612 #define IXpsOMRemoteDictionaryResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9613 #define IXpsOMRemoteDictionaryResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9614 /*** IXpsOMRemoteDictionaryResource methods ***/
   9615 #define IXpsOMRemoteDictionaryResource_GetDictionary(This,dictionary) (This)->lpVtbl->GetDictionary(This,dictionary)
   9616 #define IXpsOMRemoteDictionaryResource_SetDictionary(This,dictionary) (This)->lpVtbl->SetDictionary(This,dictionary)
   9617 #else
   9618 /*** IUnknown methods ***/
   9619 static inline HRESULT IXpsOMRemoteDictionaryResource_QueryInterface(IXpsOMRemoteDictionaryResource* This,REFIID riid,void **ppvObject) {
   9620     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9621 }
   9622 static inline ULONG IXpsOMRemoteDictionaryResource_AddRef(IXpsOMRemoteDictionaryResource* This) {
   9623     return This->lpVtbl->AddRef(This);
   9624 }
   9625 static inline ULONG IXpsOMRemoteDictionaryResource_Release(IXpsOMRemoteDictionaryResource* This) {
   9626     return This->lpVtbl->Release(This);
   9627 }
   9628 /*** IXpsOMPart methods ***/
   9629 static inline HRESULT IXpsOMRemoteDictionaryResource_GetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri **partUri) {
   9630     return This->lpVtbl->GetPartName(This,partUri);
   9631 }
   9632 static inline HRESULT IXpsOMRemoteDictionaryResource_SetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri *partUri) {
   9633     return This->lpVtbl->SetPartName(This,partUri);
   9634 }
   9635 /*** IXpsOMRemoteDictionaryResource methods ***/
   9636 static inline HRESULT IXpsOMRemoteDictionaryResource_GetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary **dictionary) {
   9637     return This->lpVtbl->GetDictionary(This,dictionary);
   9638 }
   9639 static inline HRESULT IXpsOMRemoteDictionaryResource_SetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary *dictionary) {
   9640     return This->lpVtbl->SetDictionary(This,dictionary);
   9641 }
   9642 #endif
   9643 #endif
   9644 
   9645 #endif
   9646 
   9647 
   9648 #endif  /* __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__ */
   9649 
   9650 /*****************************************************************************
   9651  * IXpsOMDocumentStructureResource interface
   9652  */
   9653 #ifndef __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
   9654 #define __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
   9655 
   9656 DEFINE_GUID(IID_IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30);
   9657 #if defined(__cplusplus) && !defined(CINTERFACE)
   9658 MIDL_INTERFACE("85febc8a-6b63-48a9-af07-7064e4ecff30")
   9659 IXpsOMDocumentStructureResource : public IXpsOMResource
   9660 {
   9661     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   9662         IXpsOMDocument **owner) = 0;
   9663 
   9664     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9665         IStream **stream) = 0;
   9666 
   9667     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9668         IStream *sourceStream,
   9669         IOpcPartUri *partName) = 0;
   9670 
   9671 };
   9672 #ifdef __CRT_UUID_DECL
   9673 __CRT_UUID_DECL(IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30)
   9674 #endif
   9675 #else
   9676 typedef struct IXpsOMDocumentStructureResourceVtbl {
   9677     BEGIN_INTERFACE
   9678 
   9679     /*** IUnknown methods ***/
   9680     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9681         IXpsOMDocumentStructureResource *This,
   9682         REFIID riid,
   9683         void **ppvObject);
   9684 
   9685     ULONG (STDMETHODCALLTYPE *AddRef)(
   9686         IXpsOMDocumentStructureResource *This);
   9687 
   9688     ULONG (STDMETHODCALLTYPE *Release)(
   9689         IXpsOMDocumentStructureResource *This);
   9690 
   9691     /*** IXpsOMPart methods ***/
   9692     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9693         IXpsOMDocumentStructureResource *This,
   9694         IOpcPartUri **partUri);
   9695 
   9696     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9697         IXpsOMDocumentStructureResource *This,
   9698         IOpcPartUri *partUri);
   9699 
   9700     /*** IXpsOMDocumentStructureResource methods ***/
   9701     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   9702         IXpsOMDocumentStructureResource *This,
   9703         IXpsOMDocument **owner);
   9704 
   9705     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9706         IXpsOMDocumentStructureResource *This,
   9707         IStream **stream);
   9708 
   9709     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9710         IXpsOMDocumentStructureResource *This,
   9711         IStream *sourceStream,
   9712         IOpcPartUri *partName);
   9713 
   9714     END_INTERFACE
   9715 } IXpsOMDocumentStructureResourceVtbl;
   9716 
   9717 interface IXpsOMDocumentStructureResource {
   9718     CONST_VTBL IXpsOMDocumentStructureResourceVtbl* lpVtbl;
   9719 };
   9720 
   9721 #ifdef COBJMACROS
   9722 #ifndef WIDL_C_INLINE_WRAPPERS
   9723 /*** IUnknown methods ***/
   9724 #define IXpsOMDocumentStructureResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9725 #define IXpsOMDocumentStructureResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9726 #define IXpsOMDocumentStructureResource_Release(This) (This)->lpVtbl->Release(This)
   9727 /*** IXpsOMPart methods ***/
   9728 #define IXpsOMDocumentStructureResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9729 #define IXpsOMDocumentStructureResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9730 /*** IXpsOMDocumentStructureResource methods ***/
   9731 #define IXpsOMDocumentStructureResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   9732 #define IXpsOMDocumentStructureResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   9733 #define IXpsOMDocumentStructureResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   9734 #else
   9735 /*** IUnknown methods ***/
   9736 static inline HRESULT IXpsOMDocumentStructureResource_QueryInterface(IXpsOMDocumentStructureResource* This,REFIID riid,void **ppvObject) {
   9737     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9738 }
   9739 static inline ULONG IXpsOMDocumentStructureResource_AddRef(IXpsOMDocumentStructureResource* This) {
   9740     return This->lpVtbl->AddRef(This);
   9741 }
   9742 static inline ULONG IXpsOMDocumentStructureResource_Release(IXpsOMDocumentStructureResource* This) {
   9743     return This->lpVtbl->Release(This);
   9744 }
   9745 /*** IXpsOMPart methods ***/
   9746 static inline HRESULT IXpsOMDocumentStructureResource_GetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri **partUri) {
   9747     return This->lpVtbl->GetPartName(This,partUri);
   9748 }
   9749 static inline HRESULT IXpsOMDocumentStructureResource_SetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri *partUri) {
   9750     return This->lpVtbl->SetPartName(This,partUri);
   9751 }
   9752 /*** IXpsOMDocumentStructureResource methods ***/
   9753 static inline HRESULT IXpsOMDocumentStructureResource_GetOwner(IXpsOMDocumentStructureResource* This,IXpsOMDocument **owner) {
   9754     return This->lpVtbl->GetOwner(This,owner);
   9755 }
   9756 static inline HRESULT IXpsOMDocumentStructureResource_GetStream(IXpsOMDocumentStructureResource* This,IStream **stream) {
   9757     return This->lpVtbl->GetStream(This,stream);
   9758 }
   9759 static inline HRESULT IXpsOMDocumentStructureResource_SetContent(IXpsOMDocumentStructureResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   9760     return This->lpVtbl->SetContent(This,sourceStream,partName);
   9761 }
   9762 #endif
   9763 #endif
   9764 
   9765 #endif
   9766 
   9767 
   9768 #endif  /* __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__ */
   9769 
   9770 /*****************************************************************************
   9771  * IXpsOMStoryFragmentsResource interface
   9772  */
   9773 #ifndef __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
   9774 #define __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
   9775 
   9776 DEFINE_GUID(IID_IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0);
   9777 #if defined(__cplusplus) && !defined(CINTERFACE)
   9778 MIDL_INTERFACE("c2b3ca09-0473-4282-87ae-1780863223f0")
   9779 IXpsOMStoryFragmentsResource : public IXpsOMResource
   9780 {
   9781     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   9782         IXpsOMPageReference **owner) = 0;
   9783 
   9784     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9785         IStream **stream) = 0;
   9786 
   9787     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9788         IStream *sourceStream,
   9789         IOpcPartUri *partName) = 0;
   9790 
   9791 };
   9792 #ifdef __CRT_UUID_DECL
   9793 __CRT_UUID_DECL(IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0)
   9794 #endif
   9795 #else
   9796 typedef struct IXpsOMStoryFragmentsResourceVtbl {
   9797     BEGIN_INTERFACE
   9798 
   9799     /*** IUnknown methods ***/
   9800     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9801         IXpsOMStoryFragmentsResource *This,
   9802         REFIID riid,
   9803         void **ppvObject);
   9804 
   9805     ULONG (STDMETHODCALLTYPE *AddRef)(
   9806         IXpsOMStoryFragmentsResource *This);
   9807 
   9808     ULONG (STDMETHODCALLTYPE *Release)(
   9809         IXpsOMStoryFragmentsResource *This);
   9810 
   9811     /*** IXpsOMPart methods ***/
   9812     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9813         IXpsOMStoryFragmentsResource *This,
   9814         IOpcPartUri **partUri);
   9815 
   9816     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9817         IXpsOMStoryFragmentsResource *This,
   9818         IOpcPartUri *partUri);
   9819 
   9820     /*** IXpsOMStoryFragmentsResource methods ***/
   9821     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   9822         IXpsOMStoryFragmentsResource *This,
   9823         IXpsOMPageReference **owner);
   9824 
   9825     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9826         IXpsOMStoryFragmentsResource *This,
   9827         IStream **stream);
   9828 
   9829     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9830         IXpsOMStoryFragmentsResource *This,
   9831         IStream *sourceStream,
   9832         IOpcPartUri *partName);
   9833 
   9834     END_INTERFACE
   9835 } IXpsOMStoryFragmentsResourceVtbl;
   9836 
   9837 interface IXpsOMStoryFragmentsResource {
   9838     CONST_VTBL IXpsOMStoryFragmentsResourceVtbl* lpVtbl;
   9839 };
   9840 
   9841 #ifdef COBJMACROS
   9842 #ifndef WIDL_C_INLINE_WRAPPERS
   9843 /*** IUnknown methods ***/
   9844 #define IXpsOMStoryFragmentsResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9845 #define IXpsOMStoryFragmentsResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9846 #define IXpsOMStoryFragmentsResource_Release(This) (This)->lpVtbl->Release(This)
   9847 /*** IXpsOMPart methods ***/
   9848 #define IXpsOMStoryFragmentsResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9849 #define IXpsOMStoryFragmentsResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9850 /*** IXpsOMStoryFragmentsResource methods ***/
   9851 #define IXpsOMStoryFragmentsResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   9852 #define IXpsOMStoryFragmentsResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   9853 #define IXpsOMStoryFragmentsResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   9854 #else
   9855 /*** IUnknown methods ***/
   9856 static inline HRESULT IXpsOMStoryFragmentsResource_QueryInterface(IXpsOMStoryFragmentsResource* This,REFIID riid,void **ppvObject) {
   9857     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9858 }
   9859 static inline ULONG IXpsOMStoryFragmentsResource_AddRef(IXpsOMStoryFragmentsResource* This) {
   9860     return This->lpVtbl->AddRef(This);
   9861 }
   9862 static inline ULONG IXpsOMStoryFragmentsResource_Release(IXpsOMStoryFragmentsResource* This) {
   9863     return This->lpVtbl->Release(This);
   9864 }
   9865 /*** IXpsOMPart methods ***/
   9866 static inline HRESULT IXpsOMStoryFragmentsResource_GetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri **partUri) {
   9867     return This->lpVtbl->GetPartName(This,partUri);
   9868 }
   9869 static inline HRESULT IXpsOMStoryFragmentsResource_SetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri *partUri) {
   9870     return This->lpVtbl->SetPartName(This,partUri);
   9871 }
   9872 /*** IXpsOMStoryFragmentsResource methods ***/
   9873 static inline HRESULT IXpsOMStoryFragmentsResource_GetOwner(IXpsOMStoryFragmentsResource* This,IXpsOMPageReference **owner) {
   9874     return This->lpVtbl->GetOwner(This,owner);
   9875 }
   9876 static inline HRESULT IXpsOMStoryFragmentsResource_GetStream(IXpsOMStoryFragmentsResource* This,IStream **stream) {
   9877     return This->lpVtbl->GetStream(This,stream);
   9878 }
   9879 static inline HRESULT IXpsOMStoryFragmentsResource_SetContent(IXpsOMStoryFragmentsResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   9880     return This->lpVtbl->SetContent(This,sourceStream,partName);
   9881 }
   9882 #endif
   9883 #endif
   9884 
   9885 #endif
   9886 
   9887 
   9888 #endif  /* __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__ */
   9889 
   9890 /*****************************************************************************
   9891  * IXpsOMSignatureBlockResource interface
   9892  */
   9893 #ifndef __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
   9894 #define __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
   9895 
   9896 DEFINE_GUID(IID_IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05);
   9897 #if defined(__cplusplus) && !defined(CINTERFACE)
   9898 MIDL_INTERFACE("4776ad35-2e04-4357-8743-ebf6c171a905")
   9899 IXpsOMSignatureBlockResource : public IXpsOMResource
   9900 {
   9901     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   9902         IXpsOMDocument **owner) = 0;
   9903 
   9904     virtual HRESULT STDMETHODCALLTYPE GetStream(
   9905         IStream **stream) = 0;
   9906 
   9907     virtual HRESULT STDMETHODCALLTYPE SetContent(
   9908         IStream *sourceStream,
   9909         IOpcPartUri *partName) = 0;
   9910 
   9911 };
   9912 #ifdef __CRT_UUID_DECL
   9913 __CRT_UUID_DECL(IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05)
   9914 #endif
   9915 #else
   9916 typedef struct IXpsOMSignatureBlockResourceVtbl {
   9917     BEGIN_INTERFACE
   9918 
   9919     /*** IUnknown methods ***/
   9920     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9921         IXpsOMSignatureBlockResource *This,
   9922         REFIID riid,
   9923         void **ppvObject);
   9924 
   9925     ULONG (STDMETHODCALLTYPE *AddRef)(
   9926         IXpsOMSignatureBlockResource *This);
   9927 
   9928     ULONG (STDMETHODCALLTYPE *Release)(
   9929         IXpsOMSignatureBlockResource *This);
   9930 
   9931     /*** IXpsOMPart methods ***/
   9932     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   9933         IXpsOMSignatureBlockResource *This,
   9934         IOpcPartUri **partUri);
   9935 
   9936     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   9937         IXpsOMSignatureBlockResource *This,
   9938         IOpcPartUri *partUri);
   9939 
   9940     /*** IXpsOMSignatureBlockResource methods ***/
   9941     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   9942         IXpsOMSignatureBlockResource *This,
   9943         IXpsOMDocument **owner);
   9944 
   9945     HRESULT (STDMETHODCALLTYPE *GetStream)(
   9946         IXpsOMSignatureBlockResource *This,
   9947         IStream **stream);
   9948 
   9949     HRESULT (STDMETHODCALLTYPE *SetContent)(
   9950         IXpsOMSignatureBlockResource *This,
   9951         IStream *sourceStream,
   9952         IOpcPartUri *partName);
   9953 
   9954     END_INTERFACE
   9955 } IXpsOMSignatureBlockResourceVtbl;
   9956 
   9957 interface IXpsOMSignatureBlockResource {
   9958     CONST_VTBL IXpsOMSignatureBlockResourceVtbl* lpVtbl;
   9959 };
   9960 
   9961 #ifdef COBJMACROS
   9962 #ifndef WIDL_C_INLINE_WRAPPERS
   9963 /*** IUnknown methods ***/
   9964 #define IXpsOMSignatureBlockResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9965 #define IXpsOMSignatureBlockResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   9966 #define IXpsOMSignatureBlockResource_Release(This) (This)->lpVtbl->Release(This)
   9967 /*** IXpsOMPart methods ***/
   9968 #define IXpsOMSignatureBlockResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   9969 #define IXpsOMSignatureBlockResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   9970 /*** IXpsOMSignatureBlockResource methods ***/
   9971 #define IXpsOMSignatureBlockResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   9972 #define IXpsOMSignatureBlockResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   9973 #define IXpsOMSignatureBlockResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   9974 #else
   9975 /*** IUnknown methods ***/
   9976 static inline HRESULT IXpsOMSignatureBlockResource_QueryInterface(IXpsOMSignatureBlockResource* This,REFIID riid,void **ppvObject) {
   9977     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9978 }
   9979 static inline ULONG IXpsOMSignatureBlockResource_AddRef(IXpsOMSignatureBlockResource* This) {
   9980     return This->lpVtbl->AddRef(This);
   9981 }
   9982 static inline ULONG IXpsOMSignatureBlockResource_Release(IXpsOMSignatureBlockResource* This) {
   9983     return This->lpVtbl->Release(This);
   9984 }
   9985 /*** IXpsOMPart methods ***/
   9986 static inline HRESULT IXpsOMSignatureBlockResource_GetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri **partUri) {
   9987     return This->lpVtbl->GetPartName(This,partUri);
   9988 }
   9989 static inline HRESULT IXpsOMSignatureBlockResource_SetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri *partUri) {
   9990     return This->lpVtbl->SetPartName(This,partUri);
   9991 }
   9992 /*** IXpsOMSignatureBlockResource methods ***/
   9993 static inline HRESULT IXpsOMSignatureBlockResource_GetOwner(IXpsOMSignatureBlockResource* This,IXpsOMDocument **owner) {
   9994     return This->lpVtbl->GetOwner(This,owner);
   9995 }
   9996 static inline HRESULT IXpsOMSignatureBlockResource_GetStream(IXpsOMSignatureBlockResource* This,IStream **stream) {
   9997     return This->lpVtbl->GetStream(This,stream);
   9998 }
   9999 static inline HRESULT IXpsOMSignatureBlockResource_SetContent(IXpsOMSignatureBlockResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  10000     return This->lpVtbl->SetContent(This,sourceStream,partName);
  10001 }
  10002 #endif
  10003 #endif
  10004 
  10005 #endif
  10006 
  10007 
  10008 #endif  /* __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__ */
  10009 
  10010 /*****************************************************************************
  10011  * IXpsOMCanvas interface
  10012  */
  10013 #ifndef __IXpsOMCanvas_INTERFACE_DEFINED__
  10014 #define __IXpsOMCanvas_INTERFACE_DEFINED__
  10015 
  10016 DEFINE_GUID(IID_IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3);
  10017 #if defined(__cplusplus) && !defined(CINTERFACE)
  10018 MIDL_INTERFACE("221d1452-331e-47c6-87e9-6ccefb9b5ba3")
  10019 IXpsOMCanvas : public IXpsOMVisual
  10020 {
  10021     virtual HRESULT STDMETHODCALLTYPE GetVisuals(
  10022         IXpsOMVisualCollection **visuals) = 0;
  10023 
  10024     virtual HRESULT STDMETHODCALLTYPE GetUseAliasedEdgeMode(
  10025         WINBOOL *useAliasedEdgeMode) = 0;
  10026 
  10027     virtual HRESULT STDMETHODCALLTYPE SetUseAliasedEdgeMode(
  10028         WINBOOL useAliasedEdgeMode) = 0;
  10029 
  10030     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
  10031         LPWSTR *shortDescription) = 0;
  10032 
  10033     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
  10034         LPCWSTR shortDescription) = 0;
  10035 
  10036     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
  10037         LPWSTR *longDescription) = 0;
  10038 
  10039     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
  10040         LPCWSTR longDescription) = 0;
  10041 
  10042     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
  10043         IXpsOMDictionary **resourceDictionary) = 0;
  10044 
  10045     virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
  10046         IXpsOMDictionary **resourceDictionary) = 0;
  10047 
  10048     virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
  10049         IXpsOMDictionary *resourceDictionary) = 0;
  10050 
  10051     virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
  10052         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  10053 
  10054     virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
  10055         IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
  10056 
  10057     virtual HRESULT STDMETHODCALLTYPE Clone(
  10058         IXpsOMCanvas **canvas) = 0;
  10059 
  10060 };
  10061 #ifdef __CRT_UUID_DECL
  10062 __CRT_UUID_DECL(IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3)
  10063 #endif
  10064 #else
  10065 typedef struct IXpsOMCanvasVtbl {
  10066     BEGIN_INTERFACE
  10067 
  10068     /*** IUnknown methods ***/
  10069     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  10070         IXpsOMCanvas *This,
  10071         REFIID riid,
  10072         void **ppvObject);
  10073 
  10074     ULONG (STDMETHODCALLTYPE *AddRef)(
  10075         IXpsOMCanvas *This);
  10076 
  10077     ULONG (STDMETHODCALLTYPE *Release)(
  10078         IXpsOMCanvas *This);
  10079 
  10080     /*** IXpsOMShareable methods ***/
  10081     HRESULT (STDMETHODCALLTYPE *GetOwner)(
  10082         IXpsOMCanvas *This,
  10083         IUnknown **owner);
  10084 
  10085     HRESULT (STDMETHODCALLTYPE *GetType)(
  10086         IXpsOMCanvas *This,
  10087         XPS_OBJECT_TYPE *type);
  10088 
  10089     /*** IXpsOMVisual methods ***/
  10090     HRESULT (STDMETHODCALLTYPE *GetTransform)(
  10091         IXpsOMCanvas *This,
  10092         IXpsOMMatrixTransform **matrixTransform);
  10093 
  10094     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  10095         IXpsOMCanvas *This,
  10096         IXpsOMMatrixTransform **matrixTransform);
  10097 
  10098     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  10099         IXpsOMCanvas *This,
  10100         IXpsOMMatrixTransform *matrixTransform);
  10101 
  10102     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  10103         IXpsOMCanvas *This,
  10104         LPWSTR *key);
  10105 
  10106     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  10107         IXpsOMCanvas *This,
  10108         LPCWSTR key);
  10109 
  10110     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
  10111         IXpsOMCanvas *This,
  10112         IXpsOMGeometry **clipGeometry);
  10113 
  10114     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
  10115         IXpsOMCanvas *This,
  10116         IXpsOMGeometry **clipGeometry);
  10117 
  10118     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
  10119         IXpsOMCanvas *This,
  10120         IXpsOMGeometry *clipGeometry);
  10121 
  10122     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
  10123         IXpsOMCanvas *This,
  10124         LPWSTR *key);
  10125 
  10126     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
  10127         IXpsOMCanvas *This,
  10128         LPCWSTR key);
  10129 
  10130     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  10131         IXpsOMCanvas *This,
  10132         FLOAT *opacity);
  10133 
  10134     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  10135         IXpsOMCanvas *This,
  10136         FLOAT opacity);
  10137 
  10138     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
  10139         IXpsOMCanvas *This,
  10140         IXpsOMBrush **opacityMaskBrush);
  10141 
  10142     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
  10143         IXpsOMCanvas *This,
  10144         IXpsOMBrush **opacityMaskBrush);
  10145 
  10146     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
  10147         IXpsOMCanvas *This,
  10148         IXpsOMBrush *opacityMaskBrush);
  10149 
  10150     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
  10151         IXpsOMCanvas *This,
  10152         LPWSTR *key);
  10153 
  10154     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
  10155         IXpsOMCanvas *This,
  10156         LPCWSTR key);
  10157 
  10158     HRESULT (STDMETHODCALLTYPE *GetName)(
  10159         IXpsOMCanvas *This,
  10160         LPWSTR *name);
  10161 
  10162     HRESULT (STDMETHODCALLTYPE *SetName)(
  10163         IXpsOMCanvas *This,
  10164         LPCWSTR name);
  10165 
  10166     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  10167         IXpsOMCanvas *This,
  10168         WINBOOL *isHyperlink);
  10169 
  10170     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  10171         IXpsOMCanvas *This,
  10172         WINBOOL isHyperlink);
  10173 
  10174     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
  10175         IXpsOMCanvas *This,
  10176         IUri **hyperlinkUri);
  10177 
  10178     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
  10179         IXpsOMCanvas *This,
  10180         IUri *hyperlinkUri);
  10181 
  10182     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  10183         IXpsOMCanvas *This,
  10184         LPWSTR *language);
  10185 
  10186     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  10187         IXpsOMCanvas *This,
  10188         LPCWSTR language);
  10189 
  10190     /*** IXpsOMCanvas methods ***/
  10191     HRESULT (STDMETHODCALLTYPE *GetVisuals)(
  10192         IXpsOMCanvas *This,
  10193         IXpsOMVisualCollection **visuals);
  10194 
  10195     HRESULT (STDMETHODCALLTYPE *GetUseAliasedEdgeMode)(
  10196         IXpsOMCanvas *This,
  10197         WINBOOL *useAliasedEdgeMode);
  10198 
  10199     HRESULT (STDMETHODCALLTYPE *SetUseAliasedEdgeMode)(
  10200         IXpsOMCanvas *This,
  10201         WINBOOL useAliasedEdgeMode);
  10202 
  10203     HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
  10204         IXpsOMCanvas *This,
  10205         LPWSTR *shortDescription);
  10206 
  10207     HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
  10208         IXpsOMCanvas *This,
  10209         LPCWSTR shortDescription);
  10210 
  10211     HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
  10212         IXpsOMCanvas *This,
  10213         LPWSTR *longDescription);
  10214 
  10215     HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
  10216         IXpsOMCanvas *This,
  10217         LPCWSTR longDescription);
  10218 
  10219     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
  10220         IXpsOMCanvas *This,
  10221         IXpsOMDictionary **resourceDictionary);
  10222 
  10223     HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
  10224         IXpsOMCanvas *This,
  10225         IXpsOMDictionary **resourceDictionary);
  10226 
  10227     HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
  10228         IXpsOMCanvas *This,
  10229         IXpsOMDictionary *resourceDictionary);
  10230 
  10231     HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
  10232         IXpsOMCanvas *This,
  10233         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  10234 
  10235     HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
  10236         IXpsOMCanvas *This,
  10237         IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
  10238 
  10239     HRESULT (STDMETHODCALLTYPE *Clone)(
  10240         IXpsOMCanvas *This,
  10241         IXpsOMCanvas **canvas);
  10242 
  10243     END_INTERFACE
  10244 } IXpsOMCanvasVtbl;
  10245 
  10246 interface IXpsOMCanvas {
  10247     CONST_VTBL IXpsOMCanvasVtbl* lpVtbl;
  10248 };
  10249 
  10250 #ifdef COBJMACROS
  10251 #ifndef WIDL_C_INLINE_WRAPPERS
  10252 /*** IUnknown methods ***/
  10253 #define IXpsOMCanvas_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  10254 #define IXpsOMCanvas_AddRef(This) (This)->lpVtbl->AddRef(This)
  10255 #define IXpsOMCanvas_Release(This) (This)->lpVtbl->Release(This)
  10256 /*** IXpsOMShareable methods ***/
  10257 #define IXpsOMCanvas_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  10258 #define IXpsOMCanvas_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  10259 /*** IXpsOMVisual methods ***/
  10260 #define IXpsOMCanvas_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
  10261 #define IXpsOMCanvas_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
  10262 #define IXpsOMCanvas_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
  10263 #define IXpsOMCanvas_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  10264 #define IXpsOMCanvas_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  10265 #define IXpsOMCanvas_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
  10266 #define IXpsOMCanvas_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
  10267 #define IXpsOMCanvas_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
  10268 #define IXpsOMCanvas_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
  10269 #define IXpsOMCanvas_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
  10270 #define IXpsOMCanvas_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  10271 #define IXpsOMCanvas_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  10272 #define IXpsOMCanvas_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
  10273 #define IXpsOMCanvas_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
  10274 #define IXpsOMCanvas_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
  10275 #define IXpsOMCanvas_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
  10276 #define IXpsOMCanvas_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
  10277 #define IXpsOMCanvas_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  10278 #define IXpsOMCanvas_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  10279 #define IXpsOMCanvas_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
  10280 #define IXpsOMCanvas_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
  10281 #define IXpsOMCanvas_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
  10282 #define IXpsOMCanvas_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
  10283 #define IXpsOMCanvas_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  10284 #define IXpsOMCanvas_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  10285 /*** IXpsOMCanvas methods ***/
  10286 #define IXpsOMCanvas_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
  10287 #define IXpsOMCanvas_GetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode)
  10288 #define IXpsOMCanvas_SetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode)
  10289 #define IXpsOMCanvas_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
  10290 #define IXpsOMCanvas_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
  10291 #define IXpsOMCanvas_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
  10292 #define IXpsOMCanvas_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
  10293 #define IXpsOMCanvas_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
  10294 #define IXpsOMCanvas_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
  10295 #define IXpsOMCanvas_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
  10296 #define IXpsOMCanvas_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
  10297 #define IXpsOMCanvas_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
  10298 #define IXpsOMCanvas_Clone(This,canvas) (This)->lpVtbl->Clone(This,canvas)
  10299 #else
  10300 /*** IUnknown methods ***/
  10301 static inline HRESULT IXpsOMCanvas_QueryInterface(IXpsOMCanvas* This,REFIID riid,void **ppvObject) {
  10302     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  10303 }
  10304 static inline ULONG IXpsOMCanvas_AddRef(IXpsOMCanvas* This) {
  10305     return This->lpVtbl->AddRef(This);
  10306 }
  10307 static inline ULONG IXpsOMCanvas_Release(IXpsOMCanvas* This) {
  10308     return This->lpVtbl->Release(This);
  10309 }
  10310 /*** IXpsOMShareable methods ***/
  10311 static inline HRESULT IXpsOMCanvas_GetOwner(IXpsOMCanvas* This,IUnknown **owner) {
  10312     return This->lpVtbl->GetOwner(This,owner);
  10313 }
  10314 static inline HRESULT IXpsOMCanvas_GetType(IXpsOMCanvas* This,XPS_OBJECT_TYPE *type) {
  10315     return This->lpVtbl->GetType(This,type);
  10316 }
  10317 /*** IXpsOMVisual methods ***/
  10318 static inline HRESULT IXpsOMCanvas_GetTransform(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
  10319     return This->lpVtbl->GetTransform(This,matrixTransform);
  10320 }
  10321 static inline HRESULT IXpsOMCanvas_GetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
  10322     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
  10323 }
  10324 static inline HRESULT IXpsOMCanvas_SetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform *matrixTransform) {
  10325     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
  10326 }
  10327 static inline HRESULT IXpsOMCanvas_GetTransformLookup(IXpsOMCanvas* This,LPWSTR *key) {
  10328     return This->lpVtbl->GetTransformLookup(This,key);
  10329 }
  10330 static inline HRESULT IXpsOMCanvas_SetTransformLookup(IXpsOMCanvas* This,LPCWSTR key) {
  10331     return This->lpVtbl->SetTransformLookup(This,key);
  10332 }
  10333 static inline HRESULT IXpsOMCanvas_GetClipGeometry(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
  10334     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
  10335 }
  10336 static inline HRESULT IXpsOMCanvas_GetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
  10337     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
  10338 }
  10339 static inline HRESULT IXpsOMCanvas_SetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry *clipGeometry) {
  10340     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
  10341 }
  10342 static inline HRESULT IXpsOMCanvas_GetClipGeometryLookup(IXpsOMCanvas* This,LPWSTR *key) {
  10343     return This->lpVtbl->GetClipGeometryLookup(This,key);
  10344 }
  10345 static inline HRESULT IXpsOMCanvas_SetClipGeometryLookup(IXpsOMCanvas* This,LPCWSTR key) {
  10346     return This->lpVtbl->SetClipGeometryLookup(This,key);
  10347 }
  10348 static inline HRESULT IXpsOMCanvas_GetOpacity(IXpsOMCanvas* This,FLOAT *opacity) {
  10349     return This->lpVtbl->GetOpacity(This,opacity);
  10350 }
  10351 static inline HRESULT IXpsOMCanvas_SetOpacity(IXpsOMCanvas* This,FLOAT opacity) {
  10352     return This->lpVtbl->SetOpacity(This,opacity);
  10353 }
  10354 static inline HRESULT IXpsOMCanvas_GetOpacityMaskBrush(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
  10355     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
  10356 }
  10357 static inline HRESULT IXpsOMCanvas_GetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
  10358     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
  10359 }
  10360 static inline HRESULT IXpsOMCanvas_SetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush *opacityMaskBrush) {
  10361     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
  10362 }
  10363 static inline HRESULT IXpsOMCanvas_GetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPWSTR *key) {
  10364     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
  10365 }
  10366 static inline HRESULT IXpsOMCanvas_SetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPCWSTR key) {
  10367     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
  10368 }
  10369 static inline HRESULT IXpsOMCanvas_GetName(IXpsOMCanvas* This,LPWSTR *name) {
  10370     return This->lpVtbl->GetName(This,name);
  10371 }
  10372 static inline HRESULT IXpsOMCanvas_SetName(IXpsOMCanvas* This,LPCWSTR name) {
  10373     return This->lpVtbl->SetName(This,name);
  10374 }
  10375 static inline HRESULT IXpsOMCanvas_GetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL *isHyperlink) {
  10376     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
  10377 }
  10378 static inline HRESULT IXpsOMCanvas_SetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL isHyperlink) {
  10379     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
  10380 }
  10381 static inline HRESULT IXpsOMCanvas_GetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri **hyperlinkUri) {
  10382     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
  10383 }
  10384 static inline HRESULT IXpsOMCanvas_SetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri *hyperlinkUri) {
  10385     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
  10386 }
  10387 static inline HRESULT IXpsOMCanvas_GetLanguage(IXpsOMCanvas* This,LPWSTR *language) {
  10388     return This->lpVtbl->GetLanguage(This,language);
  10389 }
  10390 static inline HRESULT IXpsOMCanvas_SetLanguage(IXpsOMCanvas* This,LPCWSTR language) {
  10391     return This->lpVtbl->SetLanguage(This,language);
  10392 }
  10393 /*** IXpsOMCanvas methods ***/
  10394 static inline HRESULT IXpsOMCanvas_GetVisuals(IXpsOMCanvas* This,IXpsOMVisualCollection **visuals) {
  10395     return This->lpVtbl->GetVisuals(This,visuals);
  10396 }
  10397 static inline HRESULT IXpsOMCanvas_GetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL *useAliasedEdgeMode) {
  10398     return This->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode);
  10399 }
  10400 static inline HRESULT IXpsOMCanvas_SetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL useAliasedEdgeMode) {
  10401     return This->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode);
  10402 }
  10403 static inline HRESULT IXpsOMCanvas_GetAccessibilityShortDescription(IXpsOMCanvas* This,LPWSTR *shortDescription) {
  10404     return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
  10405 }
  10406 static inline HRESULT IXpsOMCanvas_SetAccessibilityShortDescription(IXpsOMCanvas* This,LPCWSTR shortDescription) {
  10407     return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
  10408 }
  10409 static inline HRESULT IXpsOMCanvas_GetAccessibilityLongDescription(IXpsOMCanvas* This,LPWSTR *longDescription) {
  10410     return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
  10411 }
  10412 static inline HRESULT IXpsOMCanvas_SetAccessibilityLongDescription(IXpsOMCanvas* This,LPCWSTR longDescription) {
  10413     return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
  10414 }
  10415 static inline HRESULT IXpsOMCanvas_GetDictionary(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
  10416     return This->lpVtbl->GetDictionary(This,resourceDictionary);
  10417 }
  10418 static inline HRESULT IXpsOMCanvas_GetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
  10419     return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
  10420 }
  10421 static inline HRESULT IXpsOMCanvas_SetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary *resourceDictionary) {
  10422     return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
  10423 }
  10424 static inline HRESULT IXpsOMCanvas_GetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  10425     return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
  10426 }
  10427 static inline HRESULT IXpsOMCanvas_SetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
  10428     return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
  10429 }
  10430 static inline HRESULT IXpsOMCanvas_Clone(IXpsOMCanvas* This,IXpsOMCanvas **canvas) {
  10431     return This->lpVtbl->Clone(This,canvas);
  10432 }
  10433 #endif
  10434 #endif
  10435 
  10436 #endif
  10437 
  10438 
  10439 #endif  /* __IXpsOMCanvas_INTERFACE_DEFINED__ */
  10440 
  10441 /*****************************************************************************
  10442  * IXpsOMPage interface
  10443  */
  10444 #ifndef __IXpsOMPage_INTERFACE_DEFINED__
  10445 #define __IXpsOMPage_INTERFACE_DEFINED__
  10446 
  10447 DEFINE_GUID(IID_IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4);
  10448 #if defined(__cplusplus) && !defined(CINTERFACE)
  10449 MIDL_INTERFACE("d3e18888-f120-4fee-8c68-35296eae91d4")
  10450 IXpsOMPage : public IXpsOMPart
  10451 {
  10452     virtual HRESULT STDMETHODCALLTYPE GetOwner(
  10453         IXpsOMPageReference **pageReference) = 0;
  10454 
  10455     virtual HRESULT STDMETHODCALLTYPE GetVisuals(
  10456         IXpsOMVisualCollection **visuals) = 0;
  10457 
  10458     virtual HRESULT STDMETHODCALLTYPE GetPageDimensions(
  10459         XPS_SIZE *pageDimensions) = 0;
  10460 
  10461     virtual HRESULT STDMETHODCALLTYPE SetPageDimensions(
  10462         const XPS_SIZE *pageDimensions) = 0;
  10463 
  10464     virtual HRESULT STDMETHODCALLTYPE GetContentBox(
  10465         XPS_RECT *contentBox) = 0;
  10466 
  10467     virtual HRESULT STDMETHODCALLTYPE SetContentBox(
  10468         const XPS_RECT *contentBox) = 0;
  10469 
  10470     virtual HRESULT STDMETHODCALLTYPE GetBleedBox(
  10471         XPS_RECT *bleedBox) = 0;
  10472 
  10473     virtual HRESULT STDMETHODCALLTYPE SetBleedBox(
  10474         const XPS_RECT *bleedBox) = 0;
  10475 
  10476     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  10477         LPWSTR *language) = 0;
  10478 
  10479     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
  10480         LPCWSTR language) = 0;
  10481 
  10482     virtual HRESULT STDMETHODCALLTYPE GetName(
  10483         LPWSTR *name) = 0;
  10484 
  10485     virtual HRESULT STDMETHODCALLTYPE SetName(
  10486         LPCWSTR name) = 0;
  10487 
  10488     virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
  10489         WINBOOL *isHyperlinkTarget) = 0;
  10490 
  10491     virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
  10492         WINBOOL isHyperlinkTarget) = 0;
  10493 
  10494     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
  10495         IXpsOMDictionary **resourceDictionary) = 0;
  10496 
  10497     virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
  10498         IXpsOMDictionary **resourceDictionary) = 0;
  10499 
  10500     virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
  10501         IXpsOMDictionary *resourceDictionary) = 0;
  10502 
  10503     virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
  10504         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  10505 
  10506     virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
  10507         IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
  10508 
  10509     virtual HRESULT STDMETHODCALLTYPE Write(
  10510         ISequentialStream *stream,
  10511         WINBOOL optimizeMarkupSize) = 0;
  10512 
  10513     virtual HRESULT STDMETHODCALLTYPE GenerateUnusedLookupKey(
  10514         XPS_OBJECT_TYPE type,
  10515         LPWSTR *key) = 0;
  10516 
  10517     virtual HRESULT STDMETHODCALLTYPE Clone(
  10518         IXpsOMPage **page) = 0;
  10519 
  10520 };
  10521 #ifdef __CRT_UUID_DECL
  10522 __CRT_UUID_DECL(IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4)
  10523 #endif
  10524 #else
  10525 typedef struct IXpsOMPageVtbl {
  10526     BEGIN_INTERFACE
  10527 
  10528     /*** IUnknown methods ***/
  10529     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  10530         IXpsOMPage *This,
  10531         REFIID riid,
  10532         void **ppvObject);
  10533 
  10534     ULONG (STDMETHODCALLTYPE *AddRef)(
  10535         IXpsOMPage *This);
  10536 
  10537     ULONG (STDMETHODCALLTYPE *Release)(
  10538         IXpsOMPage *This);
  10539 
  10540     /*** IXpsOMPart methods ***/
  10541     HRESULT (STDMETHODCALLTYPE *GetPartName)(
  10542         IXpsOMPage *This,
  10543         IOpcPartUri **partUri);
  10544 
  10545     HRESULT (STDMETHODCALLTYPE *SetPartName)(
  10546         IXpsOMPage *This,
  10547         IOpcPartUri *partUri);
  10548 
  10549     /*** IXpsOMPage methods ***/
  10550     HRESULT (STDMETHODCALLTYPE *GetOwner)(
  10551         IXpsOMPage *This,
  10552         IXpsOMPageReference **pageReference);
  10553 
  10554     HRESULT (STDMETHODCALLTYPE *GetVisuals)(
  10555         IXpsOMPage *This,
  10556         IXpsOMVisualCollection **visuals);
  10557 
  10558     HRESULT (STDMETHODCALLTYPE *GetPageDimensions)(
  10559         IXpsOMPage *This,
  10560         XPS_SIZE *pageDimensions);
  10561 
  10562     HRESULT (STDMETHODCALLTYPE *SetPageDimensions)(
  10563         IXpsOMPage *This,
  10564         const XPS_SIZE *pageDimensions);
  10565 
  10566     HRESULT (STDMETHODCALLTYPE *GetContentBox)(
  10567         IXpsOMPage *This,
  10568         XPS_RECT *contentBox);
  10569 
  10570     HRESULT (STDMETHODCALLTYPE *SetContentBox)(
  10571         IXpsOMPage *This,
  10572         const XPS_RECT *contentBox);
  10573 
  10574     HRESULT (STDMETHODCALLTYPE *GetBleedBox)(
  10575         IXpsOMPage *This,
  10576         XPS_RECT *bleedBox);
  10577 
  10578     HRESULT (STDMETHODCALLTYPE *SetBleedBox)(
  10579         IXpsOMPage *This,
  10580         const XPS_RECT *bleedBox);
  10581 
  10582     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  10583         IXpsOMPage *This,
  10584         LPWSTR *language);
  10585 
  10586     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  10587         IXpsOMPage *This,
  10588         LPCWSTR language);
  10589 
  10590     HRESULT (STDMETHODCALLTYPE *GetName)(
  10591         IXpsOMPage *This,
  10592         LPWSTR *name);
  10593 
  10594     HRESULT (STDMETHODCALLTYPE *SetName)(
  10595         IXpsOMPage *This,
  10596         LPCWSTR name);
  10597 
  10598     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  10599         IXpsOMPage *This,
  10600         WINBOOL *isHyperlinkTarget);
  10601 
  10602     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  10603         IXpsOMPage *This,
  10604         WINBOOL isHyperlinkTarget);
  10605 
  10606     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
  10607         IXpsOMPage *This,
  10608         IXpsOMDictionary **resourceDictionary);
  10609 
  10610     HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
  10611         IXpsOMPage *This,
  10612         IXpsOMDictionary **resourceDictionary);
  10613 
  10614     HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
  10615         IXpsOMPage *This,
  10616         IXpsOMDictionary *resourceDictionary);
  10617 
  10618     HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
  10619         IXpsOMPage *This,
  10620         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  10621 
  10622     HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
  10623         IXpsOMPage *This,
  10624         IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
  10625 
  10626     HRESULT (STDMETHODCALLTYPE *Write)(
  10627         IXpsOMPage *This,
  10628         ISequentialStream *stream,
  10629         WINBOOL optimizeMarkupSize);
  10630 
  10631     HRESULT (STDMETHODCALLTYPE *GenerateUnusedLookupKey)(
  10632         IXpsOMPage *This,
  10633         XPS_OBJECT_TYPE type,
  10634         LPWSTR *key);
  10635 
  10636     HRESULT (STDMETHODCALLTYPE *Clone)(
  10637         IXpsOMPage *This,
  10638         IXpsOMPage **page);
  10639 
  10640     END_INTERFACE
  10641 } IXpsOMPageVtbl;
  10642 
  10643 interface IXpsOMPage {
  10644     CONST_VTBL IXpsOMPageVtbl* lpVtbl;
  10645 };
  10646 
  10647 #ifdef COBJMACROS
  10648 #ifndef WIDL_C_INLINE_WRAPPERS
  10649 /*** IUnknown methods ***/
  10650 #define IXpsOMPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  10651 #define IXpsOMPage_AddRef(This) (This)->lpVtbl->AddRef(This)
  10652 #define IXpsOMPage_Release(This) (This)->lpVtbl->Release(This)
  10653 /*** IXpsOMPart methods ***/
  10654 #define IXpsOMPage_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  10655 #define IXpsOMPage_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  10656 /*** IXpsOMPage methods ***/
  10657 #define IXpsOMPage_GetOwner(This,pageReference) (This)->lpVtbl->GetOwner(This,pageReference)
  10658 #define IXpsOMPage_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
  10659 #define IXpsOMPage_GetPageDimensions(This,pageDimensions) (This)->lpVtbl->GetPageDimensions(This,pageDimensions)
  10660 #define IXpsOMPage_SetPageDimensions(This,pageDimensions) (This)->lpVtbl->SetPageDimensions(This,pageDimensions)
  10661 #define IXpsOMPage_GetContentBox(This,contentBox) (This)->lpVtbl->GetContentBox(This,contentBox)
  10662 #define IXpsOMPage_SetContentBox(This,contentBox) (This)->lpVtbl->SetContentBox(This,contentBox)
  10663 #define IXpsOMPage_GetBleedBox(This,bleedBox) (This)->lpVtbl->GetBleedBox(This,bleedBox)
  10664 #define IXpsOMPage_SetBleedBox(This,bleedBox) (This)->lpVtbl->SetBleedBox(This,bleedBox)
  10665 #define IXpsOMPage_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  10666 #define IXpsOMPage_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  10667 #define IXpsOMPage_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  10668 #define IXpsOMPage_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  10669 #define IXpsOMPage_GetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget)
  10670 #define IXpsOMPage_SetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget)
  10671 #define IXpsOMPage_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
  10672 #define IXpsOMPage_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
  10673 #define IXpsOMPage_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
  10674 #define IXpsOMPage_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
  10675 #define IXpsOMPage_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
  10676 #define IXpsOMPage_Write(This,stream,optimizeMarkupSize) (This)->lpVtbl->Write(This,stream,optimizeMarkupSize)
  10677 #define IXpsOMPage_GenerateUnusedLookupKey(This,type,key) (This)->lpVtbl->GenerateUnusedLookupKey(This,type,key)
  10678 #define IXpsOMPage_Clone(This,page) (This)->lpVtbl->Clone(This,page)
  10679 #else
  10680 /*** IUnknown methods ***/
  10681 static inline HRESULT IXpsOMPage_QueryInterface(IXpsOMPage* This,REFIID riid,void **ppvObject) {
  10682     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  10683 }
  10684 static inline ULONG IXpsOMPage_AddRef(IXpsOMPage* This) {
  10685     return This->lpVtbl->AddRef(This);
  10686 }
  10687 static inline ULONG IXpsOMPage_Release(IXpsOMPage* This) {
  10688     return This->lpVtbl->Release(This);
  10689 }
  10690 /*** IXpsOMPart methods ***/
  10691 static inline HRESULT IXpsOMPage_GetPartName(IXpsOMPage* This,IOpcPartUri **partUri) {
  10692     return This->lpVtbl->GetPartName(This,partUri);
  10693 }
  10694 static inline HRESULT IXpsOMPage_SetPartName(IXpsOMPage* This,IOpcPartUri *partUri) {
  10695     return This->lpVtbl->SetPartName(This,partUri);
  10696 }
  10697 /*** IXpsOMPage methods ***/
  10698 static inline HRESULT IXpsOMPage_GetOwner(IXpsOMPage* This,IXpsOMPageReference **pageReference) {
  10699     return This->lpVtbl->GetOwner(This,pageReference);
  10700 }
  10701 static inline HRESULT IXpsOMPage_GetVisuals(IXpsOMPage* This,IXpsOMVisualCollection **visuals) {
  10702     return This->lpVtbl->GetVisuals(This,visuals);
  10703 }
  10704 static inline HRESULT IXpsOMPage_GetPageDimensions(IXpsOMPage* This,XPS_SIZE *pageDimensions) {
  10705     return This->lpVtbl->GetPageDimensions(This,pageDimensions);
  10706 }
  10707 static inline HRESULT IXpsOMPage_SetPageDimensions(IXpsOMPage* This,const XPS_SIZE *pageDimensions) {
  10708     return This->lpVtbl->SetPageDimensions(This,pageDimensions);
  10709 }
  10710 static inline HRESULT IXpsOMPage_GetContentBox(IXpsOMPage* This,XPS_RECT *contentBox) {
  10711     return This->lpVtbl->GetContentBox(This,contentBox);
  10712 }
  10713 static inline HRESULT IXpsOMPage_SetContentBox(IXpsOMPage* This,const XPS_RECT *contentBox) {
  10714     return This->lpVtbl->SetContentBox(This,contentBox);
  10715 }
  10716 static inline HRESULT IXpsOMPage_GetBleedBox(IXpsOMPage* This,XPS_RECT *bleedBox) {
  10717     return This->lpVtbl->GetBleedBox(This,bleedBox);
  10718 }
  10719 static inline HRESULT IXpsOMPage_SetBleedBox(IXpsOMPage* This,const XPS_RECT *bleedBox) {
  10720     return This->lpVtbl->SetBleedBox(This,bleedBox);
  10721 }
  10722 static inline HRESULT IXpsOMPage_GetLanguage(IXpsOMPage* This,LPWSTR *language) {
  10723     return This->lpVtbl->GetLanguage(This,language);
  10724 }
  10725 static inline HRESULT IXpsOMPage_SetLanguage(IXpsOMPage* This,LPCWSTR language) {
  10726     return This->lpVtbl->SetLanguage(This,language);
  10727 }
  10728 static inline HRESULT IXpsOMPage_GetName(IXpsOMPage* This,LPWSTR *name) {
  10729     return This->lpVtbl->GetName(This,name);
  10730 }
  10731 static inline HRESULT IXpsOMPage_SetName(IXpsOMPage* This,LPCWSTR name) {
  10732     return This->lpVtbl->SetName(This,name);
  10733 }
  10734 static inline HRESULT IXpsOMPage_GetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL *isHyperlinkTarget) {
  10735     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget);
  10736 }
  10737 static inline HRESULT IXpsOMPage_SetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL isHyperlinkTarget) {
  10738     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget);
  10739 }
  10740 static inline HRESULT IXpsOMPage_GetDictionary(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
  10741     return This->lpVtbl->GetDictionary(This,resourceDictionary);
  10742 }
  10743 static inline HRESULT IXpsOMPage_GetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
  10744     return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
  10745 }
  10746 static inline HRESULT IXpsOMPage_SetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary *resourceDictionary) {
  10747     return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
  10748 }
  10749 static inline HRESULT IXpsOMPage_GetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  10750     return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
  10751 }
  10752 static inline HRESULT IXpsOMPage_SetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
  10753     return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
  10754 }
  10755 static inline HRESULT IXpsOMPage_Write(IXpsOMPage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
  10756     return This->lpVtbl->Write(This,stream,optimizeMarkupSize);
  10757 }
  10758 static inline HRESULT IXpsOMPage_GenerateUnusedLookupKey(IXpsOMPage* This,XPS_OBJECT_TYPE type,LPWSTR *key) {
  10759     return This->lpVtbl->GenerateUnusedLookupKey(This,type,key);
  10760 }
  10761 static inline HRESULT IXpsOMPage_Clone(IXpsOMPage* This,IXpsOMPage **page) {
  10762     return This->lpVtbl->Clone(This,page);
  10763 }
  10764 #endif
  10765 #endif
  10766 
  10767 #endif
  10768 
  10769 
  10770 #endif  /* __IXpsOMPage_INTERFACE_DEFINED__ */
  10771 
  10772 /*****************************************************************************
  10773  * IXpsOMDocument interface
  10774  */
  10775 #ifndef __IXpsOMDocument_INTERFACE_DEFINED__
  10776 #define __IXpsOMDocument_INTERFACE_DEFINED__
  10777 
  10778 DEFINE_GUID(IID_IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0);
  10779 #if defined(__cplusplus) && !defined(CINTERFACE)
  10780 MIDL_INTERFACE("2c2c94cb-ac5f-4254-8ee9-23948309d9f0")
  10781 IXpsOMDocument : public IXpsOMPart
  10782 {
  10783     virtual HRESULT STDMETHODCALLTYPE GetOwner(
  10784         IXpsOMDocumentSequence **documentSequence) = 0;
  10785 
  10786     virtual HRESULT STDMETHODCALLTYPE GetPageReferences(
  10787         IXpsOMPageReferenceCollection **pageReferences) = 0;
  10788 
  10789     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
  10790         IXpsOMPrintTicketResource **printTicketResource) = 0;
  10791 
  10792     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
  10793         IXpsOMPrintTicketResource *printTicketResource) = 0;
  10794 
  10795     virtual HRESULT STDMETHODCALLTYPE GetDocumentStructureResource(
  10796         IXpsOMDocumentStructureResource **documentStructureResource) = 0;
  10797 
  10798     virtual HRESULT STDMETHODCALLTYPE SetDocumentStructureResource(
  10799         IXpsOMDocumentStructureResource *documentStructureResource) = 0;
  10800 
  10801     virtual HRESULT STDMETHODCALLTYPE GetSignatureBlockResources(
  10802         IXpsOMSignatureBlockResourceCollection **signatureBlockResources) = 0;
  10803 
  10804     virtual HRESULT STDMETHODCALLTYPE Clone(
  10805         IXpsOMDocument **document) = 0;
  10806 
  10807 };
  10808 #ifdef __CRT_UUID_DECL
  10809 __CRT_UUID_DECL(IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0)
  10810 #endif
  10811 #else
  10812 typedef struct IXpsOMDocumentVtbl {
  10813     BEGIN_INTERFACE
  10814 
  10815     /*** IUnknown methods ***/
  10816     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  10817         IXpsOMDocument *This,
  10818         REFIID riid,
  10819         void **ppvObject);
  10820 
  10821     ULONG (STDMETHODCALLTYPE *AddRef)(
  10822         IXpsOMDocument *This);
  10823 
  10824     ULONG (STDMETHODCALLTYPE *Release)(
  10825         IXpsOMDocument *This);
  10826 
  10827     /*** IXpsOMPart methods ***/
  10828     HRESULT (STDMETHODCALLTYPE *GetPartName)(
  10829         IXpsOMDocument *This,
  10830         IOpcPartUri **partUri);
  10831 
  10832     HRESULT (STDMETHODCALLTYPE *SetPartName)(
  10833         IXpsOMDocument *This,
  10834         IOpcPartUri *partUri);
  10835 
  10836     /*** IXpsOMDocument methods ***/
  10837     HRESULT (STDMETHODCALLTYPE *GetOwner)(
  10838         IXpsOMDocument *This,
  10839         IXpsOMDocumentSequence **documentSequence);
  10840 
  10841     HRESULT (STDMETHODCALLTYPE *GetPageReferences)(
  10842         IXpsOMDocument *This,
  10843         IXpsOMPageReferenceCollection **pageReferences);
  10844 
  10845     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
  10846         IXpsOMDocument *This,
  10847         IXpsOMPrintTicketResource **printTicketResource);
  10848 
  10849     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
  10850         IXpsOMDocument *This,
  10851         IXpsOMPrintTicketResource *printTicketResource);
  10852 
  10853     HRESULT (STDMETHODCALLTYPE *GetDocumentStructureResource)(
  10854         IXpsOMDocument *This,
  10855         IXpsOMDocumentStructureResource **documentStructureResource);
  10856 
  10857     HRESULT (STDMETHODCALLTYPE *SetDocumentStructureResource)(
  10858         IXpsOMDocument *This,
  10859         IXpsOMDocumentStructureResource *documentStructureResource);
  10860 
  10861     HRESULT (STDMETHODCALLTYPE *GetSignatureBlockResources)(
  10862         IXpsOMDocument *This,
  10863         IXpsOMSignatureBlockResourceCollection **signatureBlockResources);
  10864 
  10865     HRESULT (STDMETHODCALLTYPE *Clone)(
  10866         IXpsOMDocument *This,
  10867         IXpsOMDocument **document);
  10868 
  10869     END_INTERFACE
  10870 } IXpsOMDocumentVtbl;
  10871 
  10872 interface IXpsOMDocument {
  10873     CONST_VTBL IXpsOMDocumentVtbl* lpVtbl;
  10874 };
  10875 
  10876 #ifdef COBJMACROS
  10877 #ifndef WIDL_C_INLINE_WRAPPERS
  10878 /*** IUnknown methods ***/
  10879 #define IXpsOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  10880 #define IXpsOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
  10881 #define IXpsOMDocument_Release(This) (This)->lpVtbl->Release(This)
  10882 /*** IXpsOMPart methods ***/
  10883 #define IXpsOMDocument_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  10884 #define IXpsOMDocument_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  10885 /*** IXpsOMDocument methods ***/
  10886 #define IXpsOMDocument_GetOwner(This,documentSequence) (This)->lpVtbl->GetOwner(This,documentSequence)
  10887 #define IXpsOMDocument_GetPageReferences(This,pageReferences) (This)->lpVtbl->GetPageReferences(This,pageReferences)
  10888 #define IXpsOMDocument_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
  10889 #define IXpsOMDocument_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
  10890 #define IXpsOMDocument_GetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->GetDocumentStructureResource(This,documentStructureResource)
  10891 #define IXpsOMDocument_SetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->SetDocumentStructureResource(This,documentStructureResource)
  10892 #define IXpsOMDocument_GetSignatureBlockResources(This,signatureBlockResources) (This)->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources)
  10893 #define IXpsOMDocument_Clone(This,document) (This)->lpVtbl->Clone(This,document)
  10894 #else
  10895 /*** IUnknown methods ***/
  10896 static inline HRESULT IXpsOMDocument_QueryInterface(IXpsOMDocument* This,REFIID riid,void **ppvObject) {
  10897     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  10898 }
  10899 static inline ULONG IXpsOMDocument_AddRef(IXpsOMDocument* This) {
  10900     return This->lpVtbl->AddRef(This);
  10901 }
  10902 static inline ULONG IXpsOMDocument_Release(IXpsOMDocument* This) {
  10903     return This->lpVtbl->Release(This);
  10904 }
  10905 /*** IXpsOMPart methods ***/
  10906 static inline HRESULT IXpsOMDocument_GetPartName(IXpsOMDocument* This,IOpcPartUri **partUri) {
  10907     return This->lpVtbl->GetPartName(This,partUri);
  10908 }
  10909 static inline HRESULT IXpsOMDocument_SetPartName(IXpsOMDocument* This,IOpcPartUri *partUri) {
  10910     return This->lpVtbl->SetPartName(This,partUri);
  10911 }
  10912 /*** IXpsOMDocument methods ***/
  10913 static inline HRESULT IXpsOMDocument_GetOwner(IXpsOMDocument* This,IXpsOMDocumentSequence **documentSequence) {
  10914     return This->lpVtbl->GetOwner(This,documentSequence);
  10915 }
  10916 static inline HRESULT IXpsOMDocument_GetPageReferences(IXpsOMDocument* This,IXpsOMPageReferenceCollection **pageReferences) {
  10917     return This->lpVtbl->GetPageReferences(This,pageReferences);
  10918 }
  10919 static inline HRESULT IXpsOMDocument_GetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource **printTicketResource) {
  10920     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
  10921 }
  10922 static inline HRESULT IXpsOMDocument_SetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource *printTicketResource) {
  10923     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
  10924 }
  10925 static inline HRESULT IXpsOMDocument_GetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource **documentStructureResource) {
  10926     return This->lpVtbl->GetDocumentStructureResource(This,documentStructureResource);
  10927 }
  10928 static inline HRESULT IXpsOMDocument_SetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource *documentStructureResource) {
  10929     return This->lpVtbl->SetDocumentStructureResource(This,documentStructureResource);
  10930 }
  10931 static inline HRESULT IXpsOMDocument_GetSignatureBlockResources(IXpsOMDocument* This,IXpsOMSignatureBlockResourceCollection **signatureBlockResources) {
  10932     return This->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources);
  10933 }
  10934 static inline HRESULT IXpsOMDocument_Clone(IXpsOMDocument* This,IXpsOMDocument **document) {
  10935     return This->lpVtbl->Clone(This,document);
  10936 }
  10937 #endif
  10938 #endif
  10939 
  10940 #endif
  10941 
  10942 
  10943 #endif  /* __IXpsOMDocument_INTERFACE_DEFINED__ */
  10944 
  10945 /*****************************************************************************
  10946  * IXpsOMDocumentSequence interface
  10947  */
  10948 #ifndef __IXpsOMDocumentSequence_INTERFACE_DEFINED__
  10949 #define __IXpsOMDocumentSequence_INTERFACE_DEFINED__
  10950 
  10951 DEFINE_GUID(IID_IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64);
  10952 #if defined(__cplusplus) && !defined(CINTERFACE)
  10953 MIDL_INTERFACE("56492eb4-d8d5-425e-8256-4c2b64ad0264")
  10954 IXpsOMDocumentSequence : public IXpsOMPart
  10955 {
  10956     virtual HRESULT STDMETHODCALLTYPE GetOwner(
  10957         IXpsOMPackage **package) = 0;
  10958 
  10959     virtual HRESULT STDMETHODCALLTYPE GetDocuments(
  10960         IXpsOMDocumentCollection **documents) = 0;
  10961 
  10962     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
  10963         IXpsOMPrintTicketResource **printTicketResource) = 0;
  10964 
  10965     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
  10966         IXpsOMPrintTicketResource *printTicketResource) = 0;
  10967 
  10968 };
  10969 #ifdef __CRT_UUID_DECL
  10970 __CRT_UUID_DECL(IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64)
  10971 #endif
  10972 #else
  10973 typedef struct IXpsOMDocumentSequenceVtbl {
  10974     BEGIN_INTERFACE
  10975 
  10976     /*** IUnknown methods ***/
  10977     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  10978         IXpsOMDocumentSequence *This,
  10979         REFIID riid,
  10980         void **ppvObject);
  10981 
  10982     ULONG (STDMETHODCALLTYPE *AddRef)(
  10983         IXpsOMDocumentSequence *This);
  10984 
  10985     ULONG (STDMETHODCALLTYPE *Release)(
  10986         IXpsOMDocumentSequence *This);
  10987 
  10988     /*** IXpsOMPart methods ***/
  10989     HRESULT (STDMETHODCALLTYPE *GetPartName)(
  10990         IXpsOMDocumentSequence *This,
  10991         IOpcPartUri **partUri);
  10992 
  10993     HRESULT (STDMETHODCALLTYPE *SetPartName)(
  10994         IXpsOMDocumentSequence *This,
  10995         IOpcPartUri *partUri);
  10996 
  10997     /*** IXpsOMDocumentSequence methods ***/
  10998     HRESULT (STDMETHODCALLTYPE *GetOwner)(
  10999         IXpsOMDocumentSequence *This,
  11000         IXpsOMPackage **package);
  11001 
  11002     HRESULT (STDMETHODCALLTYPE *GetDocuments)(
  11003         IXpsOMDocumentSequence *This,
  11004         IXpsOMDocumentCollection **documents);
  11005 
  11006     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
  11007         IXpsOMDocumentSequence *This,
  11008         IXpsOMPrintTicketResource **printTicketResource);
  11009 
  11010     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
  11011         IXpsOMDocumentSequence *This,
  11012         IXpsOMPrintTicketResource *printTicketResource);
  11013 
  11014     END_INTERFACE
  11015 } IXpsOMDocumentSequenceVtbl;
  11016 
  11017 interface IXpsOMDocumentSequence {
  11018     CONST_VTBL IXpsOMDocumentSequenceVtbl* lpVtbl;
  11019 };
  11020 
  11021 #ifdef COBJMACROS
  11022 #ifndef WIDL_C_INLINE_WRAPPERS
  11023 /*** IUnknown methods ***/
  11024 #define IXpsOMDocumentSequence_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  11025 #define IXpsOMDocumentSequence_AddRef(This) (This)->lpVtbl->AddRef(This)
  11026 #define IXpsOMDocumentSequence_Release(This) (This)->lpVtbl->Release(This)
  11027 /*** IXpsOMPart methods ***/
  11028 #define IXpsOMDocumentSequence_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  11029 #define IXpsOMDocumentSequence_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  11030 /*** IXpsOMDocumentSequence methods ***/
  11031 #define IXpsOMDocumentSequence_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
  11032 #define IXpsOMDocumentSequence_GetDocuments(This,documents) (This)->lpVtbl->GetDocuments(This,documents)
  11033 #define IXpsOMDocumentSequence_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
  11034 #define IXpsOMDocumentSequence_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
  11035 #else
  11036 /*** IUnknown methods ***/
  11037 static inline HRESULT IXpsOMDocumentSequence_QueryInterface(IXpsOMDocumentSequence* This,REFIID riid,void **ppvObject) {
  11038     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  11039 }
  11040 static inline ULONG IXpsOMDocumentSequence_AddRef(IXpsOMDocumentSequence* This) {
  11041     return This->lpVtbl->AddRef(This);
  11042 }
  11043 static inline ULONG IXpsOMDocumentSequence_Release(IXpsOMDocumentSequence* This) {
  11044     return This->lpVtbl->Release(This);
  11045 }
  11046 /*** IXpsOMPart methods ***/
  11047 static inline HRESULT IXpsOMDocumentSequence_GetPartName(IXpsOMDocumentSequence* This,IOpcPartUri **partUri) {
  11048     return This->lpVtbl->GetPartName(This,partUri);
  11049 }
  11050 static inline HRESULT IXpsOMDocumentSequence_SetPartName(IXpsOMDocumentSequence* This,IOpcPartUri *partUri) {
  11051     return This->lpVtbl->SetPartName(This,partUri);
  11052 }
  11053 /*** IXpsOMDocumentSequence methods ***/
  11054 static inline HRESULT IXpsOMDocumentSequence_GetOwner(IXpsOMDocumentSequence* This,IXpsOMPackage **package) {
  11055     return This->lpVtbl->GetOwner(This,package);
  11056 }
  11057 static inline HRESULT IXpsOMDocumentSequence_GetDocuments(IXpsOMDocumentSequence* This,IXpsOMDocumentCollection **documents) {
  11058     return This->lpVtbl->GetDocuments(This,documents);
  11059 }
  11060 static inline HRESULT IXpsOMDocumentSequence_GetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource **printTicketResource) {
  11061     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
  11062 }
  11063 static inline HRESULT IXpsOMDocumentSequence_SetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource *printTicketResource) {
  11064     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
  11065 }
  11066 #endif
  11067 #endif
  11068 
  11069 #endif
  11070 
  11071 
  11072 #endif  /* __IXpsOMDocumentSequence_INTERFACE_DEFINED__ */
  11073 
  11074 /*****************************************************************************
  11075  * IXpsOMCoreProperties interface
  11076  */
  11077 #ifndef __IXpsOMCoreProperties_INTERFACE_DEFINED__
  11078 #define __IXpsOMCoreProperties_INTERFACE_DEFINED__
  11079 
  11080 DEFINE_GUID(IID_IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97);
  11081 #if defined(__cplusplus) && !defined(CINTERFACE)
  11082 MIDL_INTERFACE("3340fe8f-4027-4aa1-8f5f-d35ae45fe597")
  11083 IXpsOMCoreProperties : public IXpsOMPart
  11084 {
  11085     virtual HRESULT STDMETHODCALLTYPE GetOwner(
  11086         IXpsOMPackage **package) = 0;
  11087 
  11088     virtual HRESULT STDMETHODCALLTYPE GetCategory(
  11089         LPWSTR *category) = 0;
  11090 
  11091     virtual HRESULT STDMETHODCALLTYPE SetCategory(
  11092         LPCWSTR category) = 0;
  11093 
  11094     virtual HRESULT STDMETHODCALLTYPE GetContentStatus(
  11095         LPWSTR *contentStatus) = 0;
  11096 
  11097     virtual HRESULT STDMETHODCALLTYPE SetContentStatus(
  11098         LPCWSTR contentStatus) = 0;
  11099 
  11100     virtual HRESULT STDMETHODCALLTYPE GetContentType(
  11101         LPWSTR *contentType) = 0;
  11102 
  11103     virtual HRESULT STDMETHODCALLTYPE SetContentType(
  11104         LPCWSTR contentType) = 0;
  11105 
  11106     virtual HRESULT STDMETHODCALLTYPE GetCreated(
  11107         SYSTEMTIME *created) = 0;
  11108 
  11109     virtual HRESULT STDMETHODCALLTYPE SetCreated(
  11110         const SYSTEMTIME *created) = 0;
  11111 
  11112     virtual HRESULT STDMETHODCALLTYPE GetCreator(
  11113         LPWSTR *creator) = 0;
  11114 
  11115     virtual HRESULT STDMETHODCALLTYPE SetCreator(
  11116         LPCWSTR creator) = 0;
  11117 
  11118     virtual HRESULT STDMETHODCALLTYPE GetDescription(
  11119         LPWSTR *description) = 0;
  11120 
  11121     virtual HRESULT STDMETHODCALLTYPE SetDescription(
  11122         LPCWSTR description) = 0;
  11123 
  11124     virtual HRESULT STDMETHODCALLTYPE GetIdentifier(
  11125         LPWSTR *identifier) = 0;
  11126 
  11127     virtual HRESULT STDMETHODCALLTYPE SetIdentifier(
  11128         LPCWSTR identifier) = 0;
  11129 
  11130     virtual HRESULT STDMETHODCALLTYPE GetKeywords(
  11131         LPWSTR *keywords) = 0;
  11132 
  11133     virtual HRESULT STDMETHODCALLTYPE SetKeywords(
  11134         LPCWSTR keywords) = 0;
  11135 
  11136     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  11137         LPWSTR *language) = 0;
  11138 
  11139     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
  11140         LPCWSTR language) = 0;
  11141 
  11142     virtual HRESULT STDMETHODCALLTYPE GetLastModifiedBy(
  11143         LPWSTR *lastModifiedBy) = 0;
  11144 
  11145     virtual HRESULT STDMETHODCALLTYPE SetLastModifiedBy(
  11146         LPCWSTR lastModifiedBy) = 0;
  11147 
  11148     virtual HRESULT STDMETHODCALLTYPE GetLastPrinted(
  11149         SYSTEMTIME *lastPrinted) = 0;
  11150 
  11151     virtual HRESULT STDMETHODCALLTYPE SetLastPrinted(
  11152         const SYSTEMTIME *lastPrinted) = 0;
  11153 
  11154     virtual HRESULT STDMETHODCALLTYPE GetModified(
  11155         SYSTEMTIME *modified) = 0;
  11156 
  11157     virtual HRESULT STDMETHODCALLTYPE SetModified(
  11158         const SYSTEMTIME *modified) = 0;
  11159 
  11160     virtual HRESULT STDMETHODCALLTYPE GetRevision(
  11161         LPWSTR *revision) = 0;
  11162 
  11163     virtual HRESULT STDMETHODCALLTYPE SetRevision(
  11164         LPCWSTR revision) = 0;
  11165 
  11166     virtual HRESULT STDMETHODCALLTYPE GetSubject(
  11167         LPWSTR *subject) = 0;
  11168 
  11169     virtual HRESULT STDMETHODCALLTYPE SetSubject(
  11170         LPCWSTR subject) = 0;
  11171 
  11172     virtual HRESULT STDMETHODCALLTYPE GetTitle(
  11173         LPWSTR *title) = 0;
  11174 
  11175     virtual HRESULT STDMETHODCALLTYPE SetTitle(
  11176         LPCWSTR title) = 0;
  11177 
  11178     virtual HRESULT STDMETHODCALLTYPE GetVersion(
  11179         LPWSTR *version) = 0;
  11180 
  11181     virtual HRESULT STDMETHODCALLTYPE SetVersion(
  11182         LPCWSTR version) = 0;
  11183 
  11184     virtual HRESULT STDMETHODCALLTYPE Clone(
  11185         IXpsOMCoreProperties **coreProperties) = 0;
  11186 
  11187 };
  11188 #ifdef __CRT_UUID_DECL
  11189 __CRT_UUID_DECL(IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97)
  11190 #endif
  11191 #else
  11192 typedef struct IXpsOMCorePropertiesVtbl {
  11193     BEGIN_INTERFACE
  11194 
  11195     /*** IUnknown methods ***/
  11196     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  11197         IXpsOMCoreProperties *This,
  11198         REFIID riid,
  11199         void **ppvObject);
  11200 
  11201     ULONG (STDMETHODCALLTYPE *AddRef)(
  11202         IXpsOMCoreProperties *This);
  11203 
  11204     ULONG (STDMETHODCALLTYPE *Release)(
  11205         IXpsOMCoreProperties *This);
  11206 
  11207     /*** IXpsOMPart methods ***/
  11208     HRESULT (STDMETHODCALLTYPE *GetPartName)(
  11209         IXpsOMCoreProperties *This,
  11210         IOpcPartUri **partUri);
  11211 
  11212     HRESULT (STDMETHODCALLTYPE *SetPartName)(
  11213         IXpsOMCoreProperties *This,
  11214         IOpcPartUri *partUri);
  11215 
  11216     /*** IXpsOMCoreProperties methods ***/
  11217     HRESULT (STDMETHODCALLTYPE *GetOwner)(
  11218         IXpsOMCoreProperties *This,
  11219         IXpsOMPackage **package);
  11220 
  11221     HRESULT (STDMETHODCALLTYPE *GetCategory)(
  11222         IXpsOMCoreProperties *This,
  11223         LPWSTR *category);
  11224 
  11225     HRESULT (STDMETHODCALLTYPE *SetCategory)(
  11226         IXpsOMCoreProperties *This,
  11227         LPCWSTR category);
  11228 
  11229     HRESULT (STDMETHODCALLTYPE *GetContentStatus)(
  11230         IXpsOMCoreProperties *This,
  11231         LPWSTR *contentStatus);
  11232 
  11233     HRESULT (STDMETHODCALLTYPE *SetContentStatus)(
  11234         IXpsOMCoreProperties *This,
  11235         LPCWSTR contentStatus);
  11236 
  11237     HRESULT (STDMETHODCALLTYPE *GetContentType)(
  11238         IXpsOMCoreProperties *This,
  11239         LPWSTR *contentType);
  11240 
  11241     HRESULT (STDMETHODCALLTYPE *SetContentType)(
  11242         IXpsOMCoreProperties *This,
  11243         LPCWSTR contentType);
  11244 
  11245     HRESULT (STDMETHODCALLTYPE *GetCreated)(
  11246         IXpsOMCoreProperties *This,
  11247         SYSTEMTIME *created);
  11248 
  11249     HRESULT (STDMETHODCALLTYPE *SetCreated)(
  11250         IXpsOMCoreProperties *This,
  11251         const SYSTEMTIME *created);
  11252 
  11253     HRESULT (STDMETHODCALLTYPE *GetCreator)(
  11254         IXpsOMCoreProperties *This,
  11255         LPWSTR *creator);
  11256 
  11257     HRESULT (STDMETHODCALLTYPE *SetCreator)(
  11258         IXpsOMCoreProperties *This,
  11259         LPCWSTR creator);
  11260 
  11261     HRESULT (STDMETHODCALLTYPE *GetDescription)(
  11262         IXpsOMCoreProperties *This,
  11263         LPWSTR *description);
  11264 
  11265     HRESULT (STDMETHODCALLTYPE *SetDescription)(
  11266         IXpsOMCoreProperties *This,
  11267         LPCWSTR description);
  11268 
  11269     HRESULT (STDMETHODCALLTYPE *GetIdentifier)(
  11270         IXpsOMCoreProperties *This,
  11271         LPWSTR *identifier);
  11272 
  11273     HRESULT (STDMETHODCALLTYPE *SetIdentifier)(
  11274         IXpsOMCoreProperties *This,
  11275         LPCWSTR identifier);
  11276 
  11277     HRESULT (STDMETHODCALLTYPE *GetKeywords)(
  11278         IXpsOMCoreProperties *This,
  11279         LPWSTR *keywords);
  11280 
  11281     HRESULT (STDMETHODCALLTYPE *SetKeywords)(
  11282         IXpsOMCoreProperties *This,
  11283         LPCWSTR keywords);
  11284 
  11285     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  11286         IXpsOMCoreProperties *This,
  11287         LPWSTR *language);
  11288 
  11289     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  11290         IXpsOMCoreProperties *This,
  11291         LPCWSTR language);
  11292 
  11293     HRESULT (STDMETHODCALLTYPE *GetLastModifiedBy)(
  11294         IXpsOMCoreProperties *This,
  11295         LPWSTR *lastModifiedBy);
  11296 
  11297     HRESULT (STDMETHODCALLTYPE *SetLastModifiedBy)(
  11298         IXpsOMCoreProperties *This,
  11299         LPCWSTR lastModifiedBy);
  11300 
  11301     HRESULT (STDMETHODCALLTYPE *GetLastPrinted)(
  11302         IXpsOMCoreProperties *This,
  11303         SYSTEMTIME *lastPrinted);
  11304 
  11305     HRESULT (STDMETHODCALLTYPE *SetLastPrinted)(
  11306         IXpsOMCoreProperties *This,
  11307         const SYSTEMTIME *lastPrinted);
  11308 
  11309     HRESULT (STDMETHODCALLTYPE *GetModified)(
  11310         IXpsOMCoreProperties *This,
  11311         SYSTEMTIME *modified);
  11312 
  11313     HRESULT (STDMETHODCALLTYPE *SetModified)(
  11314         IXpsOMCoreProperties *This,
  11315         const SYSTEMTIME *modified);
  11316 
  11317     HRESULT (STDMETHODCALLTYPE *GetRevision)(
  11318         IXpsOMCoreProperties *This,
  11319         LPWSTR *revision);
  11320 
  11321     HRESULT (STDMETHODCALLTYPE *SetRevision)(
  11322         IXpsOMCoreProperties *This,
  11323         LPCWSTR revision);
  11324 
  11325     HRESULT (STDMETHODCALLTYPE *GetSubject)(
  11326         IXpsOMCoreProperties *This,
  11327         LPWSTR *subject);
  11328 
  11329     HRESULT (STDMETHODCALLTYPE *SetSubject)(
  11330         IXpsOMCoreProperties *This,
  11331         LPCWSTR subject);
  11332 
  11333     HRESULT (STDMETHODCALLTYPE *GetTitle)(
  11334         IXpsOMCoreProperties *This,
  11335         LPWSTR *title);
  11336 
  11337     HRESULT (STDMETHODCALLTYPE *SetTitle)(
  11338         IXpsOMCoreProperties *This,
  11339         LPCWSTR title);
  11340 
  11341     HRESULT (STDMETHODCALLTYPE *GetVersion)(
  11342         IXpsOMCoreProperties *This,
  11343         LPWSTR *version);
  11344 
  11345     HRESULT (STDMETHODCALLTYPE *SetVersion)(
  11346         IXpsOMCoreProperties *This,
  11347         LPCWSTR version);
  11348 
  11349     HRESULT (STDMETHODCALLTYPE *Clone)(
  11350         IXpsOMCoreProperties *This,
  11351         IXpsOMCoreProperties **coreProperties);
  11352 
  11353     END_INTERFACE
  11354 } IXpsOMCorePropertiesVtbl;
  11355 
  11356 interface IXpsOMCoreProperties {
  11357     CONST_VTBL IXpsOMCorePropertiesVtbl* lpVtbl;
  11358 };
  11359 
  11360 #ifdef COBJMACROS
  11361 #ifndef WIDL_C_INLINE_WRAPPERS
  11362 /*** IUnknown methods ***/
  11363 #define IXpsOMCoreProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  11364 #define IXpsOMCoreProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
  11365 #define IXpsOMCoreProperties_Release(This) (This)->lpVtbl->Release(This)
  11366 /*** IXpsOMPart methods ***/
  11367 #define IXpsOMCoreProperties_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  11368 #define IXpsOMCoreProperties_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  11369 /*** IXpsOMCoreProperties methods ***/
  11370 #define IXpsOMCoreProperties_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
  11371 #define IXpsOMCoreProperties_GetCategory(This,category) (This)->lpVtbl->GetCategory(This,category)
  11372 #define IXpsOMCoreProperties_SetCategory(This,category) (This)->lpVtbl->SetCategory(This,category)
  11373 #define IXpsOMCoreProperties_GetContentStatus(This,contentStatus) (This)->lpVtbl->GetContentStatus(This,contentStatus)
  11374 #define IXpsOMCoreProperties_SetContentStatus(This,contentStatus) (This)->lpVtbl->SetContentStatus(This,contentStatus)
  11375 #define IXpsOMCoreProperties_GetContentType(This,contentType) (This)->lpVtbl->GetContentType(This,contentType)
  11376 #define IXpsOMCoreProperties_SetContentType(This,contentType) (This)->lpVtbl->SetContentType(This,contentType)
  11377 #define IXpsOMCoreProperties_GetCreated(This,created) (This)->lpVtbl->GetCreated(This,created)
  11378 #define IXpsOMCoreProperties_SetCreated(This,created) (This)->lpVtbl->SetCreated(This,created)
  11379 #define IXpsOMCoreProperties_GetCreator(This,creator) (This)->lpVtbl->GetCreator(This,creator)
  11380 #define IXpsOMCoreProperties_SetCreator(This,creator) (This)->lpVtbl->SetCreator(This,creator)
  11381 #define IXpsOMCoreProperties_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description)
  11382 #define IXpsOMCoreProperties_SetDescription(This,description) (This)->lpVtbl->SetDescription(This,description)
  11383 #define IXpsOMCoreProperties_GetIdentifier(This,identifier) (This)->lpVtbl->GetIdentifier(This,identifier)
  11384 #define IXpsOMCoreProperties_SetIdentifier(This,identifier) (This)->lpVtbl->SetIdentifier(This,identifier)
  11385 #define IXpsOMCoreProperties_GetKeywords(This,keywords) (This)->lpVtbl->GetKeywords(This,keywords)
  11386 #define IXpsOMCoreProperties_SetKeywords(This,keywords) (This)->lpVtbl->SetKeywords(This,keywords)
  11387 #define IXpsOMCoreProperties_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  11388 #define IXpsOMCoreProperties_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  11389 #define IXpsOMCoreProperties_GetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->GetLastModifiedBy(This,lastModifiedBy)
  11390 #define IXpsOMCoreProperties_SetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->SetLastModifiedBy(This,lastModifiedBy)
  11391 #define IXpsOMCoreProperties_GetLastPrinted(This,lastPrinted) (This)->lpVtbl->GetLastPrinted(This,lastPrinted)
  11392 #define IXpsOMCoreProperties_SetLastPrinted(This,lastPrinted) (This)->lpVtbl->SetLastPrinted(This,lastPrinted)
  11393 #define IXpsOMCoreProperties_GetModified(This,modified) (This)->lpVtbl->GetModified(This,modified)
  11394 #define IXpsOMCoreProperties_SetModified(This,modified) (This)->lpVtbl->SetModified(This,modified)
  11395 #define IXpsOMCoreProperties_GetRevision(This,revision) (This)->lpVtbl->GetRevision(This,revision)
  11396 #define IXpsOMCoreProperties_SetRevision(This,revision) (This)->lpVtbl->SetRevision(This,revision)
  11397 #define IXpsOMCoreProperties_GetSubject(This,subject) (This)->lpVtbl->GetSubject(This,subject)
  11398 #define IXpsOMCoreProperties_SetSubject(This,subject) (This)->lpVtbl->SetSubject(This,subject)
  11399 #define IXpsOMCoreProperties_GetTitle(This,title) (This)->lpVtbl->GetTitle(This,title)
  11400 #define IXpsOMCoreProperties_SetTitle(This,title) (This)->lpVtbl->SetTitle(This,title)
  11401 #define IXpsOMCoreProperties_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version)
  11402 #define IXpsOMCoreProperties_SetVersion(This,version) (This)->lpVtbl->SetVersion(This,version)
  11403 #define IXpsOMCoreProperties_Clone(This,coreProperties) (This)->lpVtbl->Clone(This,coreProperties)
  11404 #else
  11405 /*** IUnknown methods ***/
  11406 static inline HRESULT IXpsOMCoreProperties_QueryInterface(IXpsOMCoreProperties* This,REFIID riid,void **ppvObject) {
  11407     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  11408 }
  11409 static inline ULONG IXpsOMCoreProperties_AddRef(IXpsOMCoreProperties* This) {
  11410     return This->lpVtbl->AddRef(This);
  11411 }
  11412 static inline ULONG IXpsOMCoreProperties_Release(IXpsOMCoreProperties* This) {
  11413     return This->lpVtbl->Release(This);
  11414 }
  11415 /*** IXpsOMPart methods ***/
  11416 static inline HRESULT IXpsOMCoreProperties_GetPartName(IXpsOMCoreProperties* This,IOpcPartUri **partUri) {
  11417     return This->lpVtbl->GetPartName(This,partUri);
  11418 }
  11419 static inline HRESULT IXpsOMCoreProperties_SetPartName(IXpsOMCoreProperties* This,IOpcPartUri *partUri) {
  11420     return This->lpVtbl->SetPartName(This,partUri);
  11421 }
  11422 /*** IXpsOMCoreProperties methods ***/
  11423 static inline HRESULT IXpsOMCoreProperties_GetOwner(IXpsOMCoreProperties* This,IXpsOMPackage **package) {
  11424     return This->lpVtbl->GetOwner(This,package);
  11425 }
  11426 static inline HRESULT IXpsOMCoreProperties_GetCategory(IXpsOMCoreProperties* This,LPWSTR *category) {
  11427     return This->lpVtbl->GetCategory(This,category);
  11428 }
  11429 static inline HRESULT IXpsOMCoreProperties_SetCategory(IXpsOMCoreProperties* This,LPCWSTR category) {
  11430     return This->lpVtbl->SetCategory(This,category);
  11431 }
  11432 static inline HRESULT IXpsOMCoreProperties_GetContentStatus(IXpsOMCoreProperties* This,LPWSTR *contentStatus) {
  11433     return This->lpVtbl->GetContentStatus(This,contentStatus);
  11434 }
  11435 static inline HRESULT IXpsOMCoreProperties_SetContentStatus(IXpsOMCoreProperties* This,LPCWSTR contentStatus) {
  11436     return This->lpVtbl->SetContentStatus(This,contentStatus);
  11437 }
  11438 static inline HRESULT IXpsOMCoreProperties_GetContentType(IXpsOMCoreProperties* This,LPWSTR *contentType) {
  11439     return This->lpVtbl->GetContentType(This,contentType);
  11440 }
  11441 static inline HRESULT IXpsOMCoreProperties_SetContentType(IXpsOMCoreProperties* This,LPCWSTR contentType) {
  11442     return This->lpVtbl->SetContentType(This,contentType);
  11443 }
  11444 static inline HRESULT IXpsOMCoreProperties_GetCreated(IXpsOMCoreProperties* This,SYSTEMTIME *created) {
  11445     return This->lpVtbl->GetCreated(This,created);
  11446 }
  11447 static inline HRESULT IXpsOMCoreProperties_SetCreated(IXpsOMCoreProperties* This,const SYSTEMTIME *created) {
  11448     return This->lpVtbl->SetCreated(This,created);
  11449 }
  11450 static inline HRESULT IXpsOMCoreProperties_GetCreator(IXpsOMCoreProperties* This,LPWSTR *creator) {
  11451     return This->lpVtbl->GetCreator(This,creator);
  11452 }
  11453 static inline HRESULT IXpsOMCoreProperties_SetCreator(IXpsOMCoreProperties* This,LPCWSTR creator) {
  11454     return This->lpVtbl->SetCreator(This,creator);
  11455 }
  11456 static inline HRESULT IXpsOMCoreProperties_GetDescription(IXpsOMCoreProperties* This,LPWSTR *description) {
  11457     return This->lpVtbl->GetDescription(This,description);
  11458 }
  11459 static inline HRESULT IXpsOMCoreProperties_SetDescription(IXpsOMCoreProperties* This,LPCWSTR description) {
  11460     return This->lpVtbl->SetDescription(This,description);
  11461 }
  11462 static inline HRESULT IXpsOMCoreProperties_GetIdentifier(IXpsOMCoreProperties* This,LPWSTR *identifier) {
  11463     return This->lpVtbl->GetIdentifier(This,identifier);
  11464 }
  11465 static inline HRESULT IXpsOMCoreProperties_SetIdentifier(IXpsOMCoreProperties* This,LPCWSTR identifier) {
  11466     return This->lpVtbl->SetIdentifier(This,identifier);
  11467 }
  11468 static inline HRESULT IXpsOMCoreProperties_GetKeywords(IXpsOMCoreProperties* This,LPWSTR *keywords) {
  11469     return This->lpVtbl->GetKeywords(This,keywords);
  11470 }
  11471 static inline HRESULT IXpsOMCoreProperties_SetKeywords(IXpsOMCoreProperties* This,LPCWSTR keywords) {
  11472     return This->lpVtbl->SetKeywords(This,keywords);
  11473 }
  11474 static inline HRESULT IXpsOMCoreProperties_GetLanguage(IXpsOMCoreProperties* This,LPWSTR *language) {
  11475     return This->lpVtbl->GetLanguage(This,language);
  11476 }
  11477 static inline HRESULT IXpsOMCoreProperties_SetLanguage(IXpsOMCoreProperties* This,LPCWSTR language) {
  11478     return This->lpVtbl->SetLanguage(This,language);
  11479 }
  11480 static inline HRESULT IXpsOMCoreProperties_GetLastModifiedBy(IXpsOMCoreProperties* This,LPWSTR *lastModifiedBy) {
  11481     return This->lpVtbl->GetLastModifiedBy(This,lastModifiedBy);
  11482 }
  11483 static inline HRESULT IXpsOMCoreProperties_SetLastModifiedBy(IXpsOMCoreProperties* This,LPCWSTR lastModifiedBy) {
  11484     return This->lpVtbl->SetLastModifiedBy(This,lastModifiedBy);
  11485 }
  11486 static inline HRESULT IXpsOMCoreProperties_GetLastPrinted(IXpsOMCoreProperties* This,SYSTEMTIME *lastPrinted) {
  11487     return This->lpVtbl->GetLastPrinted(This,lastPrinted);
  11488 }
  11489 static inline HRESULT IXpsOMCoreProperties_SetLastPrinted(IXpsOMCoreProperties* This,const SYSTEMTIME *lastPrinted) {
  11490     return This->lpVtbl->SetLastPrinted(This,lastPrinted);
  11491 }
  11492 static inline HRESULT IXpsOMCoreProperties_GetModified(IXpsOMCoreProperties* This,SYSTEMTIME *modified) {
  11493     return This->lpVtbl->GetModified(This,modified);
  11494 }
  11495 static inline HRESULT IXpsOMCoreProperties_SetModified(IXpsOMCoreProperties* This,const SYSTEMTIME *modified) {
  11496     return This->lpVtbl->SetModified(This,modified);
  11497 }
  11498 static inline HRESULT IXpsOMCoreProperties_GetRevision(IXpsOMCoreProperties* This,LPWSTR *revision) {
  11499     return This->lpVtbl->GetRevision(This,revision);
  11500 }
  11501 static inline HRESULT IXpsOMCoreProperties_SetRevision(IXpsOMCoreProperties* This,LPCWSTR revision) {
  11502     return This->lpVtbl->SetRevision(This,revision);
  11503 }
  11504 static inline HRESULT IXpsOMCoreProperties_GetSubject(IXpsOMCoreProperties* This,LPWSTR *subject) {
  11505     return This->lpVtbl->GetSubject(This,subject);
  11506 }
  11507 static inline HRESULT IXpsOMCoreProperties_SetSubject(IXpsOMCoreProperties* This,LPCWSTR subject) {
  11508     return This->lpVtbl->SetSubject(This,subject);
  11509 }
  11510 static inline HRESULT IXpsOMCoreProperties_GetTitle(IXpsOMCoreProperties* This,LPWSTR *title) {
  11511     return This->lpVtbl->GetTitle(This,title);
  11512 }
  11513 static inline HRESULT IXpsOMCoreProperties_SetTitle(IXpsOMCoreProperties* This,LPCWSTR title) {
  11514     return This->lpVtbl->SetTitle(This,title);
  11515 }
  11516 static inline HRESULT IXpsOMCoreProperties_GetVersion(IXpsOMCoreProperties* This,LPWSTR *version) {
  11517     return This->lpVtbl->GetVersion(This,version);
  11518 }
  11519 static inline HRESULT IXpsOMCoreProperties_SetVersion(IXpsOMCoreProperties* This,LPCWSTR version) {
  11520     return This->lpVtbl->SetVersion(This,version);
  11521 }
  11522 static inline HRESULT IXpsOMCoreProperties_Clone(IXpsOMCoreProperties* This,IXpsOMCoreProperties **coreProperties) {
  11523     return This->lpVtbl->Clone(This,coreProperties);
  11524 }
  11525 #endif
  11526 #endif
  11527 
  11528 #endif
  11529 
  11530 
  11531 #endif  /* __IXpsOMCoreProperties_INTERFACE_DEFINED__ */
  11532 
  11533 #endif
  11534 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  11535 /*****************************************************************************
  11536  * IXpsOMThumbnailGenerator interface
  11537  */
  11538 #ifndef __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
  11539 #define __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
  11540 
  11541 DEFINE_GUID(IID_IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7);
  11542 #if defined(__cplusplus) && !defined(CINTERFACE)
  11543 MIDL_INTERFACE("15b873d5-1971-41e8-83a3-6578403064c7")
  11544 IXpsOMThumbnailGenerator : public IUnknown
  11545 {
  11546     virtual HRESULT STDMETHODCALLTYPE GenerateThumbnail(
  11547         IXpsOMPage *page,
  11548         XPS_IMAGE_TYPE thumbnailType,
  11549         XPS_THUMBNAIL_SIZE thumbnailSize,
  11550         IOpcPartUri *imageResourcePartName,
  11551         IXpsOMImageResource **imageResource) = 0;
  11552 
  11553 };
  11554 #ifdef __CRT_UUID_DECL
  11555 __CRT_UUID_DECL(IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7)
  11556 #endif
  11557 #else
  11558 typedef struct IXpsOMThumbnailGeneratorVtbl {
  11559     BEGIN_INTERFACE
  11560 
  11561     /*** IUnknown methods ***/
  11562     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  11563         IXpsOMThumbnailGenerator *This,
  11564         REFIID riid,
  11565         void **ppvObject);
  11566 
  11567     ULONG (STDMETHODCALLTYPE *AddRef)(
  11568         IXpsOMThumbnailGenerator *This);
  11569 
  11570     ULONG (STDMETHODCALLTYPE *Release)(
  11571         IXpsOMThumbnailGenerator *This);
  11572 
  11573     /*** IXpsOMThumbnailGenerator methods ***/
  11574     HRESULT (STDMETHODCALLTYPE *GenerateThumbnail)(
  11575         IXpsOMThumbnailGenerator *This,
  11576         IXpsOMPage *page,
  11577         XPS_IMAGE_TYPE thumbnailType,
  11578         XPS_THUMBNAIL_SIZE thumbnailSize,
  11579         IOpcPartUri *imageResourcePartName,
  11580         IXpsOMImageResource **imageResource);
  11581 
  11582     END_INTERFACE
  11583 } IXpsOMThumbnailGeneratorVtbl;
  11584 
  11585 interface IXpsOMThumbnailGenerator {
  11586     CONST_VTBL IXpsOMThumbnailGeneratorVtbl* lpVtbl;
  11587 };
  11588 
  11589 #ifdef COBJMACROS
  11590 #ifndef WIDL_C_INLINE_WRAPPERS
  11591 /*** IUnknown methods ***/
  11592 #define IXpsOMThumbnailGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  11593 #define IXpsOMThumbnailGenerator_AddRef(This) (This)->lpVtbl->AddRef(This)
  11594 #define IXpsOMThumbnailGenerator_Release(This) (This)->lpVtbl->Release(This)
  11595 /*** IXpsOMThumbnailGenerator methods ***/
  11596 #define IXpsOMThumbnailGenerator_GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource) (This)->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource)
  11597 #else
  11598 /*** IUnknown methods ***/
  11599 static inline HRESULT IXpsOMThumbnailGenerator_QueryInterface(IXpsOMThumbnailGenerator* This,REFIID riid,void **ppvObject) {
  11600     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  11601 }
  11602 static inline ULONG IXpsOMThumbnailGenerator_AddRef(IXpsOMThumbnailGenerator* This) {
  11603     return This->lpVtbl->AddRef(This);
  11604 }
  11605 static inline ULONG IXpsOMThumbnailGenerator_Release(IXpsOMThumbnailGenerator* This) {
  11606     return This->lpVtbl->Release(This);
  11607 }
  11608 /*** IXpsOMThumbnailGenerator methods ***/
  11609 static inline HRESULT IXpsOMThumbnailGenerator_GenerateThumbnail(IXpsOMThumbnailGenerator* This,IXpsOMPage *page,XPS_IMAGE_TYPE thumbnailType,XPS_THUMBNAIL_SIZE thumbnailSize,IOpcPartUri *imageResourcePartName,IXpsOMImageResource **imageResource) {
  11610     return This->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource);
  11611 }
  11612 #endif
  11613 #endif
  11614 
  11615 #endif
  11616 
  11617 
  11618 #endif  /* __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__ */
  11619 
  11620 #endif
  11621 #ifndef __MSXPS_LIBRARY_DEFINED__
  11622 #define __MSXPS_LIBRARY_DEFINED__
  11623 
  11624 DEFINE_GUID(LIBID_MSXPS, 0xb47491a0, 0xcf33, 0x4fe4, 0x9a,0x48, 0xb0,0xac,0xda,0xe2,0x07,0xe8);
  11625 
  11626 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
  11627 /*****************************************************************************
  11628  * XpsOMObjectFactory coclass
  11629  */
  11630 
  11631 DEFINE_GUID(CLSID_XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85);
  11632 
  11633 #ifdef __cplusplus
  11634 class DECLSPEC_UUID("e974d26d-3d9b-4d47-88cc-3872f2dc3585") XpsOMObjectFactory;
  11635 #ifdef __CRT_UUID_DECL
  11636 __CRT_UUID_DECL(XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85)
  11637 #endif
  11638 #endif
  11639 
  11640 #endif
  11641 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  11642 /*****************************************************************************
  11643  * XpsOMThumbnailGenerator coclass
  11644  */
  11645 
  11646 DEFINE_GUID(CLSID_XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23);
  11647 
  11648 #ifdef __cplusplus
  11649 class DECLSPEC_UUID("7e4a23e2-b969-4761-be35-1a8ced58e323") XpsOMThumbnailGenerator;
  11650 #ifdef __CRT_UUID_DECL
  11651 __CRT_UUID_DECL(XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23)
  11652 #endif
  11653 #endif
  11654 
  11655 #endif
  11656 #endif /* __MSXPS_LIBRARY_DEFINED__ */
  11657 #endif
  11658 /* Begin additional prototypes for all interfaces */
  11659 
  11660 
  11661 /* End additional prototypes */
  11662 
  11663 #ifdef __cplusplus
  11664 }
  11665 #endif
  11666 
  11667 #endif /* __xpsobjectmodel_h__ */