Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.6 from include/xpsobjectmodel.idl - Do not edit ***/
      2 
      3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      5 #endif
      6 
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 
     10 #ifndef COM_NO_WINDOWS_H
     11 #include <windows.h>
     12 #include <ole2.h>
     13 #endif
     14 
     15 #ifndef __xpsobjectmodel_h__
     16 #define __xpsobjectmodel_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __IXpsOMShareable_FWD_DEFINED__
     21 #define __IXpsOMShareable_FWD_DEFINED__
     22 typedef interface IXpsOMShareable IXpsOMShareable;
     23 #endif
     24 
     25 #ifndef __IXpsOMPart_FWD_DEFINED__
     26 #define __IXpsOMPart_FWD_DEFINED__
     27 typedef interface IXpsOMPart IXpsOMPart;
     28 #endif
     29 
     30 #ifndef __IXpsOMGlyphsEditor_FWD_DEFINED__
     31 #define __IXpsOMGlyphsEditor_FWD_DEFINED__
     32 typedef interface IXpsOMGlyphsEditor IXpsOMGlyphsEditor;
     33 #endif
     34 
     35 #ifndef __IXpsOMDashCollection_FWD_DEFINED__
     36 #define __IXpsOMDashCollection_FWD_DEFINED__
     37 typedef interface IXpsOMDashCollection IXpsOMDashCollection;
     38 #endif
     39 
     40 #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
     41 #define __IXpsOMGeometryFigure_FWD_DEFINED__
     42 typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
     43 #endif
     44 
     45 #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
     46 #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
     47 typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
     48 #endif
     49 
     50 #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
     51 #define __IXpsOMGradientStopCollection_FWD_DEFINED__
     52 typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
     53 #endif
     54 
     55 #ifndef __IXpsOMGradientStop_FWD_DEFINED__
     56 #define __IXpsOMGradientStop_FWD_DEFINED__
     57 typedef interface IXpsOMGradientStop IXpsOMGradientStop;
     58 #endif
     59 
     60 #ifndef __IXpsOMPartResources_FWD_DEFINED__
     61 #define __IXpsOMPartResources_FWD_DEFINED__
     62 typedef interface IXpsOMPartResources IXpsOMPartResources;
     63 #endif
     64 
     65 #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
     66 #define __IXpsOMFontResourceCollection_FWD_DEFINED__
     67 typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
     68 #endif
     69 
     70 #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
     71 #define __IXpsOMImageResourceCollection_FWD_DEFINED__
     72 typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
     73 #endif
     74 
     75 #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
     76 #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
     77 typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
     78 #endif
     79 
     80 #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
     81 #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
     82 typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
     83 #endif
     84 
     85 #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
     86 #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
     87 typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
     88 #endif
     89 
     90 #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
     91 #define __IXpsOMVisualCollection_FWD_DEFINED__
     92 typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
     93 #endif
     94 
     95 #ifndef __IXpsOMDictionary_FWD_DEFINED__
     96 #define __IXpsOMDictionary_FWD_DEFINED__
     97 typedef interface IXpsOMDictionary IXpsOMDictionary;
     98 #endif
     99 
    100 #ifndef __IXpsOMPageReference_FWD_DEFINED__
    101 #define __IXpsOMPageReference_FWD_DEFINED__
    102 typedef interface IXpsOMPageReference IXpsOMPageReference;
    103 #endif
    104 
    105 #ifndef __IXpsOMPageReferenceCollection_FWD_DEFINED__
    106 #define __IXpsOMPageReferenceCollection_FWD_DEFINED__
    107 typedef interface IXpsOMPageReferenceCollection IXpsOMPageReferenceCollection;
    108 #endif
    109 
    110 #ifndef __IXpsOMDocumentCollection_FWD_DEFINED__
    111 #define __IXpsOMDocumentCollection_FWD_DEFINED__
    112 typedef interface IXpsOMDocumentCollection IXpsOMDocumentCollection;
    113 #endif
    114 
    115 #ifndef __IXpsOMPackage_FWD_DEFINED__
    116 #define __IXpsOMPackage_FWD_DEFINED__
    117 typedef interface IXpsOMPackage IXpsOMPackage;
    118 #endif
    119 
    120 #ifndef __IXpsOMObjectFactory_FWD_DEFINED__
    121 #define __IXpsOMObjectFactory_FWD_DEFINED__
    122 typedef interface IXpsOMObjectFactory IXpsOMObjectFactory;
    123 #endif
    124 
    125 #ifndef __IXpsOMNameCollection_FWD_DEFINED__
    126 #define __IXpsOMNameCollection_FWD_DEFINED__
    127 typedef interface IXpsOMNameCollection IXpsOMNameCollection;
    128 #endif
    129 
    130 #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
    131 #define __IXpsOMPartUriCollection_FWD_DEFINED__
    132 typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
    133 #endif
    134 
    135 #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
    136 #define __IXpsOMPackageWriter_FWD_DEFINED__
    137 typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
    138 #endif
    139 
    140 #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
    141 #define __IXpsOMPackageTarget_FWD_DEFINED__
    142 typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
    143 #endif
    144 
    145 #ifndef __IXpsOMVisual_FWD_DEFINED__
    146 #define __IXpsOMVisual_FWD_DEFINED__
    147 typedef interface IXpsOMVisual IXpsOMVisual;
    148 #endif
    149 
    150 #ifndef __IXpsOMBrush_FWD_DEFINED__
    151 #define __IXpsOMBrush_FWD_DEFINED__
    152 typedef interface IXpsOMBrush IXpsOMBrush;
    153 #endif
    154 
    155 #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
    156 #define __IXpsOMMatrixTransform_FWD_DEFINED__
    157 typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
    158 #endif
    159 
    160 #ifndef __IXpsOMGeometry_FWD_DEFINED__
    161 #define __IXpsOMGeometry_FWD_DEFINED__
    162 typedef interface IXpsOMGeometry IXpsOMGeometry;
    163 #endif
    164 
    165 #ifndef __IXpsOMGlyphs_FWD_DEFINED__
    166 #define __IXpsOMGlyphs_FWD_DEFINED__
    167 typedef interface IXpsOMGlyphs IXpsOMGlyphs;
    168 #endif
    169 
    170 #ifndef __IXpsOMPath_FWD_DEFINED__
    171 #define __IXpsOMPath_FWD_DEFINED__
    172 typedef interface IXpsOMPath IXpsOMPath;
    173 #endif
    174 
    175 #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
    176 #define __IXpsOMSolidColorBrush_FWD_DEFINED__
    177 typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
    178 #endif
    179 
    180 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    181 #define __IXpsOMTileBrush_FWD_DEFINED__
    182 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    183 #endif
    184 
    185 #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
    186 #define __IXpsOMGradientBrush_FWD_DEFINED__
    187 typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
    188 #endif
    189 
    190 #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
    191 #define __IXpsOMVisualBrush_FWD_DEFINED__
    192 typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
    193 #endif
    194 
    195 #ifndef __IXpsOMImageBrush_FWD_DEFINED__
    196 #define __IXpsOMImageBrush_FWD_DEFINED__
    197 typedef interface IXpsOMImageBrush IXpsOMImageBrush;
    198 #endif
    199 
    200 #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
    201 #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
    202 typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
    203 #endif
    204 
    205 #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
    206 #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
    207 typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
    208 #endif
    209 
    210 #ifndef __IXpsOMResource_FWD_DEFINED__
    211 #define __IXpsOMResource_FWD_DEFINED__
    212 typedef interface IXpsOMResource IXpsOMResource;
    213 #endif
    214 
    215 #ifndef __IXpsOMFontResource_FWD_DEFINED__
    216 #define __IXpsOMFontResource_FWD_DEFINED__
    217 typedef interface IXpsOMFontResource IXpsOMFontResource;
    218 #endif
    219 
    220 #ifndef __IXpsOMImageResource_FWD_DEFINED__
    221 #define __IXpsOMImageResource_FWD_DEFINED__
    222 typedef interface IXpsOMImageResource IXpsOMImageResource;
    223 #endif
    224 
    225 #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
    226 #define __IXpsOMColorProfileResource_FWD_DEFINED__
    227 typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
    228 #endif
    229 
    230 #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
    231 #define __IXpsOMPrintTicketResource_FWD_DEFINED__
    232 typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
    233 #endif
    234 
    235 #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    236 #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    237 typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
    238 #endif
    239 
    240 #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
    241 #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
    242 typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
    243 #endif
    244 
    245 #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    246 #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    247 typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
    248 #endif
    249 
    250 #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
    251 #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
    252 typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
    253 #endif
    254 
    255 #ifndef __IXpsOMCanvas_FWD_DEFINED__
    256 #define __IXpsOMCanvas_FWD_DEFINED__
    257 typedef interface IXpsOMCanvas IXpsOMCanvas;
    258 #endif
    259 
    260 #ifndef __IXpsOMPage_FWD_DEFINED__
    261 #define __IXpsOMPage_FWD_DEFINED__
    262 typedef interface IXpsOMPage IXpsOMPage;
    263 #endif
    264 
    265 #ifndef __IXpsOMDocument_FWD_DEFINED__
    266 #define __IXpsOMDocument_FWD_DEFINED__
    267 typedef interface IXpsOMDocument IXpsOMDocument;
    268 #endif
    269 
    270 #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
    271 #define __IXpsOMDocumentSequence_FWD_DEFINED__
    272 typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
    273 #endif
    274 
    275 #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
    276 #define __IXpsOMCoreProperties_FWD_DEFINED__
    277 typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
    278 #endif
    279 
    280 #ifndef __IXpsOMThumbnailGenerator_FWD_DEFINED__
    281 #define __IXpsOMThumbnailGenerator_FWD_DEFINED__
    282 typedef interface IXpsOMThumbnailGenerator IXpsOMThumbnailGenerator;
    283 #endif
    284 
    285 #ifndef __XpsOMObjectFactory_FWD_DEFINED__
    286 #define __XpsOMObjectFactory_FWD_DEFINED__
    287 #ifdef __cplusplus
    288 typedef class XpsOMObjectFactory XpsOMObjectFactory;
    289 #else
    290 typedef struct XpsOMObjectFactory XpsOMObjectFactory;
    291 #endif /* defined __cplusplus */
    292 #endif /* defined __XpsOMObjectFactory_FWD_DEFINED__ */
    293 
    294 #ifndef __XpsOMThumbnailGenerator_FWD_DEFINED__
    295 #define __XpsOMThumbnailGenerator_FWD_DEFINED__
    296 #ifdef __cplusplus
    297 typedef class XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
    298 #else
    299 typedef struct XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
    300 #endif /* defined __cplusplus */
    301 #endif /* defined __XpsOMThumbnailGenerator_FWD_DEFINED__ */
    302 
    303 /* Headers for imported files */
    304 
    305 #include <oaidl.h>
    306 #include <ocidl.h>
    307 #include <msopc.h>
    308 
    309 #ifdef __cplusplus
    310 extern "C" {
    311 #endif
    312 
    313 #include <winapifamily.h>
    314 
    315 #if NTDDI_VERSION >= 0x06010000
    316 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    317 #endif
    318 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
    319 #define XPS_E_INVALID_LANGUAGE MAKE_HRESULT(1, FACILITY_XPS, 0x0)
    320 #define XPS_E_INVALID_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x1)
    321 #define XPS_E_INVALID_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x2)
    322 #define XPS_E_INVALID_PAGE_SIZE MAKE_HRESULT(1, FACILITY_XPS, 0x3)
    323 #define XPS_E_INVALID_BLEED_BOX MAKE_HRESULT(1, FACILITY_XPS, 0x4)
    324 #define XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x5)
    325 #define XPS_E_INVALID_LOOKUP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x6)
    326 #define XPS_E_INVALID_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x7)
    327 #define XPS_E_UNEXPECTED_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x8)
    328 #define XPS_E_INVALID_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xa)
    329 #define XPS_E_INVALID_CONTENT_BOX MAKE_HRESULT(1, FACILITY_XPS, 0xb)
    330 #define XPS_E_INVALID_MARKUP MAKE_HRESULT(1, FACILITY_XPS, 0xc)
    331 #define XPS_E_INVALID_XML_ENCODING MAKE_HRESULT(1, FACILITY_XPS, 0xd)
    332 #define XPS_E_INVALID_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0xe)
    333 #define XPS_E_INVALID_OBFUSCATED_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xf)
    334 #define XPS_E_UNEXPECTED_RELATIONSHIP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x10)
    335 #define XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x11)
    336 #define XPS_E_MISSING_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x100)
    337 #define XPS_E_MISSING_LOOKUP MAKE_HRESULT(1, FACILITY_XPS, 0x101)
    338 #define XPS_E_MISSING_GLYPHS MAKE_HRESULT(1, FACILITY_XPS, 0x102)
    339 #define XPS_E_MISSING_SEGMENT_DATA MAKE_HRESULT(1, FACILITY_XPS, 0x103)
    340 #define XPS_E_MISSING_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x104)
    341 #define XPS_E_MISSING_RELATIONSHIP_TARGET MAKE_HRESULT(1, FACILITY_XPS, 0x105)
    342 #define XPS_E_MISSING_RESOURCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x106)
    343 #define XPS_E_MISSING_FONTURI MAKE_HRESULT(1, FACILITY_XPS, 0x107)
    344 #define XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x108)
    345 #define XPS_E_MISSING_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x109)
    346 #define XPS_E_MISSING_REFERRED_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10a)
    347 #define XPS_E_MISSING_REFERRED_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x10b)
    348 #define XPS_E_MISSING_PAGE_IN_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10c)
    349 #define XPS_E_MISSING_PAGE_IN_PAGEREFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x10d)
    350 #define XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH MAKE_HRESULT(1, FACILITY_XPS, 0x10e)
    351 #define XPS_E_MISSING_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x10f)
    352 #define XPS_E_MISSING_PART_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x110)
    353 #define XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x111)
    354 #define XPS_E_MISSING_DISCARDCONTROL MAKE_HRESULT(1, FACILITY_XPS, 0x112)
    355 #define XPS_E_MISSING_PART_STREAM MAKE_HRESULT(1, FACILITY_XPS, 0x113)
    356 #define XPS_E_UNAVAILABLE_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x114)
    357 #define XPS_E_DUPLICATE_RESOURCE_KEYS MAKE_HRESULT(1, FACILITY_XPS, 0x200)
    358 #define XPS_E_MULTIPLE_RESOURCES MAKE_HRESULT(1, FACILITY_XPS, 0x201)
    359 #define XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS MAKE_HRESULT(1, FACILITY_XPS, 0x202)
    360 #define XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x203)
    361 #define XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x204)
    362 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x205)
    363 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x206)
    364 #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE MAKE_HRESULT(1, FACILITY_XPS, 0x207)
    365 #define XPS_E_MULTIPLE_REFERENCES_TO_PART MAKE_HRESULT(1, FACILITY_XPS, 0x208)
    366 #define XPS_E_DUPLICATE_NAMES MAKE_HRESULT(1, FACILITY_XPS, 0x209)
    367 #define XPS_E_STRING_TOO_LONG MAKE_HRESULT(1, FACILITY_XPS, 0x300)
    368 #define XPS_E_TOO_MANY_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x301)
    369 #define XPS_E_MAPPING_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x302)
    370 #define XPS_E_MAPPING_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x303)
    371 #define XPS_E_MAPPING_OUTSIDE_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x304)
    372 #define XPS_E_CARET_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x305)
    373 #define XPS_E_CARET_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x306)
    374 #define XPS_E_ODD_BIDILEVEL MAKE_HRESULT(1, FACILITY_XPS, 0x307)
    375 #define XPS_E_ONE_TO_ONE_MAPPING_EXPECTED MAKE_HRESULT(1, FACILITY_XPS, 0x308)
    376 #define XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED MAKE_HRESULT(1, FACILITY_XPS, 0x309)
    377 #define XPS_E_NEGATIVE_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x30a)
    378 #define XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT MAKE_HRESULT(1, FACILITY_XPS, 0x400)
    379 #define XPS_E_DICTIONARY_ITEM_NAMED MAKE_HRESULT(1, FACILITY_XPS, 0x401)
    380 #define XPS_E_NESTED_REMOTE_DICTIONARY MAKE_HRESULT(1, FACILITY_XPS, 0x402)
    381 #define XPS_E_INDEX_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x500)
    382 #define XPS_E_VISUAL_CIRCULAR_REF MAKE_HRESULT(1, FACILITY_XPS, 0x501)
    383 #define XPS_E_NO_CUSTOM_OBJECTS MAKE_HRESULT(1, FACILITY_XPS, 0x502)
    384 #define XPS_E_ALREADY_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x503)
    385 #define XPS_E_RESOURCE_NOT_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x504)
    386 #define XPS_E_UNEXPECTED_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x505)
    387 #define XPS_E_COLOR_COMPONENT_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x506)
    388 #define XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x507)
    389 #define XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x508)
    390 #define XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC MAKE_HRESULT(1, FACILITY_XPS, 0x509)
    391 #define XPS_E_RELATIONSHIP_EXTERNAL MAKE_HRESULT(1, FACILITY_XPS, 0x50a)
    392 #define XPS_E_NOT_ENOUGH_GRADIENT_STOPS MAKE_HRESULT(1, FACILITY_XPS, 0x50b)
    393 #define XPS_E_PACKAGE_WRITER_NOT_CLOSED MAKE_HRESULT(1, FACILITY_XPS, 0x50c)
    394 #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
    395 #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
    396 typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
    397 #endif
    398 
    399 #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
    400 #define __IXpsOMCoreProperties_FWD_DEFINED__
    401 typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
    402 #endif
    403 
    404 #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
    405 #define __IXpsOMPrintTicketResource_FWD_DEFINED__
    406 typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
    407 #endif
    408 
    409 #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    410 #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
    411 typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
    412 #endif
    413 
    414 #ifndef __IXpsOMPackage_FWD_DEFINED__
    415 #define __IXpsOMPackage_FWD_DEFINED__
    416 typedef interface IXpsOMPackage IXpsOMPackage;
    417 #endif
    418 
    419 #ifndef __IXpsOMPart_FWD_DEFINED__
    420 #define __IXpsOMPart_FWD_DEFINED__
    421 typedef interface IXpsOMPart IXpsOMPart;
    422 #endif
    423 
    424 #ifndef __IXpsOMShareable_FWD_DEFINED__
    425 #define __IXpsOMShareable_FWD_DEFINED__
    426 typedef interface IXpsOMShareable IXpsOMShareable;
    427 #endif
    428 
    429 #ifndef __IXpsOMVisual_FWD_DEFINED__
    430 #define __IXpsOMVisual_FWD_DEFINED__
    431 typedef interface IXpsOMVisual IXpsOMVisual;
    432 #endif
    433 
    434 #ifndef __IXpsOMBrush_FWD_DEFINED__
    435 #define __IXpsOMBrush_FWD_DEFINED__
    436 typedef interface IXpsOMBrush IXpsOMBrush;
    437 #endif
    438 
    439 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    440 #define __IXpsOMTileBrush_FWD_DEFINED__
    441 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    442 #endif
    443 
    444 #ifndef __IXpsOMResource_FWD_DEFINED__
    445 #define __IXpsOMResource_FWD_DEFINED__
    446 typedef interface IXpsOMResource IXpsOMResource;
    447 #endif
    448 
    449 #ifndef __IXpsOMCanvas_FWD_DEFINED__
    450 #define __IXpsOMCanvas_FWD_DEFINED__
    451 typedef interface IXpsOMCanvas IXpsOMCanvas;
    452 #endif
    453 
    454 #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
    455 #define __IXpsOMColorProfileResource_FWD_DEFINED__
    456 typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
    457 #endif
    458 
    459 #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    460 #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
    461 typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
    462 #endif
    463 
    464 #ifndef __IXpsOMDashCollection_FWD_DEFINED__
    465 #define __IXpsOMDashCollection_FWD_DEFINED__
    466 typedef interface IXpsOMDashCollection IXpsOMDashCollection;
    467 #endif
    468 
    469 #ifndef __IXpsOMFontResource_FWD_DEFINED__
    470 #define __IXpsOMFontResource_FWD_DEFINED__
    471 typedef interface IXpsOMFontResource IXpsOMFontResource;
    472 #endif
    473 
    474 #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
    475 #define __IXpsOMFontResourceCollection_FWD_DEFINED__
    476 typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
    477 #endif
    478 
    479 #ifndef __IXpsOMGeometry_FWD_DEFINED__
    480 #define __IXpsOMGeometry_FWD_DEFINED__
    481 typedef interface IXpsOMGeometry IXpsOMGeometry;
    482 #endif
    483 
    484 #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
    485 #define __IXpsOMGeometryFigure_FWD_DEFINED__
    486 typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
    487 #endif
    488 
    489 #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
    490 #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
    491 typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
    492 #endif
    493 
    494 #ifndef __IXpsOMGlyphs_FWD_DEFINED__
    495 #define __IXpsOMGlyphs_FWD_DEFINED__
    496 typedef interface IXpsOMGlyphs IXpsOMGlyphs;
    497 #endif
    498 
    499 #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
    500 #define __IXpsOMGradientBrush_FWD_DEFINED__
    501 typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
    502 #endif
    503 
    504 #ifndef __IXpsOMGradientStop_FWD_DEFINED__
    505 #define __IXpsOMGradientStop_FWD_DEFINED__
    506 typedef interface IXpsOMGradientStop IXpsOMGradientStop;
    507 #endif
    508 
    509 #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
    510 #define __IXpsOMGradientStopCollection_FWD_DEFINED__
    511 typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
    512 #endif
    513 
    514 #ifndef __IXpsOMImageBrush_FWD_DEFINED__
    515 #define __IXpsOMImageBrush_FWD_DEFINED__
    516 typedef interface IXpsOMImageBrush IXpsOMImageBrush;
    517 #endif
    518 
    519 #ifndef __IXpsOMImageResource_FWD_DEFINED__
    520 #define __IXpsOMImageResource_FWD_DEFINED__
    521 typedef interface IXpsOMImageResource IXpsOMImageResource;
    522 #endif
    523 
    524 #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
    525 #define __IXpsOMImageResourceCollection_FWD_DEFINED__
    526 typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
    527 #endif
    528 
    529 #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
    530 #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
    531 typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
    532 #endif
    533 
    534 #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
    535 #define __IXpsOMMatrixTransform_FWD_DEFINED__
    536 typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
    537 #endif
    538 
    539 #ifndef __IXpsOMPartResources_FWD_DEFINED__
    540 #define __IXpsOMPartResources_FWD_DEFINED__
    541 typedef interface IXpsOMPartResources IXpsOMPartResources;
    542 #endif
    543 
    544 #ifndef __IXpsOMPath_FWD_DEFINED__
    545 #define __IXpsOMPath_FWD_DEFINED__
    546 typedef interface IXpsOMPath IXpsOMPath;
    547 #endif
    548 
    549 #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
    550 #define __IXpsOMPartUriCollection_FWD_DEFINED__
    551 typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
    552 #endif
    553 
    554 #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
    555 #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
    556 typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
    557 #endif
    558 
    559 #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    560 #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
    561 typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
    562 #endif
    563 
    564 #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    565 #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
    566 typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
    567 #endif
    568 
    569 #ifndef __IXpsOMDictionary_FWD_DEFINED__
    570 #define __IXpsOMDictionary_FWD_DEFINED__
    571 typedef interface IXpsOMDictionary IXpsOMDictionary;
    572 #endif
    573 
    574 #ifndef __IXpsOMShareable_FWD_DEFINED__
    575 #define __IXpsOMShareable_FWD_DEFINED__
    576 typedef interface IXpsOMShareable IXpsOMShareable;
    577 #endif
    578 
    579 #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
    580 #define __IXpsOMSolidColorBrush_FWD_DEFINED__
    581 typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
    582 #endif
    583 
    584 #ifndef __IXpsOMTileBrush_FWD_DEFINED__
    585 #define __IXpsOMTileBrush_FWD_DEFINED__
    586 typedef interface IXpsOMTileBrush IXpsOMTileBrush;
    587 #endif
    588 
    589 #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
    590 #define __IXpsOMVisualBrush_FWD_DEFINED__
    591 typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
    592 #endif
    593 
    594 #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
    595 #define __IXpsOMVisualCollection_FWD_DEFINED__
    596 typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
    597 #endif
    598 
    599 #ifndef __IXpsOMPageReference_FWD_DEFINED__
    600 #define __IXpsOMPageReference_FWD_DEFINED__
    601 typedef interface IXpsOMPageReference IXpsOMPageReference;
    602 #endif
    603 
    604 #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
    605 #define __IXpsOMDocumentSequence_FWD_DEFINED__
    606 typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
    607 #endif
    608 
    609 #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
    610 #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
    611 typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
    612 #endif
    613 
    614 #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    615 #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
    616 typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
    617 #endif
    618 
    619 #ifndef __IXpsOMNameCollection_FWD_DEFINED__
    620 #define __IXpsOMNameCollection_FWD_DEFINED__
    621 typedef interface IXpsOMNameCollection IXpsOMNameCollection;
    622 #endif
    623 
    624 #ifndef __IXpsOMDocument_FWD_DEFINED__
    625 #define __IXpsOMDocument_FWD_DEFINED__
    626 typedef interface IXpsOMDocument IXpsOMDocument;
    627 #endif
    628 
    629 #ifndef __IXpsOMPage_FWD_DEFINED__
    630 #define __IXpsOMPage_FWD_DEFINED__
    631 typedef interface IXpsOMPage IXpsOMPage;
    632 #endif
    633 
    634 #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
    635 #define __IXpsOMPackageWriter_FWD_DEFINED__
    636 typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
    637 #endif
    638 
    639 #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
    640 #define __IXpsOMPackageTarget_FWD_DEFINED__
    641 typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
    642 #endif
    643 
    644 typedef enum __WIDL_xpsobjectmodel_generated_name_00000020 {
    645     XPS_COLOR_INTERPOLATION_SCRGBLINEAR = 1,
    646     XPS_COLOR_INTERPOLATION_SRGBLINEAR = 2
    647 } XPS_COLOR_INTERPOLATION;
    648 typedef enum __WIDL_xpsobjectmodel_generated_name_00000021 {
    649     XPS_COLOR_TYPE_SRGB = 1,
    650     XPS_COLOR_TYPE_SCRGB = 2,
    651     XPS_COLOR_TYPE_CONTEXT = 3
    652 } XPS_COLOR_TYPE;
    653 typedef enum __WIDL_xpsobjectmodel_generated_name_00000022 {
    654     XPS_DASH_CAP_FLAT = 1,
    655     XPS_DASH_CAP_ROUND = 2,
    656     XPS_DASH_CAP_SQUARE = 3,
    657     XPS_DASH_CAP_TRIANGLE = 4
    658 } XPS_DASH_CAP;
    659 typedef enum __WIDL_xpsobjectmodel_generated_name_00000023 {
    660     XPS_FILL_RULE_EVENODD = 1,
    661     XPS_FILL_RULE_NONZERO = 2
    662 } XPS_FILL_RULE;
    663 typedef enum __WIDL_xpsobjectmodel_generated_name_00000024 {
    664     XPS_FONT_EMBEDDING_NORMAL = 1,
    665     XPS_FONT_EMBEDDING_OBFUSCATED = 2,
    666     XPS_FONT_EMBEDDING_RESTRICTED = 3,
    667     XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED = 4
    668 } XPS_FONT_EMBEDDING;
    669 typedef enum __WIDL_xpsobjectmodel_generated_name_00000025 {
    670     XPS_IMAGE_TYPE_JPEG = 1,
    671     XPS_IMAGE_TYPE_PNG = 2,
    672     XPS_IMAGE_TYPE_TIFF = 3,
    673     XPS_IMAGE_TYPE_WDP = 4,
    674     XPS_IMAGE_TYPE_JXR = 5
    675 } XPS_IMAGE_TYPE;
    676 typedef enum __WIDL_xpsobjectmodel_generated_name_00000026 {
    677     XPS_INTERLEAVING_OFF = 1,
    678     XPS_INTERLEAVING_ON = 2
    679 } XPS_INTERLEAVING;
    680 typedef enum __WIDL_xpsobjectmodel_generated_name_00000027 {
    681     XPS_LINE_CAP_FLAT = 1,
    682     XPS_LINE_CAP_ROUND = 2,
    683     XPS_LINE_CAP_SQUARE = 3,
    684     XPS_LINE_CAP_TRIANGLE = 4
    685 } XPS_LINE_CAP;
    686 typedef enum __WIDL_xpsobjectmodel_generated_name_00000028 {
    687     XPS_LINE_JOIN_MITER = 1,
    688     XPS_LINE_JOIN_BEVEL = 2,
    689     XPS_LINE_JOIN_ROUND = 3
    690 } XPS_LINE_JOIN;
    691 typedef enum __WIDL_xpsobjectmodel_generated_name_00000029 {
    692     XPS_OBJECT_TYPE_CANVAS = 1,
    693     XPS_OBJECT_TYPE_GLYPHS = 2,
    694     XPS_OBJECT_TYPE_PATH = 3,
    695     XPS_OBJECT_TYPE_MATRIX_TRANSFORM = 4,
    696     XPS_OBJECT_TYPE_GEOMETRY = 5,
    697     XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH = 6,
    698     XPS_OBJECT_TYPE_IMAGE_BRUSH = 7,
    699     XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH = 8,
    700     XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH = 9,
    701     XPS_OBJECT_TYPE_VISUAL_BRUSH = 10
    702 } XPS_OBJECT_TYPE;
    703 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002A {
    704     XPS_SEGMENT_STROKE_PATTERN_ALL = 1,
    705     XPS_SEGMENT_STROKE_PATTERN_NONE = 2,
    706     XPS_SEGMENT_STROKE_PATTERN_MIXED = 3
    707 } XPS_SEGMENT_STROKE_PATTERN;
    708 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002B {
    709     XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE = 1,
    710     XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE = 2,
    711     XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE = 3,
    712     XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE = 4,
    713     XPS_SEGMENT_TYPE_BEZIER = 5,
    714     XPS_SEGMENT_TYPE_LINE = 6,
    715     XPS_SEGMENT_TYPE_QUADRATIC_BEZIER = 7
    716 } XPS_SEGMENT_TYPE;
    717 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002C {
    718     XPS_SPREAD_METHOD_PAD = 1,
    719     XPS_SPREAD_METHOD_REFLECT = 2,
    720     XPS_SPREAD_METHOD_REPEAT = 3
    721 } XPS_SPREAD_METHOD;
    722 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002D {
    723     XPS_STYLE_SIMULATION_NONE = 1,
    724     XPS_STYLE_SIMULATION_ITALIC = 2,
    725     XPS_STYLE_SIMULATION_BOLD = 3,
    726     XPS_STYLE_SIMULATION_BOLDITALIC = 4
    727 } XPS_STYLE_SIMULATION;
    728 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002E {
    729     XPS_THUMBNAIL_SIZE_VERYSMALL = 1,
    730     XPS_THUMBNAIL_SIZE_SMALL = 2,
    731     XPS_THUMBNAIL_SIZE_MEDIUM = 3,
    732     XPS_THUMBNAIL_SIZE_LARGE = 4
    733 } XPS_THUMBNAIL_SIZE;
    734 typedef enum __WIDL_xpsobjectmodel_generated_name_0000002F {
    735     XPS_TILE_MODE_NONE = 1,
    736     XPS_TILE_MODE_TILE = 2,
    737     XPS_TILE_MODE_FLIPX = 3,
    738     XPS_TILE_MODE_FLIPY = 4,
    739     XPS_TILE_MODE_FLIPXY = 5
    740 } XPS_TILE_MODE;
    741 typedef struct __WIDL_xpsobjectmodel_generated_name_00000030 {
    742     XPS_COLOR_TYPE colorType;
    743     union {
    744         struct {
    745             UINT8 alpha;
    746             UINT8 red;
    747             UINT8 green;
    748             UINT8 blue;
    749         } sRGB;
    750         struct {
    751             FLOAT alpha;
    752             FLOAT red;
    753             FLOAT green;
    754             FLOAT blue;
    755         } scRGB;
    756         struct {
    757             UINT8 channelCount;
    758             FLOAT channels[9];
    759         } context;
    760     } value;
    761 } XPS_COLOR;
    762 typedef struct __WIDL_xpsobjectmodel_generated_name_00000031 {
    763     FLOAT length;
    764     FLOAT gap;
    765 } XPS_DASH;
    766 typedef struct __WIDL_xpsobjectmodel_generated_name_00000032 {
    767     LONG index;
    768     FLOAT advanceWidth;
    769     FLOAT horizontalOffset;
    770     FLOAT verticalOffset;
    771 } XPS_GLYPH_INDEX;
    772 typedef struct __WIDL_xpsobjectmodel_generated_name_00000033 {
    773     UINT32 unicodeStringStart;
    774     UINT16 unicodeStringLength;
    775     UINT32 glyphIndicesStart;
    776     UINT16 glyphIndicesLength;
    777 } XPS_GLYPH_MAPPING;
    778 typedef struct __WIDL_xpsobjectmodel_generated_name_00000034 {
    779     FLOAT m11;
    780     FLOAT m12;
    781     FLOAT m21;
    782     FLOAT m22;
    783     FLOAT m31;
    784     FLOAT m32;
    785 } XPS_MATRIX;
    786 typedef struct __WIDL_xpsobjectmodel_generated_name_00000035 {
    787     FLOAT x;
    788     FLOAT y;
    789 } XPS_POINT;
    790 typedef struct __WIDL_xpsobjectmodel_generated_name_00000036 {
    791     FLOAT x;
    792     FLOAT y;
    793     FLOAT width;
    794     FLOAT height;
    795 } XPS_RECT;
    796 typedef struct __WIDL_xpsobjectmodel_generated_name_00000037 {
    797     FLOAT width;
    798     FLOAT height;
    799 } XPS_SIZE;
    800 /*****************************************************************************
    801  * IXpsOMShareable interface
    802  */
    803 #ifndef __IXpsOMShareable_INTERFACE_DEFINED__
    804 #define __IXpsOMShareable_INTERFACE_DEFINED__
    805 
    806 DEFINE_GUID(IID_IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce);
    807 #if defined(__cplusplus) && !defined(CINTERFACE)
    808 MIDL_INTERFACE("7137398f-2fc1-454d-8c6a-2c3115a16ece")
    809 IXpsOMShareable : public IUnknown
    810 {
    811     virtual HRESULT STDMETHODCALLTYPE GetOwner(
    812         IUnknown **owner) = 0;
    813 
    814     virtual HRESULT STDMETHODCALLTYPE GetType(
    815         XPS_OBJECT_TYPE *type) = 0;
    816 
    817 };
    818 #ifdef __CRT_UUID_DECL
    819 __CRT_UUID_DECL(IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce)
    820 #endif
    821 #else
    822 typedef struct IXpsOMShareableVtbl {
    823     BEGIN_INTERFACE
    824 
    825     /*** IUnknown methods ***/
    826     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    827         IXpsOMShareable* This,
    828         REFIID riid,
    829         void **ppvObject);
    830 
    831     ULONG (STDMETHODCALLTYPE *AddRef)(
    832         IXpsOMShareable* This);
    833 
    834     ULONG (STDMETHODCALLTYPE *Release)(
    835         IXpsOMShareable* This);
    836 
    837     /*** IXpsOMShareable methods ***/
    838     HRESULT (STDMETHODCALLTYPE *GetOwner)(
    839         IXpsOMShareable* This,
    840         IUnknown **owner);
    841 
    842     HRESULT (STDMETHODCALLTYPE *GetType)(
    843         IXpsOMShareable* This,
    844         XPS_OBJECT_TYPE *type);
    845 
    846     END_INTERFACE
    847 } IXpsOMShareableVtbl;
    848 interface IXpsOMShareable {
    849     CONST_VTBL IXpsOMShareableVtbl* lpVtbl;
    850 };
    851 
    852 #ifdef COBJMACROS
    853 #ifndef WIDL_C_INLINE_WRAPPERS
    854 /*** IUnknown methods ***/
    855 #define IXpsOMShareable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    856 #define IXpsOMShareable_AddRef(This) (This)->lpVtbl->AddRef(This)
    857 #define IXpsOMShareable_Release(This) (This)->lpVtbl->Release(This)
    858 /*** IXpsOMShareable methods ***/
    859 #define IXpsOMShareable_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
    860 #define IXpsOMShareable_GetType(This,type) (This)->lpVtbl->GetType(This,type)
    861 #else
    862 /*** IUnknown methods ***/
    863 static FORCEINLINE HRESULT IXpsOMShareable_QueryInterface(IXpsOMShareable* This,REFIID riid,void **ppvObject) {
    864     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    865 }
    866 static FORCEINLINE ULONG IXpsOMShareable_AddRef(IXpsOMShareable* This) {
    867     return This->lpVtbl->AddRef(This);
    868 }
    869 static FORCEINLINE ULONG IXpsOMShareable_Release(IXpsOMShareable* This) {
    870     return This->lpVtbl->Release(This);
    871 }
    872 /*** IXpsOMShareable methods ***/
    873 static FORCEINLINE HRESULT IXpsOMShareable_GetOwner(IXpsOMShareable* This,IUnknown **owner) {
    874     return This->lpVtbl->GetOwner(This,owner);
    875 }
    876 static FORCEINLINE HRESULT IXpsOMShareable_GetType(IXpsOMShareable* This,XPS_OBJECT_TYPE *type) {
    877     return This->lpVtbl->GetType(This,type);
    878 }
    879 #endif
    880 #endif
    881 
    882 #endif
    883 
    884 HRESULT STDMETHODCALLTYPE IXpsOMShareable_GetOwner_Proxy(
    885     IXpsOMShareable* This,
    886     IUnknown **owner);
    887 void __RPC_STUB IXpsOMShareable_GetOwner_Stub(
    888     IRpcStubBuffer* This,
    889     IRpcChannelBuffer* pRpcChannelBuffer,
    890     PRPC_MESSAGE pRpcMessage,
    891     DWORD* pdwStubPhase);
    892 HRESULT STDMETHODCALLTYPE IXpsOMShareable_GetType_Proxy(
    893     IXpsOMShareable* This,
    894     XPS_OBJECT_TYPE *type);
    895 void __RPC_STUB IXpsOMShareable_GetType_Stub(
    896     IRpcStubBuffer* This,
    897     IRpcChannelBuffer* pRpcChannelBuffer,
    898     PRPC_MESSAGE pRpcMessage,
    899     DWORD* pdwStubPhase);
    900 
    901 #endif  /* __IXpsOMShareable_INTERFACE_DEFINED__ */
    902 
    903 /*****************************************************************************
    904  * IXpsOMPart interface
    905  */
    906 #ifndef __IXpsOMPart_INTERFACE_DEFINED__
    907 #define __IXpsOMPart_INTERFACE_DEFINED__
    908 
    909 DEFINE_GUID(IID_IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6);
    910 #if defined(__cplusplus) && !defined(CINTERFACE)
    911 MIDL_INTERFACE("74eb2f0b-a91e-4486-afac-0fabeca3dfc6")
    912 IXpsOMPart : public IUnknown
    913 {
    914     virtual HRESULT STDMETHODCALLTYPE GetPartName(
    915         IOpcPartUri **partUri) = 0;
    916 
    917     virtual HRESULT STDMETHODCALLTYPE SetPartName(
    918         IOpcPartUri *partUri) = 0;
    919 
    920 };
    921 #ifdef __CRT_UUID_DECL
    922 __CRT_UUID_DECL(IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6)
    923 #endif
    924 #else
    925 typedef struct IXpsOMPartVtbl {
    926     BEGIN_INTERFACE
    927 
    928     /*** IUnknown methods ***/
    929     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    930         IXpsOMPart* This,
    931         REFIID riid,
    932         void **ppvObject);
    933 
    934     ULONG (STDMETHODCALLTYPE *AddRef)(
    935         IXpsOMPart* This);
    936 
    937     ULONG (STDMETHODCALLTYPE *Release)(
    938         IXpsOMPart* This);
    939 
    940     /*** IXpsOMPart methods ***/
    941     HRESULT (STDMETHODCALLTYPE *GetPartName)(
    942         IXpsOMPart* This,
    943         IOpcPartUri **partUri);
    944 
    945     HRESULT (STDMETHODCALLTYPE *SetPartName)(
    946         IXpsOMPart* This,
    947         IOpcPartUri *partUri);
    948 
    949     END_INTERFACE
    950 } IXpsOMPartVtbl;
    951 interface IXpsOMPart {
    952     CONST_VTBL IXpsOMPartVtbl* lpVtbl;
    953 };
    954 
    955 #ifdef COBJMACROS
    956 #ifndef WIDL_C_INLINE_WRAPPERS
    957 /*** IUnknown methods ***/
    958 #define IXpsOMPart_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    959 #define IXpsOMPart_AddRef(This) (This)->lpVtbl->AddRef(This)
    960 #define IXpsOMPart_Release(This) (This)->lpVtbl->Release(This)
    961 /*** IXpsOMPart methods ***/
    962 #define IXpsOMPart_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
    963 #define IXpsOMPart_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
    964 #else
    965 /*** IUnknown methods ***/
    966 static FORCEINLINE HRESULT IXpsOMPart_QueryInterface(IXpsOMPart* This,REFIID riid,void **ppvObject) {
    967     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    968 }
    969 static FORCEINLINE ULONG IXpsOMPart_AddRef(IXpsOMPart* This) {
    970     return This->lpVtbl->AddRef(This);
    971 }
    972 static FORCEINLINE ULONG IXpsOMPart_Release(IXpsOMPart* This) {
    973     return This->lpVtbl->Release(This);
    974 }
    975 /*** IXpsOMPart methods ***/
    976 static FORCEINLINE HRESULT IXpsOMPart_GetPartName(IXpsOMPart* This,IOpcPartUri **partUri) {
    977     return This->lpVtbl->GetPartName(This,partUri);
    978 }
    979 static FORCEINLINE HRESULT IXpsOMPart_SetPartName(IXpsOMPart* This,IOpcPartUri *partUri) {
    980     return This->lpVtbl->SetPartName(This,partUri);
    981 }
    982 #endif
    983 #endif
    984 
    985 #endif
    986 
    987 HRESULT STDMETHODCALLTYPE IXpsOMPart_GetPartName_Proxy(
    988     IXpsOMPart* This,
    989     IOpcPartUri **partUri);
    990 void __RPC_STUB IXpsOMPart_GetPartName_Stub(
    991     IRpcStubBuffer* This,
    992     IRpcChannelBuffer* pRpcChannelBuffer,
    993     PRPC_MESSAGE pRpcMessage,
    994     DWORD* pdwStubPhase);
    995 HRESULT STDMETHODCALLTYPE IXpsOMPart_SetPartName_Proxy(
    996     IXpsOMPart* This,
    997     IOpcPartUri *partUri);
    998 void __RPC_STUB IXpsOMPart_SetPartName_Stub(
    999     IRpcStubBuffer* This,
   1000     IRpcChannelBuffer* pRpcChannelBuffer,
   1001     PRPC_MESSAGE pRpcMessage,
   1002     DWORD* pdwStubPhase);
   1003 
   1004 #endif  /* __IXpsOMPart_INTERFACE_DEFINED__ */
   1005 
   1006 /*****************************************************************************
   1007  * IXpsOMGlyphsEditor interface
   1008  */
   1009 #ifndef __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
   1010 #define __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
   1011 
   1012 DEFINE_GUID(IID_IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09);
   1013 #if defined(__cplusplus) && !defined(CINTERFACE)
   1014 MIDL_INTERFACE("a5ab8616-5b16-4b9f-9629-89b323ed7909")
   1015 IXpsOMGlyphsEditor : public IUnknown
   1016 {
   1017     virtual HRESULT STDMETHODCALLTYPE ApplyEdits(
   1018         ) = 0;
   1019 
   1020     virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
   1021         LPWSTR *unicodeString) = 0;
   1022 
   1023     virtual HRESULT STDMETHODCALLTYPE SetUnicodeString(
   1024         LPCWSTR unicodeString) = 0;
   1025 
   1026     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
   1027         UINT32 *indexCount) = 0;
   1028 
   1029     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
   1030         UINT32 *indexCount,
   1031         XPS_GLYPH_INDEX *glyphIndices) = 0;
   1032 
   1033     virtual HRESULT STDMETHODCALLTYPE SetGlyphIndices(
   1034         UINT32 indexCount,
   1035         const XPS_GLYPH_INDEX *glyphIndices) = 0;
   1036 
   1037     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
   1038         UINT32 *glyphMappingCount) = 0;
   1039 
   1040     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
   1041         UINT32 *glyphMappingCount,
   1042         XPS_GLYPH_MAPPING *glyphMappings) = 0;
   1043 
   1044     virtual HRESULT STDMETHODCALLTYPE SetGlyphMappings(
   1045         UINT32 glyphMappingCount,
   1046         const XPS_GLYPH_MAPPING *glyphMappings) = 0;
   1047 
   1048     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
   1049         UINT32 *prohibitedCaretStopCount) = 0;
   1050 
   1051     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
   1052         UINT32 *count,
   1053         UINT32 *prohibitedCaretStops) = 0;
   1054 
   1055     virtual HRESULT STDMETHODCALLTYPE SetProhibitedCaretStops(
   1056         UINT32 count,
   1057         const UINT32 *prohibitedCaretStops) = 0;
   1058 
   1059     virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
   1060         UINT32 *bidiLevel) = 0;
   1061 
   1062     virtual HRESULT STDMETHODCALLTYPE SetBidiLevel(
   1063         UINT32 bidiLevel) = 0;
   1064 
   1065     virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
   1066         WINBOOL *isSideways) = 0;
   1067 
   1068     virtual HRESULT STDMETHODCALLTYPE SetIsSideways(
   1069         WINBOOL isSideways) = 0;
   1070 
   1071     virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
   1072         LPWSTR *deviceFontName) = 0;
   1073 
   1074     virtual HRESULT STDMETHODCALLTYPE SetDeviceFontName(
   1075         LPCWSTR deviceFontName) = 0;
   1076 
   1077 };
   1078 #ifdef __CRT_UUID_DECL
   1079 __CRT_UUID_DECL(IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09)
   1080 #endif
   1081 #else
   1082 typedef struct IXpsOMGlyphsEditorVtbl {
   1083     BEGIN_INTERFACE
   1084 
   1085     /*** IUnknown methods ***/
   1086     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1087         IXpsOMGlyphsEditor* This,
   1088         REFIID riid,
   1089         void **ppvObject);
   1090 
   1091     ULONG (STDMETHODCALLTYPE *AddRef)(
   1092         IXpsOMGlyphsEditor* This);
   1093 
   1094     ULONG (STDMETHODCALLTYPE *Release)(
   1095         IXpsOMGlyphsEditor* This);
   1096 
   1097     /*** IXpsOMGlyphsEditor methods ***/
   1098     HRESULT (STDMETHODCALLTYPE *ApplyEdits)(
   1099         IXpsOMGlyphsEditor* This);
   1100 
   1101     HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
   1102         IXpsOMGlyphsEditor* This,
   1103         LPWSTR *unicodeString);
   1104 
   1105     HRESULT (STDMETHODCALLTYPE *SetUnicodeString)(
   1106         IXpsOMGlyphsEditor* This,
   1107         LPCWSTR unicodeString);
   1108 
   1109     HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
   1110         IXpsOMGlyphsEditor* This,
   1111         UINT32 *indexCount);
   1112 
   1113     HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
   1114         IXpsOMGlyphsEditor* This,
   1115         UINT32 *indexCount,
   1116         XPS_GLYPH_INDEX *glyphIndices);
   1117 
   1118     HRESULT (STDMETHODCALLTYPE *SetGlyphIndices)(
   1119         IXpsOMGlyphsEditor* This,
   1120         UINT32 indexCount,
   1121         const XPS_GLYPH_INDEX *glyphIndices);
   1122 
   1123     HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
   1124         IXpsOMGlyphsEditor* This,
   1125         UINT32 *glyphMappingCount);
   1126 
   1127     HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
   1128         IXpsOMGlyphsEditor* This,
   1129         UINT32 *glyphMappingCount,
   1130         XPS_GLYPH_MAPPING *glyphMappings);
   1131 
   1132     HRESULT (STDMETHODCALLTYPE *SetGlyphMappings)(
   1133         IXpsOMGlyphsEditor* This,
   1134         UINT32 glyphMappingCount,
   1135         const XPS_GLYPH_MAPPING *glyphMappings);
   1136 
   1137     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
   1138         IXpsOMGlyphsEditor* This,
   1139         UINT32 *prohibitedCaretStopCount);
   1140 
   1141     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
   1142         IXpsOMGlyphsEditor* This,
   1143         UINT32 *count,
   1144         UINT32 *prohibitedCaretStops);
   1145 
   1146     HRESULT (STDMETHODCALLTYPE *SetProhibitedCaretStops)(
   1147         IXpsOMGlyphsEditor* This,
   1148         UINT32 count,
   1149         const UINT32 *prohibitedCaretStops);
   1150 
   1151     HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
   1152         IXpsOMGlyphsEditor* This,
   1153         UINT32 *bidiLevel);
   1154 
   1155     HRESULT (STDMETHODCALLTYPE *SetBidiLevel)(
   1156         IXpsOMGlyphsEditor* This,
   1157         UINT32 bidiLevel);
   1158 
   1159     HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
   1160         IXpsOMGlyphsEditor* This,
   1161         WINBOOL *isSideways);
   1162 
   1163     HRESULT (STDMETHODCALLTYPE *SetIsSideways)(
   1164         IXpsOMGlyphsEditor* This,
   1165         WINBOOL isSideways);
   1166 
   1167     HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
   1168         IXpsOMGlyphsEditor* This,
   1169         LPWSTR *deviceFontName);
   1170 
   1171     HRESULT (STDMETHODCALLTYPE *SetDeviceFontName)(
   1172         IXpsOMGlyphsEditor* This,
   1173         LPCWSTR deviceFontName);
   1174 
   1175     END_INTERFACE
   1176 } IXpsOMGlyphsEditorVtbl;
   1177 interface IXpsOMGlyphsEditor {
   1178     CONST_VTBL IXpsOMGlyphsEditorVtbl* lpVtbl;
   1179 };
   1180 
   1181 #ifdef COBJMACROS
   1182 #ifndef WIDL_C_INLINE_WRAPPERS
   1183 /*** IUnknown methods ***/
   1184 #define IXpsOMGlyphsEditor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1185 #define IXpsOMGlyphsEditor_AddRef(This) (This)->lpVtbl->AddRef(This)
   1186 #define IXpsOMGlyphsEditor_Release(This) (This)->lpVtbl->Release(This)
   1187 /*** IXpsOMGlyphsEditor methods ***/
   1188 #define IXpsOMGlyphsEditor_ApplyEdits(This) (This)->lpVtbl->ApplyEdits(This)
   1189 #define IXpsOMGlyphsEditor_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
   1190 #define IXpsOMGlyphsEditor_SetUnicodeString(This,unicodeString) (This)->lpVtbl->SetUnicodeString(This,unicodeString)
   1191 #define IXpsOMGlyphsEditor_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
   1192 #define IXpsOMGlyphsEditor_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
   1193 #define IXpsOMGlyphsEditor_SetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices)
   1194 #define IXpsOMGlyphsEditor_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
   1195 #define IXpsOMGlyphsEditor_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
   1196 #define IXpsOMGlyphsEditor_SetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings)
   1197 #define IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
   1198 #define IXpsOMGlyphsEditor_GetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops)
   1199 #define IXpsOMGlyphsEditor_SetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops)
   1200 #define IXpsOMGlyphsEditor_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
   1201 #define IXpsOMGlyphsEditor_SetBidiLevel(This,bidiLevel) (This)->lpVtbl->SetBidiLevel(This,bidiLevel)
   1202 #define IXpsOMGlyphsEditor_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
   1203 #define IXpsOMGlyphsEditor_SetIsSideways(This,isSideways) (This)->lpVtbl->SetIsSideways(This,isSideways)
   1204 #define IXpsOMGlyphsEditor_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
   1205 #define IXpsOMGlyphsEditor_SetDeviceFontName(This,deviceFontName) (This)->lpVtbl->SetDeviceFontName(This,deviceFontName)
   1206 #else
   1207 /*** IUnknown methods ***/
   1208 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_QueryInterface(IXpsOMGlyphsEditor* This,REFIID riid,void **ppvObject) {
   1209     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1210 }
   1211 static FORCEINLINE ULONG IXpsOMGlyphsEditor_AddRef(IXpsOMGlyphsEditor* This) {
   1212     return This->lpVtbl->AddRef(This);
   1213 }
   1214 static FORCEINLINE ULONG IXpsOMGlyphsEditor_Release(IXpsOMGlyphsEditor* This) {
   1215     return This->lpVtbl->Release(This);
   1216 }
   1217 /*** IXpsOMGlyphsEditor methods ***/
   1218 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_ApplyEdits(IXpsOMGlyphsEditor* This) {
   1219     return This->lpVtbl->ApplyEdits(This);
   1220 }
   1221 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetUnicodeString(IXpsOMGlyphsEditor* This,LPWSTR *unicodeString) {
   1222     return This->lpVtbl->GetUnicodeString(This,unicodeString);
   1223 }
   1224 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetUnicodeString(IXpsOMGlyphsEditor* This,LPCWSTR unicodeString) {
   1225     return This->lpVtbl->SetUnicodeString(This,unicodeString);
   1226 }
   1227 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphIndexCount(IXpsOMGlyphsEditor* This,UINT32 *indexCount) {
   1228     return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
   1229 }
   1230 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
   1231     return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
   1232 }
   1233 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 indexCount,const XPS_GLYPH_INDEX *glyphIndices) {
   1234     return This->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices);
   1235 }
   1236 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphMappingCount(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount) {
   1237     return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
   1238 }
   1239 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
   1240     return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
   1241 }
   1242 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 glyphMappingCount,const XPS_GLYPH_MAPPING *glyphMappings) {
   1243     return This->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings);
   1244 }
   1245 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(IXpsOMGlyphsEditor* This,UINT32 *prohibitedCaretStopCount) {
   1246     return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
   1247 }
   1248 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 *count,UINT32 *prohibitedCaretStops) {
   1249     return This->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops);
   1250 }
   1251 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 count,const UINT32 *prohibitedCaretStops) {
   1252     return This->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops);
   1253 }
   1254 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 *bidiLevel) {
   1255     return This->lpVtbl->GetBidiLevel(This,bidiLevel);
   1256 }
   1257 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 bidiLevel) {
   1258     return This->lpVtbl->SetBidiLevel(This,bidiLevel);
   1259 }
   1260 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL *isSideways) {
   1261     return This->lpVtbl->GetIsSideways(This,isSideways);
   1262 }
   1263 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL isSideways) {
   1264     return This->lpVtbl->SetIsSideways(This,isSideways);
   1265 }
   1266 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetDeviceFontName(IXpsOMGlyphsEditor* This,LPWSTR *deviceFontName) {
   1267     return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
   1268 }
   1269 static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetDeviceFontName(IXpsOMGlyphsEditor* This,LPCWSTR deviceFontName) {
   1270     return This->lpVtbl->SetDeviceFontName(This,deviceFontName);
   1271 }
   1272 #endif
   1273 #endif
   1274 
   1275 #endif
   1276 
   1277 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_ApplyEdits_Proxy(
   1278     IXpsOMGlyphsEditor* This);
   1279 void __RPC_STUB IXpsOMGlyphsEditor_ApplyEdits_Stub(
   1280     IRpcStubBuffer* This,
   1281     IRpcChannelBuffer* pRpcChannelBuffer,
   1282     PRPC_MESSAGE pRpcMessage,
   1283     DWORD* pdwStubPhase);
   1284 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetUnicodeString_Proxy(
   1285     IXpsOMGlyphsEditor* This,
   1286     LPWSTR *unicodeString);
   1287 void __RPC_STUB IXpsOMGlyphsEditor_GetUnicodeString_Stub(
   1288     IRpcStubBuffer* This,
   1289     IRpcChannelBuffer* pRpcChannelBuffer,
   1290     PRPC_MESSAGE pRpcMessage,
   1291     DWORD* pdwStubPhase);
   1292 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetUnicodeString_Proxy(
   1293     IXpsOMGlyphsEditor* This,
   1294     LPCWSTR unicodeString);
   1295 void __RPC_STUB IXpsOMGlyphsEditor_SetUnicodeString_Stub(
   1296     IRpcStubBuffer* This,
   1297     IRpcChannelBuffer* pRpcChannelBuffer,
   1298     PRPC_MESSAGE pRpcMessage,
   1299     DWORD* pdwStubPhase);
   1300 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetGlyphIndexCount_Proxy(
   1301     IXpsOMGlyphsEditor* This,
   1302     UINT32 *indexCount);
   1303 void __RPC_STUB IXpsOMGlyphsEditor_GetGlyphIndexCount_Stub(
   1304     IRpcStubBuffer* This,
   1305     IRpcChannelBuffer* pRpcChannelBuffer,
   1306     PRPC_MESSAGE pRpcMessage,
   1307     DWORD* pdwStubPhase);
   1308 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetGlyphIndices_Proxy(
   1309     IXpsOMGlyphsEditor* This,
   1310     UINT32 *indexCount,
   1311     XPS_GLYPH_INDEX *glyphIndices);
   1312 void __RPC_STUB IXpsOMGlyphsEditor_GetGlyphIndices_Stub(
   1313     IRpcStubBuffer* This,
   1314     IRpcChannelBuffer* pRpcChannelBuffer,
   1315     PRPC_MESSAGE pRpcMessage,
   1316     DWORD* pdwStubPhase);
   1317 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetGlyphIndices_Proxy(
   1318     IXpsOMGlyphsEditor* This,
   1319     UINT32 indexCount,
   1320     const XPS_GLYPH_INDEX *glyphIndices);
   1321 void __RPC_STUB IXpsOMGlyphsEditor_SetGlyphIndices_Stub(
   1322     IRpcStubBuffer* This,
   1323     IRpcChannelBuffer* pRpcChannelBuffer,
   1324     PRPC_MESSAGE pRpcMessage,
   1325     DWORD* pdwStubPhase);
   1326 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetGlyphMappingCount_Proxy(
   1327     IXpsOMGlyphsEditor* This,
   1328     UINT32 *glyphMappingCount);
   1329 void __RPC_STUB IXpsOMGlyphsEditor_GetGlyphMappingCount_Stub(
   1330     IRpcStubBuffer* This,
   1331     IRpcChannelBuffer* pRpcChannelBuffer,
   1332     PRPC_MESSAGE pRpcMessage,
   1333     DWORD* pdwStubPhase);
   1334 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetGlyphMappings_Proxy(
   1335     IXpsOMGlyphsEditor* This,
   1336     UINT32 *glyphMappingCount,
   1337     XPS_GLYPH_MAPPING *glyphMappings);
   1338 void __RPC_STUB IXpsOMGlyphsEditor_GetGlyphMappings_Stub(
   1339     IRpcStubBuffer* This,
   1340     IRpcChannelBuffer* pRpcChannelBuffer,
   1341     PRPC_MESSAGE pRpcMessage,
   1342     DWORD* pdwStubPhase);
   1343 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetGlyphMappings_Proxy(
   1344     IXpsOMGlyphsEditor* This,
   1345     UINT32 glyphMappingCount,
   1346     const XPS_GLYPH_MAPPING *glyphMappings);
   1347 void __RPC_STUB IXpsOMGlyphsEditor_SetGlyphMappings_Stub(
   1348     IRpcStubBuffer* This,
   1349     IRpcChannelBuffer* pRpcChannelBuffer,
   1350     PRPC_MESSAGE pRpcMessage,
   1351     DWORD* pdwStubPhase);
   1352 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetProhibitedCaretStopCount_Proxy(
   1353     IXpsOMGlyphsEditor* This,
   1354     UINT32 *prohibitedCaretStopCount);
   1355 void __RPC_STUB IXpsOMGlyphsEditor_GetProhibitedCaretStopCount_Stub(
   1356     IRpcStubBuffer* This,
   1357     IRpcChannelBuffer* pRpcChannelBuffer,
   1358     PRPC_MESSAGE pRpcMessage,
   1359     DWORD* pdwStubPhase);
   1360 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetProhibitedCaretStops_Proxy(
   1361     IXpsOMGlyphsEditor* This,
   1362     UINT32 *count,
   1363     UINT32 *prohibitedCaretStops);
   1364 void __RPC_STUB IXpsOMGlyphsEditor_GetProhibitedCaretStops_Stub(
   1365     IRpcStubBuffer* This,
   1366     IRpcChannelBuffer* pRpcChannelBuffer,
   1367     PRPC_MESSAGE pRpcMessage,
   1368     DWORD* pdwStubPhase);
   1369 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetProhibitedCaretStops_Proxy(
   1370     IXpsOMGlyphsEditor* This,
   1371     UINT32 count,
   1372     const UINT32 *prohibitedCaretStops);
   1373 void __RPC_STUB IXpsOMGlyphsEditor_SetProhibitedCaretStops_Stub(
   1374     IRpcStubBuffer* This,
   1375     IRpcChannelBuffer* pRpcChannelBuffer,
   1376     PRPC_MESSAGE pRpcMessage,
   1377     DWORD* pdwStubPhase);
   1378 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetBidiLevel_Proxy(
   1379     IXpsOMGlyphsEditor* This,
   1380     UINT32 *bidiLevel);
   1381 void __RPC_STUB IXpsOMGlyphsEditor_GetBidiLevel_Stub(
   1382     IRpcStubBuffer* This,
   1383     IRpcChannelBuffer* pRpcChannelBuffer,
   1384     PRPC_MESSAGE pRpcMessage,
   1385     DWORD* pdwStubPhase);
   1386 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetBidiLevel_Proxy(
   1387     IXpsOMGlyphsEditor* This,
   1388     UINT32 bidiLevel);
   1389 void __RPC_STUB IXpsOMGlyphsEditor_SetBidiLevel_Stub(
   1390     IRpcStubBuffer* This,
   1391     IRpcChannelBuffer* pRpcChannelBuffer,
   1392     PRPC_MESSAGE pRpcMessage,
   1393     DWORD* pdwStubPhase);
   1394 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetIsSideways_Proxy(
   1395     IXpsOMGlyphsEditor* This,
   1396     WINBOOL *isSideways);
   1397 void __RPC_STUB IXpsOMGlyphsEditor_GetIsSideways_Stub(
   1398     IRpcStubBuffer* This,
   1399     IRpcChannelBuffer* pRpcChannelBuffer,
   1400     PRPC_MESSAGE pRpcMessage,
   1401     DWORD* pdwStubPhase);
   1402 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetIsSideways_Proxy(
   1403     IXpsOMGlyphsEditor* This,
   1404     WINBOOL isSideways);
   1405 void __RPC_STUB IXpsOMGlyphsEditor_SetIsSideways_Stub(
   1406     IRpcStubBuffer* This,
   1407     IRpcChannelBuffer* pRpcChannelBuffer,
   1408     PRPC_MESSAGE pRpcMessage,
   1409     DWORD* pdwStubPhase);
   1410 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_GetDeviceFontName_Proxy(
   1411     IXpsOMGlyphsEditor* This,
   1412     LPWSTR *deviceFontName);
   1413 void __RPC_STUB IXpsOMGlyphsEditor_GetDeviceFontName_Stub(
   1414     IRpcStubBuffer* This,
   1415     IRpcChannelBuffer* pRpcChannelBuffer,
   1416     PRPC_MESSAGE pRpcMessage,
   1417     DWORD* pdwStubPhase);
   1418 HRESULT STDMETHODCALLTYPE IXpsOMGlyphsEditor_SetDeviceFontName_Proxy(
   1419     IXpsOMGlyphsEditor* This,
   1420     LPCWSTR deviceFontName);
   1421 void __RPC_STUB IXpsOMGlyphsEditor_SetDeviceFontName_Stub(
   1422     IRpcStubBuffer* This,
   1423     IRpcChannelBuffer* pRpcChannelBuffer,
   1424     PRPC_MESSAGE pRpcMessage,
   1425     DWORD* pdwStubPhase);
   1426 
   1427 #endif  /* __IXpsOMGlyphsEditor_INTERFACE_DEFINED__ */
   1428 
   1429 /*****************************************************************************
   1430  * IXpsOMDashCollection interface
   1431  */
   1432 #ifndef __IXpsOMDashCollection_INTERFACE_DEFINED__
   1433 #define __IXpsOMDashCollection_INTERFACE_DEFINED__
   1434 
   1435 DEFINE_GUID(IID_IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6);
   1436 #if defined(__cplusplus) && !defined(CINTERFACE)
   1437 MIDL_INTERFACE("081613f4-74eb-48f2-83b3-37a9ce2d7dc6")
   1438 IXpsOMDashCollection : public IUnknown
   1439 {
   1440     virtual HRESULT STDMETHODCALLTYPE GetCount(
   1441         UINT32 *count) = 0;
   1442 
   1443     virtual HRESULT STDMETHODCALLTYPE GetAt(
   1444         UINT32 index,
   1445         XPS_DASH *dash) = 0;
   1446 
   1447     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   1448         UINT32 index,
   1449         const XPS_DASH *dash) = 0;
   1450 
   1451     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   1452         UINT32 index) = 0;
   1453 
   1454     virtual HRESULT STDMETHODCALLTYPE SetAt(
   1455         UINT32 index,
   1456         const XPS_DASH *dash) = 0;
   1457 
   1458     virtual HRESULT STDMETHODCALLTYPE Append(
   1459         const XPS_DASH *dash) = 0;
   1460 
   1461 };
   1462 #ifdef __CRT_UUID_DECL
   1463 __CRT_UUID_DECL(IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6)
   1464 #endif
   1465 #else
   1466 typedef struct IXpsOMDashCollectionVtbl {
   1467     BEGIN_INTERFACE
   1468 
   1469     /*** IUnknown methods ***/
   1470     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1471         IXpsOMDashCollection* This,
   1472         REFIID riid,
   1473         void **ppvObject);
   1474 
   1475     ULONG (STDMETHODCALLTYPE *AddRef)(
   1476         IXpsOMDashCollection* This);
   1477 
   1478     ULONG (STDMETHODCALLTYPE *Release)(
   1479         IXpsOMDashCollection* This);
   1480 
   1481     /*** IXpsOMDashCollection methods ***/
   1482     HRESULT (STDMETHODCALLTYPE *GetCount)(
   1483         IXpsOMDashCollection* This,
   1484         UINT32 *count);
   1485 
   1486     HRESULT (STDMETHODCALLTYPE *GetAt)(
   1487         IXpsOMDashCollection* This,
   1488         UINT32 index,
   1489         XPS_DASH *dash);
   1490 
   1491     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   1492         IXpsOMDashCollection* This,
   1493         UINT32 index,
   1494         const XPS_DASH *dash);
   1495 
   1496     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   1497         IXpsOMDashCollection* This,
   1498         UINT32 index);
   1499 
   1500     HRESULT (STDMETHODCALLTYPE *SetAt)(
   1501         IXpsOMDashCollection* This,
   1502         UINT32 index,
   1503         const XPS_DASH *dash);
   1504 
   1505     HRESULT (STDMETHODCALLTYPE *Append)(
   1506         IXpsOMDashCollection* This,
   1507         const XPS_DASH *dash);
   1508 
   1509     END_INTERFACE
   1510 } IXpsOMDashCollectionVtbl;
   1511 interface IXpsOMDashCollection {
   1512     CONST_VTBL IXpsOMDashCollectionVtbl* lpVtbl;
   1513 };
   1514 
   1515 #ifdef COBJMACROS
   1516 #ifndef WIDL_C_INLINE_WRAPPERS
   1517 /*** IUnknown methods ***/
   1518 #define IXpsOMDashCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1519 #define IXpsOMDashCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   1520 #define IXpsOMDashCollection_Release(This) (This)->lpVtbl->Release(This)
   1521 /*** IXpsOMDashCollection methods ***/
   1522 #define IXpsOMDashCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   1523 #define IXpsOMDashCollection_GetAt(This,index,dash) (This)->lpVtbl->GetAt(This,index,dash)
   1524 #define IXpsOMDashCollection_InsertAt(This,index,dash) (This)->lpVtbl->InsertAt(This,index,dash)
   1525 #define IXpsOMDashCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   1526 #define IXpsOMDashCollection_SetAt(This,index,dash) (This)->lpVtbl->SetAt(This,index,dash)
   1527 #define IXpsOMDashCollection_Append(This,dash) (This)->lpVtbl->Append(This,dash)
   1528 #else
   1529 /*** IUnknown methods ***/
   1530 static FORCEINLINE HRESULT IXpsOMDashCollection_QueryInterface(IXpsOMDashCollection* This,REFIID riid,void **ppvObject) {
   1531     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1532 }
   1533 static FORCEINLINE ULONG IXpsOMDashCollection_AddRef(IXpsOMDashCollection* This) {
   1534     return This->lpVtbl->AddRef(This);
   1535 }
   1536 static FORCEINLINE ULONG IXpsOMDashCollection_Release(IXpsOMDashCollection* This) {
   1537     return This->lpVtbl->Release(This);
   1538 }
   1539 /*** IXpsOMDashCollection methods ***/
   1540 static FORCEINLINE HRESULT IXpsOMDashCollection_GetCount(IXpsOMDashCollection* This,UINT32 *count) {
   1541     return This->lpVtbl->GetCount(This,count);
   1542 }
   1543 static FORCEINLINE HRESULT IXpsOMDashCollection_GetAt(IXpsOMDashCollection* This,UINT32 index,XPS_DASH *dash) {
   1544     return This->lpVtbl->GetAt(This,index,dash);
   1545 }
   1546 static FORCEINLINE HRESULT IXpsOMDashCollection_InsertAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
   1547     return This->lpVtbl->InsertAt(This,index,dash);
   1548 }
   1549 static FORCEINLINE HRESULT IXpsOMDashCollection_RemoveAt(IXpsOMDashCollection* This,UINT32 index) {
   1550     return This->lpVtbl->RemoveAt(This,index);
   1551 }
   1552 static FORCEINLINE HRESULT IXpsOMDashCollection_SetAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
   1553     return This->lpVtbl->SetAt(This,index,dash);
   1554 }
   1555 static FORCEINLINE HRESULT IXpsOMDashCollection_Append(IXpsOMDashCollection* This,const XPS_DASH *dash) {
   1556     return This->lpVtbl->Append(This,dash);
   1557 }
   1558 #endif
   1559 #endif
   1560 
   1561 #endif
   1562 
   1563 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_GetCount_Proxy(
   1564     IXpsOMDashCollection* This,
   1565     UINT32 *count);
   1566 void __RPC_STUB IXpsOMDashCollection_GetCount_Stub(
   1567     IRpcStubBuffer* This,
   1568     IRpcChannelBuffer* pRpcChannelBuffer,
   1569     PRPC_MESSAGE pRpcMessage,
   1570     DWORD* pdwStubPhase);
   1571 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_GetAt_Proxy(
   1572     IXpsOMDashCollection* This,
   1573     UINT32 index,
   1574     XPS_DASH *dash);
   1575 void __RPC_STUB IXpsOMDashCollection_GetAt_Stub(
   1576     IRpcStubBuffer* This,
   1577     IRpcChannelBuffer* pRpcChannelBuffer,
   1578     PRPC_MESSAGE pRpcMessage,
   1579     DWORD* pdwStubPhase);
   1580 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_InsertAt_Proxy(
   1581     IXpsOMDashCollection* This,
   1582     UINT32 index,
   1583     const XPS_DASH *dash);
   1584 void __RPC_STUB IXpsOMDashCollection_InsertAt_Stub(
   1585     IRpcStubBuffer* This,
   1586     IRpcChannelBuffer* pRpcChannelBuffer,
   1587     PRPC_MESSAGE pRpcMessage,
   1588     DWORD* pdwStubPhase);
   1589 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_RemoveAt_Proxy(
   1590     IXpsOMDashCollection* This,
   1591     UINT32 index);
   1592 void __RPC_STUB IXpsOMDashCollection_RemoveAt_Stub(
   1593     IRpcStubBuffer* This,
   1594     IRpcChannelBuffer* pRpcChannelBuffer,
   1595     PRPC_MESSAGE pRpcMessage,
   1596     DWORD* pdwStubPhase);
   1597 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_SetAt_Proxy(
   1598     IXpsOMDashCollection* This,
   1599     UINT32 index,
   1600     const XPS_DASH *dash);
   1601 void __RPC_STUB IXpsOMDashCollection_SetAt_Stub(
   1602     IRpcStubBuffer* This,
   1603     IRpcChannelBuffer* pRpcChannelBuffer,
   1604     PRPC_MESSAGE pRpcMessage,
   1605     DWORD* pdwStubPhase);
   1606 HRESULT STDMETHODCALLTYPE IXpsOMDashCollection_Append_Proxy(
   1607     IXpsOMDashCollection* This,
   1608     const XPS_DASH *dash);
   1609 void __RPC_STUB IXpsOMDashCollection_Append_Stub(
   1610     IRpcStubBuffer* This,
   1611     IRpcChannelBuffer* pRpcChannelBuffer,
   1612     PRPC_MESSAGE pRpcMessage,
   1613     DWORD* pdwStubPhase);
   1614 
   1615 #endif  /* __IXpsOMDashCollection_INTERFACE_DEFINED__ */
   1616 
   1617 /*****************************************************************************
   1618  * IXpsOMGeometryFigure interface
   1619  */
   1620 #ifndef __IXpsOMGeometryFigure_INTERFACE_DEFINED__
   1621 #define __IXpsOMGeometryFigure_INTERFACE_DEFINED__
   1622 
   1623 DEFINE_GUID(IID_IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a);
   1624 #if defined(__cplusplus) && !defined(CINTERFACE)
   1625 MIDL_INTERFACE("d410dc83-908c-443e-8947-b1795d3c165a")
   1626 IXpsOMGeometryFigure : public IUnknown
   1627 {
   1628     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   1629         IXpsOMGeometry **owner) = 0;
   1630 
   1631     virtual HRESULT STDMETHODCALLTYPE GetSegmentData(
   1632         UINT32 *dataCount,
   1633         FLOAT *segmentData) = 0;
   1634 
   1635     virtual HRESULT STDMETHODCALLTYPE GetSegmentTypes(
   1636         UINT32 *segmentCount,
   1637         XPS_SEGMENT_TYPE *segmentTypes) = 0;
   1638 
   1639     virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokes(
   1640         UINT32 *segmentCount,
   1641         WINBOOL *segmentStrokes) = 0;
   1642 
   1643     virtual HRESULT STDMETHODCALLTYPE SetSegments(
   1644         UINT32 segmentCount,
   1645         UINT32 segmentDataCount,
   1646         const XPS_SEGMENT_TYPE *segmentTypes,
   1647         const FLOAT *segmentData,
   1648         const WINBOOL *segmentStrokes) = 0;
   1649 
   1650     virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
   1651         XPS_POINT *startPoint) = 0;
   1652 
   1653     virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
   1654         const XPS_POINT *startPoint) = 0;
   1655 
   1656     virtual HRESULT STDMETHODCALLTYPE GetIsClosed(
   1657         WINBOOL *isClosed) = 0;
   1658 
   1659     virtual HRESULT STDMETHODCALLTYPE SetIsClosed(
   1660         WINBOOL isClosed) = 0;
   1661 
   1662     virtual HRESULT STDMETHODCALLTYPE GetIsFilled(
   1663         WINBOOL *isFilled) = 0;
   1664 
   1665     virtual HRESULT STDMETHODCALLTYPE SetIsFilled(
   1666         WINBOOL isFilled) = 0;
   1667 
   1668     virtual HRESULT STDMETHODCALLTYPE GetSegmentCount(
   1669         UINT32 *segmentCount) = 0;
   1670 
   1671     virtual HRESULT STDMETHODCALLTYPE GetSegmentDataCount(
   1672         UINT32 *segmentDataCount) = 0;
   1673 
   1674     virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokePattern(
   1675         XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) = 0;
   1676 
   1677     virtual HRESULT STDMETHODCALLTYPE Clone(
   1678         IXpsOMGeometryFigure **geometryFigure) = 0;
   1679 
   1680 };
   1681 #ifdef __CRT_UUID_DECL
   1682 __CRT_UUID_DECL(IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a)
   1683 #endif
   1684 #else
   1685 typedef struct IXpsOMGeometryFigureVtbl {
   1686     BEGIN_INTERFACE
   1687 
   1688     /*** IUnknown methods ***/
   1689     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1690         IXpsOMGeometryFigure* This,
   1691         REFIID riid,
   1692         void **ppvObject);
   1693 
   1694     ULONG (STDMETHODCALLTYPE *AddRef)(
   1695         IXpsOMGeometryFigure* This);
   1696 
   1697     ULONG (STDMETHODCALLTYPE *Release)(
   1698         IXpsOMGeometryFigure* This);
   1699 
   1700     /*** IXpsOMGeometryFigure methods ***/
   1701     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   1702         IXpsOMGeometryFigure* This,
   1703         IXpsOMGeometry **owner);
   1704 
   1705     HRESULT (STDMETHODCALLTYPE *GetSegmentData)(
   1706         IXpsOMGeometryFigure* This,
   1707         UINT32 *dataCount,
   1708         FLOAT *segmentData);
   1709 
   1710     HRESULT (STDMETHODCALLTYPE *GetSegmentTypes)(
   1711         IXpsOMGeometryFigure* This,
   1712         UINT32 *segmentCount,
   1713         XPS_SEGMENT_TYPE *segmentTypes);
   1714 
   1715     HRESULT (STDMETHODCALLTYPE *GetSegmentStrokes)(
   1716         IXpsOMGeometryFigure* This,
   1717         UINT32 *segmentCount,
   1718         WINBOOL *segmentStrokes);
   1719 
   1720     HRESULT (STDMETHODCALLTYPE *SetSegments)(
   1721         IXpsOMGeometryFigure* This,
   1722         UINT32 segmentCount,
   1723         UINT32 segmentDataCount,
   1724         const XPS_SEGMENT_TYPE *segmentTypes,
   1725         const FLOAT *segmentData,
   1726         const WINBOOL *segmentStrokes);
   1727 
   1728     HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
   1729         IXpsOMGeometryFigure* This,
   1730         XPS_POINT *startPoint);
   1731 
   1732     HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
   1733         IXpsOMGeometryFigure* This,
   1734         const XPS_POINT *startPoint);
   1735 
   1736     HRESULT (STDMETHODCALLTYPE *GetIsClosed)(
   1737         IXpsOMGeometryFigure* This,
   1738         WINBOOL *isClosed);
   1739 
   1740     HRESULT (STDMETHODCALLTYPE *SetIsClosed)(
   1741         IXpsOMGeometryFigure* This,
   1742         WINBOOL isClosed);
   1743 
   1744     HRESULT (STDMETHODCALLTYPE *GetIsFilled)(
   1745         IXpsOMGeometryFigure* This,
   1746         WINBOOL *isFilled);
   1747 
   1748     HRESULT (STDMETHODCALLTYPE *SetIsFilled)(
   1749         IXpsOMGeometryFigure* This,
   1750         WINBOOL isFilled);
   1751 
   1752     HRESULT (STDMETHODCALLTYPE *GetSegmentCount)(
   1753         IXpsOMGeometryFigure* This,
   1754         UINT32 *segmentCount);
   1755 
   1756     HRESULT (STDMETHODCALLTYPE *GetSegmentDataCount)(
   1757         IXpsOMGeometryFigure* This,
   1758         UINT32 *segmentDataCount);
   1759 
   1760     HRESULT (STDMETHODCALLTYPE *GetSegmentStrokePattern)(
   1761         IXpsOMGeometryFigure* This,
   1762         XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern);
   1763 
   1764     HRESULT (STDMETHODCALLTYPE *Clone)(
   1765         IXpsOMGeometryFigure* This,
   1766         IXpsOMGeometryFigure **geometryFigure);
   1767 
   1768     END_INTERFACE
   1769 } IXpsOMGeometryFigureVtbl;
   1770 interface IXpsOMGeometryFigure {
   1771     CONST_VTBL IXpsOMGeometryFigureVtbl* lpVtbl;
   1772 };
   1773 
   1774 #ifdef COBJMACROS
   1775 #ifndef WIDL_C_INLINE_WRAPPERS
   1776 /*** IUnknown methods ***/
   1777 #define IXpsOMGeometryFigure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1778 #define IXpsOMGeometryFigure_AddRef(This) (This)->lpVtbl->AddRef(This)
   1779 #define IXpsOMGeometryFigure_Release(This) (This)->lpVtbl->Release(This)
   1780 /*** IXpsOMGeometryFigure methods ***/
   1781 #define IXpsOMGeometryFigure_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   1782 #define IXpsOMGeometryFigure_GetSegmentData(This,dataCount,segmentData) (This)->lpVtbl->GetSegmentData(This,dataCount,segmentData)
   1783 #define IXpsOMGeometryFigure_GetSegmentTypes(This,segmentCount,segmentTypes) (This)->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes)
   1784 #define IXpsOMGeometryFigure_GetSegmentStrokes(This,segmentCount,segmentStrokes) (This)->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes)
   1785 #define IXpsOMGeometryFigure_SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes) (This)->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes)
   1786 #define IXpsOMGeometryFigure_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
   1787 #define IXpsOMGeometryFigure_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
   1788 #define IXpsOMGeometryFigure_GetIsClosed(This,isClosed) (This)->lpVtbl->GetIsClosed(This,isClosed)
   1789 #define IXpsOMGeometryFigure_SetIsClosed(This,isClosed) (This)->lpVtbl->SetIsClosed(This,isClosed)
   1790 #define IXpsOMGeometryFigure_GetIsFilled(This,isFilled) (This)->lpVtbl->GetIsFilled(This,isFilled)
   1791 #define IXpsOMGeometryFigure_SetIsFilled(This,isFilled) (This)->lpVtbl->SetIsFilled(This,isFilled)
   1792 #define IXpsOMGeometryFigure_GetSegmentCount(This,segmentCount) (This)->lpVtbl->GetSegmentCount(This,segmentCount)
   1793 #define IXpsOMGeometryFigure_GetSegmentDataCount(This,segmentDataCount) (This)->lpVtbl->GetSegmentDataCount(This,segmentDataCount)
   1794 #define IXpsOMGeometryFigure_GetSegmentStrokePattern(This,segmentStrokePattern) (This)->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern)
   1795 #define IXpsOMGeometryFigure_Clone(This,geometryFigure) (This)->lpVtbl->Clone(This,geometryFigure)
   1796 #else
   1797 /*** IUnknown methods ***/
   1798 static FORCEINLINE HRESULT IXpsOMGeometryFigure_QueryInterface(IXpsOMGeometryFigure* This,REFIID riid,void **ppvObject) {
   1799     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1800 }
   1801 static FORCEINLINE ULONG IXpsOMGeometryFigure_AddRef(IXpsOMGeometryFigure* This) {
   1802     return This->lpVtbl->AddRef(This);
   1803 }
   1804 static FORCEINLINE ULONG IXpsOMGeometryFigure_Release(IXpsOMGeometryFigure* This) {
   1805     return This->lpVtbl->Release(This);
   1806 }
   1807 /*** IXpsOMGeometryFigure methods ***/
   1808 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetOwner(IXpsOMGeometryFigure* This,IXpsOMGeometry **owner) {
   1809     return This->lpVtbl->GetOwner(This,owner);
   1810 }
   1811 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentData(IXpsOMGeometryFigure* This,UINT32 *dataCount,FLOAT *segmentData) {
   1812     return This->lpVtbl->GetSegmentData(This,dataCount,segmentData);
   1813 }
   1814 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentTypes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,XPS_SEGMENT_TYPE *segmentTypes) {
   1815     return This->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes);
   1816 }
   1817 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentStrokes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,WINBOOL *segmentStrokes) {
   1818     return This->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes);
   1819 }
   1820 static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetSegments(IXpsOMGeometryFigure* This,UINT32 segmentCount,UINT32 segmentDataCount,const XPS_SEGMENT_TYPE *segmentTypes,const FLOAT *segmentData,const WINBOOL *segmentStrokes) {
   1821     return This->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes);
   1822 }
   1823 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetStartPoint(IXpsOMGeometryFigure* This,XPS_POINT *startPoint) {
   1824     return This->lpVtbl->GetStartPoint(This,startPoint);
   1825 }
   1826 static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetStartPoint(IXpsOMGeometryFigure* This,const XPS_POINT *startPoint) {
   1827     return This->lpVtbl->SetStartPoint(This,startPoint);
   1828 }
   1829 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetIsClosed(IXpsOMGeometryFigure* This,WINBOOL *isClosed) {
   1830     return This->lpVtbl->GetIsClosed(This,isClosed);
   1831 }
   1832 static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetIsClosed(IXpsOMGeometryFigure* This,WINBOOL isClosed) {
   1833     return This->lpVtbl->SetIsClosed(This,isClosed);
   1834 }
   1835 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetIsFilled(IXpsOMGeometryFigure* This,WINBOOL *isFilled) {
   1836     return This->lpVtbl->GetIsFilled(This,isFilled);
   1837 }
   1838 static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetIsFilled(IXpsOMGeometryFigure* This,WINBOOL isFilled) {
   1839     return This->lpVtbl->SetIsFilled(This,isFilled);
   1840 }
   1841 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentCount(IXpsOMGeometryFigure* This,UINT32 *segmentCount) {
   1842     return This->lpVtbl->GetSegmentCount(This,segmentCount);
   1843 }
   1844 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentDataCount(IXpsOMGeometryFigure* This,UINT32 *segmentDataCount) {
   1845     return This->lpVtbl->GetSegmentDataCount(This,segmentDataCount);
   1846 }
   1847 static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentStrokePattern(IXpsOMGeometryFigure* This,XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) {
   1848     return This->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern);
   1849 }
   1850 static FORCEINLINE HRESULT IXpsOMGeometryFigure_Clone(IXpsOMGeometryFigure* This,IXpsOMGeometryFigure **geometryFigure) {
   1851     return This->lpVtbl->Clone(This,geometryFigure);
   1852 }
   1853 #endif
   1854 #endif
   1855 
   1856 #endif
   1857 
   1858 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetOwner_Proxy(
   1859     IXpsOMGeometryFigure* This,
   1860     IXpsOMGeometry **owner);
   1861 void __RPC_STUB IXpsOMGeometryFigure_GetOwner_Stub(
   1862     IRpcStubBuffer* This,
   1863     IRpcChannelBuffer* pRpcChannelBuffer,
   1864     PRPC_MESSAGE pRpcMessage,
   1865     DWORD* pdwStubPhase);
   1866 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentData_Proxy(
   1867     IXpsOMGeometryFigure* This,
   1868     UINT32 *dataCount,
   1869     FLOAT *segmentData);
   1870 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentData_Stub(
   1871     IRpcStubBuffer* This,
   1872     IRpcChannelBuffer* pRpcChannelBuffer,
   1873     PRPC_MESSAGE pRpcMessage,
   1874     DWORD* pdwStubPhase);
   1875 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentTypes_Proxy(
   1876     IXpsOMGeometryFigure* This,
   1877     UINT32 *segmentCount,
   1878     XPS_SEGMENT_TYPE *segmentTypes);
   1879 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentTypes_Stub(
   1880     IRpcStubBuffer* This,
   1881     IRpcChannelBuffer* pRpcChannelBuffer,
   1882     PRPC_MESSAGE pRpcMessage,
   1883     DWORD* pdwStubPhase);
   1884 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentStrokes_Proxy(
   1885     IXpsOMGeometryFigure* This,
   1886     UINT32 *segmentCount,
   1887     WINBOOL *segmentStrokes);
   1888 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentStrokes_Stub(
   1889     IRpcStubBuffer* This,
   1890     IRpcChannelBuffer* pRpcChannelBuffer,
   1891     PRPC_MESSAGE pRpcMessage,
   1892     DWORD* pdwStubPhase);
   1893 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_SetSegments_Proxy(
   1894     IXpsOMGeometryFigure* This,
   1895     UINT32 segmentCount,
   1896     UINT32 segmentDataCount,
   1897     const XPS_SEGMENT_TYPE *segmentTypes,
   1898     const FLOAT *segmentData,
   1899     const WINBOOL *segmentStrokes);
   1900 void __RPC_STUB IXpsOMGeometryFigure_SetSegments_Stub(
   1901     IRpcStubBuffer* This,
   1902     IRpcChannelBuffer* pRpcChannelBuffer,
   1903     PRPC_MESSAGE pRpcMessage,
   1904     DWORD* pdwStubPhase);
   1905 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetStartPoint_Proxy(
   1906     IXpsOMGeometryFigure* This,
   1907     XPS_POINT *startPoint);
   1908 void __RPC_STUB IXpsOMGeometryFigure_GetStartPoint_Stub(
   1909     IRpcStubBuffer* This,
   1910     IRpcChannelBuffer* pRpcChannelBuffer,
   1911     PRPC_MESSAGE pRpcMessage,
   1912     DWORD* pdwStubPhase);
   1913 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_SetStartPoint_Proxy(
   1914     IXpsOMGeometryFigure* This,
   1915     const XPS_POINT *startPoint);
   1916 void __RPC_STUB IXpsOMGeometryFigure_SetStartPoint_Stub(
   1917     IRpcStubBuffer* This,
   1918     IRpcChannelBuffer* pRpcChannelBuffer,
   1919     PRPC_MESSAGE pRpcMessage,
   1920     DWORD* pdwStubPhase);
   1921 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetIsClosed_Proxy(
   1922     IXpsOMGeometryFigure* This,
   1923     WINBOOL *isClosed);
   1924 void __RPC_STUB IXpsOMGeometryFigure_GetIsClosed_Stub(
   1925     IRpcStubBuffer* This,
   1926     IRpcChannelBuffer* pRpcChannelBuffer,
   1927     PRPC_MESSAGE pRpcMessage,
   1928     DWORD* pdwStubPhase);
   1929 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_SetIsClosed_Proxy(
   1930     IXpsOMGeometryFigure* This,
   1931     WINBOOL isClosed);
   1932 void __RPC_STUB IXpsOMGeometryFigure_SetIsClosed_Stub(
   1933     IRpcStubBuffer* This,
   1934     IRpcChannelBuffer* pRpcChannelBuffer,
   1935     PRPC_MESSAGE pRpcMessage,
   1936     DWORD* pdwStubPhase);
   1937 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetIsFilled_Proxy(
   1938     IXpsOMGeometryFigure* This,
   1939     WINBOOL *isFilled);
   1940 void __RPC_STUB IXpsOMGeometryFigure_GetIsFilled_Stub(
   1941     IRpcStubBuffer* This,
   1942     IRpcChannelBuffer* pRpcChannelBuffer,
   1943     PRPC_MESSAGE pRpcMessage,
   1944     DWORD* pdwStubPhase);
   1945 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_SetIsFilled_Proxy(
   1946     IXpsOMGeometryFigure* This,
   1947     WINBOOL isFilled);
   1948 void __RPC_STUB IXpsOMGeometryFigure_SetIsFilled_Stub(
   1949     IRpcStubBuffer* This,
   1950     IRpcChannelBuffer* pRpcChannelBuffer,
   1951     PRPC_MESSAGE pRpcMessage,
   1952     DWORD* pdwStubPhase);
   1953 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentCount_Proxy(
   1954     IXpsOMGeometryFigure* This,
   1955     UINT32 *segmentCount);
   1956 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentCount_Stub(
   1957     IRpcStubBuffer* This,
   1958     IRpcChannelBuffer* pRpcChannelBuffer,
   1959     PRPC_MESSAGE pRpcMessage,
   1960     DWORD* pdwStubPhase);
   1961 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentDataCount_Proxy(
   1962     IXpsOMGeometryFigure* This,
   1963     UINT32 *segmentDataCount);
   1964 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentDataCount_Stub(
   1965     IRpcStubBuffer* This,
   1966     IRpcChannelBuffer* pRpcChannelBuffer,
   1967     PRPC_MESSAGE pRpcMessage,
   1968     DWORD* pdwStubPhase);
   1969 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_GetSegmentStrokePattern_Proxy(
   1970     IXpsOMGeometryFigure* This,
   1971     XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern);
   1972 void __RPC_STUB IXpsOMGeometryFigure_GetSegmentStrokePattern_Stub(
   1973     IRpcStubBuffer* This,
   1974     IRpcChannelBuffer* pRpcChannelBuffer,
   1975     PRPC_MESSAGE pRpcMessage,
   1976     DWORD* pdwStubPhase);
   1977 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigure_Clone_Proxy(
   1978     IXpsOMGeometryFigure* This,
   1979     IXpsOMGeometryFigure **geometryFigure);
   1980 void __RPC_STUB IXpsOMGeometryFigure_Clone_Stub(
   1981     IRpcStubBuffer* This,
   1982     IRpcChannelBuffer* pRpcChannelBuffer,
   1983     PRPC_MESSAGE pRpcMessage,
   1984     DWORD* pdwStubPhase);
   1985 
   1986 #endif  /* __IXpsOMGeometryFigure_INTERFACE_DEFINED__ */
   1987 
   1988 /*****************************************************************************
   1989  * IXpsOMGeometryFigureCollection interface
   1990  */
   1991 #ifndef __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
   1992 #define __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
   1993 
   1994 DEFINE_GUID(IID_IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2);
   1995 #if defined(__cplusplus) && !defined(CINTERFACE)
   1996 MIDL_INTERFACE("fd48c3f3-a58e-4b5a-8826-1de54abe72b2")
   1997 IXpsOMGeometryFigureCollection : public IUnknown
   1998 {
   1999     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2000         UINT32 *count) = 0;
   2001 
   2002     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2003         UINT32 index,
   2004         IXpsOMGeometryFigure **geometryFigure) = 0;
   2005 
   2006     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2007         UINT32 index,
   2008         IXpsOMGeometryFigure *geometryFigure) = 0;
   2009 
   2010     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2011         UINT32 index) = 0;
   2012 
   2013     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2014         UINT32 index,
   2015         IXpsOMGeometryFigure *geometryFigure) = 0;
   2016 
   2017     virtual HRESULT STDMETHODCALLTYPE Append(
   2018         IXpsOMGeometryFigure *geometryFigure) = 0;
   2019 
   2020 };
   2021 #ifdef __CRT_UUID_DECL
   2022 __CRT_UUID_DECL(IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2)
   2023 #endif
   2024 #else
   2025 typedef struct IXpsOMGeometryFigureCollectionVtbl {
   2026     BEGIN_INTERFACE
   2027 
   2028     /*** IUnknown methods ***/
   2029     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2030         IXpsOMGeometryFigureCollection* This,
   2031         REFIID riid,
   2032         void **ppvObject);
   2033 
   2034     ULONG (STDMETHODCALLTYPE *AddRef)(
   2035         IXpsOMGeometryFigureCollection* This);
   2036 
   2037     ULONG (STDMETHODCALLTYPE *Release)(
   2038         IXpsOMGeometryFigureCollection* This);
   2039 
   2040     /*** IXpsOMGeometryFigureCollection methods ***/
   2041     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2042         IXpsOMGeometryFigureCollection* This,
   2043         UINT32 *count);
   2044 
   2045     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2046         IXpsOMGeometryFigureCollection* This,
   2047         UINT32 index,
   2048         IXpsOMGeometryFigure **geometryFigure);
   2049 
   2050     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2051         IXpsOMGeometryFigureCollection* This,
   2052         UINT32 index,
   2053         IXpsOMGeometryFigure *geometryFigure);
   2054 
   2055     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2056         IXpsOMGeometryFigureCollection* This,
   2057         UINT32 index);
   2058 
   2059     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2060         IXpsOMGeometryFigureCollection* This,
   2061         UINT32 index,
   2062         IXpsOMGeometryFigure *geometryFigure);
   2063 
   2064     HRESULT (STDMETHODCALLTYPE *Append)(
   2065         IXpsOMGeometryFigureCollection* This,
   2066         IXpsOMGeometryFigure *geometryFigure);
   2067 
   2068     END_INTERFACE
   2069 } IXpsOMGeometryFigureCollectionVtbl;
   2070 interface IXpsOMGeometryFigureCollection {
   2071     CONST_VTBL IXpsOMGeometryFigureCollectionVtbl* lpVtbl;
   2072 };
   2073 
   2074 #ifdef COBJMACROS
   2075 #ifndef WIDL_C_INLINE_WRAPPERS
   2076 /*** IUnknown methods ***/
   2077 #define IXpsOMGeometryFigureCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2078 #define IXpsOMGeometryFigureCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2079 #define IXpsOMGeometryFigureCollection_Release(This) (This)->lpVtbl->Release(This)
   2080 /*** IXpsOMGeometryFigureCollection methods ***/
   2081 #define IXpsOMGeometryFigureCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2082 #define IXpsOMGeometryFigureCollection_GetAt(This,index,geometryFigure) (This)->lpVtbl->GetAt(This,index,geometryFigure)
   2083 #define IXpsOMGeometryFigureCollection_InsertAt(This,index,geometryFigure) (This)->lpVtbl->InsertAt(This,index,geometryFigure)
   2084 #define IXpsOMGeometryFigureCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2085 #define IXpsOMGeometryFigureCollection_SetAt(This,index,geometryFigure) (This)->lpVtbl->SetAt(This,index,geometryFigure)
   2086 #define IXpsOMGeometryFigureCollection_Append(This,geometryFigure) (This)->lpVtbl->Append(This,geometryFigure)
   2087 #else
   2088 /*** IUnknown methods ***/
   2089 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_QueryInterface(IXpsOMGeometryFigureCollection* This,REFIID riid,void **ppvObject) {
   2090     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2091 }
   2092 static FORCEINLINE ULONG IXpsOMGeometryFigureCollection_AddRef(IXpsOMGeometryFigureCollection* This) {
   2093     return This->lpVtbl->AddRef(This);
   2094 }
   2095 static FORCEINLINE ULONG IXpsOMGeometryFigureCollection_Release(IXpsOMGeometryFigureCollection* This) {
   2096     return This->lpVtbl->Release(This);
   2097 }
   2098 /*** IXpsOMGeometryFigureCollection methods ***/
   2099 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_GetCount(IXpsOMGeometryFigureCollection* This,UINT32 *count) {
   2100     return This->lpVtbl->GetCount(This,count);
   2101 }
   2102 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_GetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure **geometryFigure) {
   2103     return This->lpVtbl->GetAt(This,index,geometryFigure);
   2104 }
   2105 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_InsertAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
   2106     return This->lpVtbl->InsertAt(This,index,geometryFigure);
   2107 }
   2108 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_RemoveAt(IXpsOMGeometryFigureCollection* This,UINT32 index) {
   2109     return This->lpVtbl->RemoveAt(This,index);
   2110 }
   2111 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_SetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
   2112     return This->lpVtbl->SetAt(This,index,geometryFigure);
   2113 }
   2114 static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_Append(IXpsOMGeometryFigureCollection* This,IXpsOMGeometryFigure *geometryFigure) {
   2115     return This->lpVtbl->Append(This,geometryFigure);
   2116 }
   2117 #endif
   2118 #endif
   2119 
   2120 #endif
   2121 
   2122 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_GetCount_Proxy(
   2123     IXpsOMGeometryFigureCollection* This,
   2124     UINT32 *count);
   2125 void __RPC_STUB IXpsOMGeometryFigureCollection_GetCount_Stub(
   2126     IRpcStubBuffer* This,
   2127     IRpcChannelBuffer* pRpcChannelBuffer,
   2128     PRPC_MESSAGE pRpcMessage,
   2129     DWORD* pdwStubPhase);
   2130 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_GetAt_Proxy(
   2131     IXpsOMGeometryFigureCollection* This,
   2132     UINT32 index,
   2133     IXpsOMGeometryFigure **geometryFigure);
   2134 void __RPC_STUB IXpsOMGeometryFigureCollection_GetAt_Stub(
   2135     IRpcStubBuffer* This,
   2136     IRpcChannelBuffer* pRpcChannelBuffer,
   2137     PRPC_MESSAGE pRpcMessage,
   2138     DWORD* pdwStubPhase);
   2139 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_InsertAt_Proxy(
   2140     IXpsOMGeometryFigureCollection* This,
   2141     UINT32 index,
   2142     IXpsOMGeometryFigure *geometryFigure);
   2143 void __RPC_STUB IXpsOMGeometryFigureCollection_InsertAt_Stub(
   2144     IRpcStubBuffer* This,
   2145     IRpcChannelBuffer* pRpcChannelBuffer,
   2146     PRPC_MESSAGE pRpcMessage,
   2147     DWORD* pdwStubPhase);
   2148 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_RemoveAt_Proxy(
   2149     IXpsOMGeometryFigureCollection* This,
   2150     UINT32 index);
   2151 void __RPC_STUB IXpsOMGeometryFigureCollection_RemoveAt_Stub(
   2152     IRpcStubBuffer* This,
   2153     IRpcChannelBuffer* pRpcChannelBuffer,
   2154     PRPC_MESSAGE pRpcMessage,
   2155     DWORD* pdwStubPhase);
   2156 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_SetAt_Proxy(
   2157     IXpsOMGeometryFigureCollection* This,
   2158     UINT32 index,
   2159     IXpsOMGeometryFigure *geometryFigure);
   2160 void __RPC_STUB IXpsOMGeometryFigureCollection_SetAt_Stub(
   2161     IRpcStubBuffer* This,
   2162     IRpcChannelBuffer* pRpcChannelBuffer,
   2163     PRPC_MESSAGE pRpcMessage,
   2164     DWORD* pdwStubPhase);
   2165 HRESULT STDMETHODCALLTYPE IXpsOMGeometryFigureCollection_Append_Proxy(
   2166     IXpsOMGeometryFigureCollection* This,
   2167     IXpsOMGeometryFigure *geometryFigure);
   2168 void __RPC_STUB IXpsOMGeometryFigureCollection_Append_Stub(
   2169     IRpcStubBuffer* This,
   2170     IRpcChannelBuffer* pRpcChannelBuffer,
   2171     PRPC_MESSAGE pRpcMessage,
   2172     DWORD* pdwStubPhase);
   2173 
   2174 #endif  /* __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__ */
   2175 
   2176 /*****************************************************************************
   2177  * IXpsOMGradientStopCollection interface
   2178  */
   2179 #ifndef __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
   2180 #define __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
   2181 
   2182 DEFINE_GUID(IID_IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef);
   2183 #if defined(__cplusplus) && !defined(CINTERFACE)
   2184 MIDL_INTERFACE("c9174c3a-3cd3-4319-bda4-11a39392ceef")
   2185 IXpsOMGradientStopCollection : public IUnknown
   2186 {
   2187     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2188         UINT32 *count) = 0;
   2189 
   2190     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2191         UINT32 index,
   2192         IXpsOMGradientStop **stop) = 0;
   2193 
   2194     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2195         UINT32 index,
   2196         IXpsOMGradientStop *stop) = 0;
   2197 
   2198     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2199         UINT32 index) = 0;
   2200 
   2201     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2202         UINT32 index,
   2203         IXpsOMGradientStop *stop) = 0;
   2204 
   2205     virtual HRESULT STDMETHODCALLTYPE Append(
   2206         IXpsOMGradientStop *stop) = 0;
   2207 
   2208 };
   2209 #ifdef __CRT_UUID_DECL
   2210 __CRT_UUID_DECL(IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef)
   2211 #endif
   2212 #else
   2213 typedef struct IXpsOMGradientStopCollectionVtbl {
   2214     BEGIN_INTERFACE
   2215 
   2216     /*** IUnknown methods ***/
   2217     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2218         IXpsOMGradientStopCollection* This,
   2219         REFIID riid,
   2220         void **ppvObject);
   2221 
   2222     ULONG (STDMETHODCALLTYPE *AddRef)(
   2223         IXpsOMGradientStopCollection* This);
   2224 
   2225     ULONG (STDMETHODCALLTYPE *Release)(
   2226         IXpsOMGradientStopCollection* This);
   2227 
   2228     /*** IXpsOMGradientStopCollection methods ***/
   2229     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2230         IXpsOMGradientStopCollection* This,
   2231         UINT32 *count);
   2232 
   2233     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2234         IXpsOMGradientStopCollection* This,
   2235         UINT32 index,
   2236         IXpsOMGradientStop **stop);
   2237 
   2238     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2239         IXpsOMGradientStopCollection* This,
   2240         UINT32 index,
   2241         IXpsOMGradientStop *stop);
   2242 
   2243     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2244         IXpsOMGradientStopCollection* This,
   2245         UINT32 index);
   2246 
   2247     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2248         IXpsOMGradientStopCollection* This,
   2249         UINT32 index,
   2250         IXpsOMGradientStop *stop);
   2251 
   2252     HRESULT (STDMETHODCALLTYPE *Append)(
   2253         IXpsOMGradientStopCollection* This,
   2254         IXpsOMGradientStop *stop);
   2255 
   2256     END_INTERFACE
   2257 } IXpsOMGradientStopCollectionVtbl;
   2258 interface IXpsOMGradientStopCollection {
   2259     CONST_VTBL IXpsOMGradientStopCollectionVtbl* lpVtbl;
   2260 };
   2261 
   2262 #ifdef COBJMACROS
   2263 #ifndef WIDL_C_INLINE_WRAPPERS
   2264 /*** IUnknown methods ***/
   2265 #define IXpsOMGradientStopCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2266 #define IXpsOMGradientStopCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2267 #define IXpsOMGradientStopCollection_Release(This) (This)->lpVtbl->Release(This)
   2268 /*** IXpsOMGradientStopCollection methods ***/
   2269 #define IXpsOMGradientStopCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2270 #define IXpsOMGradientStopCollection_GetAt(This,index,stop) (This)->lpVtbl->GetAt(This,index,stop)
   2271 #define IXpsOMGradientStopCollection_InsertAt(This,index,stop) (This)->lpVtbl->InsertAt(This,index,stop)
   2272 #define IXpsOMGradientStopCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2273 #define IXpsOMGradientStopCollection_SetAt(This,index,stop) (This)->lpVtbl->SetAt(This,index,stop)
   2274 #define IXpsOMGradientStopCollection_Append(This,stop) (This)->lpVtbl->Append(This,stop)
   2275 #else
   2276 /*** IUnknown methods ***/
   2277 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_QueryInterface(IXpsOMGradientStopCollection* This,REFIID riid,void **ppvObject) {
   2278     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2279 }
   2280 static FORCEINLINE ULONG IXpsOMGradientStopCollection_AddRef(IXpsOMGradientStopCollection* This) {
   2281     return This->lpVtbl->AddRef(This);
   2282 }
   2283 static FORCEINLINE ULONG IXpsOMGradientStopCollection_Release(IXpsOMGradientStopCollection* This) {
   2284     return This->lpVtbl->Release(This);
   2285 }
   2286 /*** IXpsOMGradientStopCollection methods ***/
   2287 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_GetCount(IXpsOMGradientStopCollection* This,UINT32 *count) {
   2288     return This->lpVtbl->GetCount(This,count);
   2289 }
   2290 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_GetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop **stop) {
   2291     return This->lpVtbl->GetAt(This,index,stop);
   2292 }
   2293 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_InsertAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
   2294     return This->lpVtbl->InsertAt(This,index,stop);
   2295 }
   2296 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_RemoveAt(IXpsOMGradientStopCollection* This,UINT32 index) {
   2297     return This->lpVtbl->RemoveAt(This,index);
   2298 }
   2299 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_SetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
   2300     return This->lpVtbl->SetAt(This,index,stop);
   2301 }
   2302 static FORCEINLINE HRESULT IXpsOMGradientStopCollection_Append(IXpsOMGradientStopCollection* This,IXpsOMGradientStop *stop) {
   2303     return This->lpVtbl->Append(This,stop);
   2304 }
   2305 #endif
   2306 #endif
   2307 
   2308 #endif
   2309 
   2310 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_GetCount_Proxy(
   2311     IXpsOMGradientStopCollection* This,
   2312     UINT32 *count);
   2313 void __RPC_STUB IXpsOMGradientStopCollection_GetCount_Stub(
   2314     IRpcStubBuffer* This,
   2315     IRpcChannelBuffer* pRpcChannelBuffer,
   2316     PRPC_MESSAGE pRpcMessage,
   2317     DWORD* pdwStubPhase);
   2318 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_GetAt_Proxy(
   2319     IXpsOMGradientStopCollection* This,
   2320     UINT32 index,
   2321     IXpsOMGradientStop **stop);
   2322 void __RPC_STUB IXpsOMGradientStopCollection_GetAt_Stub(
   2323     IRpcStubBuffer* This,
   2324     IRpcChannelBuffer* pRpcChannelBuffer,
   2325     PRPC_MESSAGE pRpcMessage,
   2326     DWORD* pdwStubPhase);
   2327 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_InsertAt_Proxy(
   2328     IXpsOMGradientStopCollection* This,
   2329     UINT32 index,
   2330     IXpsOMGradientStop *stop);
   2331 void __RPC_STUB IXpsOMGradientStopCollection_InsertAt_Stub(
   2332     IRpcStubBuffer* This,
   2333     IRpcChannelBuffer* pRpcChannelBuffer,
   2334     PRPC_MESSAGE pRpcMessage,
   2335     DWORD* pdwStubPhase);
   2336 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_RemoveAt_Proxy(
   2337     IXpsOMGradientStopCollection* This,
   2338     UINT32 index);
   2339 void __RPC_STUB IXpsOMGradientStopCollection_RemoveAt_Stub(
   2340     IRpcStubBuffer* This,
   2341     IRpcChannelBuffer* pRpcChannelBuffer,
   2342     PRPC_MESSAGE pRpcMessage,
   2343     DWORD* pdwStubPhase);
   2344 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_SetAt_Proxy(
   2345     IXpsOMGradientStopCollection* This,
   2346     UINT32 index,
   2347     IXpsOMGradientStop *stop);
   2348 void __RPC_STUB IXpsOMGradientStopCollection_SetAt_Stub(
   2349     IRpcStubBuffer* This,
   2350     IRpcChannelBuffer* pRpcChannelBuffer,
   2351     PRPC_MESSAGE pRpcMessage,
   2352     DWORD* pdwStubPhase);
   2353 HRESULT STDMETHODCALLTYPE IXpsOMGradientStopCollection_Append_Proxy(
   2354     IXpsOMGradientStopCollection* This,
   2355     IXpsOMGradientStop *stop);
   2356 void __RPC_STUB IXpsOMGradientStopCollection_Append_Stub(
   2357     IRpcStubBuffer* This,
   2358     IRpcChannelBuffer* pRpcChannelBuffer,
   2359     PRPC_MESSAGE pRpcMessage,
   2360     DWORD* pdwStubPhase);
   2361 
   2362 #endif  /* __IXpsOMGradientStopCollection_INTERFACE_DEFINED__ */
   2363 
   2364 /*****************************************************************************
   2365  * IXpsOMGradientStop interface
   2366  */
   2367 #ifndef __IXpsOMGradientStop_INTERFACE_DEFINED__
   2368 #define __IXpsOMGradientStop_INTERFACE_DEFINED__
   2369 
   2370 DEFINE_GUID(IID_IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49);
   2371 #if defined(__cplusplus) && !defined(CINTERFACE)
   2372 MIDL_INTERFACE("5cf4f5cc-3969-49b5-a70a-5550b618fe49")
   2373 IXpsOMGradientStop : public IUnknown
   2374 {
   2375     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   2376         IXpsOMGradientBrush **owner) = 0;
   2377 
   2378     virtual HRESULT STDMETHODCALLTYPE GetOffset(
   2379         FLOAT *offset) = 0;
   2380 
   2381     virtual HRESULT STDMETHODCALLTYPE SetOffset(
   2382         FLOAT offset) = 0;
   2383 
   2384     virtual HRESULT STDMETHODCALLTYPE GetColor(
   2385         XPS_COLOR *color,
   2386         IXpsOMColorProfileResource **colorProfile) = 0;
   2387 
   2388     virtual HRESULT STDMETHODCALLTYPE SetColor(
   2389         const XPS_COLOR *color,
   2390         IXpsOMColorProfileResource *colorProfile) = 0;
   2391 
   2392     virtual HRESULT STDMETHODCALLTYPE Clone(
   2393         IXpsOMGradientStop **gradientStop) = 0;
   2394 
   2395 };
   2396 #ifdef __CRT_UUID_DECL
   2397 __CRT_UUID_DECL(IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49)
   2398 #endif
   2399 #else
   2400 typedef struct IXpsOMGradientStopVtbl {
   2401     BEGIN_INTERFACE
   2402 
   2403     /*** IUnknown methods ***/
   2404     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2405         IXpsOMGradientStop* This,
   2406         REFIID riid,
   2407         void **ppvObject);
   2408 
   2409     ULONG (STDMETHODCALLTYPE *AddRef)(
   2410         IXpsOMGradientStop* This);
   2411 
   2412     ULONG (STDMETHODCALLTYPE *Release)(
   2413         IXpsOMGradientStop* This);
   2414 
   2415     /*** IXpsOMGradientStop methods ***/
   2416     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   2417         IXpsOMGradientStop* This,
   2418         IXpsOMGradientBrush **owner);
   2419 
   2420     HRESULT (STDMETHODCALLTYPE *GetOffset)(
   2421         IXpsOMGradientStop* This,
   2422         FLOAT *offset);
   2423 
   2424     HRESULT (STDMETHODCALLTYPE *SetOffset)(
   2425         IXpsOMGradientStop* This,
   2426         FLOAT offset);
   2427 
   2428     HRESULT (STDMETHODCALLTYPE *GetColor)(
   2429         IXpsOMGradientStop* This,
   2430         XPS_COLOR *color,
   2431         IXpsOMColorProfileResource **colorProfile);
   2432 
   2433     HRESULT (STDMETHODCALLTYPE *SetColor)(
   2434         IXpsOMGradientStop* This,
   2435         const XPS_COLOR *color,
   2436         IXpsOMColorProfileResource *colorProfile);
   2437 
   2438     HRESULT (STDMETHODCALLTYPE *Clone)(
   2439         IXpsOMGradientStop* This,
   2440         IXpsOMGradientStop **gradientStop);
   2441 
   2442     END_INTERFACE
   2443 } IXpsOMGradientStopVtbl;
   2444 interface IXpsOMGradientStop {
   2445     CONST_VTBL IXpsOMGradientStopVtbl* lpVtbl;
   2446 };
   2447 
   2448 #ifdef COBJMACROS
   2449 #ifndef WIDL_C_INLINE_WRAPPERS
   2450 /*** IUnknown methods ***/
   2451 #define IXpsOMGradientStop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2452 #define IXpsOMGradientStop_AddRef(This) (This)->lpVtbl->AddRef(This)
   2453 #define IXpsOMGradientStop_Release(This) (This)->lpVtbl->Release(This)
   2454 /*** IXpsOMGradientStop methods ***/
   2455 #define IXpsOMGradientStop_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   2456 #define IXpsOMGradientStop_GetOffset(This,offset) (This)->lpVtbl->GetOffset(This,offset)
   2457 #define IXpsOMGradientStop_SetOffset(This,offset) (This)->lpVtbl->SetOffset(This,offset)
   2458 #define IXpsOMGradientStop_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
   2459 #define IXpsOMGradientStop_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
   2460 #define IXpsOMGradientStop_Clone(This,gradientStop) (This)->lpVtbl->Clone(This,gradientStop)
   2461 #else
   2462 /*** IUnknown methods ***/
   2463 static FORCEINLINE HRESULT IXpsOMGradientStop_QueryInterface(IXpsOMGradientStop* This,REFIID riid,void **ppvObject) {
   2464     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2465 }
   2466 static FORCEINLINE ULONG IXpsOMGradientStop_AddRef(IXpsOMGradientStop* This) {
   2467     return This->lpVtbl->AddRef(This);
   2468 }
   2469 static FORCEINLINE ULONG IXpsOMGradientStop_Release(IXpsOMGradientStop* This) {
   2470     return This->lpVtbl->Release(This);
   2471 }
   2472 /*** IXpsOMGradientStop methods ***/
   2473 static FORCEINLINE HRESULT IXpsOMGradientStop_GetOwner(IXpsOMGradientStop* This,IXpsOMGradientBrush **owner) {
   2474     return This->lpVtbl->GetOwner(This,owner);
   2475 }
   2476 static FORCEINLINE HRESULT IXpsOMGradientStop_GetOffset(IXpsOMGradientStop* This,FLOAT *offset) {
   2477     return This->lpVtbl->GetOffset(This,offset);
   2478 }
   2479 static FORCEINLINE HRESULT IXpsOMGradientStop_SetOffset(IXpsOMGradientStop* This,FLOAT offset) {
   2480     return This->lpVtbl->SetOffset(This,offset);
   2481 }
   2482 static FORCEINLINE HRESULT IXpsOMGradientStop_GetColor(IXpsOMGradientStop* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
   2483     return This->lpVtbl->GetColor(This,color,colorProfile);
   2484 }
   2485 static FORCEINLINE HRESULT IXpsOMGradientStop_SetColor(IXpsOMGradientStop* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
   2486     return This->lpVtbl->SetColor(This,color,colorProfile);
   2487 }
   2488 static FORCEINLINE HRESULT IXpsOMGradientStop_Clone(IXpsOMGradientStop* This,IXpsOMGradientStop **gradientStop) {
   2489     return This->lpVtbl->Clone(This,gradientStop);
   2490 }
   2491 #endif
   2492 #endif
   2493 
   2494 #endif
   2495 
   2496 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_GetOwner_Proxy(
   2497     IXpsOMGradientStop* This,
   2498     IXpsOMGradientBrush **owner);
   2499 void __RPC_STUB IXpsOMGradientStop_GetOwner_Stub(
   2500     IRpcStubBuffer* This,
   2501     IRpcChannelBuffer* pRpcChannelBuffer,
   2502     PRPC_MESSAGE pRpcMessage,
   2503     DWORD* pdwStubPhase);
   2504 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_GetOffset_Proxy(
   2505     IXpsOMGradientStop* This,
   2506     FLOAT *offset);
   2507 void __RPC_STUB IXpsOMGradientStop_GetOffset_Stub(
   2508     IRpcStubBuffer* This,
   2509     IRpcChannelBuffer* pRpcChannelBuffer,
   2510     PRPC_MESSAGE pRpcMessage,
   2511     DWORD* pdwStubPhase);
   2512 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_SetOffset_Proxy(
   2513     IXpsOMGradientStop* This,
   2514     FLOAT offset);
   2515 void __RPC_STUB IXpsOMGradientStop_SetOffset_Stub(
   2516     IRpcStubBuffer* This,
   2517     IRpcChannelBuffer* pRpcChannelBuffer,
   2518     PRPC_MESSAGE pRpcMessage,
   2519     DWORD* pdwStubPhase);
   2520 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_GetColor_Proxy(
   2521     IXpsOMGradientStop* This,
   2522     XPS_COLOR *color,
   2523     IXpsOMColorProfileResource **colorProfile);
   2524 void __RPC_STUB IXpsOMGradientStop_GetColor_Stub(
   2525     IRpcStubBuffer* This,
   2526     IRpcChannelBuffer* pRpcChannelBuffer,
   2527     PRPC_MESSAGE pRpcMessage,
   2528     DWORD* pdwStubPhase);
   2529 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_SetColor_Proxy(
   2530     IXpsOMGradientStop* This,
   2531     const XPS_COLOR *color,
   2532     IXpsOMColorProfileResource *colorProfile);
   2533 void __RPC_STUB IXpsOMGradientStop_SetColor_Stub(
   2534     IRpcStubBuffer* This,
   2535     IRpcChannelBuffer* pRpcChannelBuffer,
   2536     PRPC_MESSAGE pRpcMessage,
   2537     DWORD* pdwStubPhase);
   2538 HRESULT STDMETHODCALLTYPE IXpsOMGradientStop_Clone_Proxy(
   2539     IXpsOMGradientStop* This,
   2540     IXpsOMGradientStop **gradientStop);
   2541 void __RPC_STUB IXpsOMGradientStop_Clone_Stub(
   2542     IRpcStubBuffer* This,
   2543     IRpcChannelBuffer* pRpcChannelBuffer,
   2544     PRPC_MESSAGE pRpcMessage,
   2545     DWORD* pdwStubPhase);
   2546 
   2547 #endif  /* __IXpsOMGradientStop_INTERFACE_DEFINED__ */
   2548 
   2549 /*****************************************************************************
   2550  * IXpsOMPartResources interface
   2551  */
   2552 #ifndef __IXpsOMPartResources_INTERFACE_DEFINED__
   2553 #define __IXpsOMPartResources_INTERFACE_DEFINED__
   2554 
   2555 DEFINE_GUID(IID_IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf);
   2556 #if defined(__cplusplus) && !defined(CINTERFACE)
   2557 MIDL_INTERFACE("f4cf7729-4864-4275-99b3-a8717163ecaf")
   2558 IXpsOMPartResources : public IUnknown
   2559 {
   2560     virtual HRESULT STDMETHODCALLTYPE GetFontResources(
   2561         IXpsOMFontResourceCollection **fontResources) = 0;
   2562 
   2563     virtual HRESULT STDMETHODCALLTYPE GetImageResources(
   2564         IXpsOMImageResourceCollection **imageResources) = 0;
   2565 
   2566     virtual HRESULT STDMETHODCALLTYPE GetColorProfileResources(
   2567         IXpsOMColorProfileResourceCollection **colorProfileResources) = 0;
   2568 
   2569     virtual HRESULT STDMETHODCALLTYPE GetRemoteDictionaryResources(
   2570         IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) = 0;
   2571 
   2572 };
   2573 #ifdef __CRT_UUID_DECL
   2574 __CRT_UUID_DECL(IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf)
   2575 #endif
   2576 #else
   2577 typedef struct IXpsOMPartResourcesVtbl {
   2578     BEGIN_INTERFACE
   2579 
   2580     /*** IUnknown methods ***/
   2581     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2582         IXpsOMPartResources* This,
   2583         REFIID riid,
   2584         void **ppvObject);
   2585 
   2586     ULONG (STDMETHODCALLTYPE *AddRef)(
   2587         IXpsOMPartResources* This);
   2588 
   2589     ULONG (STDMETHODCALLTYPE *Release)(
   2590         IXpsOMPartResources* This);
   2591 
   2592     /*** IXpsOMPartResources methods ***/
   2593     HRESULT (STDMETHODCALLTYPE *GetFontResources)(
   2594         IXpsOMPartResources* This,
   2595         IXpsOMFontResourceCollection **fontResources);
   2596 
   2597     HRESULT (STDMETHODCALLTYPE *GetImageResources)(
   2598         IXpsOMPartResources* This,
   2599         IXpsOMImageResourceCollection **imageResources);
   2600 
   2601     HRESULT (STDMETHODCALLTYPE *GetColorProfileResources)(
   2602         IXpsOMPartResources* This,
   2603         IXpsOMColorProfileResourceCollection **colorProfileResources);
   2604 
   2605     HRESULT (STDMETHODCALLTYPE *GetRemoteDictionaryResources)(
   2606         IXpsOMPartResources* This,
   2607         IXpsOMRemoteDictionaryResourceCollection **dictionaryResources);
   2608 
   2609     END_INTERFACE
   2610 } IXpsOMPartResourcesVtbl;
   2611 interface IXpsOMPartResources {
   2612     CONST_VTBL IXpsOMPartResourcesVtbl* lpVtbl;
   2613 };
   2614 
   2615 #ifdef COBJMACROS
   2616 #ifndef WIDL_C_INLINE_WRAPPERS
   2617 /*** IUnknown methods ***/
   2618 #define IXpsOMPartResources_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2619 #define IXpsOMPartResources_AddRef(This) (This)->lpVtbl->AddRef(This)
   2620 #define IXpsOMPartResources_Release(This) (This)->lpVtbl->Release(This)
   2621 /*** IXpsOMPartResources methods ***/
   2622 #define IXpsOMPartResources_GetFontResources(This,fontResources) (This)->lpVtbl->GetFontResources(This,fontResources)
   2623 #define IXpsOMPartResources_GetImageResources(This,imageResources) (This)->lpVtbl->GetImageResources(This,imageResources)
   2624 #define IXpsOMPartResources_GetColorProfileResources(This,colorProfileResources) (This)->lpVtbl->GetColorProfileResources(This,colorProfileResources)
   2625 #define IXpsOMPartResources_GetRemoteDictionaryResources(This,dictionaryResources) (This)->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources)
   2626 #else
   2627 /*** IUnknown methods ***/
   2628 static FORCEINLINE HRESULT IXpsOMPartResources_QueryInterface(IXpsOMPartResources* This,REFIID riid,void **ppvObject) {
   2629     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2630 }
   2631 static FORCEINLINE ULONG IXpsOMPartResources_AddRef(IXpsOMPartResources* This) {
   2632     return This->lpVtbl->AddRef(This);
   2633 }
   2634 static FORCEINLINE ULONG IXpsOMPartResources_Release(IXpsOMPartResources* This) {
   2635     return This->lpVtbl->Release(This);
   2636 }
   2637 /*** IXpsOMPartResources methods ***/
   2638 static FORCEINLINE HRESULT IXpsOMPartResources_GetFontResources(IXpsOMPartResources* This,IXpsOMFontResourceCollection **fontResources) {
   2639     return This->lpVtbl->GetFontResources(This,fontResources);
   2640 }
   2641 static FORCEINLINE HRESULT IXpsOMPartResources_GetImageResources(IXpsOMPartResources* This,IXpsOMImageResourceCollection **imageResources) {
   2642     return This->lpVtbl->GetImageResources(This,imageResources);
   2643 }
   2644 static FORCEINLINE HRESULT IXpsOMPartResources_GetColorProfileResources(IXpsOMPartResources* This,IXpsOMColorProfileResourceCollection **colorProfileResources) {
   2645     return This->lpVtbl->GetColorProfileResources(This,colorProfileResources);
   2646 }
   2647 static FORCEINLINE HRESULT IXpsOMPartResources_GetRemoteDictionaryResources(IXpsOMPartResources* This,IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) {
   2648     return This->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources);
   2649 }
   2650 #endif
   2651 #endif
   2652 
   2653 #endif
   2654 
   2655 HRESULT STDMETHODCALLTYPE IXpsOMPartResources_GetFontResources_Proxy(
   2656     IXpsOMPartResources* This,
   2657     IXpsOMFontResourceCollection **fontResources);
   2658 void __RPC_STUB IXpsOMPartResources_GetFontResources_Stub(
   2659     IRpcStubBuffer* This,
   2660     IRpcChannelBuffer* pRpcChannelBuffer,
   2661     PRPC_MESSAGE pRpcMessage,
   2662     DWORD* pdwStubPhase);
   2663 HRESULT STDMETHODCALLTYPE IXpsOMPartResources_GetImageResources_Proxy(
   2664     IXpsOMPartResources* This,
   2665     IXpsOMImageResourceCollection **imageResources);
   2666 void __RPC_STUB IXpsOMPartResources_GetImageResources_Stub(
   2667     IRpcStubBuffer* This,
   2668     IRpcChannelBuffer* pRpcChannelBuffer,
   2669     PRPC_MESSAGE pRpcMessage,
   2670     DWORD* pdwStubPhase);
   2671 HRESULT STDMETHODCALLTYPE IXpsOMPartResources_GetColorProfileResources_Proxy(
   2672     IXpsOMPartResources* This,
   2673     IXpsOMColorProfileResourceCollection **colorProfileResources);
   2674 void __RPC_STUB IXpsOMPartResources_GetColorProfileResources_Stub(
   2675     IRpcStubBuffer* This,
   2676     IRpcChannelBuffer* pRpcChannelBuffer,
   2677     PRPC_MESSAGE pRpcMessage,
   2678     DWORD* pdwStubPhase);
   2679 HRESULT STDMETHODCALLTYPE IXpsOMPartResources_GetRemoteDictionaryResources_Proxy(
   2680     IXpsOMPartResources* This,
   2681     IXpsOMRemoteDictionaryResourceCollection **dictionaryResources);
   2682 void __RPC_STUB IXpsOMPartResources_GetRemoteDictionaryResources_Stub(
   2683     IRpcStubBuffer* This,
   2684     IRpcChannelBuffer* pRpcChannelBuffer,
   2685     PRPC_MESSAGE pRpcMessage,
   2686     DWORD* pdwStubPhase);
   2687 
   2688 #endif  /* __IXpsOMPartResources_INTERFACE_DEFINED__ */
   2689 
   2690 /*****************************************************************************
   2691  * IXpsOMFontResourceCollection interface
   2692  */
   2693 #ifndef __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
   2694 #define __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
   2695 
   2696 DEFINE_GUID(IID_IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad);
   2697 #if defined(__cplusplus) && !defined(CINTERFACE)
   2698 MIDL_INTERFACE("70b4a6bb-88d4-4fa8-aaf9-6d9c596fdbad")
   2699 IXpsOMFontResourceCollection : public IUnknown
   2700 {
   2701     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2702         UINT32 *count) = 0;
   2703 
   2704     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2705         UINT32 index,
   2706         IXpsOMFontResource **value) = 0;
   2707 
   2708     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2709         UINT32 index,
   2710         IXpsOMFontResource *value) = 0;
   2711 
   2712     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2713         UINT32 index,
   2714         IXpsOMFontResource *value) = 0;
   2715 
   2716     virtual HRESULT STDMETHODCALLTYPE Append(
   2717         IXpsOMFontResource *value) = 0;
   2718 
   2719     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2720         UINT32 index) = 0;
   2721 
   2722     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2723         IOpcPartUri *partName,
   2724         IXpsOMFontResource **part) = 0;
   2725 
   2726 };
   2727 #ifdef __CRT_UUID_DECL
   2728 __CRT_UUID_DECL(IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad)
   2729 #endif
   2730 #else
   2731 typedef struct IXpsOMFontResourceCollectionVtbl {
   2732     BEGIN_INTERFACE
   2733 
   2734     /*** IUnknown methods ***/
   2735     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2736         IXpsOMFontResourceCollection* This,
   2737         REFIID riid,
   2738         void **ppvObject);
   2739 
   2740     ULONG (STDMETHODCALLTYPE *AddRef)(
   2741         IXpsOMFontResourceCollection* This);
   2742 
   2743     ULONG (STDMETHODCALLTYPE *Release)(
   2744         IXpsOMFontResourceCollection* This);
   2745 
   2746     /*** IXpsOMFontResourceCollection methods ***/
   2747     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2748         IXpsOMFontResourceCollection* This,
   2749         UINT32 *count);
   2750 
   2751     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2752         IXpsOMFontResourceCollection* This,
   2753         UINT32 index,
   2754         IXpsOMFontResource **value);
   2755 
   2756     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2757         IXpsOMFontResourceCollection* This,
   2758         UINT32 index,
   2759         IXpsOMFontResource *value);
   2760 
   2761     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2762         IXpsOMFontResourceCollection* This,
   2763         UINT32 index,
   2764         IXpsOMFontResource *value);
   2765 
   2766     HRESULT (STDMETHODCALLTYPE *Append)(
   2767         IXpsOMFontResourceCollection* This,
   2768         IXpsOMFontResource *value);
   2769 
   2770     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2771         IXpsOMFontResourceCollection* This,
   2772         UINT32 index);
   2773 
   2774     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   2775         IXpsOMFontResourceCollection* This,
   2776         IOpcPartUri *partName,
   2777         IXpsOMFontResource **part);
   2778 
   2779     END_INTERFACE
   2780 } IXpsOMFontResourceCollectionVtbl;
   2781 interface IXpsOMFontResourceCollection {
   2782     CONST_VTBL IXpsOMFontResourceCollectionVtbl* lpVtbl;
   2783 };
   2784 
   2785 #ifdef COBJMACROS
   2786 #ifndef WIDL_C_INLINE_WRAPPERS
   2787 /*** IUnknown methods ***/
   2788 #define IXpsOMFontResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2789 #define IXpsOMFontResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2790 #define IXpsOMFontResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   2791 /*** IXpsOMFontResourceCollection methods ***/
   2792 #define IXpsOMFontResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   2793 #define IXpsOMFontResourceCollection_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
   2794 #define IXpsOMFontResourceCollection_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
   2795 #define IXpsOMFontResourceCollection_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
   2796 #define IXpsOMFontResourceCollection_Append(This,value) (This)->lpVtbl->Append(This,value)
   2797 #define IXpsOMFontResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   2798 #define IXpsOMFontResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   2799 #else
   2800 /*** IUnknown methods ***/
   2801 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_QueryInterface(IXpsOMFontResourceCollection* This,REFIID riid,void **ppvObject) {
   2802     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2803 }
   2804 static FORCEINLINE ULONG IXpsOMFontResourceCollection_AddRef(IXpsOMFontResourceCollection* This) {
   2805     return This->lpVtbl->AddRef(This);
   2806 }
   2807 static FORCEINLINE ULONG IXpsOMFontResourceCollection_Release(IXpsOMFontResourceCollection* This) {
   2808     return This->lpVtbl->Release(This);
   2809 }
   2810 /*** IXpsOMFontResourceCollection methods ***/
   2811 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetCount(IXpsOMFontResourceCollection* This,UINT32 *count) {
   2812     return This->lpVtbl->GetCount(This,count);
   2813 }
   2814 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource **value) {
   2815     return This->lpVtbl->GetAt(This,index,value);
   2816 }
   2817 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_SetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
   2818     return This->lpVtbl->SetAt(This,index,value);
   2819 }
   2820 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_InsertAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
   2821     return This->lpVtbl->InsertAt(This,index,value);
   2822 }
   2823 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_Append(IXpsOMFontResourceCollection* This,IXpsOMFontResource *value) {
   2824     return This->lpVtbl->Append(This,value);
   2825 }
   2826 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_RemoveAt(IXpsOMFontResourceCollection* This,UINT32 index) {
   2827     return This->lpVtbl->RemoveAt(This,index);
   2828 }
   2829 static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetByPartName(IXpsOMFontResourceCollection* This,IOpcPartUri *partName,IXpsOMFontResource **part) {
   2830     return This->lpVtbl->GetByPartName(This,partName,part);
   2831 }
   2832 #endif
   2833 #endif
   2834 
   2835 #endif
   2836 
   2837 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_GetCount_Proxy(
   2838     IXpsOMFontResourceCollection* This,
   2839     UINT32 *count);
   2840 void __RPC_STUB IXpsOMFontResourceCollection_GetCount_Stub(
   2841     IRpcStubBuffer* This,
   2842     IRpcChannelBuffer* pRpcChannelBuffer,
   2843     PRPC_MESSAGE pRpcMessage,
   2844     DWORD* pdwStubPhase);
   2845 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_GetAt_Proxy(
   2846     IXpsOMFontResourceCollection* This,
   2847     UINT32 index,
   2848     IXpsOMFontResource **value);
   2849 void __RPC_STUB IXpsOMFontResourceCollection_GetAt_Stub(
   2850     IRpcStubBuffer* This,
   2851     IRpcChannelBuffer* pRpcChannelBuffer,
   2852     PRPC_MESSAGE pRpcMessage,
   2853     DWORD* pdwStubPhase);
   2854 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_SetAt_Proxy(
   2855     IXpsOMFontResourceCollection* This,
   2856     UINT32 index,
   2857     IXpsOMFontResource *value);
   2858 void __RPC_STUB IXpsOMFontResourceCollection_SetAt_Stub(
   2859     IRpcStubBuffer* This,
   2860     IRpcChannelBuffer* pRpcChannelBuffer,
   2861     PRPC_MESSAGE pRpcMessage,
   2862     DWORD* pdwStubPhase);
   2863 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_InsertAt_Proxy(
   2864     IXpsOMFontResourceCollection* This,
   2865     UINT32 index,
   2866     IXpsOMFontResource *value);
   2867 void __RPC_STUB IXpsOMFontResourceCollection_InsertAt_Stub(
   2868     IRpcStubBuffer* This,
   2869     IRpcChannelBuffer* pRpcChannelBuffer,
   2870     PRPC_MESSAGE pRpcMessage,
   2871     DWORD* pdwStubPhase);
   2872 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_Append_Proxy(
   2873     IXpsOMFontResourceCollection* This,
   2874     IXpsOMFontResource *value);
   2875 void __RPC_STUB IXpsOMFontResourceCollection_Append_Stub(
   2876     IRpcStubBuffer* This,
   2877     IRpcChannelBuffer* pRpcChannelBuffer,
   2878     PRPC_MESSAGE pRpcMessage,
   2879     DWORD* pdwStubPhase);
   2880 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_RemoveAt_Proxy(
   2881     IXpsOMFontResourceCollection* This,
   2882     UINT32 index);
   2883 void __RPC_STUB IXpsOMFontResourceCollection_RemoveAt_Stub(
   2884     IRpcStubBuffer* This,
   2885     IRpcChannelBuffer* pRpcChannelBuffer,
   2886     PRPC_MESSAGE pRpcMessage,
   2887     DWORD* pdwStubPhase);
   2888 HRESULT STDMETHODCALLTYPE IXpsOMFontResourceCollection_GetByPartName_Proxy(
   2889     IXpsOMFontResourceCollection* This,
   2890     IOpcPartUri *partName,
   2891     IXpsOMFontResource **part);
   2892 void __RPC_STUB IXpsOMFontResourceCollection_GetByPartName_Stub(
   2893     IRpcStubBuffer* This,
   2894     IRpcChannelBuffer* pRpcChannelBuffer,
   2895     PRPC_MESSAGE pRpcMessage,
   2896     DWORD* pdwStubPhase);
   2897 
   2898 #endif  /* __IXpsOMFontResourceCollection_INTERFACE_DEFINED__ */
   2899 
   2900 /*****************************************************************************
   2901  * IXpsOMImageResourceCollection interface
   2902  */
   2903 #ifndef __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
   2904 #define __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
   2905 
   2906 DEFINE_GUID(IID_IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe);
   2907 #if defined(__cplusplus) && !defined(CINTERFACE)
   2908 MIDL_INTERFACE("7a4a1a71-9cde-4b71-b33f-62de843eabfe")
   2909 IXpsOMImageResourceCollection : public IUnknown
   2910 {
   2911     virtual HRESULT STDMETHODCALLTYPE GetCount(
   2912         UINT32 *count) = 0;
   2913 
   2914     virtual HRESULT STDMETHODCALLTYPE GetAt(
   2915         UINT32 index,
   2916         IXpsOMImageResource **object) = 0;
   2917 
   2918     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   2919         UINT32 index,
   2920         IXpsOMImageResource *object) = 0;
   2921 
   2922     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   2923         UINT32 index) = 0;
   2924 
   2925     virtual HRESULT STDMETHODCALLTYPE SetAt(
   2926         UINT32 index,
   2927         IXpsOMImageResource *object) = 0;
   2928 
   2929     virtual HRESULT STDMETHODCALLTYPE Append(
   2930         IXpsOMImageResource *object) = 0;
   2931 
   2932     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   2933         IOpcPartUri *partName,
   2934         IXpsOMImageResource **part) = 0;
   2935 
   2936 };
   2937 #ifdef __CRT_UUID_DECL
   2938 __CRT_UUID_DECL(IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe)
   2939 #endif
   2940 #else
   2941 typedef struct IXpsOMImageResourceCollectionVtbl {
   2942     BEGIN_INTERFACE
   2943 
   2944     /*** IUnknown methods ***/
   2945     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2946         IXpsOMImageResourceCollection* This,
   2947         REFIID riid,
   2948         void **ppvObject);
   2949 
   2950     ULONG (STDMETHODCALLTYPE *AddRef)(
   2951         IXpsOMImageResourceCollection* This);
   2952 
   2953     ULONG (STDMETHODCALLTYPE *Release)(
   2954         IXpsOMImageResourceCollection* This);
   2955 
   2956     /*** IXpsOMImageResourceCollection methods ***/
   2957     HRESULT (STDMETHODCALLTYPE *GetCount)(
   2958         IXpsOMImageResourceCollection* This,
   2959         UINT32 *count);
   2960 
   2961     HRESULT (STDMETHODCALLTYPE *GetAt)(
   2962         IXpsOMImageResourceCollection* This,
   2963         UINT32 index,
   2964         IXpsOMImageResource **object);
   2965 
   2966     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   2967         IXpsOMImageResourceCollection* This,
   2968         UINT32 index,
   2969         IXpsOMImageResource *object);
   2970 
   2971     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   2972         IXpsOMImageResourceCollection* This,
   2973         UINT32 index);
   2974 
   2975     HRESULT (STDMETHODCALLTYPE *SetAt)(
   2976         IXpsOMImageResourceCollection* This,
   2977         UINT32 index,
   2978         IXpsOMImageResource *object);
   2979 
   2980     HRESULT (STDMETHODCALLTYPE *Append)(
   2981         IXpsOMImageResourceCollection* This,
   2982         IXpsOMImageResource *object);
   2983 
   2984     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   2985         IXpsOMImageResourceCollection* This,
   2986         IOpcPartUri *partName,
   2987         IXpsOMImageResource **part);
   2988 
   2989     END_INTERFACE
   2990 } IXpsOMImageResourceCollectionVtbl;
   2991 interface IXpsOMImageResourceCollection {
   2992     CONST_VTBL IXpsOMImageResourceCollectionVtbl* lpVtbl;
   2993 };
   2994 
   2995 #ifdef COBJMACROS
   2996 #ifndef WIDL_C_INLINE_WRAPPERS
   2997 /*** IUnknown methods ***/
   2998 #define IXpsOMImageResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2999 #define IXpsOMImageResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3000 #define IXpsOMImageResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3001 /*** IXpsOMImageResourceCollection methods ***/
   3002 #define IXpsOMImageResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3003 #define IXpsOMImageResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3004 #define IXpsOMImageResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3005 #define IXpsOMImageResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3006 #define IXpsOMImageResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3007 #define IXpsOMImageResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3008 #define IXpsOMImageResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   3009 #else
   3010 /*** IUnknown methods ***/
   3011 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_QueryInterface(IXpsOMImageResourceCollection* This,REFIID riid,void **ppvObject) {
   3012     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3013 }
   3014 static FORCEINLINE ULONG IXpsOMImageResourceCollection_AddRef(IXpsOMImageResourceCollection* This) {
   3015     return This->lpVtbl->AddRef(This);
   3016 }
   3017 static FORCEINLINE ULONG IXpsOMImageResourceCollection_Release(IXpsOMImageResourceCollection* This) {
   3018     return This->lpVtbl->Release(This);
   3019 }
   3020 /*** IXpsOMImageResourceCollection methods ***/
   3021 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetCount(IXpsOMImageResourceCollection* This,UINT32 *count) {
   3022     return This->lpVtbl->GetCount(This,count);
   3023 }
   3024 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource **object) {
   3025     return This->lpVtbl->GetAt(This,index,object);
   3026 }
   3027 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_InsertAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
   3028     return This->lpVtbl->InsertAt(This,index,object);
   3029 }
   3030 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_RemoveAt(IXpsOMImageResourceCollection* This,UINT32 index) {
   3031     return This->lpVtbl->RemoveAt(This,index);
   3032 }
   3033 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_SetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
   3034     return This->lpVtbl->SetAt(This,index,object);
   3035 }
   3036 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_Append(IXpsOMImageResourceCollection* This,IXpsOMImageResource *object) {
   3037     return This->lpVtbl->Append(This,object);
   3038 }
   3039 static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetByPartName(IXpsOMImageResourceCollection* This,IOpcPartUri *partName,IXpsOMImageResource **part) {
   3040     return This->lpVtbl->GetByPartName(This,partName,part);
   3041 }
   3042 #endif
   3043 #endif
   3044 
   3045 #endif
   3046 
   3047 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_GetCount_Proxy(
   3048     IXpsOMImageResourceCollection* This,
   3049     UINT32 *count);
   3050 void __RPC_STUB IXpsOMImageResourceCollection_GetCount_Stub(
   3051     IRpcStubBuffer* This,
   3052     IRpcChannelBuffer* pRpcChannelBuffer,
   3053     PRPC_MESSAGE pRpcMessage,
   3054     DWORD* pdwStubPhase);
   3055 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_GetAt_Proxy(
   3056     IXpsOMImageResourceCollection* This,
   3057     UINT32 index,
   3058     IXpsOMImageResource **object);
   3059 void __RPC_STUB IXpsOMImageResourceCollection_GetAt_Stub(
   3060     IRpcStubBuffer* This,
   3061     IRpcChannelBuffer* pRpcChannelBuffer,
   3062     PRPC_MESSAGE pRpcMessage,
   3063     DWORD* pdwStubPhase);
   3064 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_InsertAt_Proxy(
   3065     IXpsOMImageResourceCollection* This,
   3066     UINT32 index,
   3067     IXpsOMImageResource *object);
   3068 void __RPC_STUB IXpsOMImageResourceCollection_InsertAt_Stub(
   3069     IRpcStubBuffer* This,
   3070     IRpcChannelBuffer* pRpcChannelBuffer,
   3071     PRPC_MESSAGE pRpcMessage,
   3072     DWORD* pdwStubPhase);
   3073 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_RemoveAt_Proxy(
   3074     IXpsOMImageResourceCollection* This,
   3075     UINT32 index);
   3076 void __RPC_STUB IXpsOMImageResourceCollection_RemoveAt_Stub(
   3077     IRpcStubBuffer* This,
   3078     IRpcChannelBuffer* pRpcChannelBuffer,
   3079     PRPC_MESSAGE pRpcMessage,
   3080     DWORD* pdwStubPhase);
   3081 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_SetAt_Proxy(
   3082     IXpsOMImageResourceCollection* This,
   3083     UINT32 index,
   3084     IXpsOMImageResource *object);
   3085 void __RPC_STUB IXpsOMImageResourceCollection_SetAt_Stub(
   3086     IRpcStubBuffer* This,
   3087     IRpcChannelBuffer* pRpcChannelBuffer,
   3088     PRPC_MESSAGE pRpcMessage,
   3089     DWORD* pdwStubPhase);
   3090 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_Append_Proxy(
   3091     IXpsOMImageResourceCollection* This,
   3092     IXpsOMImageResource *object);
   3093 void __RPC_STUB IXpsOMImageResourceCollection_Append_Stub(
   3094     IRpcStubBuffer* This,
   3095     IRpcChannelBuffer* pRpcChannelBuffer,
   3096     PRPC_MESSAGE pRpcMessage,
   3097     DWORD* pdwStubPhase);
   3098 HRESULT STDMETHODCALLTYPE IXpsOMImageResourceCollection_GetByPartName_Proxy(
   3099     IXpsOMImageResourceCollection* This,
   3100     IOpcPartUri *partName,
   3101     IXpsOMImageResource **part);
   3102 void __RPC_STUB IXpsOMImageResourceCollection_GetByPartName_Stub(
   3103     IRpcStubBuffer* This,
   3104     IRpcChannelBuffer* pRpcChannelBuffer,
   3105     PRPC_MESSAGE pRpcMessage,
   3106     DWORD* pdwStubPhase);
   3107 
   3108 #endif  /* __IXpsOMImageResourceCollection_INTERFACE_DEFINED__ */
   3109 
   3110 /*****************************************************************************
   3111  * IXpsOMColorProfileResourceCollection interface
   3112  */
   3113 #ifndef __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
   3114 #define __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
   3115 
   3116 DEFINE_GUID(IID_IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb);
   3117 #if defined(__cplusplus) && !defined(CINTERFACE)
   3118 MIDL_INTERFACE("12759630-5fba-4283-8f7d-cca849809edb")
   3119 IXpsOMColorProfileResourceCollection : public IUnknown
   3120 {
   3121     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3122         UINT32 *count) = 0;
   3123 
   3124     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3125         UINT32 index,
   3126         IXpsOMColorProfileResource **object) = 0;
   3127 
   3128     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3129         UINT32 index,
   3130         IXpsOMColorProfileResource *object) = 0;
   3131 
   3132     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3133         UINT32 index) = 0;
   3134 
   3135     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3136         UINT32 index,
   3137         IXpsOMColorProfileResource *object) = 0;
   3138 
   3139     virtual HRESULT STDMETHODCALLTYPE Append(
   3140         IXpsOMColorProfileResource *object) = 0;
   3141 
   3142     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   3143         IOpcPartUri *partName,
   3144         IXpsOMColorProfileResource **part) = 0;
   3145 
   3146 };
   3147 #ifdef __CRT_UUID_DECL
   3148 __CRT_UUID_DECL(IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb)
   3149 #endif
   3150 #else
   3151 typedef struct IXpsOMColorProfileResourceCollectionVtbl {
   3152     BEGIN_INTERFACE
   3153 
   3154     /*** IUnknown methods ***/
   3155     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3156         IXpsOMColorProfileResourceCollection* This,
   3157         REFIID riid,
   3158         void **ppvObject);
   3159 
   3160     ULONG (STDMETHODCALLTYPE *AddRef)(
   3161         IXpsOMColorProfileResourceCollection* This);
   3162 
   3163     ULONG (STDMETHODCALLTYPE *Release)(
   3164         IXpsOMColorProfileResourceCollection* This);
   3165 
   3166     /*** IXpsOMColorProfileResourceCollection methods ***/
   3167     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3168         IXpsOMColorProfileResourceCollection* This,
   3169         UINT32 *count);
   3170 
   3171     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3172         IXpsOMColorProfileResourceCollection* This,
   3173         UINT32 index,
   3174         IXpsOMColorProfileResource **object);
   3175 
   3176     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3177         IXpsOMColorProfileResourceCollection* This,
   3178         UINT32 index,
   3179         IXpsOMColorProfileResource *object);
   3180 
   3181     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3182         IXpsOMColorProfileResourceCollection* This,
   3183         UINT32 index);
   3184 
   3185     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3186         IXpsOMColorProfileResourceCollection* This,
   3187         UINT32 index,
   3188         IXpsOMColorProfileResource *object);
   3189 
   3190     HRESULT (STDMETHODCALLTYPE *Append)(
   3191         IXpsOMColorProfileResourceCollection* This,
   3192         IXpsOMColorProfileResource *object);
   3193 
   3194     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   3195         IXpsOMColorProfileResourceCollection* This,
   3196         IOpcPartUri *partName,
   3197         IXpsOMColorProfileResource **part);
   3198 
   3199     END_INTERFACE
   3200 } IXpsOMColorProfileResourceCollectionVtbl;
   3201 interface IXpsOMColorProfileResourceCollection {
   3202     CONST_VTBL IXpsOMColorProfileResourceCollectionVtbl* lpVtbl;
   3203 };
   3204 
   3205 #ifdef COBJMACROS
   3206 #ifndef WIDL_C_INLINE_WRAPPERS
   3207 /*** IUnknown methods ***/
   3208 #define IXpsOMColorProfileResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3209 #define IXpsOMColorProfileResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3210 #define IXpsOMColorProfileResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3211 /*** IXpsOMColorProfileResourceCollection methods ***/
   3212 #define IXpsOMColorProfileResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3213 #define IXpsOMColorProfileResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3214 #define IXpsOMColorProfileResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3215 #define IXpsOMColorProfileResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3216 #define IXpsOMColorProfileResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3217 #define IXpsOMColorProfileResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3218 #define IXpsOMColorProfileResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
   3219 #else
   3220 /*** IUnknown methods ***/
   3221 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_QueryInterface(IXpsOMColorProfileResourceCollection* This,REFIID riid,void **ppvObject) {
   3222     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3223 }
   3224 static FORCEINLINE ULONG IXpsOMColorProfileResourceCollection_AddRef(IXpsOMColorProfileResourceCollection* This) {
   3225     return This->lpVtbl->AddRef(This);
   3226 }
   3227 static FORCEINLINE ULONG IXpsOMColorProfileResourceCollection_Release(IXpsOMColorProfileResourceCollection* This) {
   3228     return This->lpVtbl->Release(This);
   3229 }
   3230 /*** IXpsOMColorProfileResourceCollection methods ***/
   3231 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetCount(IXpsOMColorProfileResourceCollection* This,UINT32 *count) {
   3232     return This->lpVtbl->GetCount(This,count);
   3233 }
   3234 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource **object) {
   3235     return This->lpVtbl->GetAt(This,index,object);
   3236 }
   3237 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_InsertAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
   3238     return This->lpVtbl->InsertAt(This,index,object);
   3239 }
   3240 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_RemoveAt(IXpsOMColorProfileResourceCollection* This,UINT32 index) {
   3241     return This->lpVtbl->RemoveAt(This,index);
   3242 }
   3243 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_SetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
   3244     return This->lpVtbl->SetAt(This,index,object);
   3245 }
   3246 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_Append(IXpsOMColorProfileResourceCollection* This,IXpsOMColorProfileResource *object) {
   3247     return This->lpVtbl->Append(This,object);
   3248 }
   3249 static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetByPartName(IXpsOMColorProfileResourceCollection* This,IOpcPartUri *partName,IXpsOMColorProfileResource **part) {
   3250     return This->lpVtbl->GetByPartName(This,partName,part);
   3251 }
   3252 #endif
   3253 #endif
   3254 
   3255 #endif
   3256 
   3257 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_GetCount_Proxy(
   3258     IXpsOMColorProfileResourceCollection* This,
   3259     UINT32 *count);
   3260 void __RPC_STUB IXpsOMColorProfileResourceCollection_GetCount_Stub(
   3261     IRpcStubBuffer* This,
   3262     IRpcChannelBuffer* pRpcChannelBuffer,
   3263     PRPC_MESSAGE pRpcMessage,
   3264     DWORD* pdwStubPhase);
   3265 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_GetAt_Proxy(
   3266     IXpsOMColorProfileResourceCollection* This,
   3267     UINT32 index,
   3268     IXpsOMColorProfileResource **object);
   3269 void __RPC_STUB IXpsOMColorProfileResourceCollection_GetAt_Stub(
   3270     IRpcStubBuffer* This,
   3271     IRpcChannelBuffer* pRpcChannelBuffer,
   3272     PRPC_MESSAGE pRpcMessage,
   3273     DWORD* pdwStubPhase);
   3274 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_InsertAt_Proxy(
   3275     IXpsOMColorProfileResourceCollection* This,
   3276     UINT32 index,
   3277     IXpsOMColorProfileResource *object);
   3278 void __RPC_STUB IXpsOMColorProfileResourceCollection_InsertAt_Stub(
   3279     IRpcStubBuffer* This,
   3280     IRpcChannelBuffer* pRpcChannelBuffer,
   3281     PRPC_MESSAGE pRpcMessage,
   3282     DWORD* pdwStubPhase);
   3283 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_RemoveAt_Proxy(
   3284     IXpsOMColorProfileResourceCollection* This,
   3285     UINT32 index);
   3286 void __RPC_STUB IXpsOMColorProfileResourceCollection_RemoveAt_Stub(
   3287     IRpcStubBuffer* This,
   3288     IRpcChannelBuffer* pRpcChannelBuffer,
   3289     PRPC_MESSAGE pRpcMessage,
   3290     DWORD* pdwStubPhase);
   3291 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_SetAt_Proxy(
   3292     IXpsOMColorProfileResourceCollection* This,
   3293     UINT32 index,
   3294     IXpsOMColorProfileResource *object);
   3295 void __RPC_STUB IXpsOMColorProfileResourceCollection_SetAt_Stub(
   3296     IRpcStubBuffer* This,
   3297     IRpcChannelBuffer* pRpcChannelBuffer,
   3298     PRPC_MESSAGE pRpcMessage,
   3299     DWORD* pdwStubPhase);
   3300 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_Append_Proxy(
   3301     IXpsOMColorProfileResourceCollection* This,
   3302     IXpsOMColorProfileResource *object);
   3303 void __RPC_STUB IXpsOMColorProfileResourceCollection_Append_Stub(
   3304     IRpcStubBuffer* This,
   3305     IRpcChannelBuffer* pRpcChannelBuffer,
   3306     PRPC_MESSAGE pRpcMessage,
   3307     DWORD* pdwStubPhase);
   3308 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResourceCollection_GetByPartName_Proxy(
   3309     IXpsOMColorProfileResourceCollection* This,
   3310     IOpcPartUri *partName,
   3311     IXpsOMColorProfileResource **part);
   3312 void __RPC_STUB IXpsOMColorProfileResourceCollection_GetByPartName_Stub(
   3313     IRpcStubBuffer* This,
   3314     IRpcChannelBuffer* pRpcChannelBuffer,
   3315     PRPC_MESSAGE pRpcMessage,
   3316     DWORD* pdwStubPhase);
   3317 
   3318 #endif  /* __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__ */
   3319 
   3320 /*****************************************************************************
   3321  * IXpsOMRemoteDictionaryResourceCollection interface
   3322  */
   3323 #ifndef __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
   3324 #define __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
   3325 
   3326 DEFINE_GUID(IID_IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe);
   3327 #if defined(__cplusplus) && !defined(CINTERFACE)
   3328 MIDL_INTERFACE("5c38db61-7fec-464a-87bd-41e3bef018be")
   3329 IXpsOMRemoteDictionaryResourceCollection : public IUnknown
   3330 {
   3331     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3332         UINT32 *count) = 0;
   3333 
   3334     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3335         UINT32 index,
   3336         IXpsOMRemoteDictionaryResource **object) = 0;
   3337 
   3338     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3339         UINT32 index,
   3340         IXpsOMRemoteDictionaryResource *object) = 0;
   3341 
   3342     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3343         UINT32 index) = 0;
   3344 
   3345     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3346         UINT32 index,
   3347         IXpsOMRemoteDictionaryResource *object) = 0;
   3348 
   3349     virtual HRESULT STDMETHODCALLTYPE Append(
   3350         IXpsOMRemoteDictionaryResource *object) = 0;
   3351 
   3352     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   3353         IOpcPartUri *partName,
   3354         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   3355 
   3356 };
   3357 #ifdef __CRT_UUID_DECL
   3358 __CRT_UUID_DECL(IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe)
   3359 #endif
   3360 #else
   3361 typedef struct IXpsOMRemoteDictionaryResourceCollectionVtbl {
   3362     BEGIN_INTERFACE
   3363 
   3364     /*** IUnknown methods ***/
   3365     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3366         IXpsOMRemoteDictionaryResourceCollection* This,
   3367         REFIID riid,
   3368         void **ppvObject);
   3369 
   3370     ULONG (STDMETHODCALLTYPE *AddRef)(
   3371         IXpsOMRemoteDictionaryResourceCollection* This);
   3372 
   3373     ULONG (STDMETHODCALLTYPE *Release)(
   3374         IXpsOMRemoteDictionaryResourceCollection* This);
   3375 
   3376     /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   3377     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3378         IXpsOMRemoteDictionaryResourceCollection* This,
   3379         UINT32 *count);
   3380 
   3381     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3382         IXpsOMRemoteDictionaryResourceCollection* This,
   3383         UINT32 index,
   3384         IXpsOMRemoteDictionaryResource **object);
   3385 
   3386     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3387         IXpsOMRemoteDictionaryResourceCollection* This,
   3388         UINT32 index,
   3389         IXpsOMRemoteDictionaryResource *object);
   3390 
   3391     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3392         IXpsOMRemoteDictionaryResourceCollection* This,
   3393         UINT32 index);
   3394 
   3395     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3396         IXpsOMRemoteDictionaryResourceCollection* This,
   3397         UINT32 index,
   3398         IXpsOMRemoteDictionaryResource *object);
   3399 
   3400     HRESULT (STDMETHODCALLTYPE *Append)(
   3401         IXpsOMRemoteDictionaryResourceCollection* This,
   3402         IXpsOMRemoteDictionaryResource *object);
   3403 
   3404     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   3405         IXpsOMRemoteDictionaryResourceCollection* This,
   3406         IOpcPartUri *partName,
   3407         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   3408 
   3409     END_INTERFACE
   3410 } IXpsOMRemoteDictionaryResourceCollectionVtbl;
   3411 interface IXpsOMRemoteDictionaryResourceCollection {
   3412     CONST_VTBL IXpsOMRemoteDictionaryResourceCollectionVtbl* lpVtbl;
   3413 };
   3414 
   3415 #ifdef COBJMACROS
   3416 #ifndef WIDL_C_INLINE_WRAPPERS
   3417 /*** IUnknown methods ***/
   3418 #define IXpsOMRemoteDictionaryResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3419 #define IXpsOMRemoteDictionaryResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3420 #define IXpsOMRemoteDictionaryResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3421 /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   3422 #define IXpsOMRemoteDictionaryResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3423 #define IXpsOMRemoteDictionaryResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3424 #define IXpsOMRemoteDictionaryResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3425 #define IXpsOMRemoteDictionaryResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3426 #define IXpsOMRemoteDictionaryResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3427 #define IXpsOMRemoteDictionaryResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3428 #define IXpsOMRemoteDictionaryResourceCollection_GetByPartName(This,partName,remoteDictionaryResource) (This)->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource)
   3429 #else
   3430 /*** IUnknown methods ***/
   3431 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_QueryInterface(IXpsOMRemoteDictionaryResourceCollection* This,REFIID riid,void **ppvObject) {
   3432     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3433 }
   3434 static FORCEINLINE ULONG IXpsOMRemoteDictionaryResourceCollection_AddRef(IXpsOMRemoteDictionaryResourceCollection* This) {
   3435     return This->lpVtbl->AddRef(This);
   3436 }
   3437 static FORCEINLINE ULONG IXpsOMRemoteDictionaryResourceCollection_Release(IXpsOMRemoteDictionaryResourceCollection* This) {
   3438     return This->lpVtbl->Release(This);
   3439 }
   3440 /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
   3441 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetCount(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 *count) {
   3442     return This->lpVtbl->GetCount(This,count);
   3443 }
   3444 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource **object) {
   3445     return This->lpVtbl->GetAt(This,index,object);
   3446 }
   3447 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_InsertAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
   3448     return This->lpVtbl->InsertAt(This,index,object);
   3449 }
   3450 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_RemoveAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index) {
   3451     return This->lpVtbl->RemoveAt(This,index);
   3452 }
   3453 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_SetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
   3454     return This->lpVtbl->SetAt(This,index,object);
   3455 }
   3456 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_Append(IXpsOMRemoteDictionaryResourceCollection* This,IXpsOMRemoteDictionaryResource *object) {
   3457     return This->lpVtbl->Append(This,object);
   3458 }
   3459 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetByPartName(IXpsOMRemoteDictionaryResourceCollection* This,IOpcPartUri *partName,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   3460     return This->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource);
   3461 }
   3462 #endif
   3463 #endif
   3464 
   3465 #endif
   3466 
   3467 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_GetCount_Proxy(
   3468     IXpsOMRemoteDictionaryResourceCollection* This,
   3469     UINT32 *count);
   3470 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_GetCount_Stub(
   3471     IRpcStubBuffer* This,
   3472     IRpcChannelBuffer* pRpcChannelBuffer,
   3473     PRPC_MESSAGE pRpcMessage,
   3474     DWORD* pdwStubPhase);
   3475 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_GetAt_Proxy(
   3476     IXpsOMRemoteDictionaryResourceCollection* This,
   3477     UINT32 index,
   3478     IXpsOMRemoteDictionaryResource **object);
   3479 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_GetAt_Stub(
   3480     IRpcStubBuffer* This,
   3481     IRpcChannelBuffer* pRpcChannelBuffer,
   3482     PRPC_MESSAGE pRpcMessage,
   3483     DWORD* pdwStubPhase);
   3484 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_InsertAt_Proxy(
   3485     IXpsOMRemoteDictionaryResourceCollection* This,
   3486     UINT32 index,
   3487     IXpsOMRemoteDictionaryResource *object);
   3488 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_InsertAt_Stub(
   3489     IRpcStubBuffer* This,
   3490     IRpcChannelBuffer* pRpcChannelBuffer,
   3491     PRPC_MESSAGE pRpcMessage,
   3492     DWORD* pdwStubPhase);
   3493 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_RemoveAt_Proxy(
   3494     IXpsOMRemoteDictionaryResourceCollection* This,
   3495     UINT32 index);
   3496 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_RemoveAt_Stub(
   3497     IRpcStubBuffer* This,
   3498     IRpcChannelBuffer* pRpcChannelBuffer,
   3499     PRPC_MESSAGE pRpcMessage,
   3500     DWORD* pdwStubPhase);
   3501 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_SetAt_Proxy(
   3502     IXpsOMRemoteDictionaryResourceCollection* This,
   3503     UINT32 index,
   3504     IXpsOMRemoteDictionaryResource *object);
   3505 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_SetAt_Stub(
   3506     IRpcStubBuffer* This,
   3507     IRpcChannelBuffer* pRpcChannelBuffer,
   3508     PRPC_MESSAGE pRpcMessage,
   3509     DWORD* pdwStubPhase);
   3510 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_Append_Proxy(
   3511     IXpsOMRemoteDictionaryResourceCollection* This,
   3512     IXpsOMRemoteDictionaryResource *object);
   3513 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_Append_Stub(
   3514     IRpcStubBuffer* This,
   3515     IRpcChannelBuffer* pRpcChannelBuffer,
   3516     PRPC_MESSAGE pRpcMessage,
   3517     DWORD* pdwStubPhase);
   3518 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResourceCollection_GetByPartName_Proxy(
   3519     IXpsOMRemoteDictionaryResourceCollection* This,
   3520     IOpcPartUri *partName,
   3521     IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   3522 void __RPC_STUB IXpsOMRemoteDictionaryResourceCollection_GetByPartName_Stub(
   3523     IRpcStubBuffer* This,
   3524     IRpcChannelBuffer* pRpcChannelBuffer,
   3525     PRPC_MESSAGE pRpcMessage,
   3526     DWORD* pdwStubPhase);
   3527 
   3528 #endif  /* __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__ */
   3529 
   3530 /*****************************************************************************
   3531  * IXpsOMSignatureBlockResourceCollection interface
   3532  */
   3533 #ifndef __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
   3534 #define __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
   3535 
   3536 DEFINE_GUID(IID_IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31);
   3537 #if defined(__cplusplus) && !defined(CINTERFACE)
   3538 MIDL_INTERFACE("ab8f5d8e-351b-4d33-aaed-fa56f0022931")
   3539 IXpsOMSignatureBlockResourceCollection : public IUnknown
   3540 {
   3541     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3542         UINT32 *count) = 0;
   3543 
   3544     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3545         UINT32 index,
   3546         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   3547 
   3548     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3549         UINT32 index,
   3550         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3551 
   3552     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3553         UINT32 index) = 0;
   3554 
   3555     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3556         UINT32 index,
   3557         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3558 
   3559     virtual HRESULT STDMETHODCALLTYPE Append(
   3560         IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
   3561 
   3562     virtual HRESULT STDMETHODCALLTYPE GetByPartName(
   3563         IOpcPartUri *partName,
   3564         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   3565 
   3566 };
   3567 #ifdef __CRT_UUID_DECL
   3568 __CRT_UUID_DECL(IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31)
   3569 #endif
   3570 #else
   3571 typedef struct IXpsOMSignatureBlockResourceCollectionVtbl {
   3572     BEGIN_INTERFACE
   3573 
   3574     /*** IUnknown methods ***/
   3575     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3576         IXpsOMSignatureBlockResourceCollection* This,
   3577         REFIID riid,
   3578         void **ppvObject);
   3579 
   3580     ULONG (STDMETHODCALLTYPE *AddRef)(
   3581         IXpsOMSignatureBlockResourceCollection* This);
   3582 
   3583     ULONG (STDMETHODCALLTYPE *Release)(
   3584         IXpsOMSignatureBlockResourceCollection* This);
   3585 
   3586     /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3587     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3588         IXpsOMSignatureBlockResourceCollection* This,
   3589         UINT32 *count);
   3590 
   3591     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3592         IXpsOMSignatureBlockResourceCollection* This,
   3593         UINT32 index,
   3594         IXpsOMSignatureBlockResource **signatureBlockResource);
   3595 
   3596     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3597         IXpsOMSignatureBlockResourceCollection* This,
   3598         UINT32 index,
   3599         IXpsOMSignatureBlockResource *signatureBlockResource);
   3600 
   3601     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3602         IXpsOMSignatureBlockResourceCollection* This,
   3603         UINT32 index);
   3604 
   3605     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3606         IXpsOMSignatureBlockResourceCollection* This,
   3607         UINT32 index,
   3608         IXpsOMSignatureBlockResource *signatureBlockResource);
   3609 
   3610     HRESULT (STDMETHODCALLTYPE *Append)(
   3611         IXpsOMSignatureBlockResourceCollection* This,
   3612         IXpsOMSignatureBlockResource *signatureBlockResource);
   3613 
   3614     HRESULT (STDMETHODCALLTYPE *GetByPartName)(
   3615         IXpsOMSignatureBlockResourceCollection* This,
   3616         IOpcPartUri *partName,
   3617         IXpsOMSignatureBlockResource **signatureBlockResource);
   3618 
   3619     END_INTERFACE
   3620 } IXpsOMSignatureBlockResourceCollectionVtbl;
   3621 interface IXpsOMSignatureBlockResourceCollection {
   3622     CONST_VTBL IXpsOMSignatureBlockResourceCollectionVtbl* lpVtbl;
   3623 };
   3624 
   3625 #ifdef COBJMACROS
   3626 #ifndef WIDL_C_INLINE_WRAPPERS
   3627 /*** IUnknown methods ***/
   3628 #define IXpsOMSignatureBlockResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3629 #define IXpsOMSignatureBlockResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3630 #define IXpsOMSignatureBlockResourceCollection_Release(This) (This)->lpVtbl->Release(This)
   3631 /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3632 #define IXpsOMSignatureBlockResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3633 #define IXpsOMSignatureBlockResourceCollection_GetAt(This,index,signatureBlockResource) (This)->lpVtbl->GetAt(This,index,signatureBlockResource)
   3634 #define IXpsOMSignatureBlockResourceCollection_InsertAt(This,index,signatureBlockResource) (This)->lpVtbl->InsertAt(This,index,signatureBlockResource)
   3635 #define IXpsOMSignatureBlockResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3636 #define IXpsOMSignatureBlockResourceCollection_SetAt(This,index,signatureBlockResource) (This)->lpVtbl->SetAt(This,index,signatureBlockResource)
   3637 #define IXpsOMSignatureBlockResourceCollection_Append(This,signatureBlockResource) (This)->lpVtbl->Append(This,signatureBlockResource)
   3638 #define IXpsOMSignatureBlockResourceCollection_GetByPartName(This,partName,signatureBlockResource) (This)->lpVtbl->GetByPartName(This,partName,signatureBlockResource)
   3639 #else
   3640 /*** IUnknown methods ***/
   3641 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_QueryInterface(IXpsOMSignatureBlockResourceCollection* This,REFIID riid,void **ppvObject) {
   3642     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3643 }
   3644 static FORCEINLINE ULONG IXpsOMSignatureBlockResourceCollection_AddRef(IXpsOMSignatureBlockResourceCollection* This) {
   3645     return This->lpVtbl->AddRef(This);
   3646 }
   3647 static FORCEINLINE ULONG IXpsOMSignatureBlockResourceCollection_Release(IXpsOMSignatureBlockResourceCollection* This) {
   3648     return This->lpVtbl->Release(This);
   3649 }
   3650 /*** IXpsOMSignatureBlockResourceCollection methods ***/
   3651 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetCount(IXpsOMSignatureBlockResourceCollection* This,UINT32 *count) {
   3652     return This->lpVtbl->GetCount(This,count);
   3653 }
   3654 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource **signatureBlockResource) {
   3655     return This->lpVtbl->GetAt(This,index,signatureBlockResource);
   3656 }
   3657 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_InsertAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3658     return This->lpVtbl->InsertAt(This,index,signatureBlockResource);
   3659 }
   3660 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_RemoveAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index) {
   3661     return This->lpVtbl->RemoveAt(This,index);
   3662 }
   3663 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_SetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3664     return This->lpVtbl->SetAt(This,index,signatureBlockResource);
   3665 }
   3666 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_Append(IXpsOMSignatureBlockResourceCollection* This,IXpsOMSignatureBlockResource *signatureBlockResource) {
   3667     return This->lpVtbl->Append(This,signatureBlockResource);
   3668 }
   3669 static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetByPartName(IXpsOMSignatureBlockResourceCollection* This,IOpcPartUri *partName,IXpsOMSignatureBlockResource **signatureBlockResource) {
   3670     return This->lpVtbl->GetByPartName(This,partName,signatureBlockResource);
   3671 }
   3672 #endif
   3673 #endif
   3674 
   3675 #endif
   3676 
   3677 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_GetCount_Proxy(
   3678     IXpsOMSignatureBlockResourceCollection* This,
   3679     UINT32 *count);
   3680 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_GetCount_Stub(
   3681     IRpcStubBuffer* This,
   3682     IRpcChannelBuffer* pRpcChannelBuffer,
   3683     PRPC_MESSAGE pRpcMessage,
   3684     DWORD* pdwStubPhase);
   3685 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_GetAt_Proxy(
   3686     IXpsOMSignatureBlockResourceCollection* This,
   3687     UINT32 index,
   3688     IXpsOMSignatureBlockResource **signatureBlockResource);
   3689 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_GetAt_Stub(
   3690     IRpcStubBuffer* This,
   3691     IRpcChannelBuffer* pRpcChannelBuffer,
   3692     PRPC_MESSAGE pRpcMessage,
   3693     DWORD* pdwStubPhase);
   3694 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_InsertAt_Proxy(
   3695     IXpsOMSignatureBlockResourceCollection* This,
   3696     UINT32 index,
   3697     IXpsOMSignatureBlockResource *signatureBlockResource);
   3698 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_InsertAt_Stub(
   3699     IRpcStubBuffer* This,
   3700     IRpcChannelBuffer* pRpcChannelBuffer,
   3701     PRPC_MESSAGE pRpcMessage,
   3702     DWORD* pdwStubPhase);
   3703 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_RemoveAt_Proxy(
   3704     IXpsOMSignatureBlockResourceCollection* This,
   3705     UINT32 index);
   3706 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_RemoveAt_Stub(
   3707     IRpcStubBuffer* This,
   3708     IRpcChannelBuffer* pRpcChannelBuffer,
   3709     PRPC_MESSAGE pRpcMessage,
   3710     DWORD* pdwStubPhase);
   3711 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_SetAt_Proxy(
   3712     IXpsOMSignatureBlockResourceCollection* This,
   3713     UINT32 index,
   3714     IXpsOMSignatureBlockResource *signatureBlockResource);
   3715 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_SetAt_Stub(
   3716     IRpcStubBuffer* This,
   3717     IRpcChannelBuffer* pRpcChannelBuffer,
   3718     PRPC_MESSAGE pRpcMessage,
   3719     DWORD* pdwStubPhase);
   3720 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_Append_Proxy(
   3721     IXpsOMSignatureBlockResourceCollection* This,
   3722     IXpsOMSignatureBlockResource *signatureBlockResource);
   3723 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_Append_Stub(
   3724     IRpcStubBuffer* This,
   3725     IRpcChannelBuffer* pRpcChannelBuffer,
   3726     PRPC_MESSAGE pRpcMessage,
   3727     DWORD* pdwStubPhase);
   3728 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResourceCollection_GetByPartName_Proxy(
   3729     IXpsOMSignatureBlockResourceCollection* This,
   3730     IOpcPartUri *partName,
   3731     IXpsOMSignatureBlockResource **signatureBlockResource);
   3732 void __RPC_STUB IXpsOMSignatureBlockResourceCollection_GetByPartName_Stub(
   3733     IRpcStubBuffer* This,
   3734     IRpcChannelBuffer* pRpcChannelBuffer,
   3735     PRPC_MESSAGE pRpcMessage,
   3736     DWORD* pdwStubPhase);
   3737 
   3738 #endif  /* __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__ */
   3739 
   3740 /*****************************************************************************
   3741  * IXpsOMVisualCollection interface
   3742  */
   3743 #ifndef __IXpsOMVisualCollection_INTERFACE_DEFINED__
   3744 #define __IXpsOMVisualCollection_INTERFACE_DEFINED__
   3745 
   3746 DEFINE_GUID(IID_IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96);
   3747 #if defined(__cplusplus) && !defined(CINTERFACE)
   3748 MIDL_INTERFACE("94d8abde-ab91-46a8-82b7-f5b05ef01a96")
   3749 IXpsOMVisualCollection : public IUnknown
   3750 {
   3751     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3752         UINT32 *count) = 0;
   3753 
   3754     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3755         UINT32 index,
   3756         IXpsOMVisual **object) = 0;
   3757 
   3758     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3759         UINT32 index,
   3760         IXpsOMVisual *object) = 0;
   3761 
   3762     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3763         UINT32 index) = 0;
   3764 
   3765     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3766         UINT32 index,
   3767         IXpsOMVisual *object) = 0;
   3768 
   3769     virtual HRESULT STDMETHODCALLTYPE Append(
   3770         IXpsOMVisual *object) = 0;
   3771 
   3772 };
   3773 #ifdef __CRT_UUID_DECL
   3774 __CRT_UUID_DECL(IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96)
   3775 #endif
   3776 #else
   3777 typedef struct IXpsOMVisualCollectionVtbl {
   3778     BEGIN_INTERFACE
   3779 
   3780     /*** IUnknown methods ***/
   3781     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3782         IXpsOMVisualCollection* This,
   3783         REFIID riid,
   3784         void **ppvObject);
   3785 
   3786     ULONG (STDMETHODCALLTYPE *AddRef)(
   3787         IXpsOMVisualCollection* This);
   3788 
   3789     ULONG (STDMETHODCALLTYPE *Release)(
   3790         IXpsOMVisualCollection* This);
   3791 
   3792     /*** IXpsOMVisualCollection methods ***/
   3793     HRESULT (STDMETHODCALLTYPE *GetCount)(
   3794         IXpsOMVisualCollection* This,
   3795         UINT32 *count);
   3796 
   3797     HRESULT (STDMETHODCALLTYPE *GetAt)(
   3798         IXpsOMVisualCollection* This,
   3799         UINT32 index,
   3800         IXpsOMVisual **object);
   3801 
   3802     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   3803         IXpsOMVisualCollection* This,
   3804         UINT32 index,
   3805         IXpsOMVisual *object);
   3806 
   3807     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   3808         IXpsOMVisualCollection* This,
   3809         UINT32 index);
   3810 
   3811     HRESULT (STDMETHODCALLTYPE *SetAt)(
   3812         IXpsOMVisualCollection* This,
   3813         UINT32 index,
   3814         IXpsOMVisual *object);
   3815 
   3816     HRESULT (STDMETHODCALLTYPE *Append)(
   3817         IXpsOMVisualCollection* This,
   3818         IXpsOMVisual *object);
   3819 
   3820     END_INTERFACE
   3821 } IXpsOMVisualCollectionVtbl;
   3822 interface IXpsOMVisualCollection {
   3823     CONST_VTBL IXpsOMVisualCollectionVtbl* lpVtbl;
   3824 };
   3825 
   3826 #ifdef COBJMACROS
   3827 #ifndef WIDL_C_INLINE_WRAPPERS
   3828 /*** IUnknown methods ***/
   3829 #define IXpsOMVisualCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3830 #define IXpsOMVisualCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   3831 #define IXpsOMVisualCollection_Release(This) (This)->lpVtbl->Release(This)
   3832 /*** IXpsOMVisualCollection methods ***/
   3833 #define IXpsOMVisualCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   3834 #define IXpsOMVisualCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
   3835 #define IXpsOMVisualCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
   3836 #define IXpsOMVisualCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   3837 #define IXpsOMVisualCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
   3838 #define IXpsOMVisualCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
   3839 #else
   3840 /*** IUnknown methods ***/
   3841 static FORCEINLINE HRESULT IXpsOMVisualCollection_QueryInterface(IXpsOMVisualCollection* This,REFIID riid,void **ppvObject) {
   3842     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3843 }
   3844 static FORCEINLINE ULONG IXpsOMVisualCollection_AddRef(IXpsOMVisualCollection* This) {
   3845     return This->lpVtbl->AddRef(This);
   3846 }
   3847 static FORCEINLINE ULONG IXpsOMVisualCollection_Release(IXpsOMVisualCollection* This) {
   3848     return This->lpVtbl->Release(This);
   3849 }
   3850 /*** IXpsOMVisualCollection methods ***/
   3851 static FORCEINLINE HRESULT IXpsOMVisualCollection_GetCount(IXpsOMVisualCollection* This,UINT32 *count) {
   3852     return This->lpVtbl->GetCount(This,count);
   3853 }
   3854 static FORCEINLINE HRESULT IXpsOMVisualCollection_GetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual **object) {
   3855     return This->lpVtbl->GetAt(This,index,object);
   3856 }
   3857 static FORCEINLINE HRESULT IXpsOMVisualCollection_InsertAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
   3858     return This->lpVtbl->InsertAt(This,index,object);
   3859 }
   3860 static FORCEINLINE HRESULT IXpsOMVisualCollection_RemoveAt(IXpsOMVisualCollection* This,UINT32 index) {
   3861     return This->lpVtbl->RemoveAt(This,index);
   3862 }
   3863 static FORCEINLINE HRESULT IXpsOMVisualCollection_SetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
   3864     return This->lpVtbl->SetAt(This,index,object);
   3865 }
   3866 static FORCEINLINE HRESULT IXpsOMVisualCollection_Append(IXpsOMVisualCollection* This,IXpsOMVisual *object) {
   3867     return This->lpVtbl->Append(This,object);
   3868 }
   3869 #endif
   3870 #endif
   3871 
   3872 #endif
   3873 
   3874 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_GetCount_Proxy(
   3875     IXpsOMVisualCollection* This,
   3876     UINT32 *count);
   3877 void __RPC_STUB IXpsOMVisualCollection_GetCount_Stub(
   3878     IRpcStubBuffer* This,
   3879     IRpcChannelBuffer* pRpcChannelBuffer,
   3880     PRPC_MESSAGE pRpcMessage,
   3881     DWORD* pdwStubPhase);
   3882 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_GetAt_Proxy(
   3883     IXpsOMVisualCollection* This,
   3884     UINT32 index,
   3885     IXpsOMVisual **object);
   3886 void __RPC_STUB IXpsOMVisualCollection_GetAt_Stub(
   3887     IRpcStubBuffer* This,
   3888     IRpcChannelBuffer* pRpcChannelBuffer,
   3889     PRPC_MESSAGE pRpcMessage,
   3890     DWORD* pdwStubPhase);
   3891 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_InsertAt_Proxy(
   3892     IXpsOMVisualCollection* This,
   3893     UINT32 index,
   3894     IXpsOMVisual *object);
   3895 void __RPC_STUB IXpsOMVisualCollection_InsertAt_Stub(
   3896     IRpcStubBuffer* This,
   3897     IRpcChannelBuffer* pRpcChannelBuffer,
   3898     PRPC_MESSAGE pRpcMessage,
   3899     DWORD* pdwStubPhase);
   3900 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_RemoveAt_Proxy(
   3901     IXpsOMVisualCollection* This,
   3902     UINT32 index);
   3903 void __RPC_STUB IXpsOMVisualCollection_RemoveAt_Stub(
   3904     IRpcStubBuffer* This,
   3905     IRpcChannelBuffer* pRpcChannelBuffer,
   3906     PRPC_MESSAGE pRpcMessage,
   3907     DWORD* pdwStubPhase);
   3908 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_SetAt_Proxy(
   3909     IXpsOMVisualCollection* This,
   3910     UINT32 index,
   3911     IXpsOMVisual *object);
   3912 void __RPC_STUB IXpsOMVisualCollection_SetAt_Stub(
   3913     IRpcStubBuffer* This,
   3914     IRpcChannelBuffer* pRpcChannelBuffer,
   3915     PRPC_MESSAGE pRpcMessage,
   3916     DWORD* pdwStubPhase);
   3917 HRESULT STDMETHODCALLTYPE IXpsOMVisualCollection_Append_Proxy(
   3918     IXpsOMVisualCollection* This,
   3919     IXpsOMVisual *object);
   3920 void __RPC_STUB IXpsOMVisualCollection_Append_Stub(
   3921     IRpcStubBuffer* This,
   3922     IRpcChannelBuffer* pRpcChannelBuffer,
   3923     PRPC_MESSAGE pRpcMessage,
   3924     DWORD* pdwStubPhase);
   3925 
   3926 #endif  /* __IXpsOMVisualCollection_INTERFACE_DEFINED__ */
   3927 
   3928 /*****************************************************************************
   3929  * IXpsOMDictionary interface
   3930  */
   3931 #ifndef __IXpsOMDictionary_INTERFACE_DEFINED__
   3932 #define __IXpsOMDictionary_INTERFACE_DEFINED__
   3933 
   3934 DEFINE_GUID(IID_IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36);
   3935 #if defined(__cplusplus) && !defined(CINTERFACE)
   3936 MIDL_INTERFACE("897c86b8-8eaf-4ae3-bdde-56419fcf4236")
   3937 IXpsOMDictionary : public IUnknown
   3938 {
   3939     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   3940         IUnknown **owner) = 0;
   3941 
   3942     virtual HRESULT STDMETHODCALLTYPE GetCount(
   3943         UINT32 *count) = 0;
   3944 
   3945     virtual HRESULT STDMETHODCALLTYPE GetAt(
   3946         UINT32 index,
   3947         LPWSTR *key,
   3948         IXpsOMShareable **entry) = 0;
   3949 
   3950     virtual HRESULT STDMETHODCALLTYPE GetByKey(
   3951         LPCWSTR key,
   3952         IXpsOMShareable *beforeEntry,
   3953         IXpsOMShareable **entry) = 0;
   3954 
   3955     virtual HRESULT STDMETHODCALLTYPE GetIndex(
   3956         IXpsOMShareable *entry,
   3957         UINT32 *index) = 0;
   3958 
   3959     virtual HRESULT STDMETHODCALLTYPE Append(
   3960         LPCWSTR key,
   3961         IXpsOMShareable *entry) = 0;
   3962 
   3963     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   3964         UINT32 index,
   3965         LPCWSTR key,
   3966         IXpsOMShareable *entry) = 0;
   3967 
   3968     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   3969         UINT32 index) = 0;
   3970 
   3971     virtual HRESULT STDMETHODCALLTYPE SetAt(
   3972         UINT32 index,
   3973         LPCWSTR key,
   3974         IXpsOMShareable *entry) = 0;
   3975 
   3976     virtual HRESULT STDMETHODCALLTYPE Clone(
   3977         IXpsOMDictionary **dictionary) = 0;
   3978 
   3979 };
   3980 #ifdef __CRT_UUID_DECL
   3981 __CRT_UUID_DECL(IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36)
   3982 #endif
   3983 #else
   3984 typedef struct IXpsOMDictionaryVtbl {
   3985     BEGIN_INTERFACE
   3986 
   3987     /*** IUnknown methods ***/
   3988     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3989         IXpsOMDictionary* This,
   3990         REFIID riid,
   3991         void **ppvObject);
   3992 
   3993     ULONG (STDMETHODCALLTYPE *AddRef)(
   3994         IXpsOMDictionary* This);
   3995 
   3996     ULONG (STDMETHODCALLTYPE *Release)(
   3997         IXpsOMDictionary* This);
   3998 
   3999     /*** IXpsOMDictionary methods ***/
   4000     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   4001         IXpsOMDictionary* This,
   4002         IUnknown **owner);
   4003 
   4004     HRESULT (STDMETHODCALLTYPE *GetCount)(
   4005         IXpsOMDictionary* This,
   4006         UINT32 *count);
   4007 
   4008     HRESULT (STDMETHODCALLTYPE *GetAt)(
   4009         IXpsOMDictionary* This,
   4010         UINT32 index,
   4011         LPWSTR *key,
   4012         IXpsOMShareable **entry);
   4013 
   4014     HRESULT (STDMETHODCALLTYPE *GetByKey)(
   4015         IXpsOMDictionary* This,
   4016         LPCWSTR key,
   4017         IXpsOMShareable *beforeEntry,
   4018         IXpsOMShareable **entry);
   4019 
   4020     HRESULT (STDMETHODCALLTYPE *GetIndex)(
   4021         IXpsOMDictionary* This,
   4022         IXpsOMShareable *entry,
   4023         UINT32 *index);
   4024 
   4025     HRESULT (STDMETHODCALLTYPE *Append)(
   4026         IXpsOMDictionary* This,
   4027         LPCWSTR key,
   4028         IXpsOMShareable *entry);
   4029 
   4030     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   4031         IXpsOMDictionary* This,
   4032         UINT32 index,
   4033         LPCWSTR key,
   4034         IXpsOMShareable *entry);
   4035 
   4036     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   4037         IXpsOMDictionary* This,
   4038         UINT32 index);
   4039 
   4040     HRESULT (STDMETHODCALLTYPE *SetAt)(
   4041         IXpsOMDictionary* This,
   4042         UINT32 index,
   4043         LPCWSTR key,
   4044         IXpsOMShareable *entry);
   4045 
   4046     HRESULT (STDMETHODCALLTYPE *Clone)(
   4047         IXpsOMDictionary* This,
   4048         IXpsOMDictionary **dictionary);
   4049 
   4050     END_INTERFACE
   4051 } IXpsOMDictionaryVtbl;
   4052 interface IXpsOMDictionary {
   4053     CONST_VTBL IXpsOMDictionaryVtbl* lpVtbl;
   4054 };
   4055 
   4056 #ifdef COBJMACROS
   4057 #ifndef WIDL_C_INLINE_WRAPPERS
   4058 /*** IUnknown methods ***/
   4059 #define IXpsOMDictionary_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4060 #define IXpsOMDictionary_AddRef(This) (This)->lpVtbl->AddRef(This)
   4061 #define IXpsOMDictionary_Release(This) (This)->lpVtbl->Release(This)
   4062 /*** IXpsOMDictionary methods ***/
   4063 #define IXpsOMDictionary_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   4064 #define IXpsOMDictionary_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   4065 #define IXpsOMDictionary_GetAt(This,index,key,entry) (This)->lpVtbl->GetAt(This,index,key,entry)
   4066 #define IXpsOMDictionary_GetByKey(This,key,beforeEntry,entry) (This)->lpVtbl->GetByKey(This,key,beforeEntry,entry)
   4067 #define IXpsOMDictionary_GetIndex(This,entry,index) (This)->lpVtbl->GetIndex(This,entry,index)
   4068 #define IXpsOMDictionary_Append(This,key,entry) (This)->lpVtbl->Append(This,key,entry)
   4069 #define IXpsOMDictionary_InsertAt(This,index,key,entry) (This)->lpVtbl->InsertAt(This,index,key,entry)
   4070 #define IXpsOMDictionary_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   4071 #define IXpsOMDictionary_SetAt(This,index,key,entry) (This)->lpVtbl->SetAt(This,index,key,entry)
   4072 #define IXpsOMDictionary_Clone(This,dictionary) (This)->lpVtbl->Clone(This,dictionary)
   4073 #else
   4074 /*** IUnknown methods ***/
   4075 static FORCEINLINE HRESULT IXpsOMDictionary_QueryInterface(IXpsOMDictionary* This,REFIID riid,void **ppvObject) {
   4076     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4077 }
   4078 static FORCEINLINE ULONG IXpsOMDictionary_AddRef(IXpsOMDictionary* This) {
   4079     return This->lpVtbl->AddRef(This);
   4080 }
   4081 static FORCEINLINE ULONG IXpsOMDictionary_Release(IXpsOMDictionary* This) {
   4082     return This->lpVtbl->Release(This);
   4083 }
   4084 /*** IXpsOMDictionary methods ***/
   4085 static FORCEINLINE HRESULT IXpsOMDictionary_GetOwner(IXpsOMDictionary* This,IUnknown **owner) {
   4086     return This->lpVtbl->GetOwner(This,owner);
   4087 }
   4088 static FORCEINLINE HRESULT IXpsOMDictionary_GetCount(IXpsOMDictionary* This,UINT32 *count) {
   4089     return This->lpVtbl->GetCount(This,count);
   4090 }
   4091 static FORCEINLINE HRESULT IXpsOMDictionary_GetAt(IXpsOMDictionary* This,UINT32 index,LPWSTR *key,IXpsOMShareable **entry) {
   4092     return This->lpVtbl->GetAt(This,index,key,entry);
   4093 }
   4094 static FORCEINLINE HRESULT IXpsOMDictionary_GetByKey(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *beforeEntry,IXpsOMShareable **entry) {
   4095     return This->lpVtbl->GetByKey(This,key,beforeEntry,entry);
   4096 }
   4097 static FORCEINLINE HRESULT IXpsOMDictionary_GetIndex(IXpsOMDictionary* This,IXpsOMShareable *entry,UINT32 *index) {
   4098     return This->lpVtbl->GetIndex(This,entry,index);
   4099 }
   4100 static FORCEINLINE HRESULT IXpsOMDictionary_Append(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *entry) {
   4101     return This->lpVtbl->Append(This,key,entry);
   4102 }
   4103 static FORCEINLINE HRESULT IXpsOMDictionary_InsertAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
   4104     return This->lpVtbl->InsertAt(This,index,key,entry);
   4105 }
   4106 static FORCEINLINE HRESULT IXpsOMDictionary_RemoveAt(IXpsOMDictionary* This,UINT32 index) {
   4107     return This->lpVtbl->RemoveAt(This,index);
   4108 }
   4109 static FORCEINLINE HRESULT IXpsOMDictionary_SetAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
   4110     return This->lpVtbl->SetAt(This,index,key,entry);
   4111 }
   4112 static FORCEINLINE HRESULT IXpsOMDictionary_Clone(IXpsOMDictionary* This,IXpsOMDictionary **dictionary) {
   4113     return This->lpVtbl->Clone(This,dictionary);
   4114 }
   4115 #endif
   4116 #endif
   4117 
   4118 #endif
   4119 
   4120 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_GetOwner_Proxy(
   4121     IXpsOMDictionary* This,
   4122     IUnknown **owner);
   4123 void __RPC_STUB IXpsOMDictionary_GetOwner_Stub(
   4124     IRpcStubBuffer* This,
   4125     IRpcChannelBuffer* pRpcChannelBuffer,
   4126     PRPC_MESSAGE pRpcMessage,
   4127     DWORD* pdwStubPhase);
   4128 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_GetCount_Proxy(
   4129     IXpsOMDictionary* This,
   4130     UINT32 *count);
   4131 void __RPC_STUB IXpsOMDictionary_GetCount_Stub(
   4132     IRpcStubBuffer* This,
   4133     IRpcChannelBuffer* pRpcChannelBuffer,
   4134     PRPC_MESSAGE pRpcMessage,
   4135     DWORD* pdwStubPhase);
   4136 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_GetAt_Proxy(
   4137     IXpsOMDictionary* This,
   4138     UINT32 index,
   4139     LPWSTR *key,
   4140     IXpsOMShareable **entry);
   4141 void __RPC_STUB IXpsOMDictionary_GetAt_Stub(
   4142     IRpcStubBuffer* This,
   4143     IRpcChannelBuffer* pRpcChannelBuffer,
   4144     PRPC_MESSAGE pRpcMessage,
   4145     DWORD* pdwStubPhase);
   4146 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_GetByKey_Proxy(
   4147     IXpsOMDictionary* This,
   4148     LPCWSTR key,
   4149     IXpsOMShareable *beforeEntry,
   4150     IXpsOMShareable **entry);
   4151 void __RPC_STUB IXpsOMDictionary_GetByKey_Stub(
   4152     IRpcStubBuffer* This,
   4153     IRpcChannelBuffer* pRpcChannelBuffer,
   4154     PRPC_MESSAGE pRpcMessage,
   4155     DWORD* pdwStubPhase);
   4156 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_GetIndex_Proxy(
   4157     IXpsOMDictionary* This,
   4158     IXpsOMShareable *entry,
   4159     UINT32 *index);
   4160 void __RPC_STUB IXpsOMDictionary_GetIndex_Stub(
   4161     IRpcStubBuffer* This,
   4162     IRpcChannelBuffer* pRpcChannelBuffer,
   4163     PRPC_MESSAGE pRpcMessage,
   4164     DWORD* pdwStubPhase);
   4165 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_Append_Proxy(
   4166     IXpsOMDictionary* This,
   4167     LPCWSTR key,
   4168     IXpsOMShareable *entry);
   4169 void __RPC_STUB IXpsOMDictionary_Append_Stub(
   4170     IRpcStubBuffer* This,
   4171     IRpcChannelBuffer* pRpcChannelBuffer,
   4172     PRPC_MESSAGE pRpcMessage,
   4173     DWORD* pdwStubPhase);
   4174 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_InsertAt_Proxy(
   4175     IXpsOMDictionary* This,
   4176     UINT32 index,
   4177     LPCWSTR key,
   4178     IXpsOMShareable *entry);
   4179 void __RPC_STUB IXpsOMDictionary_InsertAt_Stub(
   4180     IRpcStubBuffer* This,
   4181     IRpcChannelBuffer* pRpcChannelBuffer,
   4182     PRPC_MESSAGE pRpcMessage,
   4183     DWORD* pdwStubPhase);
   4184 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_RemoveAt_Proxy(
   4185     IXpsOMDictionary* This,
   4186     UINT32 index);
   4187 void __RPC_STUB IXpsOMDictionary_RemoveAt_Stub(
   4188     IRpcStubBuffer* This,
   4189     IRpcChannelBuffer* pRpcChannelBuffer,
   4190     PRPC_MESSAGE pRpcMessage,
   4191     DWORD* pdwStubPhase);
   4192 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_SetAt_Proxy(
   4193     IXpsOMDictionary* This,
   4194     UINT32 index,
   4195     LPCWSTR key,
   4196     IXpsOMShareable *entry);
   4197 void __RPC_STUB IXpsOMDictionary_SetAt_Stub(
   4198     IRpcStubBuffer* This,
   4199     IRpcChannelBuffer* pRpcChannelBuffer,
   4200     PRPC_MESSAGE pRpcMessage,
   4201     DWORD* pdwStubPhase);
   4202 HRESULT STDMETHODCALLTYPE IXpsOMDictionary_Clone_Proxy(
   4203     IXpsOMDictionary* This,
   4204     IXpsOMDictionary **dictionary);
   4205 void __RPC_STUB IXpsOMDictionary_Clone_Stub(
   4206     IRpcStubBuffer* This,
   4207     IRpcChannelBuffer* pRpcChannelBuffer,
   4208     PRPC_MESSAGE pRpcMessage,
   4209     DWORD* pdwStubPhase);
   4210 
   4211 #endif  /* __IXpsOMDictionary_INTERFACE_DEFINED__ */
   4212 
   4213 /*****************************************************************************
   4214  * IXpsOMPageReference interface
   4215  */
   4216 #ifndef __IXpsOMPageReference_INTERFACE_DEFINED__
   4217 #define __IXpsOMPageReference_INTERFACE_DEFINED__
   4218 
   4219 DEFINE_GUID(IID_IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0);
   4220 #if defined(__cplusplus) && !defined(CINTERFACE)
   4221 MIDL_INTERFACE("ed360180-6f92-4998-890d-2f208531a0a0")
   4222 IXpsOMPageReference : public IUnknown
   4223 {
   4224     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   4225         IXpsOMDocument **document) = 0;
   4226 
   4227     virtual HRESULT STDMETHODCALLTYPE GetPage(
   4228         IXpsOMPage **page) = 0;
   4229 
   4230     virtual HRESULT STDMETHODCALLTYPE SetPage(
   4231         IXpsOMPage *page) = 0;
   4232 
   4233     virtual HRESULT STDMETHODCALLTYPE DiscardPage(
   4234         ) = 0;
   4235 
   4236     virtual HRESULT STDMETHODCALLTYPE IsPageLoaded(
   4237         WINBOOL *isPageLoaded) = 0;
   4238 
   4239     virtual HRESULT STDMETHODCALLTYPE GetAdvisoryPageDimensions(
   4240         XPS_SIZE *pageDimensions) = 0;
   4241 
   4242     virtual HRESULT STDMETHODCALLTYPE SetAdvisoryPageDimensions(
   4243         const XPS_SIZE *pageDimensions) = 0;
   4244 
   4245     virtual HRESULT STDMETHODCALLTYPE GetStoryFragmentsResource(
   4246         IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
   4247 
   4248     virtual HRESULT STDMETHODCALLTYPE SetStoryFragmentsResource(
   4249         IXpsOMStoryFragmentsResource *storyFragmentsResource) = 0;
   4250 
   4251     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
   4252         IXpsOMPrintTicketResource **printTicketResource) = 0;
   4253 
   4254     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
   4255         IXpsOMPrintTicketResource *printTicketResource) = 0;
   4256 
   4257     virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
   4258         IXpsOMImageResource **imageResource) = 0;
   4259 
   4260     virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
   4261         IXpsOMImageResource *imageResource) = 0;
   4262 
   4263     virtual HRESULT STDMETHODCALLTYPE CollectLinkTargets(
   4264         IXpsOMNameCollection **linkTargets) = 0;
   4265 
   4266     virtual HRESULT STDMETHODCALLTYPE CollectPartResources(
   4267         IXpsOMPartResources **partResources) = 0;
   4268 
   4269     virtual HRESULT STDMETHODCALLTYPE HasRestrictedFonts(
   4270         WINBOOL *restrictedFonts) = 0;
   4271 
   4272     virtual HRESULT STDMETHODCALLTYPE Clone(
   4273         IXpsOMPageReference **pageReference) = 0;
   4274 
   4275 };
   4276 #ifdef __CRT_UUID_DECL
   4277 __CRT_UUID_DECL(IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0)
   4278 #endif
   4279 #else
   4280 typedef struct IXpsOMPageReferenceVtbl {
   4281     BEGIN_INTERFACE
   4282 
   4283     /*** IUnknown methods ***/
   4284     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4285         IXpsOMPageReference* This,
   4286         REFIID riid,
   4287         void **ppvObject);
   4288 
   4289     ULONG (STDMETHODCALLTYPE *AddRef)(
   4290         IXpsOMPageReference* This);
   4291 
   4292     ULONG (STDMETHODCALLTYPE *Release)(
   4293         IXpsOMPageReference* This);
   4294 
   4295     /*** IXpsOMPageReference methods ***/
   4296     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   4297         IXpsOMPageReference* This,
   4298         IXpsOMDocument **document);
   4299 
   4300     HRESULT (STDMETHODCALLTYPE *GetPage)(
   4301         IXpsOMPageReference* This,
   4302         IXpsOMPage **page);
   4303 
   4304     HRESULT (STDMETHODCALLTYPE *SetPage)(
   4305         IXpsOMPageReference* This,
   4306         IXpsOMPage *page);
   4307 
   4308     HRESULT (STDMETHODCALLTYPE *DiscardPage)(
   4309         IXpsOMPageReference* This);
   4310 
   4311     HRESULT (STDMETHODCALLTYPE *IsPageLoaded)(
   4312         IXpsOMPageReference* This,
   4313         WINBOOL *isPageLoaded);
   4314 
   4315     HRESULT (STDMETHODCALLTYPE *GetAdvisoryPageDimensions)(
   4316         IXpsOMPageReference* This,
   4317         XPS_SIZE *pageDimensions);
   4318 
   4319     HRESULT (STDMETHODCALLTYPE *SetAdvisoryPageDimensions)(
   4320         IXpsOMPageReference* This,
   4321         const XPS_SIZE *pageDimensions);
   4322 
   4323     HRESULT (STDMETHODCALLTYPE *GetStoryFragmentsResource)(
   4324         IXpsOMPageReference* This,
   4325         IXpsOMStoryFragmentsResource **storyFragmentsResource);
   4326 
   4327     HRESULT (STDMETHODCALLTYPE *SetStoryFragmentsResource)(
   4328         IXpsOMPageReference* This,
   4329         IXpsOMStoryFragmentsResource *storyFragmentsResource);
   4330 
   4331     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
   4332         IXpsOMPageReference* This,
   4333         IXpsOMPrintTicketResource **printTicketResource);
   4334 
   4335     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
   4336         IXpsOMPageReference* This,
   4337         IXpsOMPrintTicketResource *printTicketResource);
   4338 
   4339     HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
   4340         IXpsOMPageReference* This,
   4341         IXpsOMImageResource **imageResource);
   4342 
   4343     HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
   4344         IXpsOMPageReference* This,
   4345         IXpsOMImageResource *imageResource);
   4346 
   4347     HRESULT (STDMETHODCALLTYPE *CollectLinkTargets)(
   4348         IXpsOMPageReference* This,
   4349         IXpsOMNameCollection **linkTargets);
   4350 
   4351     HRESULT (STDMETHODCALLTYPE *CollectPartResources)(
   4352         IXpsOMPageReference* This,
   4353         IXpsOMPartResources **partResources);
   4354 
   4355     HRESULT (STDMETHODCALLTYPE *HasRestrictedFonts)(
   4356         IXpsOMPageReference* This,
   4357         WINBOOL *restrictedFonts);
   4358 
   4359     HRESULT (STDMETHODCALLTYPE *Clone)(
   4360         IXpsOMPageReference* This,
   4361         IXpsOMPageReference **pageReference);
   4362 
   4363     END_INTERFACE
   4364 } IXpsOMPageReferenceVtbl;
   4365 interface IXpsOMPageReference {
   4366     CONST_VTBL IXpsOMPageReferenceVtbl* lpVtbl;
   4367 };
   4368 
   4369 #ifdef COBJMACROS
   4370 #ifndef WIDL_C_INLINE_WRAPPERS
   4371 /*** IUnknown methods ***/
   4372 #define IXpsOMPageReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4373 #define IXpsOMPageReference_AddRef(This) (This)->lpVtbl->AddRef(This)
   4374 #define IXpsOMPageReference_Release(This) (This)->lpVtbl->Release(This)
   4375 /*** IXpsOMPageReference methods ***/
   4376 #define IXpsOMPageReference_GetOwner(This,document) (This)->lpVtbl->GetOwner(This,document)
   4377 #define IXpsOMPageReference_GetPage(This,page) (This)->lpVtbl->GetPage(This,page)
   4378 #define IXpsOMPageReference_SetPage(This,page) (This)->lpVtbl->SetPage(This,page)
   4379 #define IXpsOMPageReference_DiscardPage(This) (This)->lpVtbl->DiscardPage(This)
   4380 #define IXpsOMPageReference_IsPageLoaded(This,isPageLoaded) (This)->lpVtbl->IsPageLoaded(This,isPageLoaded)
   4381 #define IXpsOMPageReference_GetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions)
   4382 #define IXpsOMPageReference_SetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions)
   4383 #define IXpsOMPageReference_GetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource)
   4384 #define IXpsOMPageReference_SetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource)
   4385 #define IXpsOMPageReference_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
   4386 #define IXpsOMPageReference_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
   4387 #define IXpsOMPageReference_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
   4388 #define IXpsOMPageReference_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
   4389 #define IXpsOMPageReference_CollectLinkTargets(This,linkTargets) (This)->lpVtbl->CollectLinkTargets(This,linkTargets)
   4390 #define IXpsOMPageReference_CollectPartResources(This,partResources) (This)->lpVtbl->CollectPartResources(This,partResources)
   4391 #define IXpsOMPageReference_HasRestrictedFonts(This,restrictedFonts) (This)->lpVtbl->HasRestrictedFonts(This,restrictedFonts)
   4392 #define IXpsOMPageReference_Clone(This,pageReference) (This)->lpVtbl->Clone(This,pageReference)
   4393 #else
   4394 /*** IUnknown methods ***/
   4395 static FORCEINLINE HRESULT IXpsOMPageReference_QueryInterface(IXpsOMPageReference* This,REFIID riid,void **ppvObject) {
   4396     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4397 }
   4398 static FORCEINLINE ULONG IXpsOMPageReference_AddRef(IXpsOMPageReference* This) {
   4399     return This->lpVtbl->AddRef(This);
   4400 }
   4401 static FORCEINLINE ULONG IXpsOMPageReference_Release(IXpsOMPageReference* This) {
   4402     return This->lpVtbl->Release(This);
   4403 }
   4404 /*** IXpsOMPageReference methods ***/
   4405 static FORCEINLINE HRESULT IXpsOMPageReference_GetOwner(IXpsOMPageReference* This,IXpsOMDocument **document) {
   4406     return This->lpVtbl->GetOwner(This,document);
   4407 }
   4408 static FORCEINLINE HRESULT IXpsOMPageReference_GetPage(IXpsOMPageReference* This,IXpsOMPage **page) {
   4409     return This->lpVtbl->GetPage(This,page);
   4410 }
   4411 static FORCEINLINE HRESULT IXpsOMPageReference_SetPage(IXpsOMPageReference* This,IXpsOMPage *page) {
   4412     return This->lpVtbl->SetPage(This,page);
   4413 }
   4414 static FORCEINLINE HRESULT IXpsOMPageReference_DiscardPage(IXpsOMPageReference* This) {
   4415     return This->lpVtbl->DiscardPage(This);
   4416 }
   4417 static FORCEINLINE HRESULT IXpsOMPageReference_IsPageLoaded(IXpsOMPageReference* This,WINBOOL *isPageLoaded) {
   4418     return This->lpVtbl->IsPageLoaded(This,isPageLoaded);
   4419 }
   4420 static FORCEINLINE HRESULT IXpsOMPageReference_GetAdvisoryPageDimensions(IXpsOMPageReference* This,XPS_SIZE *pageDimensions) {
   4421     return This->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions);
   4422 }
   4423 static FORCEINLINE HRESULT IXpsOMPageReference_SetAdvisoryPageDimensions(IXpsOMPageReference* This,const XPS_SIZE *pageDimensions) {
   4424     return This->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions);
   4425 }
   4426 static FORCEINLINE HRESULT IXpsOMPageReference_GetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
   4427     return This->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource);
   4428 }
   4429 static FORCEINLINE HRESULT IXpsOMPageReference_SetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource *storyFragmentsResource) {
   4430     return This->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource);
   4431 }
   4432 static FORCEINLINE HRESULT IXpsOMPageReference_GetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource **printTicketResource) {
   4433     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
   4434 }
   4435 static FORCEINLINE HRESULT IXpsOMPageReference_SetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource *printTicketResource) {
   4436     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
   4437 }
   4438 static FORCEINLINE HRESULT IXpsOMPageReference_GetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource **imageResource) {
   4439     return This->lpVtbl->GetThumbnailResource(This,imageResource);
   4440 }
   4441 static FORCEINLINE HRESULT IXpsOMPageReference_SetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource *imageResource) {
   4442     return This->lpVtbl->SetThumbnailResource(This,imageResource);
   4443 }
   4444 static FORCEINLINE HRESULT IXpsOMPageReference_CollectLinkTargets(IXpsOMPageReference* This,IXpsOMNameCollection **linkTargets) {
   4445     return This->lpVtbl->CollectLinkTargets(This,linkTargets);
   4446 }
   4447 static FORCEINLINE HRESULT IXpsOMPageReference_CollectPartResources(IXpsOMPageReference* This,IXpsOMPartResources **partResources) {
   4448     return This->lpVtbl->CollectPartResources(This,partResources);
   4449 }
   4450 static FORCEINLINE HRESULT IXpsOMPageReference_HasRestrictedFonts(IXpsOMPageReference* This,WINBOOL *restrictedFonts) {
   4451     return This->lpVtbl->HasRestrictedFonts(This,restrictedFonts);
   4452 }
   4453 static FORCEINLINE HRESULT IXpsOMPageReference_Clone(IXpsOMPageReference* This,IXpsOMPageReference **pageReference) {
   4454     return This->lpVtbl->Clone(This,pageReference);
   4455 }
   4456 #endif
   4457 #endif
   4458 
   4459 #endif
   4460 
   4461 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetOwner_Proxy(
   4462     IXpsOMPageReference* This,
   4463     IXpsOMDocument **document);
   4464 void __RPC_STUB IXpsOMPageReference_GetOwner_Stub(
   4465     IRpcStubBuffer* This,
   4466     IRpcChannelBuffer* pRpcChannelBuffer,
   4467     PRPC_MESSAGE pRpcMessage,
   4468     DWORD* pdwStubPhase);
   4469 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetPage_Proxy(
   4470     IXpsOMPageReference* This,
   4471     IXpsOMPage **page);
   4472 void __RPC_STUB IXpsOMPageReference_GetPage_Stub(
   4473     IRpcStubBuffer* This,
   4474     IRpcChannelBuffer* pRpcChannelBuffer,
   4475     PRPC_MESSAGE pRpcMessage,
   4476     DWORD* pdwStubPhase);
   4477 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_SetPage_Proxy(
   4478     IXpsOMPageReference* This,
   4479     IXpsOMPage *page);
   4480 void __RPC_STUB IXpsOMPageReference_SetPage_Stub(
   4481     IRpcStubBuffer* This,
   4482     IRpcChannelBuffer* pRpcChannelBuffer,
   4483     PRPC_MESSAGE pRpcMessage,
   4484     DWORD* pdwStubPhase);
   4485 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_DiscardPage_Proxy(
   4486     IXpsOMPageReference* This);
   4487 void __RPC_STUB IXpsOMPageReference_DiscardPage_Stub(
   4488     IRpcStubBuffer* This,
   4489     IRpcChannelBuffer* pRpcChannelBuffer,
   4490     PRPC_MESSAGE pRpcMessage,
   4491     DWORD* pdwStubPhase);
   4492 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_IsPageLoaded_Proxy(
   4493     IXpsOMPageReference* This,
   4494     WINBOOL *isPageLoaded);
   4495 void __RPC_STUB IXpsOMPageReference_IsPageLoaded_Stub(
   4496     IRpcStubBuffer* This,
   4497     IRpcChannelBuffer* pRpcChannelBuffer,
   4498     PRPC_MESSAGE pRpcMessage,
   4499     DWORD* pdwStubPhase);
   4500 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetAdvisoryPageDimensions_Proxy(
   4501     IXpsOMPageReference* This,
   4502     XPS_SIZE *pageDimensions);
   4503 void __RPC_STUB IXpsOMPageReference_GetAdvisoryPageDimensions_Stub(
   4504     IRpcStubBuffer* This,
   4505     IRpcChannelBuffer* pRpcChannelBuffer,
   4506     PRPC_MESSAGE pRpcMessage,
   4507     DWORD* pdwStubPhase);
   4508 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_SetAdvisoryPageDimensions_Proxy(
   4509     IXpsOMPageReference* This,
   4510     const XPS_SIZE *pageDimensions);
   4511 void __RPC_STUB IXpsOMPageReference_SetAdvisoryPageDimensions_Stub(
   4512     IRpcStubBuffer* This,
   4513     IRpcChannelBuffer* pRpcChannelBuffer,
   4514     PRPC_MESSAGE pRpcMessage,
   4515     DWORD* pdwStubPhase);
   4516 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetStoryFragmentsResource_Proxy(
   4517     IXpsOMPageReference* This,
   4518     IXpsOMStoryFragmentsResource **storyFragmentsResource);
   4519 void __RPC_STUB IXpsOMPageReference_GetStoryFragmentsResource_Stub(
   4520     IRpcStubBuffer* This,
   4521     IRpcChannelBuffer* pRpcChannelBuffer,
   4522     PRPC_MESSAGE pRpcMessage,
   4523     DWORD* pdwStubPhase);
   4524 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_SetStoryFragmentsResource_Proxy(
   4525     IXpsOMPageReference* This,
   4526     IXpsOMStoryFragmentsResource *storyFragmentsResource);
   4527 void __RPC_STUB IXpsOMPageReference_SetStoryFragmentsResource_Stub(
   4528     IRpcStubBuffer* This,
   4529     IRpcChannelBuffer* pRpcChannelBuffer,
   4530     PRPC_MESSAGE pRpcMessage,
   4531     DWORD* pdwStubPhase);
   4532 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetPrintTicketResource_Proxy(
   4533     IXpsOMPageReference* This,
   4534     IXpsOMPrintTicketResource **printTicketResource);
   4535 void __RPC_STUB IXpsOMPageReference_GetPrintTicketResource_Stub(
   4536     IRpcStubBuffer* This,
   4537     IRpcChannelBuffer* pRpcChannelBuffer,
   4538     PRPC_MESSAGE pRpcMessage,
   4539     DWORD* pdwStubPhase);
   4540 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_SetPrintTicketResource_Proxy(
   4541     IXpsOMPageReference* This,
   4542     IXpsOMPrintTicketResource *printTicketResource);
   4543 void __RPC_STUB IXpsOMPageReference_SetPrintTicketResource_Stub(
   4544     IRpcStubBuffer* This,
   4545     IRpcChannelBuffer* pRpcChannelBuffer,
   4546     PRPC_MESSAGE pRpcMessage,
   4547     DWORD* pdwStubPhase);
   4548 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_GetThumbnailResource_Proxy(
   4549     IXpsOMPageReference* This,
   4550     IXpsOMImageResource **imageResource);
   4551 void __RPC_STUB IXpsOMPageReference_GetThumbnailResource_Stub(
   4552     IRpcStubBuffer* This,
   4553     IRpcChannelBuffer* pRpcChannelBuffer,
   4554     PRPC_MESSAGE pRpcMessage,
   4555     DWORD* pdwStubPhase);
   4556 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_SetThumbnailResource_Proxy(
   4557     IXpsOMPageReference* This,
   4558     IXpsOMImageResource *imageResource);
   4559 void __RPC_STUB IXpsOMPageReference_SetThumbnailResource_Stub(
   4560     IRpcStubBuffer* This,
   4561     IRpcChannelBuffer* pRpcChannelBuffer,
   4562     PRPC_MESSAGE pRpcMessage,
   4563     DWORD* pdwStubPhase);
   4564 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_CollectLinkTargets_Proxy(
   4565     IXpsOMPageReference* This,
   4566     IXpsOMNameCollection **linkTargets);
   4567 void __RPC_STUB IXpsOMPageReference_CollectLinkTargets_Stub(
   4568     IRpcStubBuffer* This,
   4569     IRpcChannelBuffer* pRpcChannelBuffer,
   4570     PRPC_MESSAGE pRpcMessage,
   4571     DWORD* pdwStubPhase);
   4572 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_CollectPartResources_Proxy(
   4573     IXpsOMPageReference* This,
   4574     IXpsOMPartResources **partResources);
   4575 void __RPC_STUB IXpsOMPageReference_CollectPartResources_Stub(
   4576     IRpcStubBuffer* This,
   4577     IRpcChannelBuffer* pRpcChannelBuffer,
   4578     PRPC_MESSAGE pRpcMessage,
   4579     DWORD* pdwStubPhase);
   4580 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_HasRestrictedFonts_Proxy(
   4581     IXpsOMPageReference* This,
   4582     WINBOOL *restrictedFonts);
   4583 void __RPC_STUB IXpsOMPageReference_HasRestrictedFonts_Stub(
   4584     IRpcStubBuffer* This,
   4585     IRpcChannelBuffer* pRpcChannelBuffer,
   4586     PRPC_MESSAGE pRpcMessage,
   4587     DWORD* pdwStubPhase);
   4588 HRESULT STDMETHODCALLTYPE IXpsOMPageReference_Clone_Proxy(
   4589     IXpsOMPageReference* This,
   4590     IXpsOMPageReference **pageReference);
   4591 void __RPC_STUB IXpsOMPageReference_Clone_Stub(
   4592     IRpcStubBuffer* This,
   4593     IRpcChannelBuffer* pRpcChannelBuffer,
   4594     PRPC_MESSAGE pRpcMessage,
   4595     DWORD* pdwStubPhase);
   4596 
   4597 #endif  /* __IXpsOMPageReference_INTERFACE_DEFINED__ */
   4598 
   4599 /*****************************************************************************
   4600  * IXpsOMPageReferenceCollection interface
   4601  */
   4602 #ifndef __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
   4603 #define __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
   4604 
   4605 DEFINE_GUID(IID_IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45);
   4606 #if defined(__cplusplus) && !defined(CINTERFACE)
   4607 MIDL_INTERFACE("ca16ba4d-e7b9-45c5-958b-f98022473745")
   4608 IXpsOMPageReferenceCollection : public IUnknown
   4609 {
   4610     virtual HRESULT STDMETHODCALLTYPE GetCount(
   4611         UINT32 *count) = 0;
   4612 
   4613     virtual HRESULT STDMETHODCALLTYPE GetAt(
   4614         UINT32 index,
   4615         IXpsOMPageReference **pageReference) = 0;
   4616 
   4617     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   4618         UINT32 index,
   4619         IXpsOMPageReference *pageReference) = 0;
   4620 
   4621     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   4622         UINT32 index) = 0;
   4623 
   4624     virtual HRESULT STDMETHODCALLTYPE SetAt(
   4625         UINT32 index,
   4626         IXpsOMPageReference *pageReference) = 0;
   4627 
   4628     virtual HRESULT STDMETHODCALLTYPE Append(
   4629         IXpsOMPageReference *pageReference) = 0;
   4630 
   4631 };
   4632 #ifdef __CRT_UUID_DECL
   4633 __CRT_UUID_DECL(IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45)
   4634 #endif
   4635 #else
   4636 typedef struct IXpsOMPageReferenceCollectionVtbl {
   4637     BEGIN_INTERFACE
   4638 
   4639     /*** IUnknown methods ***/
   4640     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4641         IXpsOMPageReferenceCollection* This,
   4642         REFIID riid,
   4643         void **ppvObject);
   4644 
   4645     ULONG (STDMETHODCALLTYPE *AddRef)(
   4646         IXpsOMPageReferenceCollection* This);
   4647 
   4648     ULONG (STDMETHODCALLTYPE *Release)(
   4649         IXpsOMPageReferenceCollection* This);
   4650 
   4651     /*** IXpsOMPageReferenceCollection methods ***/
   4652     HRESULT (STDMETHODCALLTYPE *GetCount)(
   4653         IXpsOMPageReferenceCollection* This,
   4654         UINT32 *count);
   4655 
   4656     HRESULT (STDMETHODCALLTYPE *GetAt)(
   4657         IXpsOMPageReferenceCollection* This,
   4658         UINT32 index,
   4659         IXpsOMPageReference **pageReference);
   4660 
   4661     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   4662         IXpsOMPageReferenceCollection* This,
   4663         UINT32 index,
   4664         IXpsOMPageReference *pageReference);
   4665 
   4666     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   4667         IXpsOMPageReferenceCollection* This,
   4668         UINT32 index);
   4669 
   4670     HRESULT (STDMETHODCALLTYPE *SetAt)(
   4671         IXpsOMPageReferenceCollection* This,
   4672         UINT32 index,
   4673         IXpsOMPageReference *pageReference);
   4674 
   4675     HRESULT (STDMETHODCALLTYPE *Append)(
   4676         IXpsOMPageReferenceCollection* This,
   4677         IXpsOMPageReference *pageReference);
   4678 
   4679     END_INTERFACE
   4680 } IXpsOMPageReferenceCollectionVtbl;
   4681 interface IXpsOMPageReferenceCollection {
   4682     CONST_VTBL IXpsOMPageReferenceCollectionVtbl* lpVtbl;
   4683 };
   4684 
   4685 #ifdef COBJMACROS
   4686 #ifndef WIDL_C_INLINE_WRAPPERS
   4687 /*** IUnknown methods ***/
   4688 #define IXpsOMPageReferenceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4689 #define IXpsOMPageReferenceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   4690 #define IXpsOMPageReferenceCollection_Release(This) (This)->lpVtbl->Release(This)
   4691 /*** IXpsOMPageReferenceCollection methods ***/
   4692 #define IXpsOMPageReferenceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   4693 #define IXpsOMPageReferenceCollection_GetAt(This,index,pageReference) (This)->lpVtbl->GetAt(This,index,pageReference)
   4694 #define IXpsOMPageReferenceCollection_InsertAt(This,index,pageReference) (This)->lpVtbl->InsertAt(This,index,pageReference)
   4695 #define IXpsOMPageReferenceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   4696 #define IXpsOMPageReferenceCollection_SetAt(This,index,pageReference) (This)->lpVtbl->SetAt(This,index,pageReference)
   4697 #define IXpsOMPageReferenceCollection_Append(This,pageReference) (This)->lpVtbl->Append(This,pageReference)
   4698 #else
   4699 /*** IUnknown methods ***/
   4700 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_QueryInterface(IXpsOMPageReferenceCollection* This,REFIID riid,void **ppvObject) {
   4701     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4702 }
   4703 static FORCEINLINE ULONG IXpsOMPageReferenceCollection_AddRef(IXpsOMPageReferenceCollection* This) {
   4704     return This->lpVtbl->AddRef(This);
   4705 }
   4706 static FORCEINLINE ULONG IXpsOMPageReferenceCollection_Release(IXpsOMPageReferenceCollection* This) {
   4707     return This->lpVtbl->Release(This);
   4708 }
   4709 /*** IXpsOMPageReferenceCollection methods ***/
   4710 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_GetCount(IXpsOMPageReferenceCollection* This,UINT32 *count) {
   4711     return This->lpVtbl->GetCount(This,count);
   4712 }
   4713 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_GetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference **pageReference) {
   4714     return This->lpVtbl->GetAt(This,index,pageReference);
   4715 }
   4716 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_InsertAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
   4717     return This->lpVtbl->InsertAt(This,index,pageReference);
   4718 }
   4719 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_RemoveAt(IXpsOMPageReferenceCollection* This,UINT32 index) {
   4720     return This->lpVtbl->RemoveAt(This,index);
   4721 }
   4722 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_SetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
   4723     return This->lpVtbl->SetAt(This,index,pageReference);
   4724 }
   4725 static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_Append(IXpsOMPageReferenceCollection* This,IXpsOMPageReference *pageReference) {
   4726     return This->lpVtbl->Append(This,pageReference);
   4727 }
   4728 #endif
   4729 #endif
   4730 
   4731 #endif
   4732 
   4733 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_GetCount_Proxy(
   4734     IXpsOMPageReferenceCollection* This,
   4735     UINT32 *count);
   4736 void __RPC_STUB IXpsOMPageReferenceCollection_GetCount_Stub(
   4737     IRpcStubBuffer* This,
   4738     IRpcChannelBuffer* pRpcChannelBuffer,
   4739     PRPC_MESSAGE pRpcMessage,
   4740     DWORD* pdwStubPhase);
   4741 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_GetAt_Proxy(
   4742     IXpsOMPageReferenceCollection* This,
   4743     UINT32 index,
   4744     IXpsOMPageReference **pageReference);
   4745 void __RPC_STUB IXpsOMPageReferenceCollection_GetAt_Stub(
   4746     IRpcStubBuffer* This,
   4747     IRpcChannelBuffer* pRpcChannelBuffer,
   4748     PRPC_MESSAGE pRpcMessage,
   4749     DWORD* pdwStubPhase);
   4750 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_InsertAt_Proxy(
   4751     IXpsOMPageReferenceCollection* This,
   4752     UINT32 index,
   4753     IXpsOMPageReference *pageReference);
   4754 void __RPC_STUB IXpsOMPageReferenceCollection_InsertAt_Stub(
   4755     IRpcStubBuffer* This,
   4756     IRpcChannelBuffer* pRpcChannelBuffer,
   4757     PRPC_MESSAGE pRpcMessage,
   4758     DWORD* pdwStubPhase);
   4759 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_RemoveAt_Proxy(
   4760     IXpsOMPageReferenceCollection* This,
   4761     UINT32 index);
   4762 void __RPC_STUB IXpsOMPageReferenceCollection_RemoveAt_Stub(
   4763     IRpcStubBuffer* This,
   4764     IRpcChannelBuffer* pRpcChannelBuffer,
   4765     PRPC_MESSAGE pRpcMessage,
   4766     DWORD* pdwStubPhase);
   4767 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_SetAt_Proxy(
   4768     IXpsOMPageReferenceCollection* This,
   4769     UINT32 index,
   4770     IXpsOMPageReference *pageReference);
   4771 void __RPC_STUB IXpsOMPageReferenceCollection_SetAt_Stub(
   4772     IRpcStubBuffer* This,
   4773     IRpcChannelBuffer* pRpcChannelBuffer,
   4774     PRPC_MESSAGE pRpcMessage,
   4775     DWORD* pdwStubPhase);
   4776 HRESULT STDMETHODCALLTYPE IXpsOMPageReferenceCollection_Append_Proxy(
   4777     IXpsOMPageReferenceCollection* This,
   4778     IXpsOMPageReference *pageReference);
   4779 void __RPC_STUB IXpsOMPageReferenceCollection_Append_Stub(
   4780     IRpcStubBuffer* This,
   4781     IRpcChannelBuffer* pRpcChannelBuffer,
   4782     PRPC_MESSAGE pRpcMessage,
   4783     DWORD* pdwStubPhase);
   4784 
   4785 #endif  /* __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__ */
   4786 
   4787 /*****************************************************************************
   4788  * IXpsOMDocumentCollection interface
   4789  */
   4790 #ifndef __IXpsOMDocumentCollection_INTERFACE_DEFINED__
   4791 #define __IXpsOMDocumentCollection_INTERFACE_DEFINED__
   4792 
   4793 DEFINE_GUID(IID_IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e);
   4794 #if defined(__cplusplus) && !defined(CINTERFACE)
   4795 MIDL_INTERFACE("d1c87f0d-e947-4754-8a25-971478f7e83e")
   4796 IXpsOMDocumentCollection : public IUnknown
   4797 {
   4798     virtual HRESULT STDMETHODCALLTYPE GetCount(
   4799         UINT32 *count) = 0;
   4800 
   4801     virtual HRESULT STDMETHODCALLTYPE GetAt(
   4802         UINT32 index,
   4803         IXpsOMDocument **document) = 0;
   4804 
   4805     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   4806         UINT32 index,
   4807         IXpsOMDocument *document) = 0;
   4808 
   4809     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   4810         UINT32 index) = 0;
   4811 
   4812     virtual HRESULT STDMETHODCALLTYPE SetAt(
   4813         UINT32 index,
   4814         IXpsOMDocument *document) = 0;
   4815 
   4816     virtual HRESULT STDMETHODCALLTYPE Append(
   4817         IXpsOMDocument *document) = 0;
   4818 
   4819 };
   4820 #ifdef __CRT_UUID_DECL
   4821 __CRT_UUID_DECL(IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e)
   4822 #endif
   4823 #else
   4824 typedef struct IXpsOMDocumentCollectionVtbl {
   4825     BEGIN_INTERFACE
   4826 
   4827     /*** IUnknown methods ***/
   4828     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4829         IXpsOMDocumentCollection* This,
   4830         REFIID riid,
   4831         void **ppvObject);
   4832 
   4833     ULONG (STDMETHODCALLTYPE *AddRef)(
   4834         IXpsOMDocumentCollection* This);
   4835 
   4836     ULONG (STDMETHODCALLTYPE *Release)(
   4837         IXpsOMDocumentCollection* This);
   4838 
   4839     /*** IXpsOMDocumentCollection methods ***/
   4840     HRESULT (STDMETHODCALLTYPE *GetCount)(
   4841         IXpsOMDocumentCollection* This,
   4842         UINT32 *count);
   4843 
   4844     HRESULT (STDMETHODCALLTYPE *GetAt)(
   4845         IXpsOMDocumentCollection* This,
   4846         UINT32 index,
   4847         IXpsOMDocument **document);
   4848 
   4849     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   4850         IXpsOMDocumentCollection* This,
   4851         UINT32 index,
   4852         IXpsOMDocument *document);
   4853 
   4854     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   4855         IXpsOMDocumentCollection* This,
   4856         UINT32 index);
   4857 
   4858     HRESULT (STDMETHODCALLTYPE *SetAt)(
   4859         IXpsOMDocumentCollection* This,
   4860         UINT32 index,
   4861         IXpsOMDocument *document);
   4862 
   4863     HRESULT (STDMETHODCALLTYPE *Append)(
   4864         IXpsOMDocumentCollection* This,
   4865         IXpsOMDocument *document);
   4866 
   4867     END_INTERFACE
   4868 } IXpsOMDocumentCollectionVtbl;
   4869 interface IXpsOMDocumentCollection {
   4870     CONST_VTBL IXpsOMDocumentCollectionVtbl* lpVtbl;
   4871 };
   4872 
   4873 #ifdef COBJMACROS
   4874 #ifndef WIDL_C_INLINE_WRAPPERS
   4875 /*** IUnknown methods ***/
   4876 #define IXpsOMDocumentCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4877 #define IXpsOMDocumentCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   4878 #define IXpsOMDocumentCollection_Release(This) (This)->lpVtbl->Release(This)
   4879 /*** IXpsOMDocumentCollection methods ***/
   4880 #define IXpsOMDocumentCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   4881 #define IXpsOMDocumentCollection_GetAt(This,index,document) (This)->lpVtbl->GetAt(This,index,document)
   4882 #define IXpsOMDocumentCollection_InsertAt(This,index,document) (This)->lpVtbl->InsertAt(This,index,document)
   4883 #define IXpsOMDocumentCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   4884 #define IXpsOMDocumentCollection_SetAt(This,index,document) (This)->lpVtbl->SetAt(This,index,document)
   4885 #define IXpsOMDocumentCollection_Append(This,document) (This)->lpVtbl->Append(This,document)
   4886 #else
   4887 /*** IUnknown methods ***/
   4888 static FORCEINLINE HRESULT IXpsOMDocumentCollection_QueryInterface(IXpsOMDocumentCollection* This,REFIID riid,void **ppvObject) {
   4889     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4890 }
   4891 static FORCEINLINE ULONG IXpsOMDocumentCollection_AddRef(IXpsOMDocumentCollection* This) {
   4892     return This->lpVtbl->AddRef(This);
   4893 }
   4894 static FORCEINLINE ULONG IXpsOMDocumentCollection_Release(IXpsOMDocumentCollection* This) {
   4895     return This->lpVtbl->Release(This);
   4896 }
   4897 /*** IXpsOMDocumentCollection methods ***/
   4898 static FORCEINLINE HRESULT IXpsOMDocumentCollection_GetCount(IXpsOMDocumentCollection* This,UINT32 *count) {
   4899     return This->lpVtbl->GetCount(This,count);
   4900 }
   4901 static FORCEINLINE HRESULT IXpsOMDocumentCollection_GetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument **document) {
   4902     return This->lpVtbl->GetAt(This,index,document);
   4903 }
   4904 static FORCEINLINE HRESULT IXpsOMDocumentCollection_InsertAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
   4905     return This->lpVtbl->InsertAt(This,index,document);
   4906 }
   4907 static FORCEINLINE HRESULT IXpsOMDocumentCollection_RemoveAt(IXpsOMDocumentCollection* This,UINT32 index) {
   4908     return This->lpVtbl->RemoveAt(This,index);
   4909 }
   4910 static FORCEINLINE HRESULT IXpsOMDocumentCollection_SetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
   4911     return This->lpVtbl->SetAt(This,index,document);
   4912 }
   4913 static FORCEINLINE HRESULT IXpsOMDocumentCollection_Append(IXpsOMDocumentCollection* This,IXpsOMDocument *document) {
   4914     return This->lpVtbl->Append(This,document);
   4915 }
   4916 #endif
   4917 #endif
   4918 
   4919 #endif
   4920 
   4921 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_GetCount_Proxy(
   4922     IXpsOMDocumentCollection* This,
   4923     UINT32 *count);
   4924 void __RPC_STUB IXpsOMDocumentCollection_GetCount_Stub(
   4925     IRpcStubBuffer* This,
   4926     IRpcChannelBuffer* pRpcChannelBuffer,
   4927     PRPC_MESSAGE pRpcMessage,
   4928     DWORD* pdwStubPhase);
   4929 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_GetAt_Proxy(
   4930     IXpsOMDocumentCollection* This,
   4931     UINT32 index,
   4932     IXpsOMDocument **document);
   4933 void __RPC_STUB IXpsOMDocumentCollection_GetAt_Stub(
   4934     IRpcStubBuffer* This,
   4935     IRpcChannelBuffer* pRpcChannelBuffer,
   4936     PRPC_MESSAGE pRpcMessage,
   4937     DWORD* pdwStubPhase);
   4938 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_InsertAt_Proxy(
   4939     IXpsOMDocumentCollection* This,
   4940     UINT32 index,
   4941     IXpsOMDocument *document);
   4942 void __RPC_STUB IXpsOMDocumentCollection_InsertAt_Stub(
   4943     IRpcStubBuffer* This,
   4944     IRpcChannelBuffer* pRpcChannelBuffer,
   4945     PRPC_MESSAGE pRpcMessage,
   4946     DWORD* pdwStubPhase);
   4947 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_RemoveAt_Proxy(
   4948     IXpsOMDocumentCollection* This,
   4949     UINT32 index);
   4950 void __RPC_STUB IXpsOMDocumentCollection_RemoveAt_Stub(
   4951     IRpcStubBuffer* This,
   4952     IRpcChannelBuffer* pRpcChannelBuffer,
   4953     PRPC_MESSAGE pRpcMessage,
   4954     DWORD* pdwStubPhase);
   4955 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_SetAt_Proxy(
   4956     IXpsOMDocumentCollection* This,
   4957     UINT32 index,
   4958     IXpsOMDocument *document);
   4959 void __RPC_STUB IXpsOMDocumentCollection_SetAt_Stub(
   4960     IRpcStubBuffer* This,
   4961     IRpcChannelBuffer* pRpcChannelBuffer,
   4962     PRPC_MESSAGE pRpcMessage,
   4963     DWORD* pdwStubPhase);
   4964 HRESULT STDMETHODCALLTYPE IXpsOMDocumentCollection_Append_Proxy(
   4965     IXpsOMDocumentCollection* This,
   4966     IXpsOMDocument *document);
   4967 void __RPC_STUB IXpsOMDocumentCollection_Append_Stub(
   4968     IRpcStubBuffer* This,
   4969     IRpcChannelBuffer* pRpcChannelBuffer,
   4970     PRPC_MESSAGE pRpcMessage,
   4971     DWORD* pdwStubPhase);
   4972 
   4973 #endif  /* __IXpsOMDocumentCollection_INTERFACE_DEFINED__ */
   4974 
   4975 /*****************************************************************************
   4976  * IXpsOMPackage interface
   4977  */
   4978 #ifndef __IXpsOMPackage_INTERFACE_DEFINED__
   4979 #define __IXpsOMPackage_INTERFACE_DEFINED__
   4980 
   4981 DEFINE_GUID(IID_IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f);
   4982 #if defined(__cplusplus) && !defined(CINTERFACE)
   4983 MIDL_INTERFACE("18c3df65-81e1-4674-91dc-fc452f5a416f")
   4984 IXpsOMPackage : public IUnknown
   4985 {
   4986     virtual HRESULT STDMETHODCALLTYPE GetDocumentSequence(
   4987         IXpsOMDocumentSequence **documentSequence) = 0;
   4988 
   4989     virtual HRESULT STDMETHODCALLTYPE SetDocumentSequence(
   4990         IXpsOMDocumentSequence *documentSequence) = 0;
   4991 
   4992     virtual HRESULT STDMETHODCALLTYPE GetCoreProperties(
   4993         IXpsOMCoreProperties **coreProperties) = 0;
   4994 
   4995     virtual HRESULT STDMETHODCALLTYPE SetCoreProperties(
   4996         IXpsOMCoreProperties *coreProperties) = 0;
   4997 
   4998     virtual HRESULT STDMETHODCALLTYPE GetDiscardControlPartName(
   4999         IOpcPartUri **discardControlPartUri) = 0;
   5000 
   5001     virtual HRESULT STDMETHODCALLTYPE SetDiscardControlPartName(
   5002         IOpcPartUri *discardControlPartUri) = 0;
   5003 
   5004     virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
   5005         IXpsOMImageResource **imageResource) = 0;
   5006 
   5007     virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
   5008         IXpsOMImageResource *imageResource) = 0;
   5009 
   5010     virtual HRESULT STDMETHODCALLTYPE WriteToFile(
   5011         LPCWSTR fileName,
   5012         LPSECURITY_ATTRIBUTES securityAttributes,
   5013         DWORD flagsAndAttributes,
   5014         WINBOOL optimizeMarkupSize) = 0;
   5015 
   5016     virtual HRESULT STDMETHODCALLTYPE WriteToStream(
   5017         ISequentialStream *stream,
   5018         WINBOOL optimizeMarkupSize) = 0;
   5019 
   5020 };
   5021 #ifdef __CRT_UUID_DECL
   5022 __CRT_UUID_DECL(IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f)
   5023 #endif
   5024 #else
   5025 typedef struct IXpsOMPackageVtbl {
   5026     BEGIN_INTERFACE
   5027 
   5028     /*** IUnknown methods ***/
   5029     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5030         IXpsOMPackage* This,
   5031         REFIID riid,
   5032         void **ppvObject);
   5033 
   5034     ULONG (STDMETHODCALLTYPE *AddRef)(
   5035         IXpsOMPackage* This);
   5036 
   5037     ULONG (STDMETHODCALLTYPE *Release)(
   5038         IXpsOMPackage* This);
   5039 
   5040     /*** IXpsOMPackage methods ***/
   5041     HRESULT (STDMETHODCALLTYPE *GetDocumentSequence)(
   5042         IXpsOMPackage* This,
   5043         IXpsOMDocumentSequence **documentSequence);
   5044 
   5045     HRESULT (STDMETHODCALLTYPE *SetDocumentSequence)(
   5046         IXpsOMPackage* This,
   5047         IXpsOMDocumentSequence *documentSequence);
   5048 
   5049     HRESULT (STDMETHODCALLTYPE *GetCoreProperties)(
   5050         IXpsOMPackage* This,
   5051         IXpsOMCoreProperties **coreProperties);
   5052 
   5053     HRESULT (STDMETHODCALLTYPE *SetCoreProperties)(
   5054         IXpsOMPackage* This,
   5055         IXpsOMCoreProperties *coreProperties);
   5056 
   5057     HRESULT (STDMETHODCALLTYPE *GetDiscardControlPartName)(
   5058         IXpsOMPackage* This,
   5059         IOpcPartUri **discardControlPartUri);
   5060 
   5061     HRESULT (STDMETHODCALLTYPE *SetDiscardControlPartName)(
   5062         IXpsOMPackage* This,
   5063         IOpcPartUri *discardControlPartUri);
   5064 
   5065     HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
   5066         IXpsOMPackage* This,
   5067         IXpsOMImageResource **imageResource);
   5068 
   5069     HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
   5070         IXpsOMPackage* This,
   5071         IXpsOMImageResource *imageResource);
   5072 
   5073     HRESULT (STDMETHODCALLTYPE *WriteToFile)(
   5074         IXpsOMPackage* This,
   5075         LPCWSTR fileName,
   5076         LPSECURITY_ATTRIBUTES securityAttributes,
   5077         DWORD flagsAndAttributes,
   5078         WINBOOL optimizeMarkupSize);
   5079 
   5080     HRESULT (STDMETHODCALLTYPE *WriteToStream)(
   5081         IXpsOMPackage* This,
   5082         ISequentialStream *stream,
   5083         WINBOOL optimizeMarkupSize);
   5084 
   5085     END_INTERFACE
   5086 } IXpsOMPackageVtbl;
   5087 interface IXpsOMPackage {
   5088     CONST_VTBL IXpsOMPackageVtbl* lpVtbl;
   5089 };
   5090 
   5091 #ifdef COBJMACROS
   5092 #ifndef WIDL_C_INLINE_WRAPPERS
   5093 /*** IUnknown methods ***/
   5094 #define IXpsOMPackage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5095 #define IXpsOMPackage_AddRef(This) (This)->lpVtbl->AddRef(This)
   5096 #define IXpsOMPackage_Release(This) (This)->lpVtbl->Release(This)
   5097 /*** IXpsOMPackage methods ***/
   5098 #define IXpsOMPackage_GetDocumentSequence(This,documentSequence) (This)->lpVtbl->GetDocumentSequence(This,documentSequence)
   5099 #define IXpsOMPackage_SetDocumentSequence(This,documentSequence) (This)->lpVtbl->SetDocumentSequence(This,documentSequence)
   5100 #define IXpsOMPackage_GetCoreProperties(This,coreProperties) (This)->lpVtbl->GetCoreProperties(This,coreProperties)
   5101 #define IXpsOMPackage_SetCoreProperties(This,coreProperties) (This)->lpVtbl->SetCoreProperties(This,coreProperties)
   5102 #define IXpsOMPackage_GetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri)
   5103 #define IXpsOMPackage_SetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri)
   5104 #define IXpsOMPackage_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
   5105 #define IXpsOMPackage_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
   5106 #define IXpsOMPackage_WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) (This)->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize)
   5107 #define IXpsOMPackage_WriteToStream(This,stream,optimizeMarkupSize) (This)->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize)
   5108 #else
   5109 /*** IUnknown methods ***/
   5110 static FORCEINLINE HRESULT IXpsOMPackage_QueryInterface(IXpsOMPackage* This,REFIID riid,void **ppvObject) {
   5111     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5112 }
   5113 static FORCEINLINE ULONG IXpsOMPackage_AddRef(IXpsOMPackage* This) {
   5114     return This->lpVtbl->AddRef(This);
   5115 }
   5116 static FORCEINLINE ULONG IXpsOMPackage_Release(IXpsOMPackage* This) {
   5117     return This->lpVtbl->Release(This);
   5118 }
   5119 /*** IXpsOMPackage methods ***/
   5120 static FORCEINLINE HRESULT IXpsOMPackage_GetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence **documentSequence) {
   5121     return This->lpVtbl->GetDocumentSequence(This,documentSequence);
   5122 }
   5123 static FORCEINLINE HRESULT IXpsOMPackage_SetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence *documentSequence) {
   5124     return This->lpVtbl->SetDocumentSequence(This,documentSequence);
   5125 }
   5126 static FORCEINLINE HRESULT IXpsOMPackage_GetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties **coreProperties) {
   5127     return This->lpVtbl->GetCoreProperties(This,coreProperties);
   5128 }
   5129 static FORCEINLINE HRESULT IXpsOMPackage_SetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties *coreProperties) {
   5130     return This->lpVtbl->SetCoreProperties(This,coreProperties);
   5131 }
   5132 static FORCEINLINE HRESULT IXpsOMPackage_GetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri **discardControlPartUri) {
   5133     return This->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri);
   5134 }
   5135 static FORCEINLINE HRESULT IXpsOMPackage_SetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri *discardControlPartUri) {
   5136     return This->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri);
   5137 }
   5138 static FORCEINLINE HRESULT IXpsOMPackage_GetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource **imageResource) {
   5139     return This->lpVtbl->GetThumbnailResource(This,imageResource);
   5140 }
   5141 static FORCEINLINE HRESULT IXpsOMPackage_SetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource *imageResource) {
   5142     return This->lpVtbl->SetThumbnailResource(This,imageResource);
   5143 }
   5144 static FORCEINLINE HRESULT IXpsOMPackage_WriteToFile(IXpsOMPackage* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize) {
   5145     return This->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize);
   5146 }
   5147 static FORCEINLINE HRESULT IXpsOMPackage_WriteToStream(IXpsOMPackage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
   5148     return This->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize);
   5149 }
   5150 #endif
   5151 #endif
   5152 
   5153 #endif
   5154 
   5155 HRESULT STDMETHODCALLTYPE IXpsOMPackage_GetDocumentSequence_Proxy(
   5156     IXpsOMPackage* This,
   5157     IXpsOMDocumentSequence **documentSequence);
   5158 void __RPC_STUB IXpsOMPackage_GetDocumentSequence_Stub(
   5159     IRpcStubBuffer* This,
   5160     IRpcChannelBuffer* pRpcChannelBuffer,
   5161     PRPC_MESSAGE pRpcMessage,
   5162     DWORD* pdwStubPhase);
   5163 HRESULT STDMETHODCALLTYPE IXpsOMPackage_SetDocumentSequence_Proxy(
   5164     IXpsOMPackage* This,
   5165     IXpsOMDocumentSequence *documentSequence);
   5166 void __RPC_STUB IXpsOMPackage_SetDocumentSequence_Stub(
   5167     IRpcStubBuffer* This,
   5168     IRpcChannelBuffer* pRpcChannelBuffer,
   5169     PRPC_MESSAGE pRpcMessage,
   5170     DWORD* pdwStubPhase);
   5171 HRESULT STDMETHODCALLTYPE IXpsOMPackage_GetCoreProperties_Proxy(
   5172     IXpsOMPackage* This,
   5173     IXpsOMCoreProperties **coreProperties);
   5174 void __RPC_STUB IXpsOMPackage_GetCoreProperties_Stub(
   5175     IRpcStubBuffer* This,
   5176     IRpcChannelBuffer* pRpcChannelBuffer,
   5177     PRPC_MESSAGE pRpcMessage,
   5178     DWORD* pdwStubPhase);
   5179 HRESULT STDMETHODCALLTYPE IXpsOMPackage_SetCoreProperties_Proxy(
   5180     IXpsOMPackage* This,
   5181     IXpsOMCoreProperties *coreProperties);
   5182 void __RPC_STUB IXpsOMPackage_SetCoreProperties_Stub(
   5183     IRpcStubBuffer* This,
   5184     IRpcChannelBuffer* pRpcChannelBuffer,
   5185     PRPC_MESSAGE pRpcMessage,
   5186     DWORD* pdwStubPhase);
   5187 HRESULT STDMETHODCALLTYPE IXpsOMPackage_GetDiscardControlPartName_Proxy(
   5188     IXpsOMPackage* This,
   5189     IOpcPartUri **discardControlPartUri);
   5190 void __RPC_STUB IXpsOMPackage_GetDiscardControlPartName_Stub(
   5191     IRpcStubBuffer* This,
   5192     IRpcChannelBuffer* pRpcChannelBuffer,
   5193     PRPC_MESSAGE pRpcMessage,
   5194     DWORD* pdwStubPhase);
   5195 HRESULT STDMETHODCALLTYPE IXpsOMPackage_SetDiscardControlPartName_Proxy(
   5196     IXpsOMPackage* This,
   5197     IOpcPartUri *discardControlPartUri);
   5198 void __RPC_STUB IXpsOMPackage_SetDiscardControlPartName_Stub(
   5199     IRpcStubBuffer* This,
   5200     IRpcChannelBuffer* pRpcChannelBuffer,
   5201     PRPC_MESSAGE pRpcMessage,
   5202     DWORD* pdwStubPhase);
   5203 HRESULT STDMETHODCALLTYPE IXpsOMPackage_GetThumbnailResource_Proxy(
   5204     IXpsOMPackage* This,
   5205     IXpsOMImageResource **imageResource);
   5206 void __RPC_STUB IXpsOMPackage_GetThumbnailResource_Stub(
   5207     IRpcStubBuffer* This,
   5208     IRpcChannelBuffer* pRpcChannelBuffer,
   5209     PRPC_MESSAGE pRpcMessage,
   5210     DWORD* pdwStubPhase);
   5211 HRESULT STDMETHODCALLTYPE IXpsOMPackage_SetThumbnailResource_Proxy(
   5212     IXpsOMPackage* This,
   5213     IXpsOMImageResource *imageResource);
   5214 void __RPC_STUB IXpsOMPackage_SetThumbnailResource_Stub(
   5215     IRpcStubBuffer* This,
   5216     IRpcChannelBuffer* pRpcChannelBuffer,
   5217     PRPC_MESSAGE pRpcMessage,
   5218     DWORD* pdwStubPhase);
   5219 HRESULT STDMETHODCALLTYPE IXpsOMPackage_WriteToFile_Proxy(
   5220     IXpsOMPackage* This,
   5221     LPCWSTR fileName,
   5222     LPSECURITY_ATTRIBUTES securityAttributes,
   5223     DWORD flagsAndAttributes,
   5224     WINBOOL optimizeMarkupSize);
   5225 void __RPC_STUB IXpsOMPackage_WriteToFile_Stub(
   5226     IRpcStubBuffer* This,
   5227     IRpcChannelBuffer* pRpcChannelBuffer,
   5228     PRPC_MESSAGE pRpcMessage,
   5229     DWORD* pdwStubPhase);
   5230 HRESULT STDMETHODCALLTYPE IXpsOMPackage_WriteToStream_Proxy(
   5231     IXpsOMPackage* This,
   5232     ISequentialStream *stream,
   5233     WINBOOL optimizeMarkupSize);
   5234 void __RPC_STUB IXpsOMPackage_WriteToStream_Stub(
   5235     IRpcStubBuffer* This,
   5236     IRpcChannelBuffer* pRpcChannelBuffer,
   5237     PRPC_MESSAGE pRpcMessage,
   5238     DWORD* pdwStubPhase);
   5239 
   5240 #endif  /* __IXpsOMPackage_INTERFACE_DEFINED__ */
   5241 
   5242 /*****************************************************************************
   5243  * IXpsOMObjectFactory interface
   5244  */
   5245 #ifndef __IXpsOMObjectFactory_INTERFACE_DEFINED__
   5246 #define __IXpsOMObjectFactory_INTERFACE_DEFINED__
   5247 
   5248 DEFINE_GUID(IID_IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca);
   5249 #if defined(__cplusplus) && !defined(CINTERFACE)
   5250 MIDL_INTERFACE("f9b2a685-a50d-4fc2-b764-b56e093ea0ca")
   5251 IXpsOMObjectFactory : public IUnknown
   5252 {
   5253     virtual HRESULT STDMETHODCALLTYPE CreatePackage(
   5254         IXpsOMPackage **package) = 0;
   5255 
   5256     virtual HRESULT STDMETHODCALLTYPE CreatePackageFromFile(
   5257         LPCWSTR filename,
   5258         WINBOOL reuseObjects,
   5259         IXpsOMPackage **package) = 0;
   5260 
   5261     virtual HRESULT STDMETHODCALLTYPE CreatePackageFromStream(
   5262         IStream *stream,
   5263         WINBOOL reuseObjects,
   5264         IXpsOMPackage **package) = 0;
   5265 
   5266     virtual HRESULT STDMETHODCALLTYPE CreateStoryFragmentsResource(
   5267         IStream *acquiredStream,
   5268         IOpcPartUri *partUri,
   5269         IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
   5270 
   5271     virtual HRESULT STDMETHODCALLTYPE CreateDocumentStructureResource(
   5272         IStream *acquiredStream,
   5273         IOpcPartUri *partUri,
   5274         IXpsOMDocumentStructureResource **documentStructureResource) = 0;
   5275 
   5276     virtual HRESULT STDMETHODCALLTYPE CreateSignatureBlockResource(
   5277         IStream *acquiredStream,
   5278         IOpcPartUri *partUri,
   5279         IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
   5280 
   5281     virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResource(
   5282         IXpsOMDictionary *dictionary,
   5283         IOpcPartUri *partUri,
   5284         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   5285 
   5286     virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResourceFromStream(
   5287         IStream *dictionaryMarkupStream,
   5288         IOpcPartUri *dictionaryPartUri,
   5289         IXpsOMPartResources *resources,
   5290         IXpsOMRemoteDictionaryResource **dictionaryResource) = 0;
   5291 
   5292     virtual HRESULT STDMETHODCALLTYPE CreatePartResources(
   5293         IXpsOMPartResources **partResources) = 0;
   5294 
   5295     virtual HRESULT STDMETHODCALLTYPE CreateDocumentSequence(
   5296         IOpcPartUri *partUri,
   5297         IXpsOMDocumentSequence **documentSequence) = 0;
   5298 
   5299     virtual HRESULT STDMETHODCALLTYPE CreateDocument(
   5300         IOpcPartUri *partUri,
   5301         IXpsOMDocument **document) = 0;
   5302 
   5303     virtual HRESULT STDMETHODCALLTYPE CreatePageReference(
   5304         const XPS_SIZE *advisoryPageDimensions,
   5305         IXpsOMPageReference **pageReference) = 0;
   5306 
   5307     virtual HRESULT STDMETHODCALLTYPE CreatePage(
   5308         const XPS_SIZE *pageDimensions,
   5309         LPCWSTR language,
   5310         IOpcPartUri *partUri,
   5311         IXpsOMPage **page) = 0;
   5312 
   5313     virtual HRESULT STDMETHODCALLTYPE CreatePageFromStream(
   5314         IStream *pageMarkupStream,
   5315         IOpcPartUri *partUri,
   5316         IXpsOMPartResources *resources,
   5317         WINBOOL reuseObjects,
   5318         IXpsOMPage **page) = 0;
   5319 
   5320     virtual HRESULT STDMETHODCALLTYPE CreateCanvas(
   5321         IXpsOMCanvas **canvas) = 0;
   5322 
   5323     virtual HRESULT STDMETHODCALLTYPE CreateGlyphs(
   5324         IXpsOMFontResource *fontResource,
   5325         IXpsOMGlyphs **glyphs) = 0;
   5326 
   5327     virtual HRESULT STDMETHODCALLTYPE CreatePath(
   5328         IXpsOMPath **path) = 0;
   5329 
   5330     virtual HRESULT STDMETHODCALLTYPE CreateGeometry(
   5331         IXpsOMGeometry **geometry) = 0;
   5332 
   5333     virtual HRESULT STDMETHODCALLTYPE CreateGeometryFigure(
   5334         const XPS_POINT *startPoint,
   5335         IXpsOMGeometryFigure **figure) = 0;
   5336 
   5337     virtual HRESULT STDMETHODCALLTYPE CreateMatrixTransform(
   5338         const XPS_MATRIX *matrix,
   5339         IXpsOMMatrixTransform **transform) = 0;
   5340 
   5341     virtual HRESULT STDMETHODCALLTYPE CreateSolidColorBrush(
   5342         const XPS_COLOR *color,
   5343         IXpsOMColorProfileResource *colorProfile,
   5344         IXpsOMSolidColorBrush **solidColorBrush) = 0;
   5345 
   5346     virtual HRESULT STDMETHODCALLTYPE CreateColorProfileResource(
   5347         IStream *acquiredStream,
   5348         IOpcPartUri *partUri,
   5349         IXpsOMColorProfileResource **colorProfileResource) = 0;
   5350 
   5351     virtual HRESULT STDMETHODCALLTYPE CreateImageBrush(
   5352         IXpsOMImageResource *image,
   5353         const XPS_RECT *viewBox,
   5354         const XPS_RECT *viewPort,
   5355         IXpsOMImageBrush **imageBrush) = 0;
   5356 
   5357     virtual HRESULT STDMETHODCALLTYPE CreateVisualBrush(
   5358         const XPS_RECT *viewBox,
   5359         const XPS_RECT *viewPort,
   5360         IXpsOMVisualBrush **visualBrush) = 0;
   5361 
   5362     virtual HRESULT STDMETHODCALLTYPE CreateImageResource(
   5363         IStream *acquiredStream,
   5364         XPS_IMAGE_TYPE contentType,
   5365         IOpcPartUri *partUri,
   5366         IXpsOMImageResource **imageResource) = 0;
   5367 
   5368     virtual HRESULT STDMETHODCALLTYPE CreatePrintTicketResource(
   5369         IStream *acquiredStream,
   5370         IOpcPartUri *partUri,
   5371         IXpsOMPrintTicketResource **printTicketResource) = 0;
   5372 
   5373     virtual HRESULT STDMETHODCALLTYPE CreateFontResource(
   5374         IStream *acquiredStream,
   5375         XPS_FONT_EMBEDDING fontEmbedding,
   5376         IOpcPartUri *partUri,
   5377         WINBOOL isObfSourceStream,
   5378         IXpsOMFontResource **fontResource) = 0;
   5379 
   5380     virtual HRESULT STDMETHODCALLTYPE CreateGradientStop(
   5381         const XPS_COLOR *color,
   5382         IXpsOMColorProfileResource *colorProfile,
   5383         FLOAT offset,
   5384         IXpsOMGradientStop **gradientStop) = 0;
   5385 
   5386     virtual HRESULT STDMETHODCALLTYPE CreateLinearGradientBrush(
   5387         IXpsOMGradientStop *gradStop1,
   5388         IXpsOMGradientStop *gradStop2,
   5389         const XPS_POINT *startPoint,
   5390         const XPS_POINT *endPoint,
   5391         IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
   5392 
   5393     virtual HRESULT STDMETHODCALLTYPE CreateRadialGradientBrush(
   5394         IXpsOMGradientStop *gradStop1,
   5395         IXpsOMGradientStop *gradStop2,
   5396         const XPS_POINT *centerPoint,
   5397         const XPS_POINT *gradientOrigin,
   5398         const XPS_SIZE *radiiSizes,
   5399         IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
   5400 
   5401     virtual HRESULT STDMETHODCALLTYPE CreateCoreProperties(
   5402         IOpcPartUri *partUri,
   5403         IXpsOMCoreProperties **coreProperties) = 0;
   5404 
   5405     virtual HRESULT STDMETHODCALLTYPE CreateDictionary(
   5406         IXpsOMDictionary **dictionary) = 0;
   5407 
   5408     virtual HRESULT STDMETHODCALLTYPE CreatePartUriCollection(
   5409         IXpsOMPartUriCollection **partUriCollection) = 0;
   5410 
   5411     virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnFile(
   5412         LPCWSTR fileName,
   5413         LPSECURITY_ATTRIBUTES securityAttributes,
   5414         DWORD flagsAndAttributes,
   5415         WINBOOL optimizeMarkupSize,
   5416         XPS_INTERLEAVING interleaving,
   5417         IOpcPartUri *documentSequencePartName,
   5418         IXpsOMCoreProperties *coreProperties,
   5419         IXpsOMImageResource *packageThumbnail,
   5420         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5421         IOpcPartUri *discardControlPartName,
   5422         IXpsOMPackageWriter **packageWriter) = 0;
   5423 
   5424     virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnStream(
   5425         ISequentialStream *outputStream,
   5426         WINBOOL optimizeMarkupSize,
   5427         XPS_INTERLEAVING interleaving,
   5428         IOpcPartUri *documentSequencePartName,
   5429         IXpsOMCoreProperties *coreProperties,
   5430         IXpsOMImageResource *packageThumbnail,
   5431         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5432         IOpcPartUri *discardControlPartName,
   5433         IXpsOMPackageWriter **packageWriter) = 0;
   5434 
   5435     virtual HRESULT STDMETHODCALLTYPE CreatePartUri(
   5436         LPCWSTR uri,
   5437         IOpcPartUri **partUri) = 0;
   5438 
   5439     virtual HRESULT STDMETHODCALLTYPE CreateReadOnlyStreamOnFile(
   5440         LPCWSTR filename,
   5441         IStream **stream) = 0;
   5442 
   5443 };
   5444 #ifdef __CRT_UUID_DECL
   5445 __CRT_UUID_DECL(IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca)
   5446 #endif
   5447 #else
   5448 typedef struct IXpsOMObjectFactoryVtbl {
   5449     BEGIN_INTERFACE
   5450 
   5451     /*** IUnknown methods ***/
   5452     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5453         IXpsOMObjectFactory* This,
   5454         REFIID riid,
   5455         void **ppvObject);
   5456 
   5457     ULONG (STDMETHODCALLTYPE *AddRef)(
   5458         IXpsOMObjectFactory* This);
   5459 
   5460     ULONG (STDMETHODCALLTYPE *Release)(
   5461         IXpsOMObjectFactory* This);
   5462 
   5463     /*** IXpsOMObjectFactory methods ***/
   5464     HRESULT (STDMETHODCALLTYPE *CreatePackage)(
   5465         IXpsOMObjectFactory* This,
   5466         IXpsOMPackage **package);
   5467 
   5468     HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile)(
   5469         IXpsOMObjectFactory* This,
   5470         LPCWSTR filename,
   5471         WINBOOL reuseObjects,
   5472         IXpsOMPackage **package);
   5473 
   5474     HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream)(
   5475         IXpsOMObjectFactory* This,
   5476         IStream *stream,
   5477         WINBOOL reuseObjects,
   5478         IXpsOMPackage **package);
   5479 
   5480     HRESULT (STDMETHODCALLTYPE *CreateStoryFragmentsResource)(
   5481         IXpsOMObjectFactory* This,
   5482         IStream *acquiredStream,
   5483         IOpcPartUri *partUri,
   5484         IXpsOMStoryFragmentsResource **storyFragmentsResource);
   5485 
   5486     HRESULT (STDMETHODCALLTYPE *CreateDocumentStructureResource)(
   5487         IXpsOMObjectFactory* This,
   5488         IStream *acquiredStream,
   5489         IOpcPartUri *partUri,
   5490         IXpsOMDocumentStructureResource **documentStructureResource);
   5491 
   5492     HRESULT (STDMETHODCALLTYPE *CreateSignatureBlockResource)(
   5493         IXpsOMObjectFactory* This,
   5494         IStream *acquiredStream,
   5495         IOpcPartUri *partUri,
   5496         IXpsOMSignatureBlockResource **signatureBlockResource);
   5497 
   5498     HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResource)(
   5499         IXpsOMObjectFactory* This,
   5500         IXpsOMDictionary *dictionary,
   5501         IOpcPartUri *partUri,
   5502         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   5503 
   5504     HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream)(
   5505         IXpsOMObjectFactory* This,
   5506         IStream *dictionaryMarkupStream,
   5507         IOpcPartUri *dictionaryPartUri,
   5508         IXpsOMPartResources *resources,
   5509         IXpsOMRemoteDictionaryResource **dictionaryResource);
   5510 
   5511     HRESULT (STDMETHODCALLTYPE *CreatePartResources)(
   5512         IXpsOMObjectFactory* This,
   5513         IXpsOMPartResources **partResources);
   5514 
   5515     HRESULT (STDMETHODCALLTYPE *CreateDocumentSequence)(
   5516         IXpsOMObjectFactory* This,
   5517         IOpcPartUri *partUri,
   5518         IXpsOMDocumentSequence **documentSequence);
   5519 
   5520     HRESULT (STDMETHODCALLTYPE *CreateDocument)(
   5521         IXpsOMObjectFactory* This,
   5522         IOpcPartUri *partUri,
   5523         IXpsOMDocument **document);
   5524 
   5525     HRESULT (STDMETHODCALLTYPE *CreatePageReference)(
   5526         IXpsOMObjectFactory* This,
   5527         const XPS_SIZE *advisoryPageDimensions,
   5528         IXpsOMPageReference **pageReference);
   5529 
   5530     HRESULT (STDMETHODCALLTYPE *CreatePage)(
   5531         IXpsOMObjectFactory* This,
   5532         const XPS_SIZE *pageDimensions,
   5533         LPCWSTR language,
   5534         IOpcPartUri *partUri,
   5535         IXpsOMPage **page);
   5536 
   5537     HRESULT (STDMETHODCALLTYPE *CreatePageFromStream)(
   5538         IXpsOMObjectFactory* This,
   5539         IStream *pageMarkupStream,
   5540         IOpcPartUri *partUri,
   5541         IXpsOMPartResources *resources,
   5542         WINBOOL reuseObjects,
   5543         IXpsOMPage **page);
   5544 
   5545     HRESULT (STDMETHODCALLTYPE *CreateCanvas)(
   5546         IXpsOMObjectFactory* This,
   5547         IXpsOMCanvas **canvas);
   5548 
   5549     HRESULT (STDMETHODCALLTYPE *CreateGlyphs)(
   5550         IXpsOMObjectFactory* This,
   5551         IXpsOMFontResource *fontResource,
   5552         IXpsOMGlyphs **glyphs);
   5553 
   5554     HRESULT (STDMETHODCALLTYPE *CreatePath)(
   5555         IXpsOMObjectFactory* This,
   5556         IXpsOMPath **path);
   5557 
   5558     HRESULT (STDMETHODCALLTYPE *CreateGeometry)(
   5559         IXpsOMObjectFactory* This,
   5560         IXpsOMGeometry **geometry);
   5561 
   5562     HRESULT (STDMETHODCALLTYPE *CreateGeometryFigure)(
   5563         IXpsOMObjectFactory* This,
   5564         const XPS_POINT *startPoint,
   5565         IXpsOMGeometryFigure **figure);
   5566 
   5567     HRESULT (STDMETHODCALLTYPE *CreateMatrixTransform)(
   5568         IXpsOMObjectFactory* This,
   5569         const XPS_MATRIX *matrix,
   5570         IXpsOMMatrixTransform **transform);
   5571 
   5572     HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)(
   5573         IXpsOMObjectFactory* This,
   5574         const XPS_COLOR *color,
   5575         IXpsOMColorProfileResource *colorProfile,
   5576         IXpsOMSolidColorBrush **solidColorBrush);
   5577 
   5578     HRESULT (STDMETHODCALLTYPE *CreateColorProfileResource)(
   5579         IXpsOMObjectFactory* This,
   5580         IStream *acquiredStream,
   5581         IOpcPartUri *partUri,
   5582         IXpsOMColorProfileResource **colorProfileResource);
   5583 
   5584     HRESULT (STDMETHODCALLTYPE *CreateImageBrush)(
   5585         IXpsOMObjectFactory* This,
   5586         IXpsOMImageResource *image,
   5587         const XPS_RECT *viewBox,
   5588         const XPS_RECT *viewPort,
   5589         IXpsOMImageBrush **imageBrush);
   5590 
   5591     HRESULT (STDMETHODCALLTYPE *CreateVisualBrush)(
   5592         IXpsOMObjectFactory* This,
   5593         const XPS_RECT *viewBox,
   5594         const XPS_RECT *viewPort,
   5595         IXpsOMVisualBrush **visualBrush);
   5596 
   5597     HRESULT (STDMETHODCALLTYPE *CreateImageResource)(
   5598         IXpsOMObjectFactory* This,
   5599         IStream *acquiredStream,
   5600         XPS_IMAGE_TYPE contentType,
   5601         IOpcPartUri *partUri,
   5602         IXpsOMImageResource **imageResource);
   5603 
   5604     HRESULT (STDMETHODCALLTYPE *CreatePrintTicketResource)(
   5605         IXpsOMObjectFactory* This,
   5606         IStream *acquiredStream,
   5607         IOpcPartUri *partUri,
   5608         IXpsOMPrintTicketResource **printTicketResource);
   5609 
   5610     HRESULT (STDMETHODCALLTYPE *CreateFontResource)(
   5611         IXpsOMObjectFactory* This,
   5612         IStream *acquiredStream,
   5613         XPS_FONT_EMBEDDING fontEmbedding,
   5614         IOpcPartUri *partUri,
   5615         WINBOOL isObfSourceStream,
   5616         IXpsOMFontResource **fontResource);
   5617 
   5618     HRESULT (STDMETHODCALLTYPE *CreateGradientStop)(
   5619         IXpsOMObjectFactory* This,
   5620         const XPS_COLOR *color,
   5621         IXpsOMColorProfileResource *colorProfile,
   5622         FLOAT offset,
   5623         IXpsOMGradientStop **gradientStop);
   5624 
   5625     HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)(
   5626         IXpsOMObjectFactory* This,
   5627         IXpsOMGradientStop *gradStop1,
   5628         IXpsOMGradientStop *gradStop2,
   5629         const XPS_POINT *startPoint,
   5630         const XPS_POINT *endPoint,
   5631         IXpsOMLinearGradientBrush **linearGradientBrush);
   5632 
   5633     HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)(
   5634         IXpsOMObjectFactory* This,
   5635         IXpsOMGradientStop *gradStop1,
   5636         IXpsOMGradientStop *gradStop2,
   5637         const XPS_POINT *centerPoint,
   5638         const XPS_POINT *gradientOrigin,
   5639         const XPS_SIZE *radiiSizes,
   5640         IXpsOMRadialGradientBrush **radialGradientBrush);
   5641 
   5642     HRESULT (STDMETHODCALLTYPE *CreateCoreProperties)(
   5643         IXpsOMObjectFactory* This,
   5644         IOpcPartUri *partUri,
   5645         IXpsOMCoreProperties **coreProperties);
   5646 
   5647     HRESULT (STDMETHODCALLTYPE *CreateDictionary)(
   5648         IXpsOMObjectFactory* This,
   5649         IXpsOMDictionary **dictionary);
   5650 
   5651     HRESULT (STDMETHODCALLTYPE *CreatePartUriCollection)(
   5652         IXpsOMObjectFactory* This,
   5653         IXpsOMPartUriCollection **partUriCollection);
   5654 
   5655     HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile)(
   5656         IXpsOMObjectFactory* This,
   5657         LPCWSTR fileName,
   5658         LPSECURITY_ATTRIBUTES securityAttributes,
   5659         DWORD flagsAndAttributes,
   5660         WINBOOL optimizeMarkupSize,
   5661         XPS_INTERLEAVING interleaving,
   5662         IOpcPartUri *documentSequencePartName,
   5663         IXpsOMCoreProperties *coreProperties,
   5664         IXpsOMImageResource *packageThumbnail,
   5665         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5666         IOpcPartUri *discardControlPartName,
   5667         IXpsOMPackageWriter **packageWriter);
   5668 
   5669     HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream)(
   5670         IXpsOMObjectFactory* This,
   5671         ISequentialStream *outputStream,
   5672         WINBOOL optimizeMarkupSize,
   5673         XPS_INTERLEAVING interleaving,
   5674         IOpcPartUri *documentSequencePartName,
   5675         IXpsOMCoreProperties *coreProperties,
   5676         IXpsOMImageResource *packageThumbnail,
   5677         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   5678         IOpcPartUri *discardControlPartName,
   5679         IXpsOMPackageWriter **packageWriter);
   5680 
   5681     HRESULT (STDMETHODCALLTYPE *CreatePartUri)(
   5682         IXpsOMObjectFactory* This,
   5683         LPCWSTR uri,
   5684         IOpcPartUri **partUri);
   5685 
   5686     HRESULT (STDMETHODCALLTYPE *CreateReadOnlyStreamOnFile)(
   5687         IXpsOMObjectFactory* This,
   5688         LPCWSTR filename,
   5689         IStream **stream);
   5690 
   5691     END_INTERFACE
   5692 } IXpsOMObjectFactoryVtbl;
   5693 interface IXpsOMObjectFactory {
   5694     CONST_VTBL IXpsOMObjectFactoryVtbl* lpVtbl;
   5695 };
   5696 
   5697 #ifdef COBJMACROS
   5698 #ifndef WIDL_C_INLINE_WRAPPERS
   5699 /*** IUnknown methods ***/
   5700 #define IXpsOMObjectFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5701 #define IXpsOMObjectFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
   5702 #define IXpsOMObjectFactory_Release(This) (This)->lpVtbl->Release(This)
   5703 /*** IXpsOMObjectFactory methods ***/
   5704 #define IXpsOMObjectFactory_CreatePackage(This,package) (This)->lpVtbl->CreatePackage(This,package)
   5705 #define IXpsOMObjectFactory_CreatePackageFromFile(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package)
   5706 #define IXpsOMObjectFactory_CreatePackageFromStream(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package)
   5707 #define IXpsOMObjectFactory_CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) (This)->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource)
   5708 #define IXpsOMObjectFactory_CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) (This)->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource)
   5709 #define IXpsOMObjectFactory_CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) (This)->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource)
   5710 #define IXpsOMObjectFactory_CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource)
   5711 #define IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource)
   5712 #define IXpsOMObjectFactory_CreatePartResources(This,partResources) (This)->lpVtbl->CreatePartResources(This,partResources)
   5713 #define IXpsOMObjectFactory_CreateDocumentSequence(This,partUri,documentSequence) (This)->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence)
   5714 #define IXpsOMObjectFactory_CreateDocument(This,partUri,document) (This)->lpVtbl->CreateDocument(This,partUri,document)
   5715 #define IXpsOMObjectFactory_CreatePageReference(This,advisoryPageDimensions,pageReference) (This)->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference)
   5716 #define IXpsOMObjectFactory_CreatePage(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page)
   5717 #define IXpsOMObjectFactory_CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page)
   5718 #define IXpsOMObjectFactory_CreateCanvas(This,canvas) (This)->lpVtbl->CreateCanvas(This,canvas)
   5719 #define IXpsOMObjectFactory_CreateGlyphs(This,fontResource,glyphs) (This)->lpVtbl->CreateGlyphs(This,fontResource,glyphs)
   5720 #define IXpsOMObjectFactory_CreatePath(This,path) (This)->lpVtbl->CreatePath(This,path)
   5721 #define IXpsOMObjectFactory_CreateGeometry(This,geometry) (This)->lpVtbl->CreateGeometry(This,geometry)
   5722 #define IXpsOMObjectFactory_CreateGeometryFigure(This,startPoint,figure) (This)->lpVtbl->CreateGeometryFigure(This,startPoint,figure)
   5723 #define IXpsOMObjectFactory_CreateMatrixTransform(This,matrix,transform) (This)->lpVtbl->CreateMatrixTransform(This,matrix,transform)
   5724 #define IXpsOMObjectFactory_CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) (This)->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush)
   5725 #define IXpsOMObjectFactory_CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) (This)->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource)
   5726 #define IXpsOMObjectFactory_CreateImageBrush(This,image,viewBox,viewPort,imageBrush) (This)->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush)
   5727 #define IXpsOMObjectFactory_CreateVisualBrush(This,viewBox,viewPort,visualBrush) (This)->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush)
   5728 #define IXpsOMObjectFactory_CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) (This)->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource)
   5729 #define IXpsOMObjectFactory_CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) (This)->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource)
   5730 #define IXpsOMObjectFactory_CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) (This)->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource)
   5731 #define IXpsOMObjectFactory_CreateGradientStop(This,color,colorProfile,offset,gradientStop) (This)->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop)
   5732 #define IXpsOMObjectFactory_CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush)
   5733 #define IXpsOMObjectFactory_CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush)
   5734 #define IXpsOMObjectFactory_CreateCoreProperties(This,partUri,coreProperties) (This)->lpVtbl->CreateCoreProperties(This,partUri,coreProperties)
   5735 #define IXpsOMObjectFactory_CreateDictionary(This,dictionary) (This)->lpVtbl->CreateDictionary(This,dictionary)
   5736 #define IXpsOMObjectFactory_CreatePartUriCollection(This,partUriCollection) (This)->lpVtbl->CreatePartUriCollection(This,partUriCollection)
   5737 #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)
   5738 #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)
   5739 #define IXpsOMObjectFactory_CreatePartUri(This,uri,partUri) (This)->lpVtbl->CreatePartUri(This,uri,partUri)
   5740 #define IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(This,filename,stream) (This)->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream)
   5741 #else
   5742 /*** IUnknown methods ***/
   5743 static FORCEINLINE HRESULT IXpsOMObjectFactory_QueryInterface(IXpsOMObjectFactory* This,REFIID riid,void **ppvObject) {
   5744     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   5745 }
   5746 static FORCEINLINE ULONG IXpsOMObjectFactory_AddRef(IXpsOMObjectFactory* This) {
   5747     return This->lpVtbl->AddRef(This);
   5748 }
   5749 static FORCEINLINE ULONG IXpsOMObjectFactory_Release(IXpsOMObjectFactory* This) {
   5750     return This->lpVtbl->Release(This);
   5751 }
   5752 /*** IXpsOMObjectFactory methods ***/
   5753 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackage(IXpsOMObjectFactory* This,IXpsOMPackage **package) {
   5754     return This->lpVtbl->CreatePackage(This,package);
   5755 }
   5756 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageFromFile(IXpsOMObjectFactory* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage **package) {
   5757     return This->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package);
   5758 }
   5759 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageFromStream(IXpsOMObjectFactory* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage **package) {
   5760     return This->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package);
   5761 }
   5762 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateStoryFragmentsResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
   5763     return This->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource);
   5764 }
   5765 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocumentStructureResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMDocumentStructureResource **documentStructureResource) {
   5766     return This->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource);
   5767 }
   5768 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateSignatureBlockResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMSignatureBlockResource **signatureBlockResource) {
   5769     return This->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource);
   5770 }
   5771 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResource(IXpsOMObjectFactory* This,IXpsOMDictionary *dictionary,IOpcPartUri *partUri,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   5772     return This->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource);
   5773 }
   5774 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(IXpsOMObjectFactory* This,IStream *dictionaryMarkupStream,IOpcPartUri *dictionaryPartUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) {
   5775     return This->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource);
   5776 }
   5777 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartResources(IXpsOMObjectFactory* This,IXpsOMPartResources **partResources) {
   5778     return This->lpVtbl->CreatePartResources(This,partResources);
   5779 }
   5780 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocumentSequence(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocumentSequence **documentSequence) {
   5781     return This->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence);
   5782 }
   5783 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocument(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocument **document) {
   5784     return This->lpVtbl->CreateDocument(This,partUri,document);
   5785 }
   5786 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePageReference(IXpsOMObjectFactory* This,const XPS_SIZE *advisoryPageDimensions,IXpsOMPageReference **pageReference) {
   5787     return This->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference);
   5788 }
   5789 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePage(IXpsOMObjectFactory* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage **page) {
   5790     return This->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page);
   5791 }
   5792 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePageFromStream(IXpsOMObjectFactory* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage **page) {
   5793     return This->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page);
   5794 }
   5795 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateCanvas(IXpsOMObjectFactory* This,IXpsOMCanvas **canvas) {
   5796     return This->lpVtbl->CreateCanvas(This,canvas);
   5797 }
   5798 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGlyphs(IXpsOMObjectFactory* This,IXpsOMFontResource *fontResource,IXpsOMGlyphs **glyphs) {
   5799     return This->lpVtbl->CreateGlyphs(This,fontResource,glyphs);
   5800 }
   5801 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePath(IXpsOMObjectFactory* This,IXpsOMPath **path) {
   5802     return This->lpVtbl->CreatePath(This,path);
   5803 }
   5804 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGeometry(IXpsOMObjectFactory* This,IXpsOMGeometry **geometry) {
   5805     return This->lpVtbl->CreateGeometry(This,geometry);
   5806 }
   5807 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGeometryFigure(IXpsOMObjectFactory* This,const XPS_POINT *startPoint,IXpsOMGeometryFigure **figure) {
   5808     return This->lpVtbl->CreateGeometryFigure(This,startPoint,figure);
   5809 }
   5810 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateMatrixTransform(IXpsOMObjectFactory* This,const XPS_MATRIX *matrix,IXpsOMMatrixTransform **transform) {
   5811     return This->lpVtbl->CreateMatrixTransform(This,matrix,transform);
   5812 }
   5813 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateSolidColorBrush(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,IXpsOMSolidColorBrush **solidColorBrush) {
   5814     return This->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush);
   5815 }
   5816 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateColorProfileResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMColorProfileResource **colorProfileResource) {
   5817     return This->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource);
   5818 }
   5819 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateImageBrush(IXpsOMObjectFactory* This,IXpsOMImageResource *image,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMImageBrush **imageBrush) {
   5820     return This->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush);
   5821 }
   5822 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateVisualBrush(IXpsOMObjectFactory* This,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMVisualBrush **visualBrush) {
   5823     return This->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush);
   5824 }
   5825 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateImageResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_IMAGE_TYPE contentType,IOpcPartUri *partUri,IXpsOMImageResource **imageResource) {
   5826     return This->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource);
   5827 }
   5828 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePrintTicketResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMPrintTicketResource **printTicketResource) {
   5829     return This->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource);
   5830 }
   5831 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateFontResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_FONT_EMBEDDING fontEmbedding,IOpcPartUri *partUri,WINBOOL isObfSourceStream,IXpsOMFontResource **fontResource) {
   5832     return This->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource);
   5833 }
   5834 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGradientStop(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,FLOAT offset,IXpsOMGradientStop **gradientStop) {
   5835     return This->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop);
   5836 }
   5837 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateLinearGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *startPoint,const XPS_POINT *endPoint,IXpsOMLinearGradientBrush **linearGradientBrush) {
   5838     return This->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush);
   5839 }
   5840 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRadialGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *centerPoint,const XPS_POINT *gradientOrigin,const XPS_SIZE *radiiSizes,IXpsOMRadialGradientBrush **radialGradientBrush) {
   5841     return This->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush);
   5842 }
   5843 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateCoreProperties(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMCoreProperties **coreProperties) {
   5844     return This->lpVtbl->CreateCoreProperties(This,partUri,coreProperties);
   5845 }
   5846 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDictionary(IXpsOMObjectFactory* This,IXpsOMDictionary **dictionary) {
   5847     return This->lpVtbl->CreateDictionary(This,dictionary);
   5848 }
   5849 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartUriCollection(IXpsOMObjectFactory* This,IXpsOMPartUriCollection **partUriCollection) {
   5850     return This->lpVtbl->CreatePartUriCollection(This,partUriCollection);
   5851 }
   5852 static FORCEINLINE 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) {
   5853     return This->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
   5854 }
   5855 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageWriterOnStream(IXpsOMObjectFactory* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
   5856     return This->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
   5857 }
   5858 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartUri(IXpsOMObjectFactory* This,LPCWSTR uri,IOpcPartUri **partUri) {
   5859     return This->lpVtbl->CreatePartUri(This,uri,partUri);
   5860 }
   5861 static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(IXpsOMObjectFactory* This,LPCWSTR filename,IStream **stream) {
   5862     return This->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream);
   5863 }
   5864 #endif
   5865 #endif
   5866 
   5867 #endif
   5868 
   5869 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePackage_Proxy(
   5870     IXpsOMObjectFactory* This,
   5871     IXpsOMPackage **package);
   5872 void __RPC_STUB IXpsOMObjectFactory_CreatePackage_Stub(
   5873     IRpcStubBuffer* This,
   5874     IRpcChannelBuffer* pRpcChannelBuffer,
   5875     PRPC_MESSAGE pRpcMessage,
   5876     DWORD* pdwStubPhase);
   5877 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePackageFromFile_Proxy(
   5878     IXpsOMObjectFactory* This,
   5879     LPCWSTR filename,
   5880     WINBOOL reuseObjects,
   5881     IXpsOMPackage **package);
   5882 void __RPC_STUB IXpsOMObjectFactory_CreatePackageFromFile_Stub(
   5883     IRpcStubBuffer* This,
   5884     IRpcChannelBuffer* pRpcChannelBuffer,
   5885     PRPC_MESSAGE pRpcMessage,
   5886     DWORD* pdwStubPhase);
   5887 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePackageFromStream_Proxy(
   5888     IXpsOMObjectFactory* This,
   5889     IStream *stream,
   5890     WINBOOL reuseObjects,
   5891     IXpsOMPackage **package);
   5892 void __RPC_STUB IXpsOMObjectFactory_CreatePackageFromStream_Stub(
   5893     IRpcStubBuffer* This,
   5894     IRpcChannelBuffer* pRpcChannelBuffer,
   5895     PRPC_MESSAGE pRpcMessage,
   5896     DWORD* pdwStubPhase);
   5897 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateStoryFragmentsResource_Proxy(
   5898     IXpsOMObjectFactory* This,
   5899     IStream *acquiredStream,
   5900     IOpcPartUri *partUri,
   5901     IXpsOMStoryFragmentsResource **storyFragmentsResource);
   5902 void __RPC_STUB IXpsOMObjectFactory_CreateStoryFragmentsResource_Stub(
   5903     IRpcStubBuffer* This,
   5904     IRpcChannelBuffer* pRpcChannelBuffer,
   5905     PRPC_MESSAGE pRpcMessage,
   5906     DWORD* pdwStubPhase);
   5907 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateDocumentStructureResource_Proxy(
   5908     IXpsOMObjectFactory* This,
   5909     IStream *acquiredStream,
   5910     IOpcPartUri *partUri,
   5911     IXpsOMDocumentStructureResource **documentStructureResource);
   5912 void __RPC_STUB IXpsOMObjectFactory_CreateDocumentStructureResource_Stub(
   5913     IRpcStubBuffer* This,
   5914     IRpcChannelBuffer* pRpcChannelBuffer,
   5915     PRPC_MESSAGE pRpcMessage,
   5916     DWORD* pdwStubPhase);
   5917 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateSignatureBlockResource_Proxy(
   5918     IXpsOMObjectFactory* This,
   5919     IStream *acquiredStream,
   5920     IOpcPartUri *partUri,
   5921     IXpsOMSignatureBlockResource **signatureBlockResource);
   5922 void __RPC_STUB IXpsOMObjectFactory_CreateSignatureBlockResource_Stub(
   5923     IRpcStubBuffer* This,
   5924     IRpcChannelBuffer* pRpcChannelBuffer,
   5925     PRPC_MESSAGE pRpcMessage,
   5926     DWORD* pdwStubPhase);
   5927 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateRemoteDictionaryResource_Proxy(
   5928     IXpsOMObjectFactory* This,
   5929     IXpsOMDictionary *dictionary,
   5930     IOpcPartUri *partUri,
   5931     IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   5932 void __RPC_STUB IXpsOMObjectFactory_CreateRemoteDictionaryResource_Stub(
   5933     IRpcStubBuffer* This,
   5934     IRpcChannelBuffer* pRpcChannelBuffer,
   5935     PRPC_MESSAGE pRpcMessage,
   5936     DWORD* pdwStubPhase);
   5937 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream_Proxy(
   5938     IXpsOMObjectFactory* This,
   5939     IStream *dictionaryMarkupStream,
   5940     IOpcPartUri *dictionaryPartUri,
   5941     IXpsOMPartResources *resources,
   5942     IXpsOMRemoteDictionaryResource **dictionaryResource);
   5943 void __RPC_STUB IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream_Stub(
   5944     IRpcStubBuffer* This,
   5945     IRpcChannelBuffer* pRpcChannelBuffer,
   5946     PRPC_MESSAGE pRpcMessage,
   5947     DWORD* pdwStubPhase);
   5948 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePartResources_Proxy(
   5949     IXpsOMObjectFactory* This,
   5950     IXpsOMPartResources **partResources);
   5951 void __RPC_STUB IXpsOMObjectFactory_CreatePartResources_Stub(
   5952     IRpcStubBuffer* This,
   5953     IRpcChannelBuffer* pRpcChannelBuffer,
   5954     PRPC_MESSAGE pRpcMessage,
   5955     DWORD* pdwStubPhase);
   5956 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateDocumentSequence_Proxy(
   5957     IXpsOMObjectFactory* This,
   5958     IOpcPartUri *partUri,
   5959     IXpsOMDocumentSequence **documentSequence);
   5960 void __RPC_STUB IXpsOMObjectFactory_CreateDocumentSequence_Stub(
   5961     IRpcStubBuffer* This,
   5962     IRpcChannelBuffer* pRpcChannelBuffer,
   5963     PRPC_MESSAGE pRpcMessage,
   5964     DWORD* pdwStubPhase);
   5965 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateDocument_Proxy(
   5966     IXpsOMObjectFactory* This,
   5967     IOpcPartUri *partUri,
   5968     IXpsOMDocument **document);
   5969 void __RPC_STUB IXpsOMObjectFactory_CreateDocument_Stub(
   5970     IRpcStubBuffer* This,
   5971     IRpcChannelBuffer* pRpcChannelBuffer,
   5972     PRPC_MESSAGE pRpcMessage,
   5973     DWORD* pdwStubPhase);
   5974 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePageReference_Proxy(
   5975     IXpsOMObjectFactory* This,
   5976     const XPS_SIZE *advisoryPageDimensions,
   5977     IXpsOMPageReference **pageReference);
   5978 void __RPC_STUB IXpsOMObjectFactory_CreatePageReference_Stub(
   5979     IRpcStubBuffer* This,
   5980     IRpcChannelBuffer* pRpcChannelBuffer,
   5981     PRPC_MESSAGE pRpcMessage,
   5982     DWORD* pdwStubPhase);
   5983 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePage_Proxy(
   5984     IXpsOMObjectFactory* This,
   5985     const XPS_SIZE *pageDimensions,
   5986     LPCWSTR language,
   5987     IOpcPartUri *partUri,
   5988     IXpsOMPage **page);
   5989 void __RPC_STUB IXpsOMObjectFactory_CreatePage_Stub(
   5990     IRpcStubBuffer* This,
   5991     IRpcChannelBuffer* pRpcChannelBuffer,
   5992     PRPC_MESSAGE pRpcMessage,
   5993     DWORD* pdwStubPhase);
   5994 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePageFromStream_Proxy(
   5995     IXpsOMObjectFactory* This,
   5996     IStream *pageMarkupStream,
   5997     IOpcPartUri *partUri,
   5998     IXpsOMPartResources *resources,
   5999     WINBOOL reuseObjects,
   6000     IXpsOMPage **page);
   6001 void __RPC_STUB IXpsOMObjectFactory_CreatePageFromStream_Stub(
   6002     IRpcStubBuffer* This,
   6003     IRpcChannelBuffer* pRpcChannelBuffer,
   6004     PRPC_MESSAGE pRpcMessage,
   6005     DWORD* pdwStubPhase);
   6006 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateCanvas_Proxy(
   6007     IXpsOMObjectFactory* This,
   6008     IXpsOMCanvas **canvas);
   6009 void __RPC_STUB IXpsOMObjectFactory_CreateCanvas_Stub(
   6010     IRpcStubBuffer* This,
   6011     IRpcChannelBuffer* pRpcChannelBuffer,
   6012     PRPC_MESSAGE pRpcMessage,
   6013     DWORD* pdwStubPhase);
   6014 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateGlyphs_Proxy(
   6015     IXpsOMObjectFactory* This,
   6016     IXpsOMFontResource *fontResource,
   6017     IXpsOMGlyphs **glyphs);
   6018 void __RPC_STUB IXpsOMObjectFactory_CreateGlyphs_Stub(
   6019     IRpcStubBuffer* This,
   6020     IRpcChannelBuffer* pRpcChannelBuffer,
   6021     PRPC_MESSAGE pRpcMessage,
   6022     DWORD* pdwStubPhase);
   6023 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePath_Proxy(
   6024     IXpsOMObjectFactory* This,
   6025     IXpsOMPath **path);
   6026 void __RPC_STUB IXpsOMObjectFactory_CreatePath_Stub(
   6027     IRpcStubBuffer* This,
   6028     IRpcChannelBuffer* pRpcChannelBuffer,
   6029     PRPC_MESSAGE pRpcMessage,
   6030     DWORD* pdwStubPhase);
   6031 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateGeometry_Proxy(
   6032     IXpsOMObjectFactory* This,
   6033     IXpsOMGeometry **geometry);
   6034 void __RPC_STUB IXpsOMObjectFactory_CreateGeometry_Stub(
   6035     IRpcStubBuffer* This,
   6036     IRpcChannelBuffer* pRpcChannelBuffer,
   6037     PRPC_MESSAGE pRpcMessage,
   6038     DWORD* pdwStubPhase);
   6039 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateGeometryFigure_Proxy(
   6040     IXpsOMObjectFactory* This,
   6041     const XPS_POINT *startPoint,
   6042     IXpsOMGeometryFigure **figure);
   6043 void __RPC_STUB IXpsOMObjectFactory_CreateGeometryFigure_Stub(
   6044     IRpcStubBuffer* This,
   6045     IRpcChannelBuffer* pRpcChannelBuffer,
   6046     PRPC_MESSAGE pRpcMessage,
   6047     DWORD* pdwStubPhase);
   6048 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateMatrixTransform_Proxy(
   6049     IXpsOMObjectFactory* This,
   6050     const XPS_MATRIX *matrix,
   6051     IXpsOMMatrixTransform **transform);
   6052 void __RPC_STUB IXpsOMObjectFactory_CreateMatrixTransform_Stub(
   6053     IRpcStubBuffer* This,
   6054     IRpcChannelBuffer* pRpcChannelBuffer,
   6055     PRPC_MESSAGE pRpcMessage,
   6056     DWORD* pdwStubPhase);
   6057 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateSolidColorBrush_Proxy(
   6058     IXpsOMObjectFactory* This,
   6059     const XPS_COLOR *color,
   6060     IXpsOMColorProfileResource *colorProfile,
   6061     IXpsOMSolidColorBrush **solidColorBrush);
   6062 void __RPC_STUB IXpsOMObjectFactory_CreateSolidColorBrush_Stub(
   6063     IRpcStubBuffer* This,
   6064     IRpcChannelBuffer* pRpcChannelBuffer,
   6065     PRPC_MESSAGE pRpcMessage,
   6066     DWORD* pdwStubPhase);
   6067 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateColorProfileResource_Proxy(
   6068     IXpsOMObjectFactory* This,
   6069     IStream *acquiredStream,
   6070     IOpcPartUri *partUri,
   6071     IXpsOMColorProfileResource **colorProfileResource);
   6072 void __RPC_STUB IXpsOMObjectFactory_CreateColorProfileResource_Stub(
   6073     IRpcStubBuffer* This,
   6074     IRpcChannelBuffer* pRpcChannelBuffer,
   6075     PRPC_MESSAGE pRpcMessage,
   6076     DWORD* pdwStubPhase);
   6077 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateImageBrush_Proxy(
   6078     IXpsOMObjectFactory* This,
   6079     IXpsOMImageResource *image,
   6080     const XPS_RECT *viewBox,
   6081     const XPS_RECT *viewPort,
   6082     IXpsOMImageBrush **imageBrush);
   6083 void __RPC_STUB IXpsOMObjectFactory_CreateImageBrush_Stub(
   6084     IRpcStubBuffer* This,
   6085     IRpcChannelBuffer* pRpcChannelBuffer,
   6086     PRPC_MESSAGE pRpcMessage,
   6087     DWORD* pdwStubPhase);
   6088 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateVisualBrush_Proxy(
   6089     IXpsOMObjectFactory* This,
   6090     const XPS_RECT *viewBox,
   6091     const XPS_RECT *viewPort,
   6092     IXpsOMVisualBrush **visualBrush);
   6093 void __RPC_STUB IXpsOMObjectFactory_CreateVisualBrush_Stub(
   6094     IRpcStubBuffer* This,
   6095     IRpcChannelBuffer* pRpcChannelBuffer,
   6096     PRPC_MESSAGE pRpcMessage,
   6097     DWORD* pdwStubPhase);
   6098 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateImageResource_Proxy(
   6099     IXpsOMObjectFactory* This,
   6100     IStream *acquiredStream,
   6101     XPS_IMAGE_TYPE contentType,
   6102     IOpcPartUri *partUri,
   6103     IXpsOMImageResource **imageResource);
   6104 void __RPC_STUB IXpsOMObjectFactory_CreateImageResource_Stub(
   6105     IRpcStubBuffer* This,
   6106     IRpcChannelBuffer* pRpcChannelBuffer,
   6107     PRPC_MESSAGE pRpcMessage,
   6108     DWORD* pdwStubPhase);
   6109 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePrintTicketResource_Proxy(
   6110     IXpsOMObjectFactory* This,
   6111     IStream *acquiredStream,
   6112     IOpcPartUri *partUri,
   6113     IXpsOMPrintTicketResource **printTicketResource);
   6114 void __RPC_STUB IXpsOMObjectFactory_CreatePrintTicketResource_Stub(
   6115     IRpcStubBuffer* This,
   6116     IRpcChannelBuffer* pRpcChannelBuffer,
   6117     PRPC_MESSAGE pRpcMessage,
   6118     DWORD* pdwStubPhase);
   6119 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateFontResource_Proxy(
   6120     IXpsOMObjectFactory* This,
   6121     IStream *acquiredStream,
   6122     XPS_FONT_EMBEDDING fontEmbedding,
   6123     IOpcPartUri *partUri,
   6124     WINBOOL isObfSourceStream,
   6125     IXpsOMFontResource **fontResource);
   6126 void __RPC_STUB IXpsOMObjectFactory_CreateFontResource_Stub(
   6127     IRpcStubBuffer* This,
   6128     IRpcChannelBuffer* pRpcChannelBuffer,
   6129     PRPC_MESSAGE pRpcMessage,
   6130     DWORD* pdwStubPhase);
   6131 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateGradientStop_Proxy(
   6132     IXpsOMObjectFactory* This,
   6133     const XPS_COLOR *color,
   6134     IXpsOMColorProfileResource *colorProfile,
   6135     FLOAT offset,
   6136     IXpsOMGradientStop **gradientStop);
   6137 void __RPC_STUB IXpsOMObjectFactory_CreateGradientStop_Stub(
   6138     IRpcStubBuffer* This,
   6139     IRpcChannelBuffer* pRpcChannelBuffer,
   6140     PRPC_MESSAGE pRpcMessage,
   6141     DWORD* pdwStubPhase);
   6142 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateLinearGradientBrush_Proxy(
   6143     IXpsOMObjectFactory* This,
   6144     IXpsOMGradientStop *gradStop1,
   6145     IXpsOMGradientStop *gradStop2,
   6146     const XPS_POINT *startPoint,
   6147     const XPS_POINT *endPoint,
   6148     IXpsOMLinearGradientBrush **linearGradientBrush);
   6149 void __RPC_STUB IXpsOMObjectFactory_CreateLinearGradientBrush_Stub(
   6150     IRpcStubBuffer* This,
   6151     IRpcChannelBuffer* pRpcChannelBuffer,
   6152     PRPC_MESSAGE pRpcMessage,
   6153     DWORD* pdwStubPhase);
   6154 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateRadialGradientBrush_Proxy(
   6155     IXpsOMObjectFactory* This,
   6156     IXpsOMGradientStop *gradStop1,
   6157     IXpsOMGradientStop *gradStop2,
   6158     const XPS_POINT *centerPoint,
   6159     const XPS_POINT *gradientOrigin,
   6160     const XPS_SIZE *radiiSizes,
   6161     IXpsOMRadialGradientBrush **radialGradientBrush);
   6162 void __RPC_STUB IXpsOMObjectFactory_CreateRadialGradientBrush_Stub(
   6163     IRpcStubBuffer* This,
   6164     IRpcChannelBuffer* pRpcChannelBuffer,
   6165     PRPC_MESSAGE pRpcMessage,
   6166     DWORD* pdwStubPhase);
   6167 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateCoreProperties_Proxy(
   6168     IXpsOMObjectFactory* This,
   6169     IOpcPartUri *partUri,
   6170     IXpsOMCoreProperties **coreProperties);
   6171 void __RPC_STUB IXpsOMObjectFactory_CreateCoreProperties_Stub(
   6172     IRpcStubBuffer* This,
   6173     IRpcChannelBuffer* pRpcChannelBuffer,
   6174     PRPC_MESSAGE pRpcMessage,
   6175     DWORD* pdwStubPhase);
   6176 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateDictionary_Proxy(
   6177     IXpsOMObjectFactory* This,
   6178     IXpsOMDictionary **dictionary);
   6179 void __RPC_STUB IXpsOMObjectFactory_CreateDictionary_Stub(
   6180     IRpcStubBuffer* This,
   6181     IRpcChannelBuffer* pRpcChannelBuffer,
   6182     PRPC_MESSAGE pRpcMessage,
   6183     DWORD* pdwStubPhase);
   6184 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePartUriCollection_Proxy(
   6185     IXpsOMObjectFactory* This,
   6186     IXpsOMPartUriCollection **partUriCollection);
   6187 void __RPC_STUB IXpsOMObjectFactory_CreatePartUriCollection_Stub(
   6188     IRpcStubBuffer* This,
   6189     IRpcChannelBuffer* pRpcChannelBuffer,
   6190     PRPC_MESSAGE pRpcMessage,
   6191     DWORD* pdwStubPhase);
   6192 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePackageWriterOnFile_Proxy(
   6193     IXpsOMObjectFactory* This,
   6194     LPCWSTR fileName,
   6195     LPSECURITY_ATTRIBUTES securityAttributes,
   6196     DWORD flagsAndAttributes,
   6197     WINBOOL optimizeMarkupSize,
   6198     XPS_INTERLEAVING interleaving,
   6199     IOpcPartUri *documentSequencePartName,
   6200     IXpsOMCoreProperties *coreProperties,
   6201     IXpsOMImageResource *packageThumbnail,
   6202     IXpsOMPrintTicketResource *documentSequencePrintTicket,
   6203     IOpcPartUri *discardControlPartName,
   6204     IXpsOMPackageWriter **packageWriter);
   6205 void __RPC_STUB IXpsOMObjectFactory_CreatePackageWriterOnFile_Stub(
   6206     IRpcStubBuffer* This,
   6207     IRpcChannelBuffer* pRpcChannelBuffer,
   6208     PRPC_MESSAGE pRpcMessage,
   6209     DWORD* pdwStubPhase);
   6210 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePackageWriterOnStream_Proxy(
   6211     IXpsOMObjectFactory* This,
   6212     ISequentialStream *outputStream,
   6213     WINBOOL optimizeMarkupSize,
   6214     XPS_INTERLEAVING interleaving,
   6215     IOpcPartUri *documentSequencePartName,
   6216     IXpsOMCoreProperties *coreProperties,
   6217     IXpsOMImageResource *packageThumbnail,
   6218     IXpsOMPrintTicketResource *documentSequencePrintTicket,
   6219     IOpcPartUri *discardControlPartName,
   6220     IXpsOMPackageWriter **packageWriter);
   6221 void __RPC_STUB IXpsOMObjectFactory_CreatePackageWriterOnStream_Stub(
   6222     IRpcStubBuffer* This,
   6223     IRpcChannelBuffer* pRpcChannelBuffer,
   6224     PRPC_MESSAGE pRpcMessage,
   6225     DWORD* pdwStubPhase);
   6226 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreatePartUri_Proxy(
   6227     IXpsOMObjectFactory* This,
   6228     LPCWSTR uri,
   6229     IOpcPartUri **partUri);
   6230 void __RPC_STUB IXpsOMObjectFactory_CreatePartUri_Stub(
   6231     IRpcStubBuffer* This,
   6232     IRpcChannelBuffer* pRpcChannelBuffer,
   6233     PRPC_MESSAGE pRpcMessage,
   6234     DWORD* pdwStubPhase);
   6235 HRESULT STDMETHODCALLTYPE IXpsOMObjectFactory_CreateReadOnlyStreamOnFile_Proxy(
   6236     IXpsOMObjectFactory* This,
   6237     LPCWSTR filename,
   6238     IStream **stream);
   6239 void __RPC_STUB IXpsOMObjectFactory_CreateReadOnlyStreamOnFile_Stub(
   6240     IRpcStubBuffer* This,
   6241     IRpcChannelBuffer* pRpcChannelBuffer,
   6242     PRPC_MESSAGE pRpcMessage,
   6243     DWORD* pdwStubPhase);
   6244 
   6245 #endif  /* __IXpsOMObjectFactory_INTERFACE_DEFINED__ */
   6246 
   6247 /*****************************************************************************
   6248  * IXpsOMNameCollection interface
   6249  */
   6250 #ifndef __IXpsOMNameCollection_INTERFACE_DEFINED__
   6251 #define __IXpsOMNameCollection_INTERFACE_DEFINED__
   6252 
   6253 DEFINE_GUID(IID_IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2);
   6254 #if defined(__cplusplus) && !defined(CINTERFACE)
   6255 MIDL_INTERFACE("4bddf8ec-c915-421b-a166-d173d25653d2")
   6256 IXpsOMNameCollection : public IUnknown
   6257 {
   6258     virtual HRESULT STDMETHODCALLTYPE GetCount(
   6259         UINT32 *count) = 0;
   6260 
   6261     virtual HRESULT STDMETHODCALLTYPE GetAt(
   6262         UINT32 index,
   6263         LPWSTR *name) = 0;
   6264 
   6265 };
   6266 #ifdef __CRT_UUID_DECL
   6267 __CRT_UUID_DECL(IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2)
   6268 #endif
   6269 #else
   6270 typedef struct IXpsOMNameCollectionVtbl {
   6271     BEGIN_INTERFACE
   6272 
   6273     /*** IUnknown methods ***/
   6274     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6275         IXpsOMNameCollection* This,
   6276         REFIID riid,
   6277         void **ppvObject);
   6278 
   6279     ULONG (STDMETHODCALLTYPE *AddRef)(
   6280         IXpsOMNameCollection* This);
   6281 
   6282     ULONG (STDMETHODCALLTYPE *Release)(
   6283         IXpsOMNameCollection* This);
   6284 
   6285     /*** IXpsOMNameCollection methods ***/
   6286     HRESULT (STDMETHODCALLTYPE *GetCount)(
   6287         IXpsOMNameCollection* This,
   6288         UINT32 *count);
   6289 
   6290     HRESULT (STDMETHODCALLTYPE *GetAt)(
   6291         IXpsOMNameCollection* This,
   6292         UINT32 index,
   6293         LPWSTR *name);
   6294 
   6295     END_INTERFACE
   6296 } IXpsOMNameCollectionVtbl;
   6297 interface IXpsOMNameCollection {
   6298     CONST_VTBL IXpsOMNameCollectionVtbl* lpVtbl;
   6299 };
   6300 
   6301 #ifdef COBJMACROS
   6302 #ifndef WIDL_C_INLINE_WRAPPERS
   6303 /*** IUnknown methods ***/
   6304 #define IXpsOMNameCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6305 #define IXpsOMNameCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   6306 #define IXpsOMNameCollection_Release(This) (This)->lpVtbl->Release(This)
   6307 /*** IXpsOMNameCollection methods ***/
   6308 #define IXpsOMNameCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   6309 #define IXpsOMNameCollection_GetAt(This,index,name) (This)->lpVtbl->GetAt(This,index,name)
   6310 #else
   6311 /*** IUnknown methods ***/
   6312 static FORCEINLINE HRESULT IXpsOMNameCollection_QueryInterface(IXpsOMNameCollection* This,REFIID riid,void **ppvObject) {
   6313     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6314 }
   6315 static FORCEINLINE ULONG IXpsOMNameCollection_AddRef(IXpsOMNameCollection* This) {
   6316     return This->lpVtbl->AddRef(This);
   6317 }
   6318 static FORCEINLINE ULONG IXpsOMNameCollection_Release(IXpsOMNameCollection* This) {
   6319     return This->lpVtbl->Release(This);
   6320 }
   6321 /*** IXpsOMNameCollection methods ***/
   6322 static FORCEINLINE HRESULT IXpsOMNameCollection_GetCount(IXpsOMNameCollection* This,UINT32 *count) {
   6323     return This->lpVtbl->GetCount(This,count);
   6324 }
   6325 static FORCEINLINE HRESULT IXpsOMNameCollection_GetAt(IXpsOMNameCollection* This,UINT32 index,LPWSTR *name) {
   6326     return This->lpVtbl->GetAt(This,index,name);
   6327 }
   6328 #endif
   6329 #endif
   6330 
   6331 #endif
   6332 
   6333 HRESULT STDMETHODCALLTYPE IXpsOMNameCollection_GetCount_Proxy(
   6334     IXpsOMNameCollection* This,
   6335     UINT32 *count);
   6336 void __RPC_STUB IXpsOMNameCollection_GetCount_Stub(
   6337     IRpcStubBuffer* This,
   6338     IRpcChannelBuffer* pRpcChannelBuffer,
   6339     PRPC_MESSAGE pRpcMessage,
   6340     DWORD* pdwStubPhase);
   6341 HRESULT STDMETHODCALLTYPE IXpsOMNameCollection_GetAt_Proxy(
   6342     IXpsOMNameCollection* This,
   6343     UINT32 index,
   6344     LPWSTR *name);
   6345 void __RPC_STUB IXpsOMNameCollection_GetAt_Stub(
   6346     IRpcStubBuffer* This,
   6347     IRpcChannelBuffer* pRpcChannelBuffer,
   6348     PRPC_MESSAGE pRpcMessage,
   6349     DWORD* pdwStubPhase);
   6350 
   6351 #endif  /* __IXpsOMNameCollection_INTERFACE_DEFINED__ */
   6352 
   6353 /*****************************************************************************
   6354  * IXpsOMPartUriCollection interface
   6355  */
   6356 #ifndef __IXpsOMPartUriCollection_INTERFACE_DEFINED__
   6357 #define __IXpsOMPartUriCollection_INTERFACE_DEFINED__
   6358 
   6359 DEFINE_GUID(IID_IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f);
   6360 #if defined(__cplusplus) && !defined(CINTERFACE)
   6361 MIDL_INTERFACE("57c650d4-067c-4893-8c33-f62a0633730f")
   6362 IXpsOMPartUriCollection : public IUnknown
   6363 {
   6364     virtual HRESULT STDMETHODCALLTYPE GetCount(
   6365         UINT32 *count) = 0;
   6366 
   6367     virtual HRESULT STDMETHODCALLTYPE GetAt(
   6368         UINT32 index,
   6369         IOpcPartUri **partUri) = 0;
   6370 
   6371     virtual HRESULT STDMETHODCALLTYPE InsertAt(
   6372         UINT32 index,
   6373         IOpcPartUri *partUri) = 0;
   6374 
   6375     virtual HRESULT STDMETHODCALLTYPE RemoveAt(
   6376         UINT32 index) = 0;
   6377 
   6378     virtual HRESULT STDMETHODCALLTYPE SetAt(
   6379         UINT32 index,
   6380         IOpcPartUri *partUri) = 0;
   6381 
   6382     virtual HRESULT STDMETHODCALLTYPE Append(
   6383         IOpcPartUri *partUri) = 0;
   6384 
   6385 };
   6386 #ifdef __CRT_UUID_DECL
   6387 __CRT_UUID_DECL(IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f)
   6388 #endif
   6389 #else
   6390 typedef struct IXpsOMPartUriCollectionVtbl {
   6391     BEGIN_INTERFACE
   6392 
   6393     /*** IUnknown methods ***/
   6394     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6395         IXpsOMPartUriCollection* This,
   6396         REFIID riid,
   6397         void **ppvObject);
   6398 
   6399     ULONG (STDMETHODCALLTYPE *AddRef)(
   6400         IXpsOMPartUriCollection* This);
   6401 
   6402     ULONG (STDMETHODCALLTYPE *Release)(
   6403         IXpsOMPartUriCollection* This);
   6404 
   6405     /*** IXpsOMPartUriCollection methods ***/
   6406     HRESULT (STDMETHODCALLTYPE *GetCount)(
   6407         IXpsOMPartUriCollection* This,
   6408         UINT32 *count);
   6409 
   6410     HRESULT (STDMETHODCALLTYPE *GetAt)(
   6411         IXpsOMPartUriCollection* This,
   6412         UINT32 index,
   6413         IOpcPartUri **partUri);
   6414 
   6415     HRESULT (STDMETHODCALLTYPE *InsertAt)(
   6416         IXpsOMPartUriCollection* This,
   6417         UINT32 index,
   6418         IOpcPartUri *partUri);
   6419 
   6420     HRESULT (STDMETHODCALLTYPE *RemoveAt)(
   6421         IXpsOMPartUriCollection* This,
   6422         UINT32 index);
   6423 
   6424     HRESULT (STDMETHODCALLTYPE *SetAt)(
   6425         IXpsOMPartUriCollection* This,
   6426         UINT32 index,
   6427         IOpcPartUri *partUri);
   6428 
   6429     HRESULT (STDMETHODCALLTYPE *Append)(
   6430         IXpsOMPartUriCollection* This,
   6431         IOpcPartUri *partUri);
   6432 
   6433     END_INTERFACE
   6434 } IXpsOMPartUriCollectionVtbl;
   6435 interface IXpsOMPartUriCollection {
   6436     CONST_VTBL IXpsOMPartUriCollectionVtbl* lpVtbl;
   6437 };
   6438 
   6439 #ifdef COBJMACROS
   6440 #ifndef WIDL_C_INLINE_WRAPPERS
   6441 /*** IUnknown methods ***/
   6442 #define IXpsOMPartUriCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6443 #define IXpsOMPartUriCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   6444 #define IXpsOMPartUriCollection_Release(This) (This)->lpVtbl->Release(This)
   6445 /*** IXpsOMPartUriCollection methods ***/
   6446 #define IXpsOMPartUriCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
   6447 #define IXpsOMPartUriCollection_GetAt(This,index,partUri) (This)->lpVtbl->GetAt(This,index,partUri)
   6448 #define IXpsOMPartUriCollection_InsertAt(This,index,partUri) (This)->lpVtbl->InsertAt(This,index,partUri)
   6449 #define IXpsOMPartUriCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
   6450 #define IXpsOMPartUriCollection_SetAt(This,index,partUri) (This)->lpVtbl->SetAt(This,index,partUri)
   6451 #define IXpsOMPartUriCollection_Append(This,partUri) (This)->lpVtbl->Append(This,partUri)
   6452 #else
   6453 /*** IUnknown methods ***/
   6454 static FORCEINLINE HRESULT IXpsOMPartUriCollection_QueryInterface(IXpsOMPartUriCollection* This,REFIID riid,void **ppvObject) {
   6455     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6456 }
   6457 static FORCEINLINE ULONG IXpsOMPartUriCollection_AddRef(IXpsOMPartUriCollection* This) {
   6458     return This->lpVtbl->AddRef(This);
   6459 }
   6460 static FORCEINLINE ULONG IXpsOMPartUriCollection_Release(IXpsOMPartUriCollection* This) {
   6461     return This->lpVtbl->Release(This);
   6462 }
   6463 /*** IXpsOMPartUriCollection methods ***/
   6464 static FORCEINLINE HRESULT IXpsOMPartUriCollection_GetCount(IXpsOMPartUriCollection* This,UINT32 *count) {
   6465     return This->lpVtbl->GetCount(This,count);
   6466 }
   6467 static FORCEINLINE HRESULT IXpsOMPartUriCollection_GetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri **partUri) {
   6468     return This->lpVtbl->GetAt(This,index,partUri);
   6469 }
   6470 static FORCEINLINE HRESULT IXpsOMPartUriCollection_InsertAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
   6471     return This->lpVtbl->InsertAt(This,index,partUri);
   6472 }
   6473 static FORCEINLINE HRESULT IXpsOMPartUriCollection_RemoveAt(IXpsOMPartUriCollection* This,UINT32 index) {
   6474     return This->lpVtbl->RemoveAt(This,index);
   6475 }
   6476 static FORCEINLINE HRESULT IXpsOMPartUriCollection_SetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
   6477     return This->lpVtbl->SetAt(This,index,partUri);
   6478 }
   6479 static FORCEINLINE HRESULT IXpsOMPartUriCollection_Append(IXpsOMPartUriCollection* This,IOpcPartUri *partUri) {
   6480     return This->lpVtbl->Append(This,partUri);
   6481 }
   6482 #endif
   6483 #endif
   6484 
   6485 #endif
   6486 
   6487 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_GetCount_Proxy(
   6488     IXpsOMPartUriCollection* This,
   6489     UINT32 *count);
   6490 void __RPC_STUB IXpsOMPartUriCollection_GetCount_Stub(
   6491     IRpcStubBuffer* This,
   6492     IRpcChannelBuffer* pRpcChannelBuffer,
   6493     PRPC_MESSAGE pRpcMessage,
   6494     DWORD* pdwStubPhase);
   6495 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_GetAt_Proxy(
   6496     IXpsOMPartUriCollection* This,
   6497     UINT32 index,
   6498     IOpcPartUri **partUri);
   6499 void __RPC_STUB IXpsOMPartUriCollection_GetAt_Stub(
   6500     IRpcStubBuffer* This,
   6501     IRpcChannelBuffer* pRpcChannelBuffer,
   6502     PRPC_MESSAGE pRpcMessage,
   6503     DWORD* pdwStubPhase);
   6504 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_InsertAt_Proxy(
   6505     IXpsOMPartUriCollection* This,
   6506     UINT32 index,
   6507     IOpcPartUri *partUri);
   6508 void __RPC_STUB IXpsOMPartUriCollection_InsertAt_Stub(
   6509     IRpcStubBuffer* This,
   6510     IRpcChannelBuffer* pRpcChannelBuffer,
   6511     PRPC_MESSAGE pRpcMessage,
   6512     DWORD* pdwStubPhase);
   6513 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_RemoveAt_Proxy(
   6514     IXpsOMPartUriCollection* This,
   6515     UINT32 index);
   6516 void __RPC_STUB IXpsOMPartUriCollection_RemoveAt_Stub(
   6517     IRpcStubBuffer* This,
   6518     IRpcChannelBuffer* pRpcChannelBuffer,
   6519     PRPC_MESSAGE pRpcMessage,
   6520     DWORD* pdwStubPhase);
   6521 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_SetAt_Proxy(
   6522     IXpsOMPartUriCollection* This,
   6523     UINT32 index,
   6524     IOpcPartUri *partUri);
   6525 void __RPC_STUB IXpsOMPartUriCollection_SetAt_Stub(
   6526     IRpcStubBuffer* This,
   6527     IRpcChannelBuffer* pRpcChannelBuffer,
   6528     PRPC_MESSAGE pRpcMessage,
   6529     DWORD* pdwStubPhase);
   6530 HRESULT STDMETHODCALLTYPE IXpsOMPartUriCollection_Append_Proxy(
   6531     IXpsOMPartUriCollection* This,
   6532     IOpcPartUri *partUri);
   6533 void __RPC_STUB IXpsOMPartUriCollection_Append_Stub(
   6534     IRpcStubBuffer* This,
   6535     IRpcChannelBuffer* pRpcChannelBuffer,
   6536     PRPC_MESSAGE pRpcMessage,
   6537     DWORD* pdwStubPhase);
   6538 
   6539 #endif  /* __IXpsOMPartUriCollection_INTERFACE_DEFINED__ */
   6540 
   6541 /*****************************************************************************
   6542  * IXpsOMPackageWriter interface
   6543  */
   6544 #ifndef __IXpsOMPackageWriter_INTERFACE_DEFINED__
   6545 #define __IXpsOMPackageWriter_INTERFACE_DEFINED__
   6546 
   6547 DEFINE_GUID(IID_IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9);
   6548 #if defined(__cplusplus) && !defined(CINTERFACE)
   6549 MIDL_INTERFACE("4e2aa182-a443-42c6-b41b-4f8e9de73ff9")
   6550 IXpsOMPackageWriter : public IUnknown
   6551 {
   6552     virtual HRESULT STDMETHODCALLTYPE StartNewDocument(
   6553         IOpcPartUri *documentPartName,
   6554         IXpsOMPrintTicketResource *documentPrintTicket,
   6555         IXpsOMDocumentStructureResource *documentStructure,
   6556         IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
   6557         IXpsOMPartUriCollection *restrictedFonts) = 0;
   6558 
   6559     virtual HRESULT STDMETHODCALLTYPE AddPage(
   6560         IXpsOMPage *page,
   6561         const XPS_SIZE *advisoryPageDimensions,
   6562         IXpsOMPartUriCollection *discardableResourceParts,
   6563         IXpsOMStoryFragmentsResource *storyFragments,
   6564         IXpsOMPrintTicketResource *pagePrintTicket,
   6565         IXpsOMImageResource *pageThumbnail) = 0;
   6566 
   6567     virtual HRESULT STDMETHODCALLTYPE AddResource(
   6568         IXpsOMResource *resource) = 0;
   6569 
   6570     virtual HRESULT STDMETHODCALLTYPE Close(
   6571         ) = 0;
   6572 
   6573     virtual HRESULT STDMETHODCALLTYPE IsClosed(
   6574         WINBOOL *isClosed) = 0;
   6575 
   6576 };
   6577 #ifdef __CRT_UUID_DECL
   6578 __CRT_UUID_DECL(IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9)
   6579 #endif
   6580 #else
   6581 typedef struct IXpsOMPackageWriterVtbl {
   6582     BEGIN_INTERFACE
   6583 
   6584     /*** IUnknown methods ***/
   6585     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6586         IXpsOMPackageWriter* This,
   6587         REFIID riid,
   6588         void **ppvObject);
   6589 
   6590     ULONG (STDMETHODCALLTYPE *AddRef)(
   6591         IXpsOMPackageWriter* This);
   6592 
   6593     ULONG (STDMETHODCALLTYPE *Release)(
   6594         IXpsOMPackageWriter* This);
   6595 
   6596     /*** IXpsOMPackageWriter methods ***/
   6597     HRESULT (STDMETHODCALLTYPE *StartNewDocument)(
   6598         IXpsOMPackageWriter* This,
   6599         IOpcPartUri *documentPartName,
   6600         IXpsOMPrintTicketResource *documentPrintTicket,
   6601         IXpsOMDocumentStructureResource *documentStructure,
   6602         IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
   6603         IXpsOMPartUriCollection *restrictedFonts);
   6604 
   6605     HRESULT (STDMETHODCALLTYPE *AddPage)(
   6606         IXpsOMPackageWriter* This,
   6607         IXpsOMPage *page,
   6608         const XPS_SIZE *advisoryPageDimensions,
   6609         IXpsOMPartUriCollection *discardableResourceParts,
   6610         IXpsOMStoryFragmentsResource *storyFragments,
   6611         IXpsOMPrintTicketResource *pagePrintTicket,
   6612         IXpsOMImageResource *pageThumbnail);
   6613 
   6614     HRESULT (STDMETHODCALLTYPE *AddResource)(
   6615         IXpsOMPackageWriter* This,
   6616         IXpsOMResource *resource);
   6617 
   6618     HRESULT (STDMETHODCALLTYPE *Close)(
   6619         IXpsOMPackageWriter* This);
   6620 
   6621     HRESULT (STDMETHODCALLTYPE *IsClosed)(
   6622         IXpsOMPackageWriter* This,
   6623         WINBOOL *isClosed);
   6624 
   6625     END_INTERFACE
   6626 } IXpsOMPackageWriterVtbl;
   6627 interface IXpsOMPackageWriter {
   6628     CONST_VTBL IXpsOMPackageWriterVtbl* lpVtbl;
   6629 };
   6630 
   6631 #ifdef COBJMACROS
   6632 #ifndef WIDL_C_INLINE_WRAPPERS
   6633 /*** IUnknown methods ***/
   6634 #define IXpsOMPackageWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6635 #define IXpsOMPackageWriter_AddRef(This) (This)->lpVtbl->AddRef(This)
   6636 #define IXpsOMPackageWriter_Release(This) (This)->lpVtbl->Release(This)
   6637 /*** IXpsOMPackageWriter methods ***/
   6638 #define IXpsOMPackageWriter_StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts) (This)->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts)
   6639 #define IXpsOMPackageWriter_AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail) (This)->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail)
   6640 #define IXpsOMPackageWriter_AddResource(This,resource) (This)->lpVtbl->AddResource(This,resource)
   6641 #define IXpsOMPackageWriter_Close(This) (This)->lpVtbl->Close(This)
   6642 #define IXpsOMPackageWriter_IsClosed(This,isClosed) (This)->lpVtbl->IsClosed(This,isClosed)
   6643 #else
   6644 /*** IUnknown methods ***/
   6645 static FORCEINLINE HRESULT IXpsOMPackageWriter_QueryInterface(IXpsOMPackageWriter* This,REFIID riid,void **ppvObject) {
   6646     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6647 }
   6648 static FORCEINLINE ULONG IXpsOMPackageWriter_AddRef(IXpsOMPackageWriter* This) {
   6649     return This->lpVtbl->AddRef(This);
   6650 }
   6651 static FORCEINLINE ULONG IXpsOMPackageWriter_Release(IXpsOMPackageWriter* This) {
   6652     return This->lpVtbl->Release(This);
   6653 }
   6654 /*** IXpsOMPackageWriter methods ***/
   6655 static FORCEINLINE HRESULT IXpsOMPackageWriter_StartNewDocument(IXpsOMPackageWriter* This,IOpcPartUri *documentPartName,IXpsOMPrintTicketResource *documentPrintTicket,IXpsOMDocumentStructureResource *documentStructure,IXpsOMSignatureBlockResourceCollection *signatureBlockResources,IXpsOMPartUriCollection *restrictedFonts) {
   6656     return This->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts);
   6657 }
   6658 static FORCEINLINE HRESULT IXpsOMPackageWriter_AddPage(IXpsOMPackageWriter* This,IXpsOMPage *page,const XPS_SIZE *advisoryPageDimensions,IXpsOMPartUriCollection *discardableResourceParts,IXpsOMStoryFragmentsResource *storyFragments,IXpsOMPrintTicketResource *pagePrintTicket,IXpsOMImageResource *pageThumbnail) {
   6659     return This->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail);
   6660 }
   6661 static FORCEINLINE HRESULT IXpsOMPackageWriter_AddResource(IXpsOMPackageWriter* This,IXpsOMResource *resource) {
   6662     return This->lpVtbl->AddResource(This,resource);
   6663 }
   6664 static FORCEINLINE HRESULT IXpsOMPackageWriter_Close(IXpsOMPackageWriter* This) {
   6665     return This->lpVtbl->Close(This);
   6666 }
   6667 static FORCEINLINE HRESULT IXpsOMPackageWriter_IsClosed(IXpsOMPackageWriter* This,WINBOOL *isClosed) {
   6668     return This->lpVtbl->IsClosed(This,isClosed);
   6669 }
   6670 #endif
   6671 #endif
   6672 
   6673 #endif
   6674 
   6675 HRESULT STDMETHODCALLTYPE IXpsOMPackageWriter_StartNewDocument_Proxy(
   6676     IXpsOMPackageWriter* This,
   6677     IOpcPartUri *documentPartName,
   6678     IXpsOMPrintTicketResource *documentPrintTicket,
   6679     IXpsOMDocumentStructureResource *documentStructure,
   6680     IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
   6681     IXpsOMPartUriCollection *restrictedFonts);
   6682 void __RPC_STUB IXpsOMPackageWriter_StartNewDocument_Stub(
   6683     IRpcStubBuffer* This,
   6684     IRpcChannelBuffer* pRpcChannelBuffer,
   6685     PRPC_MESSAGE pRpcMessage,
   6686     DWORD* pdwStubPhase);
   6687 HRESULT STDMETHODCALLTYPE IXpsOMPackageWriter_AddPage_Proxy(
   6688     IXpsOMPackageWriter* This,
   6689     IXpsOMPage *page,
   6690     const XPS_SIZE *advisoryPageDimensions,
   6691     IXpsOMPartUriCollection *discardableResourceParts,
   6692     IXpsOMStoryFragmentsResource *storyFragments,
   6693     IXpsOMPrintTicketResource *pagePrintTicket,
   6694     IXpsOMImageResource *pageThumbnail);
   6695 void __RPC_STUB IXpsOMPackageWriter_AddPage_Stub(
   6696     IRpcStubBuffer* This,
   6697     IRpcChannelBuffer* pRpcChannelBuffer,
   6698     PRPC_MESSAGE pRpcMessage,
   6699     DWORD* pdwStubPhase);
   6700 HRESULT STDMETHODCALLTYPE IXpsOMPackageWriter_AddResource_Proxy(
   6701     IXpsOMPackageWriter* This,
   6702     IXpsOMResource *resource);
   6703 void __RPC_STUB IXpsOMPackageWriter_AddResource_Stub(
   6704     IRpcStubBuffer* This,
   6705     IRpcChannelBuffer* pRpcChannelBuffer,
   6706     PRPC_MESSAGE pRpcMessage,
   6707     DWORD* pdwStubPhase);
   6708 HRESULT STDMETHODCALLTYPE IXpsOMPackageWriter_Close_Proxy(
   6709     IXpsOMPackageWriter* This);
   6710 void __RPC_STUB IXpsOMPackageWriter_Close_Stub(
   6711     IRpcStubBuffer* This,
   6712     IRpcChannelBuffer* pRpcChannelBuffer,
   6713     PRPC_MESSAGE pRpcMessage,
   6714     DWORD* pdwStubPhase);
   6715 HRESULT STDMETHODCALLTYPE IXpsOMPackageWriter_IsClosed_Proxy(
   6716     IXpsOMPackageWriter* This,
   6717     WINBOOL *isClosed);
   6718 void __RPC_STUB IXpsOMPackageWriter_IsClosed_Stub(
   6719     IRpcStubBuffer* This,
   6720     IRpcChannelBuffer* pRpcChannelBuffer,
   6721     PRPC_MESSAGE pRpcMessage,
   6722     DWORD* pdwStubPhase);
   6723 
   6724 #endif  /* __IXpsOMPackageWriter_INTERFACE_DEFINED__ */
   6725 
   6726 /*****************************************************************************
   6727  * IXpsOMPackageTarget interface
   6728  */
   6729 #ifndef __IXpsOMPackageTarget_INTERFACE_DEFINED__
   6730 #define __IXpsOMPackageTarget_INTERFACE_DEFINED__
   6731 
   6732 DEFINE_GUID(IID_IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d);
   6733 #if defined(__cplusplus) && !defined(CINTERFACE)
   6734 MIDL_INTERFACE("219a9db0-4959-47d0-8034-b1ce84f41a4d")
   6735 IXpsOMPackageTarget : public IUnknown
   6736 {
   6737     virtual HRESULT STDMETHODCALLTYPE CreateXpsOMPackageWriter(
   6738         IOpcPartUri *documentSequencePartName,
   6739         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   6740         IOpcPartUri *discardControlPartName,
   6741         IXpsOMPackageWriter **packageWriter) = 0;
   6742 
   6743 };
   6744 #ifdef __CRT_UUID_DECL
   6745 __CRT_UUID_DECL(IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d)
   6746 #endif
   6747 #else
   6748 typedef struct IXpsOMPackageTargetVtbl {
   6749     BEGIN_INTERFACE
   6750 
   6751     /*** IUnknown methods ***/
   6752     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6753         IXpsOMPackageTarget* This,
   6754         REFIID riid,
   6755         void **ppvObject);
   6756 
   6757     ULONG (STDMETHODCALLTYPE *AddRef)(
   6758         IXpsOMPackageTarget* This);
   6759 
   6760     ULONG (STDMETHODCALLTYPE *Release)(
   6761         IXpsOMPackageTarget* This);
   6762 
   6763     /*** IXpsOMPackageTarget methods ***/
   6764     HRESULT (STDMETHODCALLTYPE *CreateXpsOMPackageWriter)(
   6765         IXpsOMPackageTarget* This,
   6766         IOpcPartUri *documentSequencePartName,
   6767         IXpsOMPrintTicketResource *documentSequencePrintTicket,
   6768         IOpcPartUri *discardControlPartName,
   6769         IXpsOMPackageWriter **packageWriter);
   6770 
   6771     END_INTERFACE
   6772 } IXpsOMPackageTargetVtbl;
   6773 interface IXpsOMPackageTarget {
   6774     CONST_VTBL IXpsOMPackageTargetVtbl* lpVtbl;
   6775 };
   6776 
   6777 #ifdef COBJMACROS
   6778 #ifndef WIDL_C_INLINE_WRAPPERS
   6779 /*** IUnknown methods ***/
   6780 #define IXpsOMPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6781 #define IXpsOMPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
   6782 #define IXpsOMPackageTarget_Release(This) (This)->lpVtbl->Release(This)
   6783 /*** IXpsOMPackageTarget methods ***/
   6784 #define IXpsOMPackageTarget_CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter)
   6785 #else
   6786 /*** IUnknown methods ***/
   6787 static FORCEINLINE HRESULT IXpsOMPackageTarget_QueryInterface(IXpsOMPackageTarget* This,REFIID riid,void **ppvObject) {
   6788     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6789 }
   6790 static FORCEINLINE ULONG IXpsOMPackageTarget_AddRef(IXpsOMPackageTarget* This) {
   6791     return This->lpVtbl->AddRef(This);
   6792 }
   6793 static FORCEINLINE ULONG IXpsOMPackageTarget_Release(IXpsOMPackageTarget* This) {
   6794     return This->lpVtbl->Release(This);
   6795 }
   6796 /*** IXpsOMPackageTarget methods ***/
   6797 static FORCEINLINE HRESULT IXpsOMPackageTarget_CreateXpsOMPackageWriter(IXpsOMPackageTarget* This,IOpcPartUri *documentSequencePartName,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
   6798     return This->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter);
   6799 }
   6800 #endif
   6801 #endif
   6802 
   6803 #endif
   6804 
   6805 HRESULT STDMETHODCALLTYPE IXpsOMPackageTarget_CreateXpsOMPackageWriter_Proxy(
   6806     IXpsOMPackageTarget* This,
   6807     IOpcPartUri *documentSequencePartName,
   6808     IXpsOMPrintTicketResource *documentSequencePrintTicket,
   6809     IOpcPartUri *discardControlPartName,
   6810     IXpsOMPackageWriter **packageWriter);
   6811 void __RPC_STUB IXpsOMPackageTarget_CreateXpsOMPackageWriter_Stub(
   6812     IRpcStubBuffer* This,
   6813     IRpcChannelBuffer* pRpcChannelBuffer,
   6814     PRPC_MESSAGE pRpcMessage,
   6815     DWORD* pdwStubPhase);
   6816 
   6817 #endif  /* __IXpsOMPackageTarget_INTERFACE_DEFINED__ */
   6818 
   6819 /*****************************************************************************
   6820  * IXpsOMVisual interface
   6821  */
   6822 #ifndef __IXpsOMVisual_INTERFACE_DEFINED__
   6823 #define __IXpsOMVisual_INTERFACE_DEFINED__
   6824 
   6825 DEFINE_GUID(IID_IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd);
   6826 #if defined(__cplusplus) && !defined(CINTERFACE)
   6827 MIDL_INTERFACE("bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd")
   6828 IXpsOMVisual : public IXpsOMShareable
   6829 {
   6830     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   6831         IXpsOMMatrixTransform **matrixTransform) = 0;
   6832 
   6833     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   6834         IXpsOMMatrixTransform **matrixTransform) = 0;
   6835 
   6836     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   6837         IXpsOMMatrixTransform *matrixTransform) = 0;
   6838 
   6839     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   6840         LPWSTR *key) = 0;
   6841 
   6842     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   6843         LPCWSTR key) = 0;
   6844 
   6845     virtual HRESULT STDMETHODCALLTYPE GetClipGeometry(
   6846         IXpsOMGeometry **clipGeometry) = 0;
   6847 
   6848     virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLocal(
   6849         IXpsOMGeometry **clipGeometry) = 0;
   6850 
   6851     virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLocal(
   6852         IXpsOMGeometry *clipGeometry) = 0;
   6853 
   6854     virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLookup(
   6855         LPWSTR *key) = 0;
   6856 
   6857     virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLookup(
   6858         LPCWSTR key) = 0;
   6859 
   6860     virtual HRESULT STDMETHODCALLTYPE GetOpacity(
   6861         FLOAT *opacity) = 0;
   6862 
   6863     virtual HRESULT STDMETHODCALLTYPE SetOpacity(
   6864         FLOAT opacity) = 0;
   6865 
   6866     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrush(
   6867         IXpsOMBrush **opacityMaskBrush) = 0;
   6868 
   6869     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLocal(
   6870         IXpsOMBrush **opacityMaskBrush) = 0;
   6871 
   6872     virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLocal(
   6873         IXpsOMBrush *opacityMaskBrush) = 0;
   6874 
   6875     virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLookup(
   6876         LPWSTR *key) = 0;
   6877 
   6878     virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLookup(
   6879         LPCWSTR key) = 0;
   6880 
   6881     virtual HRESULT STDMETHODCALLTYPE GetName(
   6882         LPWSTR *name) = 0;
   6883 
   6884     virtual HRESULT STDMETHODCALLTYPE SetName(
   6885         LPCWSTR name) = 0;
   6886 
   6887     virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
   6888         WINBOOL *isHyperlink) = 0;
   6889 
   6890     virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
   6891         WINBOOL isHyperlink) = 0;
   6892 
   6893     virtual HRESULT STDMETHODCALLTYPE GetHyperlinkNavigateUri(
   6894         IUri **hyperlinkUri) = 0;
   6895 
   6896     virtual HRESULT STDMETHODCALLTYPE SetHyperlinkNavigateUri(
   6897         IUri *hyperlinkUri) = 0;
   6898 
   6899     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
   6900         LPWSTR *language) = 0;
   6901 
   6902     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
   6903         LPCWSTR language) = 0;
   6904 
   6905 };
   6906 #ifdef __CRT_UUID_DECL
   6907 __CRT_UUID_DECL(IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd)
   6908 #endif
   6909 #else
   6910 typedef struct IXpsOMVisualVtbl {
   6911     BEGIN_INTERFACE
   6912 
   6913     /*** IUnknown methods ***/
   6914     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   6915         IXpsOMVisual* This,
   6916         REFIID riid,
   6917         void **ppvObject);
   6918 
   6919     ULONG (STDMETHODCALLTYPE *AddRef)(
   6920         IXpsOMVisual* This);
   6921 
   6922     ULONG (STDMETHODCALLTYPE *Release)(
   6923         IXpsOMVisual* This);
   6924 
   6925     /*** IXpsOMShareable methods ***/
   6926     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   6927         IXpsOMVisual* This,
   6928         IUnknown **owner);
   6929 
   6930     HRESULT (STDMETHODCALLTYPE *GetType)(
   6931         IXpsOMVisual* This,
   6932         XPS_OBJECT_TYPE *type);
   6933 
   6934     /*** IXpsOMVisual methods ***/
   6935     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   6936         IXpsOMVisual* This,
   6937         IXpsOMMatrixTransform **matrixTransform);
   6938 
   6939     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   6940         IXpsOMVisual* This,
   6941         IXpsOMMatrixTransform **matrixTransform);
   6942 
   6943     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   6944         IXpsOMVisual* This,
   6945         IXpsOMMatrixTransform *matrixTransform);
   6946 
   6947     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   6948         IXpsOMVisual* This,
   6949         LPWSTR *key);
   6950 
   6951     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   6952         IXpsOMVisual* This,
   6953         LPCWSTR key);
   6954 
   6955     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   6956         IXpsOMVisual* This,
   6957         IXpsOMGeometry **clipGeometry);
   6958 
   6959     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   6960         IXpsOMVisual* This,
   6961         IXpsOMGeometry **clipGeometry);
   6962 
   6963     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   6964         IXpsOMVisual* This,
   6965         IXpsOMGeometry *clipGeometry);
   6966 
   6967     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   6968         IXpsOMVisual* This,
   6969         LPWSTR *key);
   6970 
   6971     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   6972         IXpsOMVisual* This,
   6973         LPCWSTR key);
   6974 
   6975     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   6976         IXpsOMVisual* This,
   6977         FLOAT *opacity);
   6978 
   6979     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   6980         IXpsOMVisual* This,
   6981         FLOAT opacity);
   6982 
   6983     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   6984         IXpsOMVisual* This,
   6985         IXpsOMBrush **opacityMaskBrush);
   6986 
   6987     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   6988         IXpsOMVisual* This,
   6989         IXpsOMBrush **opacityMaskBrush);
   6990 
   6991     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   6992         IXpsOMVisual* This,
   6993         IXpsOMBrush *opacityMaskBrush);
   6994 
   6995     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   6996         IXpsOMVisual* This,
   6997         LPWSTR *key);
   6998 
   6999     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   7000         IXpsOMVisual* This,
   7001         LPCWSTR key);
   7002 
   7003     HRESULT (STDMETHODCALLTYPE *GetName)(
   7004         IXpsOMVisual* This,
   7005         LPWSTR *name);
   7006 
   7007     HRESULT (STDMETHODCALLTYPE *SetName)(
   7008         IXpsOMVisual* This,
   7009         LPCWSTR name);
   7010 
   7011     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   7012         IXpsOMVisual* This,
   7013         WINBOOL *isHyperlink);
   7014 
   7015     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   7016         IXpsOMVisual* This,
   7017         WINBOOL isHyperlink);
   7018 
   7019     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   7020         IXpsOMVisual* This,
   7021         IUri **hyperlinkUri);
   7022 
   7023     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   7024         IXpsOMVisual* This,
   7025         IUri *hyperlinkUri);
   7026 
   7027     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   7028         IXpsOMVisual* This,
   7029         LPWSTR *language);
   7030 
   7031     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   7032         IXpsOMVisual* This,
   7033         LPCWSTR language);
   7034 
   7035     END_INTERFACE
   7036 } IXpsOMVisualVtbl;
   7037 interface IXpsOMVisual {
   7038     CONST_VTBL IXpsOMVisualVtbl* lpVtbl;
   7039 };
   7040 
   7041 #ifdef COBJMACROS
   7042 #ifndef WIDL_C_INLINE_WRAPPERS
   7043 /*** IUnknown methods ***/
   7044 #define IXpsOMVisual_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7045 #define IXpsOMVisual_AddRef(This) (This)->lpVtbl->AddRef(This)
   7046 #define IXpsOMVisual_Release(This) (This)->lpVtbl->Release(This)
   7047 /*** IXpsOMShareable methods ***/
   7048 #define IXpsOMVisual_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7049 #define IXpsOMVisual_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7050 /*** IXpsOMVisual methods ***/
   7051 #define IXpsOMVisual_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   7052 #define IXpsOMVisual_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   7053 #define IXpsOMVisual_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   7054 #define IXpsOMVisual_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   7055 #define IXpsOMVisual_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   7056 #define IXpsOMVisual_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   7057 #define IXpsOMVisual_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   7058 #define IXpsOMVisual_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   7059 #define IXpsOMVisual_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   7060 #define IXpsOMVisual_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   7061 #define IXpsOMVisual_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7062 #define IXpsOMVisual_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7063 #define IXpsOMVisual_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   7064 #define IXpsOMVisual_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   7065 #define IXpsOMVisual_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   7066 #define IXpsOMVisual_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   7067 #define IXpsOMVisual_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   7068 #define IXpsOMVisual_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   7069 #define IXpsOMVisual_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   7070 #define IXpsOMVisual_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   7071 #define IXpsOMVisual_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   7072 #define IXpsOMVisual_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   7073 #define IXpsOMVisual_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   7074 #define IXpsOMVisual_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   7075 #define IXpsOMVisual_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   7076 #else
   7077 /*** IUnknown methods ***/
   7078 static FORCEINLINE HRESULT IXpsOMVisual_QueryInterface(IXpsOMVisual* This,REFIID riid,void **ppvObject) {
   7079     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7080 }
   7081 static FORCEINLINE ULONG IXpsOMVisual_AddRef(IXpsOMVisual* This) {
   7082     return This->lpVtbl->AddRef(This);
   7083 }
   7084 static FORCEINLINE ULONG IXpsOMVisual_Release(IXpsOMVisual* This) {
   7085     return This->lpVtbl->Release(This);
   7086 }
   7087 /*** IXpsOMShareable methods ***/
   7088 static FORCEINLINE HRESULT IXpsOMVisual_GetOwner(IXpsOMVisual* This,IUnknown **owner) {
   7089     return This->lpVtbl->GetOwner(This,owner);
   7090 }
   7091 static FORCEINLINE HRESULT IXpsOMVisual_GetType(IXpsOMVisual* This,XPS_OBJECT_TYPE *type) {
   7092     return This->lpVtbl->GetType(This,type);
   7093 }
   7094 /*** IXpsOMVisual methods ***/
   7095 static FORCEINLINE HRESULT IXpsOMVisual_GetTransform(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
   7096     return This->lpVtbl->GetTransform(This,matrixTransform);
   7097 }
   7098 static FORCEINLINE HRESULT IXpsOMVisual_GetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
   7099     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   7100 }
   7101 static FORCEINLINE HRESULT IXpsOMVisual_SetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform *matrixTransform) {
   7102     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   7103 }
   7104 static FORCEINLINE HRESULT IXpsOMVisual_GetTransformLookup(IXpsOMVisual* This,LPWSTR *key) {
   7105     return This->lpVtbl->GetTransformLookup(This,key);
   7106 }
   7107 static FORCEINLINE HRESULT IXpsOMVisual_SetTransformLookup(IXpsOMVisual* This,LPCWSTR key) {
   7108     return This->lpVtbl->SetTransformLookup(This,key);
   7109 }
   7110 static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometry(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
   7111     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   7112 }
   7113 static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
   7114     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   7115 }
   7116 static FORCEINLINE HRESULT IXpsOMVisual_SetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry *clipGeometry) {
   7117     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   7118 }
   7119 static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometryLookup(IXpsOMVisual* This,LPWSTR *key) {
   7120     return This->lpVtbl->GetClipGeometryLookup(This,key);
   7121 }
   7122 static FORCEINLINE HRESULT IXpsOMVisual_SetClipGeometryLookup(IXpsOMVisual* This,LPCWSTR key) {
   7123     return This->lpVtbl->SetClipGeometryLookup(This,key);
   7124 }
   7125 static FORCEINLINE HRESULT IXpsOMVisual_GetOpacity(IXpsOMVisual* This,FLOAT *opacity) {
   7126     return This->lpVtbl->GetOpacity(This,opacity);
   7127 }
   7128 static FORCEINLINE HRESULT IXpsOMVisual_SetOpacity(IXpsOMVisual* This,FLOAT opacity) {
   7129     return This->lpVtbl->SetOpacity(This,opacity);
   7130 }
   7131 static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrush(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
   7132     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   7133 }
   7134 static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
   7135     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   7136 }
   7137 static FORCEINLINE HRESULT IXpsOMVisual_SetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush *opacityMaskBrush) {
   7138     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   7139 }
   7140 static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrushLookup(IXpsOMVisual* This,LPWSTR *key) {
   7141     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   7142 }
   7143 static FORCEINLINE HRESULT IXpsOMVisual_SetOpacityMaskBrushLookup(IXpsOMVisual* This,LPCWSTR key) {
   7144     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   7145 }
   7146 static FORCEINLINE HRESULT IXpsOMVisual_GetName(IXpsOMVisual* This,LPWSTR *name) {
   7147     return This->lpVtbl->GetName(This,name);
   7148 }
   7149 static FORCEINLINE HRESULT IXpsOMVisual_SetName(IXpsOMVisual* This,LPCWSTR name) {
   7150     return This->lpVtbl->SetName(This,name);
   7151 }
   7152 static FORCEINLINE HRESULT IXpsOMVisual_GetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL *isHyperlink) {
   7153     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   7154 }
   7155 static FORCEINLINE HRESULT IXpsOMVisual_SetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL isHyperlink) {
   7156     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   7157 }
   7158 static FORCEINLINE HRESULT IXpsOMVisual_GetHyperlinkNavigateUri(IXpsOMVisual* This,IUri **hyperlinkUri) {
   7159     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   7160 }
   7161 static FORCEINLINE HRESULT IXpsOMVisual_SetHyperlinkNavigateUri(IXpsOMVisual* This,IUri *hyperlinkUri) {
   7162     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   7163 }
   7164 static FORCEINLINE HRESULT IXpsOMVisual_GetLanguage(IXpsOMVisual* This,LPWSTR *language) {
   7165     return This->lpVtbl->GetLanguage(This,language);
   7166 }
   7167 static FORCEINLINE HRESULT IXpsOMVisual_SetLanguage(IXpsOMVisual* This,LPCWSTR language) {
   7168     return This->lpVtbl->SetLanguage(This,language);
   7169 }
   7170 #endif
   7171 #endif
   7172 
   7173 #endif
   7174 
   7175 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetTransform_Proxy(
   7176     IXpsOMVisual* This,
   7177     IXpsOMMatrixTransform **matrixTransform);
   7178 void __RPC_STUB IXpsOMVisual_GetTransform_Stub(
   7179     IRpcStubBuffer* This,
   7180     IRpcChannelBuffer* pRpcChannelBuffer,
   7181     PRPC_MESSAGE pRpcMessage,
   7182     DWORD* pdwStubPhase);
   7183 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetTransformLocal_Proxy(
   7184     IXpsOMVisual* This,
   7185     IXpsOMMatrixTransform **matrixTransform);
   7186 void __RPC_STUB IXpsOMVisual_GetTransformLocal_Stub(
   7187     IRpcStubBuffer* This,
   7188     IRpcChannelBuffer* pRpcChannelBuffer,
   7189     PRPC_MESSAGE pRpcMessage,
   7190     DWORD* pdwStubPhase);
   7191 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetTransformLocal_Proxy(
   7192     IXpsOMVisual* This,
   7193     IXpsOMMatrixTransform *matrixTransform);
   7194 void __RPC_STUB IXpsOMVisual_SetTransformLocal_Stub(
   7195     IRpcStubBuffer* This,
   7196     IRpcChannelBuffer* pRpcChannelBuffer,
   7197     PRPC_MESSAGE pRpcMessage,
   7198     DWORD* pdwStubPhase);
   7199 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetTransformLookup_Proxy(
   7200     IXpsOMVisual* This,
   7201     LPWSTR *key);
   7202 void __RPC_STUB IXpsOMVisual_GetTransformLookup_Stub(
   7203     IRpcStubBuffer* This,
   7204     IRpcChannelBuffer* pRpcChannelBuffer,
   7205     PRPC_MESSAGE pRpcMessage,
   7206     DWORD* pdwStubPhase);
   7207 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetTransformLookup_Proxy(
   7208     IXpsOMVisual* This,
   7209     LPCWSTR key);
   7210 void __RPC_STUB IXpsOMVisual_SetTransformLookup_Stub(
   7211     IRpcStubBuffer* This,
   7212     IRpcChannelBuffer* pRpcChannelBuffer,
   7213     PRPC_MESSAGE pRpcMessage,
   7214     DWORD* pdwStubPhase);
   7215 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetClipGeometry_Proxy(
   7216     IXpsOMVisual* This,
   7217     IXpsOMGeometry **clipGeometry);
   7218 void __RPC_STUB IXpsOMVisual_GetClipGeometry_Stub(
   7219     IRpcStubBuffer* This,
   7220     IRpcChannelBuffer* pRpcChannelBuffer,
   7221     PRPC_MESSAGE pRpcMessage,
   7222     DWORD* pdwStubPhase);
   7223 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetClipGeometryLocal_Proxy(
   7224     IXpsOMVisual* This,
   7225     IXpsOMGeometry **clipGeometry);
   7226 void __RPC_STUB IXpsOMVisual_GetClipGeometryLocal_Stub(
   7227     IRpcStubBuffer* This,
   7228     IRpcChannelBuffer* pRpcChannelBuffer,
   7229     PRPC_MESSAGE pRpcMessage,
   7230     DWORD* pdwStubPhase);
   7231 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetClipGeometryLocal_Proxy(
   7232     IXpsOMVisual* This,
   7233     IXpsOMGeometry *clipGeometry);
   7234 void __RPC_STUB IXpsOMVisual_SetClipGeometryLocal_Stub(
   7235     IRpcStubBuffer* This,
   7236     IRpcChannelBuffer* pRpcChannelBuffer,
   7237     PRPC_MESSAGE pRpcMessage,
   7238     DWORD* pdwStubPhase);
   7239 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetClipGeometryLookup_Proxy(
   7240     IXpsOMVisual* This,
   7241     LPWSTR *key);
   7242 void __RPC_STUB IXpsOMVisual_GetClipGeometryLookup_Stub(
   7243     IRpcStubBuffer* This,
   7244     IRpcChannelBuffer* pRpcChannelBuffer,
   7245     PRPC_MESSAGE pRpcMessage,
   7246     DWORD* pdwStubPhase);
   7247 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetClipGeometryLookup_Proxy(
   7248     IXpsOMVisual* This,
   7249     LPCWSTR key);
   7250 void __RPC_STUB IXpsOMVisual_SetClipGeometryLookup_Stub(
   7251     IRpcStubBuffer* This,
   7252     IRpcChannelBuffer* pRpcChannelBuffer,
   7253     PRPC_MESSAGE pRpcMessage,
   7254     DWORD* pdwStubPhase);
   7255 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetOpacity_Proxy(
   7256     IXpsOMVisual* This,
   7257     FLOAT *opacity);
   7258 void __RPC_STUB IXpsOMVisual_GetOpacity_Stub(
   7259     IRpcStubBuffer* This,
   7260     IRpcChannelBuffer* pRpcChannelBuffer,
   7261     PRPC_MESSAGE pRpcMessage,
   7262     DWORD* pdwStubPhase);
   7263 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetOpacity_Proxy(
   7264     IXpsOMVisual* This,
   7265     FLOAT opacity);
   7266 void __RPC_STUB IXpsOMVisual_SetOpacity_Stub(
   7267     IRpcStubBuffer* This,
   7268     IRpcChannelBuffer* pRpcChannelBuffer,
   7269     PRPC_MESSAGE pRpcMessage,
   7270     DWORD* pdwStubPhase);
   7271 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetOpacityMaskBrush_Proxy(
   7272     IXpsOMVisual* This,
   7273     IXpsOMBrush **opacityMaskBrush);
   7274 void __RPC_STUB IXpsOMVisual_GetOpacityMaskBrush_Stub(
   7275     IRpcStubBuffer* This,
   7276     IRpcChannelBuffer* pRpcChannelBuffer,
   7277     PRPC_MESSAGE pRpcMessage,
   7278     DWORD* pdwStubPhase);
   7279 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetOpacityMaskBrushLocal_Proxy(
   7280     IXpsOMVisual* This,
   7281     IXpsOMBrush **opacityMaskBrush);
   7282 void __RPC_STUB IXpsOMVisual_GetOpacityMaskBrushLocal_Stub(
   7283     IRpcStubBuffer* This,
   7284     IRpcChannelBuffer* pRpcChannelBuffer,
   7285     PRPC_MESSAGE pRpcMessage,
   7286     DWORD* pdwStubPhase);
   7287 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetOpacityMaskBrushLocal_Proxy(
   7288     IXpsOMVisual* This,
   7289     IXpsOMBrush *opacityMaskBrush);
   7290 void __RPC_STUB IXpsOMVisual_SetOpacityMaskBrushLocal_Stub(
   7291     IRpcStubBuffer* This,
   7292     IRpcChannelBuffer* pRpcChannelBuffer,
   7293     PRPC_MESSAGE pRpcMessage,
   7294     DWORD* pdwStubPhase);
   7295 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetOpacityMaskBrushLookup_Proxy(
   7296     IXpsOMVisual* This,
   7297     LPWSTR *key);
   7298 void __RPC_STUB IXpsOMVisual_GetOpacityMaskBrushLookup_Stub(
   7299     IRpcStubBuffer* This,
   7300     IRpcChannelBuffer* pRpcChannelBuffer,
   7301     PRPC_MESSAGE pRpcMessage,
   7302     DWORD* pdwStubPhase);
   7303 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetOpacityMaskBrushLookup_Proxy(
   7304     IXpsOMVisual* This,
   7305     LPCWSTR key);
   7306 void __RPC_STUB IXpsOMVisual_SetOpacityMaskBrushLookup_Stub(
   7307     IRpcStubBuffer* This,
   7308     IRpcChannelBuffer* pRpcChannelBuffer,
   7309     PRPC_MESSAGE pRpcMessage,
   7310     DWORD* pdwStubPhase);
   7311 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetName_Proxy(
   7312     IXpsOMVisual* This,
   7313     LPWSTR *name);
   7314 void __RPC_STUB IXpsOMVisual_GetName_Stub(
   7315     IRpcStubBuffer* This,
   7316     IRpcChannelBuffer* pRpcChannelBuffer,
   7317     PRPC_MESSAGE pRpcMessage,
   7318     DWORD* pdwStubPhase);
   7319 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetName_Proxy(
   7320     IXpsOMVisual* This,
   7321     LPCWSTR name);
   7322 void __RPC_STUB IXpsOMVisual_SetName_Stub(
   7323     IRpcStubBuffer* This,
   7324     IRpcChannelBuffer* pRpcChannelBuffer,
   7325     PRPC_MESSAGE pRpcMessage,
   7326     DWORD* pdwStubPhase);
   7327 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetIsHyperlinkTarget_Proxy(
   7328     IXpsOMVisual* This,
   7329     WINBOOL *isHyperlink);
   7330 void __RPC_STUB IXpsOMVisual_GetIsHyperlinkTarget_Stub(
   7331     IRpcStubBuffer* This,
   7332     IRpcChannelBuffer* pRpcChannelBuffer,
   7333     PRPC_MESSAGE pRpcMessage,
   7334     DWORD* pdwStubPhase);
   7335 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetIsHyperlinkTarget_Proxy(
   7336     IXpsOMVisual* This,
   7337     WINBOOL isHyperlink);
   7338 void __RPC_STUB IXpsOMVisual_SetIsHyperlinkTarget_Stub(
   7339     IRpcStubBuffer* This,
   7340     IRpcChannelBuffer* pRpcChannelBuffer,
   7341     PRPC_MESSAGE pRpcMessage,
   7342     DWORD* pdwStubPhase);
   7343 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetHyperlinkNavigateUri_Proxy(
   7344     IXpsOMVisual* This,
   7345     IUri **hyperlinkUri);
   7346 void __RPC_STUB IXpsOMVisual_GetHyperlinkNavigateUri_Stub(
   7347     IRpcStubBuffer* This,
   7348     IRpcChannelBuffer* pRpcChannelBuffer,
   7349     PRPC_MESSAGE pRpcMessage,
   7350     DWORD* pdwStubPhase);
   7351 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetHyperlinkNavigateUri_Proxy(
   7352     IXpsOMVisual* This,
   7353     IUri *hyperlinkUri);
   7354 void __RPC_STUB IXpsOMVisual_SetHyperlinkNavigateUri_Stub(
   7355     IRpcStubBuffer* This,
   7356     IRpcChannelBuffer* pRpcChannelBuffer,
   7357     PRPC_MESSAGE pRpcMessage,
   7358     DWORD* pdwStubPhase);
   7359 HRESULT STDMETHODCALLTYPE IXpsOMVisual_GetLanguage_Proxy(
   7360     IXpsOMVisual* This,
   7361     LPWSTR *language);
   7362 void __RPC_STUB IXpsOMVisual_GetLanguage_Stub(
   7363     IRpcStubBuffer* This,
   7364     IRpcChannelBuffer* pRpcChannelBuffer,
   7365     PRPC_MESSAGE pRpcMessage,
   7366     DWORD* pdwStubPhase);
   7367 HRESULT STDMETHODCALLTYPE IXpsOMVisual_SetLanguage_Proxy(
   7368     IXpsOMVisual* This,
   7369     LPCWSTR language);
   7370 void __RPC_STUB IXpsOMVisual_SetLanguage_Stub(
   7371     IRpcStubBuffer* This,
   7372     IRpcChannelBuffer* pRpcChannelBuffer,
   7373     PRPC_MESSAGE pRpcMessage,
   7374     DWORD* pdwStubPhase);
   7375 
   7376 #endif  /* __IXpsOMVisual_INTERFACE_DEFINED__ */
   7377 
   7378 /*****************************************************************************
   7379  * IXpsOMBrush interface
   7380  */
   7381 #ifndef __IXpsOMBrush_INTERFACE_DEFINED__
   7382 #define __IXpsOMBrush_INTERFACE_DEFINED__
   7383 
   7384 DEFINE_GUID(IID_IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b);
   7385 #if defined(__cplusplus) && !defined(CINTERFACE)
   7386 MIDL_INTERFACE("56a3f80c-ea4c-4187-a57b-a2a473b2b42b")
   7387 IXpsOMBrush : public IXpsOMShareable
   7388 {
   7389     virtual HRESULT STDMETHODCALLTYPE GetOpacity(
   7390         FLOAT *opacity) = 0;
   7391 
   7392     virtual HRESULT STDMETHODCALLTYPE SetOpacity(
   7393         FLOAT opacity) = 0;
   7394 
   7395 };
   7396 #ifdef __CRT_UUID_DECL
   7397 __CRT_UUID_DECL(IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b)
   7398 #endif
   7399 #else
   7400 typedef struct IXpsOMBrushVtbl {
   7401     BEGIN_INTERFACE
   7402 
   7403     /*** IUnknown methods ***/
   7404     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7405         IXpsOMBrush* This,
   7406         REFIID riid,
   7407         void **ppvObject);
   7408 
   7409     ULONG (STDMETHODCALLTYPE *AddRef)(
   7410         IXpsOMBrush* This);
   7411 
   7412     ULONG (STDMETHODCALLTYPE *Release)(
   7413         IXpsOMBrush* This);
   7414 
   7415     /*** IXpsOMShareable methods ***/
   7416     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7417         IXpsOMBrush* This,
   7418         IUnknown **owner);
   7419 
   7420     HRESULT (STDMETHODCALLTYPE *GetType)(
   7421         IXpsOMBrush* This,
   7422         XPS_OBJECT_TYPE *type);
   7423 
   7424     /*** IXpsOMBrush methods ***/
   7425     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   7426         IXpsOMBrush* This,
   7427         FLOAT *opacity);
   7428 
   7429     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   7430         IXpsOMBrush* This,
   7431         FLOAT opacity);
   7432 
   7433     END_INTERFACE
   7434 } IXpsOMBrushVtbl;
   7435 interface IXpsOMBrush {
   7436     CONST_VTBL IXpsOMBrushVtbl* lpVtbl;
   7437 };
   7438 
   7439 #ifdef COBJMACROS
   7440 #ifndef WIDL_C_INLINE_WRAPPERS
   7441 /*** IUnknown methods ***/
   7442 #define IXpsOMBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7443 #define IXpsOMBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   7444 #define IXpsOMBrush_Release(This) (This)->lpVtbl->Release(This)
   7445 /*** IXpsOMShareable methods ***/
   7446 #define IXpsOMBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7447 #define IXpsOMBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7448 /*** IXpsOMBrush methods ***/
   7449 #define IXpsOMBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   7450 #define IXpsOMBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   7451 #else
   7452 /*** IUnknown methods ***/
   7453 static FORCEINLINE HRESULT IXpsOMBrush_QueryInterface(IXpsOMBrush* This,REFIID riid,void **ppvObject) {
   7454     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7455 }
   7456 static FORCEINLINE ULONG IXpsOMBrush_AddRef(IXpsOMBrush* This) {
   7457     return This->lpVtbl->AddRef(This);
   7458 }
   7459 static FORCEINLINE ULONG IXpsOMBrush_Release(IXpsOMBrush* This) {
   7460     return This->lpVtbl->Release(This);
   7461 }
   7462 /*** IXpsOMShareable methods ***/
   7463 static FORCEINLINE HRESULT IXpsOMBrush_GetOwner(IXpsOMBrush* This,IUnknown **owner) {
   7464     return This->lpVtbl->GetOwner(This,owner);
   7465 }
   7466 static FORCEINLINE HRESULT IXpsOMBrush_GetType(IXpsOMBrush* This,XPS_OBJECT_TYPE *type) {
   7467     return This->lpVtbl->GetType(This,type);
   7468 }
   7469 /*** IXpsOMBrush methods ***/
   7470 static FORCEINLINE HRESULT IXpsOMBrush_GetOpacity(IXpsOMBrush* This,FLOAT *opacity) {
   7471     return This->lpVtbl->GetOpacity(This,opacity);
   7472 }
   7473 static FORCEINLINE HRESULT IXpsOMBrush_SetOpacity(IXpsOMBrush* This,FLOAT opacity) {
   7474     return This->lpVtbl->SetOpacity(This,opacity);
   7475 }
   7476 #endif
   7477 #endif
   7478 
   7479 #endif
   7480 
   7481 HRESULT STDMETHODCALLTYPE IXpsOMBrush_GetOpacity_Proxy(
   7482     IXpsOMBrush* This,
   7483     FLOAT *opacity);
   7484 void __RPC_STUB IXpsOMBrush_GetOpacity_Stub(
   7485     IRpcStubBuffer* This,
   7486     IRpcChannelBuffer* pRpcChannelBuffer,
   7487     PRPC_MESSAGE pRpcMessage,
   7488     DWORD* pdwStubPhase);
   7489 HRESULT STDMETHODCALLTYPE IXpsOMBrush_SetOpacity_Proxy(
   7490     IXpsOMBrush* This,
   7491     FLOAT opacity);
   7492 void __RPC_STUB IXpsOMBrush_SetOpacity_Stub(
   7493     IRpcStubBuffer* This,
   7494     IRpcChannelBuffer* pRpcChannelBuffer,
   7495     PRPC_MESSAGE pRpcMessage,
   7496     DWORD* pdwStubPhase);
   7497 
   7498 #endif  /* __IXpsOMBrush_INTERFACE_DEFINED__ */
   7499 
   7500 /*****************************************************************************
   7501  * IXpsOMMatrixTransform interface
   7502  */
   7503 #ifndef __IXpsOMMatrixTransform_INTERFACE_DEFINED__
   7504 #define __IXpsOMMatrixTransform_INTERFACE_DEFINED__
   7505 
   7506 DEFINE_GUID(IID_IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46);
   7507 #if defined(__cplusplus) && !defined(CINTERFACE)
   7508 MIDL_INTERFACE("b77330ff-bb37-4501-a93e-f1b1e50bfc46")
   7509 IXpsOMMatrixTransform : public IXpsOMShareable
   7510 {
   7511     virtual HRESULT STDMETHODCALLTYPE GetMatrix(
   7512         XPS_MATRIX *matrix) = 0;
   7513 
   7514     virtual HRESULT STDMETHODCALLTYPE SetMatrix(
   7515         const XPS_MATRIX *matrix) = 0;
   7516 
   7517     virtual HRESULT STDMETHODCALLTYPE Clone(
   7518         IXpsOMMatrixTransform **matrixTransform) = 0;
   7519 
   7520 };
   7521 #ifdef __CRT_UUID_DECL
   7522 __CRT_UUID_DECL(IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46)
   7523 #endif
   7524 #else
   7525 typedef struct IXpsOMMatrixTransformVtbl {
   7526     BEGIN_INTERFACE
   7527 
   7528     /*** IUnknown methods ***/
   7529     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7530         IXpsOMMatrixTransform* This,
   7531         REFIID riid,
   7532         void **ppvObject);
   7533 
   7534     ULONG (STDMETHODCALLTYPE *AddRef)(
   7535         IXpsOMMatrixTransform* This);
   7536 
   7537     ULONG (STDMETHODCALLTYPE *Release)(
   7538         IXpsOMMatrixTransform* This);
   7539 
   7540     /*** IXpsOMShareable methods ***/
   7541     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7542         IXpsOMMatrixTransform* This,
   7543         IUnknown **owner);
   7544 
   7545     HRESULT (STDMETHODCALLTYPE *GetType)(
   7546         IXpsOMMatrixTransform* This,
   7547         XPS_OBJECT_TYPE *type);
   7548 
   7549     /*** IXpsOMMatrixTransform methods ***/
   7550     HRESULT (STDMETHODCALLTYPE *GetMatrix)(
   7551         IXpsOMMatrixTransform* This,
   7552         XPS_MATRIX *matrix);
   7553 
   7554     HRESULT (STDMETHODCALLTYPE *SetMatrix)(
   7555         IXpsOMMatrixTransform* This,
   7556         const XPS_MATRIX *matrix);
   7557 
   7558     HRESULT (STDMETHODCALLTYPE *Clone)(
   7559         IXpsOMMatrixTransform* This,
   7560         IXpsOMMatrixTransform **matrixTransform);
   7561 
   7562     END_INTERFACE
   7563 } IXpsOMMatrixTransformVtbl;
   7564 interface IXpsOMMatrixTransform {
   7565     CONST_VTBL IXpsOMMatrixTransformVtbl* lpVtbl;
   7566 };
   7567 
   7568 #ifdef COBJMACROS
   7569 #ifndef WIDL_C_INLINE_WRAPPERS
   7570 /*** IUnknown methods ***/
   7571 #define IXpsOMMatrixTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7572 #define IXpsOMMatrixTransform_AddRef(This) (This)->lpVtbl->AddRef(This)
   7573 #define IXpsOMMatrixTransform_Release(This) (This)->lpVtbl->Release(This)
   7574 /*** IXpsOMShareable methods ***/
   7575 #define IXpsOMMatrixTransform_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7576 #define IXpsOMMatrixTransform_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7577 /*** IXpsOMMatrixTransform methods ***/
   7578 #define IXpsOMMatrixTransform_GetMatrix(This,matrix) (This)->lpVtbl->GetMatrix(This,matrix)
   7579 #define IXpsOMMatrixTransform_SetMatrix(This,matrix) (This)->lpVtbl->SetMatrix(This,matrix)
   7580 #define IXpsOMMatrixTransform_Clone(This,matrixTransform) (This)->lpVtbl->Clone(This,matrixTransform)
   7581 #else
   7582 /*** IUnknown methods ***/
   7583 static FORCEINLINE HRESULT IXpsOMMatrixTransform_QueryInterface(IXpsOMMatrixTransform* This,REFIID riid,void **ppvObject) {
   7584     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7585 }
   7586 static FORCEINLINE ULONG IXpsOMMatrixTransform_AddRef(IXpsOMMatrixTransform* This) {
   7587     return This->lpVtbl->AddRef(This);
   7588 }
   7589 static FORCEINLINE ULONG IXpsOMMatrixTransform_Release(IXpsOMMatrixTransform* This) {
   7590     return This->lpVtbl->Release(This);
   7591 }
   7592 /*** IXpsOMShareable methods ***/
   7593 static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetOwner(IXpsOMMatrixTransform* This,IUnknown **owner) {
   7594     return This->lpVtbl->GetOwner(This,owner);
   7595 }
   7596 static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetType(IXpsOMMatrixTransform* This,XPS_OBJECT_TYPE *type) {
   7597     return This->lpVtbl->GetType(This,type);
   7598 }
   7599 /*** IXpsOMMatrixTransform methods ***/
   7600 static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetMatrix(IXpsOMMatrixTransform* This,XPS_MATRIX *matrix) {
   7601     return This->lpVtbl->GetMatrix(This,matrix);
   7602 }
   7603 static FORCEINLINE HRESULT IXpsOMMatrixTransform_SetMatrix(IXpsOMMatrixTransform* This,const XPS_MATRIX *matrix) {
   7604     return This->lpVtbl->SetMatrix(This,matrix);
   7605 }
   7606 static FORCEINLINE HRESULT IXpsOMMatrixTransform_Clone(IXpsOMMatrixTransform* This,IXpsOMMatrixTransform **matrixTransform) {
   7607     return This->lpVtbl->Clone(This,matrixTransform);
   7608 }
   7609 #endif
   7610 #endif
   7611 
   7612 #endif
   7613 
   7614 HRESULT STDMETHODCALLTYPE IXpsOMMatrixTransform_GetMatrix_Proxy(
   7615     IXpsOMMatrixTransform* This,
   7616     XPS_MATRIX *matrix);
   7617 void __RPC_STUB IXpsOMMatrixTransform_GetMatrix_Stub(
   7618     IRpcStubBuffer* This,
   7619     IRpcChannelBuffer* pRpcChannelBuffer,
   7620     PRPC_MESSAGE pRpcMessage,
   7621     DWORD* pdwStubPhase);
   7622 HRESULT STDMETHODCALLTYPE IXpsOMMatrixTransform_SetMatrix_Proxy(
   7623     IXpsOMMatrixTransform* This,
   7624     const XPS_MATRIX *matrix);
   7625 void __RPC_STUB IXpsOMMatrixTransform_SetMatrix_Stub(
   7626     IRpcStubBuffer* This,
   7627     IRpcChannelBuffer* pRpcChannelBuffer,
   7628     PRPC_MESSAGE pRpcMessage,
   7629     DWORD* pdwStubPhase);
   7630 HRESULT STDMETHODCALLTYPE IXpsOMMatrixTransform_Clone_Proxy(
   7631     IXpsOMMatrixTransform* This,
   7632     IXpsOMMatrixTransform **matrixTransform);
   7633 void __RPC_STUB IXpsOMMatrixTransform_Clone_Stub(
   7634     IRpcStubBuffer* This,
   7635     IRpcChannelBuffer* pRpcChannelBuffer,
   7636     PRPC_MESSAGE pRpcMessage,
   7637     DWORD* pdwStubPhase);
   7638 
   7639 #endif  /* __IXpsOMMatrixTransform_INTERFACE_DEFINED__ */
   7640 
   7641 /*****************************************************************************
   7642  * IXpsOMGeometry interface
   7643  */
   7644 #ifndef __IXpsOMGeometry_INTERFACE_DEFINED__
   7645 #define __IXpsOMGeometry_INTERFACE_DEFINED__
   7646 
   7647 DEFINE_GUID(IID_IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72);
   7648 #if defined(__cplusplus) && !defined(CINTERFACE)
   7649 MIDL_INTERFACE("64fcf3d7-4d58-44ba-ad73-a13af6492072")
   7650 IXpsOMGeometry : public IXpsOMShareable
   7651 {
   7652     virtual HRESULT STDMETHODCALLTYPE GetFigures(
   7653         IXpsOMGeometryFigureCollection **figures) = 0;
   7654 
   7655     virtual HRESULT STDMETHODCALLTYPE GetFillRule(
   7656         XPS_FILL_RULE *fillRule) = 0;
   7657 
   7658     virtual HRESULT STDMETHODCALLTYPE SetFillRule(
   7659         XPS_FILL_RULE fillRule) = 0;
   7660 
   7661     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   7662         IXpsOMMatrixTransform **transform) = 0;
   7663 
   7664     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   7665         IXpsOMMatrixTransform **transform) = 0;
   7666 
   7667     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   7668         IXpsOMMatrixTransform *transform) = 0;
   7669 
   7670     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   7671         LPWSTR *lookup) = 0;
   7672 
   7673     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   7674         LPCWSTR lookup) = 0;
   7675 
   7676     virtual HRESULT STDMETHODCALLTYPE Clone(
   7677         IXpsOMGeometry **geometry) = 0;
   7678 
   7679 };
   7680 #ifdef __CRT_UUID_DECL
   7681 __CRT_UUID_DECL(IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72)
   7682 #endif
   7683 #else
   7684 typedef struct IXpsOMGeometryVtbl {
   7685     BEGIN_INTERFACE
   7686 
   7687     /*** IUnknown methods ***/
   7688     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7689         IXpsOMGeometry* This,
   7690         REFIID riid,
   7691         void **ppvObject);
   7692 
   7693     ULONG (STDMETHODCALLTYPE *AddRef)(
   7694         IXpsOMGeometry* This);
   7695 
   7696     ULONG (STDMETHODCALLTYPE *Release)(
   7697         IXpsOMGeometry* This);
   7698 
   7699     /*** IXpsOMShareable methods ***/
   7700     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   7701         IXpsOMGeometry* This,
   7702         IUnknown **owner);
   7703 
   7704     HRESULT (STDMETHODCALLTYPE *GetType)(
   7705         IXpsOMGeometry* This,
   7706         XPS_OBJECT_TYPE *type);
   7707 
   7708     /*** IXpsOMGeometry methods ***/
   7709     HRESULT (STDMETHODCALLTYPE *GetFigures)(
   7710         IXpsOMGeometry* This,
   7711         IXpsOMGeometryFigureCollection **figures);
   7712 
   7713     HRESULT (STDMETHODCALLTYPE *GetFillRule)(
   7714         IXpsOMGeometry* This,
   7715         XPS_FILL_RULE *fillRule);
   7716 
   7717     HRESULT (STDMETHODCALLTYPE *SetFillRule)(
   7718         IXpsOMGeometry* This,
   7719         XPS_FILL_RULE fillRule);
   7720 
   7721     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   7722         IXpsOMGeometry* This,
   7723         IXpsOMMatrixTransform **transform);
   7724 
   7725     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   7726         IXpsOMGeometry* This,
   7727         IXpsOMMatrixTransform **transform);
   7728 
   7729     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   7730         IXpsOMGeometry* This,
   7731         IXpsOMMatrixTransform *transform);
   7732 
   7733     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   7734         IXpsOMGeometry* This,
   7735         LPWSTR *lookup);
   7736 
   7737     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   7738         IXpsOMGeometry* This,
   7739         LPCWSTR lookup);
   7740 
   7741     HRESULT (STDMETHODCALLTYPE *Clone)(
   7742         IXpsOMGeometry* This,
   7743         IXpsOMGeometry **geometry);
   7744 
   7745     END_INTERFACE
   7746 } IXpsOMGeometryVtbl;
   7747 interface IXpsOMGeometry {
   7748     CONST_VTBL IXpsOMGeometryVtbl* lpVtbl;
   7749 };
   7750 
   7751 #ifdef COBJMACROS
   7752 #ifndef WIDL_C_INLINE_WRAPPERS
   7753 /*** IUnknown methods ***/
   7754 #define IXpsOMGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7755 #define IXpsOMGeometry_AddRef(This) (This)->lpVtbl->AddRef(This)
   7756 #define IXpsOMGeometry_Release(This) (This)->lpVtbl->Release(This)
   7757 /*** IXpsOMShareable methods ***/
   7758 #define IXpsOMGeometry_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   7759 #define IXpsOMGeometry_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   7760 /*** IXpsOMGeometry methods ***/
   7761 #define IXpsOMGeometry_GetFigures(This,figures) (This)->lpVtbl->GetFigures(This,figures)
   7762 #define IXpsOMGeometry_GetFillRule(This,fillRule) (This)->lpVtbl->GetFillRule(This,fillRule)
   7763 #define IXpsOMGeometry_SetFillRule(This,fillRule) (This)->lpVtbl->SetFillRule(This,fillRule)
   7764 #define IXpsOMGeometry_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   7765 #define IXpsOMGeometry_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   7766 #define IXpsOMGeometry_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   7767 #define IXpsOMGeometry_GetTransformLookup(This,lookup) (This)->lpVtbl->GetTransformLookup(This,lookup)
   7768 #define IXpsOMGeometry_SetTransformLookup(This,lookup) (This)->lpVtbl->SetTransformLookup(This,lookup)
   7769 #define IXpsOMGeometry_Clone(This,geometry) (This)->lpVtbl->Clone(This,geometry)
   7770 #else
   7771 /*** IUnknown methods ***/
   7772 static FORCEINLINE HRESULT IXpsOMGeometry_QueryInterface(IXpsOMGeometry* This,REFIID riid,void **ppvObject) {
   7773     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7774 }
   7775 static FORCEINLINE ULONG IXpsOMGeometry_AddRef(IXpsOMGeometry* This) {
   7776     return This->lpVtbl->AddRef(This);
   7777 }
   7778 static FORCEINLINE ULONG IXpsOMGeometry_Release(IXpsOMGeometry* This) {
   7779     return This->lpVtbl->Release(This);
   7780 }
   7781 /*** IXpsOMShareable methods ***/
   7782 static FORCEINLINE HRESULT IXpsOMGeometry_GetOwner(IXpsOMGeometry* This,IUnknown **owner) {
   7783     return This->lpVtbl->GetOwner(This,owner);
   7784 }
   7785 static FORCEINLINE HRESULT IXpsOMGeometry_GetType(IXpsOMGeometry* This,XPS_OBJECT_TYPE *type) {
   7786     return This->lpVtbl->GetType(This,type);
   7787 }
   7788 /*** IXpsOMGeometry methods ***/
   7789 static FORCEINLINE HRESULT IXpsOMGeometry_GetFigures(IXpsOMGeometry* This,IXpsOMGeometryFigureCollection **figures) {
   7790     return This->lpVtbl->GetFigures(This,figures);
   7791 }
   7792 static FORCEINLINE HRESULT IXpsOMGeometry_GetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE *fillRule) {
   7793     return This->lpVtbl->GetFillRule(This,fillRule);
   7794 }
   7795 static FORCEINLINE HRESULT IXpsOMGeometry_SetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE fillRule) {
   7796     return This->lpVtbl->SetFillRule(This,fillRule);
   7797 }
   7798 static FORCEINLINE HRESULT IXpsOMGeometry_GetTransform(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
   7799     return This->lpVtbl->GetTransform(This,transform);
   7800 }
   7801 static FORCEINLINE HRESULT IXpsOMGeometry_GetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
   7802     return This->lpVtbl->GetTransformLocal(This,transform);
   7803 }
   7804 static FORCEINLINE HRESULT IXpsOMGeometry_SetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform *transform) {
   7805     return This->lpVtbl->SetTransformLocal(This,transform);
   7806 }
   7807 static FORCEINLINE HRESULT IXpsOMGeometry_GetTransformLookup(IXpsOMGeometry* This,LPWSTR *lookup) {
   7808     return This->lpVtbl->GetTransformLookup(This,lookup);
   7809 }
   7810 static FORCEINLINE HRESULT IXpsOMGeometry_SetTransformLookup(IXpsOMGeometry* This,LPCWSTR lookup) {
   7811     return This->lpVtbl->SetTransformLookup(This,lookup);
   7812 }
   7813 static FORCEINLINE HRESULT IXpsOMGeometry_Clone(IXpsOMGeometry* This,IXpsOMGeometry **geometry) {
   7814     return This->lpVtbl->Clone(This,geometry);
   7815 }
   7816 #endif
   7817 #endif
   7818 
   7819 #endif
   7820 
   7821 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_GetFigures_Proxy(
   7822     IXpsOMGeometry* This,
   7823     IXpsOMGeometryFigureCollection **figures);
   7824 void __RPC_STUB IXpsOMGeometry_GetFigures_Stub(
   7825     IRpcStubBuffer* This,
   7826     IRpcChannelBuffer* pRpcChannelBuffer,
   7827     PRPC_MESSAGE pRpcMessage,
   7828     DWORD* pdwStubPhase);
   7829 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_GetFillRule_Proxy(
   7830     IXpsOMGeometry* This,
   7831     XPS_FILL_RULE *fillRule);
   7832 void __RPC_STUB IXpsOMGeometry_GetFillRule_Stub(
   7833     IRpcStubBuffer* This,
   7834     IRpcChannelBuffer* pRpcChannelBuffer,
   7835     PRPC_MESSAGE pRpcMessage,
   7836     DWORD* pdwStubPhase);
   7837 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_SetFillRule_Proxy(
   7838     IXpsOMGeometry* This,
   7839     XPS_FILL_RULE fillRule);
   7840 void __RPC_STUB IXpsOMGeometry_SetFillRule_Stub(
   7841     IRpcStubBuffer* This,
   7842     IRpcChannelBuffer* pRpcChannelBuffer,
   7843     PRPC_MESSAGE pRpcMessage,
   7844     DWORD* pdwStubPhase);
   7845 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_GetTransform_Proxy(
   7846     IXpsOMGeometry* This,
   7847     IXpsOMMatrixTransform **transform);
   7848 void __RPC_STUB IXpsOMGeometry_GetTransform_Stub(
   7849     IRpcStubBuffer* This,
   7850     IRpcChannelBuffer* pRpcChannelBuffer,
   7851     PRPC_MESSAGE pRpcMessage,
   7852     DWORD* pdwStubPhase);
   7853 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_GetTransformLocal_Proxy(
   7854     IXpsOMGeometry* This,
   7855     IXpsOMMatrixTransform **transform);
   7856 void __RPC_STUB IXpsOMGeometry_GetTransformLocal_Stub(
   7857     IRpcStubBuffer* This,
   7858     IRpcChannelBuffer* pRpcChannelBuffer,
   7859     PRPC_MESSAGE pRpcMessage,
   7860     DWORD* pdwStubPhase);
   7861 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_SetTransformLocal_Proxy(
   7862     IXpsOMGeometry* This,
   7863     IXpsOMMatrixTransform *transform);
   7864 void __RPC_STUB IXpsOMGeometry_SetTransformLocal_Stub(
   7865     IRpcStubBuffer* This,
   7866     IRpcChannelBuffer* pRpcChannelBuffer,
   7867     PRPC_MESSAGE pRpcMessage,
   7868     DWORD* pdwStubPhase);
   7869 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_GetTransformLookup_Proxy(
   7870     IXpsOMGeometry* This,
   7871     LPWSTR *lookup);
   7872 void __RPC_STUB IXpsOMGeometry_GetTransformLookup_Stub(
   7873     IRpcStubBuffer* This,
   7874     IRpcChannelBuffer* pRpcChannelBuffer,
   7875     PRPC_MESSAGE pRpcMessage,
   7876     DWORD* pdwStubPhase);
   7877 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_SetTransformLookup_Proxy(
   7878     IXpsOMGeometry* This,
   7879     LPCWSTR lookup);
   7880 void __RPC_STUB IXpsOMGeometry_SetTransformLookup_Stub(
   7881     IRpcStubBuffer* This,
   7882     IRpcChannelBuffer* pRpcChannelBuffer,
   7883     PRPC_MESSAGE pRpcMessage,
   7884     DWORD* pdwStubPhase);
   7885 HRESULT STDMETHODCALLTYPE IXpsOMGeometry_Clone_Proxy(
   7886     IXpsOMGeometry* This,
   7887     IXpsOMGeometry **geometry);
   7888 void __RPC_STUB IXpsOMGeometry_Clone_Stub(
   7889     IRpcStubBuffer* This,
   7890     IRpcChannelBuffer* pRpcChannelBuffer,
   7891     PRPC_MESSAGE pRpcMessage,
   7892     DWORD* pdwStubPhase);
   7893 
   7894 #endif  /* __IXpsOMGeometry_INTERFACE_DEFINED__ */
   7895 
   7896 /*****************************************************************************
   7897  * IXpsOMGlyphs interface
   7898  */
   7899 #ifndef __IXpsOMGlyphs_INTERFACE_DEFINED__
   7900 #define __IXpsOMGlyphs_INTERFACE_DEFINED__
   7901 
   7902 DEFINE_GUID(IID_IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2);
   7903 #if defined(__cplusplus) && !defined(CINTERFACE)
   7904 MIDL_INTERFACE("819b3199-0a5a-4b64-bec7-a9e17e780de2")
   7905 IXpsOMGlyphs : public IXpsOMVisual
   7906 {
   7907     virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
   7908         LPWSTR *unicodeString) = 0;
   7909 
   7910     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
   7911         UINT32 *indexCount) = 0;
   7912 
   7913     virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
   7914         UINT32 *indexCount,
   7915         XPS_GLYPH_INDEX *glyphIndices) = 0;
   7916 
   7917     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
   7918         UINT32 *glyphMappingCount) = 0;
   7919 
   7920     virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
   7921         UINT32 *glyphMappingCount,
   7922         XPS_GLYPH_MAPPING *glyphMappings) = 0;
   7923 
   7924     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
   7925         UINT32 *prohibitedCaretStopCount) = 0;
   7926 
   7927     virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
   7928         UINT32 *prohibitedCaretStopCount,
   7929         UINT32 *prohibitedCaretStops) = 0;
   7930 
   7931     virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
   7932         UINT32 *bidiLevel) = 0;
   7933 
   7934     virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
   7935         WINBOOL *isSideways) = 0;
   7936 
   7937     virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
   7938         LPWSTR *deviceFontName) = 0;
   7939 
   7940     virtual HRESULT STDMETHODCALLTYPE GetStyleSimulations(
   7941         XPS_STYLE_SIMULATION *styleSimulations) = 0;
   7942 
   7943     virtual HRESULT STDMETHODCALLTYPE SetStyleSimulations(
   7944         XPS_STYLE_SIMULATION styleSimulations) = 0;
   7945 
   7946     virtual HRESULT STDMETHODCALLTYPE GetOrigin(
   7947         XPS_POINT *origin) = 0;
   7948 
   7949     virtual HRESULT STDMETHODCALLTYPE SetOrigin(
   7950         const XPS_POINT *origin) = 0;
   7951 
   7952     virtual HRESULT STDMETHODCALLTYPE GetFontRenderingEmSize(
   7953         FLOAT *fontRenderingEmSize) = 0;
   7954 
   7955     virtual HRESULT STDMETHODCALLTYPE SetFontRenderingEmSize(
   7956         FLOAT fontRenderingEmSize) = 0;
   7957 
   7958     virtual HRESULT STDMETHODCALLTYPE GetFontResource(
   7959         IXpsOMFontResource **fontResource) = 0;
   7960 
   7961     virtual HRESULT STDMETHODCALLTYPE SetFontResource(
   7962         IXpsOMFontResource *fontResource) = 0;
   7963 
   7964     virtual HRESULT STDMETHODCALLTYPE GetFontFaceIndex(
   7965         SHORT *fontFaceIndex) = 0;
   7966 
   7967     virtual HRESULT STDMETHODCALLTYPE SetFontFaceIndex(
   7968         SHORT fontFaceIndex) = 0;
   7969 
   7970     virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
   7971         IXpsOMBrush **fillBrush) = 0;
   7972 
   7973     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
   7974         IXpsOMBrush **fillBrush) = 0;
   7975 
   7976     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
   7977         IXpsOMBrush *fillBrush) = 0;
   7978 
   7979     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
   7980         LPWSTR *key) = 0;
   7981 
   7982     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
   7983         LPCWSTR key) = 0;
   7984 
   7985     virtual HRESULT STDMETHODCALLTYPE GetGlyphsEditor(
   7986         IXpsOMGlyphsEditor **editor) = 0;
   7987 
   7988     virtual HRESULT STDMETHODCALLTYPE Clone(
   7989         IXpsOMGlyphs **glyphs) = 0;
   7990 
   7991 };
   7992 #ifdef __CRT_UUID_DECL
   7993 __CRT_UUID_DECL(IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2)
   7994 #endif
   7995 #else
   7996 typedef struct IXpsOMGlyphsVtbl {
   7997     BEGIN_INTERFACE
   7998 
   7999     /*** IUnknown methods ***/
   8000     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8001         IXpsOMGlyphs* This,
   8002         REFIID riid,
   8003         void **ppvObject);
   8004 
   8005     ULONG (STDMETHODCALLTYPE *AddRef)(
   8006         IXpsOMGlyphs* This);
   8007 
   8008     ULONG (STDMETHODCALLTYPE *Release)(
   8009         IXpsOMGlyphs* This);
   8010 
   8011     /*** IXpsOMShareable methods ***/
   8012     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8013         IXpsOMGlyphs* This,
   8014         IUnknown **owner);
   8015 
   8016     HRESULT (STDMETHODCALLTYPE *GetType)(
   8017         IXpsOMGlyphs* This,
   8018         XPS_OBJECT_TYPE *type);
   8019 
   8020     /*** IXpsOMVisual methods ***/
   8021     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8022         IXpsOMGlyphs* This,
   8023         IXpsOMMatrixTransform **matrixTransform);
   8024 
   8025     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8026         IXpsOMGlyphs* This,
   8027         IXpsOMMatrixTransform **matrixTransform);
   8028 
   8029     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8030         IXpsOMGlyphs* This,
   8031         IXpsOMMatrixTransform *matrixTransform);
   8032 
   8033     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8034         IXpsOMGlyphs* This,
   8035         LPWSTR *key);
   8036 
   8037     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8038         IXpsOMGlyphs* This,
   8039         LPCWSTR key);
   8040 
   8041     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   8042         IXpsOMGlyphs* This,
   8043         IXpsOMGeometry **clipGeometry);
   8044 
   8045     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   8046         IXpsOMGlyphs* This,
   8047         IXpsOMGeometry **clipGeometry);
   8048 
   8049     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   8050         IXpsOMGlyphs* This,
   8051         IXpsOMGeometry *clipGeometry);
   8052 
   8053     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   8054         IXpsOMGlyphs* This,
   8055         LPWSTR *key);
   8056 
   8057     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   8058         IXpsOMGlyphs* This,
   8059         LPCWSTR key);
   8060 
   8061     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8062         IXpsOMGlyphs* This,
   8063         FLOAT *opacity);
   8064 
   8065     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8066         IXpsOMGlyphs* This,
   8067         FLOAT opacity);
   8068 
   8069     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   8070         IXpsOMGlyphs* This,
   8071         IXpsOMBrush **opacityMaskBrush);
   8072 
   8073     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   8074         IXpsOMGlyphs* This,
   8075         IXpsOMBrush **opacityMaskBrush);
   8076 
   8077     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   8078         IXpsOMGlyphs* This,
   8079         IXpsOMBrush *opacityMaskBrush);
   8080 
   8081     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   8082         IXpsOMGlyphs* This,
   8083         LPWSTR *key);
   8084 
   8085     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   8086         IXpsOMGlyphs* This,
   8087         LPCWSTR key);
   8088 
   8089     HRESULT (STDMETHODCALLTYPE *GetName)(
   8090         IXpsOMGlyphs* This,
   8091         LPWSTR *name);
   8092 
   8093     HRESULT (STDMETHODCALLTYPE *SetName)(
   8094         IXpsOMGlyphs* This,
   8095         LPCWSTR name);
   8096 
   8097     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   8098         IXpsOMGlyphs* This,
   8099         WINBOOL *isHyperlink);
   8100 
   8101     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   8102         IXpsOMGlyphs* This,
   8103         WINBOOL isHyperlink);
   8104 
   8105     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   8106         IXpsOMGlyphs* This,
   8107         IUri **hyperlinkUri);
   8108 
   8109     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   8110         IXpsOMGlyphs* This,
   8111         IUri *hyperlinkUri);
   8112 
   8113     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   8114         IXpsOMGlyphs* This,
   8115         LPWSTR *language);
   8116 
   8117     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   8118         IXpsOMGlyphs* This,
   8119         LPCWSTR language);
   8120 
   8121     /*** IXpsOMGlyphs methods ***/
   8122     HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
   8123         IXpsOMGlyphs* This,
   8124         LPWSTR *unicodeString);
   8125 
   8126     HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
   8127         IXpsOMGlyphs* This,
   8128         UINT32 *indexCount);
   8129 
   8130     HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
   8131         IXpsOMGlyphs* This,
   8132         UINT32 *indexCount,
   8133         XPS_GLYPH_INDEX *glyphIndices);
   8134 
   8135     HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
   8136         IXpsOMGlyphs* This,
   8137         UINT32 *glyphMappingCount);
   8138 
   8139     HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
   8140         IXpsOMGlyphs* This,
   8141         UINT32 *glyphMappingCount,
   8142         XPS_GLYPH_MAPPING *glyphMappings);
   8143 
   8144     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
   8145         IXpsOMGlyphs* This,
   8146         UINT32 *prohibitedCaretStopCount);
   8147 
   8148     HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
   8149         IXpsOMGlyphs* This,
   8150         UINT32 *prohibitedCaretStopCount,
   8151         UINT32 *prohibitedCaretStops);
   8152 
   8153     HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
   8154         IXpsOMGlyphs* This,
   8155         UINT32 *bidiLevel);
   8156 
   8157     HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
   8158         IXpsOMGlyphs* This,
   8159         WINBOOL *isSideways);
   8160 
   8161     HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
   8162         IXpsOMGlyphs* This,
   8163         LPWSTR *deviceFontName);
   8164 
   8165     HRESULT (STDMETHODCALLTYPE *GetStyleSimulations)(
   8166         IXpsOMGlyphs* This,
   8167         XPS_STYLE_SIMULATION *styleSimulations);
   8168 
   8169     HRESULT (STDMETHODCALLTYPE *SetStyleSimulations)(
   8170         IXpsOMGlyphs* This,
   8171         XPS_STYLE_SIMULATION styleSimulations);
   8172 
   8173     HRESULT (STDMETHODCALLTYPE *GetOrigin)(
   8174         IXpsOMGlyphs* This,
   8175         XPS_POINT *origin);
   8176 
   8177     HRESULT (STDMETHODCALLTYPE *SetOrigin)(
   8178         IXpsOMGlyphs* This,
   8179         const XPS_POINT *origin);
   8180 
   8181     HRESULT (STDMETHODCALLTYPE *GetFontRenderingEmSize)(
   8182         IXpsOMGlyphs* This,
   8183         FLOAT *fontRenderingEmSize);
   8184 
   8185     HRESULT (STDMETHODCALLTYPE *SetFontRenderingEmSize)(
   8186         IXpsOMGlyphs* This,
   8187         FLOAT fontRenderingEmSize);
   8188 
   8189     HRESULT (STDMETHODCALLTYPE *GetFontResource)(
   8190         IXpsOMGlyphs* This,
   8191         IXpsOMFontResource **fontResource);
   8192 
   8193     HRESULT (STDMETHODCALLTYPE *SetFontResource)(
   8194         IXpsOMGlyphs* This,
   8195         IXpsOMFontResource *fontResource);
   8196 
   8197     HRESULT (STDMETHODCALLTYPE *GetFontFaceIndex)(
   8198         IXpsOMGlyphs* This,
   8199         SHORT *fontFaceIndex);
   8200 
   8201     HRESULT (STDMETHODCALLTYPE *SetFontFaceIndex)(
   8202         IXpsOMGlyphs* This,
   8203         SHORT fontFaceIndex);
   8204 
   8205     HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
   8206         IXpsOMGlyphs* This,
   8207         IXpsOMBrush **fillBrush);
   8208 
   8209     HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
   8210         IXpsOMGlyphs* This,
   8211         IXpsOMBrush **fillBrush);
   8212 
   8213     HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
   8214         IXpsOMGlyphs* This,
   8215         IXpsOMBrush *fillBrush);
   8216 
   8217     HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
   8218         IXpsOMGlyphs* This,
   8219         LPWSTR *key);
   8220 
   8221     HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
   8222         IXpsOMGlyphs* This,
   8223         LPCWSTR key);
   8224 
   8225     HRESULT (STDMETHODCALLTYPE *GetGlyphsEditor)(
   8226         IXpsOMGlyphs* This,
   8227         IXpsOMGlyphsEditor **editor);
   8228 
   8229     HRESULT (STDMETHODCALLTYPE *Clone)(
   8230         IXpsOMGlyphs* This,
   8231         IXpsOMGlyphs **glyphs);
   8232 
   8233     END_INTERFACE
   8234 } IXpsOMGlyphsVtbl;
   8235 interface IXpsOMGlyphs {
   8236     CONST_VTBL IXpsOMGlyphsVtbl* lpVtbl;
   8237 };
   8238 
   8239 #ifdef COBJMACROS
   8240 #ifndef WIDL_C_INLINE_WRAPPERS
   8241 /*** IUnknown methods ***/
   8242 #define IXpsOMGlyphs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   8243 #define IXpsOMGlyphs_AddRef(This) (This)->lpVtbl->AddRef(This)
   8244 #define IXpsOMGlyphs_Release(This) (This)->lpVtbl->Release(This)
   8245 /*** IXpsOMShareable methods ***/
   8246 #define IXpsOMGlyphs_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   8247 #define IXpsOMGlyphs_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   8248 /*** IXpsOMVisual methods ***/
   8249 #define IXpsOMGlyphs_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   8250 #define IXpsOMGlyphs_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   8251 #define IXpsOMGlyphs_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   8252 #define IXpsOMGlyphs_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   8253 #define IXpsOMGlyphs_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   8254 #define IXpsOMGlyphs_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   8255 #define IXpsOMGlyphs_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   8256 #define IXpsOMGlyphs_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   8257 #define IXpsOMGlyphs_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   8258 #define IXpsOMGlyphs_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   8259 #define IXpsOMGlyphs_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   8260 #define IXpsOMGlyphs_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   8261 #define IXpsOMGlyphs_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   8262 #define IXpsOMGlyphs_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   8263 #define IXpsOMGlyphs_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   8264 #define IXpsOMGlyphs_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   8265 #define IXpsOMGlyphs_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   8266 #define IXpsOMGlyphs_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   8267 #define IXpsOMGlyphs_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   8268 #define IXpsOMGlyphs_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   8269 #define IXpsOMGlyphs_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   8270 #define IXpsOMGlyphs_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   8271 #define IXpsOMGlyphs_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   8272 #define IXpsOMGlyphs_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   8273 #define IXpsOMGlyphs_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   8274 /*** IXpsOMGlyphs methods ***/
   8275 #define IXpsOMGlyphs_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
   8276 #define IXpsOMGlyphs_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
   8277 #define IXpsOMGlyphs_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
   8278 #define IXpsOMGlyphs_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
   8279 #define IXpsOMGlyphs_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
   8280 #define IXpsOMGlyphs_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
   8281 #define IXpsOMGlyphs_GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops)
   8282 #define IXpsOMGlyphs_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
   8283 #define IXpsOMGlyphs_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
   8284 #define IXpsOMGlyphs_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
   8285 #define IXpsOMGlyphs_GetStyleSimulations(This,styleSimulations) (This)->lpVtbl->GetStyleSimulations(This,styleSimulations)
   8286 #define IXpsOMGlyphs_SetStyleSimulations(This,styleSimulations) (This)->lpVtbl->SetStyleSimulations(This,styleSimulations)
   8287 #define IXpsOMGlyphs_GetOrigin(This,origin) (This)->lpVtbl->GetOrigin(This,origin)
   8288 #define IXpsOMGlyphs_SetOrigin(This,origin) (This)->lpVtbl->SetOrigin(This,origin)
   8289 #define IXpsOMGlyphs_GetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize)
   8290 #define IXpsOMGlyphs_SetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize)
   8291 #define IXpsOMGlyphs_GetFontResource(This,fontResource) (This)->lpVtbl->GetFontResource(This,fontResource)
   8292 #define IXpsOMGlyphs_SetFontResource(This,fontResource) (This)->lpVtbl->SetFontResource(This,fontResource)
   8293 #define IXpsOMGlyphs_GetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->GetFontFaceIndex(This,fontFaceIndex)
   8294 #define IXpsOMGlyphs_SetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->SetFontFaceIndex(This,fontFaceIndex)
   8295 #define IXpsOMGlyphs_GetFillBrush(This,fillBrush) (This)->lpVtbl->GetFillBrush(This,fillBrush)
   8296 #define IXpsOMGlyphs_GetFillBrushLocal(This,fillBrush) (This)->lpVtbl->GetFillBrushLocal(This,fillBrush)
   8297 #define IXpsOMGlyphs_SetFillBrushLocal(This,fillBrush) (This)->lpVtbl->SetFillBrushLocal(This,fillBrush)
   8298 #define IXpsOMGlyphs_GetFillBrushLookup(This,key) (This)->lpVtbl->GetFillBrushLookup(This,key)
   8299 #define IXpsOMGlyphs_SetFillBrushLookup(This,key) (This)->lpVtbl->SetFillBrushLookup(This,key)
   8300 #define IXpsOMGlyphs_GetGlyphsEditor(This,editor) (This)->lpVtbl->GetGlyphsEditor(This,editor)
   8301 #define IXpsOMGlyphs_Clone(This,glyphs) (This)->lpVtbl->Clone(This,glyphs)
   8302 #else
   8303 /*** IUnknown methods ***/
   8304 static FORCEINLINE HRESULT IXpsOMGlyphs_QueryInterface(IXpsOMGlyphs* This,REFIID riid,void **ppvObject) {
   8305     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   8306 }
   8307 static FORCEINLINE ULONG IXpsOMGlyphs_AddRef(IXpsOMGlyphs* This) {
   8308     return This->lpVtbl->AddRef(This);
   8309 }
   8310 static FORCEINLINE ULONG IXpsOMGlyphs_Release(IXpsOMGlyphs* This) {
   8311     return This->lpVtbl->Release(This);
   8312 }
   8313 /*** IXpsOMShareable methods ***/
   8314 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOwner(IXpsOMGlyphs* This,IUnknown **owner) {
   8315     return This->lpVtbl->GetOwner(This,owner);
   8316 }
   8317 static FORCEINLINE HRESULT IXpsOMGlyphs_GetType(IXpsOMGlyphs* This,XPS_OBJECT_TYPE *type) {
   8318     return This->lpVtbl->GetType(This,type);
   8319 }
   8320 /*** IXpsOMVisual methods ***/
   8321 static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransform(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
   8322     return This->lpVtbl->GetTransform(This,matrixTransform);
   8323 }
   8324 static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
   8325     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   8326 }
   8327 static FORCEINLINE HRESULT IXpsOMGlyphs_SetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform *matrixTransform) {
   8328     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   8329 }
   8330 static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransformLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   8331     return This->lpVtbl->GetTransformLookup(This,key);
   8332 }
   8333 static FORCEINLINE HRESULT IXpsOMGlyphs_SetTransformLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   8334     return This->lpVtbl->SetTransformLookup(This,key);
   8335 }
   8336 static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometry(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
   8337     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   8338 }
   8339 static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
   8340     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   8341 }
   8342 static FORCEINLINE HRESULT IXpsOMGlyphs_SetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry *clipGeometry) {
   8343     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   8344 }
   8345 static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometryLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   8346     return This->lpVtbl->GetClipGeometryLookup(This,key);
   8347 }
   8348 static FORCEINLINE HRESULT IXpsOMGlyphs_SetClipGeometryLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   8349     return This->lpVtbl->SetClipGeometryLookup(This,key);
   8350 }
   8351 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacity(IXpsOMGlyphs* This,FLOAT *opacity) {
   8352     return This->lpVtbl->GetOpacity(This,opacity);
   8353 }
   8354 static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacity(IXpsOMGlyphs* This,FLOAT opacity) {
   8355     return This->lpVtbl->SetOpacity(This,opacity);
   8356 }
   8357 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrush(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
   8358     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   8359 }
   8360 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
   8361     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   8362 }
   8363 static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *opacityMaskBrush) {
   8364     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   8365 }
   8366 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   8367     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   8368 }
   8369 static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   8370     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   8371 }
   8372 static FORCEINLINE HRESULT IXpsOMGlyphs_GetName(IXpsOMGlyphs* This,LPWSTR *name) {
   8373     return This->lpVtbl->GetName(This,name);
   8374 }
   8375 static FORCEINLINE HRESULT IXpsOMGlyphs_SetName(IXpsOMGlyphs* This,LPCWSTR name) {
   8376     return This->lpVtbl->SetName(This,name);
   8377 }
   8378 static FORCEINLINE HRESULT IXpsOMGlyphs_GetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL *isHyperlink) {
   8379     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   8380 }
   8381 static FORCEINLINE HRESULT IXpsOMGlyphs_SetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL isHyperlink) {
   8382     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   8383 }
   8384 static FORCEINLINE HRESULT IXpsOMGlyphs_GetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri **hyperlinkUri) {
   8385     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   8386 }
   8387 static FORCEINLINE HRESULT IXpsOMGlyphs_SetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri *hyperlinkUri) {
   8388     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   8389 }
   8390 static FORCEINLINE HRESULT IXpsOMGlyphs_GetLanguage(IXpsOMGlyphs* This,LPWSTR *language) {
   8391     return This->lpVtbl->GetLanguage(This,language);
   8392 }
   8393 static FORCEINLINE HRESULT IXpsOMGlyphs_SetLanguage(IXpsOMGlyphs* This,LPCWSTR language) {
   8394     return This->lpVtbl->SetLanguage(This,language);
   8395 }
   8396 /*** IXpsOMGlyphs methods ***/
   8397 static FORCEINLINE HRESULT IXpsOMGlyphs_GetUnicodeString(IXpsOMGlyphs* This,LPWSTR *unicodeString) {
   8398     return This->lpVtbl->GetUnicodeString(This,unicodeString);
   8399 }
   8400 static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphIndexCount(IXpsOMGlyphs* This,UINT32 *indexCount) {
   8401     return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
   8402 }
   8403 static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphIndices(IXpsOMGlyphs* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
   8404     return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
   8405 }
   8406 static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphMappingCount(IXpsOMGlyphs* This,UINT32 *glyphMappingCount) {
   8407     return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
   8408 }
   8409 static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphMappings(IXpsOMGlyphs* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
   8410     return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
   8411 }
   8412 static FORCEINLINE HRESULT IXpsOMGlyphs_GetProhibitedCaretStopCount(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount) {
   8413     return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
   8414 }
   8415 static FORCEINLINE HRESULT IXpsOMGlyphs_GetProhibitedCaretStops(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount,UINT32 *prohibitedCaretStops) {
   8416     return This->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops);
   8417 }
   8418 static FORCEINLINE HRESULT IXpsOMGlyphs_GetBidiLevel(IXpsOMGlyphs* This,UINT32 *bidiLevel) {
   8419     return This->lpVtbl->GetBidiLevel(This,bidiLevel);
   8420 }
   8421 static FORCEINLINE HRESULT IXpsOMGlyphs_GetIsSideways(IXpsOMGlyphs* This,WINBOOL *isSideways) {
   8422     return This->lpVtbl->GetIsSideways(This,isSideways);
   8423 }
   8424 static FORCEINLINE HRESULT IXpsOMGlyphs_GetDeviceFontName(IXpsOMGlyphs* This,LPWSTR *deviceFontName) {
   8425     return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
   8426 }
   8427 static FORCEINLINE HRESULT IXpsOMGlyphs_GetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION *styleSimulations) {
   8428     return This->lpVtbl->GetStyleSimulations(This,styleSimulations);
   8429 }
   8430 static FORCEINLINE HRESULT IXpsOMGlyphs_SetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION styleSimulations) {
   8431     return This->lpVtbl->SetStyleSimulations(This,styleSimulations);
   8432 }
   8433 static FORCEINLINE HRESULT IXpsOMGlyphs_GetOrigin(IXpsOMGlyphs* This,XPS_POINT *origin) {
   8434     return This->lpVtbl->GetOrigin(This,origin);
   8435 }
   8436 static FORCEINLINE HRESULT IXpsOMGlyphs_SetOrigin(IXpsOMGlyphs* This,const XPS_POINT *origin) {
   8437     return This->lpVtbl->SetOrigin(This,origin);
   8438 }
   8439 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT *fontRenderingEmSize) {
   8440     return This->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize);
   8441 }
   8442 static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT fontRenderingEmSize) {
   8443     return This->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize);
   8444 }
   8445 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource **fontResource) {
   8446     return This->lpVtbl->GetFontResource(This,fontResource);
   8447 }
   8448 static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource *fontResource) {
   8449     return This->lpVtbl->SetFontResource(This,fontResource);
   8450 }
   8451 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontFaceIndex(IXpsOMGlyphs* This,SHORT *fontFaceIndex) {
   8452     return This->lpVtbl->GetFontFaceIndex(This,fontFaceIndex);
   8453 }
   8454 static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontFaceIndex(IXpsOMGlyphs* This,SHORT fontFaceIndex) {
   8455     return This->lpVtbl->SetFontFaceIndex(This,fontFaceIndex);
   8456 }
   8457 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrush(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
   8458     return This->lpVtbl->GetFillBrush(This,fillBrush);
   8459 }
   8460 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
   8461     return This->lpVtbl->GetFillBrushLocal(This,fillBrush);
   8462 }
   8463 static FORCEINLINE HRESULT IXpsOMGlyphs_SetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *fillBrush) {
   8464     return This->lpVtbl->SetFillBrushLocal(This,fillBrush);
   8465 }
   8466 static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
   8467     return This->lpVtbl->GetFillBrushLookup(This,key);
   8468 }
   8469 static FORCEINLINE HRESULT IXpsOMGlyphs_SetFillBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
   8470     return This->lpVtbl->SetFillBrushLookup(This,key);
   8471 }
   8472 static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphsEditor(IXpsOMGlyphs* This,IXpsOMGlyphsEditor **editor) {
   8473     return This->lpVtbl->GetGlyphsEditor(This,editor);
   8474 }
   8475 static FORCEINLINE HRESULT IXpsOMGlyphs_Clone(IXpsOMGlyphs* This,IXpsOMGlyphs **glyphs) {
   8476     return This->lpVtbl->Clone(This,glyphs);
   8477 }
   8478 #endif
   8479 #endif
   8480 
   8481 #endif
   8482 
   8483 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetUnicodeString_Proxy(
   8484     IXpsOMGlyphs* This,
   8485     LPWSTR *unicodeString);
   8486 void __RPC_STUB IXpsOMGlyphs_GetUnicodeString_Stub(
   8487     IRpcStubBuffer* This,
   8488     IRpcChannelBuffer* pRpcChannelBuffer,
   8489     PRPC_MESSAGE pRpcMessage,
   8490     DWORD* pdwStubPhase);
   8491 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetGlyphIndexCount_Proxy(
   8492     IXpsOMGlyphs* This,
   8493     UINT32 *indexCount);
   8494 void __RPC_STUB IXpsOMGlyphs_GetGlyphIndexCount_Stub(
   8495     IRpcStubBuffer* This,
   8496     IRpcChannelBuffer* pRpcChannelBuffer,
   8497     PRPC_MESSAGE pRpcMessage,
   8498     DWORD* pdwStubPhase);
   8499 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetGlyphIndices_Proxy(
   8500     IXpsOMGlyphs* This,
   8501     UINT32 *indexCount,
   8502     XPS_GLYPH_INDEX *glyphIndices);
   8503 void __RPC_STUB IXpsOMGlyphs_GetGlyphIndices_Stub(
   8504     IRpcStubBuffer* This,
   8505     IRpcChannelBuffer* pRpcChannelBuffer,
   8506     PRPC_MESSAGE pRpcMessage,
   8507     DWORD* pdwStubPhase);
   8508 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetGlyphMappingCount_Proxy(
   8509     IXpsOMGlyphs* This,
   8510     UINT32 *glyphMappingCount);
   8511 void __RPC_STUB IXpsOMGlyphs_GetGlyphMappingCount_Stub(
   8512     IRpcStubBuffer* This,
   8513     IRpcChannelBuffer* pRpcChannelBuffer,
   8514     PRPC_MESSAGE pRpcMessage,
   8515     DWORD* pdwStubPhase);
   8516 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetGlyphMappings_Proxy(
   8517     IXpsOMGlyphs* This,
   8518     UINT32 *glyphMappingCount,
   8519     XPS_GLYPH_MAPPING *glyphMappings);
   8520 void __RPC_STUB IXpsOMGlyphs_GetGlyphMappings_Stub(
   8521     IRpcStubBuffer* This,
   8522     IRpcChannelBuffer* pRpcChannelBuffer,
   8523     PRPC_MESSAGE pRpcMessage,
   8524     DWORD* pdwStubPhase);
   8525 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetProhibitedCaretStopCount_Proxy(
   8526     IXpsOMGlyphs* This,
   8527     UINT32 *prohibitedCaretStopCount);
   8528 void __RPC_STUB IXpsOMGlyphs_GetProhibitedCaretStopCount_Stub(
   8529     IRpcStubBuffer* This,
   8530     IRpcChannelBuffer* pRpcChannelBuffer,
   8531     PRPC_MESSAGE pRpcMessage,
   8532     DWORD* pdwStubPhase);
   8533 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetProhibitedCaretStops_Proxy(
   8534     IXpsOMGlyphs* This,
   8535     UINT32 *prohibitedCaretStopCount,
   8536     UINT32 *prohibitedCaretStops);
   8537 void __RPC_STUB IXpsOMGlyphs_GetProhibitedCaretStops_Stub(
   8538     IRpcStubBuffer* This,
   8539     IRpcChannelBuffer* pRpcChannelBuffer,
   8540     PRPC_MESSAGE pRpcMessage,
   8541     DWORD* pdwStubPhase);
   8542 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetBidiLevel_Proxy(
   8543     IXpsOMGlyphs* This,
   8544     UINT32 *bidiLevel);
   8545 void __RPC_STUB IXpsOMGlyphs_GetBidiLevel_Stub(
   8546     IRpcStubBuffer* This,
   8547     IRpcChannelBuffer* pRpcChannelBuffer,
   8548     PRPC_MESSAGE pRpcMessage,
   8549     DWORD* pdwStubPhase);
   8550 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetIsSideways_Proxy(
   8551     IXpsOMGlyphs* This,
   8552     WINBOOL *isSideways);
   8553 void __RPC_STUB IXpsOMGlyphs_GetIsSideways_Stub(
   8554     IRpcStubBuffer* This,
   8555     IRpcChannelBuffer* pRpcChannelBuffer,
   8556     PRPC_MESSAGE pRpcMessage,
   8557     DWORD* pdwStubPhase);
   8558 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetDeviceFontName_Proxy(
   8559     IXpsOMGlyphs* This,
   8560     LPWSTR *deviceFontName);
   8561 void __RPC_STUB IXpsOMGlyphs_GetDeviceFontName_Stub(
   8562     IRpcStubBuffer* This,
   8563     IRpcChannelBuffer* pRpcChannelBuffer,
   8564     PRPC_MESSAGE pRpcMessage,
   8565     DWORD* pdwStubPhase);
   8566 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetStyleSimulations_Proxy(
   8567     IXpsOMGlyphs* This,
   8568     XPS_STYLE_SIMULATION *styleSimulations);
   8569 void __RPC_STUB IXpsOMGlyphs_GetStyleSimulations_Stub(
   8570     IRpcStubBuffer* This,
   8571     IRpcChannelBuffer* pRpcChannelBuffer,
   8572     PRPC_MESSAGE pRpcMessage,
   8573     DWORD* pdwStubPhase);
   8574 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetStyleSimulations_Proxy(
   8575     IXpsOMGlyphs* This,
   8576     XPS_STYLE_SIMULATION styleSimulations);
   8577 void __RPC_STUB IXpsOMGlyphs_SetStyleSimulations_Stub(
   8578     IRpcStubBuffer* This,
   8579     IRpcChannelBuffer* pRpcChannelBuffer,
   8580     PRPC_MESSAGE pRpcMessage,
   8581     DWORD* pdwStubPhase);
   8582 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetOrigin_Proxy(
   8583     IXpsOMGlyphs* This,
   8584     XPS_POINT *origin);
   8585 void __RPC_STUB IXpsOMGlyphs_GetOrigin_Stub(
   8586     IRpcStubBuffer* This,
   8587     IRpcChannelBuffer* pRpcChannelBuffer,
   8588     PRPC_MESSAGE pRpcMessage,
   8589     DWORD* pdwStubPhase);
   8590 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetOrigin_Proxy(
   8591     IXpsOMGlyphs* This,
   8592     const XPS_POINT *origin);
   8593 void __RPC_STUB IXpsOMGlyphs_SetOrigin_Stub(
   8594     IRpcStubBuffer* This,
   8595     IRpcChannelBuffer* pRpcChannelBuffer,
   8596     PRPC_MESSAGE pRpcMessage,
   8597     DWORD* pdwStubPhase);
   8598 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFontRenderingEmSize_Proxy(
   8599     IXpsOMGlyphs* This,
   8600     FLOAT *fontRenderingEmSize);
   8601 void __RPC_STUB IXpsOMGlyphs_GetFontRenderingEmSize_Stub(
   8602     IRpcStubBuffer* This,
   8603     IRpcChannelBuffer* pRpcChannelBuffer,
   8604     PRPC_MESSAGE pRpcMessage,
   8605     DWORD* pdwStubPhase);
   8606 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetFontRenderingEmSize_Proxy(
   8607     IXpsOMGlyphs* This,
   8608     FLOAT fontRenderingEmSize);
   8609 void __RPC_STUB IXpsOMGlyphs_SetFontRenderingEmSize_Stub(
   8610     IRpcStubBuffer* This,
   8611     IRpcChannelBuffer* pRpcChannelBuffer,
   8612     PRPC_MESSAGE pRpcMessage,
   8613     DWORD* pdwStubPhase);
   8614 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFontResource_Proxy(
   8615     IXpsOMGlyphs* This,
   8616     IXpsOMFontResource **fontResource);
   8617 void __RPC_STUB IXpsOMGlyphs_GetFontResource_Stub(
   8618     IRpcStubBuffer* This,
   8619     IRpcChannelBuffer* pRpcChannelBuffer,
   8620     PRPC_MESSAGE pRpcMessage,
   8621     DWORD* pdwStubPhase);
   8622 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetFontResource_Proxy(
   8623     IXpsOMGlyphs* This,
   8624     IXpsOMFontResource *fontResource);
   8625 void __RPC_STUB IXpsOMGlyphs_SetFontResource_Stub(
   8626     IRpcStubBuffer* This,
   8627     IRpcChannelBuffer* pRpcChannelBuffer,
   8628     PRPC_MESSAGE pRpcMessage,
   8629     DWORD* pdwStubPhase);
   8630 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFontFaceIndex_Proxy(
   8631     IXpsOMGlyphs* This,
   8632     SHORT *fontFaceIndex);
   8633 void __RPC_STUB IXpsOMGlyphs_GetFontFaceIndex_Stub(
   8634     IRpcStubBuffer* This,
   8635     IRpcChannelBuffer* pRpcChannelBuffer,
   8636     PRPC_MESSAGE pRpcMessage,
   8637     DWORD* pdwStubPhase);
   8638 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetFontFaceIndex_Proxy(
   8639     IXpsOMGlyphs* This,
   8640     SHORT fontFaceIndex);
   8641 void __RPC_STUB IXpsOMGlyphs_SetFontFaceIndex_Stub(
   8642     IRpcStubBuffer* This,
   8643     IRpcChannelBuffer* pRpcChannelBuffer,
   8644     PRPC_MESSAGE pRpcMessage,
   8645     DWORD* pdwStubPhase);
   8646 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFillBrush_Proxy(
   8647     IXpsOMGlyphs* This,
   8648     IXpsOMBrush **fillBrush);
   8649 void __RPC_STUB IXpsOMGlyphs_GetFillBrush_Stub(
   8650     IRpcStubBuffer* This,
   8651     IRpcChannelBuffer* pRpcChannelBuffer,
   8652     PRPC_MESSAGE pRpcMessage,
   8653     DWORD* pdwStubPhase);
   8654 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFillBrushLocal_Proxy(
   8655     IXpsOMGlyphs* This,
   8656     IXpsOMBrush **fillBrush);
   8657 void __RPC_STUB IXpsOMGlyphs_GetFillBrushLocal_Stub(
   8658     IRpcStubBuffer* This,
   8659     IRpcChannelBuffer* pRpcChannelBuffer,
   8660     PRPC_MESSAGE pRpcMessage,
   8661     DWORD* pdwStubPhase);
   8662 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetFillBrushLocal_Proxy(
   8663     IXpsOMGlyphs* This,
   8664     IXpsOMBrush *fillBrush);
   8665 void __RPC_STUB IXpsOMGlyphs_SetFillBrushLocal_Stub(
   8666     IRpcStubBuffer* This,
   8667     IRpcChannelBuffer* pRpcChannelBuffer,
   8668     PRPC_MESSAGE pRpcMessage,
   8669     DWORD* pdwStubPhase);
   8670 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetFillBrushLookup_Proxy(
   8671     IXpsOMGlyphs* This,
   8672     LPWSTR *key);
   8673 void __RPC_STUB IXpsOMGlyphs_GetFillBrushLookup_Stub(
   8674     IRpcStubBuffer* This,
   8675     IRpcChannelBuffer* pRpcChannelBuffer,
   8676     PRPC_MESSAGE pRpcMessage,
   8677     DWORD* pdwStubPhase);
   8678 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_SetFillBrushLookup_Proxy(
   8679     IXpsOMGlyphs* This,
   8680     LPCWSTR key);
   8681 void __RPC_STUB IXpsOMGlyphs_SetFillBrushLookup_Stub(
   8682     IRpcStubBuffer* This,
   8683     IRpcChannelBuffer* pRpcChannelBuffer,
   8684     PRPC_MESSAGE pRpcMessage,
   8685     DWORD* pdwStubPhase);
   8686 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_GetGlyphsEditor_Proxy(
   8687     IXpsOMGlyphs* This,
   8688     IXpsOMGlyphsEditor **editor);
   8689 void __RPC_STUB IXpsOMGlyphs_GetGlyphsEditor_Stub(
   8690     IRpcStubBuffer* This,
   8691     IRpcChannelBuffer* pRpcChannelBuffer,
   8692     PRPC_MESSAGE pRpcMessage,
   8693     DWORD* pdwStubPhase);
   8694 HRESULT STDMETHODCALLTYPE IXpsOMGlyphs_Clone_Proxy(
   8695     IXpsOMGlyphs* This,
   8696     IXpsOMGlyphs **glyphs);
   8697 void __RPC_STUB IXpsOMGlyphs_Clone_Stub(
   8698     IRpcStubBuffer* This,
   8699     IRpcChannelBuffer* pRpcChannelBuffer,
   8700     PRPC_MESSAGE pRpcMessage,
   8701     DWORD* pdwStubPhase);
   8702 
   8703 #endif  /* __IXpsOMGlyphs_INTERFACE_DEFINED__ */
   8704 
   8705 /*****************************************************************************
   8706  * IXpsOMPath interface
   8707  */
   8708 #ifndef __IXpsOMPath_INTERFACE_DEFINED__
   8709 #define __IXpsOMPath_INTERFACE_DEFINED__
   8710 
   8711 DEFINE_GUID(IID_IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37);
   8712 #if defined(__cplusplus) && !defined(CINTERFACE)
   8713 MIDL_INTERFACE("37d38bb6-3ee9-4110-9312-14b194163337")
   8714 IXpsOMPath : public IXpsOMVisual
   8715 {
   8716     virtual HRESULT STDMETHODCALLTYPE GetGeometry(
   8717         IXpsOMGeometry **geometry) = 0;
   8718 
   8719     virtual HRESULT STDMETHODCALLTYPE GetGeometryLocal(
   8720         IXpsOMGeometry **geometry) = 0;
   8721 
   8722     virtual HRESULT STDMETHODCALLTYPE SetGeometryLocal(
   8723         IXpsOMGeometry *geometry) = 0;
   8724 
   8725     virtual HRESULT STDMETHODCALLTYPE GetGeometryLookup(
   8726         LPWSTR *lookup) = 0;
   8727 
   8728     virtual HRESULT STDMETHODCALLTYPE SetGeometryLookup(
   8729         LPCWSTR lookup) = 0;
   8730 
   8731     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
   8732         LPWSTR *shortDescription) = 0;
   8733 
   8734     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
   8735         LPCWSTR shortDescription) = 0;
   8736 
   8737     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
   8738         LPWSTR *longDescription) = 0;
   8739 
   8740     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
   8741         LPCWSTR longDescription) = 0;
   8742 
   8743     virtual HRESULT STDMETHODCALLTYPE GetSnapsToPixels(
   8744         WINBOOL *snapsToPixels) = 0;
   8745 
   8746     virtual HRESULT STDMETHODCALLTYPE SetSnapsToPixels(
   8747         WINBOOL snapsToPixels) = 0;
   8748 
   8749     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrush(
   8750         IXpsOMBrush **brush) = 0;
   8751 
   8752     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLocal(
   8753         IXpsOMBrush **brush) = 0;
   8754 
   8755     virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLocal(
   8756         IXpsOMBrush *brush) = 0;
   8757 
   8758     virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLookup(
   8759         LPWSTR *lookup) = 0;
   8760 
   8761     virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLookup(
   8762         LPCWSTR lookup) = 0;
   8763 
   8764     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashes(
   8765         IXpsOMDashCollection **strokeDashes) = 0;
   8766 
   8767     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashCap(
   8768         XPS_DASH_CAP *strokeDashCap) = 0;
   8769 
   8770     virtual HRESULT STDMETHODCALLTYPE SetStrokeDashCap(
   8771         XPS_DASH_CAP strokeDashCap) = 0;
   8772 
   8773     virtual HRESULT STDMETHODCALLTYPE GetStrokeDashOffset(
   8774         FLOAT *strokeDashOffset) = 0;
   8775 
   8776     virtual HRESULT STDMETHODCALLTYPE SetStrokeDashOffset(
   8777         FLOAT strokeDashOffset) = 0;
   8778 
   8779     virtual HRESULT STDMETHODCALLTYPE GetStrokeStartLineCap(
   8780         XPS_LINE_CAP *strokeStartLineCap) = 0;
   8781 
   8782     virtual HRESULT STDMETHODCALLTYPE SetStrokeStartLineCap(
   8783         XPS_LINE_CAP strokeStartLineCap) = 0;
   8784 
   8785     virtual HRESULT STDMETHODCALLTYPE GetStrokeEndLineCap(
   8786         XPS_LINE_CAP *strokeEndLineCap) = 0;
   8787 
   8788     virtual HRESULT STDMETHODCALLTYPE SetStrokeEndLineCap(
   8789         XPS_LINE_CAP strokeEndLineCap) = 0;
   8790 
   8791     virtual HRESULT STDMETHODCALLTYPE GetStrokeLineJoin(
   8792         XPS_LINE_JOIN *strokeLineJoin) = 0;
   8793 
   8794     virtual HRESULT STDMETHODCALLTYPE SetStrokeLineJoin(
   8795         XPS_LINE_JOIN strokeLineJoin) = 0;
   8796 
   8797     virtual HRESULT STDMETHODCALLTYPE GetStrokeMiterLimit(
   8798         FLOAT *strokeMiterLimit) = 0;
   8799 
   8800     virtual HRESULT STDMETHODCALLTYPE SetStrokeMiterLimit(
   8801         FLOAT strokeMiterLimit) = 0;
   8802 
   8803     virtual HRESULT STDMETHODCALLTYPE GetStrokeThickness(
   8804         FLOAT *strokeThickness) = 0;
   8805 
   8806     virtual HRESULT STDMETHODCALLTYPE SetStrokeThickness(
   8807         FLOAT strokeThickness) = 0;
   8808 
   8809     virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
   8810         IXpsOMBrush **brush) = 0;
   8811 
   8812     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
   8813         IXpsOMBrush **brush) = 0;
   8814 
   8815     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
   8816         IXpsOMBrush *brush) = 0;
   8817 
   8818     virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
   8819         LPWSTR *lookup) = 0;
   8820 
   8821     virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
   8822         LPCWSTR lookup) = 0;
   8823 
   8824     virtual HRESULT STDMETHODCALLTYPE Clone(
   8825         IXpsOMPath **path) = 0;
   8826 
   8827 };
   8828 #ifdef __CRT_UUID_DECL
   8829 __CRT_UUID_DECL(IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37)
   8830 #endif
   8831 #else
   8832 typedef struct IXpsOMPathVtbl {
   8833     BEGIN_INTERFACE
   8834 
   8835     /*** IUnknown methods ***/
   8836     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   8837         IXpsOMPath* This,
   8838         REFIID riid,
   8839         void **ppvObject);
   8840 
   8841     ULONG (STDMETHODCALLTYPE *AddRef)(
   8842         IXpsOMPath* This);
   8843 
   8844     ULONG (STDMETHODCALLTYPE *Release)(
   8845         IXpsOMPath* This);
   8846 
   8847     /*** IXpsOMShareable methods ***/
   8848     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   8849         IXpsOMPath* This,
   8850         IUnknown **owner);
   8851 
   8852     HRESULT (STDMETHODCALLTYPE *GetType)(
   8853         IXpsOMPath* This,
   8854         XPS_OBJECT_TYPE *type);
   8855 
   8856     /*** IXpsOMVisual methods ***/
   8857     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   8858         IXpsOMPath* This,
   8859         IXpsOMMatrixTransform **matrixTransform);
   8860 
   8861     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   8862         IXpsOMPath* This,
   8863         IXpsOMMatrixTransform **matrixTransform);
   8864 
   8865     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   8866         IXpsOMPath* This,
   8867         IXpsOMMatrixTransform *matrixTransform);
   8868 
   8869     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   8870         IXpsOMPath* This,
   8871         LPWSTR *key);
   8872 
   8873     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   8874         IXpsOMPath* This,
   8875         LPCWSTR key);
   8876 
   8877     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   8878         IXpsOMPath* This,
   8879         IXpsOMGeometry **clipGeometry);
   8880 
   8881     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   8882         IXpsOMPath* This,
   8883         IXpsOMGeometry **clipGeometry);
   8884 
   8885     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   8886         IXpsOMPath* This,
   8887         IXpsOMGeometry *clipGeometry);
   8888 
   8889     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   8890         IXpsOMPath* This,
   8891         LPWSTR *key);
   8892 
   8893     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   8894         IXpsOMPath* This,
   8895         LPCWSTR key);
   8896 
   8897     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   8898         IXpsOMPath* This,
   8899         FLOAT *opacity);
   8900 
   8901     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   8902         IXpsOMPath* This,
   8903         FLOAT opacity);
   8904 
   8905     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   8906         IXpsOMPath* This,
   8907         IXpsOMBrush **opacityMaskBrush);
   8908 
   8909     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   8910         IXpsOMPath* This,
   8911         IXpsOMBrush **opacityMaskBrush);
   8912 
   8913     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   8914         IXpsOMPath* This,
   8915         IXpsOMBrush *opacityMaskBrush);
   8916 
   8917     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   8918         IXpsOMPath* This,
   8919         LPWSTR *key);
   8920 
   8921     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   8922         IXpsOMPath* This,
   8923         LPCWSTR key);
   8924 
   8925     HRESULT (STDMETHODCALLTYPE *GetName)(
   8926         IXpsOMPath* This,
   8927         LPWSTR *name);
   8928 
   8929     HRESULT (STDMETHODCALLTYPE *SetName)(
   8930         IXpsOMPath* This,
   8931         LPCWSTR name);
   8932 
   8933     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   8934         IXpsOMPath* This,
   8935         WINBOOL *isHyperlink);
   8936 
   8937     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   8938         IXpsOMPath* This,
   8939         WINBOOL isHyperlink);
   8940 
   8941     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   8942         IXpsOMPath* This,
   8943         IUri **hyperlinkUri);
   8944 
   8945     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   8946         IXpsOMPath* This,
   8947         IUri *hyperlinkUri);
   8948 
   8949     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   8950         IXpsOMPath* This,
   8951         LPWSTR *language);
   8952 
   8953     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   8954         IXpsOMPath* This,
   8955         LPCWSTR language);
   8956 
   8957     /*** IXpsOMPath methods ***/
   8958     HRESULT (STDMETHODCALLTYPE *GetGeometry)(
   8959         IXpsOMPath* This,
   8960         IXpsOMGeometry **geometry);
   8961 
   8962     HRESULT (STDMETHODCALLTYPE *GetGeometryLocal)(
   8963         IXpsOMPath* This,
   8964         IXpsOMGeometry **geometry);
   8965 
   8966     HRESULT (STDMETHODCALLTYPE *SetGeometryLocal)(
   8967         IXpsOMPath* This,
   8968         IXpsOMGeometry *geometry);
   8969 
   8970     HRESULT (STDMETHODCALLTYPE *GetGeometryLookup)(
   8971         IXpsOMPath* This,
   8972         LPWSTR *lookup);
   8973 
   8974     HRESULT (STDMETHODCALLTYPE *SetGeometryLookup)(
   8975         IXpsOMPath* This,
   8976         LPCWSTR lookup);
   8977 
   8978     HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
   8979         IXpsOMPath* This,
   8980         LPWSTR *shortDescription);
   8981 
   8982     HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
   8983         IXpsOMPath* This,
   8984         LPCWSTR shortDescription);
   8985 
   8986     HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
   8987         IXpsOMPath* This,
   8988         LPWSTR *longDescription);
   8989 
   8990     HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
   8991         IXpsOMPath* This,
   8992         LPCWSTR longDescription);
   8993 
   8994     HRESULT (STDMETHODCALLTYPE *GetSnapsToPixels)(
   8995         IXpsOMPath* This,
   8996         WINBOOL *snapsToPixels);
   8997 
   8998     HRESULT (STDMETHODCALLTYPE *SetSnapsToPixels)(
   8999         IXpsOMPath* This,
   9000         WINBOOL snapsToPixels);
   9001 
   9002     HRESULT (STDMETHODCALLTYPE *GetStrokeBrush)(
   9003         IXpsOMPath* This,
   9004         IXpsOMBrush **brush);
   9005 
   9006     HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLocal)(
   9007         IXpsOMPath* This,
   9008         IXpsOMBrush **brush);
   9009 
   9010     HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLocal)(
   9011         IXpsOMPath* This,
   9012         IXpsOMBrush *brush);
   9013 
   9014     HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLookup)(
   9015         IXpsOMPath* This,
   9016         LPWSTR *lookup);
   9017 
   9018     HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLookup)(
   9019         IXpsOMPath* This,
   9020         LPCWSTR lookup);
   9021 
   9022     HRESULT (STDMETHODCALLTYPE *GetStrokeDashes)(
   9023         IXpsOMPath* This,
   9024         IXpsOMDashCollection **strokeDashes);
   9025 
   9026     HRESULT (STDMETHODCALLTYPE *GetStrokeDashCap)(
   9027         IXpsOMPath* This,
   9028         XPS_DASH_CAP *strokeDashCap);
   9029 
   9030     HRESULT (STDMETHODCALLTYPE *SetStrokeDashCap)(
   9031         IXpsOMPath* This,
   9032         XPS_DASH_CAP strokeDashCap);
   9033 
   9034     HRESULT (STDMETHODCALLTYPE *GetStrokeDashOffset)(
   9035         IXpsOMPath* This,
   9036         FLOAT *strokeDashOffset);
   9037 
   9038     HRESULT (STDMETHODCALLTYPE *SetStrokeDashOffset)(
   9039         IXpsOMPath* This,
   9040         FLOAT strokeDashOffset);
   9041 
   9042     HRESULT (STDMETHODCALLTYPE *GetStrokeStartLineCap)(
   9043         IXpsOMPath* This,
   9044         XPS_LINE_CAP *strokeStartLineCap);
   9045 
   9046     HRESULT (STDMETHODCALLTYPE *SetStrokeStartLineCap)(
   9047         IXpsOMPath* This,
   9048         XPS_LINE_CAP strokeStartLineCap);
   9049 
   9050     HRESULT (STDMETHODCALLTYPE *GetStrokeEndLineCap)(
   9051         IXpsOMPath* This,
   9052         XPS_LINE_CAP *strokeEndLineCap);
   9053 
   9054     HRESULT (STDMETHODCALLTYPE *SetStrokeEndLineCap)(
   9055         IXpsOMPath* This,
   9056         XPS_LINE_CAP strokeEndLineCap);
   9057 
   9058     HRESULT (STDMETHODCALLTYPE *GetStrokeLineJoin)(
   9059         IXpsOMPath* This,
   9060         XPS_LINE_JOIN *strokeLineJoin);
   9061 
   9062     HRESULT (STDMETHODCALLTYPE *SetStrokeLineJoin)(
   9063         IXpsOMPath* This,
   9064         XPS_LINE_JOIN strokeLineJoin);
   9065 
   9066     HRESULT (STDMETHODCALLTYPE *GetStrokeMiterLimit)(
   9067         IXpsOMPath* This,
   9068         FLOAT *strokeMiterLimit);
   9069 
   9070     HRESULT (STDMETHODCALLTYPE *SetStrokeMiterLimit)(
   9071         IXpsOMPath* This,
   9072         FLOAT strokeMiterLimit);
   9073 
   9074     HRESULT (STDMETHODCALLTYPE *GetStrokeThickness)(
   9075         IXpsOMPath* This,
   9076         FLOAT *strokeThickness);
   9077 
   9078     HRESULT (STDMETHODCALLTYPE *SetStrokeThickness)(
   9079         IXpsOMPath* This,
   9080         FLOAT strokeThickness);
   9081 
   9082     HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
   9083         IXpsOMPath* This,
   9084         IXpsOMBrush **brush);
   9085 
   9086     HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
   9087         IXpsOMPath* This,
   9088         IXpsOMBrush **brush);
   9089 
   9090     HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
   9091         IXpsOMPath* This,
   9092         IXpsOMBrush *brush);
   9093 
   9094     HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
   9095         IXpsOMPath* This,
   9096         LPWSTR *lookup);
   9097 
   9098     HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
   9099         IXpsOMPath* This,
   9100         LPCWSTR lookup);
   9101 
   9102     HRESULT (STDMETHODCALLTYPE *Clone)(
   9103         IXpsOMPath* This,
   9104         IXpsOMPath **path);
   9105 
   9106     END_INTERFACE
   9107 } IXpsOMPathVtbl;
   9108 interface IXpsOMPath {
   9109     CONST_VTBL IXpsOMPathVtbl* lpVtbl;
   9110 };
   9111 
   9112 #ifdef COBJMACROS
   9113 #ifndef WIDL_C_INLINE_WRAPPERS
   9114 /*** IUnknown methods ***/
   9115 #define IXpsOMPath_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9116 #define IXpsOMPath_AddRef(This) (This)->lpVtbl->AddRef(This)
   9117 #define IXpsOMPath_Release(This) (This)->lpVtbl->Release(This)
   9118 /*** IXpsOMShareable methods ***/
   9119 #define IXpsOMPath_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   9120 #define IXpsOMPath_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   9121 /*** IXpsOMVisual methods ***/
   9122 #define IXpsOMPath_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   9123 #define IXpsOMPath_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   9124 #define IXpsOMPath_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   9125 #define IXpsOMPath_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   9126 #define IXpsOMPath_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   9127 #define IXpsOMPath_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   9128 #define IXpsOMPath_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   9129 #define IXpsOMPath_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   9130 #define IXpsOMPath_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   9131 #define IXpsOMPath_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   9132 #define IXpsOMPath_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   9133 #define IXpsOMPath_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   9134 #define IXpsOMPath_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   9135 #define IXpsOMPath_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   9136 #define IXpsOMPath_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   9137 #define IXpsOMPath_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   9138 #define IXpsOMPath_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   9139 #define IXpsOMPath_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   9140 #define IXpsOMPath_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   9141 #define IXpsOMPath_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   9142 #define IXpsOMPath_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   9143 #define IXpsOMPath_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   9144 #define IXpsOMPath_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   9145 #define IXpsOMPath_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   9146 #define IXpsOMPath_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   9147 /*** IXpsOMPath methods ***/
   9148 #define IXpsOMPath_GetGeometry(This,geometry) (This)->lpVtbl->GetGeometry(This,geometry)
   9149 #define IXpsOMPath_GetGeometryLocal(This,geometry) (This)->lpVtbl->GetGeometryLocal(This,geometry)
   9150 #define IXpsOMPath_SetGeometryLocal(This,geometry) (This)->lpVtbl->SetGeometryLocal(This,geometry)
   9151 #define IXpsOMPath_GetGeometryLookup(This,lookup) (This)->lpVtbl->GetGeometryLookup(This,lookup)
   9152 #define IXpsOMPath_SetGeometryLookup(This,lookup) (This)->lpVtbl->SetGeometryLookup(This,lookup)
   9153 #define IXpsOMPath_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
   9154 #define IXpsOMPath_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
   9155 #define IXpsOMPath_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
   9156 #define IXpsOMPath_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
   9157 #define IXpsOMPath_GetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->GetSnapsToPixels(This,snapsToPixels)
   9158 #define IXpsOMPath_SetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->SetSnapsToPixels(This,snapsToPixels)
   9159 #define IXpsOMPath_GetStrokeBrush(This,brush) (This)->lpVtbl->GetStrokeBrush(This,brush)
   9160 #define IXpsOMPath_GetStrokeBrushLocal(This,brush) (This)->lpVtbl->GetStrokeBrushLocal(This,brush)
   9161 #define IXpsOMPath_SetStrokeBrushLocal(This,brush) (This)->lpVtbl->SetStrokeBrushLocal(This,brush)
   9162 #define IXpsOMPath_GetStrokeBrushLookup(This,lookup) (This)->lpVtbl->GetStrokeBrushLookup(This,lookup)
   9163 #define IXpsOMPath_SetStrokeBrushLookup(This,lookup) (This)->lpVtbl->SetStrokeBrushLookup(This,lookup)
   9164 #define IXpsOMPath_GetStrokeDashes(This,strokeDashes) (This)->lpVtbl->GetStrokeDashes(This,strokeDashes)
   9165 #define IXpsOMPath_GetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->GetStrokeDashCap(This,strokeDashCap)
   9166 #define IXpsOMPath_SetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->SetStrokeDashCap(This,strokeDashCap)
   9167 #define IXpsOMPath_GetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset)
   9168 #define IXpsOMPath_SetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset)
   9169 #define IXpsOMPath_GetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap)
   9170 #define IXpsOMPath_SetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap)
   9171 #define IXpsOMPath_GetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap)
   9172 #define IXpsOMPath_SetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap)
   9173 #define IXpsOMPath_GetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin)
   9174 #define IXpsOMPath_SetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin)
   9175 #define IXpsOMPath_GetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit)
   9176 #define IXpsOMPath_SetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit)
   9177 #define IXpsOMPath_GetStrokeThickness(This,strokeThickness) (This)->lpVtbl->GetStrokeThickness(This,strokeThickness)
   9178 #define IXpsOMPath_SetStrokeThickness(This,strokeThickness) (This)->lpVtbl->SetStrokeThickness(This,strokeThickness)
   9179 #define IXpsOMPath_GetFillBrush(This,brush) (This)->lpVtbl->GetFillBrush(This,brush)
   9180 #define IXpsOMPath_GetFillBrushLocal(This,brush) (This)->lpVtbl->GetFillBrushLocal(This,brush)
   9181 #define IXpsOMPath_SetFillBrushLocal(This,brush) (This)->lpVtbl->SetFillBrushLocal(This,brush)
   9182 #define IXpsOMPath_GetFillBrushLookup(This,lookup) (This)->lpVtbl->GetFillBrushLookup(This,lookup)
   9183 #define IXpsOMPath_SetFillBrushLookup(This,lookup) (This)->lpVtbl->SetFillBrushLookup(This,lookup)
   9184 #define IXpsOMPath_Clone(This,path) (This)->lpVtbl->Clone(This,path)
   9185 #else
   9186 /*** IUnknown methods ***/
   9187 static FORCEINLINE HRESULT IXpsOMPath_QueryInterface(IXpsOMPath* This,REFIID riid,void **ppvObject) {
   9188     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9189 }
   9190 static FORCEINLINE ULONG IXpsOMPath_AddRef(IXpsOMPath* This) {
   9191     return This->lpVtbl->AddRef(This);
   9192 }
   9193 static FORCEINLINE ULONG IXpsOMPath_Release(IXpsOMPath* This) {
   9194     return This->lpVtbl->Release(This);
   9195 }
   9196 /*** IXpsOMShareable methods ***/
   9197 static FORCEINLINE HRESULT IXpsOMPath_GetOwner(IXpsOMPath* This,IUnknown **owner) {
   9198     return This->lpVtbl->GetOwner(This,owner);
   9199 }
   9200 static FORCEINLINE HRESULT IXpsOMPath_GetType(IXpsOMPath* This,XPS_OBJECT_TYPE *type) {
   9201     return This->lpVtbl->GetType(This,type);
   9202 }
   9203 /*** IXpsOMVisual methods ***/
   9204 static FORCEINLINE HRESULT IXpsOMPath_GetTransform(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
   9205     return This->lpVtbl->GetTransform(This,matrixTransform);
   9206 }
   9207 static FORCEINLINE HRESULT IXpsOMPath_GetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
   9208     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   9209 }
   9210 static FORCEINLINE HRESULT IXpsOMPath_SetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform *matrixTransform) {
   9211     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   9212 }
   9213 static FORCEINLINE HRESULT IXpsOMPath_GetTransformLookup(IXpsOMPath* This,LPWSTR *key) {
   9214     return This->lpVtbl->GetTransformLookup(This,key);
   9215 }
   9216 static FORCEINLINE HRESULT IXpsOMPath_SetTransformLookup(IXpsOMPath* This,LPCWSTR key) {
   9217     return This->lpVtbl->SetTransformLookup(This,key);
   9218 }
   9219 static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometry(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
   9220     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   9221 }
   9222 static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
   9223     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   9224 }
   9225 static FORCEINLINE HRESULT IXpsOMPath_SetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *clipGeometry) {
   9226     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   9227 }
   9228 static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometryLookup(IXpsOMPath* This,LPWSTR *key) {
   9229     return This->lpVtbl->GetClipGeometryLookup(This,key);
   9230 }
   9231 static FORCEINLINE HRESULT IXpsOMPath_SetClipGeometryLookup(IXpsOMPath* This,LPCWSTR key) {
   9232     return This->lpVtbl->SetClipGeometryLookup(This,key);
   9233 }
   9234 static FORCEINLINE HRESULT IXpsOMPath_GetOpacity(IXpsOMPath* This,FLOAT *opacity) {
   9235     return This->lpVtbl->GetOpacity(This,opacity);
   9236 }
   9237 static FORCEINLINE HRESULT IXpsOMPath_SetOpacity(IXpsOMPath* This,FLOAT opacity) {
   9238     return This->lpVtbl->SetOpacity(This,opacity);
   9239 }
   9240 static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrush(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
   9241     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   9242 }
   9243 static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
   9244     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   9245 }
   9246 static FORCEINLINE HRESULT IXpsOMPath_SetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush *opacityMaskBrush) {
   9247     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   9248 }
   9249 static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrushLookup(IXpsOMPath* This,LPWSTR *key) {
   9250     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   9251 }
   9252 static FORCEINLINE HRESULT IXpsOMPath_SetOpacityMaskBrushLookup(IXpsOMPath* This,LPCWSTR key) {
   9253     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   9254 }
   9255 static FORCEINLINE HRESULT IXpsOMPath_GetName(IXpsOMPath* This,LPWSTR *name) {
   9256     return This->lpVtbl->GetName(This,name);
   9257 }
   9258 static FORCEINLINE HRESULT IXpsOMPath_SetName(IXpsOMPath* This,LPCWSTR name) {
   9259     return This->lpVtbl->SetName(This,name);
   9260 }
   9261 static FORCEINLINE HRESULT IXpsOMPath_GetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL *isHyperlink) {
   9262     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   9263 }
   9264 static FORCEINLINE HRESULT IXpsOMPath_SetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL isHyperlink) {
   9265     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   9266 }
   9267 static FORCEINLINE HRESULT IXpsOMPath_GetHyperlinkNavigateUri(IXpsOMPath* This,IUri **hyperlinkUri) {
   9268     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   9269 }
   9270 static FORCEINLINE HRESULT IXpsOMPath_SetHyperlinkNavigateUri(IXpsOMPath* This,IUri *hyperlinkUri) {
   9271     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   9272 }
   9273 static FORCEINLINE HRESULT IXpsOMPath_GetLanguage(IXpsOMPath* This,LPWSTR *language) {
   9274     return This->lpVtbl->GetLanguage(This,language);
   9275 }
   9276 static FORCEINLINE HRESULT IXpsOMPath_SetLanguage(IXpsOMPath* This,LPCWSTR language) {
   9277     return This->lpVtbl->SetLanguage(This,language);
   9278 }
   9279 /*** IXpsOMPath methods ***/
   9280 static FORCEINLINE HRESULT IXpsOMPath_GetGeometry(IXpsOMPath* This,IXpsOMGeometry **geometry) {
   9281     return This->lpVtbl->GetGeometry(This,geometry);
   9282 }
   9283 static FORCEINLINE HRESULT IXpsOMPath_GetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **geometry) {
   9284     return This->lpVtbl->GetGeometryLocal(This,geometry);
   9285 }
   9286 static FORCEINLINE HRESULT IXpsOMPath_SetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *geometry) {
   9287     return This->lpVtbl->SetGeometryLocal(This,geometry);
   9288 }
   9289 static FORCEINLINE HRESULT IXpsOMPath_GetGeometryLookup(IXpsOMPath* This,LPWSTR *lookup) {
   9290     return This->lpVtbl->GetGeometryLookup(This,lookup);
   9291 }
   9292 static FORCEINLINE HRESULT IXpsOMPath_SetGeometryLookup(IXpsOMPath* This,LPCWSTR lookup) {
   9293     return This->lpVtbl->SetGeometryLookup(This,lookup);
   9294 }
   9295 static FORCEINLINE HRESULT IXpsOMPath_GetAccessibilityShortDescription(IXpsOMPath* This,LPWSTR *shortDescription) {
   9296     return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
   9297 }
   9298 static FORCEINLINE HRESULT IXpsOMPath_SetAccessibilityShortDescription(IXpsOMPath* This,LPCWSTR shortDescription) {
   9299     return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
   9300 }
   9301 static FORCEINLINE HRESULT IXpsOMPath_GetAccessibilityLongDescription(IXpsOMPath* This,LPWSTR *longDescription) {
   9302     return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
   9303 }
   9304 static FORCEINLINE HRESULT IXpsOMPath_SetAccessibilityLongDescription(IXpsOMPath* This,LPCWSTR longDescription) {
   9305     return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
   9306 }
   9307 static FORCEINLINE HRESULT IXpsOMPath_GetSnapsToPixels(IXpsOMPath* This,WINBOOL *snapsToPixels) {
   9308     return This->lpVtbl->GetSnapsToPixels(This,snapsToPixels);
   9309 }
   9310 static FORCEINLINE HRESULT IXpsOMPath_SetSnapsToPixels(IXpsOMPath* This,WINBOOL snapsToPixels) {
   9311     return This->lpVtbl->SetSnapsToPixels(This,snapsToPixels);
   9312 }
   9313 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
   9314     return This->lpVtbl->GetStrokeBrush(This,brush);
   9315 }
   9316 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
   9317     return This->lpVtbl->GetStrokeBrushLocal(This,brush);
   9318 }
   9319 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
   9320     return This->lpVtbl->SetStrokeBrushLocal(This,brush);
   9321 }
   9322 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
   9323     return This->lpVtbl->GetStrokeBrushLookup(This,lookup);
   9324 }
   9325 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
   9326     return This->lpVtbl->SetStrokeBrushLookup(This,lookup);
   9327 }
   9328 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashes(IXpsOMPath* This,IXpsOMDashCollection **strokeDashes) {
   9329     return This->lpVtbl->GetStrokeDashes(This,strokeDashes);
   9330 }
   9331 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP *strokeDashCap) {
   9332     return This->lpVtbl->GetStrokeDashCap(This,strokeDashCap);
   9333 }
   9334 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP strokeDashCap) {
   9335     return This->lpVtbl->SetStrokeDashCap(This,strokeDashCap);
   9336 }
   9337 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashOffset(IXpsOMPath* This,FLOAT *strokeDashOffset) {
   9338     return This->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset);
   9339 }
   9340 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeDashOffset(IXpsOMPath* This,FLOAT strokeDashOffset) {
   9341     return This->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset);
   9342 }
   9343 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeStartLineCap) {
   9344     return This->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap);
   9345 }
   9346 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeStartLineCap) {
   9347     return This->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap);
   9348 }
   9349 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeEndLineCap) {
   9350     return This->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap);
   9351 }
   9352 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeEndLineCap) {
   9353     return This->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap);
   9354 }
   9355 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN *strokeLineJoin) {
   9356     return This->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin);
   9357 }
   9358 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN strokeLineJoin) {
   9359     return This->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin);
   9360 }
   9361 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeMiterLimit(IXpsOMPath* This,FLOAT *strokeMiterLimit) {
   9362     return This->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit);
   9363 }
   9364 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeMiterLimit(IXpsOMPath* This,FLOAT strokeMiterLimit) {
   9365     return This->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit);
   9366 }
   9367 static FORCEINLINE HRESULT IXpsOMPath_GetStrokeThickness(IXpsOMPath* This,FLOAT *strokeThickness) {
   9368     return This->lpVtbl->GetStrokeThickness(This,strokeThickness);
   9369 }
   9370 static FORCEINLINE HRESULT IXpsOMPath_SetStrokeThickness(IXpsOMPath* This,FLOAT strokeThickness) {
   9371     return This->lpVtbl->SetStrokeThickness(This,strokeThickness);
   9372 }
   9373 static FORCEINLINE HRESULT IXpsOMPath_GetFillBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
   9374     return This->lpVtbl->GetFillBrush(This,brush);
   9375 }
   9376 static FORCEINLINE HRESULT IXpsOMPath_GetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
   9377     return This->lpVtbl->GetFillBrushLocal(This,brush);
   9378 }
   9379 static FORCEINLINE HRESULT IXpsOMPath_SetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
   9380     return This->lpVtbl->SetFillBrushLocal(This,brush);
   9381 }
   9382 static FORCEINLINE HRESULT IXpsOMPath_GetFillBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
   9383     return This->lpVtbl->GetFillBrushLookup(This,lookup);
   9384 }
   9385 static FORCEINLINE HRESULT IXpsOMPath_SetFillBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
   9386     return This->lpVtbl->SetFillBrushLookup(This,lookup);
   9387 }
   9388 static FORCEINLINE HRESULT IXpsOMPath_Clone(IXpsOMPath* This,IXpsOMPath **path) {
   9389     return This->lpVtbl->Clone(This,path);
   9390 }
   9391 #endif
   9392 #endif
   9393 
   9394 #endif
   9395 
   9396 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetGeometry_Proxy(
   9397     IXpsOMPath* This,
   9398     IXpsOMGeometry **geometry);
   9399 void __RPC_STUB IXpsOMPath_GetGeometry_Stub(
   9400     IRpcStubBuffer* This,
   9401     IRpcChannelBuffer* pRpcChannelBuffer,
   9402     PRPC_MESSAGE pRpcMessage,
   9403     DWORD* pdwStubPhase);
   9404 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetGeometryLocal_Proxy(
   9405     IXpsOMPath* This,
   9406     IXpsOMGeometry **geometry);
   9407 void __RPC_STUB IXpsOMPath_GetGeometryLocal_Stub(
   9408     IRpcStubBuffer* This,
   9409     IRpcChannelBuffer* pRpcChannelBuffer,
   9410     PRPC_MESSAGE pRpcMessage,
   9411     DWORD* pdwStubPhase);
   9412 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetGeometryLocal_Proxy(
   9413     IXpsOMPath* This,
   9414     IXpsOMGeometry *geometry);
   9415 void __RPC_STUB IXpsOMPath_SetGeometryLocal_Stub(
   9416     IRpcStubBuffer* This,
   9417     IRpcChannelBuffer* pRpcChannelBuffer,
   9418     PRPC_MESSAGE pRpcMessage,
   9419     DWORD* pdwStubPhase);
   9420 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetGeometryLookup_Proxy(
   9421     IXpsOMPath* This,
   9422     LPWSTR *lookup);
   9423 void __RPC_STUB IXpsOMPath_GetGeometryLookup_Stub(
   9424     IRpcStubBuffer* This,
   9425     IRpcChannelBuffer* pRpcChannelBuffer,
   9426     PRPC_MESSAGE pRpcMessage,
   9427     DWORD* pdwStubPhase);
   9428 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetGeometryLookup_Proxy(
   9429     IXpsOMPath* This,
   9430     LPCWSTR lookup);
   9431 void __RPC_STUB IXpsOMPath_SetGeometryLookup_Stub(
   9432     IRpcStubBuffer* This,
   9433     IRpcChannelBuffer* pRpcChannelBuffer,
   9434     PRPC_MESSAGE pRpcMessage,
   9435     DWORD* pdwStubPhase);
   9436 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetAccessibilityShortDescription_Proxy(
   9437     IXpsOMPath* This,
   9438     LPWSTR *shortDescription);
   9439 void __RPC_STUB IXpsOMPath_GetAccessibilityShortDescription_Stub(
   9440     IRpcStubBuffer* This,
   9441     IRpcChannelBuffer* pRpcChannelBuffer,
   9442     PRPC_MESSAGE pRpcMessage,
   9443     DWORD* pdwStubPhase);
   9444 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetAccessibilityShortDescription_Proxy(
   9445     IXpsOMPath* This,
   9446     LPCWSTR shortDescription);
   9447 void __RPC_STUB IXpsOMPath_SetAccessibilityShortDescription_Stub(
   9448     IRpcStubBuffer* This,
   9449     IRpcChannelBuffer* pRpcChannelBuffer,
   9450     PRPC_MESSAGE pRpcMessage,
   9451     DWORD* pdwStubPhase);
   9452 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetAccessibilityLongDescription_Proxy(
   9453     IXpsOMPath* This,
   9454     LPWSTR *longDescription);
   9455 void __RPC_STUB IXpsOMPath_GetAccessibilityLongDescription_Stub(
   9456     IRpcStubBuffer* This,
   9457     IRpcChannelBuffer* pRpcChannelBuffer,
   9458     PRPC_MESSAGE pRpcMessage,
   9459     DWORD* pdwStubPhase);
   9460 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetAccessibilityLongDescription_Proxy(
   9461     IXpsOMPath* This,
   9462     LPCWSTR longDescription);
   9463 void __RPC_STUB IXpsOMPath_SetAccessibilityLongDescription_Stub(
   9464     IRpcStubBuffer* This,
   9465     IRpcChannelBuffer* pRpcChannelBuffer,
   9466     PRPC_MESSAGE pRpcMessage,
   9467     DWORD* pdwStubPhase);
   9468 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetSnapsToPixels_Proxy(
   9469     IXpsOMPath* This,
   9470     WINBOOL *snapsToPixels);
   9471 void __RPC_STUB IXpsOMPath_GetSnapsToPixels_Stub(
   9472     IRpcStubBuffer* This,
   9473     IRpcChannelBuffer* pRpcChannelBuffer,
   9474     PRPC_MESSAGE pRpcMessage,
   9475     DWORD* pdwStubPhase);
   9476 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetSnapsToPixels_Proxy(
   9477     IXpsOMPath* This,
   9478     WINBOOL snapsToPixels);
   9479 void __RPC_STUB IXpsOMPath_SetSnapsToPixels_Stub(
   9480     IRpcStubBuffer* This,
   9481     IRpcChannelBuffer* pRpcChannelBuffer,
   9482     PRPC_MESSAGE pRpcMessage,
   9483     DWORD* pdwStubPhase);
   9484 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeBrush_Proxy(
   9485     IXpsOMPath* This,
   9486     IXpsOMBrush **brush);
   9487 void __RPC_STUB IXpsOMPath_GetStrokeBrush_Stub(
   9488     IRpcStubBuffer* This,
   9489     IRpcChannelBuffer* pRpcChannelBuffer,
   9490     PRPC_MESSAGE pRpcMessage,
   9491     DWORD* pdwStubPhase);
   9492 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeBrushLocal_Proxy(
   9493     IXpsOMPath* This,
   9494     IXpsOMBrush **brush);
   9495 void __RPC_STUB IXpsOMPath_GetStrokeBrushLocal_Stub(
   9496     IRpcStubBuffer* This,
   9497     IRpcChannelBuffer* pRpcChannelBuffer,
   9498     PRPC_MESSAGE pRpcMessage,
   9499     DWORD* pdwStubPhase);
   9500 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeBrushLocal_Proxy(
   9501     IXpsOMPath* This,
   9502     IXpsOMBrush *brush);
   9503 void __RPC_STUB IXpsOMPath_SetStrokeBrushLocal_Stub(
   9504     IRpcStubBuffer* This,
   9505     IRpcChannelBuffer* pRpcChannelBuffer,
   9506     PRPC_MESSAGE pRpcMessage,
   9507     DWORD* pdwStubPhase);
   9508 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeBrushLookup_Proxy(
   9509     IXpsOMPath* This,
   9510     LPWSTR *lookup);
   9511 void __RPC_STUB IXpsOMPath_GetStrokeBrushLookup_Stub(
   9512     IRpcStubBuffer* This,
   9513     IRpcChannelBuffer* pRpcChannelBuffer,
   9514     PRPC_MESSAGE pRpcMessage,
   9515     DWORD* pdwStubPhase);
   9516 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeBrushLookup_Proxy(
   9517     IXpsOMPath* This,
   9518     LPCWSTR lookup);
   9519 void __RPC_STUB IXpsOMPath_SetStrokeBrushLookup_Stub(
   9520     IRpcStubBuffer* This,
   9521     IRpcChannelBuffer* pRpcChannelBuffer,
   9522     PRPC_MESSAGE pRpcMessage,
   9523     DWORD* pdwStubPhase);
   9524 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeDashes_Proxy(
   9525     IXpsOMPath* This,
   9526     IXpsOMDashCollection **strokeDashes);
   9527 void __RPC_STUB IXpsOMPath_GetStrokeDashes_Stub(
   9528     IRpcStubBuffer* This,
   9529     IRpcChannelBuffer* pRpcChannelBuffer,
   9530     PRPC_MESSAGE pRpcMessage,
   9531     DWORD* pdwStubPhase);
   9532 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeDashCap_Proxy(
   9533     IXpsOMPath* This,
   9534     XPS_DASH_CAP *strokeDashCap);
   9535 void __RPC_STUB IXpsOMPath_GetStrokeDashCap_Stub(
   9536     IRpcStubBuffer* This,
   9537     IRpcChannelBuffer* pRpcChannelBuffer,
   9538     PRPC_MESSAGE pRpcMessage,
   9539     DWORD* pdwStubPhase);
   9540 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeDashCap_Proxy(
   9541     IXpsOMPath* This,
   9542     XPS_DASH_CAP strokeDashCap);
   9543 void __RPC_STUB IXpsOMPath_SetStrokeDashCap_Stub(
   9544     IRpcStubBuffer* This,
   9545     IRpcChannelBuffer* pRpcChannelBuffer,
   9546     PRPC_MESSAGE pRpcMessage,
   9547     DWORD* pdwStubPhase);
   9548 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeDashOffset_Proxy(
   9549     IXpsOMPath* This,
   9550     FLOAT *strokeDashOffset);
   9551 void __RPC_STUB IXpsOMPath_GetStrokeDashOffset_Stub(
   9552     IRpcStubBuffer* This,
   9553     IRpcChannelBuffer* pRpcChannelBuffer,
   9554     PRPC_MESSAGE pRpcMessage,
   9555     DWORD* pdwStubPhase);
   9556 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeDashOffset_Proxy(
   9557     IXpsOMPath* This,
   9558     FLOAT strokeDashOffset);
   9559 void __RPC_STUB IXpsOMPath_SetStrokeDashOffset_Stub(
   9560     IRpcStubBuffer* This,
   9561     IRpcChannelBuffer* pRpcChannelBuffer,
   9562     PRPC_MESSAGE pRpcMessage,
   9563     DWORD* pdwStubPhase);
   9564 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeStartLineCap_Proxy(
   9565     IXpsOMPath* This,
   9566     XPS_LINE_CAP *strokeStartLineCap);
   9567 void __RPC_STUB IXpsOMPath_GetStrokeStartLineCap_Stub(
   9568     IRpcStubBuffer* This,
   9569     IRpcChannelBuffer* pRpcChannelBuffer,
   9570     PRPC_MESSAGE pRpcMessage,
   9571     DWORD* pdwStubPhase);
   9572 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeStartLineCap_Proxy(
   9573     IXpsOMPath* This,
   9574     XPS_LINE_CAP strokeStartLineCap);
   9575 void __RPC_STUB IXpsOMPath_SetStrokeStartLineCap_Stub(
   9576     IRpcStubBuffer* This,
   9577     IRpcChannelBuffer* pRpcChannelBuffer,
   9578     PRPC_MESSAGE pRpcMessage,
   9579     DWORD* pdwStubPhase);
   9580 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeEndLineCap_Proxy(
   9581     IXpsOMPath* This,
   9582     XPS_LINE_CAP *strokeEndLineCap);
   9583 void __RPC_STUB IXpsOMPath_GetStrokeEndLineCap_Stub(
   9584     IRpcStubBuffer* This,
   9585     IRpcChannelBuffer* pRpcChannelBuffer,
   9586     PRPC_MESSAGE pRpcMessage,
   9587     DWORD* pdwStubPhase);
   9588 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeEndLineCap_Proxy(
   9589     IXpsOMPath* This,
   9590     XPS_LINE_CAP strokeEndLineCap);
   9591 void __RPC_STUB IXpsOMPath_SetStrokeEndLineCap_Stub(
   9592     IRpcStubBuffer* This,
   9593     IRpcChannelBuffer* pRpcChannelBuffer,
   9594     PRPC_MESSAGE pRpcMessage,
   9595     DWORD* pdwStubPhase);
   9596 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeLineJoin_Proxy(
   9597     IXpsOMPath* This,
   9598     XPS_LINE_JOIN *strokeLineJoin);
   9599 void __RPC_STUB IXpsOMPath_GetStrokeLineJoin_Stub(
   9600     IRpcStubBuffer* This,
   9601     IRpcChannelBuffer* pRpcChannelBuffer,
   9602     PRPC_MESSAGE pRpcMessage,
   9603     DWORD* pdwStubPhase);
   9604 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeLineJoin_Proxy(
   9605     IXpsOMPath* This,
   9606     XPS_LINE_JOIN strokeLineJoin);
   9607 void __RPC_STUB IXpsOMPath_SetStrokeLineJoin_Stub(
   9608     IRpcStubBuffer* This,
   9609     IRpcChannelBuffer* pRpcChannelBuffer,
   9610     PRPC_MESSAGE pRpcMessage,
   9611     DWORD* pdwStubPhase);
   9612 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeMiterLimit_Proxy(
   9613     IXpsOMPath* This,
   9614     FLOAT *strokeMiterLimit);
   9615 void __RPC_STUB IXpsOMPath_GetStrokeMiterLimit_Stub(
   9616     IRpcStubBuffer* This,
   9617     IRpcChannelBuffer* pRpcChannelBuffer,
   9618     PRPC_MESSAGE pRpcMessage,
   9619     DWORD* pdwStubPhase);
   9620 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeMiterLimit_Proxy(
   9621     IXpsOMPath* This,
   9622     FLOAT strokeMiterLimit);
   9623 void __RPC_STUB IXpsOMPath_SetStrokeMiterLimit_Stub(
   9624     IRpcStubBuffer* This,
   9625     IRpcChannelBuffer* pRpcChannelBuffer,
   9626     PRPC_MESSAGE pRpcMessage,
   9627     DWORD* pdwStubPhase);
   9628 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetStrokeThickness_Proxy(
   9629     IXpsOMPath* This,
   9630     FLOAT *strokeThickness);
   9631 void __RPC_STUB IXpsOMPath_GetStrokeThickness_Stub(
   9632     IRpcStubBuffer* This,
   9633     IRpcChannelBuffer* pRpcChannelBuffer,
   9634     PRPC_MESSAGE pRpcMessage,
   9635     DWORD* pdwStubPhase);
   9636 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetStrokeThickness_Proxy(
   9637     IXpsOMPath* This,
   9638     FLOAT strokeThickness);
   9639 void __RPC_STUB IXpsOMPath_SetStrokeThickness_Stub(
   9640     IRpcStubBuffer* This,
   9641     IRpcChannelBuffer* pRpcChannelBuffer,
   9642     PRPC_MESSAGE pRpcMessage,
   9643     DWORD* pdwStubPhase);
   9644 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetFillBrush_Proxy(
   9645     IXpsOMPath* This,
   9646     IXpsOMBrush **brush);
   9647 void __RPC_STUB IXpsOMPath_GetFillBrush_Stub(
   9648     IRpcStubBuffer* This,
   9649     IRpcChannelBuffer* pRpcChannelBuffer,
   9650     PRPC_MESSAGE pRpcMessage,
   9651     DWORD* pdwStubPhase);
   9652 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetFillBrushLocal_Proxy(
   9653     IXpsOMPath* This,
   9654     IXpsOMBrush **brush);
   9655 void __RPC_STUB IXpsOMPath_GetFillBrushLocal_Stub(
   9656     IRpcStubBuffer* This,
   9657     IRpcChannelBuffer* pRpcChannelBuffer,
   9658     PRPC_MESSAGE pRpcMessage,
   9659     DWORD* pdwStubPhase);
   9660 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetFillBrushLocal_Proxy(
   9661     IXpsOMPath* This,
   9662     IXpsOMBrush *brush);
   9663 void __RPC_STUB IXpsOMPath_SetFillBrushLocal_Stub(
   9664     IRpcStubBuffer* This,
   9665     IRpcChannelBuffer* pRpcChannelBuffer,
   9666     PRPC_MESSAGE pRpcMessage,
   9667     DWORD* pdwStubPhase);
   9668 HRESULT STDMETHODCALLTYPE IXpsOMPath_GetFillBrushLookup_Proxy(
   9669     IXpsOMPath* This,
   9670     LPWSTR *lookup);
   9671 void __RPC_STUB IXpsOMPath_GetFillBrushLookup_Stub(
   9672     IRpcStubBuffer* This,
   9673     IRpcChannelBuffer* pRpcChannelBuffer,
   9674     PRPC_MESSAGE pRpcMessage,
   9675     DWORD* pdwStubPhase);
   9676 HRESULT STDMETHODCALLTYPE IXpsOMPath_SetFillBrushLookup_Proxy(
   9677     IXpsOMPath* This,
   9678     LPCWSTR lookup);
   9679 void __RPC_STUB IXpsOMPath_SetFillBrushLookup_Stub(
   9680     IRpcStubBuffer* This,
   9681     IRpcChannelBuffer* pRpcChannelBuffer,
   9682     PRPC_MESSAGE pRpcMessage,
   9683     DWORD* pdwStubPhase);
   9684 HRESULT STDMETHODCALLTYPE IXpsOMPath_Clone_Proxy(
   9685     IXpsOMPath* This,
   9686     IXpsOMPath **path);
   9687 void __RPC_STUB IXpsOMPath_Clone_Stub(
   9688     IRpcStubBuffer* This,
   9689     IRpcChannelBuffer* pRpcChannelBuffer,
   9690     PRPC_MESSAGE pRpcMessage,
   9691     DWORD* pdwStubPhase);
   9692 
   9693 #endif  /* __IXpsOMPath_INTERFACE_DEFINED__ */
   9694 
   9695 /*****************************************************************************
   9696  * IXpsOMSolidColorBrush interface
   9697  */
   9698 #ifndef __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
   9699 #define __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
   9700 
   9701 DEFINE_GUID(IID_IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88);
   9702 #if defined(__cplusplus) && !defined(CINTERFACE)
   9703 MIDL_INTERFACE("a06f9f05-3be9-4763-98a8-094fc672e488")
   9704 IXpsOMSolidColorBrush : public IXpsOMBrush
   9705 {
   9706     virtual HRESULT STDMETHODCALLTYPE GetColor(
   9707         XPS_COLOR *color,
   9708         IXpsOMColorProfileResource **colorProfile) = 0;
   9709 
   9710     virtual HRESULT STDMETHODCALLTYPE SetColor(
   9711         const XPS_COLOR *color,
   9712         IXpsOMColorProfileResource *colorProfile) = 0;
   9713 
   9714     virtual HRESULT STDMETHODCALLTYPE Clone(
   9715         IXpsOMSolidColorBrush **solidColorBrush) = 0;
   9716 
   9717 };
   9718 #ifdef __CRT_UUID_DECL
   9719 __CRT_UUID_DECL(IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88)
   9720 #endif
   9721 #else
   9722 typedef struct IXpsOMSolidColorBrushVtbl {
   9723     BEGIN_INTERFACE
   9724 
   9725     /*** IUnknown methods ***/
   9726     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9727         IXpsOMSolidColorBrush* This,
   9728         REFIID riid,
   9729         void **ppvObject);
   9730 
   9731     ULONG (STDMETHODCALLTYPE *AddRef)(
   9732         IXpsOMSolidColorBrush* This);
   9733 
   9734     ULONG (STDMETHODCALLTYPE *Release)(
   9735         IXpsOMSolidColorBrush* This);
   9736 
   9737     /*** IXpsOMShareable methods ***/
   9738     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   9739         IXpsOMSolidColorBrush* This,
   9740         IUnknown **owner);
   9741 
   9742     HRESULT (STDMETHODCALLTYPE *GetType)(
   9743         IXpsOMSolidColorBrush* This,
   9744         XPS_OBJECT_TYPE *type);
   9745 
   9746     /*** IXpsOMBrush methods ***/
   9747     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   9748         IXpsOMSolidColorBrush* This,
   9749         FLOAT *opacity);
   9750 
   9751     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   9752         IXpsOMSolidColorBrush* This,
   9753         FLOAT opacity);
   9754 
   9755     /*** IXpsOMSolidColorBrush methods ***/
   9756     HRESULT (STDMETHODCALLTYPE *GetColor)(
   9757         IXpsOMSolidColorBrush* This,
   9758         XPS_COLOR *color,
   9759         IXpsOMColorProfileResource **colorProfile);
   9760 
   9761     HRESULT (STDMETHODCALLTYPE *SetColor)(
   9762         IXpsOMSolidColorBrush* This,
   9763         const XPS_COLOR *color,
   9764         IXpsOMColorProfileResource *colorProfile);
   9765 
   9766     HRESULT (STDMETHODCALLTYPE *Clone)(
   9767         IXpsOMSolidColorBrush* This,
   9768         IXpsOMSolidColorBrush **solidColorBrush);
   9769 
   9770     END_INTERFACE
   9771 } IXpsOMSolidColorBrushVtbl;
   9772 interface IXpsOMSolidColorBrush {
   9773     CONST_VTBL IXpsOMSolidColorBrushVtbl* lpVtbl;
   9774 };
   9775 
   9776 #ifdef COBJMACROS
   9777 #ifndef WIDL_C_INLINE_WRAPPERS
   9778 /*** IUnknown methods ***/
   9779 #define IXpsOMSolidColorBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9780 #define IXpsOMSolidColorBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   9781 #define IXpsOMSolidColorBrush_Release(This) (This)->lpVtbl->Release(This)
   9782 /*** IXpsOMShareable methods ***/
   9783 #define IXpsOMSolidColorBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   9784 #define IXpsOMSolidColorBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   9785 /*** IXpsOMBrush methods ***/
   9786 #define IXpsOMSolidColorBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   9787 #define IXpsOMSolidColorBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   9788 /*** IXpsOMSolidColorBrush methods ***/
   9789 #define IXpsOMSolidColorBrush_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
   9790 #define IXpsOMSolidColorBrush_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
   9791 #define IXpsOMSolidColorBrush_Clone(This,solidColorBrush) (This)->lpVtbl->Clone(This,solidColorBrush)
   9792 #else
   9793 /*** IUnknown methods ***/
   9794 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_QueryInterface(IXpsOMSolidColorBrush* This,REFIID riid,void **ppvObject) {
   9795     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   9796 }
   9797 static FORCEINLINE ULONG IXpsOMSolidColorBrush_AddRef(IXpsOMSolidColorBrush* This) {
   9798     return This->lpVtbl->AddRef(This);
   9799 }
   9800 static FORCEINLINE ULONG IXpsOMSolidColorBrush_Release(IXpsOMSolidColorBrush* This) {
   9801     return This->lpVtbl->Release(This);
   9802 }
   9803 /*** IXpsOMShareable methods ***/
   9804 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetOwner(IXpsOMSolidColorBrush* This,IUnknown **owner) {
   9805     return This->lpVtbl->GetOwner(This,owner);
   9806 }
   9807 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetType(IXpsOMSolidColorBrush* This,XPS_OBJECT_TYPE *type) {
   9808     return This->lpVtbl->GetType(This,type);
   9809 }
   9810 /*** IXpsOMBrush methods ***/
   9811 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetOpacity(IXpsOMSolidColorBrush* This,FLOAT *opacity) {
   9812     return This->lpVtbl->GetOpacity(This,opacity);
   9813 }
   9814 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_SetOpacity(IXpsOMSolidColorBrush* This,FLOAT opacity) {
   9815     return This->lpVtbl->SetOpacity(This,opacity);
   9816 }
   9817 /*** IXpsOMSolidColorBrush methods ***/
   9818 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetColor(IXpsOMSolidColorBrush* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
   9819     return This->lpVtbl->GetColor(This,color,colorProfile);
   9820 }
   9821 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_SetColor(IXpsOMSolidColorBrush* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
   9822     return This->lpVtbl->SetColor(This,color,colorProfile);
   9823 }
   9824 static FORCEINLINE HRESULT IXpsOMSolidColorBrush_Clone(IXpsOMSolidColorBrush* This,IXpsOMSolidColorBrush **solidColorBrush) {
   9825     return This->lpVtbl->Clone(This,solidColorBrush);
   9826 }
   9827 #endif
   9828 #endif
   9829 
   9830 #endif
   9831 
   9832 HRESULT STDMETHODCALLTYPE IXpsOMSolidColorBrush_GetColor_Proxy(
   9833     IXpsOMSolidColorBrush* This,
   9834     XPS_COLOR *color,
   9835     IXpsOMColorProfileResource **colorProfile);
   9836 void __RPC_STUB IXpsOMSolidColorBrush_GetColor_Stub(
   9837     IRpcStubBuffer* This,
   9838     IRpcChannelBuffer* pRpcChannelBuffer,
   9839     PRPC_MESSAGE pRpcMessage,
   9840     DWORD* pdwStubPhase);
   9841 HRESULT STDMETHODCALLTYPE IXpsOMSolidColorBrush_SetColor_Proxy(
   9842     IXpsOMSolidColorBrush* This,
   9843     const XPS_COLOR *color,
   9844     IXpsOMColorProfileResource *colorProfile);
   9845 void __RPC_STUB IXpsOMSolidColorBrush_SetColor_Stub(
   9846     IRpcStubBuffer* This,
   9847     IRpcChannelBuffer* pRpcChannelBuffer,
   9848     PRPC_MESSAGE pRpcMessage,
   9849     DWORD* pdwStubPhase);
   9850 HRESULT STDMETHODCALLTYPE IXpsOMSolidColorBrush_Clone_Proxy(
   9851     IXpsOMSolidColorBrush* This,
   9852     IXpsOMSolidColorBrush **solidColorBrush);
   9853 void __RPC_STUB IXpsOMSolidColorBrush_Clone_Stub(
   9854     IRpcStubBuffer* This,
   9855     IRpcChannelBuffer* pRpcChannelBuffer,
   9856     PRPC_MESSAGE pRpcMessage,
   9857     DWORD* pdwStubPhase);
   9858 
   9859 #endif  /* __IXpsOMSolidColorBrush_INTERFACE_DEFINED__ */
   9860 
   9861 /*****************************************************************************
   9862  * IXpsOMTileBrush interface
   9863  */
   9864 #ifndef __IXpsOMTileBrush_INTERFACE_DEFINED__
   9865 #define __IXpsOMTileBrush_INTERFACE_DEFINED__
   9866 
   9867 DEFINE_GUID(IID_IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e);
   9868 #if defined(__cplusplus) && !defined(CINTERFACE)
   9869 MIDL_INTERFACE("0fc2328d-d722-4a54-b2ec-be90218a789e")
   9870 IXpsOMTileBrush : public IXpsOMBrush
   9871 {
   9872     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   9873         IXpsOMMatrixTransform **transform) = 0;
   9874 
   9875     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   9876         IXpsOMMatrixTransform **transform) = 0;
   9877 
   9878     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   9879         IXpsOMMatrixTransform *transform) = 0;
   9880 
   9881     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   9882         LPWSTR *key) = 0;
   9883 
   9884     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   9885         LPCWSTR key) = 0;
   9886 
   9887     virtual HRESULT STDMETHODCALLTYPE GetViewbox(
   9888         XPS_RECT *viewbox) = 0;
   9889 
   9890     virtual HRESULT STDMETHODCALLTYPE SetViewbox(
   9891         const XPS_RECT *viewbox) = 0;
   9892 
   9893     virtual HRESULT STDMETHODCALLTYPE GetViewport(
   9894         XPS_RECT *viewport) = 0;
   9895 
   9896     virtual HRESULT STDMETHODCALLTYPE SetViewport(
   9897         const XPS_RECT *viewport) = 0;
   9898 
   9899     virtual HRESULT STDMETHODCALLTYPE GetTileMode(
   9900         XPS_TILE_MODE *tileMode) = 0;
   9901 
   9902     virtual HRESULT STDMETHODCALLTYPE SetTileMode(
   9903         XPS_TILE_MODE tileMode) = 0;
   9904 
   9905 };
   9906 #ifdef __CRT_UUID_DECL
   9907 __CRT_UUID_DECL(IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e)
   9908 #endif
   9909 #else
   9910 typedef struct IXpsOMTileBrushVtbl {
   9911     BEGIN_INTERFACE
   9912 
   9913     /*** IUnknown methods ***/
   9914     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   9915         IXpsOMTileBrush* This,
   9916         REFIID riid,
   9917         void **ppvObject);
   9918 
   9919     ULONG (STDMETHODCALLTYPE *AddRef)(
   9920         IXpsOMTileBrush* This);
   9921 
   9922     ULONG (STDMETHODCALLTYPE *Release)(
   9923         IXpsOMTileBrush* This);
   9924 
   9925     /*** IXpsOMShareable methods ***/
   9926     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   9927         IXpsOMTileBrush* This,
   9928         IUnknown **owner);
   9929 
   9930     HRESULT (STDMETHODCALLTYPE *GetType)(
   9931         IXpsOMTileBrush* This,
   9932         XPS_OBJECT_TYPE *type);
   9933 
   9934     /*** IXpsOMBrush methods ***/
   9935     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   9936         IXpsOMTileBrush* This,
   9937         FLOAT *opacity);
   9938 
   9939     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   9940         IXpsOMTileBrush* This,
   9941         FLOAT opacity);
   9942 
   9943     /*** IXpsOMTileBrush methods ***/
   9944     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   9945         IXpsOMTileBrush* This,
   9946         IXpsOMMatrixTransform **transform);
   9947 
   9948     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   9949         IXpsOMTileBrush* This,
   9950         IXpsOMMatrixTransform **transform);
   9951 
   9952     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   9953         IXpsOMTileBrush* This,
   9954         IXpsOMMatrixTransform *transform);
   9955 
   9956     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   9957         IXpsOMTileBrush* This,
   9958         LPWSTR *key);
   9959 
   9960     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   9961         IXpsOMTileBrush* This,
   9962         LPCWSTR key);
   9963 
   9964     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   9965         IXpsOMTileBrush* This,
   9966         XPS_RECT *viewbox);
   9967 
   9968     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   9969         IXpsOMTileBrush* This,
   9970         const XPS_RECT *viewbox);
   9971 
   9972     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   9973         IXpsOMTileBrush* This,
   9974         XPS_RECT *viewport);
   9975 
   9976     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   9977         IXpsOMTileBrush* This,
   9978         const XPS_RECT *viewport);
   9979 
   9980     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   9981         IXpsOMTileBrush* This,
   9982         XPS_TILE_MODE *tileMode);
   9983 
   9984     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   9985         IXpsOMTileBrush* This,
   9986         XPS_TILE_MODE tileMode);
   9987 
   9988     END_INTERFACE
   9989 } IXpsOMTileBrushVtbl;
   9990 interface IXpsOMTileBrush {
   9991     CONST_VTBL IXpsOMTileBrushVtbl* lpVtbl;
   9992 };
   9993 
   9994 #ifdef COBJMACROS
   9995 #ifndef WIDL_C_INLINE_WRAPPERS
   9996 /*** IUnknown methods ***/
   9997 #define IXpsOMTileBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   9998 #define IXpsOMTileBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   9999 #define IXpsOMTileBrush_Release(This) (This)->lpVtbl->Release(This)
   10000 /*** IXpsOMShareable methods ***/
   10001 #define IXpsOMTileBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   10002 #define IXpsOMTileBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   10003 /*** IXpsOMBrush methods ***/
   10004 #define IXpsOMTileBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   10005 #define IXpsOMTileBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   10006 /*** IXpsOMTileBrush methods ***/
   10007 #define IXpsOMTileBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   10008 #define IXpsOMTileBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   10009 #define IXpsOMTileBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   10010 #define IXpsOMTileBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   10011 #define IXpsOMTileBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   10012 #define IXpsOMTileBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   10013 #define IXpsOMTileBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   10014 #define IXpsOMTileBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   10015 #define IXpsOMTileBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   10016 #define IXpsOMTileBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   10017 #define IXpsOMTileBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   10018 #else
   10019 /*** IUnknown methods ***/
   10020 static FORCEINLINE HRESULT IXpsOMTileBrush_QueryInterface(IXpsOMTileBrush* This,REFIID riid,void **ppvObject) {
   10021     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   10022 }
   10023 static FORCEINLINE ULONG IXpsOMTileBrush_AddRef(IXpsOMTileBrush* This) {
   10024     return This->lpVtbl->AddRef(This);
   10025 }
   10026 static FORCEINLINE ULONG IXpsOMTileBrush_Release(IXpsOMTileBrush* This) {
   10027     return This->lpVtbl->Release(This);
   10028 }
   10029 /*** IXpsOMShareable methods ***/
   10030 static FORCEINLINE HRESULT IXpsOMTileBrush_GetOwner(IXpsOMTileBrush* This,IUnknown **owner) {
   10031     return This->lpVtbl->GetOwner(This,owner);
   10032 }
   10033 static FORCEINLINE HRESULT IXpsOMTileBrush_GetType(IXpsOMTileBrush* This,XPS_OBJECT_TYPE *type) {
   10034     return This->lpVtbl->GetType(This,type);
   10035 }
   10036 /*** IXpsOMBrush methods ***/
   10037 static FORCEINLINE HRESULT IXpsOMTileBrush_GetOpacity(IXpsOMTileBrush* This,FLOAT *opacity) {
   10038     return This->lpVtbl->GetOpacity(This,opacity);
   10039 }
   10040 static FORCEINLINE HRESULT IXpsOMTileBrush_SetOpacity(IXpsOMTileBrush* This,FLOAT opacity) {
   10041     return This->lpVtbl->SetOpacity(This,opacity);
   10042 }
   10043 /*** IXpsOMTileBrush methods ***/
   10044 static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransform(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
   10045     return This->lpVtbl->GetTransform(This,transform);
   10046 }
   10047 static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
   10048     return This->lpVtbl->GetTransformLocal(This,transform);
   10049 }
   10050 static FORCEINLINE HRESULT IXpsOMTileBrush_SetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform *transform) {
   10051     return This->lpVtbl->SetTransformLocal(This,transform);
   10052 }
   10053 static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransformLookup(IXpsOMTileBrush* This,LPWSTR *key) {
   10054     return This->lpVtbl->GetTransformLookup(This,key);
   10055 }
   10056 static FORCEINLINE HRESULT IXpsOMTileBrush_SetTransformLookup(IXpsOMTileBrush* This,LPCWSTR key) {
   10057     return This->lpVtbl->SetTransformLookup(This,key);
   10058 }
   10059 static FORCEINLINE HRESULT IXpsOMTileBrush_GetViewbox(IXpsOMTileBrush* This,XPS_RECT *viewbox) {
   10060     return This->lpVtbl->GetViewbox(This,viewbox);
   10061 }
   10062 static FORCEINLINE HRESULT IXpsOMTileBrush_SetViewbox(IXpsOMTileBrush* This,const XPS_RECT *viewbox) {
   10063     return This->lpVtbl->SetViewbox(This,viewbox);
   10064 }
   10065 static FORCEINLINE HRESULT IXpsOMTileBrush_GetViewport(IXpsOMTileBrush* This,XPS_RECT *viewport) {
   10066     return This->lpVtbl->GetViewport(This,viewport);
   10067 }
   10068 static FORCEINLINE HRESULT IXpsOMTileBrush_SetViewport(IXpsOMTileBrush* This,const XPS_RECT *viewport) {
   10069     return This->lpVtbl->SetViewport(This,viewport);
   10070 }
   10071 static FORCEINLINE HRESULT IXpsOMTileBrush_GetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE *tileMode) {
   10072     return This->lpVtbl->GetTileMode(This,tileMode);
   10073 }
   10074 static FORCEINLINE HRESULT IXpsOMTileBrush_SetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE tileMode) {
   10075     return This->lpVtbl->SetTileMode(This,tileMode);
   10076 }
   10077 #endif
   10078 #endif
   10079 
   10080 #endif
   10081 
   10082 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetTransform_Proxy(
   10083     IXpsOMTileBrush* This,
   10084     IXpsOMMatrixTransform **transform);
   10085 void __RPC_STUB IXpsOMTileBrush_GetTransform_Stub(
   10086     IRpcStubBuffer* This,
   10087     IRpcChannelBuffer* pRpcChannelBuffer,
   10088     PRPC_MESSAGE pRpcMessage,
   10089     DWORD* pdwStubPhase);
   10090 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetTransformLocal_Proxy(
   10091     IXpsOMTileBrush* This,
   10092     IXpsOMMatrixTransform **transform);
   10093 void __RPC_STUB IXpsOMTileBrush_GetTransformLocal_Stub(
   10094     IRpcStubBuffer* This,
   10095     IRpcChannelBuffer* pRpcChannelBuffer,
   10096     PRPC_MESSAGE pRpcMessage,
   10097     DWORD* pdwStubPhase);
   10098 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_SetTransformLocal_Proxy(
   10099     IXpsOMTileBrush* This,
   10100     IXpsOMMatrixTransform *transform);
   10101 void __RPC_STUB IXpsOMTileBrush_SetTransformLocal_Stub(
   10102     IRpcStubBuffer* This,
   10103     IRpcChannelBuffer* pRpcChannelBuffer,
   10104     PRPC_MESSAGE pRpcMessage,
   10105     DWORD* pdwStubPhase);
   10106 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetTransformLookup_Proxy(
   10107     IXpsOMTileBrush* This,
   10108     LPWSTR *key);
   10109 void __RPC_STUB IXpsOMTileBrush_GetTransformLookup_Stub(
   10110     IRpcStubBuffer* This,
   10111     IRpcChannelBuffer* pRpcChannelBuffer,
   10112     PRPC_MESSAGE pRpcMessage,
   10113     DWORD* pdwStubPhase);
   10114 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_SetTransformLookup_Proxy(
   10115     IXpsOMTileBrush* This,
   10116     LPCWSTR key);
   10117 void __RPC_STUB IXpsOMTileBrush_SetTransformLookup_Stub(
   10118     IRpcStubBuffer* This,
   10119     IRpcChannelBuffer* pRpcChannelBuffer,
   10120     PRPC_MESSAGE pRpcMessage,
   10121     DWORD* pdwStubPhase);
   10122 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetViewbox_Proxy(
   10123     IXpsOMTileBrush* This,
   10124     XPS_RECT *viewbox);
   10125 void __RPC_STUB IXpsOMTileBrush_GetViewbox_Stub(
   10126     IRpcStubBuffer* This,
   10127     IRpcChannelBuffer* pRpcChannelBuffer,
   10128     PRPC_MESSAGE pRpcMessage,
   10129     DWORD* pdwStubPhase);
   10130 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_SetViewbox_Proxy(
   10131     IXpsOMTileBrush* This,
   10132     const XPS_RECT *viewbox);
   10133 void __RPC_STUB IXpsOMTileBrush_SetViewbox_Stub(
   10134     IRpcStubBuffer* This,
   10135     IRpcChannelBuffer* pRpcChannelBuffer,
   10136     PRPC_MESSAGE pRpcMessage,
   10137     DWORD* pdwStubPhase);
   10138 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetViewport_Proxy(
   10139     IXpsOMTileBrush* This,
   10140     XPS_RECT *viewport);
   10141 void __RPC_STUB IXpsOMTileBrush_GetViewport_Stub(
   10142     IRpcStubBuffer* This,
   10143     IRpcChannelBuffer* pRpcChannelBuffer,
   10144     PRPC_MESSAGE pRpcMessage,
   10145     DWORD* pdwStubPhase);
   10146 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_SetViewport_Proxy(
   10147     IXpsOMTileBrush* This,
   10148     const XPS_RECT *viewport);
   10149 void __RPC_STUB IXpsOMTileBrush_SetViewport_Stub(
   10150     IRpcStubBuffer* This,
   10151     IRpcChannelBuffer* pRpcChannelBuffer,
   10152     PRPC_MESSAGE pRpcMessage,
   10153     DWORD* pdwStubPhase);
   10154 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_GetTileMode_Proxy(
   10155     IXpsOMTileBrush* This,
   10156     XPS_TILE_MODE *tileMode);
   10157 void __RPC_STUB IXpsOMTileBrush_GetTileMode_Stub(
   10158     IRpcStubBuffer* This,
   10159     IRpcChannelBuffer* pRpcChannelBuffer,
   10160     PRPC_MESSAGE pRpcMessage,
   10161     DWORD* pdwStubPhase);
   10162 HRESULT STDMETHODCALLTYPE IXpsOMTileBrush_SetTileMode_Proxy(
   10163     IXpsOMTileBrush* This,
   10164     XPS_TILE_MODE tileMode);
   10165 void __RPC_STUB IXpsOMTileBrush_SetTileMode_Stub(
   10166     IRpcStubBuffer* This,
   10167     IRpcChannelBuffer* pRpcChannelBuffer,
   10168     PRPC_MESSAGE pRpcMessage,
   10169     DWORD* pdwStubPhase);
   10170 
   10171 #endif  /* __IXpsOMTileBrush_INTERFACE_DEFINED__ */
   10172 
   10173 /*****************************************************************************
   10174  * IXpsOMGradientBrush interface
   10175  */
   10176 #ifndef __IXpsOMGradientBrush_INTERFACE_DEFINED__
   10177 #define __IXpsOMGradientBrush_INTERFACE_DEFINED__
   10178 
   10179 DEFINE_GUID(IID_IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf);
   10180 #if defined(__cplusplus) && !defined(CINTERFACE)
   10181 MIDL_INTERFACE("edb59622-61a2-42c3-bace-acf2286c06bf")
   10182 IXpsOMGradientBrush : public IXpsOMBrush
   10183 {
   10184     virtual HRESULT STDMETHODCALLTYPE GetGradientStops(
   10185         IXpsOMGradientStopCollection **gradientStops) = 0;
   10186 
   10187     virtual HRESULT STDMETHODCALLTYPE GetTransform(
   10188         IXpsOMMatrixTransform **transform) = 0;
   10189 
   10190     virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
   10191         IXpsOMMatrixTransform **transform) = 0;
   10192 
   10193     virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
   10194         IXpsOMMatrixTransform *transform) = 0;
   10195 
   10196     virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
   10197         LPWSTR *key) = 0;
   10198 
   10199     virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
   10200         LPCWSTR key) = 0;
   10201 
   10202     virtual HRESULT STDMETHODCALLTYPE GetSpreadMethod(
   10203         XPS_SPREAD_METHOD *spreadMethod) = 0;
   10204 
   10205     virtual HRESULT STDMETHODCALLTYPE SetSpreadMethod(
   10206         XPS_SPREAD_METHOD spreadMethod) = 0;
   10207 
   10208     virtual HRESULT STDMETHODCALLTYPE GetColorInterpolationMode(
   10209         XPS_COLOR_INTERPOLATION *colorInterpolationMode) = 0;
   10210 
   10211     virtual HRESULT STDMETHODCALLTYPE SetColorInterpolationMode(
   10212         XPS_COLOR_INTERPOLATION colorInterpolationMode) = 0;
   10213 
   10214 };
   10215 #ifdef __CRT_UUID_DECL
   10216 __CRT_UUID_DECL(IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf)
   10217 #endif
   10218 #else
   10219 typedef struct IXpsOMGradientBrushVtbl {
   10220     BEGIN_INTERFACE
   10221 
   10222     /*** IUnknown methods ***/
   10223     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   10224         IXpsOMGradientBrush* This,
   10225         REFIID riid,
   10226         void **ppvObject);
   10227 
   10228     ULONG (STDMETHODCALLTYPE *AddRef)(
   10229         IXpsOMGradientBrush* This);
   10230 
   10231     ULONG (STDMETHODCALLTYPE *Release)(
   10232         IXpsOMGradientBrush* This);
   10233 
   10234     /*** IXpsOMShareable methods ***/
   10235     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   10236         IXpsOMGradientBrush* This,
   10237         IUnknown **owner);
   10238 
   10239     HRESULT (STDMETHODCALLTYPE *GetType)(
   10240         IXpsOMGradientBrush* This,
   10241         XPS_OBJECT_TYPE *type);
   10242 
   10243     /*** IXpsOMBrush methods ***/
   10244     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   10245         IXpsOMGradientBrush* This,
   10246         FLOAT *opacity);
   10247 
   10248     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   10249         IXpsOMGradientBrush* This,
   10250         FLOAT opacity);
   10251 
   10252     /*** IXpsOMGradientBrush methods ***/
   10253     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   10254         IXpsOMGradientBrush* This,
   10255         IXpsOMGradientStopCollection **gradientStops);
   10256 
   10257     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   10258         IXpsOMGradientBrush* This,
   10259         IXpsOMMatrixTransform **transform);
   10260 
   10261     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   10262         IXpsOMGradientBrush* This,
   10263         IXpsOMMatrixTransform **transform);
   10264 
   10265     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   10266         IXpsOMGradientBrush* This,
   10267         IXpsOMMatrixTransform *transform);
   10268 
   10269     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   10270         IXpsOMGradientBrush* This,
   10271         LPWSTR *key);
   10272 
   10273     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   10274         IXpsOMGradientBrush* This,
   10275         LPCWSTR key);
   10276 
   10277     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   10278         IXpsOMGradientBrush* This,
   10279         XPS_SPREAD_METHOD *spreadMethod);
   10280 
   10281     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   10282         IXpsOMGradientBrush* This,
   10283         XPS_SPREAD_METHOD spreadMethod);
   10284 
   10285     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   10286         IXpsOMGradientBrush* This,
   10287         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   10288 
   10289     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   10290         IXpsOMGradientBrush* This,
   10291         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   10292 
   10293     END_INTERFACE
   10294 } IXpsOMGradientBrushVtbl;
   10295 interface IXpsOMGradientBrush {
   10296     CONST_VTBL IXpsOMGradientBrushVtbl* lpVtbl;
   10297 };
   10298 
   10299 #ifdef COBJMACROS
   10300 #ifndef WIDL_C_INLINE_WRAPPERS
   10301 /*** IUnknown methods ***/
   10302 #define IXpsOMGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   10303 #define IXpsOMGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   10304 #define IXpsOMGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   10305 /*** IXpsOMShareable methods ***/
   10306 #define IXpsOMGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   10307 #define IXpsOMGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   10308 /*** IXpsOMBrush methods ***/
   10309 #define IXpsOMGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   10310 #define IXpsOMGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   10311 /*** IXpsOMGradientBrush methods ***/
   10312 #define IXpsOMGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   10313 #define IXpsOMGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   10314 #define IXpsOMGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   10315 #define IXpsOMGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   10316 #define IXpsOMGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   10317 #define IXpsOMGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   10318 #define IXpsOMGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   10319 #define IXpsOMGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   10320 #define IXpsOMGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   10321 #define IXpsOMGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   10322 #else
   10323 /*** IUnknown methods ***/
   10324 static FORCEINLINE HRESULT IXpsOMGradientBrush_QueryInterface(IXpsOMGradientBrush* This,REFIID riid,void **ppvObject) {
   10325     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   10326 }
   10327 static FORCEINLINE ULONG IXpsOMGradientBrush_AddRef(IXpsOMGradientBrush* This) {
   10328     return This->lpVtbl->AddRef(This);
   10329 }
   10330 static FORCEINLINE ULONG IXpsOMGradientBrush_Release(IXpsOMGradientBrush* This) {
   10331     return This->lpVtbl->Release(This);
   10332 }
   10333 /*** IXpsOMShareable methods ***/
   10334 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetOwner(IXpsOMGradientBrush* This,IUnknown **owner) {
   10335     return This->lpVtbl->GetOwner(This,owner);
   10336 }
   10337 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetType(IXpsOMGradientBrush* This,XPS_OBJECT_TYPE *type) {
   10338     return This->lpVtbl->GetType(This,type);
   10339 }
   10340 /*** IXpsOMBrush methods ***/
   10341 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetOpacity(IXpsOMGradientBrush* This,FLOAT *opacity) {
   10342     return This->lpVtbl->GetOpacity(This,opacity);
   10343 }
   10344 static FORCEINLINE HRESULT IXpsOMGradientBrush_SetOpacity(IXpsOMGradientBrush* This,FLOAT opacity) {
   10345     return This->lpVtbl->SetOpacity(This,opacity);
   10346 }
   10347 /*** IXpsOMGradientBrush methods ***/
   10348 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetGradientStops(IXpsOMGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   10349     return This->lpVtbl->GetGradientStops(This,gradientStops);
   10350 }
   10351 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransform(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
   10352     return This->lpVtbl->GetTransform(This,transform);
   10353 }
   10354 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
   10355     return This->lpVtbl->GetTransformLocal(This,transform);
   10356 }
   10357 static FORCEINLINE HRESULT IXpsOMGradientBrush_SetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform *transform) {
   10358     return This->lpVtbl->SetTransformLocal(This,transform);
   10359 }
   10360 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransformLookup(IXpsOMGradientBrush* This,LPWSTR *key) {
   10361     return This->lpVtbl->GetTransformLookup(This,key);
   10362 }
   10363 static FORCEINLINE HRESULT IXpsOMGradientBrush_SetTransformLookup(IXpsOMGradientBrush* This,LPCWSTR key) {
   10364     return This->lpVtbl->SetTransformLookup(This,key);
   10365 }
   10366 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   10367     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   10368 }
   10369 static FORCEINLINE HRESULT IXpsOMGradientBrush_SetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   10370     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   10371 }
   10372 static FORCEINLINE HRESULT IXpsOMGradientBrush_GetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   10373     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   10374 }
   10375 static FORCEINLINE HRESULT IXpsOMGradientBrush_SetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   10376     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   10377 }
   10378 #endif
   10379 #endif
   10380 
   10381 #endif
   10382 
   10383 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetGradientStops_Proxy(
   10384     IXpsOMGradientBrush* This,
   10385     IXpsOMGradientStopCollection **gradientStops);
   10386 void __RPC_STUB IXpsOMGradientBrush_GetGradientStops_Stub(
   10387     IRpcStubBuffer* This,
   10388     IRpcChannelBuffer* pRpcChannelBuffer,
   10389     PRPC_MESSAGE pRpcMessage,
   10390     DWORD* pdwStubPhase);
   10391 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetTransform_Proxy(
   10392     IXpsOMGradientBrush* This,
   10393     IXpsOMMatrixTransform **transform);
   10394 void __RPC_STUB IXpsOMGradientBrush_GetTransform_Stub(
   10395     IRpcStubBuffer* This,
   10396     IRpcChannelBuffer* pRpcChannelBuffer,
   10397     PRPC_MESSAGE pRpcMessage,
   10398     DWORD* pdwStubPhase);
   10399 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetTransformLocal_Proxy(
   10400     IXpsOMGradientBrush* This,
   10401     IXpsOMMatrixTransform **transform);
   10402 void __RPC_STUB IXpsOMGradientBrush_GetTransformLocal_Stub(
   10403     IRpcStubBuffer* This,
   10404     IRpcChannelBuffer* pRpcChannelBuffer,
   10405     PRPC_MESSAGE pRpcMessage,
   10406     DWORD* pdwStubPhase);
   10407 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_SetTransformLocal_Proxy(
   10408     IXpsOMGradientBrush* This,
   10409     IXpsOMMatrixTransform *transform);
   10410 void __RPC_STUB IXpsOMGradientBrush_SetTransformLocal_Stub(
   10411     IRpcStubBuffer* This,
   10412     IRpcChannelBuffer* pRpcChannelBuffer,
   10413     PRPC_MESSAGE pRpcMessage,
   10414     DWORD* pdwStubPhase);
   10415 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetTransformLookup_Proxy(
   10416     IXpsOMGradientBrush* This,
   10417     LPWSTR *key);
   10418 void __RPC_STUB IXpsOMGradientBrush_GetTransformLookup_Stub(
   10419     IRpcStubBuffer* This,
   10420     IRpcChannelBuffer* pRpcChannelBuffer,
   10421     PRPC_MESSAGE pRpcMessage,
   10422     DWORD* pdwStubPhase);
   10423 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_SetTransformLookup_Proxy(
   10424     IXpsOMGradientBrush* This,
   10425     LPCWSTR key);
   10426 void __RPC_STUB IXpsOMGradientBrush_SetTransformLookup_Stub(
   10427     IRpcStubBuffer* This,
   10428     IRpcChannelBuffer* pRpcChannelBuffer,
   10429     PRPC_MESSAGE pRpcMessage,
   10430     DWORD* pdwStubPhase);
   10431 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetSpreadMethod_Proxy(
   10432     IXpsOMGradientBrush* This,
   10433     XPS_SPREAD_METHOD *spreadMethod);
   10434 void __RPC_STUB IXpsOMGradientBrush_GetSpreadMethod_Stub(
   10435     IRpcStubBuffer* This,
   10436     IRpcChannelBuffer* pRpcChannelBuffer,
   10437     PRPC_MESSAGE pRpcMessage,
   10438     DWORD* pdwStubPhase);
   10439 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_SetSpreadMethod_Proxy(
   10440     IXpsOMGradientBrush* This,
   10441     XPS_SPREAD_METHOD spreadMethod);
   10442 void __RPC_STUB IXpsOMGradientBrush_SetSpreadMethod_Stub(
   10443     IRpcStubBuffer* This,
   10444     IRpcChannelBuffer* pRpcChannelBuffer,
   10445     PRPC_MESSAGE pRpcMessage,
   10446     DWORD* pdwStubPhase);
   10447 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_GetColorInterpolationMode_Proxy(
   10448     IXpsOMGradientBrush* This,
   10449     XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   10450 void __RPC_STUB IXpsOMGradientBrush_GetColorInterpolationMode_Stub(
   10451     IRpcStubBuffer* This,
   10452     IRpcChannelBuffer* pRpcChannelBuffer,
   10453     PRPC_MESSAGE pRpcMessage,
   10454     DWORD* pdwStubPhase);
   10455 HRESULT STDMETHODCALLTYPE IXpsOMGradientBrush_SetColorInterpolationMode_Proxy(
   10456     IXpsOMGradientBrush* This,
   10457     XPS_COLOR_INTERPOLATION colorInterpolationMode);
   10458 void __RPC_STUB IXpsOMGradientBrush_SetColorInterpolationMode_Stub(
   10459     IRpcStubBuffer* This,
   10460     IRpcChannelBuffer* pRpcChannelBuffer,
   10461     PRPC_MESSAGE pRpcMessage,
   10462     DWORD* pdwStubPhase);
   10463 
   10464 #endif  /* __IXpsOMGradientBrush_INTERFACE_DEFINED__ */
   10465 
   10466 /*****************************************************************************
   10467  * IXpsOMVisualBrush interface
   10468  */
   10469 #ifndef __IXpsOMVisualBrush_INTERFACE_DEFINED__
   10470 #define __IXpsOMVisualBrush_INTERFACE_DEFINED__
   10471 
   10472 DEFINE_GUID(IID_IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b);
   10473 #if defined(__cplusplus) && !defined(CINTERFACE)
   10474 MIDL_INTERFACE("97e294af-5b37-46b4-8057-874d2f64119b")
   10475 IXpsOMVisualBrush : public IXpsOMTileBrush
   10476 {
   10477     virtual HRESULT STDMETHODCALLTYPE GetVisual(
   10478         IXpsOMVisual **visual) = 0;
   10479 
   10480     virtual HRESULT STDMETHODCALLTYPE GetVisualLocal(
   10481         IXpsOMVisual **visual) = 0;
   10482 
   10483     virtual HRESULT STDMETHODCALLTYPE SetVisualLocal(
   10484         IXpsOMVisual *visual) = 0;
   10485 
   10486     virtual HRESULT STDMETHODCALLTYPE GetVisualLookup(
   10487         LPWSTR *lookup) = 0;
   10488 
   10489     virtual HRESULT STDMETHODCALLTYPE SetVisualLookup(
   10490         LPCWSTR lookup) = 0;
   10491 
   10492     virtual HRESULT STDMETHODCALLTYPE Clone(
   10493         IXpsOMVisualBrush **visualBrush) = 0;
   10494 
   10495 };
   10496 #ifdef __CRT_UUID_DECL
   10497 __CRT_UUID_DECL(IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b)
   10498 #endif
   10499 #else
   10500 typedef struct IXpsOMVisualBrushVtbl {
   10501     BEGIN_INTERFACE
   10502 
   10503     /*** IUnknown methods ***/
   10504     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   10505         IXpsOMVisualBrush* This,
   10506         REFIID riid,
   10507         void **ppvObject);
   10508 
   10509     ULONG (STDMETHODCALLTYPE *AddRef)(
   10510         IXpsOMVisualBrush* This);
   10511 
   10512     ULONG (STDMETHODCALLTYPE *Release)(
   10513         IXpsOMVisualBrush* This);
   10514 
   10515     /*** IXpsOMShareable methods ***/
   10516     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   10517         IXpsOMVisualBrush* This,
   10518         IUnknown **owner);
   10519 
   10520     HRESULT (STDMETHODCALLTYPE *GetType)(
   10521         IXpsOMVisualBrush* This,
   10522         XPS_OBJECT_TYPE *type);
   10523 
   10524     /*** IXpsOMBrush methods ***/
   10525     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   10526         IXpsOMVisualBrush* This,
   10527         FLOAT *opacity);
   10528 
   10529     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   10530         IXpsOMVisualBrush* This,
   10531         FLOAT opacity);
   10532 
   10533     /*** IXpsOMTileBrush methods ***/
   10534     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   10535         IXpsOMVisualBrush* This,
   10536         IXpsOMMatrixTransform **transform);
   10537 
   10538     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   10539         IXpsOMVisualBrush* This,
   10540         IXpsOMMatrixTransform **transform);
   10541 
   10542     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   10543         IXpsOMVisualBrush* This,
   10544         IXpsOMMatrixTransform *transform);
   10545 
   10546     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   10547         IXpsOMVisualBrush* This,
   10548         LPWSTR *key);
   10549 
   10550     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   10551         IXpsOMVisualBrush* This,
   10552         LPCWSTR key);
   10553 
   10554     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   10555         IXpsOMVisualBrush* This,
   10556         XPS_RECT *viewbox);
   10557 
   10558     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   10559         IXpsOMVisualBrush* This,
   10560         const XPS_RECT *viewbox);
   10561 
   10562     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   10563         IXpsOMVisualBrush* This,
   10564         XPS_RECT *viewport);
   10565 
   10566     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   10567         IXpsOMVisualBrush* This,
   10568         const XPS_RECT *viewport);
   10569 
   10570     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   10571         IXpsOMVisualBrush* This,
   10572         XPS_TILE_MODE *tileMode);
   10573 
   10574     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   10575         IXpsOMVisualBrush* This,
   10576         XPS_TILE_MODE tileMode);
   10577 
   10578     /*** IXpsOMVisualBrush methods ***/
   10579     HRESULT (STDMETHODCALLTYPE *GetVisual)(
   10580         IXpsOMVisualBrush* This,
   10581         IXpsOMVisual **visual);
   10582 
   10583     HRESULT (STDMETHODCALLTYPE *GetVisualLocal)(
   10584         IXpsOMVisualBrush* This,
   10585         IXpsOMVisual **visual);
   10586 
   10587     HRESULT (STDMETHODCALLTYPE *SetVisualLocal)(
   10588         IXpsOMVisualBrush* This,
   10589         IXpsOMVisual *visual);
   10590 
   10591     HRESULT (STDMETHODCALLTYPE *GetVisualLookup)(
   10592         IXpsOMVisualBrush* This,
   10593         LPWSTR *lookup);
   10594 
   10595     HRESULT (STDMETHODCALLTYPE *SetVisualLookup)(
   10596         IXpsOMVisualBrush* This,
   10597         LPCWSTR lookup);
   10598 
   10599     HRESULT (STDMETHODCALLTYPE *Clone)(
   10600         IXpsOMVisualBrush* This,
   10601         IXpsOMVisualBrush **visualBrush);
   10602 
   10603     END_INTERFACE
   10604 } IXpsOMVisualBrushVtbl;
   10605 interface IXpsOMVisualBrush {
   10606     CONST_VTBL IXpsOMVisualBrushVtbl* lpVtbl;
   10607 };
   10608 
   10609 #ifdef COBJMACROS
   10610 #ifndef WIDL_C_INLINE_WRAPPERS
   10611 /*** IUnknown methods ***/
   10612 #define IXpsOMVisualBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   10613 #define IXpsOMVisualBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   10614 #define IXpsOMVisualBrush_Release(This) (This)->lpVtbl->Release(This)
   10615 /*** IXpsOMShareable methods ***/
   10616 #define IXpsOMVisualBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   10617 #define IXpsOMVisualBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   10618 /*** IXpsOMBrush methods ***/
   10619 #define IXpsOMVisualBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   10620 #define IXpsOMVisualBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   10621 /*** IXpsOMTileBrush methods ***/
   10622 #define IXpsOMVisualBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   10623 #define IXpsOMVisualBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   10624 #define IXpsOMVisualBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   10625 #define IXpsOMVisualBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   10626 #define IXpsOMVisualBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   10627 #define IXpsOMVisualBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   10628 #define IXpsOMVisualBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   10629 #define IXpsOMVisualBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   10630 #define IXpsOMVisualBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   10631 #define IXpsOMVisualBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   10632 #define IXpsOMVisualBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   10633 /*** IXpsOMVisualBrush methods ***/
   10634 #define IXpsOMVisualBrush_GetVisual(This,visual) (This)->lpVtbl->GetVisual(This,visual)
   10635 #define IXpsOMVisualBrush_GetVisualLocal(This,visual) (This)->lpVtbl->GetVisualLocal(This,visual)
   10636 #define IXpsOMVisualBrush_SetVisualLocal(This,visual) (This)->lpVtbl->SetVisualLocal(This,visual)
   10637 #define IXpsOMVisualBrush_GetVisualLookup(This,lookup) (This)->lpVtbl->GetVisualLookup(This,lookup)
   10638 #define IXpsOMVisualBrush_SetVisualLookup(This,lookup) (This)->lpVtbl->SetVisualLookup(This,lookup)
   10639 #define IXpsOMVisualBrush_Clone(This,visualBrush) (This)->lpVtbl->Clone(This,visualBrush)
   10640 #else
   10641 /*** IUnknown methods ***/
   10642 static FORCEINLINE HRESULT IXpsOMVisualBrush_QueryInterface(IXpsOMVisualBrush* This,REFIID riid,void **ppvObject) {
   10643     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   10644 }
   10645 static FORCEINLINE ULONG IXpsOMVisualBrush_AddRef(IXpsOMVisualBrush* This) {
   10646     return This->lpVtbl->AddRef(This);
   10647 }
   10648 static FORCEINLINE ULONG IXpsOMVisualBrush_Release(IXpsOMVisualBrush* This) {
   10649     return This->lpVtbl->Release(This);
   10650 }
   10651 /*** IXpsOMShareable methods ***/
   10652 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetOwner(IXpsOMVisualBrush* This,IUnknown **owner) {
   10653     return This->lpVtbl->GetOwner(This,owner);
   10654 }
   10655 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetType(IXpsOMVisualBrush* This,XPS_OBJECT_TYPE *type) {
   10656     return This->lpVtbl->GetType(This,type);
   10657 }
   10658 /*** IXpsOMBrush methods ***/
   10659 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetOpacity(IXpsOMVisualBrush* This,FLOAT *opacity) {
   10660     return This->lpVtbl->GetOpacity(This,opacity);
   10661 }
   10662 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetOpacity(IXpsOMVisualBrush* This,FLOAT opacity) {
   10663     return This->lpVtbl->SetOpacity(This,opacity);
   10664 }
   10665 /*** IXpsOMTileBrush methods ***/
   10666 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransform(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
   10667     return This->lpVtbl->GetTransform(This,transform);
   10668 }
   10669 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
   10670     return This->lpVtbl->GetTransformLocal(This,transform);
   10671 }
   10672 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform *transform) {
   10673     return This->lpVtbl->SetTransformLocal(This,transform);
   10674 }
   10675 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransformLookup(IXpsOMVisualBrush* This,LPWSTR *key) {
   10676     return This->lpVtbl->GetTransformLookup(This,key);
   10677 }
   10678 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTransformLookup(IXpsOMVisualBrush* This,LPCWSTR key) {
   10679     return This->lpVtbl->SetTransformLookup(This,key);
   10680 }
   10681 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetViewbox(IXpsOMVisualBrush* This,XPS_RECT *viewbox) {
   10682     return This->lpVtbl->GetViewbox(This,viewbox);
   10683 }
   10684 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetViewbox(IXpsOMVisualBrush* This,const XPS_RECT *viewbox) {
   10685     return This->lpVtbl->SetViewbox(This,viewbox);
   10686 }
   10687 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetViewport(IXpsOMVisualBrush* This,XPS_RECT *viewport) {
   10688     return This->lpVtbl->GetViewport(This,viewport);
   10689 }
   10690 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetViewport(IXpsOMVisualBrush* This,const XPS_RECT *viewport) {
   10691     return This->lpVtbl->SetViewport(This,viewport);
   10692 }
   10693 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE *tileMode) {
   10694     return This->lpVtbl->GetTileMode(This,tileMode);
   10695 }
   10696 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE tileMode) {
   10697     return This->lpVtbl->SetTileMode(This,tileMode);
   10698 }
   10699 /*** IXpsOMVisualBrush methods ***/
   10700 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisual(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
   10701     return This->lpVtbl->GetVisual(This,visual);
   10702 }
   10703 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
   10704     return This->lpVtbl->GetVisualLocal(This,visual);
   10705 }
   10706 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual *visual) {
   10707     return This->lpVtbl->SetVisualLocal(This,visual);
   10708 }
   10709 static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisualLookup(IXpsOMVisualBrush* This,LPWSTR *lookup) {
   10710     return This->lpVtbl->GetVisualLookup(This,lookup);
   10711 }
   10712 static FORCEINLINE HRESULT IXpsOMVisualBrush_SetVisualLookup(IXpsOMVisualBrush* This,LPCWSTR lookup) {
   10713     return This->lpVtbl->SetVisualLookup(This,lookup);
   10714 }
   10715 static FORCEINLINE HRESULT IXpsOMVisualBrush_Clone(IXpsOMVisualBrush* This,IXpsOMVisualBrush **visualBrush) {
   10716     return This->lpVtbl->Clone(This,visualBrush);
   10717 }
   10718 #endif
   10719 #endif
   10720 
   10721 #endif
   10722 
   10723 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_GetVisual_Proxy(
   10724     IXpsOMVisualBrush* This,
   10725     IXpsOMVisual **visual);
   10726 void __RPC_STUB IXpsOMVisualBrush_GetVisual_Stub(
   10727     IRpcStubBuffer* This,
   10728     IRpcChannelBuffer* pRpcChannelBuffer,
   10729     PRPC_MESSAGE pRpcMessage,
   10730     DWORD* pdwStubPhase);
   10731 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_GetVisualLocal_Proxy(
   10732     IXpsOMVisualBrush* This,
   10733     IXpsOMVisual **visual);
   10734 void __RPC_STUB IXpsOMVisualBrush_GetVisualLocal_Stub(
   10735     IRpcStubBuffer* This,
   10736     IRpcChannelBuffer* pRpcChannelBuffer,
   10737     PRPC_MESSAGE pRpcMessage,
   10738     DWORD* pdwStubPhase);
   10739 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_SetVisualLocal_Proxy(
   10740     IXpsOMVisualBrush* This,
   10741     IXpsOMVisual *visual);
   10742 void __RPC_STUB IXpsOMVisualBrush_SetVisualLocal_Stub(
   10743     IRpcStubBuffer* This,
   10744     IRpcChannelBuffer* pRpcChannelBuffer,
   10745     PRPC_MESSAGE pRpcMessage,
   10746     DWORD* pdwStubPhase);
   10747 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_GetVisualLookup_Proxy(
   10748     IXpsOMVisualBrush* This,
   10749     LPWSTR *lookup);
   10750 void __RPC_STUB IXpsOMVisualBrush_GetVisualLookup_Stub(
   10751     IRpcStubBuffer* This,
   10752     IRpcChannelBuffer* pRpcChannelBuffer,
   10753     PRPC_MESSAGE pRpcMessage,
   10754     DWORD* pdwStubPhase);
   10755 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_SetVisualLookup_Proxy(
   10756     IXpsOMVisualBrush* This,
   10757     LPCWSTR lookup);
   10758 void __RPC_STUB IXpsOMVisualBrush_SetVisualLookup_Stub(
   10759     IRpcStubBuffer* This,
   10760     IRpcChannelBuffer* pRpcChannelBuffer,
   10761     PRPC_MESSAGE pRpcMessage,
   10762     DWORD* pdwStubPhase);
   10763 HRESULT STDMETHODCALLTYPE IXpsOMVisualBrush_Clone_Proxy(
   10764     IXpsOMVisualBrush* This,
   10765     IXpsOMVisualBrush **visualBrush);
   10766 void __RPC_STUB IXpsOMVisualBrush_Clone_Stub(
   10767     IRpcStubBuffer* This,
   10768     IRpcChannelBuffer* pRpcChannelBuffer,
   10769     PRPC_MESSAGE pRpcMessage,
   10770     DWORD* pdwStubPhase);
   10771 
   10772 #endif  /* __IXpsOMVisualBrush_INTERFACE_DEFINED__ */
   10773 
   10774 /*****************************************************************************
   10775  * IXpsOMImageBrush interface
   10776  */
   10777 #ifndef __IXpsOMImageBrush_INTERFACE_DEFINED__
   10778 #define __IXpsOMImageBrush_INTERFACE_DEFINED__
   10779 
   10780 DEFINE_GUID(IID_IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4);
   10781 #if defined(__cplusplus) && !defined(CINTERFACE)
   10782 MIDL_INTERFACE("3df0b466-d382-49ef-8550-dd94c80242e4")
   10783 IXpsOMImageBrush : public IXpsOMTileBrush
   10784 {
   10785     virtual HRESULT STDMETHODCALLTYPE GetImageResource(
   10786         IXpsOMImageResource **imageResource) = 0;
   10787 
   10788     virtual HRESULT STDMETHODCALLTYPE SetImageResource(
   10789         IXpsOMImageResource *imageResource) = 0;
   10790 
   10791     virtual HRESULT STDMETHODCALLTYPE GetColorProfileResource(
   10792         IXpsOMColorProfileResource **colorProfileResource) = 0;
   10793 
   10794     virtual HRESULT STDMETHODCALLTYPE SetColorProfileResource(
   10795         IXpsOMColorProfileResource *colorProfileResource) = 0;
   10796 
   10797     virtual HRESULT STDMETHODCALLTYPE Clone(
   10798         IXpsOMImageBrush **imageBrush) = 0;
   10799 
   10800 };
   10801 #ifdef __CRT_UUID_DECL
   10802 __CRT_UUID_DECL(IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4)
   10803 #endif
   10804 #else
   10805 typedef struct IXpsOMImageBrushVtbl {
   10806     BEGIN_INTERFACE
   10807 
   10808     /*** IUnknown methods ***/
   10809     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   10810         IXpsOMImageBrush* This,
   10811         REFIID riid,
   10812         void **ppvObject);
   10813 
   10814     ULONG (STDMETHODCALLTYPE *AddRef)(
   10815         IXpsOMImageBrush* This);
   10816 
   10817     ULONG (STDMETHODCALLTYPE *Release)(
   10818         IXpsOMImageBrush* This);
   10819 
   10820     /*** IXpsOMShareable methods ***/
   10821     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   10822         IXpsOMImageBrush* This,
   10823         IUnknown **owner);
   10824 
   10825     HRESULT (STDMETHODCALLTYPE *GetType)(
   10826         IXpsOMImageBrush* This,
   10827         XPS_OBJECT_TYPE *type);
   10828 
   10829     /*** IXpsOMBrush methods ***/
   10830     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   10831         IXpsOMImageBrush* This,
   10832         FLOAT *opacity);
   10833 
   10834     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   10835         IXpsOMImageBrush* This,
   10836         FLOAT opacity);
   10837 
   10838     /*** IXpsOMTileBrush methods ***/
   10839     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   10840         IXpsOMImageBrush* This,
   10841         IXpsOMMatrixTransform **transform);
   10842 
   10843     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   10844         IXpsOMImageBrush* This,
   10845         IXpsOMMatrixTransform **transform);
   10846 
   10847     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   10848         IXpsOMImageBrush* This,
   10849         IXpsOMMatrixTransform *transform);
   10850 
   10851     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   10852         IXpsOMImageBrush* This,
   10853         LPWSTR *key);
   10854 
   10855     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   10856         IXpsOMImageBrush* This,
   10857         LPCWSTR key);
   10858 
   10859     HRESULT (STDMETHODCALLTYPE *GetViewbox)(
   10860         IXpsOMImageBrush* This,
   10861         XPS_RECT *viewbox);
   10862 
   10863     HRESULT (STDMETHODCALLTYPE *SetViewbox)(
   10864         IXpsOMImageBrush* This,
   10865         const XPS_RECT *viewbox);
   10866 
   10867     HRESULT (STDMETHODCALLTYPE *GetViewport)(
   10868         IXpsOMImageBrush* This,
   10869         XPS_RECT *viewport);
   10870 
   10871     HRESULT (STDMETHODCALLTYPE *SetViewport)(
   10872         IXpsOMImageBrush* This,
   10873         const XPS_RECT *viewport);
   10874 
   10875     HRESULT (STDMETHODCALLTYPE *GetTileMode)(
   10876         IXpsOMImageBrush* This,
   10877         XPS_TILE_MODE *tileMode);
   10878 
   10879     HRESULT (STDMETHODCALLTYPE *SetTileMode)(
   10880         IXpsOMImageBrush* This,
   10881         XPS_TILE_MODE tileMode);
   10882 
   10883     /*** IXpsOMImageBrush methods ***/
   10884     HRESULT (STDMETHODCALLTYPE *GetImageResource)(
   10885         IXpsOMImageBrush* This,
   10886         IXpsOMImageResource **imageResource);
   10887 
   10888     HRESULT (STDMETHODCALLTYPE *SetImageResource)(
   10889         IXpsOMImageBrush* This,
   10890         IXpsOMImageResource *imageResource);
   10891 
   10892     HRESULT (STDMETHODCALLTYPE *GetColorProfileResource)(
   10893         IXpsOMImageBrush* This,
   10894         IXpsOMColorProfileResource **colorProfileResource);
   10895 
   10896     HRESULT (STDMETHODCALLTYPE *SetColorProfileResource)(
   10897         IXpsOMImageBrush* This,
   10898         IXpsOMColorProfileResource *colorProfileResource);
   10899 
   10900     HRESULT (STDMETHODCALLTYPE *Clone)(
   10901         IXpsOMImageBrush* This,
   10902         IXpsOMImageBrush **imageBrush);
   10903 
   10904     END_INTERFACE
   10905 } IXpsOMImageBrushVtbl;
   10906 interface IXpsOMImageBrush {
   10907     CONST_VTBL IXpsOMImageBrushVtbl* lpVtbl;
   10908 };
   10909 
   10910 #ifdef COBJMACROS
   10911 #ifndef WIDL_C_INLINE_WRAPPERS
   10912 /*** IUnknown methods ***/
   10913 #define IXpsOMImageBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   10914 #define IXpsOMImageBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   10915 #define IXpsOMImageBrush_Release(This) (This)->lpVtbl->Release(This)
   10916 /*** IXpsOMShareable methods ***/
   10917 #define IXpsOMImageBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   10918 #define IXpsOMImageBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   10919 /*** IXpsOMBrush methods ***/
   10920 #define IXpsOMImageBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   10921 #define IXpsOMImageBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   10922 /*** IXpsOMTileBrush methods ***/
   10923 #define IXpsOMImageBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   10924 #define IXpsOMImageBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   10925 #define IXpsOMImageBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   10926 #define IXpsOMImageBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   10927 #define IXpsOMImageBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   10928 #define IXpsOMImageBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
   10929 #define IXpsOMImageBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
   10930 #define IXpsOMImageBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
   10931 #define IXpsOMImageBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
   10932 #define IXpsOMImageBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
   10933 #define IXpsOMImageBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
   10934 /*** IXpsOMImageBrush methods ***/
   10935 #define IXpsOMImageBrush_GetImageResource(This,imageResource) (This)->lpVtbl->GetImageResource(This,imageResource)
   10936 #define IXpsOMImageBrush_SetImageResource(This,imageResource) (This)->lpVtbl->SetImageResource(This,imageResource)
   10937 #define IXpsOMImageBrush_GetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->GetColorProfileResource(This,colorProfileResource)
   10938 #define IXpsOMImageBrush_SetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->SetColorProfileResource(This,colorProfileResource)
   10939 #define IXpsOMImageBrush_Clone(This,imageBrush) (This)->lpVtbl->Clone(This,imageBrush)
   10940 #else
   10941 /*** IUnknown methods ***/
   10942 static FORCEINLINE HRESULT IXpsOMImageBrush_QueryInterface(IXpsOMImageBrush* This,REFIID riid,void **ppvObject) {
   10943     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   10944 }
   10945 static FORCEINLINE ULONG IXpsOMImageBrush_AddRef(IXpsOMImageBrush* This) {
   10946     return This->lpVtbl->AddRef(This);
   10947 }
   10948 static FORCEINLINE ULONG IXpsOMImageBrush_Release(IXpsOMImageBrush* This) {
   10949     return This->lpVtbl->Release(This);
   10950 }
   10951 /*** IXpsOMShareable methods ***/
   10952 static FORCEINLINE HRESULT IXpsOMImageBrush_GetOwner(IXpsOMImageBrush* This,IUnknown **owner) {
   10953     return This->lpVtbl->GetOwner(This,owner);
   10954 }
   10955 static FORCEINLINE HRESULT IXpsOMImageBrush_GetType(IXpsOMImageBrush* This,XPS_OBJECT_TYPE *type) {
   10956     return This->lpVtbl->GetType(This,type);
   10957 }
   10958 /*** IXpsOMBrush methods ***/
   10959 static FORCEINLINE HRESULT IXpsOMImageBrush_GetOpacity(IXpsOMImageBrush* This,FLOAT *opacity) {
   10960     return This->lpVtbl->GetOpacity(This,opacity);
   10961 }
   10962 static FORCEINLINE HRESULT IXpsOMImageBrush_SetOpacity(IXpsOMImageBrush* This,FLOAT opacity) {
   10963     return This->lpVtbl->SetOpacity(This,opacity);
   10964 }
   10965 /*** IXpsOMTileBrush methods ***/
   10966 static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransform(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
   10967     return This->lpVtbl->GetTransform(This,transform);
   10968 }
   10969 static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
   10970     return This->lpVtbl->GetTransformLocal(This,transform);
   10971 }
   10972 static FORCEINLINE HRESULT IXpsOMImageBrush_SetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform *transform) {
   10973     return This->lpVtbl->SetTransformLocal(This,transform);
   10974 }
   10975 static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransformLookup(IXpsOMImageBrush* This,LPWSTR *key) {
   10976     return This->lpVtbl->GetTransformLookup(This,key);
   10977 }
   10978 static FORCEINLINE HRESULT IXpsOMImageBrush_SetTransformLookup(IXpsOMImageBrush* This,LPCWSTR key) {
   10979     return This->lpVtbl->SetTransformLookup(This,key);
   10980 }
   10981 static FORCEINLINE HRESULT IXpsOMImageBrush_GetViewbox(IXpsOMImageBrush* This,XPS_RECT *viewbox) {
   10982     return This->lpVtbl->GetViewbox(This,viewbox);
   10983 }
   10984 static FORCEINLINE HRESULT IXpsOMImageBrush_SetViewbox(IXpsOMImageBrush* This,const XPS_RECT *viewbox) {
   10985     return This->lpVtbl->SetViewbox(This,viewbox);
   10986 }
   10987 static FORCEINLINE HRESULT IXpsOMImageBrush_GetViewport(IXpsOMImageBrush* This,XPS_RECT *viewport) {
   10988     return This->lpVtbl->GetViewport(This,viewport);
   10989 }
   10990 static FORCEINLINE HRESULT IXpsOMImageBrush_SetViewport(IXpsOMImageBrush* This,const XPS_RECT *viewport) {
   10991     return This->lpVtbl->SetViewport(This,viewport);
   10992 }
   10993 static FORCEINLINE HRESULT IXpsOMImageBrush_GetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE *tileMode) {
   10994     return This->lpVtbl->GetTileMode(This,tileMode);
   10995 }
   10996 static FORCEINLINE HRESULT IXpsOMImageBrush_SetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE tileMode) {
   10997     return This->lpVtbl->SetTileMode(This,tileMode);
   10998 }
   10999 /*** IXpsOMImageBrush methods ***/
   11000 static FORCEINLINE HRESULT IXpsOMImageBrush_GetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource **imageResource) {
   11001     return This->lpVtbl->GetImageResource(This,imageResource);
   11002 }
   11003 static FORCEINLINE HRESULT IXpsOMImageBrush_SetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource *imageResource) {
   11004     return This->lpVtbl->SetImageResource(This,imageResource);
   11005 }
   11006 static FORCEINLINE HRESULT IXpsOMImageBrush_GetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource **colorProfileResource) {
   11007     return This->lpVtbl->GetColorProfileResource(This,colorProfileResource);
   11008 }
   11009 static FORCEINLINE HRESULT IXpsOMImageBrush_SetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource *colorProfileResource) {
   11010     return This->lpVtbl->SetColorProfileResource(This,colorProfileResource);
   11011 }
   11012 static FORCEINLINE HRESULT IXpsOMImageBrush_Clone(IXpsOMImageBrush* This,IXpsOMImageBrush **imageBrush) {
   11013     return This->lpVtbl->Clone(This,imageBrush);
   11014 }
   11015 #endif
   11016 #endif
   11017 
   11018 #endif
   11019 
   11020 HRESULT STDMETHODCALLTYPE IXpsOMImageBrush_GetImageResource_Proxy(
   11021     IXpsOMImageBrush* This,
   11022     IXpsOMImageResource **imageResource);
   11023 void __RPC_STUB IXpsOMImageBrush_GetImageResource_Stub(
   11024     IRpcStubBuffer* This,
   11025     IRpcChannelBuffer* pRpcChannelBuffer,
   11026     PRPC_MESSAGE pRpcMessage,
   11027     DWORD* pdwStubPhase);
   11028 HRESULT STDMETHODCALLTYPE IXpsOMImageBrush_SetImageResource_Proxy(
   11029     IXpsOMImageBrush* This,
   11030     IXpsOMImageResource *imageResource);
   11031 void __RPC_STUB IXpsOMImageBrush_SetImageResource_Stub(
   11032     IRpcStubBuffer* This,
   11033     IRpcChannelBuffer* pRpcChannelBuffer,
   11034     PRPC_MESSAGE pRpcMessage,
   11035     DWORD* pdwStubPhase);
   11036 HRESULT STDMETHODCALLTYPE IXpsOMImageBrush_GetColorProfileResource_Proxy(
   11037     IXpsOMImageBrush* This,
   11038     IXpsOMColorProfileResource **colorProfileResource);
   11039 void __RPC_STUB IXpsOMImageBrush_GetColorProfileResource_Stub(
   11040     IRpcStubBuffer* This,
   11041     IRpcChannelBuffer* pRpcChannelBuffer,
   11042     PRPC_MESSAGE pRpcMessage,
   11043     DWORD* pdwStubPhase);
   11044 HRESULT STDMETHODCALLTYPE IXpsOMImageBrush_SetColorProfileResource_Proxy(
   11045     IXpsOMImageBrush* This,
   11046     IXpsOMColorProfileResource *colorProfileResource);
   11047 void __RPC_STUB IXpsOMImageBrush_SetColorProfileResource_Stub(
   11048     IRpcStubBuffer* This,
   11049     IRpcChannelBuffer* pRpcChannelBuffer,
   11050     PRPC_MESSAGE pRpcMessage,
   11051     DWORD* pdwStubPhase);
   11052 HRESULT STDMETHODCALLTYPE IXpsOMImageBrush_Clone_Proxy(
   11053     IXpsOMImageBrush* This,
   11054     IXpsOMImageBrush **imageBrush);
   11055 void __RPC_STUB IXpsOMImageBrush_Clone_Stub(
   11056     IRpcStubBuffer* This,
   11057     IRpcChannelBuffer* pRpcChannelBuffer,
   11058     PRPC_MESSAGE pRpcMessage,
   11059     DWORD* pdwStubPhase);
   11060 
   11061 #endif  /* __IXpsOMImageBrush_INTERFACE_DEFINED__ */
   11062 
   11063 /*****************************************************************************
   11064  * IXpsOMLinearGradientBrush interface
   11065  */
   11066 #ifndef __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
   11067 #define __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
   11068 
   11069 DEFINE_GUID(IID_IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb);
   11070 #if defined(__cplusplus) && !defined(CINTERFACE)
   11071 MIDL_INTERFACE("005e279f-c30d-40ff-93ec-1950d3c528db")
   11072 IXpsOMLinearGradientBrush : public IXpsOMGradientBrush
   11073 {
   11074     virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
   11075         XPS_POINT *startPoint) = 0;
   11076 
   11077     virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
   11078         const XPS_POINT *startPoint) = 0;
   11079 
   11080     virtual HRESULT STDMETHODCALLTYPE GetEndPoint(
   11081         XPS_POINT *endPoint) = 0;
   11082 
   11083     virtual HRESULT STDMETHODCALLTYPE SetEndPoint(
   11084         const XPS_POINT *endPoint) = 0;
   11085 
   11086     virtual HRESULT STDMETHODCALLTYPE Clone(
   11087         IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
   11088 
   11089 };
   11090 #ifdef __CRT_UUID_DECL
   11091 __CRT_UUID_DECL(IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb)
   11092 #endif
   11093 #else
   11094 typedef struct IXpsOMLinearGradientBrushVtbl {
   11095     BEGIN_INTERFACE
   11096 
   11097     /*** IUnknown methods ***/
   11098     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   11099         IXpsOMLinearGradientBrush* This,
   11100         REFIID riid,
   11101         void **ppvObject);
   11102 
   11103     ULONG (STDMETHODCALLTYPE *AddRef)(
   11104         IXpsOMLinearGradientBrush* This);
   11105 
   11106     ULONG (STDMETHODCALLTYPE *Release)(
   11107         IXpsOMLinearGradientBrush* This);
   11108 
   11109     /*** IXpsOMShareable methods ***/
   11110     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   11111         IXpsOMLinearGradientBrush* This,
   11112         IUnknown **owner);
   11113 
   11114     HRESULT (STDMETHODCALLTYPE *GetType)(
   11115         IXpsOMLinearGradientBrush* This,
   11116         XPS_OBJECT_TYPE *type);
   11117 
   11118     /*** IXpsOMBrush methods ***/
   11119     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   11120         IXpsOMLinearGradientBrush* This,
   11121         FLOAT *opacity);
   11122 
   11123     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   11124         IXpsOMLinearGradientBrush* This,
   11125         FLOAT opacity);
   11126 
   11127     /*** IXpsOMGradientBrush methods ***/
   11128     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   11129         IXpsOMLinearGradientBrush* This,
   11130         IXpsOMGradientStopCollection **gradientStops);
   11131 
   11132     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   11133         IXpsOMLinearGradientBrush* This,
   11134         IXpsOMMatrixTransform **transform);
   11135 
   11136     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   11137         IXpsOMLinearGradientBrush* This,
   11138         IXpsOMMatrixTransform **transform);
   11139 
   11140     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   11141         IXpsOMLinearGradientBrush* This,
   11142         IXpsOMMatrixTransform *transform);
   11143 
   11144     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   11145         IXpsOMLinearGradientBrush* This,
   11146         LPWSTR *key);
   11147 
   11148     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   11149         IXpsOMLinearGradientBrush* This,
   11150         LPCWSTR key);
   11151 
   11152     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   11153         IXpsOMLinearGradientBrush* This,
   11154         XPS_SPREAD_METHOD *spreadMethod);
   11155 
   11156     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   11157         IXpsOMLinearGradientBrush* This,
   11158         XPS_SPREAD_METHOD spreadMethod);
   11159 
   11160     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   11161         IXpsOMLinearGradientBrush* This,
   11162         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   11163 
   11164     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   11165         IXpsOMLinearGradientBrush* This,
   11166         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   11167 
   11168     /*** IXpsOMLinearGradientBrush methods ***/
   11169     HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
   11170         IXpsOMLinearGradientBrush* This,
   11171         XPS_POINT *startPoint);
   11172 
   11173     HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
   11174         IXpsOMLinearGradientBrush* This,
   11175         const XPS_POINT *startPoint);
   11176 
   11177     HRESULT (STDMETHODCALLTYPE *GetEndPoint)(
   11178         IXpsOMLinearGradientBrush* This,
   11179         XPS_POINT *endPoint);
   11180 
   11181     HRESULT (STDMETHODCALLTYPE *SetEndPoint)(
   11182         IXpsOMLinearGradientBrush* This,
   11183         const XPS_POINT *endPoint);
   11184 
   11185     HRESULT (STDMETHODCALLTYPE *Clone)(
   11186         IXpsOMLinearGradientBrush* This,
   11187         IXpsOMLinearGradientBrush **linearGradientBrush);
   11188 
   11189     END_INTERFACE
   11190 } IXpsOMLinearGradientBrushVtbl;
   11191 interface IXpsOMLinearGradientBrush {
   11192     CONST_VTBL IXpsOMLinearGradientBrushVtbl* lpVtbl;
   11193 };
   11194 
   11195 #ifdef COBJMACROS
   11196 #ifndef WIDL_C_INLINE_WRAPPERS
   11197 /*** IUnknown methods ***/
   11198 #define IXpsOMLinearGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   11199 #define IXpsOMLinearGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   11200 #define IXpsOMLinearGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   11201 /*** IXpsOMShareable methods ***/
   11202 #define IXpsOMLinearGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   11203 #define IXpsOMLinearGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   11204 /*** IXpsOMBrush methods ***/
   11205 #define IXpsOMLinearGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   11206 #define IXpsOMLinearGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   11207 /*** IXpsOMGradientBrush methods ***/
   11208 #define IXpsOMLinearGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   11209 #define IXpsOMLinearGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   11210 #define IXpsOMLinearGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   11211 #define IXpsOMLinearGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   11212 #define IXpsOMLinearGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   11213 #define IXpsOMLinearGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   11214 #define IXpsOMLinearGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   11215 #define IXpsOMLinearGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   11216 #define IXpsOMLinearGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   11217 #define IXpsOMLinearGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   11218 /*** IXpsOMLinearGradientBrush methods ***/
   11219 #define IXpsOMLinearGradientBrush_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
   11220 #define IXpsOMLinearGradientBrush_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
   11221 #define IXpsOMLinearGradientBrush_GetEndPoint(This,endPoint) (This)->lpVtbl->GetEndPoint(This,endPoint)
   11222 #define IXpsOMLinearGradientBrush_SetEndPoint(This,endPoint) (This)->lpVtbl->SetEndPoint(This,endPoint)
   11223 #define IXpsOMLinearGradientBrush_Clone(This,linearGradientBrush) (This)->lpVtbl->Clone(This,linearGradientBrush)
   11224 #else
   11225 /*** IUnknown methods ***/
   11226 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_QueryInterface(IXpsOMLinearGradientBrush* This,REFIID riid,void **ppvObject) {
   11227     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   11228 }
   11229 static FORCEINLINE ULONG IXpsOMLinearGradientBrush_AddRef(IXpsOMLinearGradientBrush* This) {
   11230     return This->lpVtbl->AddRef(This);
   11231 }
   11232 static FORCEINLINE ULONG IXpsOMLinearGradientBrush_Release(IXpsOMLinearGradientBrush* This) {
   11233     return This->lpVtbl->Release(This);
   11234 }
   11235 /*** IXpsOMShareable methods ***/
   11236 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetOwner(IXpsOMLinearGradientBrush* This,IUnknown **owner) {
   11237     return This->lpVtbl->GetOwner(This,owner);
   11238 }
   11239 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetType(IXpsOMLinearGradientBrush* This,XPS_OBJECT_TYPE *type) {
   11240     return This->lpVtbl->GetType(This,type);
   11241 }
   11242 /*** IXpsOMBrush methods ***/
   11243 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetOpacity(IXpsOMLinearGradientBrush* This,FLOAT *opacity) {
   11244     return This->lpVtbl->GetOpacity(This,opacity);
   11245 }
   11246 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetOpacity(IXpsOMLinearGradientBrush* This,FLOAT opacity) {
   11247     return This->lpVtbl->SetOpacity(This,opacity);
   11248 }
   11249 /*** IXpsOMGradientBrush methods ***/
   11250 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetGradientStops(IXpsOMLinearGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   11251     return This->lpVtbl->GetGradientStops(This,gradientStops);
   11252 }
   11253 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransform(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
   11254     return This->lpVtbl->GetTransform(This,transform);
   11255 }
   11256 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
   11257     return This->lpVtbl->GetTransformLocal(This,transform);
   11258 }
   11259 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform *transform) {
   11260     return This->lpVtbl->SetTransformLocal(This,transform);
   11261 }
   11262 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransformLookup(IXpsOMLinearGradientBrush* This,LPWSTR *key) {
   11263     return This->lpVtbl->GetTransformLookup(This,key);
   11264 }
   11265 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetTransformLookup(IXpsOMLinearGradientBrush* This,LPCWSTR key) {
   11266     return This->lpVtbl->SetTransformLookup(This,key);
   11267 }
   11268 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   11269     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   11270 }
   11271 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   11272     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   11273 }
   11274 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   11275     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   11276 }
   11277 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   11278     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   11279 }
   11280 /*** IXpsOMLinearGradientBrush methods ***/
   11281 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetStartPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *startPoint) {
   11282     return This->lpVtbl->GetStartPoint(This,startPoint);
   11283 }
   11284 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetStartPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *startPoint) {
   11285     return This->lpVtbl->SetStartPoint(This,startPoint);
   11286 }
   11287 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetEndPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *endPoint) {
   11288     return This->lpVtbl->GetEndPoint(This,endPoint);
   11289 }
   11290 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetEndPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *endPoint) {
   11291     return This->lpVtbl->SetEndPoint(This,endPoint);
   11292 }
   11293 static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_Clone(IXpsOMLinearGradientBrush* This,IXpsOMLinearGradientBrush **linearGradientBrush) {
   11294     return This->lpVtbl->Clone(This,linearGradientBrush);
   11295 }
   11296 #endif
   11297 #endif
   11298 
   11299 #endif
   11300 
   11301 HRESULT STDMETHODCALLTYPE IXpsOMLinearGradientBrush_GetStartPoint_Proxy(
   11302     IXpsOMLinearGradientBrush* This,
   11303     XPS_POINT *startPoint);
   11304 void __RPC_STUB IXpsOMLinearGradientBrush_GetStartPoint_Stub(
   11305     IRpcStubBuffer* This,
   11306     IRpcChannelBuffer* pRpcChannelBuffer,
   11307     PRPC_MESSAGE pRpcMessage,
   11308     DWORD* pdwStubPhase);
   11309 HRESULT STDMETHODCALLTYPE IXpsOMLinearGradientBrush_SetStartPoint_Proxy(
   11310     IXpsOMLinearGradientBrush* This,
   11311     const XPS_POINT *startPoint);
   11312 void __RPC_STUB IXpsOMLinearGradientBrush_SetStartPoint_Stub(
   11313     IRpcStubBuffer* This,
   11314     IRpcChannelBuffer* pRpcChannelBuffer,
   11315     PRPC_MESSAGE pRpcMessage,
   11316     DWORD* pdwStubPhase);
   11317 HRESULT STDMETHODCALLTYPE IXpsOMLinearGradientBrush_GetEndPoint_Proxy(
   11318     IXpsOMLinearGradientBrush* This,
   11319     XPS_POINT *endPoint);
   11320 void __RPC_STUB IXpsOMLinearGradientBrush_GetEndPoint_Stub(
   11321     IRpcStubBuffer* This,
   11322     IRpcChannelBuffer* pRpcChannelBuffer,
   11323     PRPC_MESSAGE pRpcMessage,
   11324     DWORD* pdwStubPhase);
   11325 HRESULT STDMETHODCALLTYPE IXpsOMLinearGradientBrush_SetEndPoint_Proxy(
   11326     IXpsOMLinearGradientBrush* This,
   11327     const XPS_POINT *endPoint);
   11328 void __RPC_STUB IXpsOMLinearGradientBrush_SetEndPoint_Stub(
   11329     IRpcStubBuffer* This,
   11330     IRpcChannelBuffer* pRpcChannelBuffer,
   11331     PRPC_MESSAGE pRpcMessage,
   11332     DWORD* pdwStubPhase);
   11333 HRESULT STDMETHODCALLTYPE IXpsOMLinearGradientBrush_Clone_Proxy(
   11334     IXpsOMLinearGradientBrush* This,
   11335     IXpsOMLinearGradientBrush **linearGradientBrush);
   11336 void __RPC_STUB IXpsOMLinearGradientBrush_Clone_Stub(
   11337     IRpcStubBuffer* This,
   11338     IRpcChannelBuffer* pRpcChannelBuffer,
   11339     PRPC_MESSAGE pRpcMessage,
   11340     DWORD* pdwStubPhase);
   11341 
   11342 #endif  /* __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__ */
   11343 
   11344 /*****************************************************************************
   11345  * IXpsOMRadialGradientBrush interface
   11346  */
   11347 #ifndef __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
   11348 #define __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
   11349 
   11350 DEFINE_GUID(IID_IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b);
   11351 #if defined(__cplusplus) && !defined(CINTERFACE)
   11352 MIDL_INTERFACE("75f207e5-08bf-413c-96b1-b82b4064176b")
   11353 IXpsOMRadialGradientBrush : public IXpsOMGradientBrush
   11354 {
   11355     virtual HRESULT STDMETHODCALLTYPE GetCenter(
   11356         XPS_POINT *center) = 0;
   11357 
   11358     virtual HRESULT STDMETHODCALLTYPE SetCenter(
   11359         const XPS_POINT *center) = 0;
   11360 
   11361     virtual HRESULT STDMETHODCALLTYPE GetRadiiSizes(
   11362         XPS_SIZE *radiiSizes) = 0;
   11363 
   11364     virtual HRESULT STDMETHODCALLTYPE SetRadiiSizes(
   11365         const XPS_SIZE *radiiSizes) = 0;
   11366 
   11367     virtual HRESULT STDMETHODCALLTYPE GetGradientOrigin(
   11368         XPS_POINT *origin) = 0;
   11369 
   11370     virtual HRESULT STDMETHODCALLTYPE SetGradientOrigin(
   11371         const XPS_POINT *origin) = 0;
   11372 
   11373     virtual HRESULT STDMETHODCALLTYPE Clone(
   11374         IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
   11375 
   11376 };
   11377 #ifdef __CRT_UUID_DECL
   11378 __CRT_UUID_DECL(IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b)
   11379 #endif
   11380 #else
   11381 typedef struct IXpsOMRadialGradientBrushVtbl {
   11382     BEGIN_INTERFACE
   11383 
   11384     /*** IUnknown methods ***/
   11385     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   11386         IXpsOMRadialGradientBrush* This,
   11387         REFIID riid,
   11388         void **ppvObject);
   11389 
   11390     ULONG (STDMETHODCALLTYPE *AddRef)(
   11391         IXpsOMRadialGradientBrush* This);
   11392 
   11393     ULONG (STDMETHODCALLTYPE *Release)(
   11394         IXpsOMRadialGradientBrush* This);
   11395 
   11396     /*** IXpsOMShareable methods ***/
   11397     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   11398         IXpsOMRadialGradientBrush* This,
   11399         IUnknown **owner);
   11400 
   11401     HRESULT (STDMETHODCALLTYPE *GetType)(
   11402         IXpsOMRadialGradientBrush* This,
   11403         XPS_OBJECT_TYPE *type);
   11404 
   11405     /*** IXpsOMBrush methods ***/
   11406     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   11407         IXpsOMRadialGradientBrush* This,
   11408         FLOAT *opacity);
   11409 
   11410     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   11411         IXpsOMRadialGradientBrush* This,
   11412         FLOAT opacity);
   11413 
   11414     /*** IXpsOMGradientBrush methods ***/
   11415     HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
   11416         IXpsOMRadialGradientBrush* This,
   11417         IXpsOMGradientStopCollection **gradientStops);
   11418 
   11419     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   11420         IXpsOMRadialGradientBrush* This,
   11421         IXpsOMMatrixTransform **transform);
   11422 
   11423     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   11424         IXpsOMRadialGradientBrush* This,
   11425         IXpsOMMatrixTransform **transform);
   11426 
   11427     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   11428         IXpsOMRadialGradientBrush* This,
   11429         IXpsOMMatrixTransform *transform);
   11430 
   11431     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   11432         IXpsOMRadialGradientBrush* This,
   11433         LPWSTR *key);
   11434 
   11435     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   11436         IXpsOMRadialGradientBrush* This,
   11437         LPCWSTR key);
   11438 
   11439     HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
   11440         IXpsOMRadialGradientBrush* This,
   11441         XPS_SPREAD_METHOD *spreadMethod);
   11442 
   11443     HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
   11444         IXpsOMRadialGradientBrush* This,
   11445         XPS_SPREAD_METHOD spreadMethod);
   11446 
   11447     HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
   11448         IXpsOMRadialGradientBrush* This,
   11449         XPS_COLOR_INTERPOLATION *colorInterpolationMode);
   11450 
   11451     HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
   11452         IXpsOMRadialGradientBrush* This,
   11453         XPS_COLOR_INTERPOLATION colorInterpolationMode);
   11454 
   11455     /*** IXpsOMRadialGradientBrush methods ***/
   11456     HRESULT (STDMETHODCALLTYPE *GetCenter)(
   11457         IXpsOMRadialGradientBrush* This,
   11458         XPS_POINT *center);
   11459 
   11460     HRESULT (STDMETHODCALLTYPE *SetCenter)(
   11461         IXpsOMRadialGradientBrush* This,
   11462         const XPS_POINT *center);
   11463 
   11464     HRESULT (STDMETHODCALLTYPE *GetRadiiSizes)(
   11465         IXpsOMRadialGradientBrush* This,
   11466         XPS_SIZE *radiiSizes);
   11467 
   11468     HRESULT (STDMETHODCALLTYPE *SetRadiiSizes)(
   11469         IXpsOMRadialGradientBrush* This,
   11470         const XPS_SIZE *radiiSizes);
   11471 
   11472     HRESULT (STDMETHODCALLTYPE *GetGradientOrigin)(
   11473         IXpsOMRadialGradientBrush* This,
   11474         XPS_POINT *origin);
   11475 
   11476     HRESULT (STDMETHODCALLTYPE *SetGradientOrigin)(
   11477         IXpsOMRadialGradientBrush* This,
   11478         const XPS_POINT *origin);
   11479 
   11480     HRESULT (STDMETHODCALLTYPE *Clone)(
   11481         IXpsOMRadialGradientBrush* This,
   11482         IXpsOMRadialGradientBrush **radialGradientBrush);
   11483 
   11484     END_INTERFACE
   11485 } IXpsOMRadialGradientBrushVtbl;
   11486 interface IXpsOMRadialGradientBrush {
   11487     CONST_VTBL IXpsOMRadialGradientBrushVtbl* lpVtbl;
   11488 };
   11489 
   11490 #ifdef COBJMACROS
   11491 #ifndef WIDL_C_INLINE_WRAPPERS
   11492 /*** IUnknown methods ***/
   11493 #define IXpsOMRadialGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   11494 #define IXpsOMRadialGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
   11495 #define IXpsOMRadialGradientBrush_Release(This) (This)->lpVtbl->Release(This)
   11496 /*** IXpsOMShareable methods ***/
   11497 #define IXpsOMRadialGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   11498 #define IXpsOMRadialGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   11499 /*** IXpsOMBrush methods ***/
   11500 #define IXpsOMRadialGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   11501 #define IXpsOMRadialGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   11502 /*** IXpsOMGradientBrush methods ***/
   11503 #define IXpsOMRadialGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
   11504 #define IXpsOMRadialGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
   11505 #define IXpsOMRadialGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
   11506 #define IXpsOMRadialGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
   11507 #define IXpsOMRadialGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   11508 #define IXpsOMRadialGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   11509 #define IXpsOMRadialGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
   11510 #define IXpsOMRadialGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
   11511 #define IXpsOMRadialGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
   11512 #define IXpsOMRadialGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
   11513 /*** IXpsOMRadialGradientBrush methods ***/
   11514 #define IXpsOMRadialGradientBrush_GetCenter(This,center) (This)->lpVtbl->GetCenter(This,center)
   11515 #define IXpsOMRadialGradientBrush_SetCenter(This,center) (This)->lpVtbl->SetCenter(This,center)
   11516 #define IXpsOMRadialGradientBrush_GetRadiiSizes(This,radiiSizes) (This)->lpVtbl->GetRadiiSizes(This,radiiSizes)
   11517 #define IXpsOMRadialGradientBrush_SetRadiiSizes(This,radiiSizes) (This)->lpVtbl->SetRadiiSizes(This,radiiSizes)
   11518 #define IXpsOMRadialGradientBrush_GetGradientOrigin(This,origin) (This)->lpVtbl->GetGradientOrigin(This,origin)
   11519 #define IXpsOMRadialGradientBrush_SetGradientOrigin(This,origin) (This)->lpVtbl->SetGradientOrigin(This,origin)
   11520 #define IXpsOMRadialGradientBrush_Clone(This,radialGradientBrush) (This)->lpVtbl->Clone(This,radialGradientBrush)
   11521 #else
   11522 /*** IUnknown methods ***/
   11523 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_QueryInterface(IXpsOMRadialGradientBrush* This,REFIID riid,void **ppvObject) {
   11524     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   11525 }
   11526 static FORCEINLINE ULONG IXpsOMRadialGradientBrush_AddRef(IXpsOMRadialGradientBrush* This) {
   11527     return This->lpVtbl->AddRef(This);
   11528 }
   11529 static FORCEINLINE ULONG IXpsOMRadialGradientBrush_Release(IXpsOMRadialGradientBrush* This) {
   11530     return This->lpVtbl->Release(This);
   11531 }
   11532 /*** IXpsOMShareable methods ***/
   11533 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetOwner(IXpsOMRadialGradientBrush* This,IUnknown **owner) {
   11534     return This->lpVtbl->GetOwner(This,owner);
   11535 }
   11536 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetType(IXpsOMRadialGradientBrush* This,XPS_OBJECT_TYPE *type) {
   11537     return This->lpVtbl->GetType(This,type);
   11538 }
   11539 /*** IXpsOMBrush methods ***/
   11540 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetOpacity(IXpsOMRadialGradientBrush* This,FLOAT *opacity) {
   11541     return This->lpVtbl->GetOpacity(This,opacity);
   11542 }
   11543 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetOpacity(IXpsOMRadialGradientBrush* This,FLOAT opacity) {
   11544     return This->lpVtbl->SetOpacity(This,opacity);
   11545 }
   11546 /*** IXpsOMGradientBrush methods ***/
   11547 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetGradientStops(IXpsOMRadialGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
   11548     return This->lpVtbl->GetGradientStops(This,gradientStops);
   11549 }
   11550 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransform(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
   11551     return This->lpVtbl->GetTransform(This,transform);
   11552 }
   11553 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
   11554     return This->lpVtbl->GetTransformLocal(This,transform);
   11555 }
   11556 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform *transform) {
   11557     return This->lpVtbl->SetTransformLocal(This,transform);
   11558 }
   11559 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransformLookup(IXpsOMRadialGradientBrush* This,LPWSTR *key) {
   11560     return This->lpVtbl->GetTransformLookup(This,key);
   11561 }
   11562 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetTransformLookup(IXpsOMRadialGradientBrush* This,LPCWSTR key) {
   11563     return This->lpVtbl->SetTransformLookup(This,key);
   11564 }
   11565 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
   11566     return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
   11567 }
   11568 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
   11569     return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
   11570 }
   11571 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
   11572     return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
   11573 }
   11574 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
   11575     return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
   11576 }
   11577 /*** IXpsOMRadialGradientBrush methods ***/
   11578 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetCenter(IXpsOMRadialGradientBrush* This,XPS_POINT *center) {
   11579     return This->lpVtbl->GetCenter(This,center);
   11580 }
   11581 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetCenter(IXpsOMRadialGradientBrush* This,const XPS_POINT *center) {
   11582     return This->lpVtbl->SetCenter(This,center);
   11583 }
   11584 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetRadiiSizes(IXpsOMRadialGradientBrush* This,XPS_SIZE *radiiSizes) {
   11585     return This->lpVtbl->GetRadiiSizes(This,radiiSizes);
   11586 }
   11587 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetRadiiSizes(IXpsOMRadialGradientBrush* This,const XPS_SIZE *radiiSizes) {
   11588     return This->lpVtbl->SetRadiiSizes(This,radiiSizes);
   11589 }
   11590 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetGradientOrigin(IXpsOMRadialGradientBrush* This,XPS_POINT *origin) {
   11591     return This->lpVtbl->GetGradientOrigin(This,origin);
   11592 }
   11593 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetGradientOrigin(IXpsOMRadialGradientBrush* This,const XPS_POINT *origin) {
   11594     return This->lpVtbl->SetGradientOrigin(This,origin);
   11595 }
   11596 static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_Clone(IXpsOMRadialGradientBrush* This,IXpsOMRadialGradientBrush **radialGradientBrush) {
   11597     return This->lpVtbl->Clone(This,radialGradientBrush);
   11598 }
   11599 #endif
   11600 #endif
   11601 
   11602 #endif
   11603 
   11604 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_GetCenter_Proxy(
   11605     IXpsOMRadialGradientBrush* This,
   11606     XPS_POINT *center);
   11607 void __RPC_STUB IXpsOMRadialGradientBrush_GetCenter_Stub(
   11608     IRpcStubBuffer* This,
   11609     IRpcChannelBuffer* pRpcChannelBuffer,
   11610     PRPC_MESSAGE pRpcMessage,
   11611     DWORD* pdwStubPhase);
   11612 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_SetCenter_Proxy(
   11613     IXpsOMRadialGradientBrush* This,
   11614     const XPS_POINT *center);
   11615 void __RPC_STUB IXpsOMRadialGradientBrush_SetCenter_Stub(
   11616     IRpcStubBuffer* This,
   11617     IRpcChannelBuffer* pRpcChannelBuffer,
   11618     PRPC_MESSAGE pRpcMessage,
   11619     DWORD* pdwStubPhase);
   11620 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_GetRadiiSizes_Proxy(
   11621     IXpsOMRadialGradientBrush* This,
   11622     XPS_SIZE *radiiSizes);
   11623 void __RPC_STUB IXpsOMRadialGradientBrush_GetRadiiSizes_Stub(
   11624     IRpcStubBuffer* This,
   11625     IRpcChannelBuffer* pRpcChannelBuffer,
   11626     PRPC_MESSAGE pRpcMessage,
   11627     DWORD* pdwStubPhase);
   11628 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_SetRadiiSizes_Proxy(
   11629     IXpsOMRadialGradientBrush* This,
   11630     const XPS_SIZE *radiiSizes);
   11631 void __RPC_STUB IXpsOMRadialGradientBrush_SetRadiiSizes_Stub(
   11632     IRpcStubBuffer* This,
   11633     IRpcChannelBuffer* pRpcChannelBuffer,
   11634     PRPC_MESSAGE pRpcMessage,
   11635     DWORD* pdwStubPhase);
   11636 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_GetGradientOrigin_Proxy(
   11637     IXpsOMRadialGradientBrush* This,
   11638     XPS_POINT *origin);
   11639 void __RPC_STUB IXpsOMRadialGradientBrush_GetGradientOrigin_Stub(
   11640     IRpcStubBuffer* This,
   11641     IRpcChannelBuffer* pRpcChannelBuffer,
   11642     PRPC_MESSAGE pRpcMessage,
   11643     DWORD* pdwStubPhase);
   11644 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_SetGradientOrigin_Proxy(
   11645     IXpsOMRadialGradientBrush* This,
   11646     const XPS_POINT *origin);
   11647 void __RPC_STUB IXpsOMRadialGradientBrush_SetGradientOrigin_Stub(
   11648     IRpcStubBuffer* This,
   11649     IRpcChannelBuffer* pRpcChannelBuffer,
   11650     PRPC_MESSAGE pRpcMessage,
   11651     DWORD* pdwStubPhase);
   11652 HRESULT STDMETHODCALLTYPE IXpsOMRadialGradientBrush_Clone_Proxy(
   11653     IXpsOMRadialGradientBrush* This,
   11654     IXpsOMRadialGradientBrush **radialGradientBrush);
   11655 void __RPC_STUB IXpsOMRadialGradientBrush_Clone_Stub(
   11656     IRpcStubBuffer* This,
   11657     IRpcChannelBuffer* pRpcChannelBuffer,
   11658     PRPC_MESSAGE pRpcMessage,
   11659     DWORD* pdwStubPhase);
   11660 
   11661 #endif  /* __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__ */
   11662 
   11663 /*****************************************************************************
   11664  * IXpsOMResource interface
   11665  */
   11666 #ifndef __IXpsOMResource_INTERFACE_DEFINED__
   11667 #define __IXpsOMResource_INTERFACE_DEFINED__
   11668 
   11669 DEFINE_GUID(IID_IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5);
   11670 #if defined(__cplusplus) && !defined(CINTERFACE)
   11671 MIDL_INTERFACE("da2ac0a2-73a2-4975-ad14-74097c3ff3a5")
   11672 IXpsOMResource : public IXpsOMPart
   11673 {
   11674 };
   11675 #ifdef __CRT_UUID_DECL
   11676 __CRT_UUID_DECL(IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5)
   11677 #endif
   11678 #else
   11679 typedef struct IXpsOMResourceVtbl {
   11680     BEGIN_INTERFACE
   11681 
   11682     /*** IUnknown methods ***/
   11683     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   11684         IXpsOMResource* This,
   11685         REFIID riid,
   11686         void **ppvObject);
   11687 
   11688     ULONG (STDMETHODCALLTYPE *AddRef)(
   11689         IXpsOMResource* This);
   11690 
   11691     ULONG (STDMETHODCALLTYPE *Release)(
   11692         IXpsOMResource* This);
   11693 
   11694     /*** IXpsOMPart methods ***/
   11695     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   11696         IXpsOMResource* This,
   11697         IOpcPartUri **partUri);
   11698 
   11699     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   11700         IXpsOMResource* This,
   11701         IOpcPartUri *partUri);
   11702 
   11703     END_INTERFACE
   11704 } IXpsOMResourceVtbl;
   11705 interface IXpsOMResource {
   11706     CONST_VTBL IXpsOMResourceVtbl* lpVtbl;
   11707 };
   11708 
   11709 #ifdef COBJMACROS
   11710 #ifndef WIDL_C_INLINE_WRAPPERS
   11711 /*** IUnknown methods ***/
   11712 #define IXpsOMResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   11713 #define IXpsOMResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   11714 #define IXpsOMResource_Release(This) (This)->lpVtbl->Release(This)
   11715 /*** IXpsOMPart methods ***/
   11716 #define IXpsOMResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   11717 #define IXpsOMResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   11718 #else
   11719 /*** IUnknown methods ***/
   11720 static FORCEINLINE HRESULT IXpsOMResource_QueryInterface(IXpsOMResource* This,REFIID riid,void **ppvObject) {
   11721     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   11722 }
   11723 static FORCEINLINE ULONG IXpsOMResource_AddRef(IXpsOMResource* This) {
   11724     return This->lpVtbl->AddRef(This);
   11725 }
   11726 static FORCEINLINE ULONG IXpsOMResource_Release(IXpsOMResource* This) {
   11727     return This->lpVtbl->Release(This);
   11728 }
   11729 /*** IXpsOMPart methods ***/
   11730 static FORCEINLINE HRESULT IXpsOMResource_GetPartName(IXpsOMResource* This,IOpcPartUri **partUri) {
   11731     return This->lpVtbl->GetPartName(This,partUri);
   11732 }
   11733 static FORCEINLINE HRESULT IXpsOMResource_SetPartName(IXpsOMResource* This,IOpcPartUri *partUri) {
   11734     return This->lpVtbl->SetPartName(This,partUri);
   11735 }
   11736 #endif
   11737 #endif
   11738 
   11739 #endif
   11740 
   11741 
   11742 #endif  /* __IXpsOMResource_INTERFACE_DEFINED__ */
   11743 
   11744 /*****************************************************************************
   11745  * IXpsOMFontResource interface
   11746  */
   11747 #ifndef __IXpsOMFontResource_INTERFACE_DEFINED__
   11748 #define __IXpsOMFontResource_INTERFACE_DEFINED__
   11749 
   11750 DEFINE_GUID(IID_IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85);
   11751 #if defined(__cplusplus) && !defined(CINTERFACE)
   11752 MIDL_INTERFACE("a8c45708-47d9-4af4-8d20-33b48c9b8485")
   11753 IXpsOMFontResource : public IXpsOMResource
   11754 {
   11755     virtual HRESULT STDMETHODCALLTYPE GetStream(
   11756         IStream **readerStream) = 0;
   11757 
   11758     virtual HRESULT STDMETHODCALLTYPE SetContent(
   11759         IStream *sourceStream,
   11760         XPS_FONT_EMBEDDING embeddingOption,
   11761         IOpcPartUri *partName) = 0;
   11762 
   11763     virtual HRESULT STDMETHODCALLTYPE GetEmbeddingOption(
   11764         XPS_FONT_EMBEDDING *embeddingOption) = 0;
   11765 
   11766 };
   11767 #ifdef __CRT_UUID_DECL
   11768 __CRT_UUID_DECL(IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85)
   11769 #endif
   11770 #else
   11771 typedef struct IXpsOMFontResourceVtbl {
   11772     BEGIN_INTERFACE
   11773 
   11774     /*** IUnknown methods ***/
   11775     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   11776         IXpsOMFontResource* This,
   11777         REFIID riid,
   11778         void **ppvObject);
   11779 
   11780     ULONG (STDMETHODCALLTYPE *AddRef)(
   11781         IXpsOMFontResource* This);
   11782 
   11783     ULONG (STDMETHODCALLTYPE *Release)(
   11784         IXpsOMFontResource* This);
   11785 
   11786     /*** IXpsOMPart methods ***/
   11787     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   11788         IXpsOMFontResource* This,
   11789         IOpcPartUri **partUri);
   11790 
   11791     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   11792         IXpsOMFontResource* This,
   11793         IOpcPartUri *partUri);
   11794 
   11795     /*** IXpsOMFontResource methods ***/
   11796     HRESULT (STDMETHODCALLTYPE *GetStream)(
   11797         IXpsOMFontResource* This,
   11798         IStream **readerStream);
   11799 
   11800     HRESULT (STDMETHODCALLTYPE *SetContent)(
   11801         IXpsOMFontResource* This,
   11802         IStream *sourceStream,
   11803         XPS_FONT_EMBEDDING embeddingOption,
   11804         IOpcPartUri *partName);
   11805 
   11806     HRESULT (STDMETHODCALLTYPE *GetEmbeddingOption)(
   11807         IXpsOMFontResource* This,
   11808         XPS_FONT_EMBEDDING *embeddingOption);
   11809 
   11810     END_INTERFACE
   11811 } IXpsOMFontResourceVtbl;
   11812 interface IXpsOMFontResource {
   11813     CONST_VTBL IXpsOMFontResourceVtbl* lpVtbl;
   11814 };
   11815 
   11816 #ifdef COBJMACROS
   11817 #ifndef WIDL_C_INLINE_WRAPPERS
   11818 /*** IUnknown methods ***/
   11819 #define IXpsOMFontResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   11820 #define IXpsOMFontResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   11821 #define IXpsOMFontResource_Release(This) (This)->lpVtbl->Release(This)
   11822 /*** IXpsOMPart methods ***/
   11823 #define IXpsOMFontResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   11824 #define IXpsOMFontResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   11825 /*** IXpsOMFontResource methods ***/
   11826 #define IXpsOMFontResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
   11827 #define IXpsOMFontResource_SetContent(This,sourceStream,embeddingOption,partName) (This)->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName)
   11828 #define IXpsOMFontResource_GetEmbeddingOption(This,embeddingOption) (This)->lpVtbl->GetEmbeddingOption(This,embeddingOption)
   11829 #else
   11830 /*** IUnknown methods ***/
   11831 static FORCEINLINE HRESULT IXpsOMFontResource_QueryInterface(IXpsOMFontResource* This,REFIID riid,void **ppvObject) {
   11832     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   11833 }
   11834 static FORCEINLINE ULONG IXpsOMFontResource_AddRef(IXpsOMFontResource* This) {
   11835     return This->lpVtbl->AddRef(This);
   11836 }
   11837 static FORCEINLINE ULONG IXpsOMFontResource_Release(IXpsOMFontResource* This) {
   11838     return This->lpVtbl->Release(This);
   11839 }
   11840 /*** IXpsOMPart methods ***/
   11841 static FORCEINLINE HRESULT IXpsOMFontResource_GetPartName(IXpsOMFontResource* This,IOpcPartUri **partUri) {
   11842     return This->lpVtbl->GetPartName(This,partUri);
   11843 }
   11844 static FORCEINLINE HRESULT IXpsOMFontResource_SetPartName(IXpsOMFontResource* This,IOpcPartUri *partUri) {
   11845     return This->lpVtbl->SetPartName(This,partUri);
   11846 }
   11847 /*** IXpsOMFontResource methods ***/
   11848 static FORCEINLINE HRESULT IXpsOMFontResource_GetStream(IXpsOMFontResource* This,IStream **readerStream) {
   11849     return This->lpVtbl->GetStream(This,readerStream);
   11850 }
   11851 static FORCEINLINE HRESULT IXpsOMFontResource_SetContent(IXpsOMFontResource* This,IStream *sourceStream,XPS_FONT_EMBEDDING embeddingOption,IOpcPartUri *partName) {
   11852     return This->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName);
   11853 }
   11854 static FORCEINLINE HRESULT IXpsOMFontResource_GetEmbeddingOption(IXpsOMFontResource* This,XPS_FONT_EMBEDDING *embeddingOption) {
   11855     return This->lpVtbl->GetEmbeddingOption(This,embeddingOption);
   11856 }
   11857 #endif
   11858 #endif
   11859 
   11860 #endif
   11861 
   11862 HRESULT STDMETHODCALLTYPE IXpsOMFontResource_GetStream_Proxy(
   11863     IXpsOMFontResource* This,
   11864     IStream **readerStream);
   11865 void __RPC_STUB IXpsOMFontResource_GetStream_Stub(
   11866     IRpcStubBuffer* This,
   11867     IRpcChannelBuffer* pRpcChannelBuffer,
   11868     PRPC_MESSAGE pRpcMessage,
   11869     DWORD* pdwStubPhase);
   11870 HRESULT STDMETHODCALLTYPE IXpsOMFontResource_SetContent_Proxy(
   11871     IXpsOMFontResource* This,
   11872     IStream *sourceStream,
   11873     XPS_FONT_EMBEDDING embeddingOption,
   11874     IOpcPartUri *partName);
   11875 void __RPC_STUB IXpsOMFontResource_SetContent_Stub(
   11876     IRpcStubBuffer* This,
   11877     IRpcChannelBuffer* pRpcChannelBuffer,
   11878     PRPC_MESSAGE pRpcMessage,
   11879     DWORD* pdwStubPhase);
   11880 HRESULT STDMETHODCALLTYPE IXpsOMFontResource_GetEmbeddingOption_Proxy(
   11881     IXpsOMFontResource* This,
   11882     XPS_FONT_EMBEDDING *embeddingOption);
   11883 void __RPC_STUB IXpsOMFontResource_GetEmbeddingOption_Stub(
   11884     IRpcStubBuffer* This,
   11885     IRpcChannelBuffer* pRpcChannelBuffer,
   11886     PRPC_MESSAGE pRpcMessage,
   11887     DWORD* pdwStubPhase);
   11888 
   11889 #endif  /* __IXpsOMFontResource_INTERFACE_DEFINED__ */
   11890 
   11891 /*****************************************************************************
   11892  * IXpsOMImageResource interface
   11893  */
   11894 #ifndef __IXpsOMImageResource_INTERFACE_DEFINED__
   11895 #define __IXpsOMImageResource_INTERFACE_DEFINED__
   11896 
   11897 DEFINE_GUID(IID_IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f);
   11898 #if defined(__cplusplus) && !defined(CINTERFACE)
   11899 MIDL_INTERFACE("3db8417d-ae50-485e-9a44-d7758f78a23f")
   11900 IXpsOMImageResource : public IXpsOMResource
   11901 {
   11902     virtual HRESULT STDMETHODCALLTYPE GetStream(
   11903         IStream **readerStream) = 0;
   11904 
   11905     virtual HRESULT STDMETHODCALLTYPE SetContent(
   11906         IStream *sourceStream,
   11907         XPS_IMAGE_TYPE imageType,
   11908         IOpcPartUri *partName) = 0;
   11909 
   11910     virtual HRESULT STDMETHODCALLTYPE GetImageType(
   11911         XPS_IMAGE_TYPE *imageType) = 0;
   11912 
   11913 };
   11914 #ifdef __CRT_UUID_DECL
   11915 __CRT_UUID_DECL(IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f)
   11916 #endif
   11917 #else
   11918 typedef struct IXpsOMImageResourceVtbl {
   11919     BEGIN_INTERFACE
   11920 
   11921     /*** IUnknown methods ***/
   11922     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   11923         IXpsOMImageResource* This,
   11924         REFIID riid,
   11925         void **ppvObject);
   11926 
   11927     ULONG (STDMETHODCALLTYPE *AddRef)(
   11928         IXpsOMImageResource* This);
   11929 
   11930     ULONG (STDMETHODCALLTYPE *Release)(
   11931         IXpsOMImageResource* This);
   11932 
   11933     /*** IXpsOMPart methods ***/
   11934     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   11935         IXpsOMImageResource* This,
   11936         IOpcPartUri **partUri);
   11937 
   11938     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   11939         IXpsOMImageResource* This,
   11940         IOpcPartUri *partUri);
   11941 
   11942     /*** IXpsOMImageResource methods ***/
   11943     HRESULT (STDMETHODCALLTYPE *GetStream)(
   11944         IXpsOMImageResource* This,
   11945         IStream **readerStream);
   11946 
   11947     HRESULT (STDMETHODCALLTYPE *SetContent)(
   11948         IXpsOMImageResource* This,
   11949         IStream *sourceStream,
   11950         XPS_IMAGE_TYPE imageType,
   11951         IOpcPartUri *partName);
   11952 
   11953     HRESULT (STDMETHODCALLTYPE *GetImageType)(
   11954         IXpsOMImageResource* This,
   11955         XPS_IMAGE_TYPE *imageType);
   11956 
   11957     END_INTERFACE
   11958 } IXpsOMImageResourceVtbl;
   11959 interface IXpsOMImageResource {
   11960     CONST_VTBL IXpsOMImageResourceVtbl* lpVtbl;
   11961 };
   11962 
   11963 #ifdef COBJMACROS
   11964 #ifndef WIDL_C_INLINE_WRAPPERS
   11965 /*** IUnknown methods ***/
   11966 #define IXpsOMImageResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   11967 #define IXpsOMImageResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   11968 #define IXpsOMImageResource_Release(This) (This)->lpVtbl->Release(This)
   11969 /*** IXpsOMPart methods ***/
   11970 #define IXpsOMImageResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   11971 #define IXpsOMImageResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   11972 /*** IXpsOMImageResource methods ***/
   11973 #define IXpsOMImageResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
   11974 #define IXpsOMImageResource_SetContent(This,sourceStream,imageType,partName) (This)->lpVtbl->SetContent(This,sourceStream,imageType,partName)
   11975 #define IXpsOMImageResource_GetImageType(This,imageType) (This)->lpVtbl->GetImageType(This,imageType)
   11976 #else
   11977 /*** IUnknown methods ***/
   11978 static FORCEINLINE HRESULT IXpsOMImageResource_QueryInterface(IXpsOMImageResource* This,REFIID riid,void **ppvObject) {
   11979     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   11980 }
   11981 static FORCEINLINE ULONG IXpsOMImageResource_AddRef(IXpsOMImageResource* This) {
   11982     return This->lpVtbl->AddRef(This);
   11983 }
   11984 static FORCEINLINE ULONG IXpsOMImageResource_Release(IXpsOMImageResource* This) {
   11985     return This->lpVtbl->Release(This);
   11986 }
   11987 /*** IXpsOMPart methods ***/
   11988 static FORCEINLINE HRESULT IXpsOMImageResource_GetPartName(IXpsOMImageResource* This,IOpcPartUri **partUri) {
   11989     return This->lpVtbl->GetPartName(This,partUri);
   11990 }
   11991 static FORCEINLINE HRESULT IXpsOMImageResource_SetPartName(IXpsOMImageResource* This,IOpcPartUri *partUri) {
   11992     return This->lpVtbl->SetPartName(This,partUri);
   11993 }
   11994 /*** IXpsOMImageResource methods ***/
   11995 static FORCEINLINE HRESULT IXpsOMImageResource_GetStream(IXpsOMImageResource* This,IStream **readerStream) {
   11996     return This->lpVtbl->GetStream(This,readerStream);
   11997 }
   11998 static FORCEINLINE HRESULT IXpsOMImageResource_SetContent(IXpsOMImageResource* This,IStream *sourceStream,XPS_IMAGE_TYPE imageType,IOpcPartUri *partName) {
   11999     return This->lpVtbl->SetContent(This,sourceStream,imageType,partName);
   12000 }
   12001 static FORCEINLINE HRESULT IXpsOMImageResource_GetImageType(IXpsOMImageResource* This,XPS_IMAGE_TYPE *imageType) {
   12002     return This->lpVtbl->GetImageType(This,imageType);
   12003 }
   12004 #endif
   12005 #endif
   12006 
   12007 #endif
   12008 
   12009 HRESULT STDMETHODCALLTYPE IXpsOMImageResource_GetStream_Proxy(
   12010     IXpsOMImageResource* This,
   12011     IStream **readerStream);
   12012 void __RPC_STUB IXpsOMImageResource_GetStream_Stub(
   12013     IRpcStubBuffer* This,
   12014     IRpcChannelBuffer* pRpcChannelBuffer,
   12015     PRPC_MESSAGE pRpcMessage,
   12016     DWORD* pdwStubPhase);
   12017 HRESULT STDMETHODCALLTYPE IXpsOMImageResource_SetContent_Proxy(
   12018     IXpsOMImageResource* This,
   12019     IStream *sourceStream,
   12020     XPS_IMAGE_TYPE imageType,
   12021     IOpcPartUri *partName);
   12022 void __RPC_STUB IXpsOMImageResource_SetContent_Stub(
   12023     IRpcStubBuffer* This,
   12024     IRpcChannelBuffer* pRpcChannelBuffer,
   12025     PRPC_MESSAGE pRpcMessage,
   12026     DWORD* pdwStubPhase);
   12027 HRESULT STDMETHODCALLTYPE IXpsOMImageResource_GetImageType_Proxy(
   12028     IXpsOMImageResource* This,
   12029     XPS_IMAGE_TYPE *imageType);
   12030 void __RPC_STUB IXpsOMImageResource_GetImageType_Stub(
   12031     IRpcStubBuffer* This,
   12032     IRpcChannelBuffer* pRpcChannelBuffer,
   12033     PRPC_MESSAGE pRpcMessage,
   12034     DWORD* pdwStubPhase);
   12035 
   12036 #endif  /* __IXpsOMImageResource_INTERFACE_DEFINED__ */
   12037 
   12038 /*****************************************************************************
   12039  * IXpsOMColorProfileResource interface
   12040  */
   12041 #ifndef __IXpsOMColorProfileResource_INTERFACE_DEFINED__
   12042 #define __IXpsOMColorProfileResource_INTERFACE_DEFINED__
   12043 
   12044 DEFINE_GUID(IID_IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe);
   12045 #if defined(__cplusplus) && !defined(CINTERFACE)
   12046 MIDL_INTERFACE("67bd7d69-1eef-4bb1-b5e7-6f4f87be8abe")
   12047 IXpsOMColorProfileResource : public IXpsOMResource
   12048 {
   12049     virtual HRESULT STDMETHODCALLTYPE GetStream(
   12050         IStream **stream) = 0;
   12051 
   12052     virtual HRESULT STDMETHODCALLTYPE SetContent(
   12053         IStream *sourceStream,
   12054         IOpcPartUri *partName) = 0;
   12055 
   12056 };
   12057 #ifdef __CRT_UUID_DECL
   12058 __CRT_UUID_DECL(IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe)
   12059 #endif
   12060 #else
   12061 typedef struct IXpsOMColorProfileResourceVtbl {
   12062     BEGIN_INTERFACE
   12063 
   12064     /*** IUnknown methods ***/
   12065     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12066         IXpsOMColorProfileResource* This,
   12067         REFIID riid,
   12068         void **ppvObject);
   12069 
   12070     ULONG (STDMETHODCALLTYPE *AddRef)(
   12071         IXpsOMColorProfileResource* This);
   12072 
   12073     ULONG (STDMETHODCALLTYPE *Release)(
   12074         IXpsOMColorProfileResource* This);
   12075 
   12076     /*** IXpsOMPart methods ***/
   12077     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12078         IXpsOMColorProfileResource* This,
   12079         IOpcPartUri **partUri);
   12080 
   12081     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12082         IXpsOMColorProfileResource* This,
   12083         IOpcPartUri *partUri);
   12084 
   12085     /*** IXpsOMColorProfileResource methods ***/
   12086     HRESULT (STDMETHODCALLTYPE *GetStream)(
   12087         IXpsOMColorProfileResource* This,
   12088         IStream **stream);
   12089 
   12090     HRESULT (STDMETHODCALLTYPE *SetContent)(
   12091         IXpsOMColorProfileResource* This,
   12092         IStream *sourceStream,
   12093         IOpcPartUri *partName);
   12094 
   12095     END_INTERFACE
   12096 } IXpsOMColorProfileResourceVtbl;
   12097 interface IXpsOMColorProfileResource {
   12098     CONST_VTBL IXpsOMColorProfileResourceVtbl* lpVtbl;
   12099 };
   12100 
   12101 #ifdef COBJMACROS
   12102 #ifndef WIDL_C_INLINE_WRAPPERS
   12103 /*** IUnknown methods ***/
   12104 #define IXpsOMColorProfileResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12105 #define IXpsOMColorProfileResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12106 #define IXpsOMColorProfileResource_Release(This) (This)->lpVtbl->Release(This)
   12107 /*** IXpsOMPart methods ***/
   12108 #define IXpsOMColorProfileResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12109 #define IXpsOMColorProfileResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12110 /*** IXpsOMColorProfileResource methods ***/
   12111 #define IXpsOMColorProfileResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   12112 #define IXpsOMColorProfileResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   12113 #else
   12114 /*** IUnknown methods ***/
   12115 static FORCEINLINE HRESULT IXpsOMColorProfileResource_QueryInterface(IXpsOMColorProfileResource* This,REFIID riid,void **ppvObject) {
   12116     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12117 }
   12118 static FORCEINLINE ULONG IXpsOMColorProfileResource_AddRef(IXpsOMColorProfileResource* This) {
   12119     return This->lpVtbl->AddRef(This);
   12120 }
   12121 static FORCEINLINE ULONG IXpsOMColorProfileResource_Release(IXpsOMColorProfileResource* This) {
   12122     return This->lpVtbl->Release(This);
   12123 }
   12124 /*** IXpsOMPart methods ***/
   12125 static FORCEINLINE HRESULT IXpsOMColorProfileResource_GetPartName(IXpsOMColorProfileResource* This,IOpcPartUri **partUri) {
   12126     return This->lpVtbl->GetPartName(This,partUri);
   12127 }
   12128 static FORCEINLINE HRESULT IXpsOMColorProfileResource_SetPartName(IXpsOMColorProfileResource* This,IOpcPartUri *partUri) {
   12129     return This->lpVtbl->SetPartName(This,partUri);
   12130 }
   12131 /*** IXpsOMColorProfileResource methods ***/
   12132 static FORCEINLINE HRESULT IXpsOMColorProfileResource_GetStream(IXpsOMColorProfileResource* This,IStream **stream) {
   12133     return This->lpVtbl->GetStream(This,stream);
   12134 }
   12135 static FORCEINLINE HRESULT IXpsOMColorProfileResource_SetContent(IXpsOMColorProfileResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   12136     return This->lpVtbl->SetContent(This,sourceStream,partName);
   12137 }
   12138 #endif
   12139 #endif
   12140 
   12141 #endif
   12142 
   12143 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResource_GetStream_Proxy(
   12144     IXpsOMColorProfileResource* This,
   12145     IStream **stream);
   12146 void __RPC_STUB IXpsOMColorProfileResource_GetStream_Stub(
   12147     IRpcStubBuffer* This,
   12148     IRpcChannelBuffer* pRpcChannelBuffer,
   12149     PRPC_MESSAGE pRpcMessage,
   12150     DWORD* pdwStubPhase);
   12151 HRESULT STDMETHODCALLTYPE IXpsOMColorProfileResource_SetContent_Proxy(
   12152     IXpsOMColorProfileResource* This,
   12153     IStream *sourceStream,
   12154     IOpcPartUri *partName);
   12155 void __RPC_STUB IXpsOMColorProfileResource_SetContent_Stub(
   12156     IRpcStubBuffer* This,
   12157     IRpcChannelBuffer* pRpcChannelBuffer,
   12158     PRPC_MESSAGE pRpcMessage,
   12159     DWORD* pdwStubPhase);
   12160 
   12161 #endif  /* __IXpsOMColorProfileResource_INTERFACE_DEFINED__ */
   12162 
   12163 /*****************************************************************************
   12164  * IXpsOMPrintTicketResource interface
   12165  */
   12166 #ifndef __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
   12167 #define __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
   12168 
   12169 DEFINE_GUID(IID_IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7);
   12170 #if defined(__cplusplus) && !defined(CINTERFACE)
   12171 MIDL_INTERFACE("e7ff32d2-34aa-499b-bbe9-9cd4ee6c59f7")
   12172 IXpsOMPrintTicketResource : public IXpsOMResource
   12173 {
   12174     virtual HRESULT STDMETHODCALLTYPE GetStream(
   12175         IStream **stream) = 0;
   12176 
   12177     virtual HRESULT STDMETHODCALLTYPE SetContent(
   12178         IStream *sourceStream,
   12179         IOpcPartUri *partName) = 0;
   12180 
   12181 };
   12182 #ifdef __CRT_UUID_DECL
   12183 __CRT_UUID_DECL(IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7)
   12184 #endif
   12185 #else
   12186 typedef struct IXpsOMPrintTicketResourceVtbl {
   12187     BEGIN_INTERFACE
   12188 
   12189     /*** IUnknown methods ***/
   12190     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12191         IXpsOMPrintTicketResource* This,
   12192         REFIID riid,
   12193         void **ppvObject);
   12194 
   12195     ULONG (STDMETHODCALLTYPE *AddRef)(
   12196         IXpsOMPrintTicketResource* This);
   12197 
   12198     ULONG (STDMETHODCALLTYPE *Release)(
   12199         IXpsOMPrintTicketResource* This);
   12200 
   12201     /*** IXpsOMPart methods ***/
   12202     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12203         IXpsOMPrintTicketResource* This,
   12204         IOpcPartUri **partUri);
   12205 
   12206     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12207         IXpsOMPrintTicketResource* This,
   12208         IOpcPartUri *partUri);
   12209 
   12210     /*** IXpsOMPrintTicketResource methods ***/
   12211     HRESULT (STDMETHODCALLTYPE *GetStream)(
   12212         IXpsOMPrintTicketResource* This,
   12213         IStream **stream);
   12214 
   12215     HRESULT (STDMETHODCALLTYPE *SetContent)(
   12216         IXpsOMPrintTicketResource* This,
   12217         IStream *sourceStream,
   12218         IOpcPartUri *partName);
   12219 
   12220     END_INTERFACE
   12221 } IXpsOMPrintTicketResourceVtbl;
   12222 interface IXpsOMPrintTicketResource {
   12223     CONST_VTBL IXpsOMPrintTicketResourceVtbl* lpVtbl;
   12224 };
   12225 
   12226 #ifdef COBJMACROS
   12227 #ifndef WIDL_C_INLINE_WRAPPERS
   12228 /*** IUnknown methods ***/
   12229 #define IXpsOMPrintTicketResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12230 #define IXpsOMPrintTicketResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12231 #define IXpsOMPrintTicketResource_Release(This) (This)->lpVtbl->Release(This)
   12232 /*** IXpsOMPart methods ***/
   12233 #define IXpsOMPrintTicketResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12234 #define IXpsOMPrintTicketResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12235 /*** IXpsOMPrintTicketResource methods ***/
   12236 #define IXpsOMPrintTicketResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   12237 #define IXpsOMPrintTicketResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   12238 #else
   12239 /*** IUnknown methods ***/
   12240 static FORCEINLINE HRESULT IXpsOMPrintTicketResource_QueryInterface(IXpsOMPrintTicketResource* This,REFIID riid,void **ppvObject) {
   12241     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12242 }
   12243 static FORCEINLINE ULONG IXpsOMPrintTicketResource_AddRef(IXpsOMPrintTicketResource* This) {
   12244     return This->lpVtbl->AddRef(This);
   12245 }
   12246 static FORCEINLINE ULONG IXpsOMPrintTicketResource_Release(IXpsOMPrintTicketResource* This) {
   12247     return This->lpVtbl->Release(This);
   12248 }
   12249 /*** IXpsOMPart methods ***/
   12250 static FORCEINLINE HRESULT IXpsOMPrintTicketResource_GetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri **partUri) {
   12251     return This->lpVtbl->GetPartName(This,partUri);
   12252 }
   12253 static FORCEINLINE HRESULT IXpsOMPrintTicketResource_SetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri *partUri) {
   12254     return This->lpVtbl->SetPartName(This,partUri);
   12255 }
   12256 /*** IXpsOMPrintTicketResource methods ***/
   12257 static FORCEINLINE HRESULT IXpsOMPrintTicketResource_GetStream(IXpsOMPrintTicketResource* This,IStream **stream) {
   12258     return This->lpVtbl->GetStream(This,stream);
   12259 }
   12260 static FORCEINLINE HRESULT IXpsOMPrintTicketResource_SetContent(IXpsOMPrintTicketResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   12261     return This->lpVtbl->SetContent(This,sourceStream,partName);
   12262 }
   12263 #endif
   12264 #endif
   12265 
   12266 #endif
   12267 
   12268 HRESULT STDMETHODCALLTYPE IXpsOMPrintTicketResource_GetStream_Proxy(
   12269     IXpsOMPrintTicketResource* This,
   12270     IStream **stream);
   12271 void __RPC_STUB IXpsOMPrintTicketResource_GetStream_Stub(
   12272     IRpcStubBuffer* This,
   12273     IRpcChannelBuffer* pRpcChannelBuffer,
   12274     PRPC_MESSAGE pRpcMessage,
   12275     DWORD* pdwStubPhase);
   12276 HRESULT STDMETHODCALLTYPE IXpsOMPrintTicketResource_SetContent_Proxy(
   12277     IXpsOMPrintTicketResource* This,
   12278     IStream *sourceStream,
   12279     IOpcPartUri *partName);
   12280 void __RPC_STUB IXpsOMPrintTicketResource_SetContent_Stub(
   12281     IRpcStubBuffer* This,
   12282     IRpcChannelBuffer* pRpcChannelBuffer,
   12283     PRPC_MESSAGE pRpcMessage,
   12284     DWORD* pdwStubPhase);
   12285 
   12286 #endif  /* __IXpsOMPrintTicketResource_INTERFACE_DEFINED__ */
   12287 
   12288 /*****************************************************************************
   12289  * IXpsOMRemoteDictionaryResource interface
   12290  */
   12291 #ifndef __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
   12292 #define __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
   12293 
   12294 DEFINE_GUID(IID_IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61);
   12295 #if defined(__cplusplus) && !defined(CINTERFACE)
   12296 MIDL_INTERFACE("c9bd7cd4-e16a-4bf8-8c84-c950af7a3061")
   12297 IXpsOMRemoteDictionaryResource : public IXpsOMResource
   12298 {
   12299     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
   12300         IXpsOMDictionary **dictionary) = 0;
   12301 
   12302     virtual HRESULT STDMETHODCALLTYPE SetDictionary(
   12303         IXpsOMDictionary *dictionary) = 0;
   12304 
   12305 };
   12306 #ifdef __CRT_UUID_DECL
   12307 __CRT_UUID_DECL(IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61)
   12308 #endif
   12309 #else
   12310 typedef struct IXpsOMRemoteDictionaryResourceVtbl {
   12311     BEGIN_INTERFACE
   12312 
   12313     /*** IUnknown methods ***/
   12314     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12315         IXpsOMRemoteDictionaryResource* This,
   12316         REFIID riid,
   12317         void **ppvObject);
   12318 
   12319     ULONG (STDMETHODCALLTYPE *AddRef)(
   12320         IXpsOMRemoteDictionaryResource* This);
   12321 
   12322     ULONG (STDMETHODCALLTYPE *Release)(
   12323         IXpsOMRemoteDictionaryResource* This);
   12324 
   12325     /*** IXpsOMPart methods ***/
   12326     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12327         IXpsOMRemoteDictionaryResource* This,
   12328         IOpcPartUri **partUri);
   12329 
   12330     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12331         IXpsOMRemoteDictionaryResource* This,
   12332         IOpcPartUri *partUri);
   12333 
   12334     /*** IXpsOMRemoteDictionaryResource methods ***/
   12335     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
   12336         IXpsOMRemoteDictionaryResource* This,
   12337         IXpsOMDictionary **dictionary);
   12338 
   12339     HRESULT (STDMETHODCALLTYPE *SetDictionary)(
   12340         IXpsOMRemoteDictionaryResource* This,
   12341         IXpsOMDictionary *dictionary);
   12342 
   12343     END_INTERFACE
   12344 } IXpsOMRemoteDictionaryResourceVtbl;
   12345 interface IXpsOMRemoteDictionaryResource {
   12346     CONST_VTBL IXpsOMRemoteDictionaryResourceVtbl* lpVtbl;
   12347 };
   12348 
   12349 #ifdef COBJMACROS
   12350 #ifndef WIDL_C_INLINE_WRAPPERS
   12351 /*** IUnknown methods ***/
   12352 #define IXpsOMRemoteDictionaryResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12353 #define IXpsOMRemoteDictionaryResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12354 #define IXpsOMRemoteDictionaryResource_Release(This) (This)->lpVtbl->Release(This)
   12355 /*** IXpsOMPart methods ***/
   12356 #define IXpsOMRemoteDictionaryResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12357 #define IXpsOMRemoteDictionaryResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12358 /*** IXpsOMRemoteDictionaryResource methods ***/
   12359 #define IXpsOMRemoteDictionaryResource_GetDictionary(This,dictionary) (This)->lpVtbl->GetDictionary(This,dictionary)
   12360 #define IXpsOMRemoteDictionaryResource_SetDictionary(This,dictionary) (This)->lpVtbl->SetDictionary(This,dictionary)
   12361 #else
   12362 /*** IUnknown methods ***/
   12363 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_QueryInterface(IXpsOMRemoteDictionaryResource* This,REFIID riid,void **ppvObject) {
   12364     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12365 }
   12366 static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource_AddRef(IXpsOMRemoteDictionaryResource* This) {
   12367     return This->lpVtbl->AddRef(This);
   12368 }
   12369 static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource_Release(IXpsOMRemoteDictionaryResource* This) {
   12370     return This->lpVtbl->Release(This);
   12371 }
   12372 /*** IXpsOMPart methods ***/
   12373 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_GetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri **partUri) {
   12374     return This->lpVtbl->GetPartName(This,partUri);
   12375 }
   12376 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_SetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri *partUri) {
   12377     return This->lpVtbl->SetPartName(This,partUri);
   12378 }
   12379 /*** IXpsOMRemoteDictionaryResource methods ***/
   12380 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_GetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary **dictionary) {
   12381     return This->lpVtbl->GetDictionary(This,dictionary);
   12382 }
   12383 static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_SetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary *dictionary) {
   12384     return This->lpVtbl->SetDictionary(This,dictionary);
   12385 }
   12386 #endif
   12387 #endif
   12388 
   12389 #endif
   12390 
   12391 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResource_GetDictionary_Proxy(
   12392     IXpsOMRemoteDictionaryResource* This,
   12393     IXpsOMDictionary **dictionary);
   12394 void __RPC_STUB IXpsOMRemoteDictionaryResource_GetDictionary_Stub(
   12395     IRpcStubBuffer* This,
   12396     IRpcChannelBuffer* pRpcChannelBuffer,
   12397     PRPC_MESSAGE pRpcMessage,
   12398     DWORD* pdwStubPhase);
   12399 HRESULT STDMETHODCALLTYPE IXpsOMRemoteDictionaryResource_SetDictionary_Proxy(
   12400     IXpsOMRemoteDictionaryResource* This,
   12401     IXpsOMDictionary *dictionary);
   12402 void __RPC_STUB IXpsOMRemoteDictionaryResource_SetDictionary_Stub(
   12403     IRpcStubBuffer* This,
   12404     IRpcChannelBuffer* pRpcChannelBuffer,
   12405     PRPC_MESSAGE pRpcMessage,
   12406     DWORD* pdwStubPhase);
   12407 
   12408 #endif  /* __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__ */
   12409 
   12410 /*****************************************************************************
   12411  * IXpsOMDocumentStructureResource interface
   12412  */
   12413 #ifndef __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
   12414 #define __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
   12415 
   12416 DEFINE_GUID(IID_IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30);
   12417 #if defined(__cplusplus) && !defined(CINTERFACE)
   12418 MIDL_INTERFACE("85febc8a-6b63-48a9-af07-7064e4ecff30")
   12419 IXpsOMDocumentStructureResource : public IXpsOMResource
   12420 {
   12421     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   12422         IXpsOMDocument **owner) = 0;
   12423 
   12424     virtual HRESULT STDMETHODCALLTYPE GetStream(
   12425         IStream **stream) = 0;
   12426 
   12427     virtual HRESULT STDMETHODCALLTYPE SetContent(
   12428         IStream *sourceStream,
   12429         IOpcPartUri *partName) = 0;
   12430 
   12431 };
   12432 #ifdef __CRT_UUID_DECL
   12433 __CRT_UUID_DECL(IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30)
   12434 #endif
   12435 #else
   12436 typedef struct IXpsOMDocumentStructureResourceVtbl {
   12437     BEGIN_INTERFACE
   12438 
   12439     /*** IUnknown methods ***/
   12440     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12441         IXpsOMDocumentStructureResource* This,
   12442         REFIID riid,
   12443         void **ppvObject);
   12444 
   12445     ULONG (STDMETHODCALLTYPE *AddRef)(
   12446         IXpsOMDocumentStructureResource* This);
   12447 
   12448     ULONG (STDMETHODCALLTYPE *Release)(
   12449         IXpsOMDocumentStructureResource* This);
   12450 
   12451     /*** IXpsOMPart methods ***/
   12452     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12453         IXpsOMDocumentStructureResource* This,
   12454         IOpcPartUri **partUri);
   12455 
   12456     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12457         IXpsOMDocumentStructureResource* This,
   12458         IOpcPartUri *partUri);
   12459 
   12460     /*** IXpsOMDocumentStructureResource methods ***/
   12461     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   12462         IXpsOMDocumentStructureResource* This,
   12463         IXpsOMDocument **owner);
   12464 
   12465     HRESULT (STDMETHODCALLTYPE *GetStream)(
   12466         IXpsOMDocumentStructureResource* This,
   12467         IStream **stream);
   12468 
   12469     HRESULT (STDMETHODCALLTYPE *SetContent)(
   12470         IXpsOMDocumentStructureResource* This,
   12471         IStream *sourceStream,
   12472         IOpcPartUri *partName);
   12473 
   12474     END_INTERFACE
   12475 } IXpsOMDocumentStructureResourceVtbl;
   12476 interface IXpsOMDocumentStructureResource {
   12477     CONST_VTBL IXpsOMDocumentStructureResourceVtbl* lpVtbl;
   12478 };
   12479 
   12480 #ifdef COBJMACROS
   12481 #ifndef WIDL_C_INLINE_WRAPPERS
   12482 /*** IUnknown methods ***/
   12483 #define IXpsOMDocumentStructureResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12484 #define IXpsOMDocumentStructureResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12485 #define IXpsOMDocumentStructureResource_Release(This) (This)->lpVtbl->Release(This)
   12486 /*** IXpsOMPart methods ***/
   12487 #define IXpsOMDocumentStructureResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12488 #define IXpsOMDocumentStructureResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12489 /*** IXpsOMDocumentStructureResource methods ***/
   12490 #define IXpsOMDocumentStructureResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   12491 #define IXpsOMDocumentStructureResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   12492 #define IXpsOMDocumentStructureResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   12493 #else
   12494 /*** IUnknown methods ***/
   12495 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_QueryInterface(IXpsOMDocumentStructureResource* This,REFIID riid,void **ppvObject) {
   12496     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12497 }
   12498 static FORCEINLINE ULONG IXpsOMDocumentStructureResource_AddRef(IXpsOMDocumentStructureResource* This) {
   12499     return This->lpVtbl->AddRef(This);
   12500 }
   12501 static FORCEINLINE ULONG IXpsOMDocumentStructureResource_Release(IXpsOMDocumentStructureResource* This) {
   12502     return This->lpVtbl->Release(This);
   12503 }
   12504 /*** IXpsOMPart methods ***/
   12505 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri **partUri) {
   12506     return This->lpVtbl->GetPartName(This,partUri);
   12507 }
   12508 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_SetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri *partUri) {
   12509     return This->lpVtbl->SetPartName(This,partUri);
   12510 }
   12511 /*** IXpsOMDocumentStructureResource methods ***/
   12512 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetOwner(IXpsOMDocumentStructureResource* This,IXpsOMDocument **owner) {
   12513     return This->lpVtbl->GetOwner(This,owner);
   12514 }
   12515 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetStream(IXpsOMDocumentStructureResource* This,IStream **stream) {
   12516     return This->lpVtbl->GetStream(This,stream);
   12517 }
   12518 static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_SetContent(IXpsOMDocumentStructureResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   12519     return This->lpVtbl->SetContent(This,sourceStream,partName);
   12520 }
   12521 #endif
   12522 #endif
   12523 
   12524 #endif
   12525 
   12526 HRESULT STDMETHODCALLTYPE IXpsOMDocumentStructureResource_GetOwner_Proxy(
   12527     IXpsOMDocumentStructureResource* This,
   12528     IXpsOMDocument **owner);
   12529 void __RPC_STUB IXpsOMDocumentStructureResource_GetOwner_Stub(
   12530     IRpcStubBuffer* This,
   12531     IRpcChannelBuffer* pRpcChannelBuffer,
   12532     PRPC_MESSAGE pRpcMessage,
   12533     DWORD* pdwStubPhase);
   12534 HRESULT STDMETHODCALLTYPE IXpsOMDocumentStructureResource_GetStream_Proxy(
   12535     IXpsOMDocumentStructureResource* This,
   12536     IStream **stream);
   12537 void __RPC_STUB IXpsOMDocumentStructureResource_GetStream_Stub(
   12538     IRpcStubBuffer* This,
   12539     IRpcChannelBuffer* pRpcChannelBuffer,
   12540     PRPC_MESSAGE pRpcMessage,
   12541     DWORD* pdwStubPhase);
   12542 HRESULT STDMETHODCALLTYPE IXpsOMDocumentStructureResource_SetContent_Proxy(
   12543     IXpsOMDocumentStructureResource* This,
   12544     IStream *sourceStream,
   12545     IOpcPartUri *partName);
   12546 void __RPC_STUB IXpsOMDocumentStructureResource_SetContent_Stub(
   12547     IRpcStubBuffer* This,
   12548     IRpcChannelBuffer* pRpcChannelBuffer,
   12549     PRPC_MESSAGE pRpcMessage,
   12550     DWORD* pdwStubPhase);
   12551 
   12552 #endif  /* __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__ */
   12553 
   12554 /*****************************************************************************
   12555  * IXpsOMStoryFragmentsResource interface
   12556  */
   12557 #ifndef __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
   12558 #define __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
   12559 
   12560 DEFINE_GUID(IID_IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0);
   12561 #if defined(__cplusplus) && !defined(CINTERFACE)
   12562 MIDL_INTERFACE("c2b3ca09-0473-4282-87ae-1780863223f0")
   12563 IXpsOMStoryFragmentsResource : public IXpsOMResource
   12564 {
   12565     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   12566         IXpsOMPageReference **owner) = 0;
   12567 
   12568     virtual HRESULT STDMETHODCALLTYPE GetStream(
   12569         IStream **stream) = 0;
   12570 
   12571     virtual HRESULT STDMETHODCALLTYPE SetContent(
   12572         IStream *sourceStream,
   12573         IOpcPartUri *partName) = 0;
   12574 
   12575 };
   12576 #ifdef __CRT_UUID_DECL
   12577 __CRT_UUID_DECL(IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0)
   12578 #endif
   12579 #else
   12580 typedef struct IXpsOMStoryFragmentsResourceVtbl {
   12581     BEGIN_INTERFACE
   12582 
   12583     /*** IUnknown methods ***/
   12584     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12585         IXpsOMStoryFragmentsResource* This,
   12586         REFIID riid,
   12587         void **ppvObject);
   12588 
   12589     ULONG (STDMETHODCALLTYPE *AddRef)(
   12590         IXpsOMStoryFragmentsResource* This);
   12591 
   12592     ULONG (STDMETHODCALLTYPE *Release)(
   12593         IXpsOMStoryFragmentsResource* This);
   12594 
   12595     /*** IXpsOMPart methods ***/
   12596     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12597         IXpsOMStoryFragmentsResource* This,
   12598         IOpcPartUri **partUri);
   12599 
   12600     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12601         IXpsOMStoryFragmentsResource* This,
   12602         IOpcPartUri *partUri);
   12603 
   12604     /*** IXpsOMStoryFragmentsResource methods ***/
   12605     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   12606         IXpsOMStoryFragmentsResource* This,
   12607         IXpsOMPageReference **owner);
   12608 
   12609     HRESULT (STDMETHODCALLTYPE *GetStream)(
   12610         IXpsOMStoryFragmentsResource* This,
   12611         IStream **stream);
   12612 
   12613     HRESULT (STDMETHODCALLTYPE *SetContent)(
   12614         IXpsOMStoryFragmentsResource* This,
   12615         IStream *sourceStream,
   12616         IOpcPartUri *partName);
   12617 
   12618     END_INTERFACE
   12619 } IXpsOMStoryFragmentsResourceVtbl;
   12620 interface IXpsOMStoryFragmentsResource {
   12621     CONST_VTBL IXpsOMStoryFragmentsResourceVtbl* lpVtbl;
   12622 };
   12623 
   12624 #ifdef COBJMACROS
   12625 #ifndef WIDL_C_INLINE_WRAPPERS
   12626 /*** IUnknown methods ***/
   12627 #define IXpsOMStoryFragmentsResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12628 #define IXpsOMStoryFragmentsResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12629 #define IXpsOMStoryFragmentsResource_Release(This) (This)->lpVtbl->Release(This)
   12630 /*** IXpsOMPart methods ***/
   12631 #define IXpsOMStoryFragmentsResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12632 #define IXpsOMStoryFragmentsResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12633 /*** IXpsOMStoryFragmentsResource methods ***/
   12634 #define IXpsOMStoryFragmentsResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   12635 #define IXpsOMStoryFragmentsResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   12636 #define IXpsOMStoryFragmentsResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   12637 #else
   12638 /*** IUnknown methods ***/
   12639 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_QueryInterface(IXpsOMStoryFragmentsResource* This,REFIID riid,void **ppvObject) {
   12640     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12641 }
   12642 static FORCEINLINE ULONG IXpsOMStoryFragmentsResource_AddRef(IXpsOMStoryFragmentsResource* This) {
   12643     return This->lpVtbl->AddRef(This);
   12644 }
   12645 static FORCEINLINE ULONG IXpsOMStoryFragmentsResource_Release(IXpsOMStoryFragmentsResource* This) {
   12646     return This->lpVtbl->Release(This);
   12647 }
   12648 /*** IXpsOMPart methods ***/
   12649 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri **partUri) {
   12650     return This->lpVtbl->GetPartName(This,partUri);
   12651 }
   12652 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_SetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri *partUri) {
   12653     return This->lpVtbl->SetPartName(This,partUri);
   12654 }
   12655 /*** IXpsOMStoryFragmentsResource methods ***/
   12656 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetOwner(IXpsOMStoryFragmentsResource* This,IXpsOMPageReference **owner) {
   12657     return This->lpVtbl->GetOwner(This,owner);
   12658 }
   12659 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetStream(IXpsOMStoryFragmentsResource* This,IStream **stream) {
   12660     return This->lpVtbl->GetStream(This,stream);
   12661 }
   12662 static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_SetContent(IXpsOMStoryFragmentsResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   12663     return This->lpVtbl->SetContent(This,sourceStream,partName);
   12664 }
   12665 #endif
   12666 #endif
   12667 
   12668 #endif
   12669 
   12670 HRESULT STDMETHODCALLTYPE IXpsOMStoryFragmentsResource_GetOwner_Proxy(
   12671     IXpsOMStoryFragmentsResource* This,
   12672     IXpsOMPageReference **owner);
   12673 void __RPC_STUB IXpsOMStoryFragmentsResource_GetOwner_Stub(
   12674     IRpcStubBuffer* This,
   12675     IRpcChannelBuffer* pRpcChannelBuffer,
   12676     PRPC_MESSAGE pRpcMessage,
   12677     DWORD* pdwStubPhase);
   12678 HRESULT STDMETHODCALLTYPE IXpsOMStoryFragmentsResource_GetStream_Proxy(
   12679     IXpsOMStoryFragmentsResource* This,
   12680     IStream **stream);
   12681 void __RPC_STUB IXpsOMStoryFragmentsResource_GetStream_Stub(
   12682     IRpcStubBuffer* This,
   12683     IRpcChannelBuffer* pRpcChannelBuffer,
   12684     PRPC_MESSAGE pRpcMessage,
   12685     DWORD* pdwStubPhase);
   12686 HRESULT STDMETHODCALLTYPE IXpsOMStoryFragmentsResource_SetContent_Proxy(
   12687     IXpsOMStoryFragmentsResource* This,
   12688     IStream *sourceStream,
   12689     IOpcPartUri *partName);
   12690 void __RPC_STUB IXpsOMStoryFragmentsResource_SetContent_Stub(
   12691     IRpcStubBuffer* This,
   12692     IRpcChannelBuffer* pRpcChannelBuffer,
   12693     PRPC_MESSAGE pRpcMessage,
   12694     DWORD* pdwStubPhase);
   12695 
   12696 #endif  /* __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__ */
   12697 
   12698 /*****************************************************************************
   12699  * IXpsOMSignatureBlockResource interface
   12700  */
   12701 #ifndef __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
   12702 #define __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
   12703 
   12704 DEFINE_GUID(IID_IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05);
   12705 #if defined(__cplusplus) && !defined(CINTERFACE)
   12706 MIDL_INTERFACE("4776ad35-2e04-4357-8743-ebf6c171a905")
   12707 IXpsOMSignatureBlockResource : public IXpsOMResource
   12708 {
   12709     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   12710         IXpsOMDocument **owner) = 0;
   12711 
   12712     virtual HRESULT STDMETHODCALLTYPE GetStream(
   12713         IStream **stream) = 0;
   12714 
   12715     virtual HRESULT STDMETHODCALLTYPE SetContent(
   12716         IStream *sourceStream,
   12717         IOpcPartUri *partName) = 0;
   12718 
   12719 };
   12720 #ifdef __CRT_UUID_DECL
   12721 __CRT_UUID_DECL(IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05)
   12722 #endif
   12723 #else
   12724 typedef struct IXpsOMSignatureBlockResourceVtbl {
   12725     BEGIN_INTERFACE
   12726 
   12727     /*** IUnknown methods ***/
   12728     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12729         IXpsOMSignatureBlockResource* This,
   12730         REFIID riid,
   12731         void **ppvObject);
   12732 
   12733     ULONG (STDMETHODCALLTYPE *AddRef)(
   12734         IXpsOMSignatureBlockResource* This);
   12735 
   12736     ULONG (STDMETHODCALLTYPE *Release)(
   12737         IXpsOMSignatureBlockResource* This);
   12738 
   12739     /*** IXpsOMPart methods ***/
   12740     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   12741         IXpsOMSignatureBlockResource* This,
   12742         IOpcPartUri **partUri);
   12743 
   12744     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   12745         IXpsOMSignatureBlockResource* This,
   12746         IOpcPartUri *partUri);
   12747 
   12748     /*** IXpsOMSignatureBlockResource methods ***/
   12749     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   12750         IXpsOMSignatureBlockResource* This,
   12751         IXpsOMDocument **owner);
   12752 
   12753     HRESULT (STDMETHODCALLTYPE *GetStream)(
   12754         IXpsOMSignatureBlockResource* This,
   12755         IStream **stream);
   12756 
   12757     HRESULT (STDMETHODCALLTYPE *SetContent)(
   12758         IXpsOMSignatureBlockResource* This,
   12759         IStream *sourceStream,
   12760         IOpcPartUri *partName);
   12761 
   12762     END_INTERFACE
   12763 } IXpsOMSignatureBlockResourceVtbl;
   12764 interface IXpsOMSignatureBlockResource {
   12765     CONST_VTBL IXpsOMSignatureBlockResourceVtbl* lpVtbl;
   12766 };
   12767 
   12768 #ifdef COBJMACROS
   12769 #ifndef WIDL_C_INLINE_WRAPPERS
   12770 /*** IUnknown methods ***/
   12771 #define IXpsOMSignatureBlockResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   12772 #define IXpsOMSignatureBlockResource_AddRef(This) (This)->lpVtbl->AddRef(This)
   12773 #define IXpsOMSignatureBlockResource_Release(This) (This)->lpVtbl->Release(This)
   12774 /*** IXpsOMPart methods ***/
   12775 #define IXpsOMSignatureBlockResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   12776 #define IXpsOMSignatureBlockResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   12777 /*** IXpsOMSignatureBlockResource methods ***/
   12778 #define IXpsOMSignatureBlockResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   12779 #define IXpsOMSignatureBlockResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
   12780 #define IXpsOMSignatureBlockResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
   12781 #else
   12782 /*** IUnknown methods ***/
   12783 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_QueryInterface(IXpsOMSignatureBlockResource* This,REFIID riid,void **ppvObject) {
   12784     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   12785 }
   12786 static FORCEINLINE ULONG IXpsOMSignatureBlockResource_AddRef(IXpsOMSignatureBlockResource* This) {
   12787     return This->lpVtbl->AddRef(This);
   12788 }
   12789 static FORCEINLINE ULONG IXpsOMSignatureBlockResource_Release(IXpsOMSignatureBlockResource* This) {
   12790     return This->lpVtbl->Release(This);
   12791 }
   12792 /*** IXpsOMPart methods ***/
   12793 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri **partUri) {
   12794     return This->lpVtbl->GetPartName(This,partUri);
   12795 }
   12796 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_SetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri *partUri) {
   12797     return This->lpVtbl->SetPartName(This,partUri);
   12798 }
   12799 /*** IXpsOMSignatureBlockResource methods ***/
   12800 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetOwner(IXpsOMSignatureBlockResource* This,IXpsOMDocument **owner) {
   12801     return This->lpVtbl->GetOwner(This,owner);
   12802 }
   12803 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetStream(IXpsOMSignatureBlockResource* This,IStream **stream) {
   12804     return This->lpVtbl->GetStream(This,stream);
   12805 }
   12806 static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_SetContent(IXpsOMSignatureBlockResource* This,IStream *sourceStream,IOpcPartUri *partName) {
   12807     return This->lpVtbl->SetContent(This,sourceStream,partName);
   12808 }
   12809 #endif
   12810 #endif
   12811 
   12812 #endif
   12813 
   12814 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResource_GetOwner_Proxy(
   12815     IXpsOMSignatureBlockResource* This,
   12816     IXpsOMDocument **owner);
   12817 void __RPC_STUB IXpsOMSignatureBlockResource_GetOwner_Stub(
   12818     IRpcStubBuffer* This,
   12819     IRpcChannelBuffer* pRpcChannelBuffer,
   12820     PRPC_MESSAGE pRpcMessage,
   12821     DWORD* pdwStubPhase);
   12822 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResource_GetStream_Proxy(
   12823     IXpsOMSignatureBlockResource* This,
   12824     IStream **stream);
   12825 void __RPC_STUB IXpsOMSignatureBlockResource_GetStream_Stub(
   12826     IRpcStubBuffer* This,
   12827     IRpcChannelBuffer* pRpcChannelBuffer,
   12828     PRPC_MESSAGE pRpcMessage,
   12829     DWORD* pdwStubPhase);
   12830 HRESULT STDMETHODCALLTYPE IXpsOMSignatureBlockResource_SetContent_Proxy(
   12831     IXpsOMSignatureBlockResource* This,
   12832     IStream *sourceStream,
   12833     IOpcPartUri *partName);
   12834 void __RPC_STUB IXpsOMSignatureBlockResource_SetContent_Stub(
   12835     IRpcStubBuffer* This,
   12836     IRpcChannelBuffer* pRpcChannelBuffer,
   12837     PRPC_MESSAGE pRpcMessage,
   12838     DWORD* pdwStubPhase);
   12839 
   12840 #endif  /* __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__ */
   12841 
   12842 /*****************************************************************************
   12843  * IXpsOMCanvas interface
   12844  */
   12845 #ifndef __IXpsOMCanvas_INTERFACE_DEFINED__
   12846 #define __IXpsOMCanvas_INTERFACE_DEFINED__
   12847 
   12848 DEFINE_GUID(IID_IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3);
   12849 #if defined(__cplusplus) && !defined(CINTERFACE)
   12850 MIDL_INTERFACE("221d1452-331e-47c6-87e9-6ccefb9b5ba3")
   12851 IXpsOMCanvas : public IXpsOMVisual
   12852 {
   12853     virtual HRESULT STDMETHODCALLTYPE GetVisuals(
   12854         IXpsOMVisualCollection **visuals) = 0;
   12855 
   12856     virtual HRESULT STDMETHODCALLTYPE GetUseAliasedEdgeMode(
   12857         WINBOOL *useAliasedEdgeMode) = 0;
   12858 
   12859     virtual HRESULT STDMETHODCALLTYPE SetUseAliasedEdgeMode(
   12860         WINBOOL useAliasedEdgeMode) = 0;
   12861 
   12862     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
   12863         LPWSTR *shortDescription) = 0;
   12864 
   12865     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
   12866         LPCWSTR shortDescription) = 0;
   12867 
   12868     virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
   12869         LPWSTR *longDescription) = 0;
   12870 
   12871     virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
   12872         LPCWSTR longDescription) = 0;
   12873 
   12874     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
   12875         IXpsOMDictionary **resourceDictionary) = 0;
   12876 
   12877     virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
   12878         IXpsOMDictionary **resourceDictionary) = 0;
   12879 
   12880     virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
   12881         IXpsOMDictionary *resourceDictionary) = 0;
   12882 
   12883     virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
   12884         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   12885 
   12886     virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
   12887         IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
   12888 
   12889     virtual HRESULT STDMETHODCALLTYPE Clone(
   12890         IXpsOMCanvas **canvas) = 0;
   12891 
   12892 };
   12893 #ifdef __CRT_UUID_DECL
   12894 __CRT_UUID_DECL(IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3)
   12895 #endif
   12896 #else
   12897 typedef struct IXpsOMCanvasVtbl {
   12898     BEGIN_INTERFACE
   12899 
   12900     /*** IUnknown methods ***/
   12901     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   12902         IXpsOMCanvas* This,
   12903         REFIID riid,
   12904         void **ppvObject);
   12905 
   12906     ULONG (STDMETHODCALLTYPE *AddRef)(
   12907         IXpsOMCanvas* This);
   12908 
   12909     ULONG (STDMETHODCALLTYPE *Release)(
   12910         IXpsOMCanvas* This);
   12911 
   12912     /*** IXpsOMShareable methods ***/
   12913     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   12914         IXpsOMCanvas* This,
   12915         IUnknown **owner);
   12916 
   12917     HRESULT (STDMETHODCALLTYPE *GetType)(
   12918         IXpsOMCanvas* This,
   12919         XPS_OBJECT_TYPE *type);
   12920 
   12921     /*** IXpsOMVisual methods ***/
   12922     HRESULT (STDMETHODCALLTYPE *GetTransform)(
   12923         IXpsOMCanvas* This,
   12924         IXpsOMMatrixTransform **matrixTransform);
   12925 
   12926     HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
   12927         IXpsOMCanvas* This,
   12928         IXpsOMMatrixTransform **matrixTransform);
   12929 
   12930     HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
   12931         IXpsOMCanvas* This,
   12932         IXpsOMMatrixTransform *matrixTransform);
   12933 
   12934     HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
   12935         IXpsOMCanvas* This,
   12936         LPWSTR *key);
   12937 
   12938     HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
   12939         IXpsOMCanvas* This,
   12940         LPCWSTR key);
   12941 
   12942     HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
   12943         IXpsOMCanvas* This,
   12944         IXpsOMGeometry **clipGeometry);
   12945 
   12946     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
   12947         IXpsOMCanvas* This,
   12948         IXpsOMGeometry **clipGeometry);
   12949 
   12950     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
   12951         IXpsOMCanvas* This,
   12952         IXpsOMGeometry *clipGeometry);
   12953 
   12954     HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
   12955         IXpsOMCanvas* This,
   12956         LPWSTR *key);
   12957 
   12958     HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
   12959         IXpsOMCanvas* This,
   12960         LPCWSTR key);
   12961 
   12962     HRESULT (STDMETHODCALLTYPE *GetOpacity)(
   12963         IXpsOMCanvas* This,
   12964         FLOAT *opacity);
   12965 
   12966     HRESULT (STDMETHODCALLTYPE *SetOpacity)(
   12967         IXpsOMCanvas* This,
   12968         FLOAT opacity);
   12969 
   12970     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
   12971         IXpsOMCanvas* This,
   12972         IXpsOMBrush **opacityMaskBrush);
   12973 
   12974     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
   12975         IXpsOMCanvas* This,
   12976         IXpsOMBrush **opacityMaskBrush);
   12977 
   12978     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
   12979         IXpsOMCanvas* This,
   12980         IXpsOMBrush *opacityMaskBrush);
   12981 
   12982     HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
   12983         IXpsOMCanvas* This,
   12984         LPWSTR *key);
   12985 
   12986     HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
   12987         IXpsOMCanvas* This,
   12988         LPCWSTR key);
   12989 
   12990     HRESULT (STDMETHODCALLTYPE *GetName)(
   12991         IXpsOMCanvas* This,
   12992         LPWSTR *name);
   12993 
   12994     HRESULT (STDMETHODCALLTYPE *SetName)(
   12995         IXpsOMCanvas* This,
   12996         LPCWSTR name);
   12997 
   12998     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   12999         IXpsOMCanvas* This,
   13000         WINBOOL *isHyperlink);
   13001 
   13002     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   13003         IXpsOMCanvas* This,
   13004         WINBOOL isHyperlink);
   13005 
   13006     HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
   13007         IXpsOMCanvas* This,
   13008         IUri **hyperlinkUri);
   13009 
   13010     HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
   13011         IXpsOMCanvas* This,
   13012         IUri *hyperlinkUri);
   13013 
   13014     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   13015         IXpsOMCanvas* This,
   13016         LPWSTR *language);
   13017 
   13018     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   13019         IXpsOMCanvas* This,
   13020         LPCWSTR language);
   13021 
   13022     /*** IXpsOMCanvas methods ***/
   13023     HRESULT (STDMETHODCALLTYPE *GetVisuals)(
   13024         IXpsOMCanvas* This,
   13025         IXpsOMVisualCollection **visuals);
   13026 
   13027     HRESULT (STDMETHODCALLTYPE *GetUseAliasedEdgeMode)(
   13028         IXpsOMCanvas* This,
   13029         WINBOOL *useAliasedEdgeMode);
   13030 
   13031     HRESULT (STDMETHODCALLTYPE *SetUseAliasedEdgeMode)(
   13032         IXpsOMCanvas* This,
   13033         WINBOOL useAliasedEdgeMode);
   13034 
   13035     HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
   13036         IXpsOMCanvas* This,
   13037         LPWSTR *shortDescription);
   13038 
   13039     HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
   13040         IXpsOMCanvas* This,
   13041         LPCWSTR shortDescription);
   13042 
   13043     HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
   13044         IXpsOMCanvas* This,
   13045         LPWSTR *longDescription);
   13046 
   13047     HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
   13048         IXpsOMCanvas* This,
   13049         LPCWSTR longDescription);
   13050 
   13051     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
   13052         IXpsOMCanvas* This,
   13053         IXpsOMDictionary **resourceDictionary);
   13054 
   13055     HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
   13056         IXpsOMCanvas* This,
   13057         IXpsOMDictionary **resourceDictionary);
   13058 
   13059     HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
   13060         IXpsOMCanvas* This,
   13061         IXpsOMDictionary *resourceDictionary);
   13062 
   13063     HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
   13064         IXpsOMCanvas* This,
   13065         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   13066 
   13067     HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
   13068         IXpsOMCanvas* This,
   13069         IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
   13070 
   13071     HRESULT (STDMETHODCALLTYPE *Clone)(
   13072         IXpsOMCanvas* This,
   13073         IXpsOMCanvas **canvas);
   13074 
   13075     END_INTERFACE
   13076 } IXpsOMCanvasVtbl;
   13077 interface IXpsOMCanvas {
   13078     CONST_VTBL IXpsOMCanvasVtbl* lpVtbl;
   13079 };
   13080 
   13081 #ifdef COBJMACROS
   13082 #ifndef WIDL_C_INLINE_WRAPPERS
   13083 /*** IUnknown methods ***/
   13084 #define IXpsOMCanvas_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   13085 #define IXpsOMCanvas_AddRef(This) (This)->lpVtbl->AddRef(This)
   13086 #define IXpsOMCanvas_Release(This) (This)->lpVtbl->Release(This)
   13087 /*** IXpsOMShareable methods ***/
   13088 #define IXpsOMCanvas_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
   13089 #define IXpsOMCanvas_GetType(This,type) (This)->lpVtbl->GetType(This,type)
   13090 /*** IXpsOMVisual methods ***/
   13091 #define IXpsOMCanvas_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
   13092 #define IXpsOMCanvas_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
   13093 #define IXpsOMCanvas_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
   13094 #define IXpsOMCanvas_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
   13095 #define IXpsOMCanvas_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
   13096 #define IXpsOMCanvas_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
   13097 #define IXpsOMCanvas_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
   13098 #define IXpsOMCanvas_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
   13099 #define IXpsOMCanvas_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
   13100 #define IXpsOMCanvas_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
   13101 #define IXpsOMCanvas_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
   13102 #define IXpsOMCanvas_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
   13103 #define IXpsOMCanvas_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
   13104 #define IXpsOMCanvas_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
   13105 #define IXpsOMCanvas_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
   13106 #define IXpsOMCanvas_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
   13107 #define IXpsOMCanvas_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
   13108 #define IXpsOMCanvas_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   13109 #define IXpsOMCanvas_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   13110 #define IXpsOMCanvas_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
   13111 #define IXpsOMCanvas_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
   13112 #define IXpsOMCanvas_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
   13113 #define IXpsOMCanvas_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
   13114 #define IXpsOMCanvas_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   13115 #define IXpsOMCanvas_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   13116 /*** IXpsOMCanvas methods ***/
   13117 #define IXpsOMCanvas_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
   13118 #define IXpsOMCanvas_GetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode)
   13119 #define IXpsOMCanvas_SetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode)
   13120 #define IXpsOMCanvas_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
   13121 #define IXpsOMCanvas_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
   13122 #define IXpsOMCanvas_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
   13123 #define IXpsOMCanvas_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
   13124 #define IXpsOMCanvas_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
   13125 #define IXpsOMCanvas_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
   13126 #define IXpsOMCanvas_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
   13127 #define IXpsOMCanvas_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
   13128 #define IXpsOMCanvas_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
   13129 #define IXpsOMCanvas_Clone(This,canvas) (This)->lpVtbl->Clone(This,canvas)
   13130 #else
   13131 /*** IUnknown methods ***/
   13132 static FORCEINLINE HRESULT IXpsOMCanvas_QueryInterface(IXpsOMCanvas* This,REFIID riid,void **ppvObject) {
   13133     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   13134 }
   13135 static FORCEINLINE ULONG IXpsOMCanvas_AddRef(IXpsOMCanvas* This) {
   13136     return This->lpVtbl->AddRef(This);
   13137 }
   13138 static FORCEINLINE ULONG IXpsOMCanvas_Release(IXpsOMCanvas* This) {
   13139     return This->lpVtbl->Release(This);
   13140 }
   13141 /*** IXpsOMShareable methods ***/
   13142 static FORCEINLINE HRESULT IXpsOMCanvas_GetOwner(IXpsOMCanvas* This,IUnknown **owner) {
   13143     return This->lpVtbl->GetOwner(This,owner);
   13144 }
   13145 static FORCEINLINE HRESULT IXpsOMCanvas_GetType(IXpsOMCanvas* This,XPS_OBJECT_TYPE *type) {
   13146     return This->lpVtbl->GetType(This,type);
   13147 }
   13148 /*** IXpsOMVisual methods ***/
   13149 static FORCEINLINE HRESULT IXpsOMCanvas_GetTransform(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
   13150     return This->lpVtbl->GetTransform(This,matrixTransform);
   13151 }
   13152 static FORCEINLINE HRESULT IXpsOMCanvas_GetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
   13153     return This->lpVtbl->GetTransformLocal(This,matrixTransform);
   13154 }
   13155 static FORCEINLINE HRESULT IXpsOMCanvas_SetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform *matrixTransform) {
   13156     return This->lpVtbl->SetTransformLocal(This,matrixTransform);
   13157 }
   13158 static FORCEINLINE HRESULT IXpsOMCanvas_GetTransformLookup(IXpsOMCanvas* This,LPWSTR *key) {
   13159     return This->lpVtbl->GetTransformLookup(This,key);
   13160 }
   13161 static FORCEINLINE HRESULT IXpsOMCanvas_SetTransformLookup(IXpsOMCanvas* This,LPCWSTR key) {
   13162     return This->lpVtbl->SetTransformLookup(This,key);
   13163 }
   13164 static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometry(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
   13165     return This->lpVtbl->GetClipGeometry(This,clipGeometry);
   13166 }
   13167 static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
   13168     return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
   13169 }
   13170 static FORCEINLINE HRESULT IXpsOMCanvas_SetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry *clipGeometry) {
   13171     return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
   13172 }
   13173 static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometryLookup(IXpsOMCanvas* This,LPWSTR *key) {
   13174     return This->lpVtbl->GetClipGeometryLookup(This,key);
   13175 }
   13176 static FORCEINLINE HRESULT IXpsOMCanvas_SetClipGeometryLookup(IXpsOMCanvas* This,LPCWSTR key) {
   13177     return This->lpVtbl->SetClipGeometryLookup(This,key);
   13178 }
   13179 static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacity(IXpsOMCanvas* This,FLOAT *opacity) {
   13180     return This->lpVtbl->GetOpacity(This,opacity);
   13181 }
   13182 static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacity(IXpsOMCanvas* This,FLOAT opacity) {
   13183     return This->lpVtbl->SetOpacity(This,opacity);
   13184 }
   13185 static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrush(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
   13186     return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
   13187 }
   13188 static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
   13189     return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
   13190 }
   13191 static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush *opacityMaskBrush) {
   13192     return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
   13193 }
   13194 static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPWSTR *key) {
   13195     return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
   13196 }
   13197 static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPCWSTR key) {
   13198     return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
   13199 }
   13200 static FORCEINLINE HRESULT IXpsOMCanvas_GetName(IXpsOMCanvas* This,LPWSTR *name) {
   13201     return This->lpVtbl->GetName(This,name);
   13202 }
   13203 static FORCEINLINE HRESULT IXpsOMCanvas_SetName(IXpsOMCanvas* This,LPCWSTR name) {
   13204     return This->lpVtbl->SetName(This,name);
   13205 }
   13206 static FORCEINLINE HRESULT IXpsOMCanvas_GetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL *isHyperlink) {
   13207     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
   13208 }
   13209 static FORCEINLINE HRESULT IXpsOMCanvas_SetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL isHyperlink) {
   13210     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
   13211 }
   13212 static FORCEINLINE HRESULT IXpsOMCanvas_GetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri **hyperlinkUri) {
   13213     return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
   13214 }
   13215 static FORCEINLINE HRESULT IXpsOMCanvas_SetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri *hyperlinkUri) {
   13216     return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
   13217 }
   13218 static FORCEINLINE HRESULT IXpsOMCanvas_GetLanguage(IXpsOMCanvas* This,LPWSTR *language) {
   13219     return This->lpVtbl->GetLanguage(This,language);
   13220 }
   13221 static FORCEINLINE HRESULT IXpsOMCanvas_SetLanguage(IXpsOMCanvas* This,LPCWSTR language) {
   13222     return This->lpVtbl->SetLanguage(This,language);
   13223 }
   13224 /*** IXpsOMCanvas methods ***/
   13225 static FORCEINLINE HRESULT IXpsOMCanvas_GetVisuals(IXpsOMCanvas* This,IXpsOMVisualCollection **visuals) {
   13226     return This->lpVtbl->GetVisuals(This,visuals);
   13227 }
   13228 static FORCEINLINE HRESULT IXpsOMCanvas_GetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL *useAliasedEdgeMode) {
   13229     return This->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode);
   13230 }
   13231 static FORCEINLINE HRESULT IXpsOMCanvas_SetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL useAliasedEdgeMode) {
   13232     return This->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode);
   13233 }
   13234 static FORCEINLINE HRESULT IXpsOMCanvas_GetAccessibilityShortDescription(IXpsOMCanvas* This,LPWSTR *shortDescription) {
   13235     return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
   13236 }
   13237 static FORCEINLINE HRESULT IXpsOMCanvas_SetAccessibilityShortDescription(IXpsOMCanvas* This,LPCWSTR shortDescription) {
   13238     return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
   13239 }
   13240 static FORCEINLINE HRESULT IXpsOMCanvas_GetAccessibilityLongDescription(IXpsOMCanvas* This,LPWSTR *longDescription) {
   13241     return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
   13242 }
   13243 static FORCEINLINE HRESULT IXpsOMCanvas_SetAccessibilityLongDescription(IXpsOMCanvas* This,LPCWSTR longDescription) {
   13244     return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
   13245 }
   13246 static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionary(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
   13247     return This->lpVtbl->GetDictionary(This,resourceDictionary);
   13248 }
   13249 static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
   13250     return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
   13251 }
   13252 static FORCEINLINE HRESULT IXpsOMCanvas_SetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary *resourceDictionary) {
   13253     return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
   13254 }
   13255 static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   13256     return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
   13257 }
   13258 static FORCEINLINE HRESULT IXpsOMCanvas_SetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
   13259     return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
   13260 }
   13261 static FORCEINLINE HRESULT IXpsOMCanvas_Clone(IXpsOMCanvas* This,IXpsOMCanvas **canvas) {
   13262     return This->lpVtbl->Clone(This,canvas);
   13263 }
   13264 #endif
   13265 #endif
   13266 
   13267 #endif
   13268 
   13269 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetVisuals_Proxy(
   13270     IXpsOMCanvas* This,
   13271     IXpsOMVisualCollection **visuals);
   13272 void __RPC_STUB IXpsOMCanvas_GetVisuals_Stub(
   13273     IRpcStubBuffer* This,
   13274     IRpcChannelBuffer* pRpcChannelBuffer,
   13275     PRPC_MESSAGE pRpcMessage,
   13276     DWORD* pdwStubPhase);
   13277 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetUseAliasedEdgeMode_Proxy(
   13278     IXpsOMCanvas* This,
   13279     WINBOOL *useAliasedEdgeMode);
   13280 void __RPC_STUB IXpsOMCanvas_GetUseAliasedEdgeMode_Stub(
   13281     IRpcStubBuffer* This,
   13282     IRpcChannelBuffer* pRpcChannelBuffer,
   13283     PRPC_MESSAGE pRpcMessage,
   13284     DWORD* pdwStubPhase);
   13285 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_SetUseAliasedEdgeMode_Proxy(
   13286     IXpsOMCanvas* This,
   13287     WINBOOL useAliasedEdgeMode);
   13288 void __RPC_STUB IXpsOMCanvas_SetUseAliasedEdgeMode_Stub(
   13289     IRpcStubBuffer* This,
   13290     IRpcChannelBuffer* pRpcChannelBuffer,
   13291     PRPC_MESSAGE pRpcMessage,
   13292     DWORD* pdwStubPhase);
   13293 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetAccessibilityShortDescription_Proxy(
   13294     IXpsOMCanvas* This,
   13295     LPWSTR *shortDescription);
   13296 void __RPC_STUB IXpsOMCanvas_GetAccessibilityShortDescription_Stub(
   13297     IRpcStubBuffer* This,
   13298     IRpcChannelBuffer* pRpcChannelBuffer,
   13299     PRPC_MESSAGE pRpcMessage,
   13300     DWORD* pdwStubPhase);
   13301 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_SetAccessibilityShortDescription_Proxy(
   13302     IXpsOMCanvas* This,
   13303     LPCWSTR shortDescription);
   13304 void __RPC_STUB IXpsOMCanvas_SetAccessibilityShortDescription_Stub(
   13305     IRpcStubBuffer* This,
   13306     IRpcChannelBuffer* pRpcChannelBuffer,
   13307     PRPC_MESSAGE pRpcMessage,
   13308     DWORD* pdwStubPhase);
   13309 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetAccessibilityLongDescription_Proxy(
   13310     IXpsOMCanvas* This,
   13311     LPWSTR *longDescription);
   13312 void __RPC_STUB IXpsOMCanvas_GetAccessibilityLongDescription_Stub(
   13313     IRpcStubBuffer* This,
   13314     IRpcChannelBuffer* pRpcChannelBuffer,
   13315     PRPC_MESSAGE pRpcMessage,
   13316     DWORD* pdwStubPhase);
   13317 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_SetAccessibilityLongDescription_Proxy(
   13318     IXpsOMCanvas* This,
   13319     LPCWSTR longDescription);
   13320 void __RPC_STUB IXpsOMCanvas_SetAccessibilityLongDescription_Stub(
   13321     IRpcStubBuffer* This,
   13322     IRpcChannelBuffer* pRpcChannelBuffer,
   13323     PRPC_MESSAGE pRpcMessage,
   13324     DWORD* pdwStubPhase);
   13325 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetDictionary_Proxy(
   13326     IXpsOMCanvas* This,
   13327     IXpsOMDictionary **resourceDictionary);
   13328 void __RPC_STUB IXpsOMCanvas_GetDictionary_Stub(
   13329     IRpcStubBuffer* This,
   13330     IRpcChannelBuffer* pRpcChannelBuffer,
   13331     PRPC_MESSAGE pRpcMessage,
   13332     DWORD* pdwStubPhase);
   13333 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetDictionaryLocal_Proxy(
   13334     IXpsOMCanvas* This,
   13335     IXpsOMDictionary **resourceDictionary);
   13336 void __RPC_STUB IXpsOMCanvas_GetDictionaryLocal_Stub(
   13337     IRpcStubBuffer* This,
   13338     IRpcChannelBuffer* pRpcChannelBuffer,
   13339     PRPC_MESSAGE pRpcMessage,
   13340     DWORD* pdwStubPhase);
   13341 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_SetDictionaryLocal_Proxy(
   13342     IXpsOMCanvas* This,
   13343     IXpsOMDictionary *resourceDictionary);
   13344 void __RPC_STUB IXpsOMCanvas_SetDictionaryLocal_Stub(
   13345     IRpcStubBuffer* This,
   13346     IRpcChannelBuffer* pRpcChannelBuffer,
   13347     PRPC_MESSAGE pRpcMessage,
   13348     DWORD* pdwStubPhase);
   13349 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_GetDictionaryResource_Proxy(
   13350     IXpsOMCanvas* This,
   13351     IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   13352 void __RPC_STUB IXpsOMCanvas_GetDictionaryResource_Stub(
   13353     IRpcStubBuffer* This,
   13354     IRpcChannelBuffer* pRpcChannelBuffer,
   13355     PRPC_MESSAGE pRpcMessage,
   13356     DWORD* pdwStubPhase);
   13357 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_SetDictionaryResource_Proxy(
   13358     IXpsOMCanvas* This,
   13359     IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
   13360 void __RPC_STUB IXpsOMCanvas_SetDictionaryResource_Stub(
   13361     IRpcStubBuffer* This,
   13362     IRpcChannelBuffer* pRpcChannelBuffer,
   13363     PRPC_MESSAGE pRpcMessage,
   13364     DWORD* pdwStubPhase);
   13365 HRESULT STDMETHODCALLTYPE IXpsOMCanvas_Clone_Proxy(
   13366     IXpsOMCanvas* This,
   13367     IXpsOMCanvas **canvas);
   13368 void __RPC_STUB IXpsOMCanvas_Clone_Stub(
   13369     IRpcStubBuffer* This,
   13370     IRpcChannelBuffer* pRpcChannelBuffer,
   13371     PRPC_MESSAGE pRpcMessage,
   13372     DWORD* pdwStubPhase);
   13373 
   13374 #endif  /* __IXpsOMCanvas_INTERFACE_DEFINED__ */
   13375 
   13376 /*****************************************************************************
   13377  * IXpsOMPage interface
   13378  */
   13379 #ifndef __IXpsOMPage_INTERFACE_DEFINED__
   13380 #define __IXpsOMPage_INTERFACE_DEFINED__
   13381 
   13382 DEFINE_GUID(IID_IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4);
   13383 #if defined(__cplusplus) && !defined(CINTERFACE)
   13384 MIDL_INTERFACE("d3e18888-f120-4fee-8c68-35296eae91d4")
   13385 IXpsOMPage : public IXpsOMPart
   13386 {
   13387     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   13388         IXpsOMPageReference **pageReference) = 0;
   13389 
   13390     virtual HRESULT STDMETHODCALLTYPE GetVisuals(
   13391         IXpsOMVisualCollection **visuals) = 0;
   13392 
   13393     virtual HRESULT STDMETHODCALLTYPE GetPageDimensions(
   13394         XPS_SIZE *pageDimensions) = 0;
   13395 
   13396     virtual HRESULT STDMETHODCALLTYPE SetPageDimensions(
   13397         const XPS_SIZE *pageDimensions) = 0;
   13398 
   13399     virtual HRESULT STDMETHODCALLTYPE GetContentBox(
   13400         XPS_RECT *contentBox) = 0;
   13401 
   13402     virtual HRESULT STDMETHODCALLTYPE SetContentBox(
   13403         const XPS_RECT *contentBox) = 0;
   13404 
   13405     virtual HRESULT STDMETHODCALLTYPE GetBleedBox(
   13406         XPS_RECT *bleedBox) = 0;
   13407 
   13408     virtual HRESULT STDMETHODCALLTYPE SetBleedBox(
   13409         const XPS_RECT *bleedBox) = 0;
   13410 
   13411     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
   13412         LPWSTR *language) = 0;
   13413 
   13414     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
   13415         LPCWSTR language) = 0;
   13416 
   13417     virtual HRESULT STDMETHODCALLTYPE GetName(
   13418         LPWSTR *name) = 0;
   13419 
   13420     virtual HRESULT STDMETHODCALLTYPE SetName(
   13421         LPCWSTR name) = 0;
   13422 
   13423     virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
   13424         WINBOOL *isHyperlinkTarget) = 0;
   13425 
   13426     virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
   13427         WINBOOL isHyperlinkTarget) = 0;
   13428 
   13429     virtual HRESULT STDMETHODCALLTYPE GetDictionary(
   13430         IXpsOMDictionary **resourceDictionary) = 0;
   13431 
   13432     virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
   13433         IXpsOMDictionary **resourceDictionary) = 0;
   13434 
   13435     virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
   13436         IXpsOMDictionary *resourceDictionary) = 0;
   13437 
   13438     virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
   13439         IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
   13440 
   13441     virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
   13442         IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
   13443 
   13444     virtual HRESULT STDMETHODCALLTYPE Write(
   13445         ISequentialStream *stream,
   13446         WINBOOL optimizeMarkupSize) = 0;
   13447 
   13448     virtual HRESULT STDMETHODCALLTYPE GenerateUnusedLookupKey(
   13449         XPS_OBJECT_TYPE type,
   13450         LPWSTR *key) = 0;
   13451 
   13452     virtual HRESULT STDMETHODCALLTYPE Clone(
   13453         IXpsOMPage **page) = 0;
   13454 
   13455 };
   13456 #ifdef __CRT_UUID_DECL
   13457 __CRT_UUID_DECL(IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4)
   13458 #endif
   13459 #else
   13460 typedef struct IXpsOMPageVtbl {
   13461     BEGIN_INTERFACE
   13462 
   13463     /*** IUnknown methods ***/
   13464     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   13465         IXpsOMPage* This,
   13466         REFIID riid,
   13467         void **ppvObject);
   13468 
   13469     ULONG (STDMETHODCALLTYPE *AddRef)(
   13470         IXpsOMPage* This);
   13471 
   13472     ULONG (STDMETHODCALLTYPE *Release)(
   13473         IXpsOMPage* This);
   13474 
   13475     /*** IXpsOMPart methods ***/
   13476     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   13477         IXpsOMPage* This,
   13478         IOpcPartUri **partUri);
   13479 
   13480     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   13481         IXpsOMPage* This,
   13482         IOpcPartUri *partUri);
   13483 
   13484     /*** IXpsOMPage methods ***/
   13485     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   13486         IXpsOMPage* This,
   13487         IXpsOMPageReference **pageReference);
   13488 
   13489     HRESULT (STDMETHODCALLTYPE *GetVisuals)(
   13490         IXpsOMPage* This,
   13491         IXpsOMVisualCollection **visuals);
   13492 
   13493     HRESULT (STDMETHODCALLTYPE *GetPageDimensions)(
   13494         IXpsOMPage* This,
   13495         XPS_SIZE *pageDimensions);
   13496 
   13497     HRESULT (STDMETHODCALLTYPE *SetPageDimensions)(
   13498         IXpsOMPage* This,
   13499         const XPS_SIZE *pageDimensions);
   13500 
   13501     HRESULT (STDMETHODCALLTYPE *GetContentBox)(
   13502         IXpsOMPage* This,
   13503         XPS_RECT *contentBox);
   13504 
   13505     HRESULT (STDMETHODCALLTYPE *SetContentBox)(
   13506         IXpsOMPage* This,
   13507         const XPS_RECT *contentBox);
   13508 
   13509     HRESULT (STDMETHODCALLTYPE *GetBleedBox)(
   13510         IXpsOMPage* This,
   13511         XPS_RECT *bleedBox);
   13512 
   13513     HRESULT (STDMETHODCALLTYPE *SetBleedBox)(
   13514         IXpsOMPage* This,
   13515         const XPS_RECT *bleedBox);
   13516 
   13517     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   13518         IXpsOMPage* This,
   13519         LPWSTR *language);
   13520 
   13521     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   13522         IXpsOMPage* This,
   13523         LPCWSTR language);
   13524 
   13525     HRESULT (STDMETHODCALLTYPE *GetName)(
   13526         IXpsOMPage* This,
   13527         LPWSTR *name);
   13528 
   13529     HRESULT (STDMETHODCALLTYPE *SetName)(
   13530         IXpsOMPage* This,
   13531         LPCWSTR name);
   13532 
   13533     HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
   13534         IXpsOMPage* This,
   13535         WINBOOL *isHyperlinkTarget);
   13536 
   13537     HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
   13538         IXpsOMPage* This,
   13539         WINBOOL isHyperlinkTarget);
   13540 
   13541     HRESULT (STDMETHODCALLTYPE *GetDictionary)(
   13542         IXpsOMPage* This,
   13543         IXpsOMDictionary **resourceDictionary);
   13544 
   13545     HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
   13546         IXpsOMPage* This,
   13547         IXpsOMDictionary **resourceDictionary);
   13548 
   13549     HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
   13550         IXpsOMPage* This,
   13551         IXpsOMDictionary *resourceDictionary);
   13552 
   13553     HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
   13554         IXpsOMPage* This,
   13555         IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   13556 
   13557     HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
   13558         IXpsOMPage* This,
   13559         IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
   13560 
   13561     HRESULT (STDMETHODCALLTYPE *Write)(
   13562         IXpsOMPage* This,
   13563         ISequentialStream *stream,
   13564         WINBOOL optimizeMarkupSize);
   13565 
   13566     HRESULT (STDMETHODCALLTYPE *GenerateUnusedLookupKey)(
   13567         IXpsOMPage* This,
   13568         XPS_OBJECT_TYPE type,
   13569         LPWSTR *key);
   13570 
   13571     HRESULT (STDMETHODCALLTYPE *Clone)(
   13572         IXpsOMPage* This,
   13573         IXpsOMPage **page);
   13574 
   13575     END_INTERFACE
   13576 } IXpsOMPageVtbl;
   13577 interface IXpsOMPage {
   13578     CONST_VTBL IXpsOMPageVtbl* lpVtbl;
   13579 };
   13580 
   13581 #ifdef COBJMACROS
   13582 #ifndef WIDL_C_INLINE_WRAPPERS
   13583 /*** IUnknown methods ***/
   13584 #define IXpsOMPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   13585 #define IXpsOMPage_AddRef(This) (This)->lpVtbl->AddRef(This)
   13586 #define IXpsOMPage_Release(This) (This)->lpVtbl->Release(This)
   13587 /*** IXpsOMPart methods ***/
   13588 #define IXpsOMPage_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   13589 #define IXpsOMPage_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   13590 /*** IXpsOMPage methods ***/
   13591 #define IXpsOMPage_GetOwner(This,pageReference) (This)->lpVtbl->GetOwner(This,pageReference)
   13592 #define IXpsOMPage_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
   13593 #define IXpsOMPage_GetPageDimensions(This,pageDimensions) (This)->lpVtbl->GetPageDimensions(This,pageDimensions)
   13594 #define IXpsOMPage_SetPageDimensions(This,pageDimensions) (This)->lpVtbl->SetPageDimensions(This,pageDimensions)
   13595 #define IXpsOMPage_GetContentBox(This,contentBox) (This)->lpVtbl->GetContentBox(This,contentBox)
   13596 #define IXpsOMPage_SetContentBox(This,contentBox) (This)->lpVtbl->SetContentBox(This,contentBox)
   13597 #define IXpsOMPage_GetBleedBox(This,bleedBox) (This)->lpVtbl->GetBleedBox(This,bleedBox)
   13598 #define IXpsOMPage_SetBleedBox(This,bleedBox) (This)->lpVtbl->SetBleedBox(This,bleedBox)
   13599 #define IXpsOMPage_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   13600 #define IXpsOMPage_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   13601 #define IXpsOMPage_GetName(This,name) (This)->lpVtbl->GetName(This,name)
   13602 #define IXpsOMPage_SetName(This,name) (This)->lpVtbl->SetName(This,name)
   13603 #define IXpsOMPage_GetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget)
   13604 #define IXpsOMPage_SetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget)
   13605 #define IXpsOMPage_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
   13606 #define IXpsOMPage_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
   13607 #define IXpsOMPage_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
   13608 #define IXpsOMPage_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
   13609 #define IXpsOMPage_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
   13610 #define IXpsOMPage_Write(This,stream,optimizeMarkupSize) (This)->lpVtbl->Write(This,stream,optimizeMarkupSize)
   13611 #define IXpsOMPage_GenerateUnusedLookupKey(This,type,key) (This)->lpVtbl->GenerateUnusedLookupKey(This,type,key)
   13612 #define IXpsOMPage_Clone(This,page) (This)->lpVtbl->Clone(This,page)
   13613 #else
   13614 /*** IUnknown methods ***/
   13615 static FORCEINLINE HRESULT IXpsOMPage_QueryInterface(IXpsOMPage* This,REFIID riid,void **ppvObject) {
   13616     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   13617 }
   13618 static FORCEINLINE ULONG IXpsOMPage_AddRef(IXpsOMPage* This) {
   13619     return This->lpVtbl->AddRef(This);
   13620 }
   13621 static FORCEINLINE ULONG IXpsOMPage_Release(IXpsOMPage* This) {
   13622     return This->lpVtbl->Release(This);
   13623 }
   13624 /*** IXpsOMPart methods ***/
   13625 static FORCEINLINE HRESULT IXpsOMPage_GetPartName(IXpsOMPage* This,IOpcPartUri **partUri) {
   13626     return This->lpVtbl->GetPartName(This,partUri);
   13627 }
   13628 static FORCEINLINE HRESULT IXpsOMPage_SetPartName(IXpsOMPage* This,IOpcPartUri *partUri) {
   13629     return This->lpVtbl->SetPartName(This,partUri);
   13630 }
   13631 /*** IXpsOMPage methods ***/
   13632 static FORCEINLINE HRESULT IXpsOMPage_GetOwner(IXpsOMPage* This,IXpsOMPageReference **pageReference) {
   13633     return This->lpVtbl->GetOwner(This,pageReference);
   13634 }
   13635 static FORCEINLINE HRESULT IXpsOMPage_GetVisuals(IXpsOMPage* This,IXpsOMVisualCollection **visuals) {
   13636     return This->lpVtbl->GetVisuals(This,visuals);
   13637 }
   13638 static FORCEINLINE HRESULT IXpsOMPage_GetPageDimensions(IXpsOMPage* This,XPS_SIZE *pageDimensions) {
   13639     return This->lpVtbl->GetPageDimensions(This,pageDimensions);
   13640 }
   13641 static FORCEINLINE HRESULT IXpsOMPage_SetPageDimensions(IXpsOMPage* This,const XPS_SIZE *pageDimensions) {
   13642     return This->lpVtbl->SetPageDimensions(This,pageDimensions);
   13643 }
   13644 static FORCEINLINE HRESULT IXpsOMPage_GetContentBox(IXpsOMPage* This,XPS_RECT *contentBox) {
   13645     return This->lpVtbl->GetContentBox(This,contentBox);
   13646 }
   13647 static FORCEINLINE HRESULT IXpsOMPage_SetContentBox(IXpsOMPage* This,const XPS_RECT *contentBox) {
   13648     return This->lpVtbl->SetContentBox(This,contentBox);
   13649 }
   13650 static FORCEINLINE HRESULT IXpsOMPage_GetBleedBox(IXpsOMPage* This,XPS_RECT *bleedBox) {
   13651     return This->lpVtbl->GetBleedBox(This,bleedBox);
   13652 }
   13653 static FORCEINLINE HRESULT IXpsOMPage_SetBleedBox(IXpsOMPage* This,const XPS_RECT *bleedBox) {
   13654     return This->lpVtbl->SetBleedBox(This,bleedBox);
   13655 }
   13656 static FORCEINLINE HRESULT IXpsOMPage_GetLanguage(IXpsOMPage* This,LPWSTR *language) {
   13657     return This->lpVtbl->GetLanguage(This,language);
   13658 }
   13659 static FORCEINLINE HRESULT IXpsOMPage_SetLanguage(IXpsOMPage* This,LPCWSTR language) {
   13660     return This->lpVtbl->SetLanguage(This,language);
   13661 }
   13662 static FORCEINLINE HRESULT IXpsOMPage_GetName(IXpsOMPage* This,LPWSTR *name) {
   13663     return This->lpVtbl->GetName(This,name);
   13664 }
   13665 static FORCEINLINE HRESULT IXpsOMPage_SetName(IXpsOMPage* This,LPCWSTR name) {
   13666     return This->lpVtbl->SetName(This,name);
   13667 }
   13668 static FORCEINLINE HRESULT IXpsOMPage_GetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL *isHyperlinkTarget) {
   13669     return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget);
   13670 }
   13671 static FORCEINLINE HRESULT IXpsOMPage_SetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL isHyperlinkTarget) {
   13672     return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget);
   13673 }
   13674 static FORCEINLINE HRESULT IXpsOMPage_GetDictionary(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
   13675     return This->lpVtbl->GetDictionary(This,resourceDictionary);
   13676 }
   13677 static FORCEINLINE HRESULT IXpsOMPage_GetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
   13678     return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
   13679 }
   13680 static FORCEINLINE HRESULT IXpsOMPage_SetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary *resourceDictionary) {
   13681     return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
   13682 }
   13683 static FORCEINLINE HRESULT IXpsOMPage_GetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
   13684     return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
   13685 }
   13686 static FORCEINLINE HRESULT IXpsOMPage_SetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
   13687     return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
   13688 }
   13689 static FORCEINLINE HRESULT IXpsOMPage_Write(IXpsOMPage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
   13690     return This->lpVtbl->Write(This,stream,optimizeMarkupSize);
   13691 }
   13692 static FORCEINLINE HRESULT IXpsOMPage_GenerateUnusedLookupKey(IXpsOMPage* This,XPS_OBJECT_TYPE type,LPWSTR *key) {
   13693     return This->lpVtbl->GenerateUnusedLookupKey(This,type,key);
   13694 }
   13695 static FORCEINLINE HRESULT IXpsOMPage_Clone(IXpsOMPage* This,IXpsOMPage **page) {
   13696     return This->lpVtbl->Clone(This,page);
   13697 }
   13698 #endif
   13699 #endif
   13700 
   13701 #endif
   13702 
   13703 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetOwner_Proxy(
   13704     IXpsOMPage* This,
   13705     IXpsOMPageReference **pageReference);
   13706 void __RPC_STUB IXpsOMPage_GetOwner_Stub(
   13707     IRpcStubBuffer* This,
   13708     IRpcChannelBuffer* pRpcChannelBuffer,
   13709     PRPC_MESSAGE pRpcMessage,
   13710     DWORD* pdwStubPhase);
   13711 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetVisuals_Proxy(
   13712     IXpsOMPage* This,
   13713     IXpsOMVisualCollection **visuals);
   13714 void __RPC_STUB IXpsOMPage_GetVisuals_Stub(
   13715     IRpcStubBuffer* This,
   13716     IRpcChannelBuffer* pRpcChannelBuffer,
   13717     PRPC_MESSAGE pRpcMessage,
   13718     DWORD* pdwStubPhase);
   13719 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetPageDimensions_Proxy(
   13720     IXpsOMPage* This,
   13721     XPS_SIZE *pageDimensions);
   13722 void __RPC_STUB IXpsOMPage_GetPageDimensions_Stub(
   13723     IRpcStubBuffer* This,
   13724     IRpcChannelBuffer* pRpcChannelBuffer,
   13725     PRPC_MESSAGE pRpcMessage,
   13726     DWORD* pdwStubPhase);
   13727 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetPageDimensions_Proxy(
   13728     IXpsOMPage* This,
   13729     const XPS_SIZE *pageDimensions);
   13730 void __RPC_STUB IXpsOMPage_SetPageDimensions_Stub(
   13731     IRpcStubBuffer* This,
   13732     IRpcChannelBuffer* pRpcChannelBuffer,
   13733     PRPC_MESSAGE pRpcMessage,
   13734     DWORD* pdwStubPhase);
   13735 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetContentBox_Proxy(
   13736     IXpsOMPage* This,
   13737     XPS_RECT *contentBox);
   13738 void __RPC_STUB IXpsOMPage_GetContentBox_Stub(
   13739     IRpcStubBuffer* This,
   13740     IRpcChannelBuffer* pRpcChannelBuffer,
   13741     PRPC_MESSAGE pRpcMessage,
   13742     DWORD* pdwStubPhase);
   13743 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetContentBox_Proxy(
   13744     IXpsOMPage* This,
   13745     const XPS_RECT *contentBox);
   13746 void __RPC_STUB IXpsOMPage_SetContentBox_Stub(
   13747     IRpcStubBuffer* This,
   13748     IRpcChannelBuffer* pRpcChannelBuffer,
   13749     PRPC_MESSAGE pRpcMessage,
   13750     DWORD* pdwStubPhase);
   13751 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetBleedBox_Proxy(
   13752     IXpsOMPage* This,
   13753     XPS_RECT *bleedBox);
   13754 void __RPC_STUB IXpsOMPage_GetBleedBox_Stub(
   13755     IRpcStubBuffer* This,
   13756     IRpcChannelBuffer* pRpcChannelBuffer,
   13757     PRPC_MESSAGE pRpcMessage,
   13758     DWORD* pdwStubPhase);
   13759 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetBleedBox_Proxy(
   13760     IXpsOMPage* This,
   13761     const XPS_RECT *bleedBox);
   13762 void __RPC_STUB IXpsOMPage_SetBleedBox_Stub(
   13763     IRpcStubBuffer* This,
   13764     IRpcChannelBuffer* pRpcChannelBuffer,
   13765     PRPC_MESSAGE pRpcMessage,
   13766     DWORD* pdwStubPhase);
   13767 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetLanguage_Proxy(
   13768     IXpsOMPage* This,
   13769     LPWSTR *language);
   13770 void __RPC_STUB IXpsOMPage_GetLanguage_Stub(
   13771     IRpcStubBuffer* This,
   13772     IRpcChannelBuffer* pRpcChannelBuffer,
   13773     PRPC_MESSAGE pRpcMessage,
   13774     DWORD* pdwStubPhase);
   13775 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetLanguage_Proxy(
   13776     IXpsOMPage* This,
   13777     LPCWSTR language);
   13778 void __RPC_STUB IXpsOMPage_SetLanguage_Stub(
   13779     IRpcStubBuffer* This,
   13780     IRpcChannelBuffer* pRpcChannelBuffer,
   13781     PRPC_MESSAGE pRpcMessage,
   13782     DWORD* pdwStubPhase);
   13783 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetName_Proxy(
   13784     IXpsOMPage* This,
   13785     LPWSTR *name);
   13786 void __RPC_STUB IXpsOMPage_GetName_Stub(
   13787     IRpcStubBuffer* This,
   13788     IRpcChannelBuffer* pRpcChannelBuffer,
   13789     PRPC_MESSAGE pRpcMessage,
   13790     DWORD* pdwStubPhase);
   13791 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetName_Proxy(
   13792     IXpsOMPage* This,
   13793     LPCWSTR name);
   13794 void __RPC_STUB IXpsOMPage_SetName_Stub(
   13795     IRpcStubBuffer* This,
   13796     IRpcChannelBuffer* pRpcChannelBuffer,
   13797     PRPC_MESSAGE pRpcMessage,
   13798     DWORD* pdwStubPhase);
   13799 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetIsHyperlinkTarget_Proxy(
   13800     IXpsOMPage* This,
   13801     WINBOOL *isHyperlinkTarget);
   13802 void __RPC_STUB IXpsOMPage_GetIsHyperlinkTarget_Stub(
   13803     IRpcStubBuffer* This,
   13804     IRpcChannelBuffer* pRpcChannelBuffer,
   13805     PRPC_MESSAGE pRpcMessage,
   13806     DWORD* pdwStubPhase);
   13807 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetIsHyperlinkTarget_Proxy(
   13808     IXpsOMPage* This,
   13809     WINBOOL isHyperlinkTarget);
   13810 void __RPC_STUB IXpsOMPage_SetIsHyperlinkTarget_Stub(
   13811     IRpcStubBuffer* This,
   13812     IRpcChannelBuffer* pRpcChannelBuffer,
   13813     PRPC_MESSAGE pRpcMessage,
   13814     DWORD* pdwStubPhase);
   13815 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetDictionary_Proxy(
   13816     IXpsOMPage* This,
   13817     IXpsOMDictionary **resourceDictionary);
   13818 void __RPC_STUB IXpsOMPage_GetDictionary_Stub(
   13819     IRpcStubBuffer* This,
   13820     IRpcChannelBuffer* pRpcChannelBuffer,
   13821     PRPC_MESSAGE pRpcMessage,
   13822     DWORD* pdwStubPhase);
   13823 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetDictionaryLocal_Proxy(
   13824     IXpsOMPage* This,
   13825     IXpsOMDictionary **resourceDictionary);
   13826 void __RPC_STUB IXpsOMPage_GetDictionaryLocal_Stub(
   13827     IRpcStubBuffer* This,
   13828     IRpcChannelBuffer* pRpcChannelBuffer,
   13829     PRPC_MESSAGE pRpcMessage,
   13830     DWORD* pdwStubPhase);
   13831 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetDictionaryLocal_Proxy(
   13832     IXpsOMPage* This,
   13833     IXpsOMDictionary *resourceDictionary);
   13834 void __RPC_STUB IXpsOMPage_SetDictionaryLocal_Stub(
   13835     IRpcStubBuffer* This,
   13836     IRpcChannelBuffer* pRpcChannelBuffer,
   13837     PRPC_MESSAGE pRpcMessage,
   13838     DWORD* pdwStubPhase);
   13839 HRESULT STDMETHODCALLTYPE IXpsOMPage_GetDictionaryResource_Proxy(
   13840     IXpsOMPage* This,
   13841     IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
   13842 void __RPC_STUB IXpsOMPage_GetDictionaryResource_Stub(
   13843     IRpcStubBuffer* This,
   13844     IRpcChannelBuffer* pRpcChannelBuffer,
   13845     PRPC_MESSAGE pRpcMessage,
   13846     DWORD* pdwStubPhase);
   13847 HRESULT STDMETHODCALLTYPE IXpsOMPage_SetDictionaryResource_Proxy(
   13848     IXpsOMPage* This,
   13849     IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
   13850 void __RPC_STUB IXpsOMPage_SetDictionaryResource_Stub(
   13851     IRpcStubBuffer* This,
   13852     IRpcChannelBuffer* pRpcChannelBuffer,
   13853     PRPC_MESSAGE pRpcMessage,
   13854     DWORD* pdwStubPhase);
   13855 HRESULT STDMETHODCALLTYPE IXpsOMPage_Write_Proxy(
   13856     IXpsOMPage* This,
   13857     ISequentialStream *stream,
   13858     WINBOOL optimizeMarkupSize);
   13859 void __RPC_STUB IXpsOMPage_Write_Stub(
   13860     IRpcStubBuffer* This,
   13861     IRpcChannelBuffer* pRpcChannelBuffer,
   13862     PRPC_MESSAGE pRpcMessage,
   13863     DWORD* pdwStubPhase);
   13864 HRESULT STDMETHODCALLTYPE IXpsOMPage_GenerateUnusedLookupKey_Proxy(
   13865     IXpsOMPage* This,
   13866     XPS_OBJECT_TYPE type,
   13867     LPWSTR *key);
   13868 void __RPC_STUB IXpsOMPage_GenerateUnusedLookupKey_Stub(
   13869     IRpcStubBuffer* This,
   13870     IRpcChannelBuffer* pRpcChannelBuffer,
   13871     PRPC_MESSAGE pRpcMessage,
   13872     DWORD* pdwStubPhase);
   13873 HRESULT STDMETHODCALLTYPE IXpsOMPage_Clone_Proxy(
   13874     IXpsOMPage* This,
   13875     IXpsOMPage **page);
   13876 void __RPC_STUB IXpsOMPage_Clone_Stub(
   13877     IRpcStubBuffer* This,
   13878     IRpcChannelBuffer* pRpcChannelBuffer,
   13879     PRPC_MESSAGE pRpcMessage,
   13880     DWORD* pdwStubPhase);
   13881 
   13882 #endif  /* __IXpsOMPage_INTERFACE_DEFINED__ */
   13883 
   13884 /*****************************************************************************
   13885  * IXpsOMDocument interface
   13886  */
   13887 #ifndef __IXpsOMDocument_INTERFACE_DEFINED__
   13888 #define __IXpsOMDocument_INTERFACE_DEFINED__
   13889 
   13890 DEFINE_GUID(IID_IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0);
   13891 #if defined(__cplusplus) && !defined(CINTERFACE)
   13892 MIDL_INTERFACE("2c2c94cb-ac5f-4254-8ee9-23948309d9f0")
   13893 IXpsOMDocument : public IXpsOMPart
   13894 {
   13895     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   13896         IXpsOMDocumentSequence **documentSequence) = 0;
   13897 
   13898     virtual HRESULT STDMETHODCALLTYPE GetPageReferences(
   13899         IXpsOMPageReferenceCollection **pageReferences) = 0;
   13900 
   13901     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
   13902         IXpsOMPrintTicketResource **printTicketResource) = 0;
   13903 
   13904     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
   13905         IXpsOMPrintTicketResource *printTicketResource) = 0;
   13906 
   13907     virtual HRESULT STDMETHODCALLTYPE GetDocumentStructureResource(
   13908         IXpsOMDocumentStructureResource **documentStructureResource) = 0;
   13909 
   13910     virtual HRESULT STDMETHODCALLTYPE SetDocumentStructureResource(
   13911         IXpsOMDocumentStructureResource *documentStructureResource) = 0;
   13912 
   13913     virtual HRESULT STDMETHODCALLTYPE GetSignatureBlockResources(
   13914         IXpsOMSignatureBlockResourceCollection **signatureBlockResources) = 0;
   13915 
   13916     virtual HRESULT STDMETHODCALLTYPE Clone(
   13917         IXpsOMDocument **document) = 0;
   13918 
   13919 };
   13920 #ifdef __CRT_UUID_DECL
   13921 __CRT_UUID_DECL(IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0)
   13922 #endif
   13923 #else
   13924 typedef struct IXpsOMDocumentVtbl {
   13925     BEGIN_INTERFACE
   13926 
   13927     /*** IUnknown methods ***/
   13928     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   13929         IXpsOMDocument* This,
   13930         REFIID riid,
   13931         void **ppvObject);
   13932 
   13933     ULONG (STDMETHODCALLTYPE *AddRef)(
   13934         IXpsOMDocument* This);
   13935 
   13936     ULONG (STDMETHODCALLTYPE *Release)(
   13937         IXpsOMDocument* This);
   13938 
   13939     /*** IXpsOMPart methods ***/
   13940     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   13941         IXpsOMDocument* This,
   13942         IOpcPartUri **partUri);
   13943 
   13944     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   13945         IXpsOMDocument* This,
   13946         IOpcPartUri *partUri);
   13947 
   13948     /*** IXpsOMDocument methods ***/
   13949     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   13950         IXpsOMDocument* This,
   13951         IXpsOMDocumentSequence **documentSequence);
   13952 
   13953     HRESULT (STDMETHODCALLTYPE *GetPageReferences)(
   13954         IXpsOMDocument* This,
   13955         IXpsOMPageReferenceCollection **pageReferences);
   13956 
   13957     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
   13958         IXpsOMDocument* This,
   13959         IXpsOMPrintTicketResource **printTicketResource);
   13960 
   13961     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
   13962         IXpsOMDocument* This,
   13963         IXpsOMPrintTicketResource *printTicketResource);
   13964 
   13965     HRESULT (STDMETHODCALLTYPE *GetDocumentStructureResource)(
   13966         IXpsOMDocument* This,
   13967         IXpsOMDocumentStructureResource **documentStructureResource);
   13968 
   13969     HRESULT (STDMETHODCALLTYPE *SetDocumentStructureResource)(
   13970         IXpsOMDocument* This,
   13971         IXpsOMDocumentStructureResource *documentStructureResource);
   13972 
   13973     HRESULT (STDMETHODCALLTYPE *GetSignatureBlockResources)(
   13974         IXpsOMDocument* This,
   13975         IXpsOMSignatureBlockResourceCollection **signatureBlockResources);
   13976 
   13977     HRESULT (STDMETHODCALLTYPE *Clone)(
   13978         IXpsOMDocument* This,
   13979         IXpsOMDocument **document);
   13980 
   13981     END_INTERFACE
   13982 } IXpsOMDocumentVtbl;
   13983 interface IXpsOMDocument {
   13984     CONST_VTBL IXpsOMDocumentVtbl* lpVtbl;
   13985 };
   13986 
   13987 #ifdef COBJMACROS
   13988 #ifndef WIDL_C_INLINE_WRAPPERS
   13989 /*** IUnknown methods ***/
   13990 #define IXpsOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   13991 #define IXpsOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
   13992 #define IXpsOMDocument_Release(This) (This)->lpVtbl->Release(This)
   13993 /*** IXpsOMPart methods ***/
   13994 #define IXpsOMDocument_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   13995 #define IXpsOMDocument_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   13996 /*** IXpsOMDocument methods ***/
   13997 #define IXpsOMDocument_GetOwner(This,documentSequence) (This)->lpVtbl->GetOwner(This,documentSequence)
   13998 #define IXpsOMDocument_GetPageReferences(This,pageReferences) (This)->lpVtbl->GetPageReferences(This,pageReferences)
   13999 #define IXpsOMDocument_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
   14000 #define IXpsOMDocument_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
   14001 #define IXpsOMDocument_GetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->GetDocumentStructureResource(This,documentStructureResource)
   14002 #define IXpsOMDocument_SetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->SetDocumentStructureResource(This,documentStructureResource)
   14003 #define IXpsOMDocument_GetSignatureBlockResources(This,signatureBlockResources) (This)->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources)
   14004 #define IXpsOMDocument_Clone(This,document) (This)->lpVtbl->Clone(This,document)
   14005 #else
   14006 /*** IUnknown methods ***/
   14007 static FORCEINLINE HRESULT IXpsOMDocument_QueryInterface(IXpsOMDocument* This,REFIID riid,void **ppvObject) {
   14008     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   14009 }
   14010 static FORCEINLINE ULONG IXpsOMDocument_AddRef(IXpsOMDocument* This) {
   14011     return This->lpVtbl->AddRef(This);
   14012 }
   14013 static FORCEINLINE ULONG IXpsOMDocument_Release(IXpsOMDocument* This) {
   14014     return This->lpVtbl->Release(This);
   14015 }
   14016 /*** IXpsOMPart methods ***/
   14017 static FORCEINLINE HRESULT IXpsOMDocument_GetPartName(IXpsOMDocument* This,IOpcPartUri **partUri) {
   14018     return This->lpVtbl->GetPartName(This,partUri);
   14019 }
   14020 static FORCEINLINE HRESULT IXpsOMDocument_SetPartName(IXpsOMDocument* This,IOpcPartUri *partUri) {
   14021     return This->lpVtbl->SetPartName(This,partUri);
   14022 }
   14023 /*** IXpsOMDocument methods ***/
   14024 static FORCEINLINE HRESULT IXpsOMDocument_GetOwner(IXpsOMDocument* This,IXpsOMDocumentSequence **documentSequence) {
   14025     return This->lpVtbl->GetOwner(This,documentSequence);
   14026 }
   14027 static FORCEINLINE HRESULT IXpsOMDocument_GetPageReferences(IXpsOMDocument* This,IXpsOMPageReferenceCollection **pageReferences) {
   14028     return This->lpVtbl->GetPageReferences(This,pageReferences);
   14029 }
   14030 static FORCEINLINE HRESULT IXpsOMDocument_GetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource **printTicketResource) {
   14031     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
   14032 }
   14033 static FORCEINLINE HRESULT IXpsOMDocument_SetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource *printTicketResource) {
   14034     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
   14035 }
   14036 static FORCEINLINE HRESULT IXpsOMDocument_GetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource **documentStructureResource) {
   14037     return This->lpVtbl->GetDocumentStructureResource(This,documentStructureResource);
   14038 }
   14039 static FORCEINLINE HRESULT IXpsOMDocument_SetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource *documentStructureResource) {
   14040     return This->lpVtbl->SetDocumentStructureResource(This,documentStructureResource);
   14041 }
   14042 static FORCEINLINE HRESULT IXpsOMDocument_GetSignatureBlockResources(IXpsOMDocument* This,IXpsOMSignatureBlockResourceCollection **signatureBlockResources) {
   14043     return This->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources);
   14044 }
   14045 static FORCEINLINE HRESULT IXpsOMDocument_Clone(IXpsOMDocument* This,IXpsOMDocument **document) {
   14046     return This->lpVtbl->Clone(This,document);
   14047 }
   14048 #endif
   14049 #endif
   14050 
   14051 #endif
   14052 
   14053 HRESULT STDMETHODCALLTYPE IXpsOMDocument_GetOwner_Proxy(
   14054     IXpsOMDocument* This,
   14055     IXpsOMDocumentSequence **documentSequence);
   14056 void __RPC_STUB IXpsOMDocument_GetOwner_Stub(
   14057     IRpcStubBuffer* This,
   14058     IRpcChannelBuffer* pRpcChannelBuffer,
   14059     PRPC_MESSAGE pRpcMessage,
   14060     DWORD* pdwStubPhase);
   14061 HRESULT STDMETHODCALLTYPE IXpsOMDocument_GetPageReferences_Proxy(
   14062     IXpsOMDocument* This,
   14063     IXpsOMPageReferenceCollection **pageReferences);
   14064 void __RPC_STUB IXpsOMDocument_GetPageReferences_Stub(
   14065     IRpcStubBuffer* This,
   14066     IRpcChannelBuffer* pRpcChannelBuffer,
   14067     PRPC_MESSAGE pRpcMessage,
   14068     DWORD* pdwStubPhase);
   14069 HRESULT STDMETHODCALLTYPE IXpsOMDocument_GetPrintTicketResource_Proxy(
   14070     IXpsOMDocument* This,
   14071     IXpsOMPrintTicketResource **printTicketResource);
   14072 void __RPC_STUB IXpsOMDocument_GetPrintTicketResource_Stub(
   14073     IRpcStubBuffer* This,
   14074     IRpcChannelBuffer* pRpcChannelBuffer,
   14075     PRPC_MESSAGE pRpcMessage,
   14076     DWORD* pdwStubPhase);
   14077 HRESULT STDMETHODCALLTYPE IXpsOMDocument_SetPrintTicketResource_Proxy(
   14078     IXpsOMDocument* This,
   14079     IXpsOMPrintTicketResource *printTicketResource);
   14080 void __RPC_STUB IXpsOMDocument_SetPrintTicketResource_Stub(
   14081     IRpcStubBuffer* This,
   14082     IRpcChannelBuffer* pRpcChannelBuffer,
   14083     PRPC_MESSAGE pRpcMessage,
   14084     DWORD* pdwStubPhase);
   14085 HRESULT STDMETHODCALLTYPE IXpsOMDocument_GetDocumentStructureResource_Proxy(
   14086     IXpsOMDocument* This,
   14087     IXpsOMDocumentStructureResource **documentStructureResource);
   14088 void __RPC_STUB IXpsOMDocument_GetDocumentStructureResource_Stub(
   14089     IRpcStubBuffer* This,
   14090     IRpcChannelBuffer* pRpcChannelBuffer,
   14091     PRPC_MESSAGE pRpcMessage,
   14092     DWORD* pdwStubPhase);
   14093 HRESULT STDMETHODCALLTYPE IXpsOMDocument_SetDocumentStructureResource_Proxy(
   14094     IXpsOMDocument* This,
   14095     IXpsOMDocumentStructureResource *documentStructureResource);
   14096 void __RPC_STUB IXpsOMDocument_SetDocumentStructureResource_Stub(
   14097     IRpcStubBuffer* This,
   14098     IRpcChannelBuffer* pRpcChannelBuffer,
   14099     PRPC_MESSAGE pRpcMessage,
   14100     DWORD* pdwStubPhase);
   14101 HRESULT STDMETHODCALLTYPE IXpsOMDocument_GetSignatureBlockResources_Proxy(
   14102     IXpsOMDocument* This,
   14103     IXpsOMSignatureBlockResourceCollection **signatureBlockResources);
   14104 void __RPC_STUB IXpsOMDocument_GetSignatureBlockResources_Stub(
   14105     IRpcStubBuffer* This,
   14106     IRpcChannelBuffer* pRpcChannelBuffer,
   14107     PRPC_MESSAGE pRpcMessage,
   14108     DWORD* pdwStubPhase);
   14109 HRESULT STDMETHODCALLTYPE IXpsOMDocument_Clone_Proxy(
   14110     IXpsOMDocument* This,
   14111     IXpsOMDocument **document);
   14112 void __RPC_STUB IXpsOMDocument_Clone_Stub(
   14113     IRpcStubBuffer* This,
   14114     IRpcChannelBuffer* pRpcChannelBuffer,
   14115     PRPC_MESSAGE pRpcMessage,
   14116     DWORD* pdwStubPhase);
   14117 
   14118 #endif  /* __IXpsOMDocument_INTERFACE_DEFINED__ */
   14119 
   14120 /*****************************************************************************
   14121  * IXpsOMDocumentSequence interface
   14122  */
   14123 #ifndef __IXpsOMDocumentSequence_INTERFACE_DEFINED__
   14124 #define __IXpsOMDocumentSequence_INTERFACE_DEFINED__
   14125 
   14126 DEFINE_GUID(IID_IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64);
   14127 #if defined(__cplusplus) && !defined(CINTERFACE)
   14128 MIDL_INTERFACE("56492eb4-d8d5-425e-8256-4c2b64ad0264")
   14129 IXpsOMDocumentSequence : public IXpsOMPart
   14130 {
   14131     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   14132         IXpsOMPackage **package) = 0;
   14133 
   14134     virtual HRESULT STDMETHODCALLTYPE GetDocuments(
   14135         IXpsOMDocumentCollection **documents) = 0;
   14136 
   14137     virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
   14138         IXpsOMPrintTicketResource **printTicketResource) = 0;
   14139 
   14140     virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
   14141         IXpsOMPrintTicketResource *printTicketResource) = 0;
   14142 
   14143 };
   14144 #ifdef __CRT_UUID_DECL
   14145 __CRT_UUID_DECL(IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64)
   14146 #endif
   14147 #else
   14148 typedef struct IXpsOMDocumentSequenceVtbl {
   14149     BEGIN_INTERFACE
   14150 
   14151     /*** IUnknown methods ***/
   14152     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   14153         IXpsOMDocumentSequence* This,
   14154         REFIID riid,
   14155         void **ppvObject);
   14156 
   14157     ULONG (STDMETHODCALLTYPE *AddRef)(
   14158         IXpsOMDocumentSequence* This);
   14159 
   14160     ULONG (STDMETHODCALLTYPE *Release)(
   14161         IXpsOMDocumentSequence* This);
   14162 
   14163     /*** IXpsOMPart methods ***/
   14164     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   14165         IXpsOMDocumentSequence* This,
   14166         IOpcPartUri **partUri);
   14167 
   14168     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   14169         IXpsOMDocumentSequence* This,
   14170         IOpcPartUri *partUri);
   14171 
   14172     /*** IXpsOMDocumentSequence methods ***/
   14173     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   14174         IXpsOMDocumentSequence* This,
   14175         IXpsOMPackage **package);
   14176 
   14177     HRESULT (STDMETHODCALLTYPE *GetDocuments)(
   14178         IXpsOMDocumentSequence* This,
   14179         IXpsOMDocumentCollection **documents);
   14180 
   14181     HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
   14182         IXpsOMDocumentSequence* This,
   14183         IXpsOMPrintTicketResource **printTicketResource);
   14184 
   14185     HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
   14186         IXpsOMDocumentSequence* This,
   14187         IXpsOMPrintTicketResource *printTicketResource);
   14188 
   14189     END_INTERFACE
   14190 } IXpsOMDocumentSequenceVtbl;
   14191 interface IXpsOMDocumentSequence {
   14192     CONST_VTBL IXpsOMDocumentSequenceVtbl* lpVtbl;
   14193 };
   14194 
   14195 #ifdef COBJMACROS
   14196 #ifndef WIDL_C_INLINE_WRAPPERS
   14197 /*** IUnknown methods ***/
   14198 #define IXpsOMDocumentSequence_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   14199 #define IXpsOMDocumentSequence_AddRef(This) (This)->lpVtbl->AddRef(This)
   14200 #define IXpsOMDocumentSequence_Release(This) (This)->lpVtbl->Release(This)
   14201 /*** IXpsOMPart methods ***/
   14202 #define IXpsOMDocumentSequence_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   14203 #define IXpsOMDocumentSequence_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   14204 /*** IXpsOMDocumentSequence methods ***/
   14205 #define IXpsOMDocumentSequence_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
   14206 #define IXpsOMDocumentSequence_GetDocuments(This,documents) (This)->lpVtbl->GetDocuments(This,documents)
   14207 #define IXpsOMDocumentSequence_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
   14208 #define IXpsOMDocumentSequence_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
   14209 #else
   14210 /*** IUnknown methods ***/
   14211 static FORCEINLINE HRESULT IXpsOMDocumentSequence_QueryInterface(IXpsOMDocumentSequence* This,REFIID riid,void **ppvObject) {
   14212     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   14213 }
   14214 static FORCEINLINE ULONG IXpsOMDocumentSequence_AddRef(IXpsOMDocumentSequence* This) {
   14215     return This->lpVtbl->AddRef(This);
   14216 }
   14217 static FORCEINLINE ULONG IXpsOMDocumentSequence_Release(IXpsOMDocumentSequence* This) {
   14218     return This->lpVtbl->Release(This);
   14219 }
   14220 /*** IXpsOMPart methods ***/
   14221 static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetPartName(IXpsOMDocumentSequence* This,IOpcPartUri **partUri) {
   14222     return This->lpVtbl->GetPartName(This,partUri);
   14223 }
   14224 static FORCEINLINE HRESULT IXpsOMDocumentSequence_SetPartName(IXpsOMDocumentSequence* This,IOpcPartUri *partUri) {
   14225     return This->lpVtbl->SetPartName(This,partUri);
   14226 }
   14227 /*** IXpsOMDocumentSequence methods ***/
   14228 static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetOwner(IXpsOMDocumentSequence* This,IXpsOMPackage **package) {
   14229     return This->lpVtbl->GetOwner(This,package);
   14230 }
   14231 static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetDocuments(IXpsOMDocumentSequence* This,IXpsOMDocumentCollection **documents) {
   14232     return This->lpVtbl->GetDocuments(This,documents);
   14233 }
   14234 static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource **printTicketResource) {
   14235     return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
   14236 }
   14237 static FORCEINLINE HRESULT IXpsOMDocumentSequence_SetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource *printTicketResource) {
   14238     return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
   14239 }
   14240 #endif
   14241 #endif
   14242 
   14243 #endif
   14244 
   14245 HRESULT STDMETHODCALLTYPE IXpsOMDocumentSequence_GetOwner_Proxy(
   14246     IXpsOMDocumentSequence* This,
   14247     IXpsOMPackage **package);
   14248 void __RPC_STUB IXpsOMDocumentSequence_GetOwner_Stub(
   14249     IRpcStubBuffer* This,
   14250     IRpcChannelBuffer* pRpcChannelBuffer,
   14251     PRPC_MESSAGE pRpcMessage,
   14252     DWORD* pdwStubPhase);
   14253 HRESULT STDMETHODCALLTYPE IXpsOMDocumentSequence_GetDocuments_Proxy(
   14254     IXpsOMDocumentSequence* This,
   14255     IXpsOMDocumentCollection **documents);
   14256 void __RPC_STUB IXpsOMDocumentSequence_GetDocuments_Stub(
   14257     IRpcStubBuffer* This,
   14258     IRpcChannelBuffer* pRpcChannelBuffer,
   14259     PRPC_MESSAGE pRpcMessage,
   14260     DWORD* pdwStubPhase);
   14261 HRESULT STDMETHODCALLTYPE IXpsOMDocumentSequence_GetPrintTicketResource_Proxy(
   14262     IXpsOMDocumentSequence* This,
   14263     IXpsOMPrintTicketResource **printTicketResource);
   14264 void __RPC_STUB IXpsOMDocumentSequence_GetPrintTicketResource_Stub(
   14265     IRpcStubBuffer* This,
   14266     IRpcChannelBuffer* pRpcChannelBuffer,
   14267     PRPC_MESSAGE pRpcMessage,
   14268     DWORD* pdwStubPhase);
   14269 HRESULT STDMETHODCALLTYPE IXpsOMDocumentSequence_SetPrintTicketResource_Proxy(
   14270     IXpsOMDocumentSequence* This,
   14271     IXpsOMPrintTicketResource *printTicketResource);
   14272 void __RPC_STUB IXpsOMDocumentSequence_SetPrintTicketResource_Stub(
   14273     IRpcStubBuffer* This,
   14274     IRpcChannelBuffer* pRpcChannelBuffer,
   14275     PRPC_MESSAGE pRpcMessage,
   14276     DWORD* pdwStubPhase);
   14277 
   14278 #endif  /* __IXpsOMDocumentSequence_INTERFACE_DEFINED__ */
   14279 
   14280 /*****************************************************************************
   14281  * IXpsOMCoreProperties interface
   14282  */
   14283 #ifndef __IXpsOMCoreProperties_INTERFACE_DEFINED__
   14284 #define __IXpsOMCoreProperties_INTERFACE_DEFINED__
   14285 
   14286 DEFINE_GUID(IID_IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97);
   14287 #if defined(__cplusplus) && !defined(CINTERFACE)
   14288 MIDL_INTERFACE("3340fe8f-4027-4aa1-8f5f-d35ae45fe597")
   14289 IXpsOMCoreProperties : public IXpsOMPart
   14290 {
   14291     virtual HRESULT STDMETHODCALLTYPE GetOwner(
   14292         IXpsOMPackage **package) = 0;
   14293 
   14294     virtual HRESULT STDMETHODCALLTYPE GetCategory(
   14295         LPWSTR *category) = 0;
   14296 
   14297     virtual HRESULT STDMETHODCALLTYPE SetCategory(
   14298         LPCWSTR category) = 0;
   14299 
   14300     virtual HRESULT STDMETHODCALLTYPE GetContentStatus(
   14301         LPWSTR *contentStatus) = 0;
   14302 
   14303     virtual HRESULT STDMETHODCALLTYPE SetContentStatus(
   14304         LPCWSTR contentStatus) = 0;
   14305 
   14306     virtual HRESULT STDMETHODCALLTYPE GetContentType(
   14307         LPWSTR *contentType) = 0;
   14308 
   14309     virtual HRESULT STDMETHODCALLTYPE SetContentType(
   14310         LPCWSTR contentType) = 0;
   14311 
   14312     virtual HRESULT STDMETHODCALLTYPE GetCreated(
   14313         SYSTEMTIME *created) = 0;
   14314 
   14315     virtual HRESULT STDMETHODCALLTYPE SetCreated(
   14316         const SYSTEMTIME *created) = 0;
   14317 
   14318     virtual HRESULT STDMETHODCALLTYPE GetCreator(
   14319         LPWSTR *creator) = 0;
   14320 
   14321     virtual HRESULT STDMETHODCALLTYPE SetCreator(
   14322         LPCWSTR creator) = 0;
   14323 
   14324     virtual HRESULT STDMETHODCALLTYPE GetDescription(
   14325         LPWSTR *description) = 0;
   14326 
   14327     virtual HRESULT STDMETHODCALLTYPE SetDescription(
   14328         LPCWSTR description) = 0;
   14329 
   14330     virtual HRESULT STDMETHODCALLTYPE GetIdentifier(
   14331         LPWSTR *identifier) = 0;
   14332 
   14333     virtual HRESULT STDMETHODCALLTYPE SetIdentifier(
   14334         LPCWSTR identifier) = 0;
   14335 
   14336     virtual HRESULT STDMETHODCALLTYPE GetKeywords(
   14337         LPWSTR *keywords) = 0;
   14338 
   14339     virtual HRESULT STDMETHODCALLTYPE SetKeywords(
   14340         LPCWSTR keywords) = 0;
   14341 
   14342     virtual HRESULT STDMETHODCALLTYPE GetLanguage(
   14343         LPWSTR *language) = 0;
   14344 
   14345     virtual HRESULT STDMETHODCALLTYPE SetLanguage(
   14346         LPCWSTR language) = 0;
   14347 
   14348     virtual HRESULT STDMETHODCALLTYPE GetLastModifiedBy(
   14349         LPWSTR *lastModifiedBy) = 0;
   14350 
   14351     virtual HRESULT STDMETHODCALLTYPE SetLastModifiedBy(
   14352         LPCWSTR lastModifiedBy) = 0;
   14353 
   14354     virtual HRESULT STDMETHODCALLTYPE GetLastPrinted(
   14355         SYSTEMTIME *lastPrinted) = 0;
   14356 
   14357     virtual HRESULT STDMETHODCALLTYPE SetLastPrinted(
   14358         const SYSTEMTIME *lastPrinted) = 0;
   14359 
   14360     virtual HRESULT STDMETHODCALLTYPE GetModified(
   14361         SYSTEMTIME *modified) = 0;
   14362 
   14363     virtual HRESULT STDMETHODCALLTYPE SetModified(
   14364         const SYSTEMTIME *modified) = 0;
   14365 
   14366     virtual HRESULT STDMETHODCALLTYPE GetRevision(
   14367         LPWSTR *revision) = 0;
   14368 
   14369     virtual HRESULT STDMETHODCALLTYPE SetRevision(
   14370         LPCWSTR revision) = 0;
   14371 
   14372     virtual HRESULT STDMETHODCALLTYPE GetSubject(
   14373         LPWSTR *subject) = 0;
   14374 
   14375     virtual HRESULT STDMETHODCALLTYPE SetSubject(
   14376         LPCWSTR subject) = 0;
   14377 
   14378     virtual HRESULT STDMETHODCALLTYPE GetTitle(
   14379         LPWSTR *title) = 0;
   14380 
   14381     virtual HRESULT STDMETHODCALLTYPE SetTitle(
   14382         LPCWSTR title) = 0;
   14383 
   14384     virtual HRESULT STDMETHODCALLTYPE GetVersion(
   14385         LPWSTR *version) = 0;
   14386 
   14387     virtual HRESULT STDMETHODCALLTYPE SetVersion(
   14388         LPCWSTR version) = 0;
   14389 
   14390     virtual HRESULT STDMETHODCALLTYPE Clone(
   14391         IXpsOMCoreProperties **coreProperties) = 0;
   14392 
   14393 };
   14394 #ifdef __CRT_UUID_DECL
   14395 __CRT_UUID_DECL(IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97)
   14396 #endif
   14397 #else
   14398 typedef struct IXpsOMCorePropertiesVtbl {
   14399     BEGIN_INTERFACE
   14400 
   14401     /*** IUnknown methods ***/
   14402     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   14403         IXpsOMCoreProperties* This,
   14404         REFIID riid,
   14405         void **ppvObject);
   14406 
   14407     ULONG (STDMETHODCALLTYPE *AddRef)(
   14408         IXpsOMCoreProperties* This);
   14409 
   14410     ULONG (STDMETHODCALLTYPE *Release)(
   14411         IXpsOMCoreProperties* This);
   14412 
   14413     /*** IXpsOMPart methods ***/
   14414     HRESULT (STDMETHODCALLTYPE *GetPartName)(
   14415         IXpsOMCoreProperties* This,
   14416         IOpcPartUri **partUri);
   14417 
   14418     HRESULT (STDMETHODCALLTYPE *SetPartName)(
   14419         IXpsOMCoreProperties* This,
   14420         IOpcPartUri *partUri);
   14421 
   14422     /*** IXpsOMCoreProperties methods ***/
   14423     HRESULT (STDMETHODCALLTYPE *GetOwner)(
   14424         IXpsOMCoreProperties* This,
   14425         IXpsOMPackage **package);
   14426 
   14427     HRESULT (STDMETHODCALLTYPE *GetCategory)(
   14428         IXpsOMCoreProperties* This,
   14429         LPWSTR *category);
   14430 
   14431     HRESULT (STDMETHODCALLTYPE *SetCategory)(
   14432         IXpsOMCoreProperties* This,
   14433         LPCWSTR category);
   14434 
   14435     HRESULT (STDMETHODCALLTYPE *GetContentStatus)(
   14436         IXpsOMCoreProperties* This,
   14437         LPWSTR *contentStatus);
   14438 
   14439     HRESULT (STDMETHODCALLTYPE *SetContentStatus)(
   14440         IXpsOMCoreProperties* This,
   14441         LPCWSTR contentStatus);
   14442 
   14443     HRESULT (STDMETHODCALLTYPE *GetContentType)(
   14444         IXpsOMCoreProperties* This,
   14445         LPWSTR *contentType);
   14446 
   14447     HRESULT (STDMETHODCALLTYPE *SetContentType)(
   14448         IXpsOMCoreProperties* This,
   14449         LPCWSTR contentType);
   14450 
   14451     HRESULT (STDMETHODCALLTYPE *GetCreated)(
   14452         IXpsOMCoreProperties* This,
   14453         SYSTEMTIME *created);
   14454 
   14455     HRESULT (STDMETHODCALLTYPE *SetCreated)(
   14456         IXpsOMCoreProperties* This,
   14457         const SYSTEMTIME *created);
   14458 
   14459     HRESULT (STDMETHODCALLTYPE *GetCreator)(
   14460         IXpsOMCoreProperties* This,
   14461         LPWSTR *creator);
   14462 
   14463     HRESULT (STDMETHODCALLTYPE *SetCreator)(
   14464         IXpsOMCoreProperties* This,
   14465         LPCWSTR creator);
   14466 
   14467     HRESULT (STDMETHODCALLTYPE *GetDescription)(
   14468         IXpsOMCoreProperties* This,
   14469         LPWSTR *description);
   14470 
   14471     HRESULT (STDMETHODCALLTYPE *SetDescription)(
   14472         IXpsOMCoreProperties* This,
   14473         LPCWSTR description);
   14474 
   14475     HRESULT (STDMETHODCALLTYPE *GetIdentifier)(
   14476         IXpsOMCoreProperties* This,
   14477         LPWSTR *identifier);
   14478 
   14479     HRESULT (STDMETHODCALLTYPE *SetIdentifier)(
   14480         IXpsOMCoreProperties* This,
   14481         LPCWSTR identifier);
   14482 
   14483     HRESULT (STDMETHODCALLTYPE *GetKeywords)(
   14484         IXpsOMCoreProperties* This,
   14485         LPWSTR *keywords);
   14486 
   14487     HRESULT (STDMETHODCALLTYPE *SetKeywords)(
   14488         IXpsOMCoreProperties* This,
   14489         LPCWSTR keywords);
   14490 
   14491     HRESULT (STDMETHODCALLTYPE *GetLanguage)(
   14492         IXpsOMCoreProperties* This,
   14493         LPWSTR *language);
   14494 
   14495     HRESULT (STDMETHODCALLTYPE *SetLanguage)(
   14496         IXpsOMCoreProperties* This,
   14497         LPCWSTR language);
   14498 
   14499     HRESULT (STDMETHODCALLTYPE *GetLastModifiedBy)(
   14500         IXpsOMCoreProperties* This,
   14501         LPWSTR *lastModifiedBy);
   14502 
   14503     HRESULT (STDMETHODCALLTYPE *SetLastModifiedBy)(
   14504         IXpsOMCoreProperties* This,
   14505         LPCWSTR lastModifiedBy);
   14506 
   14507     HRESULT (STDMETHODCALLTYPE *GetLastPrinted)(
   14508         IXpsOMCoreProperties* This,
   14509         SYSTEMTIME *lastPrinted);
   14510 
   14511     HRESULT (STDMETHODCALLTYPE *SetLastPrinted)(
   14512         IXpsOMCoreProperties* This,
   14513         const SYSTEMTIME *lastPrinted);
   14514 
   14515     HRESULT (STDMETHODCALLTYPE *GetModified)(
   14516         IXpsOMCoreProperties* This,
   14517         SYSTEMTIME *modified);
   14518 
   14519     HRESULT (STDMETHODCALLTYPE *SetModified)(
   14520         IXpsOMCoreProperties* This,
   14521         const SYSTEMTIME *modified);
   14522 
   14523     HRESULT (STDMETHODCALLTYPE *GetRevision)(
   14524         IXpsOMCoreProperties* This,
   14525         LPWSTR *revision);
   14526 
   14527     HRESULT (STDMETHODCALLTYPE *SetRevision)(
   14528         IXpsOMCoreProperties* This,
   14529         LPCWSTR revision);
   14530 
   14531     HRESULT (STDMETHODCALLTYPE *GetSubject)(
   14532         IXpsOMCoreProperties* This,
   14533         LPWSTR *subject);
   14534 
   14535     HRESULT (STDMETHODCALLTYPE *SetSubject)(
   14536         IXpsOMCoreProperties* This,
   14537         LPCWSTR subject);
   14538 
   14539     HRESULT (STDMETHODCALLTYPE *GetTitle)(
   14540         IXpsOMCoreProperties* This,
   14541         LPWSTR *title);
   14542 
   14543     HRESULT (STDMETHODCALLTYPE *SetTitle)(
   14544         IXpsOMCoreProperties* This,
   14545         LPCWSTR title);
   14546 
   14547     HRESULT (STDMETHODCALLTYPE *GetVersion)(
   14548         IXpsOMCoreProperties* This,
   14549         LPWSTR *version);
   14550 
   14551     HRESULT (STDMETHODCALLTYPE *SetVersion)(
   14552         IXpsOMCoreProperties* This,
   14553         LPCWSTR version);
   14554 
   14555     HRESULT (STDMETHODCALLTYPE *Clone)(
   14556         IXpsOMCoreProperties* This,
   14557         IXpsOMCoreProperties **coreProperties);
   14558 
   14559     END_INTERFACE
   14560 } IXpsOMCorePropertiesVtbl;
   14561 interface IXpsOMCoreProperties {
   14562     CONST_VTBL IXpsOMCorePropertiesVtbl* lpVtbl;
   14563 };
   14564 
   14565 #ifdef COBJMACROS
   14566 #ifndef WIDL_C_INLINE_WRAPPERS
   14567 /*** IUnknown methods ***/
   14568 #define IXpsOMCoreProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   14569 #define IXpsOMCoreProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
   14570 #define IXpsOMCoreProperties_Release(This) (This)->lpVtbl->Release(This)
   14571 /*** IXpsOMPart methods ***/
   14572 #define IXpsOMCoreProperties_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
   14573 #define IXpsOMCoreProperties_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
   14574 /*** IXpsOMCoreProperties methods ***/
   14575 #define IXpsOMCoreProperties_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
   14576 #define IXpsOMCoreProperties_GetCategory(This,category) (This)->lpVtbl->GetCategory(This,category)
   14577 #define IXpsOMCoreProperties_SetCategory(This,category) (This)->lpVtbl->SetCategory(This,category)
   14578 #define IXpsOMCoreProperties_GetContentStatus(This,contentStatus) (This)->lpVtbl->GetContentStatus(This,contentStatus)
   14579 #define IXpsOMCoreProperties_SetContentStatus(This,contentStatus) (This)->lpVtbl->SetContentStatus(This,contentStatus)
   14580 #define IXpsOMCoreProperties_GetContentType(This,contentType) (This)->lpVtbl->GetContentType(This,contentType)
   14581 #define IXpsOMCoreProperties_SetContentType(This,contentType) (This)->lpVtbl->SetContentType(This,contentType)
   14582 #define IXpsOMCoreProperties_GetCreated(This,created) (This)->lpVtbl->GetCreated(This,created)
   14583 #define IXpsOMCoreProperties_SetCreated(This,created) (This)->lpVtbl->SetCreated(This,created)
   14584 #define IXpsOMCoreProperties_GetCreator(This,creator) (This)->lpVtbl->GetCreator(This,creator)
   14585 #define IXpsOMCoreProperties_SetCreator(This,creator) (This)->lpVtbl->SetCreator(This,creator)
   14586 #define IXpsOMCoreProperties_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description)
   14587 #define IXpsOMCoreProperties_SetDescription(This,description) (This)->lpVtbl->SetDescription(This,description)
   14588 #define IXpsOMCoreProperties_GetIdentifier(This,identifier) (This)->lpVtbl->GetIdentifier(This,identifier)
   14589 #define IXpsOMCoreProperties_SetIdentifier(This,identifier) (This)->lpVtbl->SetIdentifier(This,identifier)
   14590 #define IXpsOMCoreProperties_GetKeywords(This,keywords) (This)->lpVtbl->GetKeywords(This,keywords)
   14591 #define IXpsOMCoreProperties_SetKeywords(This,keywords) (This)->lpVtbl->SetKeywords(This,keywords)
   14592 #define IXpsOMCoreProperties_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
   14593 #define IXpsOMCoreProperties_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
   14594 #define IXpsOMCoreProperties_GetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->GetLastModifiedBy(This,lastModifiedBy)
   14595 #define IXpsOMCoreProperties_SetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->SetLastModifiedBy(This,lastModifiedBy)
   14596 #define IXpsOMCoreProperties_GetLastPrinted(This,lastPrinted) (This)->lpVtbl->GetLastPrinted(This,lastPrinted)
   14597 #define IXpsOMCoreProperties_SetLastPrinted(This,lastPrinted) (This)->lpVtbl->SetLastPrinted(This,lastPrinted)
   14598 #define IXpsOMCoreProperties_GetModified(This,modified) (This)->lpVtbl->GetModified(This,modified)
   14599 #define IXpsOMCoreProperties_SetModified(This,modified) (This)->lpVtbl->SetModified(This,modified)
   14600 #define IXpsOMCoreProperties_GetRevision(This,revision) (This)->lpVtbl->GetRevision(This,revision)
   14601 #define IXpsOMCoreProperties_SetRevision(This,revision) (This)->lpVtbl->SetRevision(This,revision)
   14602 #define IXpsOMCoreProperties_GetSubject(This,subject) (This)->lpVtbl->GetSubject(This,subject)
   14603 #define IXpsOMCoreProperties_SetSubject(This,subject) (This)->lpVtbl->SetSubject(This,subject)
   14604 #define IXpsOMCoreProperties_GetTitle(This,title) (This)->lpVtbl->GetTitle(This,title)
   14605 #define IXpsOMCoreProperties_SetTitle(This,title) (This)->lpVtbl->SetTitle(This,title)
   14606 #define IXpsOMCoreProperties_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version)
   14607 #define IXpsOMCoreProperties_SetVersion(This,version) (This)->lpVtbl->SetVersion(This,version)
   14608 #define IXpsOMCoreProperties_Clone(This,coreProperties) (This)->lpVtbl->Clone(This,coreProperties)
   14609 #else
   14610 /*** IUnknown methods ***/
   14611 static FORCEINLINE HRESULT IXpsOMCoreProperties_QueryInterface(IXpsOMCoreProperties* This,REFIID riid,void **ppvObject) {
   14612     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   14613 }
   14614 static FORCEINLINE ULONG IXpsOMCoreProperties_AddRef(IXpsOMCoreProperties* This) {
   14615     return This->lpVtbl->AddRef(This);
   14616 }
   14617 static FORCEINLINE ULONG IXpsOMCoreProperties_Release(IXpsOMCoreProperties* This) {
   14618     return This->lpVtbl->Release(This);
   14619 }
   14620 /*** IXpsOMPart methods ***/
   14621 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetPartName(IXpsOMCoreProperties* This,IOpcPartUri **partUri) {
   14622     return This->lpVtbl->GetPartName(This,partUri);
   14623 }
   14624 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetPartName(IXpsOMCoreProperties* This,IOpcPartUri *partUri) {
   14625     return This->lpVtbl->SetPartName(This,partUri);
   14626 }
   14627 /*** IXpsOMCoreProperties methods ***/
   14628 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetOwner(IXpsOMCoreProperties* This,IXpsOMPackage **package) {
   14629     return This->lpVtbl->GetOwner(This,package);
   14630 }
   14631 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCategory(IXpsOMCoreProperties* This,LPWSTR *category) {
   14632     return This->lpVtbl->GetCategory(This,category);
   14633 }
   14634 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCategory(IXpsOMCoreProperties* This,LPCWSTR category) {
   14635     return This->lpVtbl->SetCategory(This,category);
   14636 }
   14637 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetContentStatus(IXpsOMCoreProperties* This,LPWSTR *contentStatus) {
   14638     return This->lpVtbl->GetContentStatus(This,contentStatus);
   14639 }
   14640 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetContentStatus(IXpsOMCoreProperties* This,LPCWSTR contentStatus) {
   14641     return This->lpVtbl->SetContentStatus(This,contentStatus);
   14642 }
   14643 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetContentType(IXpsOMCoreProperties* This,LPWSTR *contentType) {
   14644     return This->lpVtbl->GetContentType(This,contentType);
   14645 }
   14646 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetContentType(IXpsOMCoreProperties* This,LPCWSTR contentType) {
   14647     return This->lpVtbl->SetContentType(This,contentType);
   14648 }
   14649 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCreated(IXpsOMCoreProperties* This,SYSTEMTIME *created) {
   14650     return This->lpVtbl->GetCreated(This,created);
   14651 }
   14652 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCreated(IXpsOMCoreProperties* This,const SYSTEMTIME *created) {
   14653     return This->lpVtbl->SetCreated(This,created);
   14654 }
   14655 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCreator(IXpsOMCoreProperties* This,LPWSTR *creator) {
   14656     return This->lpVtbl->GetCreator(This,creator);
   14657 }
   14658 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCreator(IXpsOMCoreProperties* This,LPCWSTR creator) {
   14659     return This->lpVtbl->SetCreator(This,creator);
   14660 }
   14661 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetDescription(IXpsOMCoreProperties* This,LPWSTR *description) {
   14662     return This->lpVtbl->GetDescription(This,description);
   14663 }
   14664 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetDescription(IXpsOMCoreProperties* This,LPCWSTR description) {
   14665     return This->lpVtbl->SetDescription(This,description);
   14666 }
   14667 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetIdentifier(IXpsOMCoreProperties* This,LPWSTR *identifier) {
   14668     return This->lpVtbl->GetIdentifier(This,identifier);
   14669 }
   14670 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetIdentifier(IXpsOMCoreProperties* This,LPCWSTR identifier) {
   14671     return This->lpVtbl->SetIdentifier(This,identifier);
   14672 }
   14673 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetKeywords(IXpsOMCoreProperties* This,LPWSTR *keywords) {
   14674     return This->lpVtbl->GetKeywords(This,keywords);
   14675 }
   14676 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetKeywords(IXpsOMCoreProperties* This,LPCWSTR keywords) {
   14677     return This->lpVtbl->SetKeywords(This,keywords);
   14678 }
   14679 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLanguage(IXpsOMCoreProperties* This,LPWSTR *language) {
   14680     return This->lpVtbl->GetLanguage(This,language);
   14681 }
   14682 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLanguage(IXpsOMCoreProperties* This,LPCWSTR language) {
   14683     return This->lpVtbl->SetLanguage(This,language);
   14684 }
   14685 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLastModifiedBy(IXpsOMCoreProperties* This,LPWSTR *lastModifiedBy) {
   14686     return This->lpVtbl->GetLastModifiedBy(This,lastModifiedBy);
   14687 }
   14688 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLastModifiedBy(IXpsOMCoreProperties* This,LPCWSTR lastModifiedBy) {
   14689     return This->lpVtbl->SetLastModifiedBy(This,lastModifiedBy);
   14690 }
   14691 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLastPrinted(IXpsOMCoreProperties* This,SYSTEMTIME *lastPrinted) {
   14692     return This->lpVtbl->GetLastPrinted(This,lastPrinted);
   14693 }
   14694 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLastPrinted(IXpsOMCoreProperties* This,const SYSTEMTIME *lastPrinted) {
   14695     return This->lpVtbl->SetLastPrinted(This,lastPrinted);
   14696 }
   14697 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetModified(IXpsOMCoreProperties* This,SYSTEMTIME *modified) {
   14698     return This->lpVtbl->GetModified(This,modified);
   14699 }
   14700 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetModified(IXpsOMCoreProperties* This,const SYSTEMTIME *modified) {
   14701     return This->lpVtbl->SetModified(This,modified);
   14702 }
   14703 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetRevision(IXpsOMCoreProperties* This,LPWSTR *revision) {
   14704     return This->lpVtbl->GetRevision(This,revision);
   14705 }
   14706 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetRevision(IXpsOMCoreProperties* This,LPCWSTR revision) {
   14707     return This->lpVtbl->SetRevision(This,revision);
   14708 }
   14709 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetSubject(IXpsOMCoreProperties* This,LPWSTR *subject) {
   14710     return This->lpVtbl->GetSubject(This,subject);
   14711 }
   14712 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetSubject(IXpsOMCoreProperties* This,LPCWSTR subject) {
   14713     return This->lpVtbl->SetSubject(This,subject);
   14714 }
   14715 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetTitle(IXpsOMCoreProperties* This,LPWSTR *title) {
   14716     return This->lpVtbl->GetTitle(This,title);
   14717 }
   14718 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetTitle(IXpsOMCoreProperties* This,LPCWSTR title) {
   14719     return This->lpVtbl->SetTitle(This,title);
   14720 }
   14721 static FORCEINLINE HRESULT IXpsOMCoreProperties_GetVersion(IXpsOMCoreProperties* This,LPWSTR *version) {
   14722     return This->lpVtbl->GetVersion(This,version);
   14723 }
   14724 static FORCEINLINE HRESULT IXpsOMCoreProperties_SetVersion(IXpsOMCoreProperties* This,LPCWSTR version) {
   14725     return This->lpVtbl->SetVersion(This,version);
   14726 }
   14727 static FORCEINLINE HRESULT IXpsOMCoreProperties_Clone(IXpsOMCoreProperties* This,IXpsOMCoreProperties **coreProperties) {
   14728     return This->lpVtbl->Clone(This,coreProperties);
   14729 }
   14730 #endif
   14731 #endif
   14732 
   14733 #endif
   14734 
   14735 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetOwner_Proxy(
   14736     IXpsOMCoreProperties* This,
   14737     IXpsOMPackage **package);
   14738 void __RPC_STUB IXpsOMCoreProperties_GetOwner_Stub(
   14739     IRpcStubBuffer* This,
   14740     IRpcChannelBuffer* pRpcChannelBuffer,
   14741     PRPC_MESSAGE pRpcMessage,
   14742     DWORD* pdwStubPhase);
   14743 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetCategory_Proxy(
   14744     IXpsOMCoreProperties* This,
   14745     LPWSTR *category);
   14746 void __RPC_STUB IXpsOMCoreProperties_GetCategory_Stub(
   14747     IRpcStubBuffer* This,
   14748     IRpcChannelBuffer* pRpcChannelBuffer,
   14749     PRPC_MESSAGE pRpcMessage,
   14750     DWORD* pdwStubPhase);
   14751 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetCategory_Proxy(
   14752     IXpsOMCoreProperties* This,
   14753     LPCWSTR category);
   14754 void __RPC_STUB IXpsOMCoreProperties_SetCategory_Stub(
   14755     IRpcStubBuffer* This,
   14756     IRpcChannelBuffer* pRpcChannelBuffer,
   14757     PRPC_MESSAGE pRpcMessage,
   14758     DWORD* pdwStubPhase);
   14759 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetContentStatus_Proxy(
   14760     IXpsOMCoreProperties* This,
   14761     LPWSTR *contentStatus);
   14762 void __RPC_STUB IXpsOMCoreProperties_GetContentStatus_Stub(
   14763     IRpcStubBuffer* This,
   14764     IRpcChannelBuffer* pRpcChannelBuffer,
   14765     PRPC_MESSAGE pRpcMessage,
   14766     DWORD* pdwStubPhase);
   14767 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetContentStatus_Proxy(
   14768     IXpsOMCoreProperties* This,
   14769     LPCWSTR contentStatus);
   14770 void __RPC_STUB IXpsOMCoreProperties_SetContentStatus_Stub(
   14771     IRpcStubBuffer* This,
   14772     IRpcChannelBuffer* pRpcChannelBuffer,
   14773     PRPC_MESSAGE pRpcMessage,
   14774     DWORD* pdwStubPhase);
   14775 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetContentType_Proxy(
   14776     IXpsOMCoreProperties* This,
   14777     LPWSTR *contentType);
   14778 void __RPC_STUB IXpsOMCoreProperties_GetContentType_Stub(
   14779     IRpcStubBuffer* This,
   14780     IRpcChannelBuffer* pRpcChannelBuffer,
   14781     PRPC_MESSAGE pRpcMessage,
   14782     DWORD* pdwStubPhase);
   14783 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetContentType_Proxy(
   14784     IXpsOMCoreProperties* This,
   14785     LPCWSTR contentType);
   14786 void __RPC_STUB IXpsOMCoreProperties_SetContentType_Stub(
   14787     IRpcStubBuffer* This,
   14788     IRpcChannelBuffer* pRpcChannelBuffer,
   14789     PRPC_MESSAGE pRpcMessage,
   14790     DWORD* pdwStubPhase);
   14791 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetCreated_Proxy(
   14792     IXpsOMCoreProperties* This,
   14793     SYSTEMTIME *created);
   14794 void __RPC_STUB IXpsOMCoreProperties_GetCreated_Stub(
   14795     IRpcStubBuffer* This,
   14796     IRpcChannelBuffer* pRpcChannelBuffer,
   14797     PRPC_MESSAGE pRpcMessage,
   14798     DWORD* pdwStubPhase);
   14799 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetCreated_Proxy(
   14800     IXpsOMCoreProperties* This,
   14801     const SYSTEMTIME *created);
   14802 void __RPC_STUB IXpsOMCoreProperties_SetCreated_Stub(
   14803     IRpcStubBuffer* This,
   14804     IRpcChannelBuffer* pRpcChannelBuffer,
   14805     PRPC_MESSAGE pRpcMessage,
   14806     DWORD* pdwStubPhase);
   14807 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetCreator_Proxy(
   14808     IXpsOMCoreProperties* This,
   14809     LPWSTR *creator);
   14810 void __RPC_STUB IXpsOMCoreProperties_GetCreator_Stub(
   14811     IRpcStubBuffer* This,
   14812     IRpcChannelBuffer* pRpcChannelBuffer,
   14813     PRPC_MESSAGE pRpcMessage,
   14814     DWORD* pdwStubPhase);
   14815 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetCreator_Proxy(
   14816     IXpsOMCoreProperties* This,
   14817     LPCWSTR creator);
   14818 void __RPC_STUB IXpsOMCoreProperties_SetCreator_Stub(
   14819     IRpcStubBuffer* This,
   14820     IRpcChannelBuffer* pRpcChannelBuffer,
   14821     PRPC_MESSAGE pRpcMessage,
   14822     DWORD* pdwStubPhase);
   14823 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetDescription_Proxy(
   14824     IXpsOMCoreProperties* This,
   14825     LPWSTR *description);
   14826 void __RPC_STUB IXpsOMCoreProperties_GetDescription_Stub(
   14827     IRpcStubBuffer* This,
   14828     IRpcChannelBuffer* pRpcChannelBuffer,
   14829     PRPC_MESSAGE pRpcMessage,
   14830     DWORD* pdwStubPhase);
   14831 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetDescription_Proxy(
   14832     IXpsOMCoreProperties* This,
   14833     LPCWSTR description);
   14834 void __RPC_STUB IXpsOMCoreProperties_SetDescription_Stub(
   14835     IRpcStubBuffer* This,
   14836     IRpcChannelBuffer* pRpcChannelBuffer,
   14837     PRPC_MESSAGE pRpcMessage,
   14838     DWORD* pdwStubPhase);
   14839 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetIdentifier_Proxy(
   14840     IXpsOMCoreProperties* This,
   14841     LPWSTR *identifier);
   14842 void __RPC_STUB IXpsOMCoreProperties_GetIdentifier_Stub(
   14843     IRpcStubBuffer* This,
   14844     IRpcChannelBuffer* pRpcChannelBuffer,
   14845     PRPC_MESSAGE pRpcMessage,
   14846     DWORD* pdwStubPhase);
   14847 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetIdentifier_Proxy(
   14848     IXpsOMCoreProperties* This,
   14849     LPCWSTR identifier);
   14850 void __RPC_STUB IXpsOMCoreProperties_SetIdentifier_Stub(
   14851     IRpcStubBuffer* This,
   14852     IRpcChannelBuffer* pRpcChannelBuffer,
   14853     PRPC_MESSAGE pRpcMessage,
   14854     DWORD* pdwStubPhase);
   14855 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetKeywords_Proxy(
   14856     IXpsOMCoreProperties* This,
   14857     LPWSTR *keywords);
   14858 void __RPC_STUB IXpsOMCoreProperties_GetKeywords_Stub(
   14859     IRpcStubBuffer* This,
   14860     IRpcChannelBuffer* pRpcChannelBuffer,
   14861     PRPC_MESSAGE pRpcMessage,
   14862     DWORD* pdwStubPhase);
   14863 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetKeywords_Proxy(
   14864     IXpsOMCoreProperties* This,
   14865     LPCWSTR keywords);
   14866 void __RPC_STUB IXpsOMCoreProperties_SetKeywords_Stub(
   14867     IRpcStubBuffer* This,
   14868     IRpcChannelBuffer* pRpcChannelBuffer,
   14869     PRPC_MESSAGE pRpcMessage,
   14870     DWORD* pdwStubPhase);
   14871 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetLanguage_Proxy(
   14872     IXpsOMCoreProperties* This,
   14873     LPWSTR *language);
   14874 void __RPC_STUB IXpsOMCoreProperties_GetLanguage_Stub(
   14875     IRpcStubBuffer* This,
   14876     IRpcChannelBuffer* pRpcChannelBuffer,
   14877     PRPC_MESSAGE pRpcMessage,
   14878     DWORD* pdwStubPhase);
   14879 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetLanguage_Proxy(
   14880     IXpsOMCoreProperties* This,
   14881     LPCWSTR language);
   14882 void __RPC_STUB IXpsOMCoreProperties_SetLanguage_Stub(
   14883     IRpcStubBuffer* This,
   14884     IRpcChannelBuffer* pRpcChannelBuffer,
   14885     PRPC_MESSAGE pRpcMessage,
   14886     DWORD* pdwStubPhase);
   14887 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetLastModifiedBy_Proxy(
   14888     IXpsOMCoreProperties* This,
   14889     LPWSTR *lastModifiedBy);
   14890 void __RPC_STUB IXpsOMCoreProperties_GetLastModifiedBy_Stub(
   14891     IRpcStubBuffer* This,
   14892     IRpcChannelBuffer* pRpcChannelBuffer,
   14893     PRPC_MESSAGE pRpcMessage,
   14894     DWORD* pdwStubPhase);
   14895 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetLastModifiedBy_Proxy(
   14896     IXpsOMCoreProperties* This,
   14897     LPCWSTR lastModifiedBy);
   14898 void __RPC_STUB IXpsOMCoreProperties_SetLastModifiedBy_Stub(
   14899     IRpcStubBuffer* This,
   14900     IRpcChannelBuffer* pRpcChannelBuffer,
   14901     PRPC_MESSAGE pRpcMessage,
   14902     DWORD* pdwStubPhase);
   14903 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetLastPrinted_Proxy(
   14904     IXpsOMCoreProperties* This,
   14905     SYSTEMTIME *lastPrinted);
   14906 void __RPC_STUB IXpsOMCoreProperties_GetLastPrinted_Stub(
   14907     IRpcStubBuffer* This,
   14908     IRpcChannelBuffer* pRpcChannelBuffer,
   14909     PRPC_MESSAGE pRpcMessage,
   14910     DWORD* pdwStubPhase);
   14911 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetLastPrinted_Proxy(
   14912     IXpsOMCoreProperties* This,
   14913     const SYSTEMTIME *lastPrinted);
   14914 void __RPC_STUB IXpsOMCoreProperties_SetLastPrinted_Stub(
   14915     IRpcStubBuffer* This,
   14916     IRpcChannelBuffer* pRpcChannelBuffer,
   14917     PRPC_MESSAGE pRpcMessage,
   14918     DWORD* pdwStubPhase);
   14919 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetModified_Proxy(
   14920     IXpsOMCoreProperties* This,
   14921     SYSTEMTIME *modified);
   14922 void __RPC_STUB IXpsOMCoreProperties_GetModified_Stub(
   14923     IRpcStubBuffer* This,
   14924     IRpcChannelBuffer* pRpcChannelBuffer,
   14925     PRPC_MESSAGE pRpcMessage,
   14926     DWORD* pdwStubPhase);
   14927 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetModified_Proxy(
   14928     IXpsOMCoreProperties* This,
   14929     const SYSTEMTIME *modified);
   14930 void __RPC_STUB IXpsOMCoreProperties_SetModified_Stub(
   14931     IRpcStubBuffer* This,
   14932     IRpcChannelBuffer* pRpcChannelBuffer,
   14933     PRPC_MESSAGE pRpcMessage,
   14934     DWORD* pdwStubPhase);
   14935 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetRevision_Proxy(
   14936     IXpsOMCoreProperties* This,
   14937     LPWSTR *revision);
   14938 void __RPC_STUB IXpsOMCoreProperties_GetRevision_Stub(
   14939     IRpcStubBuffer* This,
   14940     IRpcChannelBuffer* pRpcChannelBuffer,
   14941     PRPC_MESSAGE pRpcMessage,
   14942     DWORD* pdwStubPhase);
   14943 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetRevision_Proxy(
   14944     IXpsOMCoreProperties* This,
   14945     LPCWSTR revision);
   14946 void __RPC_STUB IXpsOMCoreProperties_SetRevision_Stub(
   14947     IRpcStubBuffer* This,
   14948     IRpcChannelBuffer* pRpcChannelBuffer,
   14949     PRPC_MESSAGE pRpcMessage,
   14950     DWORD* pdwStubPhase);
   14951 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetSubject_Proxy(
   14952     IXpsOMCoreProperties* This,
   14953     LPWSTR *subject);
   14954 void __RPC_STUB IXpsOMCoreProperties_GetSubject_Stub(
   14955     IRpcStubBuffer* This,
   14956     IRpcChannelBuffer* pRpcChannelBuffer,
   14957     PRPC_MESSAGE pRpcMessage,
   14958     DWORD* pdwStubPhase);
   14959 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetSubject_Proxy(
   14960     IXpsOMCoreProperties* This,
   14961     LPCWSTR subject);
   14962 void __RPC_STUB IXpsOMCoreProperties_SetSubject_Stub(
   14963     IRpcStubBuffer* This,
   14964     IRpcChannelBuffer* pRpcChannelBuffer,
   14965     PRPC_MESSAGE pRpcMessage,
   14966     DWORD* pdwStubPhase);
   14967 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetTitle_Proxy(
   14968     IXpsOMCoreProperties* This,
   14969     LPWSTR *title);
   14970 void __RPC_STUB IXpsOMCoreProperties_GetTitle_Stub(
   14971     IRpcStubBuffer* This,
   14972     IRpcChannelBuffer* pRpcChannelBuffer,
   14973     PRPC_MESSAGE pRpcMessage,
   14974     DWORD* pdwStubPhase);
   14975 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetTitle_Proxy(
   14976     IXpsOMCoreProperties* This,
   14977     LPCWSTR title);
   14978 void __RPC_STUB IXpsOMCoreProperties_SetTitle_Stub(
   14979     IRpcStubBuffer* This,
   14980     IRpcChannelBuffer* pRpcChannelBuffer,
   14981     PRPC_MESSAGE pRpcMessage,
   14982     DWORD* pdwStubPhase);
   14983 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_GetVersion_Proxy(
   14984     IXpsOMCoreProperties* This,
   14985     LPWSTR *version);
   14986 void __RPC_STUB IXpsOMCoreProperties_GetVersion_Stub(
   14987     IRpcStubBuffer* This,
   14988     IRpcChannelBuffer* pRpcChannelBuffer,
   14989     PRPC_MESSAGE pRpcMessage,
   14990     DWORD* pdwStubPhase);
   14991 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_SetVersion_Proxy(
   14992     IXpsOMCoreProperties* This,
   14993     LPCWSTR version);
   14994 void __RPC_STUB IXpsOMCoreProperties_SetVersion_Stub(
   14995     IRpcStubBuffer* This,
   14996     IRpcChannelBuffer* pRpcChannelBuffer,
   14997     PRPC_MESSAGE pRpcMessage,
   14998     DWORD* pdwStubPhase);
   14999 HRESULT STDMETHODCALLTYPE IXpsOMCoreProperties_Clone_Proxy(
   15000     IXpsOMCoreProperties* This,
   15001     IXpsOMCoreProperties **coreProperties);
   15002 void __RPC_STUB IXpsOMCoreProperties_Clone_Stub(
   15003     IRpcStubBuffer* This,
   15004     IRpcChannelBuffer* pRpcChannelBuffer,
   15005     PRPC_MESSAGE pRpcMessage,
   15006     DWORD* pdwStubPhase);
   15007 
   15008 #endif  /* __IXpsOMCoreProperties_INTERFACE_DEFINED__ */
   15009 
   15010 #endif
   15011 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
   15012 /*****************************************************************************
   15013  * IXpsOMThumbnailGenerator interface
   15014  */
   15015 #ifndef __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
   15016 #define __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
   15017 
   15018 DEFINE_GUID(IID_IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7);
   15019 #if defined(__cplusplus) && !defined(CINTERFACE)
   15020 MIDL_INTERFACE("15b873d5-1971-41e8-83a3-6578403064c7")
   15021 IXpsOMThumbnailGenerator : public IUnknown
   15022 {
   15023     virtual HRESULT STDMETHODCALLTYPE GenerateThumbnail(
   15024         IXpsOMPage *page,
   15025         XPS_IMAGE_TYPE thumbnailType,
   15026         XPS_THUMBNAIL_SIZE thumbnailSize,
   15027         IOpcPartUri *imageResourcePartName,
   15028         IXpsOMImageResource **imageResource) = 0;
   15029 
   15030 };
   15031 #ifdef __CRT_UUID_DECL
   15032 __CRT_UUID_DECL(IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7)
   15033 #endif
   15034 #else
   15035 typedef struct IXpsOMThumbnailGeneratorVtbl {
   15036     BEGIN_INTERFACE
   15037 
   15038     /*** IUnknown methods ***/
   15039     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   15040         IXpsOMThumbnailGenerator* This,
   15041         REFIID riid,
   15042         void **ppvObject);
   15043 
   15044     ULONG (STDMETHODCALLTYPE *AddRef)(
   15045         IXpsOMThumbnailGenerator* This);
   15046 
   15047     ULONG (STDMETHODCALLTYPE *Release)(
   15048         IXpsOMThumbnailGenerator* This);
   15049 
   15050     /*** IXpsOMThumbnailGenerator methods ***/
   15051     HRESULT (STDMETHODCALLTYPE *GenerateThumbnail)(
   15052         IXpsOMThumbnailGenerator* This,
   15053         IXpsOMPage *page,
   15054         XPS_IMAGE_TYPE thumbnailType,
   15055         XPS_THUMBNAIL_SIZE thumbnailSize,
   15056         IOpcPartUri *imageResourcePartName,
   15057         IXpsOMImageResource **imageResource);
   15058 
   15059     END_INTERFACE
   15060 } IXpsOMThumbnailGeneratorVtbl;
   15061 interface IXpsOMThumbnailGenerator {
   15062     CONST_VTBL IXpsOMThumbnailGeneratorVtbl* lpVtbl;
   15063 };
   15064 
   15065 #ifdef COBJMACROS
   15066 #ifndef WIDL_C_INLINE_WRAPPERS
   15067 /*** IUnknown methods ***/
   15068 #define IXpsOMThumbnailGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   15069 #define IXpsOMThumbnailGenerator_AddRef(This) (This)->lpVtbl->AddRef(This)
   15070 #define IXpsOMThumbnailGenerator_Release(This) (This)->lpVtbl->Release(This)
   15071 /*** IXpsOMThumbnailGenerator methods ***/
   15072 #define IXpsOMThumbnailGenerator_GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource) (This)->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource)
   15073 #else
   15074 /*** IUnknown methods ***/
   15075 static FORCEINLINE HRESULT IXpsOMThumbnailGenerator_QueryInterface(IXpsOMThumbnailGenerator* This,REFIID riid,void **ppvObject) {
   15076     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   15077 }
   15078 static FORCEINLINE ULONG IXpsOMThumbnailGenerator_AddRef(IXpsOMThumbnailGenerator* This) {
   15079     return This->lpVtbl->AddRef(This);
   15080 }
   15081 static FORCEINLINE ULONG IXpsOMThumbnailGenerator_Release(IXpsOMThumbnailGenerator* This) {
   15082     return This->lpVtbl->Release(This);
   15083 }
   15084 /*** IXpsOMThumbnailGenerator methods ***/
   15085 static FORCEINLINE HRESULT IXpsOMThumbnailGenerator_GenerateThumbnail(IXpsOMThumbnailGenerator* This,IXpsOMPage *page,XPS_IMAGE_TYPE thumbnailType,XPS_THUMBNAIL_SIZE thumbnailSize,IOpcPartUri *imageResourcePartName,IXpsOMImageResource **imageResource) {
   15086     return This->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource);
   15087 }
   15088 #endif
   15089 #endif
   15090 
   15091 #endif
   15092 
   15093 HRESULT STDMETHODCALLTYPE IXpsOMThumbnailGenerator_GenerateThumbnail_Proxy(
   15094     IXpsOMThumbnailGenerator* This,
   15095     IXpsOMPage *page,
   15096     XPS_IMAGE_TYPE thumbnailType,
   15097     XPS_THUMBNAIL_SIZE thumbnailSize,
   15098     IOpcPartUri *imageResourcePartName,
   15099     IXpsOMImageResource **imageResource);
   15100 void __RPC_STUB IXpsOMThumbnailGenerator_GenerateThumbnail_Stub(
   15101     IRpcStubBuffer* This,
   15102     IRpcChannelBuffer* pRpcChannelBuffer,
   15103     PRPC_MESSAGE pRpcMessage,
   15104     DWORD* pdwStubPhase);
   15105 
   15106 #endif  /* __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__ */
   15107 
   15108 #endif
   15109 
   15110 DEFINE_GUID(LIBID_MSXPS, 0xb47491a0, 0xcf33, 0x4fe4, 0x9a,0x48, 0xb0,0xac,0xda,0xe2,0x07,0xe8);
   15111 
   15112 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
   15113 /*****************************************************************************
   15114  * XpsOMObjectFactory coclass
   15115  */
   15116 
   15117 DEFINE_GUID(CLSID_XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85);
   15118 
   15119 #ifdef __cplusplus
   15120 class DECLSPEC_UUID("e974d26d-3d9b-4d47-88cc-3872f2dc3585") XpsOMObjectFactory;
   15121 #ifdef __CRT_UUID_DECL
   15122 __CRT_UUID_DECL(XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85)
   15123 #endif
   15124 #endif
   15125 
   15126 #endif
   15127 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
   15128 /*****************************************************************************
   15129  * XpsOMThumbnailGenerator coclass
   15130  */
   15131 
   15132 DEFINE_GUID(CLSID_XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23);
   15133 
   15134 #ifdef __cplusplus
   15135 class DECLSPEC_UUID("7e4a23e2-b969-4761-be35-1a8ced58e323") XpsOMThumbnailGenerator;
   15136 #ifdef __CRT_UUID_DECL
   15137 __CRT_UUID_DECL(XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23)
   15138 #endif
   15139 #endif
   15140 
   15141 #endif
   15142 #endif
   15143 /* Begin additional prototypes for all interfaces */
   15144 
   15145 
   15146 /* End additional prototypes */
   15147 
   15148 #ifdef __cplusplus
   15149 }
   15150 #endif
   15151 
   15152 #endif /* __xpsobjectmodel_h__ */
   15153