#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 __windows2Efoundation2Enumerics_h__ #define __windows2Efoundation2Enumerics_h__ #ifndef __windows2Efoundation2Enumerics_p_h__ #define __windows2Efoundation2Enumerics_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 */ // Parameterized interface forward declarations (C++) // Collection interface definitions namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { typedef struct Vector3 Vector3; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ /* * * Struct Windows.Foundation.Numerics.Matrix3x2 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Matrix3x2 { FLOAT M11; FLOAT M12; FLOAT M21; FLOAT M22; FLOAT M31; FLOAT M32; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Matrix4x4 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Matrix4x4 { FLOAT M11; FLOAT M12; FLOAT M13; FLOAT M14; FLOAT M21; FLOAT M22; FLOAT M23; FLOAT M24; FLOAT M31; FLOAT M32; FLOAT M33; FLOAT M34; FLOAT M41; FLOAT M42; FLOAT M43; FLOAT M44; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Vector3 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Vector3 { FLOAT X; FLOAT Y; FLOAT Z; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Plane * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Plane { ABI::Windows::Foundation::Numerics::Vector3 Normal; FLOAT D; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Quaternion * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Quaternion { FLOAT X; FLOAT Y; FLOAT Z; FLOAT W; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Rational * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Rational { UINT32 Numerator; UINT32 Denominator; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Struct Windows.Foundation.Numerics.Vector2 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Vector2 { FLOAT X; FLOAT Y; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Vector4 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 namespace ABI { namespace Windows { namespace Foundation { namespace Numerics { struct Vector4 { FLOAT X; FLOAT Y; FLOAT Z; FLOAT W; }; } /* Numerics */ } /* Foundation */ } /* Windows */ } /* ABI */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 #else // !defined(__cplusplus) /* Forward Declarations */ // Parameterized interface forward declarations (C) // Collection interface definitions typedef struct __x_ABI_CWindows_CFoundation_CNumerics_CVector3 __x_ABI_CWindows_CFoundation_CNumerics_CVector3; /* * * Struct Windows.Foundation.Numerics.Matrix3x2 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 { FLOAT M11; FLOAT M12; FLOAT M21; FLOAT M22; FLOAT M31; FLOAT M32; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Matrix4x4 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 { FLOAT M11; FLOAT M12; FLOAT M13; FLOAT M14; FLOAT M21; FLOAT M22; FLOAT M23; FLOAT M24; FLOAT M31; FLOAT M32; FLOAT M33; FLOAT M34; FLOAT M41; FLOAT M42; FLOAT M43; FLOAT M44; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Vector3 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CVector3 { FLOAT X; FLOAT Y; FLOAT Z; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Plane * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CPlane { struct __x_ABI_CWindows_CFoundation_CNumerics_CVector3 Normal; FLOAT D; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Quaternion * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion { FLOAT X; FLOAT Y; FLOAT Z; FLOAT W; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Rational * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 struct __x_ABI_CWindows_CFoundation_CNumerics_CRational { UINT32 Numerator; UINT32 Denominator; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Struct Windows.Foundation.Numerics.Vector2 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CVector2 { FLOAT X; FLOAT Y; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Struct Windows.Foundation.Numerics.Vector4 * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 struct __x_ABI_CWindows_CFoundation_CNumerics_CVector4 { FLOAT X; FLOAT Y; FLOAT Z; FLOAT W; }; #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 #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 // __windows2Efoundation2Enumerics_p_h__ #endif // __windows2Efoundation2Enumerics_h__