#pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 500 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include #include #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif /* __RPCNDR_H_VERSION__ */ #ifndef COM_NO_WINDOWS_H #include #include #endif /*COM_NO_WINDOWS_H*/ #ifndef __windows2Egraphics_h__ #define __windows2Egraphics_h__ #ifndef __windows2Egraphics_p_h__ #define __windows2Egraphics_p_h__ #pragma once // // Deprecated attribute support // #pragma push_macro("DEPRECATED") #undef DEPRECATED #if !defined(DISABLE_WINRT_DEPRECATION) #if defined(__cplusplus) #if __cplusplus >= 201402 #define DEPRECATED(x) [[deprecated(x)]] #define DEPRECATEDENUMERATOR(x) [[deprecated(x)]] #elif defined(_MSC_VER) #if _MSC_VER >= 1900 #define DEPRECATED(x) [[deprecated(x)]] #define DEPRECATEDENUMERATOR(x) [[deprecated(x)]] #else #define DEPRECATED(x) __declspec(deprecated(x)) #define DEPRECATEDENUMERATOR(x) #endif // _MSC_VER >= 1900 #else // Not Standard C++ or MSVC, ignore the construct. #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif // C++ deprecation #else // C - disable deprecation #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif #else // Deprecation is disabled #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif /* DEPRECATED */ // Disable Deprecation for this header, MIDL verifies that cross-type access is acceptable #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #else #pragma warning(push) #pragma warning(disable: 4996) #endif // Ensure that the setting of the /ns_prefix command line switch is consistent for all headers. // If you get an error from the compiler indicating "warning C4005: 'CHECK_NS_PREFIX_STATE': macro redefinition", this // indicates that you have included two different headers with different settings for the /ns_prefix MIDL command line switch #if !defined(DISABLE_NS_PREFIX_CHECKS) #define CHECK_NS_PREFIX_STATE "always" #endif // !defined(DISABLE_NS_PREFIX_CHECKS) #pragma push_macro("MIDL_CONST_ID") #undef MIDL_CONST_ID #define MIDL_CONST_ID const __declspec(selectany) // API Contract Inclusion Definitions #if !defined(SPECIFIC_API_CONTRACT_DEFINITIONS) #if !defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION) #define WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION 0x40000 #endif // defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION) #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0x130000 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) #endif // defined(SPECIFIC_API_CONTRACT_DEFINITIONS) // Header files for imported files #include "inspectable.h" #include "AsyncInfo.h" #include "EventToken.h" #include "windowscontracts.h" #include "Windows.Foundation.h" #if defined(__cplusplus) && !defined(CINTERFACE) /* Forward Declarations */ #ifndef ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ #define ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ namespace ABI { namespace Windows { namespace Graphics { interface IGeometrySource2D; } /* Graphics */ } /* Windows */ } /* ABI */ #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D ABI::Windows::Graphics::IGeometrySource2D #endif // ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ // Parameterized interface forward declarations (C++) // Collection interface definitions /* * * Struct Windows.Graphics.DisplayAdapterId * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 namespace ABI { namespace Windows { namespace Graphics { struct DisplayAdapterId { UINT32 LowPart; INT32 HighPart; }; } /* Graphics */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Struct Windows.Graphics.DisplayId * * Introduced to Windows.Foundation.UniversalApiContract in version 12.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0xc0000 namespace ABI { namespace Windows { namespace Graphics { struct DisplayId { UINT64 Value; }; } /* Graphics */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0xc0000 /* * * Struct Windows.Graphics.PointInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 namespace ABI { namespace Windows { namespace Graphics { struct PointInt32 { INT32 X; INT32 Y; }; } /* Graphics */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Struct Windows.Graphics.RectInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 namespace ABI { namespace Windows { namespace Graphics { struct RectInt32 { INT32 X; INT32 Y; INT32 Width; INT32 Height; }; } /* Graphics */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Struct Windows.Graphics.SizeInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 namespace ABI { namespace Windows { namespace Graphics { struct SizeInt32 { INT32 Width; INT32 Height; }; } /* Graphics */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Interface Windows.Graphics.IGeometrySource2D * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #if !defined(____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__) #define ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__ extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_Graphics_IGeometrySource2D[] = L"Windows.Graphics.IGeometrySource2D"; namespace ABI { namespace Windows { namespace Graphics { MIDL_INTERFACE("caff7902-670c-4181-a624-da977203b845") IGeometrySource2D : public IInspectable { public: }; MIDL_CONST_ID IID& IID_IGeometrySource2D = __uuidof(IGeometrySource2D); } /* Graphics */ } /* Windows */ } /* ABI */ EXTERN_C const IID IID___x_ABI_CWindows_CGraphics_CIGeometrySource2D; #endif /* !defined(____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__) */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #else // !defined(__cplusplus) /* Forward Declarations */ #ifndef ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ #define ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ typedef interface __x_ABI_CWindows_CGraphics_CIGeometrySource2D __x_ABI_CWindows_CGraphics_CIGeometrySource2D; #endif // ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_FWD_DEFINED__ // Parameterized interface forward declarations (C) // Collection interface definitions /* * * Struct Windows.Graphics.DisplayAdapterId * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 struct __x_ABI_CWindows_CGraphics_CDisplayAdapterId { UINT32 LowPart; INT32 HighPart; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Struct Windows.Graphics.DisplayId * * Introduced to Windows.Foundation.UniversalApiContract in version 12.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0xc0000 struct __x_ABI_CWindows_CGraphics_CDisplayId { UINT64 Value; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0xc0000 /* * * Struct Windows.Graphics.PointInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 struct __x_ABI_CWindows_CGraphics_CPointInt32 { INT32 X; INT32 Y; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Struct Windows.Graphics.RectInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 struct __x_ABI_CWindows_CGraphics_CRectInt32 { INT32 X; INT32 Y; INT32 Width; INT32 Height; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Struct Windows.Graphics.SizeInt32 * * Introduced to Windows.Foundation.UniversalApiContract in version 4.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 struct __x_ABI_CWindows_CGraphics_CSizeInt32 { INT32 Width; INT32 Height; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 /* * * Interface Windows.Graphics.IGeometrySource2D * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #if !defined(____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__) #define ____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__ extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_Graphics_IGeometrySource2D[] = L"Windows.Graphics.IGeometrySource2D"; typedef struct __x_ABI_CWindows_CGraphics_CIGeometrySource2DVtbl { BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This, REFIID riid, void** ppvObject); ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This); ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This); HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This, ULONG* iidCount, IID** iids); HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This, HSTRING* className); HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CGraphics_CIGeometrySource2D* This, TrustLevel* trustLevel); END_INTERFACE } __x_ABI_CWindows_CGraphics_CIGeometrySource2DVtbl; interface __x_ABI_CWindows_CGraphics_CIGeometrySource2D { CONST_VTBL struct __x_ABI_CWindows_CGraphics_CIGeometrySource2DVtbl* lpVtbl; }; #ifdef COBJMACROS #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_QueryInterface(This, riid, ppvObject) \ ((This)->lpVtbl->QueryInterface(This, riid, ppvObject)) #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_AddRef(This) \ ((This)->lpVtbl->AddRef(This)) #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_Release(This) \ ((This)->lpVtbl->Release(This)) #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_GetIids(This, iidCount, iids) \ ((This)->lpVtbl->GetIids(This, iidCount, iids)) #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_GetRuntimeClassName(This, className) \ ((This)->lpVtbl->GetRuntimeClassName(This, className)) #define __x_ABI_CWindows_CGraphics_CIGeometrySource2D_GetTrustLevel(This, trustLevel) \ ((This)->lpVtbl->GetTrustLevel(This, trustLevel)) #endif /* COBJMACROS */ EXTERN_C const IID IID___x_ABI_CWindows_CGraphics_CIGeometrySource2D; #endif /* !defined(____x_ABI_CWindows_CGraphics_CIGeometrySource2D_INTERFACE_DEFINED__) */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #endif // defined(__cplusplus) #pragma pop_macro("MIDL_CONST_ID") // Restore the original value of the 'DEPRECATED' macro #pragma pop_macro("DEPRECATED") #ifdef __clang__ #pragma clang diagnostic pop // deprecated-declarations #else #pragma warning(pop) #endif #endif // __windows2Egraphics_p_h__ #endif // __windows2Egraphics_h__