// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1 // swiftlint:disable all import Foundation @_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation import CWinRT private var IID___x_ABI_CWindows_CUI_CComposition_CIAmbientLight: WindowsFoundation.IID { .init(Data1: 0xA48130A1, Data2: 0xB7C4, Data3: 0x46F7, Data4: ( 0xB9,0xBF,0xDA,0xF4,0x3A,0x44,0xE6,0xEE ))// A48130A1-B7C4-46F7-B9BF-DAF43A44E6EE } private var IID___x_ABI_CWindows_CUI_CComposition_CIAmbientLight2: WindowsFoundation.IID { .init(Data1: 0x3B64A6BF, Data2: 0x5F97, Data3: 0x4C94, Data4: ( 0x86,0xE5,0x04,0x2D,0xD3,0x86,0xB2,0x7D ))// 3B64A6BF-5F97-4C94-86E5-042DD386B27D } private var IID___x_ABI_CWindows_CUI_CComposition_CIAnimationController: WindowsFoundation.IID { .init(Data1: 0xC934EFD2, Data2: 0x0722, Data3: 0x4F5F, Data4: ( 0xA4,0xE2,0x95,0x10,0xF3,0xD4,0x3B,0xF7 ))// C934EFD2-0722-4F5F-A4E2-9510F3D43BF7 } private var IID___x_ABI_CWindows_CUI_CComposition_CIAnimationControllerStatics: WindowsFoundation.IID { .init(Data1: 0xE71164DF, Data2: 0x651B, Data3: 0x4800, Data4: ( 0xB9,0xE5,0x6A,0x3B,0xCF,0xED,0x33,0x65 ))// E71164DF-651B-4800-B9E5-6A3BCFED3365 } private var IID___x_ABI_CWindows_CUI_CComposition_CIAnimationObject: WindowsFoundation.IID { .init(Data1: 0xE7141E0A, Data2: 0x04B8, Data3: 0x4FC5, Data4: ( 0xA4,0xDC,0x19,0x53,0x92,0xE5,0x78,0x07 ))// E7141E0A-04B8-4FC5-A4DC-195392E57807 } private var IID___x_ABI_CWindows_CUI_CComposition_CIAnimationPropertyInfo: WindowsFoundation.IID { .init(Data1: 0xF4716F05, Data2: 0xED77, Data3: 0x4E3C, Data4: ( 0xB3,0x28,0x5C,0x39,0x85,0xB3,0x73,0x8F ))// F4716F05-ED77-4E3C-B328-5C3985B3738F } private var IID___x_ABI_CWindows_CUI_CComposition_CIBooleanKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x95E23A08, Data2: 0xD1F4, Data3: 0x4972, Data4: ( 0x97,0x70,0x3E,0xFE,0x68,0xD8,0x2E,0x14 ))// 95E23A08-D1F4-4972-9770-3EFE68D82E14 } private var IID___x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0xBAA30DCC, Data2: 0xA633, Data3: 0x4618, Data4: ( 0x9B,0x06,0x7F,0x7C,0x72,0xC8,0x7C,0xFF ))// BAA30DCC-A633-4618-9B06-7F7C72C87CFF } private var IID___x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0xDA344196, Data2: 0x2154, Data3: 0x4B3C, Data4: ( 0x88,0xAA,0x47,0x36,0x12,0x04,0xEC,0xCD ))// DA344196-2154-4B3C-88AA-47361204ECCD } private var IID___x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x47DABC31, Data2: 0x10D3, Data3: 0x4518, Data4: ( 0x86,0xF1,0x09,0xCA,0xF7,0x42,0xD1,0x13 ))// 47DABC31-10D3-4518-86F1-09CAF742D113 } private var IID___x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x93ADB5E9, Data2: 0x8E05, Data3: 0x4593, Data4: ( 0x84,0xA3,0xDC,0xA1,0x52,0x78,0x1E,0x56 ))// 93ADB5E9-8E05-4593-84A3-DCA152781E56 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation: WindowsFoundation.IID { .init(Data1: 0x464C4C2C, Data2: 0x1CAA, Data3: 0x4061, Data4: ( 0x9B,0x40,0xE1,0x3F,0xDE,0x15,0x03,0xCA ))// 464C4C2C-1CAA-4061-9B40-E13FDE1503CA } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation2: WindowsFoundation.IID { .init(Data1: 0x369B603E, Data2: 0xA80F, Data3: 0x4948, Data4: ( 0x93,0xE3,0xED,0x23,0xFB,0x38,0xC6,0xCB ))// 369B603E-A80F-4948-93E3-ED23FB38C6CB } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation3: WindowsFoundation.IID { .init(Data1: 0xD51E030D, Data2: 0x7DA4, Data3: 0x4BD7, Data4: ( 0xBC,0x2D,0xF4,0x51,0x75,0x29,0xF4,0x3A ))// D51E030D-7DA4-4BD7-BC2D-F4517529F43A } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation4: WindowsFoundation.IID { .init(Data1: 0x770137BE, Data2: 0x76BC, Data3: 0x4E23, Data4: ( 0xBF,0xED,0xFE,0x9C,0xC2,0x0F,0x6E,0xC9 ))// 770137BE-76BC-4E23-BFED-FE9CC20F6EC9 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationBase: WindowsFoundation.IID { .init(Data1: 0x1C2C2999, Data2: 0xE818, Data3: 0x48D3, Data4: ( 0xA6,0xDD,0xD7,0x8C,0x82,0xF8,0xAC,0xE9 ))// 1C2C2999-E818-48D3-A6DD-D78C82F8ACE9 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationFactory: WindowsFoundation.IID { .init(Data1: 0x10F6C4FB, Data2: 0x6E51, Data3: 0x4C25, Data4: ( 0xBB,0xD3,0x58,0x6A,0x9B,0xEC,0x3E,0xF4 ))// 10F6C4FB-6E51-4C25-BBD3-586A9BEC3EF4 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup: WindowsFoundation.IID { .init(Data1: 0x5E7CC90C, Data2: 0xCD14, Data3: 0x4E07, Data4: ( 0x8A,0x55,0xC7,0x25,0x27,0xAA,0xBD,0xAC ))// 5E7CC90C-CD14-4E07-8A55-C72527AABDAC } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionBackdropBrush: WindowsFoundation.IID { .init(Data1: 0xC5ACAE58, Data2: 0x3898, Data3: 0x499E, Data4: ( 0x8D,0x7F,0x22,0x4E,0x91,0x28,0x6A,0x5D ))// C5ACAE58-3898-499E-8D7F-224E91286A5D } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionBatchCompletedEventArgs: WindowsFoundation.IID { .init(Data1: 0x0D00DAD0, Data2: 0x9464, Data3: 0x450A, Data4: ( 0xA5,0x62,0x2E,0x26,0x98,0xB0,0xA8,0x12 ))// 0D00DAD0-9464-450A-A562-2E2698B0A812 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionBrush: WindowsFoundation.IID { .init(Data1: 0xAB0D7608, Data2: 0x30C0, Data3: 0x40E9, Data4: ( 0xB5,0x68,0xB6,0x0A,0x6B,0xD1,0xFB,0x46 ))// AB0D7608-30C0-40E9-B568-B60A6BD1FB46 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionBrushFactory: WindowsFoundation.IID { .init(Data1: 0xDA53FB4C, Data2: 0x4650, Data3: 0x47C4, Data4: ( 0xAD,0x76,0x76,0x53,0x79,0x60,0x7E,0xD6 ))// DA53FB4C-4650-47C4-AD76-765379607ED6 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities: WindowsFoundation.IID { .init(Data1: 0x8253353E, Data2: 0xB517, Data3: 0x48BC, Data4: ( 0xB1,0xE8,0x4B,0x35,0x61,0xA2,0xE1,0x81 ))// 8253353E-B517-48BC-B1E8-4B3561A2E181 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionCapabilitiesStatics: WindowsFoundation.IID { .init(Data1: 0xF7B7A86E, Data2: 0x6416, Data3: 0x49E5, Data4: ( 0x8D,0xDF,0xAF,0xE9,0x49,0xE2,0x05,0x62 ))// F7B7A86E-6416-49E5-8DDF-AFE949E20562 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionClip: WindowsFoundation.IID { .init(Data1: 0x1CCD2A52, Data2: 0xCFC7, Data3: 0x4ACE, Data4: ( 0x99,0x83,0x14,0x6B,0xB8,0xEB,0x6A,0x3C ))// 1CCD2A52-CFC7-4ACE-9983-146BB8EB6A3C } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionClip2: WindowsFoundation.IID { .init(Data1: 0x5893E069, Data2: 0x3516, Data3: 0x40E1, Data4: ( 0x89,0xE0,0x5B,0xA9,0x24,0x92,0x72,0x35 ))// 5893E069-3516-40E1-89E0-5BA924927235 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionClipFactory: WindowsFoundation.IID { .init(Data1: 0xB9484CAF, Data2: 0x20C7, Data3: 0x4AED, Data4: ( 0xAC,0x4A,0x9C,0x78,0xBA,0x13,0x02,0xCF ))// B9484CAF-20C7-4AED-AC4A-9C78BA1302CF } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorBrush: WindowsFoundation.IID { .init(Data1: 0x2B264C5E, Data2: 0xBF35, Data3: 0x4831, Data4: ( 0x86,0x42,0xCF,0x70,0xC2,0x0F,0xFF,0x2F ))// 2B264C5E-BF35-4831-8642-CF70C20FFF2F } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop: WindowsFoundation.IID { .init(Data1: 0x6F00CA92, Data2: 0xC801, Data3: 0x4E41, Data4: ( 0x9A,0x8F,0xA5,0x3E,0x20,0xF5,0x77,0x78 ))// 6F00CA92-C801-4E41-9A8F-A53E20F57778 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStopCollection: WindowsFoundation.IID { .init(Data1: 0x9F1D20EC, Data2: 0x7B04, Data3: 0x4B1D, Data4: ( 0x90,0xBC,0x9F,0xA3,0x2C,0x0C,0xFD,0x26 ))// 9F1D20EC-7B04-4B1D-90BC-9FA32C0CFD26 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch: WindowsFoundation.IID { .init(Data1: 0x0D00DAD0, Data2: 0xCA07, Data3: 0x4400, Data4: ( 0x8C,0x8E,0xCB,0x5D,0xB0,0x85,0x59,0xCC ))// 0D00DAD0-CA07-4400-8C8E-CB5DB08559CC } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionContainerShape: WindowsFoundation.IID { .init(Data1: 0x4F5E859B, Data2: 0x2E5B, Data3: 0x44A8, Data4: ( 0x98,0x2C,0xAA,0x0F,0x69,0xC1,0x60,0x59 ))// 4F5E859B-2E5B-44A8-982C-AA0F69C16059 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface: WindowsFoundation.IID { .init(Data1: 0xA166C300, Data2: 0xFAD0, Data3: 0x4D11, Data4: ( 0x9E,0x67,0xE4,0x33,0x16,0x2F,0xF4,0x9E ))// A166C300-FAD0-4D11-9E67-E433162FF49E } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2: WindowsFoundation.IID { .init(Data1: 0xFAD0E88B, Data2: 0xE354, Data3: 0x44E8, Data4: ( 0x8E,0x3D,0xC4,0x88,0x0D,0x5A,0x21,0x3F ))// FAD0E88B-E354-44E8-8E3D-C4880D5A213F } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurfaceFactory: WindowsFoundation.IID { .init(Data1: 0x9497B00A, Data2: 0x312D, Data3: 0x46B9, Data4: ( 0x9D,0xB3,0x41,0x2F,0xD7,0x94,0x64,0xC8 ))// 9497B00A-312D-46B9-9DB3-412FD79464C8 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEasingFunction: WindowsFoundation.IID { .init(Data1: 0x5145E356, Data2: 0xBF79, Data3: 0x4EA8, Data4: ( 0x8C,0xC2,0x6B,0x5B,0x47,0x2E,0x6C,0x9A ))// 5145E356-BF79-4EA8-8CC2-6B5B472E6C9A } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEasingFunctionFactory: WindowsFoundation.IID { .init(Data1: 0x60840774, Data2: 0x3DA0, Data3: 0x4949, Data4: ( 0x82,0x00,0x72,0x06,0xC0,0x01,0x90,0xA0 ))// 60840774-3DA0-4949-8200-7206C00190A0 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectBrush: WindowsFoundation.IID { .init(Data1: 0xBF7F795E, Data2: 0x83CC, Data3: 0x44BF, Data4: ( 0xA4,0x47,0x3E,0x3C,0x07,0x17,0x89,0xEC ))// BF7F795E-83CC-44BF-A447-3E3C071789EC } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectFactory: WindowsFoundation.IID { .init(Data1: 0xBE5624AF, Data2: 0xBA7E, Data3: 0x4510, Data4: ( 0x98,0x50,0x41,0xC0,0xB4,0xFF,0x74,0xDF ))// BE5624AF-BA7E-4510-9850-41C0B4FF74DF } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameter: WindowsFoundation.IID { .init(Data1: 0x858AB13A, Data2: 0x3292, Data3: 0x4E4E, Data4: ( 0xB3,0xBB,0x2B,0x6C,0x65,0x44,0xA6,0xEE ))// 858AB13A-3292-4E4E-B3BB-2B6C6544A6EE } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameterFactory: WindowsFoundation.IID { .init(Data1: 0xB3D9F276, Data2: 0xABA3, Data3: 0x4724, Data4: ( 0xAC,0xF3,0xD0,0x39,0x74,0x64,0xDB,0x1C ))// B3D9F276-ABA3-4724-ACF3-D0397464DB1C } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry: WindowsFoundation.IID { .init(Data1: 0x4801F884, Data2: 0xF6AD, Data3: 0x4B93, Data4: ( 0xAF,0xA9,0x89,0x7B,0x64,0xE5,0x7B,0x1F ))// 4801F884-F6AD-4B93-AFA9-897B64E57B1F } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip: WindowsFoundation.IID { .init(Data1: 0xC840B581, Data2: 0x81C9, Data3: 0x4444, Data4: ( 0xA2,0xC1,0xCC,0xAE,0xCE,0x3A,0x50,0xE5 ))// C840B581-81C9-4444-A2C1-CCAECE3A50E5 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometry: WindowsFoundation.IID { .init(Data1: 0xE985217C, Data2: 0x6A17, Data3: 0x4207, Data4: ( 0xAB,0xD8,0x5F,0xD3,0xDD,0x61,0x2A,0x9D ))// E985217C-6A17-4207-ABD8-5FD3DD612A9D } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometryFactory: WindowsFoundation.IID { .init(Data1: 0xBFFEBFE1, Data2: 0x8C25, Data3: 0x480B, Data4: ( 0x9F,0x56,0xFE,0xD6,0xB2,0x88,0x05,0x5D ))// BFFEBFE1-8C25-480B-9F56-FED6B288055D } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush: WindowsFoundation.IID { .init(Data1: 0x1D9709E0, Data2: 0xFFC6, Data3: 0x4C0E, Data4: ( 0xA9,0xAB,0x34,0x14,0x4D,0x4C,0x90,0x98 ))// 1D9709E0-FFC6-4C0E-A9AB-34144D4C9098 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush2: WindowsFoundation.IID { .init(Data1: 0x899DD5A1, Data2: 0xB4C7, Data3: 0x4B33, Data4: ( 0xA1,0xB6,0x26,0x4A,0xDD,0xC2,0x6D,0x10 ))// 899DD5A1-B4C7-4B33-A1B6-264ADDC26D10 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrushFactory: WindowsFoundation.IID { .init(Data1: 0x56D765D7, Data2: 0xF189, Data3: 0x48C9, Data4: ( 0x9C,0x8D,0x94,0xDA,0xF1,0xBE,0xC0,0x10 ))// 56D765D7-F189-48C9-9C8D-94DAF1BEC010 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice: WindowsFoundation.IID { .init(Data1: 0xFB22C6E1, Data2: 0x80A2, Data3: 0x4667, Data4: ( 0x99,0x36,0xDB,0xEA,0xF6,0xEE,0xFE,0x95 ))// FB22C6E1-80A2-4667-9936-DBEAF6EEFE95 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice2: WindowsFoundation.IID { .init(Data1: 0x0FB8BDF6, Data2: 0xC0F0, Data3: 0x4BCC, Data4: ( 0x9F,0xB8,0x08,0x49,0x82,0x49,0x0D,0x7D ))// 0FB8BDF6-C0F0-4BCC-9FB8-084982490D7D } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice3: WindowsFoundation.IID { .init(Data1: 0x37F67514, Data2: 0xD3EF, Data3: 0x49D1, Data4: ( 0xB6,0x9D,0x0D,0x8E,0xAB,0xEB,0x36,0x26 ))// 37F67514-D3EF-49D1-B69D-0D8EABEB3626 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight: WindowsFoundation.IID { .init(Data1: 0x41A6D7C2, Data2: 0x2E5D, Data3: 0x4BC1, Data4: ( 0xB0,0x9E,0x8F,0x0A,0x03,0xE3,0xD8,0xD3 ))// 41A6D7C2-2E5D-4BC1-B09E-8F0A03E3D8D3 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight2: WindowsFoundation.IID { .init(Data1: 0xA7BCDA72, Data2: 0xF35D, Data3: 0x425D, Data4: ( 0x9B,0x98,0x23,0xF4,0x20,0x5F,0x66,0x69 ))// A7BCDA72-F35D-425D-9B98-23F4205F6669 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight3: WindowsFoundation.IID { .init(Data1: 0x4B0B00E4, Data2: 0xDF07, Data3: 0x4959, Data4: ( 0xB7,0xA4,0x4F,0x7E,0x42,0x33,0xF8,0x38 ))// 4B0B00E4-DF07-4959-B7A4-4F7E4233F838 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLightFactory: WindowsFoundation.IID { .init(Data1: 0x069CF306, Data2: 0xDA3C, Data3: 0x4B44, Data4: ( 0x83,0x8A,0x5E,0x03,0xD5,0x1A,0xCE,0x55 ))// 069CF306-DA3C-4B44-838A-5E03D51ACE55 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry: WindowsFoundation.IID { .init(Data1: 0xDD7615A4, Data2: 0x0C9A, Data3: 0x4B67, Data4: ( 0x8D,0xCE,0x44,0x0A,0x5B,0xF9,0xCD,0xEC ))// DD7615A4-0C9A-4B67-8DCE-440A5BF9CDEC } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush: WindowsFoundation.IID { .init(Data1: 0x983BC519, Data2: 0xA9DB, Data3: 0x413C, Data4: ( 0xA2,0xD8,0x2A,0x90,0x56,0xFC,0x52,0x5E ))// 983BC519-A9DB-413C-A2D8-2A9056FC525E } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush: WindowsFoundation.IID { .init(Data1: 0x522CF09E, Data2: 0xBE6B, Data3: 0x4F41, Data4: ( 0xBE,0x49,0xF9,0x22,0x6D,0x47,0x1B,0x4A ))// 522CF09E-BE6B-4F41-BE49-F9226D471B4A } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface: WindowsFoundation.IID { .init(Data1: 0x4863675C, Data2: 0xCF4A, Data3: 0x4B1C, Data4: ( 0x9E,0xCE,0xC5,0xEC,0x0C,0x2B,0x2F,0xE6 ))// 4863675C-CF4A-4B1C-9ECE-C5EC0C2B2FE6 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush: WindowsFoundation.IID { .init(Data1: 0xF25154E4, Data2: 0xBC8C, Data3: 0x4BE7, Data4: ( 0xB8,0x0F,0x86,0x85,0xB8,0x3C,0x01,0x86 ))// F25154E4-BC8C-4BE7-B80F-8685B83C0186 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject: WindowsFoundation.IID { .init(Data1: 0xBCB4AD45, Data2: 0x7609, Data3: 0x4550, Data4: ( 0x93,0x4F,0x16,0x00,0x2A,0x68,0xFD,0xED ))// BCB4AD45-7609-4550-934F-16002A68FDED } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject2: WindowsFoundation.IID { .init(Data1: 0xEF874EA1, Data2: 0x5CFF, Data3: 0x4B68, Data4: ( 0x9E,0x30,0xA1,0x51,0x9D,0x08,0xBA,0x03 ))// EF874EA1-5CFF-4B68-9E30-A1519D08BA03 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject3: WindowsFoundation.IID { .init(Data1: 0x4BC27925, Data2: 0xDACD, Data3: 0x4CF2, Data4: ( 0x98,0xB1,0x98,0x6B,0x76,0xE7,0xEB,0xE6 ))// 4BC27925-DACD-4CF2-98B1-986B76E7EBE6 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject4: WindowsFoundation.IID { .init(Data1: 0x0BB3784C, Data2: 0x346B, Data3: 0x4A7C, Data4: ( 0x96,0x6B,0x73,0x10,0x96,0x65,0x53,0xD5 ))// 0BB3784C-346B-4A7C-966B-7310966553D5 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObjectFactory: WindowsFoundation.IID { .init(Data1: 0x51205C5E, Data2: 0x558A, Data3: 0x4F2A, Data4: ( 0x8D,0x39,0x37,0xBF,0xE1,0xE2,0x0D,0xDD ))// 51205C5E-558A-4F2A-8D39-37BFE1E20DDD } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionObjectStatics: WindowsFoundation.IID { .init(Data1: 0xC1ED052F, Data2: 0x1BA2, Data3: 0x44BA, Data4: ( 0xA9,0x04,0x6A,0x88,0x2A,0x0A,0x5A,0xDB ))// C1ED052F-1BA2-44BA-A904-6A882A0A5ADB } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionPath: WindowsFoundation.IID { .init(Data1: 0x66DA1D5F, Data2: 0x2E10, Data3: 0x4F22, Data4: ( 0x8A,0x06,0x0A,0x81,0x51,0x91,0x9E,0x60 ))// 66DA1D5F-2E10-4F22-8A06-0A8151919E60 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionPathFactory: WindowsFoundation.IID { .init(Data1: 0x9C1E8C6A, Data2: 0x0F33, Data3: 0x4751, Data4: ( 0x94,0x37,0xEB,0x3F,0xB9,0xD3,0xAB,0x07 ))// 9C1E8C6A-0F33-4751-9437-EB3FB9D3AB07 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionPathGeometry: WindowsFoundation.IID { .init(Data1: 0x0B6A417E, Data2: 0x2C77, Data3: 0x4C23, Data4: ( 0xAF,0x5E,0x63,0x04,0xC1,0x47,0xBB,0x61 ))// 0B6A417E-2C77-4C23-AF5E-6304C147BB61 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow: WindowsFoundation.IID { .init(Data1: 0x285B8E72, Data2: 0x4328, Data3: 0x523F, Data4: ( 0xBC,0xF2,0x55,0x57,0xC5,0x2C,0x3B,0x25 ))// 285B8E72-4328-523F-BCF2-5557C52C3B25 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster: WindowsFoundation.IID { .init(Data1: 0xB1D7D426, Data2: 0x1E36, Data3: 0x5A62, Data4: ( 0xBE,0x56,0xA1,0x61,0x12,0xFD,0xD1,0x48 ))// B1D7D426-1E36-5A62-BE56-A16112FDD148 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection: WindowsFoundation.IID { .init(Data1: 0xD2525C0C, Data2: 0xE07F, Data3: 0x58A3, Data4: ( 0xAC,0x91,0x37,0xF7,0x3E,0xE9,0x17,0x40 ))// D2525C0C-E07F-58A3-AC91-37F73EE91740 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollectionStatics: WindowsFoundation.IID { .init(Data1: 0x56FBB136, Data2: 0xE94F, Data3: 0x5299, Data4: ( 0xAB,0x5B,0x6E,0x15,0xE3,0x8B,0xD8,0x99 ))// 56FBB136-E94F-5299-AB5B-6E15E38BD899 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiver: WindowsFoundation.IID { .init(Data1: 0x1377985A, Data2: 0x6A49, Data3: 0x536A, Data4: ( 0x9B,0xE4,0xA9,0x6A,0x8E,0x52,0x98,0xA9 ))// 1377985A-6A49-536A-9BE4-A96A8E5298A9 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection: WindowsFoundation.IID { .init(Data1: 0x02B3E3B7, Data2: 0x27D2, Data3: 0x599F, Data4: ( 0xAC,0x4B,0xAB,0x78,0x7C,0xDD,0xE6,0xFD ))// 02B3E3B7-27D2-599F-AC4B-AB787CDDE6FD } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet: WindowsFoundation.IID { .init(Data1: 0xC9D6D202, Data2: 0x5F67, Data3: 0x4453, Data4: ( 0x91,0x17,0x9E,0xAD,0xD4,0x30,0xD3,0xC2 ))// C9D6D202-5F67-4453-9117-9EADD430D3C2 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet2: WindowsFoundation.IID { .init(Data1: 0xDE80731E, Data2: 0xA211, Data3: 0x4455, Data4: ( 0x88,0x80,0x7D,0x0F,0x3F,0x6A,0x44,0xFD ))// DE80731E-A211-4455-8880-7D0F3F6A44FD } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush: WindowsFoundation.IID { .init(Data1: 0x3D3B50C5, Data2: 0xE3FA, Data3: 0x4CE2, Data4: ( 0xB9,0xFC,0x3E,0xE1,0x25,0x61,0x78,0x8F ))// 3D3B50C5-E3FA-4CE2-B9FC-3EE12561788F } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry: WindowsFoundation.IID { .init(Data1: 0x0CD51428, Data2: 0x5356, Data3: 0x4246, Data4: ( 0xAE,0xCF,0x7A,0x0B,0x76,0x97,0x54,0x00 ))// 0CD51428-5356-4246-AECF-7A0B76975400 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry: WindowsFoundation.IID { .init(Data1: 0x8770C822, Data2: 0x1D50, Data3: 0x4B8B, Data4: ( 0xB0,0x13,0x7C,0x9A,0x0E,0x46,0x93,0x5F ))// 8770C822-1D50-4B8B-B013-7C9A0E46935F } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch: WindowsFoundation.IID { .init(Data1: 0x0D00DAD0, Data2: 0xFB07, Data3: 0x46FD, Data4: ( 0x8C,0x72,0x62,0x80,0xD1,0xA3,0xD1,0xDD ))// 0D00DAD0-FB07-46FD-8C72-6280D1A3D1DD } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionShadow: WindowsFoundation.IID { .init(Data1: 0x329E52E2, Data2: 0x4335, Data3: 0x49CC, Data4: ( 0xB1,0x4A,0x37,0x78,0x2D,0x10,0xF0,0xC4 ))// 329E52E2-4335-49CC-B14A-37782D10F0C4 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionShadowFactory: WindowsFoundation.IID { .init(Data1: 0x221F492F, Data2: 0xDCBA, Data3: 0x4B91, Data4: ( 0x99,0x9E,0x1D,0xC2,0x17,0xA0,0x15,0x30 ))// 221F492F-DCBA-4B91-999E-1DC217A01530 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionShape: WindowsFoundation.IID { .init(Data1: 0xB47CE2F7, Data2: 0x9A88, Data3: 0x42C4, Data4: ( 0x9E,0x87,0x2E,0x50,0x0C,0xA8,0x68,0x8C ))// B47CE2F7-9A88-42C4-9E87-2E500CA8688C } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionShapeFactory: WindowsFoundation.IID { .init(Data1: 0x1DFC36D0, Data2: 0xB05A, Data3: 0x44EF, Data4: ( 0x82,0xB0,0x12,0x11,0x8B,0xCD,0x4C,0xD0 ))// 1DFC36D0-B05A-44EF-82B0-12118BCD4CD0 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape: WindowsFoundation.IID { .init(Data1: 0x401B61BB, Data2: 0x0007, Data3: 0x4363, Data4: ( 0xB1,0xF3,0x6B,0xCC,0x00,0x3F,0xB8,0x3E ))// 401B61BB-0007-4363-B1F3-6BCC003FB83E } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurface: WindowsFoundation.IID { .init(Data1: 0x1527540D, Data2: 0x42C7, Data3: 0x47A6, Data4: ( 0xA4,0x08,0x66,0x8F,0x79,0xA9,0x0D,0xFB ))// 1527540D-42C7-47A6-A408-668F79A90DFB } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush: WindowsFoundation.IID { .init(Data1: 0xAD016D79, Data2: 0x1E4C, Data3: 0x4C0D, Data4: ( 0x9C,0x29,0x83,0x33,0x8C,0x87,0xC1,0x62 ))// AD016D79-1E4C-4C0D-9C29-83338C87C162 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2: WindowsFoundation.IID { .init(Data1: 0xD27174D5, Data2: 0x64F5, Data3: 0x4692, Data4: ( 0x9D,0xC7,0x71,0xB6,0x1D,0x7E,0x58,0x80 ))// D27174D5-64F5-4692-9DC7-71B61D7E5880 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush3: WindowsFoundation.IID { .init(Data1: 0x550BB289, Data2: 0x1FE0, Data3: 0x42E5, Data4: ( 0x81,0x95,0x1E,0xEF,0xA8,0x7F,0xF0,0x8E ))// 550BB289-1FE0-42E5-8195-1EEFA87FF08E } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionTarget: WindowsFoundation.IID { .init(Data1: 0xA1BEA8BA, Data2: 0xD726, Data3: 0x4663, Data4: ( 0x81,0x29,0x6B,0x5E,0x79,0x27,0xFF,0xA6 ))// A1BEA8BA-D726-4663-8129-6B5E7927FFA6 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionTargetFactory: WindowsFoundation.IID { .init(Data1: 0x93CD9D2B, Data2: 0x8516, Data3: 0x4B14, Data4: ( 0xA8,0xCE,0xF4,0x9E,0x21,0x19,0xEC,0x42 ))// 93CD9D2B-8516-4B14-A8CE-F49E2119EC42 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionTransform: WindowsFoundation.IID { .init(Data1: 0x7CD54529, Data2: 0xFBED, Data3: 0x4112, Data4: ( 0xAB,0xC5,0x18,0x59,0x06,0xDD,0x92,0x7C ))// 7CD54529-FBED-4112-ABC5-185906DD927C } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionTransformFactory: WindowsFoundation.IID { .init(Data1: 0xAAAECA26, Data2: 0xC149, Data3: 0x517A, Data4: ( 0x8F,0x72,0x6B,0xFF,0x7A,0x65,0xCE,0x08 ))// AAAECA26-C149-517A-8F72-6BFF7A65CE08 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionViewBox: WindowsFoundation.IID { .init(Data1: 0xB440BF07, Data2: 0x068F, Data3: 0x4537, Data4: ( 0x84,0xC6,0x4E,0xCB,0xE0,0x19,0xE1,0xF4 ))// B440BF07-068F-4537-84C6-4ECBE019E1F4 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionVirtualDrawingSurface: WindowsFoundation.IID { .init(Data1: 0xA9C384DB, Data2: 0x8740, Data3: 0x4F94, Data4: ( 0x8B,0x9D,0xB6,0x85,0x21,0xE7,0x86,0x3D ))// A9C384DB-8740-4F94-8B9D-B68521E7863D } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionVirtualDrawingSurfaceFactory: WindowsFoundation.IID { .init(Data1: 0x6766106C, Data2: 0xD56B, Data3: 0x4A49, Data4: ( 0xB1,0xDF,0x50,0x76,0xA0,0x62,0x07,0x68 ))// 6766106C-D56B-4A49-B1DF-5076A0620768 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface: WindowsFoundation.IID { .init(Data1: 0xB224D803, Data2: 0x4F6E, Data3: 0x4A3F, Data4: ( 0x8C,0xAE,0x3D,0xC1,0xCD,0xA7,0x4F,0xC6 ))// B224D803-4F6E-4A3F-8CAE-3DC1CDA74FC6 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor: WindowsFoundation.IID { .init(Data1: 0xB403CA50, Data2: 0x7F8C, Data3: 0x4E83, Data4: ( 0x98,0x5F,0xCC,0x45,0x06,0x00,0x36,0xD8 ))// B403CA50-7F8C-4E83-985F-CC45060036D8 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor2: WindowsFoundation.IID { .init(Data1: 0x735081DC, Data2: 0x5E24, Data3: 0x45DA, Data4: ( 0xA3,0x8F,0xE3,0x2C,0xC3,0x49,0xA9,0xA0 ))// 735081DC-5E24-45DA-A38F-E32CC349A9A0 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor3: WindowsFoundation.IID { .init(Data1: 0xC9DD8EF0, Data2: 0x6EB1, Data3: 0x4E3C, Data4: ( 0xA6,0x58,0x67,0x5D,0x9C,0x64,0xD4,0xAB ))// C9DD8EF0-6EB1-4E3C-A658-675D9C64D4AB } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor4: WindowsFoundation.IID { .init(Data1: 0xAE47E78A, Data2: 0x7910, Data3: 0x4425, Data4: ( 0xA4,0x82,0xA0,0x5B,0x75,0x8A,0xDC,0xE9 ))// AE47E78A-7910-4425-A482-A05B758ADCE9 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor5: WindowsFoundation.IID { .init(Data1: 0x48EA31AD, Data2: 0x7FCD, Data3: 0x4076, Data4: ( 0xA7,0x9C,0x90,0xCC,0x4B,0x85,0x2C,0x9B ))// 48EA31AD-7FCD-4076-A79C-90CC4B852C9B } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositor6: WindowsFoundation.IID { .init(Data1: 0x7A38B2BD, Data2: 0xCEC8, Data3: 0x4EEB, Data4: ( 0x83,0x0F,0xD8,0xD0,0x7A,0xED,0xEB,0xC3 ))// 7A38B2BD-CEC8-4EEB-830F-D8D07AEDEBC3 } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositorStatics: WindowsFoundation.IID { .init(Data1: 0x080DB93E, Data2: 0x121E, Data3: 0x4D97, Data4: ( 0x8B,0x74,0x1D,0xFC,0xF9,0x19,0x87,0xEA ))// 080DB93E-121E-4D97-8B74-1DFCF91987EA } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithProjectedShadow: WindowsFoundation.IID { .init(Data1: 0xA2E6330E, Data2: 0x8A60, Data3: 0x5A38, Data4: ( 0xBB,0x85,0xB4,0x4E,0xA9,0x01,0x67,0x7C ))// A2E6330E-8A60-5A38-BB85-B44EA901677C } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithRadialGradient: WindowsFoundation.IID { .init(Data1: 0x98B9C1A7, Data2: 0x8E71, Data3: 0x4B53, Data4: ( 0xB4,0xA8,0x69,0xBA,0x5D,0x19,0xDC,0x5B ))// 98B9C1A7-8E71-4B53-B4A8-69BA5D19DC5B } private var IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithVisualSurface: WindowsFoundation.IID { .init(Data1: 0xCFA1658B, Data2: 0x0123, Data3: 0x4551, Data4: ( 0x88,0x91,0x89,0xBD,0xCC,0x40,0x32,0x2B ))// CFA1658B-0123-4551-8891-89BDCC40322B } private var IID___x_ABI_CWindows_CUI_CComposition_CIContainerVisual: WindowsFoundation.IID { .init(Data1: 0x02F6BC74, Data2: 0xED20, Data3: 0x4773, Data4: ( 0xAF,0xE6,0xD4,0x9B,0x4A,0x93,0xDB,0x32 ))// 02F6BC74-ED20-4773-AFE6-D49B4A93DB32 } private var IID___x_ABI_CWindows_CUI_CComposition_CIContainerVisualFactory: WindowsFoundation.IID { .init(Data1: 0x0363A65B, Data2: 0xC7DA, Data3: 0x4D9A, Data4: ( 0x95,0xF4,0x69,0xB5,0xC8,0xDF,0x67,0x0B ))// 0363A65B-C7DA-4D9A-95F4-69B5C8DF670B } private var IID___x_ABI_CWindows_CUI_CComposition_CICubicBezierEasingFunction: WindowsFoundation.IID { .init(Data1: 0x32350666, Data2: 0xC1E8, Data3: 0x44F9, Data4: ( 0x96,0xB8,0xC9,0x8A,0xCF,0x0A,0xE6,0x98 ))// 32350666-C1E8-44F9-96B8-C98ACF0AE698 } private var IID___x_ABI_CWindows_CUI_CComposition_CIDistantLight: WindowsFoundation.IID { .init(Data1: 0x318CFAFC, Data2: 0x5CE3, Data3: 0x4B55, Data4: ( 0xAB,0x5D,0x07,0xA0,0x03,0x53,0xAC,0x99 ))// 318CFAFC-5CE3-4B55-AB5D-07A00353AC99 } private var IID___x_ABI_CWindows_CUI_CComposition_CIDistantLight2: WindowsFoundation.IID { .init(Data1: 0xDBCDAA1C, Data2: 0x294B, Data3: 0x48D7, Data4: ( 0xB6,0x0E,0x76,0xDF,0x64,0xAA,0x39,0x2B ))// DBCDAA1C-294B-48D7-B60E-76DF64AA392B } private var IID___x_ABI_CWindows_CUI_CComposition_CIDropShadow: WindowsFoundation.IID { .init(Data1: 0xCB977C07, Data2: 0xA154, Data3: 0x4851, Data4: ( 0x85,0xE7,0xA8,0x92,0x4C,0x84,0xFA,0xD8 ))// CB977C07-A154-4851-85E7-A8924C84FAD8 } private var IID___x_ABI_CWindows_CUI_CComposition_CIDropShadow2: WindowsFoundation.IID { .init(Data1: 0x6C4218BC, Data2: 0x15B9, Data3: 0x4C2D, Data4: ( 0x8D,0x4A,0x07,0x67,0xDF,0x11,0x97,0x7A ))// 6C4218BC-15B9-4C2D-8D4A-0767DF11977A } private var IID___x_ABI_CWindows_CUI_CComposition_CIExpressionAnimation: WindowsFoundation.IID { .init(Data1: 0x6ACC5431, Data2: 0x7D3D, Data3: 0x4BF3, Data4: ( 0xAB,0xB6,0xF4,0x4B,0xDC,0x48,0x88,0xC1 ))// 6ACC5431-7D3D-4BF3-ABB6-F44BDC4888C1 } private var IID___x_ABI_CWindows_CUI_CComposition_CIImplicitAnimationCollection: WindowsFoundation.IID { .init(Data1: 0x0598A3FF, Data2: 0x0A92, Data3: 0x4C9D, Data4: ( 0xA4,0x27,0xB2,0x55,0x19,0x25,0x0D,0xBF ))// 0598A3FF-0A92-4C9D-A427-B25519250DBF } private var IID___x_ABI_CWindows_CUI_CComposition_CIInsetClip: WindowsFoundation.IID { .init(Data1: 0x1E73E647, Data2: 0x84C7, Data3: 0x477A, Data4: ( 0xB4,0x74,0x58,0x80,0xE0,0x44,0x2E,0x15 ))// 1E73E647-84C7-477A-B474-5880E0442E15 } private var IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x126E7F22, Data2: 0x3AE9, Data3: 0x4540, Data4: ( 0x9A,0x8A,0xDE,0xAE,0x8A,0x4A,0x4A,0x84 ))// 126E7F22-3AE9-4540-9A8A-DEAE8A4A4A84 } private var IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation2: WindowsFoundation.IID { .init(Data1: 0xF4B488BB, Data2: 0x2940, Data3: 0x4EC0, Data4: ( 0xA4,0x1A,0xEB,0x6D,0x80,0x1A,0x2F,0x18 ))// F4B488BB-2940-4EC0-A41A-EB6D801A2F18 } private var IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation3: WindowsFoundation.IID { .init(Data1: 0x845BF0B4, Data2: 0xD8DE, Data3: 0x462F, Data4: ( 0x87,0x53,0xC8,0x0D,0x43,0xC6,0xFF,0x5A ))// 845BF0B4-D8DE-462F-8753-C80D43C6FF5A } private var IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimationFactory: WindowsFoundation.IID { .init(Data1: 0xBF0803F8, Data2: 0x712A, Data3: 0x4FC1, Data4: ( 0x8C,0x87,0x97,0x08,0x59,0xED,0x8D,0x2E ))// BF0803F8-712A-4FC1-8C87-970859ED8D2E } private var IID___x_ABI_CWindows_CUI_CComposition_CILayerVisual: WindowsFoundation.IID { .init(Data1: 0xAF843985, Data2: 0x0444, Data3: 0x4887, Data4: ( 0x8E,0x83,0xB4,0x0B,0x25,0x3F,0x82,0x2C ))// AF843985-0444-4887-8E83-B40B253F822C } private var IID___x_ABI_CWindows_CUI_CComposition_CILayerVisual2: WindowsFoundation.IID { .init(Data1: 0x98F9AEEB, Data2: 0x6F23, Data3: 0x49F1, Data4: ( 0x90,0xB1,0x1F,0x59,0xA1,0x4F,0xBC,0xE3 ))// 98F9AEEB-6F23-49F1-90B1-1F59A14FBCE3 } private var IID___x_ABI_CWindows_CUI_CComposition_CILinearEasingFunction: WindowsFoundation.IID { .init(Data1: 0x9400975A, Data2: 0xC7A6, Data3: 0x46B3, Data4: ( 0xAC,0xF7,0x1A,0x26,0x8A,0x0A,0x11,0x7D ))// 9400975A-C7A6-46B3-ACF7-1A268A0A117D } private var IID___x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x438DE12D, Data2: 0x769B, Data3: 0x4821, Data4: ( 0xA9,0x49,0x28,0x4A,0x65,0x47,0xE8,0x73 ))// 438DE12D-769B-4821-A949-284A6547E873 } private var IID___x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimationFactory: WindowsFoundation.IID { .init(Data1: 0xF53ACB06, Data2: 0xCF6A, Data3: 0x4387, Data4: ( 0xA3,0xFE,0x52,0x21,0xF3,0xE7,0xE0,0xE0 ))// F53ACB06-CF6A-4387-A3FE-5221F3E7E0E0 } private var IID___x_ABI_CWindows_CUI_CComposition_CIPathKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x9D0D18C9, Data2: 0x1576, Data3: 0x4B3F, Data4: ( 0xBE,0x60,0x1D,0x50,0x31,0xF5,0xE7,0x1B ))// 9D0D18C9-1576-4B3F-BE60-1D5031F5E71B } private var IID___x_ABI_CWindows_CUI_CComposition_CIPointLight: WindowsFoundation.IID { .init(Data1: 0xB18545B3, Data2: 0x0C5A, Data3: 0x4AB0, Data4: ( 0xBE,0xDC,0x4F,0x35,0x46,0x94,0x82,0x72 ))// B18545B3-0C5A-4AB0-BEDC-4F3546948272 } private var IID___x_ABI_CWindows_CUI_CComposition_CIPointLight2: WindowsFoundation.IID { .init(Data1: 0xEFE98F2C, Data2: 0x0678, Data3: 0x4F69, Data4: ( 0xB1,0x64,0xA8,0x10,0xD9,0x95,0xBC,0xB7 ))// EFE98F2C-0678-4F69-B164-A810D995BCB7 } private var IID___x_ABI_CWindows_CUI_CComposition_CIPointLight3: WindowsFoundation.IID { .init(Data1: 0x4C0A8367, Data2: 0xD4E9, Data3: 0x468A, Data4: ( 0x87,0xAE,0x7B,0xA4,0x3A,0xB2,0x94,0x85 ))// 4C0A8367-D4E9-468A-87AE-7BA43AB29485 } private var IID___x_ABI_CWindows_CUI_CComposition_CIQuaternionKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x404E5835, Data2: 0xECF6, Data3: 0x4240, Data4: ( 0x85,0x20,0x67,0x12,0x79,0xCF,0x36,0xBC ))// 404E5835-ECF6-4240-8520-671279CF36BC } private var IID___x_ABI_CWindows_CUI_CComposition_CIRedirectVisual: WindowsFoundation.IID { .init(Data1: 0x8CC6E340, Data2: 0x8B75, Data3: 0x5422, Data4: ( 0xB0,0x6F,0x09,0xFF,0xE9,0xF8,0x61,0x7E ))// 8CC6E340-8B75-5422-B06F-09FFE9F8617E } private var IID___x_ABI_CWindows_CUI_CComposition_CIRenderingDeviceReplacedEventArgs: WindowsFoundation.IID { .init(Data1: 0x3A31AC7D, Data2: 0x28BF, Data3: 0x4E7A, Data4: ( 0x85,0x24,0x71,0x67,0x9D,0x48,0x0F,0x38 ))// 3A31AC7D-28BF-4E7A-8524-71679D480F38 } private var IID___x_ABI_CWindows_CUI_CComposition_CIScalarKeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0xAE288FA9, Data2: 0x252C, Data3: 0x4B95, Data4: ( 0xA7,0x25,0xBF,0x85,0xE3,0x80,0x00,0xA1 ))// AE288FA9-252C-4B95-A725-BF85E38000A1 } private var IID___x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x94A94581, Data2: 0xBF92, Data3: 0x495B, Data4: ( 0xB5,0xBD,0xD2,0xC6,0x59,0x43,0x07,0x37 ))// 94A94581-BF92-495B-B5BD-D2C659430737 } private var IID___x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimationFactory: WindowsFoundation.IID { .init(Data1: 0x835AA4FC, Data2: 0x671C, Data3: 0x41DD, Data4: ( 0xAF,0x48,0xAE,0x8D,0xEF,0x8B,0x15,0x29 ))// 835AA4FC-671C-41DD-AF48-AE8DEF8B1529 } private var IID___x_ABI_CWindows_CUI_CComposition_CIShapeVisual: WindowsFoundation.IID { .init(Data1: 0xF2BD13C3, Data2: 0xBA7E, Data3: 0x4B0F, Data4: ( 0x91,0x26,0xFF,0xB7,0x53,0x6B,0x81,0x76 ))// F2BD13C3-BA7E-4B0F-9126-FFB7536B8176 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpotLight: WindowsFoundation.IID { .init(Data1: 0x5A9FE273, Data2: 0x44A1, Data3: 0x4F95, Data4: ( 0xA4,0x22,0x8F,0xA5,0x11,0x6B,0xDB,0x44 ))// 5A9FE273-44A1-4F95-A422-8FA5116BDB44 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpotLight2: WindowsFoundation.IID { .init(Data1: 0x64EE615E, Data2: 0x0686, Data3: 0x4DEA, Data4: ( 0xA9,0xE8,0xBC,0x3A,0x8C,0x70,0x14,0x59 ))// 64EE615E-0686-4DEA-A9E8-BC3A8C701459 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpotLight3: WindowsFoundation.IID { .init(Data1: 0xE4D03EEA, Data2: 0x131F, Data3: 0x480E, Data4: ( 0x85,0x9E,0xB8,0x27,0x05,0xB7,0x43,0x60 ))// E4D03EEA-131F-480E-859E-B82705B74360 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x0572A95F, Data2: 0x37F9, Data3: 0x4FBE, Data4: ( 0xB8,0x7B,0x5C,0xD0,0x3A,0x89,0x50,0x1C ))// 0572A95F-37F9-4FBE-B87B-5CD03A89501C } private var IID___x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x23F494B5, Data2: 0xEE73, Data3: 0x4F0F, Data4: ( 0xA4,0x23,0x40,0x2B,0x94,0x6D,0xF4,0xB3 ))// 23F494B5-EE73-4F0F-A423-402B946DF4B3 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x6C8749DF, Data2: 0xD57B, Data3: 0x4794, Data4: ( 0x8E,0x2D,0xCE,0xCB,0x11,0xE1,0x94,0xE5 ))// 6C8749DF-D57B-4794-8E2D-CECB11E194E5 } private var IID___x_ABI_CWindows_CUI_CComposition_CISpriteVisual: WindowsFoundation.IID { .init(Data1: 0x08E05581, Data2: 0x1AD1, Data3: 0x4F97, Data4: ( 0x97,0x57,0x40,0x2D,0x76,0xE4,0x23,0x3B ))// 08E05581-1AD1-4F97-9757-402D76E4233B } private var IID___x_ABI_CWindows_CUI_CComposition_CISpriteVisual2: WindowsFoundation.IID { .init(Data1: 0x588C9664, Data2: 0x997A, Data3: 0x4850, Data4: ( 0x91,0xFE,0x53,0xCB,0x58,0xF8,0x1C,0xE9 ))// 588C9664-997A-4850-91FE-53CB58F81CE9 } private var IID___x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction: WindowsFoundation.IID { .init(Data1: 0xD0CAA74B, Data2: 0x560C, Data3: 0x4A0B, Data4: ( 0xA5,0xF6,0x20,0x6C,0xA8,0xC3,0xEC,0xD6 ))// D0CAA74B-560C-4A0B-A5F6-206CA8C3ECD6 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector2KeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0xDF414515, Data2: 0x4E29, Data3: 0x4F11, Data4: ( 0xB5,0x5E,0xBF,0x2A,0x6E,0xB3,0x62,0x94 ))// DF414515-4E29-4F11-B55E-BF2A6EB36294 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x0F3E0B7D, Data2: 0xE512, Data3: 0x479D, Data4: ( 0xA0,0x0C,0x77,0xC9,0x3A,0x30,0xA3,0x95 ))// 0F3E0B7D-E512-479D-A00C-77C93A30A395 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimationFactory: WindowsFoundation.IID { .init(Data1: 0x8C74FF61, Data2: 0x0761, Data3: 0x48A2, Data4: ( 0xBD,0xDB,0x6A,0xFC,0xC5,0x2B,0x89,0xD8 ))// 8C74FF61-0761-48A2-BDDB-6AFCC52B89D8 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector3KeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0xC8039DAA, Data2: 0xA281, Data3: 0x43C2, Data4: ( 0xA7,0x3D,0xB6,0x8E,0x3C,0x53,0x3C,0x40 ))// C8039DAA-A281-43C2-A73D-B68E3C533C40 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation: WindowsFoundation.IID { .init(Data1: 0x9C17042C, Data2: 0xE2CA, Data3: 0x45AD, Data4: ( 0x96,0x9E,0x4E,0x78,0xB7,0xB9,0xAD,0x41 ))// 9C17042C-E2CA-45AD-969E-4E78B7B9AD41 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimationFactory: WindowsFoundation.IID { .init(Data1: 0x21A81D2F, Data2: 0x0880, Data3: 0x457B, Data4: ( 0xAC,0x87,0xB6,0x09,0x01,0x8C,0x87,0x6D ))// 21A81D2F-0880-457B-AC87-B609018C876D } private var IID___x_ABI_CWindows_CUI_CComposition_CIVector4KeyFrameAnimation: WindowsFoundation.IID { .init(Data1: 0x2457945B, Data2: 0xADDD, Data3: 0x4385, Data4: ( 0x96,0x06,0xB6,0xA3,0xD5,0xE4,0xE1,0xB9 ))// 2457945B-ADDD-4385-9606-B6A3D5E4E1B9 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisual: WindowsFoundation.IID { .init(Data1: 0x117E202D, Data2: 0xA859, Data3: 0x4C89, Data4: ( 0x87,0x3B,0xC2,0xAA,0x56,0x67,0x88,0xE3 ))// 117E202D-A859-4C89-873B-C2AA566788E3 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisual2: WindowsFoundation.IID { .init(Data1: 0x3052B611, Data2: 0x56C3, Data3: 0x4C3E, Data4: ( 0x8B,0xF3,0xF6,0xE1,0xAD,0x47,0x3F,0x06 ))// 3052B611-56C3-4C3E-8BF3-F6E1AD473F06 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisualCollection: WindowsFoundation.IID { .init(Data1: 0x8B745505, Data2: 0xFD3E, Data3: 0x4A98, Data4: ( 0x84,0xA8,0xE9,0x49,0x46,0x8C,0x6B,0xCB ))// 8B745505-FD3E-4A98-84A8-E949468C6BCB } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisualElement: WindowsFoundation.IID { .init(Data1: 0x01E64612, Data2: 0x1D82, Data3: 0x42F4, Data4: ( 0x8E,0x3F,0xA7,0x22,0xDE,0xD3,0x3F,0xC7 ))// 01E64612-1D82-42F4-8E3F-A722DED33FC7 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisualFactory: WindowsFoundation.IID { .init(Data1: 0xAD0FF93E, Data2: 0xB502, Data3: 0x4EB5, Data4: ( 0x87,0xB4,0x9A,0x38,0xA7,0x1D,0x01,0x37 ))// AD0FF93E-B502-4EB5-87B4-9A38A71D0137 } private var IID___x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection: WindowsFoundation.IID { .init(Data1: 0x338FAA70, Data2: 0x54C8, Data3: 0x40A7, Data4: ( 0x80,0x29,0xC9,0xCE,0xEB,0x0A,0xA2,0x50 ))// 338FAA70-54C8-40A7-8029-C9CEEB0AA250 } public enum __ABI_Windows_UI_Composition { public class IAmbientLight: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAmbientLight } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAmbientLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAmbientLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } } public class IAmbientLight2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAmbientLight2 } internal func get_IntensityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAmbientLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Intensity(pThis, &value)) } return value } internal func put_IntensityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAmbientLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Intensity(pThis, value)) } } } public class IAnimationController: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAnimationController } internal func get_PlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_PlaybackRate(pThis, &value)) } return value } internal func put_PlaybackRateImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_PlaybackRate(pThis, value)) } } internal func get_ProgressImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Progress(pThis, &value)) } return value } internal func put_ProgressImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Progress(pThis, value)) } } internal func get_ProgressBehaviorImpl() throws -> UWP.AnimationControllerProgressBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationControllerProgressBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ProgressBehavior(pThis, &value)) } return value } internal func put_ProgressBehaviorImpl(_ value: UWP.AnimationControllerProgressBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ProgressBehavior(pThis, value)) } } internal func PauseImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Pause(pThis)) } } internal func ResumeImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Resume(pThis)) } } } public class IAnimationControllerStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAnimationControllerStatics } internal func get_MaxPlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationControllerStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxPlaybackRate(pThis, &value)) } return value } internal func get_MinPlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationControllerStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MinPlaybackRate(pThis, &value)) } return value } } public class IAnimationObject: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAnimationObject } open func PopulatePropertyInfoImpl(_ propertyName: String, _ propertyInfo: UWP.AnimationPropertyInfo?) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.PopulatePropertyInfo(pThis, _propertyName.get(), RawPointer(propertyInfo))) } } } internal static var IAnimationObjectVTable: __x_ABI_CWindows_CUI_CComposition_CIAnimationObjectVtbl = .init( QueryInterface: { IAnimationObjectWrapper.queryInterface($0, $1, $2) }, AddRef: { IAnimationObjectWrapper.addRef($0) }, Release: { IAnimationObjectWrapper.release($0) }, GetIids: { let size = MemoryLayout.size let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self) iids[0] = IUnknown.IID iids[1] = IInspectable.IID iids[2] = __ABI_Windows_UI_Composition.IAnimationObjectWrapper.IID $1!.pointee = 3 $2!.pointee = iids return S_OK }, GetRuntimeClassName: { _ = $0 let hstring = try! HString("Windows.UI.Composition.IAnimationObject").detach() $1!.pointee = hstring return S_OK }, GetTrustLevel: { _ = $0 $1!.pointee = TrustLevel(rawValue: 0) return S_OK }, PopulatePropertyInfo: { do { guard let __unwrapped__instance = IAnimationObjectWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG } let propertyName: String = .init(from: $1) let propertyInfo: UWP.AnimationPropertyInfo? = .from(abi: ComPtr($2)) try __unwrapped__instance.populatePropertyInfo(propertyName, propertyInfo) return S_OK } catch { return failWith(err: E_FAIL) } } ) public typealias IAnimationObjectWrapper = InterfaceWrapperBase<__IMPL_Windows_UI_Composition.IAnimationObjectBridge> public class IAnimationPropertyInfo: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIAnimationPropertyInfo } internal func get_AccessModeImpl() throws -> UWP.AnimationPropertyAccessMode { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationPropertyAccessMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationPropertyInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AccessMode(pThis, &value)) } return value } internal func put_AccessModeImpl(_ value: UWP.AnimationPropertyAccessMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIAnimationPropertyInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_AccessMode(pThis, value)) } } } public class IBooleanKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIBooleanKeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBooleanKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .init(from: value))) } } } public class IBounceScalarNaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation } internal func get_AccelerationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Acceleration(pThis, &value)) } return value } internal func put_AccelerationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Acceleration(pThis, value)) } } internal func get_RestitutionImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Restitution(pThis, &value)) } return value } internal func put_RestitutionImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Restitution(pThis, value)) } } } public class IBounceVector2NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation } internal func get_AccelerationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Acceleration(pThis, &value)) } return value } internal func put_AccelerationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Acceleration(pThis, value)) } } internal func get_RestitutionImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Restitution(pThis, &value)) } return value } internal func put_RestitutionImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Restitution(pThis, value)) } } } public class IBounceVector3NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation } internal func get_AccelerationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Acceleration(pThis, &value)) } return value } internal func put_AccelerationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Acceleration(pThis, value)) } } internal func get_RestitutionImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Restitution(pThis, &value)) } return value } internal func put_RestitutionImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIBounceVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Restitution(pThis, value)) } } } public class IColorKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation } internal func get_InterpolationColorSpaceImpl() throws -> UWP.CompositionColorSpace { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionColorSpace = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InterpolationColorSpace(pThis, &value)) } return value } internal func put_InterpolationColorSpaceImpl(_ value: UWP.CompositionColorSpace) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InterpolationColorSpace(pThis, value)) } } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .from(swift: value))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: UWP.Color, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIColorKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction))) } } } public class ICompositionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation } internal func ClearAllParametersImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.ClearAllParameters(pThis)) } } internal func ClearParameterImpl(_ key: String) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.ClearParameter(pThis, _key.get())) } } internal func SetColorParameterImpl(_ key: String, _ value: UWP.Color) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetColorParameter(pThis, _key.get(), .from(swift: value))) } } internal func SetMatrix3x2ParameterImpl(_ key: String, _ value: WindowsFoundation.Matrix3x2) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetMatrix3x2Parameter(pThis, _key.get(), .from(swift: value))) } } internal func SetMatrix4x4ParameterImpl(_ key: String, _ value: WindowsFoundation.Matrix4x4) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetMatrix4x4Parameter(pThis, _key.get(), .from(swift: value))) } } internal func SetQuaternionParameterImpl(_ key: String, _ value: WindowsFoundation.Quaternion) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetQuaternionParameter(pThis, _key.get(), .from(swift: value))) } } internal func SetReferenceParameterImpl(_ key: String, _ compositionObject: UWP.CompositionObject?) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetReferenceParameter(pThis, _key.get(), RawPointer(compositionObject))) } } internal func SetScalarParameterImpl(_ key: String, _ value: Float) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetScalarParameter(pThis, _key.get(), value)) } } internal func SetVector2ParameterImpl(_ key: String, _ value: WindowsFoundation.Vector2) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetVector2Parameter(pThis, _key.get(), .from(swift: value))) } } internal func SetVector3ParameterImpl(_ key: String, _ value: WindowsFoundation.Vector3) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetVector3Parameter(pThis, _key.get(), .from(swift: value))) } } internal func SetVector4ParameterImpl(_ key: String, _ value: WindowsFoundation.Vector4) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetVector4Parameter(pThis, _key.get(), .from(swift: value))) } } } public class ICompositionAnimation2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation2 } internal func SetBooleanParameterImpl(_ key: String, _ value: Bool) throws { let _key = try! HString(key) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetBooleanParameter(pThis, _key.get(), .init(from: value))) } } internal func get_TargetImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Target(pThis, &value)) } return .init(from: value) } internal func put_TargetImpl(_ value: String) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Target(pThis, _value.get())) } } } public class ICompositionAnimation3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation3 } internal func get_InitialValueExpressionsImpl() throws -> UWP.InitialValueExpressionCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValueExpressions(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionAnimation4: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimation4 } internal func SetExpressionReferenceParameterImpl(_ parameterName: String, _ source: UWP.AnyIAnimationObject?) throws { let _parameterName = try! HString(parameterName) let sourceWrapper = __ABI_Windows_UI_Composition.IAnimationObjectWrapper(source) let _source = try! sourceWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimation4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetExpressionReferenceParameter(pThis, _parameterName.get(), _source)) } } } public class ICompositionAnimationBase: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationBase } } internal static var ICompositionAnimationBaseVTable: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimationBaseVtbl = .init( QueryInterface: { ICompositionAnimationBaseWrapper.queryInterface($0, $1, $2) }, AddRef: { ICompositionAnimationBaseWrapper.addRef($0) }, Release: { ICompositionAnimationBaseWrapper.release($0) }, GetIids: { let size = MemoryLayout.size let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self) iids[0] = IUnknown.IID iids[1] = IInspectable.IID iids[2] = __ABI_Windows_UI_Composition.ICompositionAnimationBaseWrapper.IID $1!.pointee = 3 $2!.pointee = iids return S_OK }, GetRuntimeClassName: { _ = $0 let hstring = try! HString("Windows.UI.Composition.ICompositionAnimationBase").detach() $1!.pointee = hstring return S_OK }, GetTrustLevel: { _ = $0 $1!.pointee = TrustLevel(rawValue: 0) return S_OK } ) public typealias ICompositionAnimationBaseWrapper = InterfaceWrapperBase<__IMPL_Windows_UI_Composition.ICompositionAnimationBaseBridge> public class ICompositionAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationFactory } } public class ICompositionAnimationGroup: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup } internal func get_CountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value)) } return value } internal func AddImpl(_ value: UWP.CompositionAnimation?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Add(pThis, RawPointer(value))) } } internal func RemoveImpl(_ value: UWP.CompositionAnimation?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Remove(pThis, RawPointer(value))) } } internal func RemoveAllImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis)) } } } public class ICompositionBackdropBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionBackdropBrush } } public class ICompositionBatchCompletedEventArgs: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionBatchCompletedEventArgs } } public class ICompositionBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionBrush } } public class ICompositionBrushFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionBrushFactory } } public class ICompositionCapabilities: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities } internal func AreEffectsSupportedImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.AreEffectsSupported(pThis, &value)) } return .init(from: value) } internal func AreEffectsFastImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.AreEffectsFast(pThis, &value)) } return .init(from: value) } internal func add_ChangedImpl(_ handler: TypedEventHandler?) throws -> EventRegistrationToken { var token: EventRegistrationToken = .init() let handlerWrapper = UWP.__x_ABI_C__FITypedEventHandler_2___x_ABI_CWindows__CUI__CComposition__CCompositionCapabilities_IInspectableWrapper(handler) let _handler = try! handlerWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.add_Changed(pThis, _handler, &token)) } return token } internal func remove_ChangedImpl(_ token: EventRegistrationToken) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCapabilities.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Changed(pThis, token)) } } } public class ICompositionCapabilitiesStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionCapabilitiesStatics } internal func GetForCurrentViewImpl() throws -> UWP.CompositionCapabilities? { let (current) = try ComPtrs.initialize { currentAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCapabilitiesStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetForCurrentView(pThis, ¤tAbi)) } } return .from(abi: current) } } public class ICompositionClip: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionClip } } public class ICompositionClip2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionClip2 } internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AnchorPoint(pThis, &value)) } return .from(abi: value) } internal func put_AnchorPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_AnchorPoint(pThis, .from(swift: value))) } } internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterPoint(pThis, &value)) } return .from(abi: value) } internal func put_CenterPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_RotationAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngle(pThis, &value)) } return value } internal func put_RotationAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngle(pThis, value)) } } internal func get_RotationAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngleInDegrees(pThis, &value)) } return value } internal func put_RotationAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngleInDegrees(pThis, value)) } } internal func get_ScaleImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Scale(pThis, &value)) } return .from(abi: value) } internal func put_ScaleImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Scale(pThis, .from(swift: value))) } } internal func get_TransformMatrixImpl() throws -> WindowsFoundation.Matrix3x2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformMatrix(pThis, &value)) } return .from(abi: value) } internal func put_TransformMatrixImpl(_ value: WindowsFoundation.Matrix3x2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionClip2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TransformMatrix(pThis, .from(swift: value))) } } } public class ICompositionClipFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionClipFactory } } public class ICompositionColorBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorBrush } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } } public class ICompositionColorGradientStop: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } internal func get_OffsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return value } internal func put_OffsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStop.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, value)) } } } public class ICompositionColorGradientStopCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionColorGradientStopCollection } } public class ICompositionCommitBatch: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch } internal func get_IsActiveImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsActive(pThis, &value)) } return .init(from: value) } internal func get_IsEndedImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsEnded(pThis, &value)) } return .init(from: value) } internal func add_CompletedImpl(_ handler: TypedEventHandler?) throws -> EventRegistrationToken { var token: EventRegistrationToken = .init() let handlerWrapper = UWP.__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CUI__CComposition__CCompositionBatchCompletedEventArgsWrapper(handler) let _handler = try! handlerWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.add_Completed(pThis, _handler, &token)) } return token } internal func remove_CompletedImpl(_ token: EventRegistrationToken) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionCommitBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Completed(pThis, token)) } } } public class ICompositionContainerShape: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionContainerShape } internal func get_ShapesImpl() throws -> UWP.CompositionShapeCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionContainerShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Shapes(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionDrawingSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface } internal func get_AlphaModeImpl() throws -> UWP.DirectXAlphaMode { var value: __x_ABI_CWindows_CGraphics_CDirectX_CDirectXAlphaMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlphaMode(pThis, &value)) } return value } internal func get_PixelFormatImpl() throws -> UWP.DirectXPixelFormat { var value: __x_ABI_CWindows_CGraphics_CDirectX_CDirectXPixelFormat = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_PixelFormat(pThis, &value)) } return value } internal func get_SizeImpl() throws -> WindowsFoundation.Size { var value: __x_ABI_CWindows_CFoundation_CSize = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Size(pThis, &value)) } return .from(abi: value) } } public class ICompositionDrawingSurface2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2 } internal func get_SizeInt32Impl() throws -> UWP.SizeInt32 { var value: __x_ABI_CWindows_CGraphics_CSizeInt32 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SizeInt32(pThis, &value)) } return .from(abi: value) } internal func ResizeImpl(_ sizePixels: UWP.SizeInt32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Resize(pThis, .from(swift: sizePixels))) } } internal func ScrollImpl(_ offset: UWP.PointInt32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Scroll(pThis, .from(swift: offset))) } } internal func ScrollRectImpl(_ offset: UWP.PointInt32, _ scrollRect: UWP.RectInt32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.ScrollRect(pThis, .from(swift: offset), .from(swift: scrollRect))) } } internal func ScrollWithClipImpl(_ offset: UWP.PointInt32, _ clipRect: UWP.RectInt32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.ScrollWithClip(pThis, .from(swift: offset), .from(swift: clipRect))) } } internal func ScrollRectWithClipImpl(_ offset: UWP.PointInt32, _ clipRect: UWP.RectInt32, _ scrollRect: UWP.RectInt32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurface2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.ScrollRectWithClip(pThis, .from(swift: offset), .from(swift: clipRect), .from(swift: scrollRect))) } } } public class ICompositionDrawingSurfaceFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionDrawingSurfaceFactory } } public class ICompositionEasingFunction: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEasingFunction } } public class ICompositionEasingFunctionFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEasingFunctionFactory } } public class ICompositionEffectBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectBrush } internal func GetSourceParameterImpl(_ name: String) throws -> UWP.CompositionBrush? { let (result) = try ComPtrs.initialize { resultAbi in let _name = try! HString(name) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetSourceParameter(pThis, _name.get(), &resultAbi)) } } return .from(abi: result) } internal func SetSourceParameterImpl(_ name: String, _ source: UWP.CompositionBrush?) throws { let _name = try! HString(name) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetSourceParameter(pThis, _name.get(), RawPointer(source))) } } } public class ICompositionEffectFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectFactory } internal func CreateBrushImpl() throws -> UWP.CompositionEffectBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectFactory.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func get_ExtendedErrorImpl() throws -> HRESULT { var value: HRESULT = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectFactory.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtendedError(pThis, &value)) } return value } internal func get_LoadStatusImpl() throws -> UWP.CompositionEffectFactoryLoadStatus { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionEffectFactoryLoadStatus = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectFactory.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LoadStatus(pThis, &value)) } return value } } public class ICompositionEffectSourceParameter: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameter } internal func get_NameImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameter.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Name(pThis, &value)) } return .init(from: value) } } public class ICompositionEffectSourceParameterFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameterFactory } internal func CreateImpl(_ name: String) throws -> ICompositionEffectSourceParameter { let (instance) = try ComPtrs.initialize { instanceAbi in let _name = try! HString(name) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEffectSourceParameterFactory.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Create(pThis, _name.get(), &instanceAbi)) } } return ICompositionEffectSourceParameter(instance!) } } public class ICompositionEllipseGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry } internal func get_CenterImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Center(pThis, &value)) } return .from(abi: value) } internal func put_CenterImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Center(pThis, .from(swift: value))) } } internal func get_RadiusImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Radius(pThis, &value)) } return .from(abi: value) } internal func put_RadiusImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionEllipseGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Radius(pThis, .from(swift: value))) } } } public class ICompositionGeometricClip: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip } internal func get_GeometryImpl() throws -> UWP.CompositionGeometry? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Geometry(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_GeometryImpl(_ value: UWP.CompositionGeometry?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Geometry(pThis, RawPointer(value))) } } internal func get_ViewBoxImpl() throws -> UWP.CompositionViewBox? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ViewBox(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ViewBoxImpl(_ value: UWP.CompositionViewBox?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometricClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ViewBox(pThis, RawPointer(value))) } } } public class ICompositionGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometry } internal func get_TrimEndImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TrimEnd(pThis, &value)) } return value } internal func put_TrimEndImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TrimEnd(pThis, value)) } } internal func get_TrimOffsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TrimOffset(pThis, &value)) } return value } internal func put_TrimOffsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TrimOffset(pThis, value)) } } internal func get_TrimStartImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TrimStart(pThis, &value)) } return value } internal func put_TrimStartImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TrimStart(pThis, value)) } } } public class ICompositionGeometryFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGeometryFactory } } public class ICompositionGradientBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush } internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AnchorPoint(pThis, &value)) } return .from(abi: value) } internal func put_AnchorPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_AnchorPoint(pThis, .from(swift: value))) } } internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterPoint(pThis, &value)) } return .from(abi: value) } internal func put_CenterPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value))) } } internal func get_ColorStopsImpl() throws -> UWP.CompositionColorGradientStopCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ColorStops(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_ExtendModeImpl() throws -> UWP.CompositionGradientExtendMode { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionGradientExtendMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtendMode(pThis, &value)) } return value } internal func put_ExtendModeImpl(_ value: UWP.CompositionGradientExtendMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ExtendMode(pThis, value)) } } internal func get_InterpolationSpaceImpl() throws -> UWP.CompositionColorSpace { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionColorSpace = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InterpolationSpace(pThis, &value)) } return value } internal func put_InterpolationSpaceImpl(_ value: UWP.CompositionColorSpace) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InterpolationSpace(pThis, value)) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_RotationAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngle(pThis, &value)) } return value } internal func put_RotationAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngle(pThis, value)) } } internal func get_RotationAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngleInDegrees(pThis, &value)) } return value } internal func put_RotationAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngleInDegrees(pThis, value)) } } internal func get_ScaleImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Scale(pThis, &value)) } return .from(abi: value) } internal func put_ScaleImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Scale(pThis, .from(swift: value))) } } internal func get_TransformMatrixImpl() throws -> WindowsFoundation.Matrix3x2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformMatrix(pThis, &value)) } return .from(abi: value) } internal func put_TransformMatrixImpl(_ value: WindowsFoundation.Matrix3x2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TransformMatrix(pThis, .from(swift: value))) } } } public class ICompositionGradientBrush2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush2 } internal func get_MappingModeImpl() throws -> UWP.CompositionMappingMode { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionMappingMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MappingMode(pThis, &value)) } return value } internal func put_MappingModeImpl(_ value: UWP.CompositionMappingMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MappingMode(pThis, value)) } } } public class ICompositionGradientBrushFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGradientBrushFactory } } public class ICompositionGraphicsDevice: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice } internal func CreateDrawingSurfaceImpl(_ sizePixels: WindowsFoundation.Size, _ pixelFormat: UWP.DirectXPixelFormat, _ alphaMode: UWP.DirectXAlphaMode) throws -> UWP.CompositionDrawingSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDrawingSurface(pThis, .from(swift: sizePixels), pixelFormat, alphaMode, &resultAbi)) } } return .from(abi: result) } internal func add_RenderingDeviceReplacedImpl(_ handler: TypedEventHandler?) throws -> EventRegistrationToken { var token: EventRegistrationToken = .init() let handlerWrapper = UWP.__x_ABI_C__FITypedEventHandler_2___x_ABI_CWindows__CUI__CComposition__CCompositionGraphicsDevice___x_ABI_CWindows__CUI__CComposition__CRenderingDeviceReplacedEventArgsWrapper(handler) let _handler = try! handlerWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.add_RenderingDeviceReplaced(pThis, _handler, &token)) } return token } internal func remove_RenderingDeviceReplacedImpl(_ token: EventRegistrationToken) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.remove_RenderingDeviceReplaced(pThis, token)) } } } public class ICompositionGraphicsDevice2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice2 } internal func CreateDrawingSurface2Impl(_ sizePixels: UWP.SizeInt32, _ pixelFormat: UWP.DirectXPixelFormat, _ alphaMode: UWP.DirectXAlphaMode) throws -> UWP.CompositionDrawingSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDrawingSurface2(pThis, .from(swift: sizePixels), pixelFormat, alphaMode, &resultAbi)) } } return .from(abi: result) } internal func CreateVirtualDrawingSurfaceImpl(_ sizePixels: UWP.SizeInt32, _ pixelFormat: UWP.DirectXPixelFormat, _ alphaMode: UWP.DirectXAlphaMode) throws -> UWP.CompositionVirtualDrawingSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVirtualDrawingSurface(pThis, .from(swift: sizePixels), pixelFormat, alphaMode, &resultAbi)) } } return .from(abi: result) } } public class ICompositionGraphicsDevice3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice3 } internal func CreateMipmapSurfaceImpl(_ sizePixels: UWP.SizeInt32, _ pixelFormat: UWP.DirectXPixelFormat, _ alphaMode: UWP.DirectXAlphaMode) throws -> UWP.CompositionMipmapSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateMipmapSurface(pThis, .from(swift: sizePixels), pixelFormat, alphaMode, &resultAbi)) } } return .from(abi: result) } internal func TrimImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Trim(pThis)) } } } public class ICompositionLight: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight } internal func get_TargetsImpl() throws -> UWP.VisualUnorderedCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Targets(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionLight2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight2 } internal func get_ExclusionsFromTargetsImpl() throws -> UWP.VisualUnorderedCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExclusionsFromTargets(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionLight3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLight3 } internal func get_IsEnabledImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsEnabled(pThis, &value)) } return .init(from: value) } internal func put_IsEnabledImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsEnabled(pThis, .init(from: value))) } } } public class ICompositionLightFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLightFactory } } public class ICompositionLineGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry } internal func get_StartImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Start(pThis, &value)) } return .from(abi: value) } internal func put_StartImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Start(pThis, .from(swift: value))) } } internal func get_EndImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_End(pThis, &value)) } return .from(abi: value) } internal func put_EndImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLineGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_End(pThis, .from(swift: value))) } } } public class ICompositionLinearGradientBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush } internal func get_EndPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_EndPoint(pThis, &value)) } return .from(abi: value) } internal func put_EndPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_EndPoint(pThis, .from(swift: value))) } } internal func get_StartPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StartPoint(pThis, &value)) } return .from(abi: value) } internal func put_StartPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionLinearGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StartPoint(pThis, .from(swift: value))) } } } public class ICompositionMaskBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush } internal func get_MaskImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mask(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_MaskImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Mask(pThis, RawPointer(value))) } } internal func get_SourceImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Source(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_SourceImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMaskBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Source(pThis, RawPointer(value))) } } } public class ICompositionMipmapSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface } internal func get_LevelCountImpl() throws -> UInt32 { var value: UINT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LevelCount(pThis, &value)) } return value } internal func get_AlphaModeImpl() throws -> UWP.DirectXAlphaMode { var value: __x_ABI_CWindows_CGraphics_CDirectX_CDirectXAlphaMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlphaMode(pThis, &value)) } return value } internal func get_PixelFormatImpl() throws -> UWP.DirectXPixelFormat { var value: __x_ABI_CWindows_CGraphics_CDirectX_CDirectXPixelFormat = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_PixelFormat(pThis, &value)) } return value } internal func get_SizeInt32Impl() throws -> UWP.SizeInt32 { var value: __x_ABI_CWindows_CGraphics_CSizeInt32 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SizeInt32(pThis, &value)) } return .from(abi: value) } internal func GetDrawingSurfaceForLevelImpl(_ level: UInt32) throws -> UWP.CompositionDrawingSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetDrawingSurfaceForLevel(pThis, level, &resultAbi)) } } return .from(abi: result) } } public class ICompositionNineGridBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush } internal func get_BottomInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BottomInset(pThis, &value)) } return value } internal func put_BottomInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BottomInset(pThis, value)) } } internal func get_BottomInsetScaleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BottomInsetScale(pThis, &value)) } return value } internal func put_BottomInsetScaleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BottomInsetScale(pThis, value)) } } internal func get_IsCenterHollowImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsCenterHollow(pThis, &value)) } return .init(from: value) } internal func put_IsCenterHollowImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsCenterHollow(pThis, .init(from: value))) } } internal func get_LeftInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LeftInset(pThis, &value)) } return value } internal func put_LeftInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LeftInset(pThis, value)) } } internal func get_LeftInsetScaleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LeftInsetScale(pThis, &value)) } return value } internal func put_LeftInsetScaleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LeftInsetScale(pThis, value)) } } internal func get_RightInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RightInset(pThis, &value)) } return value } internal func put_RightInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RightInset(pThis, value)) } } internal func get_RightInsetScaleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RightInsetScale(pThis, &value)) } return value } internal func put_RightInsetScaleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RightInsetScale(pThis, value)) } } internal func get_SourceImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Source(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_SourceImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Source(pThis, RawPointer(value))) } } internal func get_TopInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TopInset(pThis, &value)) } return value } internal func put_TopInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TopInset(pThis, value)) } } internal func get_TopInsetScaleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TopInsetScale(pThis, &value)) } return value } internal func put_TopInsetScaleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TopInsetScale(pThis, value)) } } internal func SetInsetsImpl(_ inset: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetInsets(pThis, inset)) } } internal func SetInsetsWithValuesImpl(_ left: Float, _ top: Float, _ right: Float, _ bottom: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetInsetsWithValues(pThis, left, top, right, bottom)) } } internal func SetInsetScalesImpl(_ scale: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetInsetScales(pThis, scale)) } } internal func SetInsetScalesWithValuesImpl(_ left: Float, _ top: Float, _ right: Float, _ bottom: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetInsetScalesWithValues(pThis, left, top, right, bottom)) } } } public class ICompositionObject: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject } internal func get_CompositorImpl() throws -> UWP.Compositor? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Compositor(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_DispatcherImpl() throws -> UWP.CoreDispatcher? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Dispatcher(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_PropertiesImpl() throws -> UWP.CompositionPropertySet? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Properties(pThis, &valueAbi)) } } return .from(abi: value) } internal func StartAnimationImpl(_ propertyName: String, _ animation: UWP.CompositionAnimation?) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimation(pThis, _propertyName.get(), RawPointer(animation))) } } internal func StopAnimationImpl(_ propertyName: String) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StopAnimation(pThis, _propertyName.get())) } } } public class ICompositionObject2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject2 } internal func get_CommentImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Comment(pThis, &value)) } return .init(from: value) } internal func put_CommentImpl(_ value: String) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Comment(pThis, _value.get())) } } internal func get_ImplicitAnimationsImpl() throws -> UWP.ImplicitAnimationCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ImplicitAnimations(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ImplicitAnimationsImpl(_ value: UWP.ImplicitAnimationCollection?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ImplicitAnimations(pThis, RawPointer(value))) } } internal func StartAnimationGroupImpl(_ value: UWP.AnyICompositionAnimationBase?) throws { let valueWrapper = __ABI_Windows_UI_Composition.ICompositionAnimationBaseWrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationGroup(pThis, _value)) } } internal func StopAnimationGroupImpl(_ value: UWP.AnyICompositionAnimationBase?) throws { let valueWrapper = __ABI_Windows_UI_Composition.ICompositionAnimationBaseWrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StopAnimationGroup(pThis, _value)) } } } public class ICompositionObject3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject3 } internal func get_DispatcherQueueImpl() throws -> UWP.DispatcherQueue? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DispatcherQueue(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionObject4: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObject4 } internal func TryGetAnimationControllerImpl(_ propertyName: String) throws -> UWP.AnimationController? { let (result) = try ComPtrs.initialize { resultAbi in let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObject4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetAnimationController(pThis, _propertyName.get(), &resultAbi)) } } return .from(abi: result) } } public class ICompositionObjectFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObjectFactory } } public class ICompositionObjectStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionObjectStatics } internal func StartAnimationWithIAnimationObjectImpl(_ target: UWP.AnyIAnimationObject?, _ propertyName: String, _ animation: UWP.CompositionAnimation?) throws { let targetWrapper = __ABI_Windows_UI_Composition.IAnimationObjectWrapper(target) let _target = try! targetWrapper?.toABI { $0 } let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObjectStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationWithIAnimationObject(pThis, _target, _propertyName.get(), RawPointer(animation))) } } internal func StartAnimationGroupWithIAnimationObjectImpl(_ target: UWP.AnyIAnimationObject?, _ animation: UWP.AnyICompositionAnimationBase?) throws { let targetWrapper = __ABI_Windows_UI_Composition.IAnimationObjectWrapper(target) let _target = try! targetWrapper?.toABI { $0 } let animationWrapper = __ABI_Windows_UI_Composition.ICompositionAnimationBaseWrapper(animation) let _animation = try! animationWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionObjectStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationGroupWithIAnimationObject(pThis, _target, _animation)) } } } public class ICompositionPath: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionPath } } public class ICompositionPathFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionPathFactory } internal func CreateImpl(_ source: UWP.AnyIGeometrySource2D?) throws -> ICompositionPath { let (result) = try ComPtrs.initialize { resultAbi in let sourceWrapper = __ABI_Windows_Graphics.IGeometrySource2DWrapper(source) let _source = try! sourceWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPathFactory.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Create(pThis, _source, &resultAbi)) } } return ICompositionPath(result!) } } public class ICompositionPathGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionPathGeometry } internal func get_PathImpl() throws -> UWP.CompositionPath? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPathGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Path(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_PathImpl(_ value: UWP.CompositionPath?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPathGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Path(pThis, RawPointer(value))) } } } public class ICompositionProjectedShadow: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow } internal func get_BlurRadiusMultiplierImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BlurRadiusMultiplier(pThis, &value)) } return value } internal func put_BlurRadiusMultiplierImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BlurRadiusMultiplier(pThis, value)) } } internal func get_CastersImpl() throws -> UWP.CompositionProjectedShadowCasterCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Casters(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_LightSourceImpl() throws -> UWP.CompositionLight? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LightSource(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_LightSourceImpl(_ value: UWP.CompositionLight?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LightSource(pThis, RawPointer(value))) } } internal func get_MaxBlurRadiusImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxBlurRadius(pThis, &value)) } return value } internal func put_MaxBlurRadiusImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MaxBlurRadius(pThis, value)) } } internal func get_MinBlurRadiusImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MinBlurRadius(pThis, &value)) } return value } internal func put_MinBlurRadiusImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MinBlurRadius(pThis, value)) } } internal func get_ReceiversImpl() throws -> UWP.CompositionProjectedShadowReceiverUnorderedCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Receivers(pThis, &valueAbi)) } } return .from(abi: value) } } public class ICompositionProjectedShadowCaster: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster } internal func get_BrushImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Brush(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_BrushImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Brush(pThis, RawPointer(value))) } } internal func get_CastingVisualImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CastingVisual(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_CastingVisualImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCaster.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CastingVisual(pThis, RawPointer(value))) } } } public class ICompositionProjectedShadowCasterCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection } internal func get_CountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value)) } return value } internal func InsertAboveImpl(_ newCaster: UWP.CompositionProjectedShadowCaster?, _ reference: UWP.CompositionProjectedShadowCaster?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAbove(pThis, RawPointer(newCaster), RawPointer(reference))) } } internal func InsertAtBottomImpl(_ newCaster: UWP.CompositionProjectedShadowCaster?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtBottom(pThis, RawPointer(newCaster))) } } internal func InsertAtTopImpl(_ newCaster: UWP.CompositionProjectedShadowCaster?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtTop(pThis, RawPointer(newCaster))) } } internal func InsertBelowImpl(_ newCaster: UWP.CompositionProjectedShadowCaster?, _ reference: UWP.CompositionProjectedShadowCaster?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertBelow(pThis, RawPointer(newCaster), RawPointer(reference))) } } internal func RemoveImpl(_ caster: UWP.CompositionProjectedShadowCaster?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Remove(pThis, RawPointer(caster))) } } internal func RemoveAllImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis)) } } } public class ICompositionProjectedShadowCasterCollectionStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollectionStatics } internal func get_MaxRespectedCastersImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowCasterCollectionStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxRespectedCasters(pThis, &value)) } return value } } public class ICompositionProjectedShadowReceiver: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiver } internal func get_ReceivingVisualImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiver.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ReceivingVisual(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ReceivingVisualImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiver.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ReceivingVisual(pThis, RawPointer(value))) } } } public class ICompositionProjectedShadowReceiverUnorderedCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection } internal func AddImpl(_ value: UWP.CompositionProjectedShadowReceiver?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Add(pThis, RawPointer(value))) } } internal func get_CountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value)) } return value } internal func RemoveImpl(_ value: UWP.CompositionProjectedShadowReceiver?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Remove(pThis, RawPointer(value))) } } internal func RemoveAllImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis)) } } } public class ICompositionPropertySet: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet } internal func InsertColorImpl(_ propertyName: String, _ value: UWP.Color) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertColor(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertMatrix3x2Impl(_ propertyName: String, _ value: WindowsFoundation.Matrix3x2) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertMatrix3x2(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertMatrix4x4Impl(_ propertyName: String, _ value: WindowsFoundation.Matrix4x4) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertMatrix4x4(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertQuaternionImpl(_ propertyName: String, _ value: WindowsFoundation.Quaternion) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertQuaternion(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertScalarImpl(_ propertyName: String, _ value: Float) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertScalar(pThis, _propertyName.get(), value)) } } internal func InsertVector2Impl(_ propertyName: String, _ value: WindowsFoundation.Vector2) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertVector2(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertVector3Impl(_ propertyName: String, _ value: WindowsFoundation.Vector3) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertVector3(pThis, _propertyName.get(), .from(swift: value))) } } internal func InsertVector4Impl(_ propertyName: String, _ value: WindowsFoundation.Vector4) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertVector4(pThis, _propertyName.get(), .from(swift: value))) } } internal func TryGetColorImpl(_ propertyName: String, _ value: inout UWP.Color) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetColor(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetMatrix3x2Impl(_ propertyName: String, _ value: inout WindowsFoundation.Matrix3x2) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetMatrix3x2(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetMatrix4x4Impl(_ propertyName: String, _ value: inout WindowsFoundation.Matrix4x4) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetMatrix4x4(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetQuaternionImpl(_ propertyName: String, _ value: inout WindowsFoundation.Quaternion) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetQuaternion(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetScalarImpl(_ propertyName: String, _ value: inout Float) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetScalar(pThis, _propertyName.get(), &value, &result)) } return result } internal func TryGetVector2Impl(_ propertyName: String, _ value: inout WindowsFoundation.Vector2) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetVector2(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetVector3Impl(_ propertyName: String, _ value: inout WindowsFoundation.Vector3) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetVector3(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } internal func TryGetVector4Impl(_ propertyName: String, _ value: inout WindowsFoundation.Vector4) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector4 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetVector4(pThis, _propertyName.get(), &_value, &result)) } value = .from(abi: _value) return result } } public class ICompositionPropertySet2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet2 } internal func InsertBooleanImpl(_ propertyName: String, _ value: Bool) throws { let _propertyName = try! HString(propertyName) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertBoolean(pThis, _propertyName.get(), .init(from: value))) } } internal func TryGetBooleanImpl(_ propertyName: String, _ value: inout Bool) throws -> UWP.CompositionGetValueStatus { var result: __x_ABI_CWindows_CUI_CComposition_CCompositionGetValueStatus = .init(0) let _propertyName = try! HString(propertyName) var _value: boolean = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionPropertySet2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetBoolean(pThis, _propertyName.get(), &_value, &result)) } value = .init(from: _value) return result } } public class ICompositionRadialGradientBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush } internal func get_EllipseCenterImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_EllipseCenter(pThis, &value)) } return .from(abi: value) } internal func put_EllipseCenterImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_EllipseCenter(pThis, .from(swift: value))) } } internal func get_EllipseRadiusImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_EllipseRadius(pThis, &value)) } return .from(abi: value) } internal func put_EllipseRadiusImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_EllipseRadius(pThis, .from(swift: value))) } } internal func get_GradientOriginOffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_GradientOriginOffset(pThis, &value)) } return .from(abi: value) } internal func put_GradientOriginOffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRadialGradientBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_GradientOriginOffset(pThis, .from(swift: value))) } } } public class ICompositionRectangleGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_SizeImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Size(pThis, &value)) } return .from(abi: value) } internal func put_SizeImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Size(pThis, .from(swift: value))) } } } public class ICompositionRoundedRectangleGeometry: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry } internal func get_CornerRadiusImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CornerRadius(pThis, &value)) } return .from(abi: value) } internal func put_CornerRadiusImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CornerRadius(pThis, .from(swift: value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_SizeImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Size(pThis, &value)) } return .from(abi: value) } internal func put_SizeImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionRoundedRectangleGeometry.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Size(pThis, .from(swift: value))) } } } public class ICompositionScopedBatch: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch } internal func get_IsActiveImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsActive(pThis, &value)) } return .init(from: value) } internal func get_IsEndedImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsEnded(pThis, &value)) } return .init(from: value) } internal func EndImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.End(pThis)) } } internal func ResumeImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Resume(pThis)) } } internal func SuspendImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Suspend(pThis)) } } internal func add_CompletedImpl(_ handler: TypedEventHandler?) throws -> EventRegistrationToken { var token: EventRegistrationToken = .init() let handlerWrapper = UWP.__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CUI__CComposition__CCompositionBatchCompletedEventArgsWrapper(handler) let _handler = try! handlerWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.add_Completed(pThis, _handler, &token)) } return token } internal func remove_CompletedImpl(_ token: EventRegistrationToken) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionScopedBatch.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Completed(pThis, token)) } } } public class ICompositionShadow: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionShadow } } public class ICompositionShadowFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionShadowFactory } } public class ICompositionShape: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionShape } internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterPoint(pThis, &value)) } return .from(abi: value) } internal func put_CenterPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_RotationAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngle(pThis, &value)) } return value } internal func put_RotationAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngle(pThis, value)) } } internal func get_RotationAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngleInDegrees(pThis, &value)) } return value } internal func put_RotationAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngleInDegrees(pThis, value)) } } internal func get_ScaleImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Scale(pThis, &value)) } return .from(abi: value) } internal func put_ScaleImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Scale(pThis, .from(swift: value))) } } internal func get_TransformMatrixImpl() throws -> WindowsFoundation.Matrix3x2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformMatrix(pThis, &value)) } return .from(abi: value) } internal func put_TransformMatrixImpl(_ value: WindowsFoundation.Matrix3x2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TransformMatrix(pThis, .from(swift: value))) } } } public class ICompositionShapeFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionShapeFactory } } public class ICompositionSpriteShape: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape } internal func get_FillBrushImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FillBrush(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_FillBrushImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_FillBrush(pThis, RawPointer(value))) } } internal func get_GeometryImpl() throws -> UWP.CompositionGeometry? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Geometry(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_GeometryImpl(_ value: UWP.CompositionGeometry?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Geometry(pThis, RawPointer(value))) } } internal func get_IsStrokeNonScalingImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsStrokeNonScaling(pThis, &value)) } return .init(from: value) } internal func put_IsStrokeNonScalingImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsStrokeNonScaling(pThis, .init(from: value))) } } internal func get_StrokeBrushImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeBrush(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_StrokeBrushImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeBrush(pThis, RawPointer(value))) } } internal func get_StrokeDashArrayImpl() throws -> UWP.CompositionStrokeDashArray? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeDashArray(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_StrokeDashCapImpl() throws -> UWP.CompositionStrokeCap { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStrokeCap = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeDashCap(pThis, &value)) } return value } internal func put_StrokeDashCapImpl(_ value: UWP.CompositionStrokeCap) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeDashCap(pThis, value)) } } internal func get_StrokeDashOffsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeDashOffset(pThis, &value)) } return value } internal func put_StrokeDashOffsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeDashOffset(pThis, value)) } } internal func get_StrokeEndCapImpl() throws -> UWP.CompositionStrokeCap { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStrokeCap = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeEndCap(pThis, &value)) } return value } internal func put_StrokeEndCapImpl(_ value: UWP.CompositionStrokeCap) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeEndCap(pThis, value)) } } internal func get_StrokeLineJoinImpl() throws -> UWP.CompositionStrokeLineJoin { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStrokeLineJoin = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeLineJoin(pThis, &value)) } return value } internal func put_StrokeLineJoinImpl(_ value: UWP.CompositionStrokeLineJoin) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeLineJoin(pThis, value)) } } internal func get_StrokeMiterLimitImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeMiterLimit(pThis, &value)) } return value } internal func put_StrokeMiterLimitImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeMiterLimit(pThis, value)) } } internal func get_StrokeStartCapImpl() throws -> UWP.CompositionStrokeCap { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStrokeCap = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeStartCap(pThis, &value)) } return value } internal func put_StrokeStartCapImpl(_ value: UWP.CompositionStrokeCap) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeStartCap(pThis, value)) } } internal func get_StrokeThicknessImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeThickness(pThis, &value)) } return value } internal func put_StrokeThicknessImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSpriteShape.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeThickness(pThis, value)) } } } public class ICompositionSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurface } } internal static var ICompositionSurfaceVTable: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceVtbl = .init( QueryInterface: { ICompositionSurfaceWrapper.queryInterface($0, $1, $2) }, AddRef: { ICompositionSurfaceWrapper.addRef($0) }, Release: { ICompositionSurfaceWrapper.release($0) }, GetIids: { let size = MemoryLayout.size let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self) iids[0] = IUnknown.IID iids[1] = IInspectable.IID iids[2] = __ABI_Windows_UI_Composition.ICompositionSurfaceWrapper.IID $1!.pointee = 3 $2!.pointee = iids return S_OK }, GetRuntimeClassName: { _ = $0 let hstring = try! HString("Windows.UI.Composition.ICompositionSurface").detach() $1!.pointee = hstring return S_OK }, GetTrustLevel: { _ = $0 $1!.pointee = TrustLevel(rawValue: 0) return S_OK } ) public typealias ICompositionSurfaceWrapper = InterfaceWrapperBase<__IMPL_Windows_UI_Composition.ICompositionSurfaceBridge> public class ICompositionSurfaceBrush: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush } internal func get_BitmapInterpolationModeImpl() throws -> UWP.CompositionBitmapInterpolationMode { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionBitmapInterpolationMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BitmapInterpolationMode(pThis, &value)) } return value } internal func put_BitmapInterpolationModeImpl(_ value: UWP.CompositionBitmapInterpolationMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BitmapInterpolationMode(pThis, value)) } } internal func get_HorizontalAlignmentRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_HorizontalAlignmentRatio(pThis, &value)) } return value } internal func put_HorizontalAlignmentRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_HorizontalAlignmentRatio(pThis, value)) } } internal func get_StretchImpl() throws -> UWP.CompositionStretch { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStretch = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Stretch(pThis, &value)) } return value } internal func put_StretchImpl(_ value: UWP.CompositionStretch) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Stretch(pThis, value)) } } internal func get_SurfaceImpl() throws -> UWP.AnyICompositionSurface? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Surface(pThis, &valueAbi)) } } return __ABI_Windows_UI_Composition.ICompositionSurfaceWrapper.unwrapFrom(abi: value) } internal func put_SurfaceImpl(_ value: UWP.AnyICompositionSurface?) throws { let valueWrapper = __ABI_Windows_UI_Composition.ICompositionSurfaceWrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Surface(pThis, _value)) } } internal func get_VerticalAlignmentRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VerticalAlignmentRatio(pThis, &value)) } return value } internal func put_VerticalAlignmentRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_VerticalAlignmentRatio(pThis, value)) } } } public class ICompositionSurfaceBrush2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2 } internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AnchorPoint(pThis, &value)) } return .from(abi: value) } internal func put_AnchorPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_AnchorPoint(pThis, .from(swift: value))) } } internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterPoint(pThis, &value)) } return .from(abi: value) } internal func put_CenterPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_RotationAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngle(pThis, &value)) } return value } internal func put_RotationAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngle(pThis, value)) } } internal func get_RotationAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngleInDegrees(pThis, &value)) } return value } internal func put_RotationAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngleInDegrees(pThis, value)) } } internal func get_ScaleImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Scale(pThis, &value)) } return .from(abi: value) } internal func put_ScaleImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Scale(pThis, .from(swift: value))) } } internal func get_TransformMatrixImpl() throws -> WindowsFoundation.Matrix3x2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformMatrix(pThis, &value)) } return .from(abi: value) } internal func put_TransformMatrixImpl(_ value: WindowsFoundation.Matrix3x2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TransformMatrix(pThis, .from(swift: value))) } } } public class ICompositionSurfaceBrush3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush3 } internal func get_SnapToPixelsImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SnapToPixels(pThis, &value)) } return .init(from: value) } internal func put_SnapToPixelsImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionSurfaceBrush3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_SnapToPixels(pThis, .init(from: value))) } } } public class ICompositionTarget: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionTarget } internal func get_RootImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionTarget.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Root(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_RootImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionTarget.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Root(pThis, RawPointer(value))) } } } public class ICompositionTargetFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionTargetFactory } } public class ICompositionTransform: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionTransform } } public class ICompositionTransformFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionTransformFactory } } public class ICompositionViewBox: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionViewBox } internal func get_HorizontalAlignmentRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_HorizontalAlignmentRatio(pThis, &value)) } return value } internal func put_HorizontalAlignmentRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_HorizontalAlignmentRatio(pThis, value)) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_SizeImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Size(pThis, &value)) } return .from(abi: value) } internal func put_SizeImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Size(pThis, .from(swift: value))) } } internal func get_StretchImpl() throws -> UWP.CompositionStretch { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionStretch = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Stretch(pThis, &value)) } return value } internal func put_StretchImpl(_ value: UWP.CompositionStretch) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Stretch(pThis, value)) } } internal func get_VerticalAlignmentRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VerticalAlignmentRatio(pThis, &value)) } return value } internal func put_VerticalAlignmentRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionViewBox.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_VerticalAlignmentRatio(pThis, value)) } } } public class ICompositionVirtualDrawingSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionVirtualDrawingSurface } } public class ICompositionVirtualDrawingSurfaceFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionVirtualDrawingSurfaceFactory } } public class ICompositionVisualSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface } internal func get_SourceVisualImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceVisual(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_SourceVisualImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_SourceVisual(pThis, RawPointer(value))) } } internal func get_SourceOffsetImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceOffset(pThis, &value)) } return .from(abi: value) } internal func put_SourceOffsetImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_SourceOffset(pThis, .from(swift: value))) } } internal func get_SourceSizeImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceSize(pThis, &value)) } return .from(abi: value) } internal func put_SourceSizeImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositionVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_SourceSize(pThis, .from(swift: value))) } } } public class ICompositor: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor } internal func CreateColorKeyFrameAnimationImpl() throws -> UWP.ColorKeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorKeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateColorBrushImpl() throws -> UWP.CompositionColorBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateColorBrushWithColorImpl(_ color: UWP.Color) throws -> UWP.CompositionColorBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorBrushWithColor(pThis, .from(swift: color), &resultAbi)) } } return .from(abi: result) } internal func CreateContainerVisualImpl() throws -> UWP.ContainerVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateContainerVisual(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateCubicBezierEasingFunctionImpl(_ controlPoint1: WindowsFoundation.Vector2, _ controlPoint2: WindowsFoundation.Vector2) throws -> UWP.CubicBezierEasingFunction? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateCubicBezierEasingFunction(pThis, .from(swift: controlPoint1), .from(swift: controlPoint2), &resultAbi)) } } return .from(abi: result) } internal func CreateEffectFactoryImpl(_ graphicsEffect: UWP.AnyIGraphicsEffect?) throws -> UWP.CompositionEffectFactory? { let (result) = try ComPtrs.initialize { resultAbi in let graphicsEffectWrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectWrapper(graphicsEffect) let _graphicsEffect = try! graphicsEffectWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateEffectFactory(pThis, _graphicsEffect, &resultAbi)) } } return .from(abi: result) } internal func CreateEffectFactoryWithPropertiesImpl(_ graphicsEffect: UWP.AnyIGraphicsEffect?, _ animatableProperties: WindowsFoundation.AnyIIterable?) throws -> UWP.CompositionEffectFactory? { let (result) = try ComPtrs.initialize { resultAbi in let graphicsEffectWrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectWrapper(graphicsEffect) let _graphicsEffect = try! graphicsEffectWrapper?.toABI { $0 } let animatablePropertiesWrapper = UWP.__x_ABI_C__FIIterable_1_HSTRINGWrapper(animatableProperties) let _animatableProperties = try! animatablePropertiesWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateEffectFactoryWithProperties(pThis, _graphicsEffect, _animatableProperties, &resultAbi)) } } return .from(abi: result) } internal func CreateExpressionAnimationImpl() throws -> UWP.ExpressionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateExpressionAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateExpressionAnimationWithExpressionImpl(_ expression: String) throws -> UWP.ExpressionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in let _expression = try! HString(expression) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateExpressionAnimationWithExpression(pThis, _expression.get(), &resultAbi)) } } return .from(abi: result) } internal func CreateInsetClipImpl() throws -> UWP.InsetClip? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInsetClip(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateInsetClipWithInsetsImpl(_ leftInset: Float, _ topInset: Float, _ rightInset: Float, _ bottomInset: Float) throws -> UWP.InsetClip? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInsetClipWithInsets(pThis, leftInset, topInset, rightInset, bottomInset, &resultAbi)) } } return .from(abi: result) } internal func CreateLinearEasingFunctionImpl() throws -> UWP.LinearEasingFunction? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLinearEasingFunction(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreatePropertySetImpl() throws -> UWP.CompositionPropertySet? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePropertySet(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateQuaternionKeyFrameAnimationImpl() throws -> UWP.QuaternionKeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateQuaternionKeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateScalarKeyFrameAnimationImpl() throws -> UWP.ScalarKeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateScalarKeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateScopedBatchImpl(_ batchType: UWP.CompositionBatchTypes) throws -> UWP.CompositionScopedBatch? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateScopedBatch(pThis, batchType, &resultAbi)) } } return .from(abi: result) } internal func CreateSpriteVisualImpl() throws -> UWP.SpriteVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpriteVisual(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSurfaceBrushImpl() throws -> UWP.CompositionSurfaceBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSurfaceBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSurfaceBrushWithSurfaceImpl(_ surface: UWP.AnyICompositionSurface?) throws -> UWP.CompositionSurfaceBrush? { let (result) = try ComPtrs.initialize { resultAbi in let surfaceWrapper = __ABI_Windows_UI_Composition.ICompositionSurfaceWrapper(surface) let _surface = try! surfaceWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSurfaceBrushWithSurface(pThis, _surface, &resultAbi)) } } return .from(abi: result) } internal func CreateTargetForCurrentViewImpl() throws -> UWP.CompositionTarget? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateTargetForCurrentView(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateVector2KeyFrameAnimationImpl() throws -> UWP.Vector2KeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector2KeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateVector3KeyFrameAnimationImpl() throws -> UWP.Vector3KeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector3KeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateVector4KeyFrameAnimationImpl() throws -> UWP.Vector4KeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector4KeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func GetCommitBatchImpl(_ batchType: UWP.CompositionBatchTypes) throws -> UWP.CompositionCommitBatch? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetCommitBatch(pThis, batchType, &resultAbi)) } } return .from(abi: result) } } public class ICompositor2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor2 } internal func CreateAmbientLightImpl() throws -> UWP.AmbientLight? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAmbientLight(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateAnimationGroupImpl() throws -> UWP.CompositionAnimationGroup? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAnimationGroup(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateBackdropBrushImpl() throws -> UWP.CompositionBackdropBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBackdropBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateDistantLightImpl() throws -> UWP.DistantLight? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDistantLight(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateDropShadowImpl() throws -> UWP.DropShadow? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDropShadow(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateImplicitAnimationCollectionImpl() throws -> UWP.ImplicitAnimationCollection? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateImplicitAnimationCollection(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateLayerVisualImpl() throws -> UWP.LayerVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLayerVisual(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateMaskBrushImpl() throws -> UWP.CompositionMaskBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateMaskBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateNineGridBrushImpl() throws -> UWP.CompositionNineGridBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateNineGridBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreatePointLightImpl() throws -> UWP.PointLight? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePointLight(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpotLightImpl() throws -> UWP.SpotLight? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpotLight(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateStepEasingFunctionImpl() throws -> UWP.StepEasingFunction? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateStepEasingFunction(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateStepEasingFunctionWithStepCountImpl(_ stepCount: Int32) throws -> UWP.StepEasingFunction? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateStepEasingFunctionWithStepCount(pThis, stepCount, &resultAbi)) } } return .from(abi: result) } } public class ICompositor3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor3 } internal func CreateHostBackdropBrushImpl() throws -> UWP.CompositionBackdropBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateHostBackdropBrush(pThis, &resultAbi)) } } return .from(abi: result) } } public class ICompositor4: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor4 } internal func CreateColorGradientStopImpl() throws -> UWP.CompositionColorGradientStop? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorGradientStop(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateColorGradientStopWithOffsetAndColorImpl(_ offset: Float, _ color: UWP.Color) throws -> UWP.CompositionColorGradientStop? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorGradientStopWithOffsetAndColor(pThis, offset, .from(swift: color), &resultAbi)) } } return .from(abi: result) } internal func CreateLinearGradientBrushImpl() throws -> UWP.CompositionLinearGradientBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLinearGradientBrush(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpringScalarAnimationImpl() throws -> UWP.SpringScalarNaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpringScalarAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpringVector2AnimationImpl() throws -> UWP.SpringVector2NaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpringVector2Animation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpringVector3AnimationImpl() throws -> UWP.SpringVector3NaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor4.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpringVector3Animation(pThis, &resultAbi)) } } return .from(abi: result) } } public class ICompositor5: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor5 } internal func get_CommentImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Comment(pThis, &value)) } return .init(from: value) } internal func put_CommentImpl(_ value: String) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Comment(pThis, _value.get())) } } internal func get_GlobalPlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_GlobalPlaybackRate(pThis, &value)) } return value } internal func put_GlobalPlaybackRateImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_GlobalPlaybackRate(pThis, value)) } } internal func CreateBounceScalarAnimationImpl() throws -> UWP.BounceScalarNaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceScalarAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateBounceVector2AnimationImpl() throws -> UWP.BounceVector2NaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceVector2Animation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateBounceVector3AnimationImpl() throws -> UWP.BounceVector3NaturalMotionAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceVector3Animation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateContainerShapeImpl() throws -> UWP.CompositionContainerShape? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateContainerShape(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateEllipseGeometryImpl() throws -> UWP.CompositionEllipseGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateEllipseGeometry(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateLineGeometryImpl() throws -> UWP.CompositionLineGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLineGeometry(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreatePathGeometryImpl() throws -> UWP.CompositionPathGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePathGeometry(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreatePathGeometryWithPathImpl(_ path: UWP.CompositionPath?) throws -> UWP.CompositionPathGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePathGeometryWithPath(pThis, RawPointer(path), &resultAbi)) } } return .from(abi: result) } internal func CreatePathKeyFrameAnimationImpl() throws -> UWP.PathKeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePathKeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateRectangleGeometryImpl() throws -> UWP.CompositionRectangleGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRectangleGeometry(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateRoundedRectangleGeometryImpl() throws -> UWP.CompositionRoundedRectangleGeometry? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRoundedRectangleGeometry(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateShapeVisualImpl() throws -> UWP.ShapeVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateShapeVisual(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpriteShapeImpl() throws -> UWP.CompositionSpriteShape? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpriteShape(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateSpriteShapeWithGeometryImpl(_ geometry: UWP.CompositionGeometry?) throws -> UWP.CompositionSpriteShape? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpriteShapeWithGeometry(pThis, RawPointer(geometry), &resultAbi)) } } return .from(abi: result) } internal func CreateViewBoxImpl() throws -> UWP.CompositionViewBox? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateViewBox(pThis, &resultAbi)) } } return .from(abi: result) } internal func RequestCommitAsyncImpl() throws -> WindowsFoundation.AnyIAsyncAction? { let (action) = try ComPtrs.initialize { actionAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor5.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RequestCommitAsync(pThis, &actionAbi)) } } return __ABI_Windows_Foundation.IAsyncActionWrapper.unwrapFrom(abi: action) } } public class ICompositor6: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositor6 } internal func CreateGeometricClipImpl() throws -> UWP.CompositionGeometricClip? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor6.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateGeometricClip(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateGeometricClipWithGeometryImpl(_ geometry: UWP.CompositionGeometry?) throws -> UWP.CompositionGeometricClip? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor6.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateGeometricClipWithGeometry(pThis, RawPointer(geometry), &resultAbi)) } } return .from(abi: result) } internal func CreateRedirectVisualImpl() throws -> UWP.RedirectVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor6.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRedirectVisual(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateRedirectVisualWithSourceVisualImpl(_ source: UWP.Visual?) throws -> UWP.RedirectVisual? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor6.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRedirectVisualWithSourceVisual(pThis, RawPointer(source), &resultAbi)) } } return .from(abi: result) } internal func CreateBooleanKeyFrameAnimationImpl() throws -> UWP.BooleanKeyFrameAnimation? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositor6.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBooleanKeyFrameAnimation(pThis, &resultAbi)) } } return .from(abi: result) } } public class ICompositorStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositorStatics } internal func get_MaxGlobalPlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxGlobalPlaybackRate(pThis, &value)) } return value } internal func get_MinGlobalPlaybackRateImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MinGlobalPlaybackRate(pThis, &value)) } return value } } public class ICompositorWithProjectedShadow: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithProjectedShadow } internal func CreateProjectedShadowCasterImpl() throws -> UWP.CompositionProjectedShadowCaster? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorWithProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateProjectedShadowCaster(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateProjectedShadowImpl() throws -> UWP.CompositionProjectedShadow? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorWithProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateProjectedShadow(pThis, &resultAbi)) } } return .from(abi: result) } internal func CreateProjectedShadowReceiverImpl() throws -> UWP.CompositionProjectedShadowReceiver? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorWithProjectedShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateProjectedShadowReceiver(pThis, &resultAbi)) } } return .from(abi: result) } } public class ICompositorWithRadialGradient: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithRadialGradient } internal func CreateRadialGradientBrushImpl() throws -> UWP.CompositionRadialGradientBrush? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorWithRadialGradient.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRadialGradientBrush(pThis, &resultAbi)) } } return .from(abi: result) } } public class ICompositorWithVisualSurface: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICompositorWithVisualSurface } internal func CreateVisualSurfaceImpl() throws -> UWP.CompositionVisualSurface? { let (result) = try ComPtrs.initialize { resultAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICompositorWithVisualSurface.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVisualSurface(pThis, &resultAbi)) } } return .from(abi: result) } } public class IContainerVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIContainerVisual } internal func get_ChildrenImpl() throws -> UWP.VisualCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIContainerVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Children(pThis, &valueAbi)) } } return .from(abi: value) } } public class IContainerVisualFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIContainerVisualFactory } } public class ICubicBezierEasingFunction: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CICubicBezierEasingFunction } internal func get_ControlPoint1Impl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICubicBezierEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ControlPoint1(pThis, &value)) } return .from(abi: value) } internal func get_ControlPoint2Impl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CICubicBezierEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ControlPoint2(pThis, &value)) } return .from(abi: value) } } public class IDistantLight: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIDistantLight } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } internal func get_CoordinateSpaceImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CoordinateSpace(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_CoordinateSpaceImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CoordinateSpace(pThis, RawPointer(value))) } } internal func get_DirectionImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Direction(pThis, &value)) } return .from(abi: value) } internal func put_DirectionImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Direction(pThis, .from(swift: value))) } } } public class IDistantLight2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIDistantLight2 } internal func get_IntensityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Intensity(pThis, &value)) } return value } internal func put_IntensityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDistantLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Intensity(pThis, value)) } } } public class IDropShadow: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIDropShadow } internal func get_BlurRadiusImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BlurRadius(pThis, &value)) } return value } internal func put_BlurRadiusImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BlurRadius(pThis, value)) } } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } internal func get_MaskImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mask(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_MaskImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Mask(pThis, RawPointer(value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_OpacityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Opacity(pThis, &value)) } return value } internal func put_OpacityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Opacity(pThis, value)) } } } public class IDropShadow2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIDropShadow2 } internal func get_SourcePolicyImpl() throws -> UWP.CompositionDropShadowSourcePolicy { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionDropShadowSourcePolicy = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourcePolicy(pThis, &value)) } return value } internal func put_SourcePolicyImpl(_ value: UWP.CompositionDropShadowSourcePolicy) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIDropShadow2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_SourcePolicy(pThis, value)) } } } public class IExpressionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIExpressionAnimation } internal func get_ExpressionImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIExpressionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Expression(pThis, &value)) } return .init(from: value) } internal func put_ExpressionImpl(_ value: String) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIExpressionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Expression(pThis, _value.get())) } } } public class IImplicitAnimationCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIImplicitAnimationCollection } } public class IInsetClip: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIInsetClip } internal func get_BottomInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BottomInset(pThis, &value)) } return value } internal func put_BottomInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BottomInset(pThis, value)) } } internal func get_LeftInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LeftInset(pThis, &value)) } return value } internal func put_LeftInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LeftInset(pThis, value)) } } internal func get_RightInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RightInset(pThis, &value)) } return value } internal func put_RightInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RightInset(pThis, value)) } } internal func get_TopInsetImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TopInset(pThis, &value)) } return value } internal func put_TopInsetImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIInsetClip.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TopInset(pThis, value)) } } } public class IKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation } internal func get_DelayTimeImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayTime(pThis, &value)) } return .from(abi: value) } internal func put_DelayTimeImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DelayTime(pThis, .from(swift: value))) } } internal func get_DurationImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Duration(pThis, &value)) } return .from(abi: value) } internal func put_DurationImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Duration(pThis, .from(swift: value))) } } internal func get_IterationBehaviorImpl() throws -> UWP.AnimationIterationBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationIterationBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IterationBehavior(pThis, &value)) } return value } internal func put_IterationBehaviorImpl(_ value: UWP.AnimationIterationBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IterationBehavior(pThis, value)) } } internal func get_IterationCountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IterationCount(pThis, &value)) } return value } internal func put_IterationCountImpl(_ value: Int32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IterationCount(pThis, value)) } } internal func get_KeyFrameCountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_KeyFrameCount(pThis, &value)) } return value } internal func get_StopBehaviorImpl() throws -> UWP.AnimationStopBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationStopBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StopBehavior(pThis, &value)) } return value } internal func put_StopBehaviorImpl(_ value: UWP.AnimationStopBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StopBehavior(pThis, value)) } } internal func InsertExpressionKeyFrameImpl(_ normalizedProgressKey: Float, _ value: String) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertExpressionKeyFrame(pThis, normalizedProgressKey, _value.get())) } } internal func InsertExpressionKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: String, _ easingFunction: UWP.CompositionEasingFunction?) throws { let _value = try! HString(value) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertExpressionKeyFrameWithEasingFunction(pThis, normalizedProgressKey, _value.get(), RawPointer(easingFunction))) } } } public class IKeyFrameAnimation2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation2 } internal func get_DirectionImpl() throws -> UWP.AnimationDirection { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationDirection = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Direction(pThis, &value)) } return value } internal func put_DirectionImpl(_ value: UWP.AnimationDirection) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Direction(pThis, value)) } } } public class IKeyFrameAnimation3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation3 } internal func get_DelayBehaviorImpl() throws -> UWP.AnimationDelayBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationDelayBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayBehavior(pThis, &value)) } return value } internal func put_DelayBehaviorImpl(_ value: UWP.AnimationDelayBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimation3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DelayBehavior(pThis, value)) } } } public class IKeyFrameAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIKeyFrameAnimationFactory } } public class ILayerVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CILayerVisual } internal func get_EffectImpl() throws -> UWP.CompositionEffectBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CILayerVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Effect(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_EffectImpl(_ value: UWP.CompositionEffectBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CILayerVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Effect(pThis, RawPointer(value))) } } } public class ILayerVisual2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CILayerVisual2 } internal func get_ShadowImpl() throws -> UWP.CompositionShadow? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CILayerVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Shadow(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ShadowImpl(_ value: UWP.CompositionShadow?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CILayerVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Shadow(pThis, RawPointer(value))) } } } public class ILinearEasingFunction: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CILinearEasingFunction } } public class INaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation } internal func get_DelayBehaviorImpl() throws -> UWP.AnimationDelayBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationDelayBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayBehavior(pThis, &value)) } return value } internal func put_DelayBehaviorImpl(_ value: UWP.AnimationDelayBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DelayBehavior(pThis, value)) } } internal func get_DelayTimeImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayTime(pThis, &value)) } return .from(abi: value) } internal func put_DelayTimeImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DelayTime(pThis, .from(swift: value))) } } internal func get_StopBehaviorImpl() throws -> UWP.AnimationStopBehavior { var value: __x_ABI_CWindows_CUI_CComposition_CAnimationStopBehavior = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StopBehavior(pThis, &value)) } return value } internal func put_StopBehaviorImpl(_ value: UWP.AnimationStopBehavior) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StopBehavior(pThis, value)) } } } public class INaturalMotionAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CINaturalMotionAnimationFactory } } public class IPathKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIPathKeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ path: UWP.CompositionPath?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPathKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, RawPointer(path))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ path: UWP.CompositionPath?, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPathKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, RawPointer(path), RawPointer(easingFunction))) } } } public class IPointLight: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIPointLight } internal func get_ColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Color(pThis, &value)) } return .from(abi: value) } internal func put_ColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value))) } } internal func get_ConstantAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ConstantAttenuation(pThis, &value)) } return value } internal func put_ConstantAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ConstantAttenuation(pThis, value)) } } internal func get_CoordinateSpaceImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CoordinateSpace(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_CoordinateSpaceImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CoordinateSpace(pThis, RawPointer(value))) } } internal func get_LinearAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LinearAttenuation(pThis, &value)) } return value } internal func put_LinearAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LinearAttenuation(pThis, value)) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_QuadraticAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_QuadraticAttenuation(pThis, &value)) } return value } internal func put_QuadraticAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_QuadraticAttenuation(pThis, value)) } } } public class IPointLight2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIPointLight2 } internal func get_IntensityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Intensity(pThis, &value)) } return value } internal func put_IntensityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Intensity(pThis, value)) } } } public class IPointLight3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIPointLight3 } internal func get_MinAttenuationCutoffImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MinAttenuationCutoff(pThis, &value)) } return value } internal func put_MinAttenuationCutoffImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MinAttenuationCutoff(pThis, value)) } } internal func get_MaxAttenuationCutoffImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxAttenuationCutoff(pThis, &value)) } return value } internal func put_MaxAttenuationCutoffImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIPointLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MaxAttenuationCutoff(pThis, value)) } } } public class IQuaternionKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIQuaternionKeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Quaternion) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIQuaternionKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .from(swift: value))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Quaternion, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIQuaternionKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction))) } } } public class IRedirectVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIRedirectVisual } internal func get_SourceImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIRedirectVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Source(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_SourceImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIRedirectVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Source(pThis, RawPointer(value))) } } } public class IRenderingDeviceReplacedEventArgs: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIRenderingDeviceReplacedEventArgs } internal func get_GraphicsDeviceImpl() throws -> UWP.CompositionGraphicsDevice? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIRenderingDeviceReplacedEventArgs.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_GraphicsDevice(pThis, &valueAbi)) } } return .from(abi: value) } } public class IScalarKeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIScalarKeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, value)) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: Float, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarKeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, value, RawPointer(easingFunction))) } } } public class IScalarNaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation } internal func get_FinalValueImpl() throws -> Float? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1_floatWrapper.unwrapFrom(abi: value) } internal func put_FinalValueImpl(_ value: Float?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1_floatWrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_FinalValue(pThis, _value)) } } internal func get_InitialValueImpl() throws -> Float? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1_floatWrapper.unwrapFrom(abi: value) } internal func put_InitialValueImpl(_ value: Float?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1_floatWrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialValue(pThis, _value)) } } internal func get_InitialVelocityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialVelocity(pThis, &value)) } return value } internal func put_InitialVelocityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialVelocity(pThis, value)) } } } public class IScalarNaturalMotionAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIScalarNaturalMotionAnimationFactory } } public class IShapeVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIShapeVisual } internal func get_ShapesImpl() throws -> UWP.CompositionShapeCollection? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIShapeVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Shapes(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_ViewBoxImpl() throws -> UWP.CompositionViewBox? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIShapeVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ViewBox(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ViewBoxImpl(_ value: UWP.CompositionViewBox?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIShapeVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ViewBox(pThis, RawPointer(value))) } } } public class ISpotLight: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpotLight } internal func get_ConstantAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ConstantAttenuation(pThis, &value)) } return value } internal func put_ConstantAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ConstantAttenuation(pThis, value)) } } internal func get_CoordinateSpaceImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CoordinateSpace(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_CoordinateSpaceImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CoordinateSpace(pThis, RawPointer(value))) } } internal func get_DirectionImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Direction(pThis, &value)) } return .from(abi: value) } internal func put_DirectionImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Direction(pThis, .from(swift: value))) } } internal func get_InnerConeAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InnerConeAngle(pThis, &value)) } return value } internal func put_InnerConeAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InnerConeAngle(pThis, value)) } } internal func get_InnerConeAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InnerConeAngleInDegrees(pThis, &value)) } return value } internal func put_InnerConeAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InnerConeAngleInDegrees(pThis, value)) } } internal func get_InnerConeColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InnerConeColor(pThis, &value)) } return .from(abi: value) } internal func put_InnerConeColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InnerConeColor(pThis, .from(swift: value))) } } internal func get_LinearAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_LinearAttenuation(pThis, &value)) } return value } internal func put_LinearAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_LinearAttenuation(pThis, value)) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_OuterConeAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_OuterConeAngle(pThis, &value)) } return value } internal func put_OuterConeAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_OuterConeAngle(pThis, value)) } } internal func get_OuterConeAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_OuterConeAngleInDegrees(pThis, &value)) } return value } internal func put_OuterConeAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_OuterConeAngleInDegrees(pThis, value)) } } internal func get_OuterConeColorImpl() throws -> UWP.Color { var value: __x_ABI_CWindows_CUI_CColor = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_OuterConeColor(pThis, &value)) } return .from(abi: value) } internal func put_OuterConeColorImpl(_ value: UWP.Color) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_OuterConeColor(pThis, .from(swift: value))) } } internal func get_QuadraticAttenuationImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_QuadraticAttenuation(pThis, &value)) } return value } internal func put_QuadraticAttenuationImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_QuadraticAttenuation(pThis, value)) } } } public class ISpotLight2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpotLight2 } internal func get_InnerConeIntensityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InnerConeIntensity(pThis, &value)) } return value } internal func put_InnerConeIntensityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InnerConeIntensity(pThis, value)) } } internal func get_OuterConeIntensityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_OuterConeIntensity(pThis, &value)) } return value } internal func put_OuterConeIntensityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_OuterConeIntensity(pThis, value)) } } } public class ISpotLight3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpotLight3 } internal func get_MinAttenuationCutoffImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MinAttenuationCutoff(pThis, &value)) } return value } internal func put_MinAttenuationCutoffImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MinAttenuationCutoff(pThis, value)) } } internal func get_MaxAttenuationCutoffImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MaxAttenuationCutoff(pThis, &value)) } return value } internal func put_MaxAttenuationCutoffImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpotLight3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_MaxAttenuationCutoff(pThis, value)) } } } public class ISpringScalarNaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation } internal func get_DampingRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DampingRatio(pThis, &value)) } return value } internal func put_DampingRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DampingRatio(pThis, value)) } } internal func get_PeriodImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Period(pThis, &value)) } return .from(abi: value) } internal func put_PeriodImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringScalarNaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Period(pThis, .from(swift: value))) } } } public class ISpringVector2NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation } internal func get_DampingRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DampingRatio(pThis, &value)) } return value } internal func put_DampingRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DampingRatio(pThis, value)) } } internal func get_PeriodImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Period(pThis, &value)) } return .from(abi: value) } internal func put_PeriodImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Period(pThis, .from(swift: value))) } } } public class ISpringVector3NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation } internal func get_DampingRatioImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DampingRatio(pThis, &value)) } return value } internal func put_DampingRatioImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_DampingRatio(pThis, value)) } } internal func get_PeriodImpl() throws -> WindowsFoundation.TimeSpan { var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Period(pThis, &value)) } return .from(abi: value) } internal func put_PeriodImpl(_ value: WindowsFoundation.TimeSpan) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpringVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Period(pThis, .from(swift: value))) } } } public class ISpriteVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpriteVisual } internal func get_BrushImpl() throws -> UWP.CompositionBrush? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpriteVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Brush(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_BrushImpl(_ value: UWP.CompositionBrush?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpriteVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Brush(pThis, RawPointer(value))) } } } public class ISpriteVisual2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CISpriteVisual2 } internal func get_ShadowImpl() throws -> UWP.CompositionShadow? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpriteVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Shadow(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ShadowImpl(_ value: UWP.CompositionShadow?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CISpriteVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Shadow(pThis, RawPointer(value))) } } } public class IStepEasingFunction: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction } internal func get_FinalStepImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalStep(pThis, &value)) } return value } internal func put_FinalStepImpl(_ value: Int32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_FinalStep(pThis, value)) } } internal func get_InitialStepImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialStep(pThis, &value)) } return value } internal func put_InitialStepImpl(_ value: Int32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialStep(pThis, value)) } } internal func get_IsFinalStepSingleFrameImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsFinalStepSingleFrame(pThis, &value)) } return .init(from: value) } internal func put_IsFinalStepSingleFrameImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsFinalStepSingleFrame(pThis, .init(from: value))) } } internal func get_IsInitialStepSingleFrameImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsInitialStepSingleFrame(pThis, &value)) } return .init(from: value) } internal func put_IsInitialStepSingleFrameImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsInitialStepSingleFrame(pThis, .init(from: value))) } } internal func get_StepCountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_StepCount(pThis, &value)) } return value } internal func put_StepCountImpl(_ value: Int32) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIStepEasingFunction.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_StepCount(pThis, value)) } } } public class IVector2KeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector2KeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .from(swift: value))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector2, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction))) } } } public class IVector2NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation } internal func get_FinalValueImpl() throws -> WindowsFoundation.Vector2? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper.unwrapFrom(abi: value) } internal func put_FinalValueImpl(_ value: WindowsFoundation.Vector2?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_FinalValue(pThis, _value)) } } internal func get_InitialValueImpl() throws -> WindowsFoundation.Vector2? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper.unwrapFrom(abi: value) } internal func put_InitialValueImpl(_ value: WindowsFoundation.Vector2?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialValue(pThis, _value)) } } internal func get_InitialVelocityImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialVelocity(pThis, &value)) } return .from(abi: value) } internal func put_InitialVelocityImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialVelocity(pThis, .from(swift: value))) } } } public class IVector2NaturalMotionAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector2NaturalMotionAnimationFactory } } public class IVector3KeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector3KeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .from(swift: value))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector3, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction))) } } } public class IVector3NaturalMotionAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation } internal func get_FinalValueImpl() throws -> WindowsFoundation.Vector3? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper.unwrapFrom(abi: value) } internal func put_FinalValueImpl(_ value: WindowsFoundation.Vector3?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_FinalValue(pThis, _value)) } } internal func get_InitialValueImpl() throws -> WindowsFoundation.Vector3? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper.unwrapFrom(abi: value) } internal func put_InitialValueImpl(_ value: WindowsFoundation.Vector3?) throws { let valueWrapper = UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper(value) let _value = try! valueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialValue(pThis, _value)) } } internal func get_InitialVelocityImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialVelocity(pThis, &value)) } return .from(abi: value) } internal func put_InitialVelocityImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_InitialVelocity(pThis, .from(swift: value))) } } } public class IVector3NaturalMotionAnimationFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector3NaturalMotionAnimationFactory } } public class IVector4KeyFrameAnimation: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVector4KeyFrameAnimation } internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector4) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector4KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .from(swift: value))) } } internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector4, _ easingFunction: UWP.CompositionEasingFunction?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVector4KeyFrameAnimation.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction))) } } } public class IVisual: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisual } internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AnchorPoint(pThis, &value)) } return .from(abi: value) } internal func put_AnchorPointImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_AnchorPoint(pThis, .from(swift: value))) } } internal func get_BackfaceVisibilityImpl() throws -> UWP.CompositionBackfaceVisibility { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionBackfaceVisibility = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BackfaceVisibility(pThis, &value)) } return value } internal func put_BackfaceVisibilityImpl(_ value: UWP.CompositionBackfaceVisibility) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BackfaceVisibility(pThis, value)) } } internal func get_BorderModeImpl() throws -> UWP.CompositionBorderMode { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionBorderMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_BorderMode(pThis, &value)) } return value } internal func put_BorderModeImpl(_ value: UWP.CompositionBorderMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_BorderMode(pThis, value)) } } internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterPoint(pThis, &value)) } return .from(abi: value) } internal func put_CenterPointImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value))) } } internal func get_ClipImpl() throws -> UWP.CompositionClip? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Clip(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ClipImpl(_ value: UWP.CompositionClip?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Clip(pThis, RawPointer(value))) } } internal func get_CompositeModeImpl() throws -> UWP.CompositionCompositeMode { var value: __x_ABI_CWindows_CUI_CComposition_CCompositionCompositeMode = .init(0) _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CompositeMode(pThis, &value)) } return value } internal func put_CompositeModeImpl(_ value: UWP.CompositionCompositeMode) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_CompositeMode(pThis, value)) } } internal func get_IsVisibleImpl() throws -> Bool { var value: boolean = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsVisible(pThis, &value)) } return .init(from: value) } internal func put_IsVisibleImpl(_ value: Bool) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsVisible(pThis, .init(from: value))) } } internal func get_OffsetImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value)) } return .from(abi: value) } internal func put_OffsetImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, .from(swift: value))) } } internal func get_OpacityImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Opacity(pThis, &value)) } return value } internal func put_OpacityImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Opacity(pThis, value)) } } internal func get_OrientationImpl() throws -> WindowsFoundation.Quaternion { var value: __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Orientation(pThis, &value)) } return .from(abi: value) } internal func put_OrientationImpl(_ value: WindowsFoundation.Quaternion) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Orientation(pThis, .from(swift: value))) } } internal func get_ParentImpl() throws -> UWP.ContainerVisual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Parent(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_RotationAngleImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngle(pThis, &value)) } return value } internal func put_RotationAngleImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngle(pThis, value)) } } internal func get_RotationAngleInDegreesImpl() throws -> Float { var value: FLOAT = 0.0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAngleInDegrees(pThis, &value)) } return value } internal func put_RotationAngleInDegreesImpl(_ value: Float) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAngleInDegrees(pThis, value)) } } internal func get_RotationAxisImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationAxis(pThis, &value)) } return .from(abi: value) } internal func put_RotationAxisImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RotationAxis(pThis, .from(swift: value))) } } internal func get_ScaleImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Scale(pThis, &value)) } return .from(abi: value) } internal func put_ScaleImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Scale(pThis, .from(swift: value))) } } internal func get_SizeImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Size(pThis, &value)) } return .from(abi: value) } internal func put_SizeImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_Size(pThis, .from(swift: value))) } } internal func get_TransformMatrixImpl() throws -> WindowsFoundation.Matrix4x4 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformMatrix(pThis, &value)) } return .from(abi: value) } internal func put_TransformMatrixImpl(_ value: WindowsFoundation.Matrix4x4) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_TransformMatrix(pThis, .from(swift: value))) } } } public class IVisual2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisual2 } internal func get_ParentForTransformImpl() throws -> UWP.Visual? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ParentForTransform(pThis, &valueAbi)) } } return .from(abi: value) } internal func put_ParentForTransformImpl(_ value: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_ParentForTransform(pThis, RawPointer(value))) } } internal func get_RelativeOffsetAdjustmentImpl() throws -> WindowsFoundation.Vector3 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RelativeOffsetAdjustment(pThis, &value)) } return .from(abi: value) } internal func put_RelativeOffsetAdjustmentImpl(_ value: WindowsFoundation.Vector3) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RelativeOffsetAdjustment(pThis, .from(swift: value))) } } internal func get_RelativeSizeAdjustmentImpl() throws -> WindowsFoundation.Vector2 { var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init() _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_RelativeSizeAdjustment(pThis, &value)) } return .from(abi: value) } internal func put_RelativeSizeAdjustmentImpl(_ value: WindowsFoundation.Vector2) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisual2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.put_RelativeSizeAdjustment(pThis, .from(swift: value))) } } } public class IVisualCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisualCollection } internal func get_CountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value)) } return value } internal func InsertAboveImpl(_ newChild: UWP.Visual?, _ sibling: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAbove(pThis, RawPointer(newChild), RawPointer(sibling))) } } internal func InsertAtBottomImpl(_ newChild: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtBottom(pThis, RawPointer(newChild))) } } internal func InsertAtTopImpl(_ newChild: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtTop(pThis, RawPointer(newChild))) } } internal func InsertBelowImpl(_ newChild: UWP.Visual?, _ sibling: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.InsertBelow(pThis, RawPointer(newChild), RawPointer(sibling))) } } internal func RemoveImpl(_ child: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Remove(pThis, RawPointer(child))) } } internal func RemoveAllImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis)) } } } public class IVisualElement: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisualElement } } internal static var IVisualElementVTable: __x_ABI_CWindows_CUI_CComposition_CIVisualElementVtbl = .init( QueryInterface: { IVisualElementWrapper.queryInterface($0, $1, $2) }, AddRef: { IVisualElementWrapper.addRef($0) }, Release: { IVisualElementWrapper.release($0) }, GetIids: { let size = MemoryLayout.size let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self) iids[0] = IUnknown.IID iids[1] = IInspectable.IID iids[2] = __ABI_Windows_UI_Composition.IVisualElementWrapper.IID $1!.pointee = 3 $2!.pointee = iids return S_OK }, GetRuntimeClassName: { _ = $0 let hstring = try! HString("Windows.UI.Composition.IVisualElement").detach() $1!.pointee = hstring return S_OK }, GetTrustLevel: { _ = $0 $1!.pointee = TrustLevel(rawValue: 0) return S_OK } ) public typealias IVisualElementWrapper = InterfaceWrapperBase<__IMPL_Windows_UI_Composition.IVisualElementBridge> public class IVisualFactory: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisualFactory } } public class IVisualUnorderedCollection: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection } internal func get_CountImpl() throws -> Int32 { var value: INT32 = 0 _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value)) } return value } internal func AddImpl(_ newVisual: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Add(pThis, RawPointer(newVisual))) } } internal func RemoveImpl(_ visual: UWP.Visual?) throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.Remove(pThis, RawPointer(visual))) } } internal func RemoveAllImpl() throws { _ = try perform(as: __x_ABI_CWindows_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis)) } } } }