// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1

#pragma once
// Header files for imported files
#include <inspectable.h>
#include <EventToken.h>
#include <windowscontracts.h>
#include "Windows.Foundation.h"
#include "Microsoft.Graphics.Canvas.h"
#include "Windows.Graphics.Printing.h"

/* Forward Declarations */
#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_FWD_DEFINED__

// Parameterized interface forward declarations (C)

// Collection interface definitions

#if !defined(____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs_INTERFACE_DEFINED__

    typedef interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs;

    //  Declare the parameterized interface IID.
    EXTERN_C const IID IID___x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs;

    typedef struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* sender,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* args);

        END_INTERFACE
    } __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgsVtbl;

    interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs
    {
        CONST_VTBL struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgsVtbl* lpVtbl;
    };

    
    #endif // ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs_INTERFACE_DEFINED__
    
#if !defined(____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs_INTERFACE_DEFINED__

    typedef interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs;

    //  Declare the parameterized interface IID.
    EXTERN_C const IID IID___x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs;

    typedef struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* sender,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* args);

        END_INTERFACE
    } __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgsVtbl;

    interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs
    {
        CONST_VTBL struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgsVtbl* lpVtbl;
    };

    
    #endif // ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs_INTERFACE_DEFINED__
    
#if !defined(____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__

    typedef interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs;

    //  Declare the parameterized interface IID.
    EXTERN_C const IID IID___x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs;

    typedef struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* sender,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* args);

        END_INTERFACE
    } __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgsVtbl;

    interface __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs
    {
        CONST_VTBL struct __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgsVtbl* lpVtbl;
    };

    
    #endif // ____x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__
    
#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession_FWD_DEFINED__

#ifndef ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasResourceCreator_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasResourceCreator_FWD_DEFINED__
    typedef interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasResourceCreator __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasResourceCreator;

#endif // ____x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasResourceCreator_FWD_DEFINED__

#ifndef ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__
#define ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__
    typedef interface __x_ABI_CWindows_CFoundation_CIClosable __x_ABI_CWindows_CFoundation_CIClosable;

#endif // ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__

#ifndef ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintDocumentSource_FWD_DEFINED__
#define ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintDocumentSource_FWD_DEFINED__
    typedef interface __x_ABI_CWindows_CGraphics_CPrinting_CIPrintDocumentSource __x_ABI_CWindows_CGraphics_CPrinting_CIPrintDocumentSource;

#endif // ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintDocumentSource_FWD_DEFINED__

#ifndef ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore_FWD_DEFINED__
#define ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore_FWD_DEFINED__
    typedef interface __x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore __x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore;

#endif // ____x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore_FWD_DEFINED__

#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* get_PageNumber)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
        UINT32* value);
    HRESULT (STDMETHODCALLTYPE* get_PrintTaskOptions)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
        __x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore** value);
    HRESULT (STDMETHODCALLTYPE* GetDeferral)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral** value);
    HRESULT (STDMETHODCALLTYPE* get_DrawingSession)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession** value);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgsVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgsVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPreviewEventArgs_INTERFACE_DEFINED__) */
    
#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferralVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* Complete)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral* This);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferralVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferralVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral_INTERFACE_DEFINED__) */
    
#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* add_PrintTaskOptionsChanged)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintTaskOptionsChangedEventArgs* value,
        EventRegistrationToken* token);
    HRESULT (STDMETHODCALLTYPE* remove_PrintTaskOptionsChanged)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        EventRegistrationToken token);
    HRESULT (STDMETHODCALLTYPE* add_Preview)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPreviewEventArgs* value,
        EventRegistrationToken* token);
    HRESULT (STDMETHODCALLTYPE* remove_Preview)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        EventRegistrationToken token);
    HRESULT (STDMETHODCALLTYPE* add_Print)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        __x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintDocument___x_ABI_CMicrosoft__CGraphics__CCanvas__CPrinting__CCanvasPrintEventArgs* value,
        EventRegistrationToken* token);
    HRESULT (STDMETHODCALLTYPE* remove_Print)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        EventRegistrationToken token);
    HRESULT (STDMETHODCALLTYPE* InvalidatePreview)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This);
    HRESULT (STDMETHODCALLTYPE* SetPageCount)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        UINT32 count);
    HRESULT (STDMETHODCALLTYPE* SetIntermediatePageCount)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument* This,
        UINT32 count);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument_INTERFACE_DEFINED__) */
    
#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactoryVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* CreateWithDevice)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDevice* device,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocument** value);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactoryVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactoryVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDocumentFactory_INTERFACE_DEFINED__) */
    
#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* get_PrintTaskOptions)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
        __x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore** value);
    HRESULT (STDMETHODCALLTYPE* get_Dpi)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
        FLOAT* value);
    HRESULT (STDMETHODCALLTYPE* put_Dpi)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
        FLOAT value);
    HRESULT (STDMETHODCALLTYPE* GetDeferral)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral** value);
    HRESULT (STDMETHODCALLTYPE* CreateDrawingSession)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CICanvasDrawingSession** value);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgsVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgsVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintEventArgs_INTERFACE_DEFINED__) */
    
#if !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__)
    #define ____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__
    typedef struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgsVtbl
    {
        BEGIN_INTERFACE

        HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
            REFIID riid,
            void** ppvObject);
        ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This);
        ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This);
        HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
            ULONG* iidCount,
            IID** iids);
        HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
            HSTRING* className);
        HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
            TrustLevel* trustLevel);
        HRESULT (STDMETHODCALLTYPE* get_CurrentPreviewPageNumber)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
        UINT32* value);
    HRESULT (STDMETHODCALLTYPE* put_NewPreviewPageNumber)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
        UINT32 value);
    HRESULT (STDMETHODCALLTYPE* get_NewPreviewPageNumber)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
        UINT32* value);
    HRESULT (STDMETHODCALLTYPE* GetDeferral)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
        __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintDeferral** value);
    HRESULT (STDMETHODCALLTYPE* get_PrintTaskOptions)(__x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs* This,
        __x_ABI_CWindows_CGraphics_CPrinting_CIPrintTaskOptionsCore** value);

        END_INTERFACE
    } __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgsVtbl;

    interface __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs
    {
        CONST_VTBL struct __x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgsVtbl* lpVtbl;
    };

    
    EXTERN_C const IID IID___x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs;
#endif /* !defined(____x_ABI_CMicrosoft_CGraphics_CCanvas_CPrinting_CICanvasPrintTaskOptionsChangedEventArgs_INTERFACE_DEFINED__) */
    
