7122 lines
360 KiB
Swift
7122 lines
360 KiB
Swift
// 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 UWP
|
|
@_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation
|
|
import CWinRT
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAmbientLight: WindowsFoundation.IID {
|
|
.init(Data1: 0x4540525E, Data2: 0xB70D, Data3: 0x5A14, Data4: ( 0xBB,0xFA,0x63,0xBE,0xF4,0x23,0x13,0xC7 ))// 4540525E-B70D-5A14-BBFA-63BEF42313C7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAmbientLight2: WindowsFoundation.IID {
|
|
.init(Data1: 0x3356F963, Data2: 0x040C, Data3: 0x54D4, Data4: ( 0x9D,0xFC,0xB6,0x1C,0x51,0xAA,0xAD,0xD1 ))// 3356F963-040C-54D4-9DFC-B61C51AAADD1
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationController: WindowsFoundation.IID {
|
|
.init(Data1: 0xBD0F88A8, Data2: 0xA415, Data3: 0x5322, Data4: ( 0x8C,0x3D,0x1A,0x6D,0x91,0x92,0x75,0x4F ))// BD0F88A8-A415-5322-8C3D-1A6D9192754F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationControllerStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xB63B0FB6, Data2: 0x286B, Data3: 0x57AF, Data4: ( 0xB0,0x96,0x16,0x06,0x6D,0x43,0xDC,0x00 ))// B63B0FB6-286B-57AF-B096-16066D43DC00
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationObject: WindowsFoundation.IID {
|
|
.init(Data1: 0x8F56119D, Data2: 0xB96D, Data3: 0x58D0, Data4: ( 0x99,0x16,0xD1,0xC5,0xE3,0x90,0xF8,0x90 ))// 8F56119D-B96D-58D0-9916-D1C5E390F890
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo: WindowsFoundation.IID {
|
|
.init(Data1: 0x3D721A2B, Data2: 0x9CCD, Data3: 0x57BD, Data4: ( 0xB6,0xC2,0xCE,0x9E,0x04,0xAE,0x36,0x06 ))// 3D721A2B-9CCD-57BD-B6C2-CE9E04AE3606
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo2: WindowsFoundation.IID {
|
|
.init(Data1: 0xED14FB09, Data2: 0xDE28, Data3: 0x540D, Data4: ( 0x93,0x11,0x80,0xCF,0xDC,0xC9,0x73,0x38 ))// ED14FB09-DE28-540D-9311-80CFDCC97338
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBackEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x27C75BAB, Data2: 0x317A, Data3: 0x5362, Data4: ( 0xBF,0x25,0xFF,0xFB,0xB9,0x8A,0x51,0xB9 ))// 27C75BAB-317A-5362-BF25-FFFBB98A51B9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBooleanKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x7FE485E9, Data2: 0xE874, Data3: 0x5FF3, Data4: ( 0x8D,0xDC,0x82,0x6C,0x38,0x18,0xBF,0xC3 ))// 7FE485E9-E874-5FF3-8DDC-826C3818BFC3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0xFA11F3C0, Data2: 0x697B, Data3: 0x562F, Data4: ( 0xAF,0x46,0xC6,0xAF,0x66,0x6B,0x6E,0xC4 ))// FA11F3C0-697B-562F-AF46-C6AF666B6EC4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceScalarNaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x1C0C4B76, Data2: 0xC4D6, Data3: 0x5DD9, Data4: ( 0x8D,0xD6,0xDB,0xE3,0x5C,0x7B,0x7E,0x55 ))// 1C0C4B76-C4D6-5DD9-8DD6-DBE35C7B7E55
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceVector2NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xEC528D1F, Data2: 0x22E2, Data3: 0x573E, Data4: ( 0xAB,0x87,0x75,0x70,0x71,0xE5,0x00,0x12 ))// EC528D1F-22E2-573E-AB87-757071E50012
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceVector3NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xE3E2EE98, Data2: 0x1211, Data3: 0x586D, Data4: ( 0x8A,0x6D,0xFE,0xA5,0xEF,0xC3,0x95,0x7F ))// E3E2EE98-1211-586D-8A6D-FEA5EFC3957F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICircleEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x414B172C, Data2: 0xBF27, Data3: 0x5EAD, Data4: ( 0x93,0xE0,0x35,0x91,0x53,0x22,0xDB,0x2C ))// 414B172C-BF27-5EAD-93E0-35915322DB2C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIColorKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xF0237928, Data2: 0x353C, Data3: 0x5867, Data4: ( 0xBE,0x93,0x71,0x54,0x7E,0x98,0x9F,0x44 ))// F0237928-353C-5867-BE93-71547E989F44
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xA829CCC8, Data2: 0x6FDE, Data3: 0x5B90, Data4: ( 0xAD,0x37,0xEF,0xD3,0x07,0xE1,0xB6,0x31 ))// A829CCC8-6FDE-5B90-AD37-EFD307E1B631
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimation2: WindowsFoundation.IID {
|
|
.init(Data1: 0x0926EB58, Data2: 0x8965, Data3: 0x5C74, Data4: ( 0xBD,0xAC,0x85,0x2E,0xBB,0x5E,0x85,0x42 ))// 0926EB58-8965-5C74-BDAC-852EBB5E8542
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimation3: WindowsFoundation.IID {
|
|
.init(Data1: 0x60063F53, Data2: 0x4167, Data3: 0x5914, Data4: ( 0xA2,0xF1,0x9E,0xFC,0xC2,0xF8,0x6C,0x76 ))// 60063F53-4167-5914-A2F1-9EFCC2F86C76
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimation4: WindowsFoundation.IID {
|
|
.init(Data1: 0xC4101447, Data2: 0xDFE4, Data3: 0x597F, Data4: ( 0xB5,0xBC,0x96,0x44,0x3F,0x5D,0x18,0xA1 ))// C4101447-DFE4-597F-B5BC-96443F5D18A1
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationBase: WindowsFoundation.IID {
|
|
.init(Data1: 0xA77C0E5A, Data2: 0xF059, Data3: 0x4E85, Data4: ( 0xBC,0xEF,0xC0,0x68,0x69,0x4C,0xEC,0x78 ))// A77C0E5A-F059-4E85-BCEF-C068694CEC78
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x2ED278CA, Data2: 0x4CCA, Data3: 0x5F7F, Data4: ( 0x8D,0x47,0xF9,0x30,0x55,0x2A,0x77,0x69 ))// 2ED278CA-4CCA-5F7F-8D47-F930552A7769
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationGroup: WindowsFoundation.IID {
|
|
.init(Data1: 0xA51CDCAC, Data2: 0xB972, Data3: 0x5AE7, Data4: ( 0x81,0xD0,0x9D,0x91,0xC7,0x1E,0xCB,0x7A ))// A51CDCAC-B972-5AE7-81D0-9D91C71ECB7A
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionApiInformationStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x85260ED3, Data2: 0x365B, Data3: 0x5E70, Data4: ( 0xB7,0x9A,0xF9,0xF1,0xD1,0x0F,0xA4,0xB5 ))// 85260ED3-365B-5E70-B79A-F9F1D10FA4B5
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBackdropBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x6C866BB3, Data2: 0x172A, Data3: 0x570C, Data4: ( 0x82,0xAC,0xBF,0x98,0x48,0xD9,0x9A,0x59 ))// 6C866BB3-172A-570C-82AC-BF9848D99A59
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBatchCompletedEventArgs: WindowsFoundation.IID {
|
|
.init(Data1: 0xAC400334, Data2: 0x4358, Data3: 0x5FB0, Data4: ( 0xBF,0xC3,0x11,0x7F,0xE5,0x81,0x99,0x8F ))// AC400334-4358-5FB0-BFC3-117FE581998F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x483924E7, Data2: 0x99A5, Data3: 0x5377, Data4: ( 0x96,0x8B,0xDE,0xC6,0xD4,0x0B,0xBC,0xCD ))// 483924E7-99A5-5377-968B-DEC6D40BBCCD
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xABF2B354, Data2: 0x7130, Data3: 0x53D9, Data4: ( 0x83,0x24,0x36,0x5D,0x7E,0x02,0xED,0xE7 ))// ABF2B354-7130-53D9-8324-365D7E02EDE7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionCapabilities: WindowsFoundation.IID {
|
|
.init(Data1: 0x7689BF12, Data2: 0x75C0, Data3: 0x52EA, Data4: ( 0x81,0xCB,0x46,0x3E,0xD1,0xC1,0x6C,0x45 ))// 7689BF12-75C0-52EA-81CB-463ED1C16C45
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionClip: WindowsFoundation.IID {
|
|
.init(Data1: 0xB66B55CB, Data2: 0xB5A5, Data3: 0x5BEE, Data4: ( 0x89,0x72,0xAE,0x78,0x23,0x3C,0xB3,0x4C ))// B66B55CB-B5A5-5BEE-8972-AE78233CB34C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionClip2: WindowsFoundation.IID {
|
|
.init(Data1: 0xCDF6BF80, Data2: 0xAFD7, Data3: 0x57DC, Data4: ( 0x81,0x48,0x6C,0xCB,0xBB,0x5D,0x78,0xBB ))// CDF6BF80-AFD7-57DC-8148-6CCBBB5D78BB
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionClipFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x611DEC65, Data2: 0xD302, Data3: 0x52BC, Data4: ( 0x92,0xAB,0xA2,0x95,0xBD,0x14,0x1A,0xE4 ))// 611DEC65-D302-52BC-92AB-A295BD141AE4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionColorBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x3F8FFB69, Data2: 0x3E71, Data3: 0x55A7, Data4: ( 0x8E,0x79,0xF2,0x7A,0x21,0x4C,0x56,0xAE ))// 3F8FFB69-3E71-55A7-8E79-F27A214C56AE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionColorGradientStop: WindowsFoundation.IID {
|
|
.init(Data1: 0x868030D8, Data2: 0xC5C0, Data3: 0x5DD8, Data4: ( 0xA7,0x65,0xE3,0x2C,0xD3,0x49,0x7A,0xA9 ))// 868030D8-C5C0-5DD8-A765-E32CD3497AA9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionColorGradientStopCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0x4794CB29, Data2: 0xCE9D, Data3: 0x5837, Data4: ( 0x9F,0xC9,0x84,0x7D,0xF3,0xE1,0x97,0xDE ))// 4794CB29-CE9D-5837-9FC9-847DF3E197DE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionCommitBatch: WindowsFoundation.IID {
|
|
.init(Data1: 0xC4550FA8, Data2: 0xA7F2, Data3: 0x5259, Data4: ( 0xBF,0x74,0x33,0xB2,0xF5,0x24,0x0A,0x28 ))// C4550FA8-A7F2-5259-BF74-33B2F5240A28
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionContainerShape: WindowsFoundation.IID {
|
|
.init(Data1: 0x064AABD5, Data2: 0x2DAB, Data3: 0x52D3, Data4: ( 0x82,0x4B,0xC7,0x24,0x56,0x54,0x0F,0x29 ))// 064AABD5-2DAB-52D3-824B-C72456540F29
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionDrawingSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0x216CAB97, Data2: 0xA2EE, Data3: 0x5A29, Data4: ( 0xAD,0x6B,0x0B,0xC2,0xDF,0x4A,0x15,0x04 ))// 216CAB97-A2EE-5A29-AD6B-0BC2DF4A1504
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionDrawingSurface2: WindowsFoundation.IID {
|
|
.init(Data1: 0x6BE6F652, Data2: 0xBEC8, Data3: 0x5ADF, Data4: ( 0xA6,0xAF,0x5A,0xCF,0xC0,0x0A,0x96,0x8E ))// 6BE6F652-BEC8-5ADF-A6AF-5ACFC00A968E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionDrawingSurfaceFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x4791E19A, Data2: 0xC83B, Data3: 0x58B0, Data4: ( 0xAC,0x86,0xDF,0xC5,0x84,0x94,0xF5,0xF9 ))// 4791E19A-C83B-58B0-AC86-DFC58494F5F9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x8E1ECD0D, Data2: 0x57D8, Data3: 0x5BC9, Data4: ( 0x9B,0xCD,0xE4,0x3D,0x0D,0xD7,0x33,0xC4 ))// 8E1ECD0D-57D8-5BC9-9BCD-E43D0DD733C4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x7D7D32C3, Data2: 0x574B, Data3: 0x5620, Data4: ( 0x99,0x02,0xDB,0x42,0x68,0x51,0x80,0x2F ))// 7D7D32C3-574B-5620-9902-DB426851802F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x9D4B87FF, Data2: 0x6DCA, Data3: 0x5CE2, Data4: ( 0xB6,0x9C,0xE5,0x27,0x05,0xB0,0xFE,0xF4 ))// 9D4B87FF-6DCA-5CE2-B69C-E52705B0FEF4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x62E0BBAB, Data2: 0x1F45, Data3: 0x5A44, Data4: ( 0x9D,0xDF,0xF0,0xC3,0x8A,0x02,0xED,0x85 ))// 62E0BBAB-1F45-5A44-9DDF-F0C38A02ED85
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xC50F407A, Data2: 0x0231, Data3: 0x5ED2, Data4: ( 0xB7,0xA7,0xCA,0x66,0xD3,0xE1,0x4B,0x3B ))// C50F407A-0231-5ED2-B7A7-CA66D3E14B3B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectSourceParameter: WindowsFoundation.IID {
|
|
.init(Data1: 0xBECE3367, Data2: 0x5704, Data3: 0x59F7, Data4: ( 0xBE,0x8C,0xD6,0x29,0x3A,0xF9,0xC9,0x5F ))// BECE3367-5704-59F7-BE8C-D6293AF9C95F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectSourceParameterFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x26185954, Data2: 0x4489, Data3: 0x5D0E, Data4: ( 0xAE,0x4D,0x7B,0xC4,0xBB,0xBC,0x61,0x61 ))// 26185954-4489-5D0E-AE4D-7BC4BBBC6161
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEllipseGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0xF2A21042, Data2: 0x7A57, Data3: 0x58C1, Data4: ( 0x8B,0x47,0x8B,0xC8,0xB2,0x1D,0x3A,0xA0 ))// F2A21042-7A57-58C1-8B47-8BC8B21D3AA0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGeometricClip: WindowsFoundation.IID {
|
|
.init(Data1: 0xE3C0A8C5, Data2: 0x5297, Data3: 0x5D69, Data4: ( 0x8B,0x91,0xF5,0x33,0x0B,0xB1,0xCB,0x27 ))// E3C0A8C5-5297-5D69-8B91-F5330BB1CB27
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0x4E40BDB2, Data2: 0x450B, Data3: 0x5A81, Data4: ( 0x9E,0x9B,0x14,0x94,0x17,0x98,0x0C,0xC4 ))// 4E40BDB2-450B-5A81-9E9B-149417980CC4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGeometryFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xB2FB802B, Data2: 0xC691, Data3: 0x5554, Data4: ( 0x83,0x12,0x9C,0x6D,0x35,0x8D,0x6B,0x9E ))// B2FB802B-C691-5554-8312-9C6D358D6B9E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x9165D1FB, Data2: 0xC738, Data3: 0x5F44, Data4: ( 0xAD,0xDC,0x30,0x9E,0xE0,0x71,0xD5,0x88 ))// 9165D1FB-C738-5F44-ADDC-309EE071D588
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush2: WindowsFoundation.IID {
|
|
.init(Data1: 0x03E9EDF3, Data2: 0xEE3D, Data3: 0x58FC, Data4: ( 0x8C,0x0B,0x95,0xE4,0xB6,0x06,0x0A,0x94 ))// 03E9EDF3-EE3D-58FC-8C0B-95E4B6060A94
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xB043B155, Data2: 0x4B40, Data3: 0x590D, Data4: ( 0xA0,0xD9,0xF8,0xC1,0xA7,0xE0,0xC8,0x8F ))// B043B155-4B40-590D-A0D9-F8C1A7E0C88F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice: WindowsFoundation.IID {
|
|
.init(Data1: 0x3D47E3F5, Data2: 0xF76C, Data3: 0x5F1F, Data4: ( 0x88,0xC0,0x54,0xA5,0xF2,0xA0,0x90,0xD6 ))// 3D47E3F5-F76C-5F1F-88C0-54A5F2A090D6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice2: WindowsFoundation.IID {
|
|
.init(Data1: 0xFFD56707, Data2: 0x1C7A, Data3: 0x5DA0, Data4: ( 0xAA,0x1A,0x49,0xCB,0x93,0x5B,0x5D,0xCA ))// FFD56707-1C7A-5DA0-AA1A-49CB935B5DCA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice3: WindowsFoundation.IID {
|
|
.init(Data1: 0xFBBEF487, Data2: 0xD5A4, Data3: 0x5DB2, Data4: ( 0xBF,0x3E,0x9F,0x48,0x8E,0x65,0x9D,0x11 ))// FBBEF487-D5A4-5DB2-BF3E-9F488E659D11
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice4: WindowsFoundation.IID {
|
|
.init(Data1: 0x2B295C04, Data2: 0x7B2E, Data3: 0x5B0E, Data4: ( 0x97,0x62,0x29,0x92,0x31,0x3B,0x70,0x0C ))// 2B295C04-7B2E-5B0E-9762-2992313B700C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLight: WindowsFoundation.IID {
|
|
.init(Data1: 0x6D633E77, Data2: 0xA6B8, Data3: 0x5A2D, Data4: ( 0x82,0x35,0xE0,0xC3,0x80,0xC3,0xB4,0x7B ))// 6D633E77-A6B8-5A2D-8235-E0C380C3B47B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLight2: WindowsFoundation.IID {
|
|
.init(Data1: 0x0BB940A4, Data2: 0x05EF, Data3: 0x5920, Data4: ( 0xBA,0xE1,0x91,0x8B,0x36,0xD4,0x43,0x80 ))// 0BB940A4-05EF-5920-BAE1-918B36D44380
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLight3: WindowsFoundation.IID {
|
|
.init(Data1: 0x95CE4859, Data2: 0xDD55, Data3: 0x5C38, Data4: ( 0xA3,0xEB,0x13,0xD0,0x53,0xCE,0xBB,0x1E ))// 95CE4859-DD55-5C38-A3EB-13D053CEBB1E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLightFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xCB29CAED, Data2: 0x9245, Data3: 0x51A6, Data4: ( 0xBA,0x56,0xAD,0xDB,0xAE,0xFA,0x54,0xCC ))// CB29CAED-9245-51A6-BA56-ADDBAEFA54CC
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLineGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0x489F9382, Data2: 0xC186, Data3: 0x5936, Data4: ( 0x89,0x46,0xC4,0xF9,0x27,0xE8,0x44,0xAA ))// 489F9382-C186-5936-8946-C4F927E844AA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLinearGradientBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0xF726FB52, Data2: 0x270C, Data3: 0x58B1, Data4: ( 0xA9,0x02,0x89,0x57,0x67,0x72,0xDE,0xDC ))// F726FB52-270C-58B1-A902-89576772DEDC
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionMaskBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0xC9502786, Data2: 0x65AA, Data3: 0x5BE5, Data4: ( 0xA6,0x79,0xC3,0xB5,0xDB,0xFB,0x0D,0xC6 ))// C9502786-65AA-5BE5-A679-C3B5DBFB0DC6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionMipmapSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0x681F1E47, Data2: 0x6E43, Data3: 0x5B55, Data4: ( 0xBE,0x3A,0xE5,0xC8,0x58,0xA2,0xD5,0xFA ))// 681F1E47-6E43-5B55-BE3A-E5C858A2D5FA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionNineGridBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0xC77A3D21, Data2: 0xC7EE, Data3: 0x517A, Data4: ( 0x98,0xF4,0xAD,0x9A,0x72,0x02,0xBC,0x86 ))// C77A3D21-C7EE-517A-98F4-AD9A7202BC86
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject: WindowsFoundation.IID {
|
|
.init(Data1: 0x0E583D49, Data2: 0xFB5E, Data3: 0x5481, Data4: ( 0xA4,0x26,0xD3,0xC4,0x1E,0x05,0x9A,0x5A ))// 0E583D49-FB5E-5481-A426-D3C41E059A5A
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject2: WindowsFoundation.IID {
|
|
.init(Data1: 0xBCBBFEBF, Data2: 0x799C, Data3: 0x51CE, Data4: ( 0x9C,0x82,0xB6,0xE4,0x9E,0x7E,0x62,0xE1 ))// BCBBFEBF-799C-51CE-9C82-B6E49E7E62E1
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject3: WindowsFoundation.IID {
|
|
.init(Data1: 0xD43C5CF1, Data2: 0x47DF, Data3: 0x52B8, Data4: ( 0xB4,0x09,0xD5,0x83,0x15,0x03,0x90,0x5E ))// D43C5CF1-47DF-52B8-B409-D5831503905E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject4: WindowsFoundation.IID {
|
|
.init(Data1: 0x029AD57C, Data2: 0x5497, Data3: 0x51F3, Data4: ( 0x8B,0x40,0xE4,0xE2,0x35,0x99,0x2C,0x6F ))// 029AD57C-5497-51F3-8B40-E4E235992C6F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject5: WindowsFoundation.IID {
|
|
.init(Data1: 0x85FD26D1, Data2: 0xBB99, Data3: 0x5392, Data4: ( 0x9D,0xCE,0xA0,0x5C,0xB8,0x14,0x58,0xA5 ))// 85FD26D1-BB99-5392-9DCE-A05CB81458A5
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObjectFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x6133C5F9, Data2: 0xCD3B, Data3: 0x56B2, Data4: ( 0x87,0x6F,0xEB,0x84,0x9D,0xB1,0x49,0x11 ))// 6133C5F9-CD3B-56B2-876F-EB849DB14911
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObjectStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xA091356C, Data2: 0x38AE, Data3: 0x514C, Data4: ( 0x9B,0x58,0xAD,0x5C,0x8C,0x79,0x36,0xAD ))// A091356C-38AE-514C-9B58-AD5C8C7936AD
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPath: WindowsFoundation.IID {
|
|
.init(Data1: 0x17C518C0, Data2: 0xD7A2, Data3: 0x54BE, Data4: ( 0xAC,0x7F,0xC4,0x08,0x56,0x2A,0x6A,0x20 ))// 17C518C0-D7A2-54BE-AC7F-C408562A6A20
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPathFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x87143312, Data2: 0xD280, Data3: 0x51D2, Data4: ( 0xB7,0x5B,0x5D,0x76,0xEA,0x86,0xC2,0x85 ))// 87143312-D280-51D2-B75B-5D76EA86C285
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPathGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0x0F6E6B82, Data2: 0x060B, Data3: 0x571E, Data4: ( 0xB8,0x49,0xAB,0x8E,0x0D,0x72,0x39,0x62 ))// 0F6E6B82-060B-571E-B849-AB8E0D723962
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0xD400AB10, Data2: 0x8B92, Data3: 0x5ABB, Data4: ( 0x9E,0x23,0x80,0x79,0x74,0xFC,0x69,0x61 ))// D400AB10-8B92-5ABB-9E23-807974FC6961
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCaster: WindowsFoundation.IID {
|
|
.init(Data1: 0x15A9F2D0, Data2: 0x6BAE, Data3: 0x521B, Data4: ( 0x90,0xC7,0xC7,0x50,0x0F,0x2B,0xF5,0x62 ))// 15A9F2D0-6BAE-521B-90C7-C7500F2BF562
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0xB120BFDC, Data2: 0x533C, Data3: 0x57A9, Data4: ( 0xAE,0x16,0xD4,0x3B,0xA5,0x24,0x72,0xC4 ))// B120BFDC-533C-57A9-AE16-D43BA52472C4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollectionStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x43A98014, Data2: 0xB88B, Data3: 0x5B2A, Data4: ( 0xB1,0xE2,0x5E,0x77,0x6A,0xB7,0x75,0x38 ))// 43A98014-B88B-5B2A-B1E2-5E776AB77538
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowReceiver: WindowsFoundation.IID {
|
|
.init(Data1: 0x29FE12B0, Data2: 0xF1A0, Data3: 0x50E1, Data4: ( 0xAF,0x28,0x2E,0x94,0x3B,0xC8,0x19,0xD6 ))// 29FE12B0-F1A0-50E1-AF28-2E943BC819D6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0x2D35F751, Data2: 0xA1FA, Data3: 0x5FFF, Data4: ( 0xB1,0x56,0x6D,0x8F,0xCD,0x83,0x62,0xED ))// 2D35F751-A1FA-5FFF-B156-6D8FCD8362ED
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPropertySet: WindowsFoundation.IID {
|
|
.init(Data1: 0x97F7A17B, Data2: 0x97BE, Data3: 0x5545, Data4: ( 0x9F,0x1C,0x0B,0x9D,0x44,0x57,0x7F,0x57 ))// 97F7A17B-97BE-5545-9F1C-0B9D44577F57
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPropertySet2: WindowsFoundation.IID {
|
|
.init(Data1: 0x3DB6D621, Data2: 0x3497, Data3: 0x55E4, Data4: ( 0x95,0xBF,0x8A,0xE5,0xE7,0xC3,0x4C,0x33 ))// 3DB6D621-3497-55E4-95BF-8AE5E7C34C33
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionRadialGradientBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x17662F3F, Data2: 0xD351, Data3: 0x5435, Data4: ( 0xB3,0xB4,0xEC,0x26,0xCE,0xFE,0xCC,0xC5 ))// 17662F3F-D351-5435-B3B4-EC26CEFECCC5
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionRectangleGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0xBD551FCF, Data2: 0x2C7F, Data3: 0x5125, Data4: ( 0xAC,0x44,0x50,0xA4,0xF1,0xD8,0xFA,0x76 ))// BD551FCF-2C7F-5125-AC44-50A4F1D8FA76
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionRoundedRectangleGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0x02EAFC87, Data2: 0x8D1F, Data3: 0x5445, Data4: ( 0xA4,0x16,0xD8,0x1B,0xAE,0xE8,0xA7,0x50 ))// 02EAFC87-8D1F-5445-A416-D81BAEE8A750
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionScopedBatch: WindowsFoundation.IID {
|
|
.init(Data1: 0xD31CA572, Data2: 0x99CE, Data3: 0x5969, Data4: ( 0xB0,0x42,0x6C,0x2D,0x33,0x0A,0x38,0x59 ))// D31CA572-99CE-5969-B042-6C2D330A3859
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0x176B8BB5, Data2: 0x4DAE, Data3: 0x59B2, Data4: ( 0xB9,0xA0,0x24,0x99,0xB2,0x43,0x26,0x7C ))// 176B8BB5-4DAE-59B2-B9A0-2499B243267C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShadowFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xFF27546D, Data2: 0x9750, Data3: 0x54AE, Data4: ( 0xAB,0x8C,0x12,0x6C,0xBE,0x91,0x58,0xC3 ))// FF27546D-9750-54AE-AB8C-126CBE9158C3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShape: WindowsFoundation.IID {
|
|
.init(Data1: 0xED75D4D8, Data2: 0x437F, Data3: 0x5640, Data4: ( 0x97,0x20,0xFA,0xAE,0x35,0xCE,0x58,0x95 ))// ED75D4D8-437F-5640-9720-FAAE35CE5895
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShapeFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x7AA2B987, Data2: 0x9CDD, Data3: 0x5B6E, Data4: ( 0x8A,0xC1,0xE9,0x89,0xD7,0x8B,0x48,0x11 ))// 7AA2B987-9CDD-5B6E-8AC1-E989D78B4811
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape: WindowsFoundation.IID {
|
|
.init(Data1: 0x982138F2, Data2: 0x5781, Data3: 0x509A, Data4: ( 0xBA,0x5D,0x11,0x2B,0xCB,0x0B,0x98,0xEF ))// 982138F2-5781-509A-BA5D-112BCB0B98EF
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSupportsSystemBackdrop: WindowsFoundation.IID {
|
|
.init(Data1: 0x397DAFE4, Data2: 0xB6C2, Data3: 0x5BB9, Data4: ( 0x95,0x1D,0xF5,0x70,0x7D,0xE8,0xB7,0xBC ))// 397DAFE4-B6C2-5BB9-951D-F5707DE8B7BC
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0x9EC612C3, Data2: 0xA5D2, Data3: 0x4F97, Data4: ( 0x9D,0xF3,0x6B,0x49,0xCE,0x73,0x62,0x15 ))// 9EC612C3-A5D2-4F97-9DF3-6B49CE736215
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x616BB5A5, Data2: 0x0A33, Data3: 0x512D, Data4: ( 0xB4,0xB1,0x3D,0x37,0x34,0xF0,0x4A,0xCA ))// 616BB5A5-0A33-512D-B4B1-3D3734F04ACA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush2: WindowsFoundation.IID {
|
|
.init(Data1: 0x9904B7E3, Data2: 0x084B, Data3: 0x58B5, Data4: ( 0x9A,0xE1,0x3A,0x20,0x40,0xDD,0x7A,0x22 ))// 9904B7E3-084B-58B5-9AE1-3A2040DD7A22
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush3: WindowsFoundation.IID {
|
|
.init(Data1: 0x8AA74C78, Data2: 0x680C, Data3: 0x5791, Data4: ( 0xAB,0x07,0x92,0xDB,0x0F,0x37,0xE3,0x52 ))// 8AA74C78-680C-5791-AB07-92DB0F37E352
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceFacade: WindowsFoundation.IID {
|
|
.init(Data1: 0x88AC5DF6, Data2: 0x377F, Data3: 0x5CF7, Data4: ( 0xA0,0x2E,0xED,0x50,0x74,0xD3,0x04,0x52 ))// 88AC5DF6-377F-5CF7-A02E-ED5074D30452
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionTransform: WindowsFoundation.IID {
|
|
.init(Data1: 0x670E1826, Data2: 0x1932, Data3: 0x51D0, Data4: ( 0xBB,0xB3,0x06,0x3B,0x4C,0xA9,0x4B,0x56 ))// 670E1826-1932-51D0-BBB3-063B4CA94B56
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionTransformFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x78CC7BF2, Data2: 0xCDC0, Data3: 0x59D2, Data4: ( 0x9C,0x04,0x8D,0x20,0x8D,0xE7,0xEF,0x5E ))// 78CC7BF2-CDC0-59D2-9C04-8D208DE7EF5E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionViewBox: WindowsFoundation.IID {
|
|
.init(Data1: 0x667E4071, Data2: 0xADDD, Data3: 0x5DED, Data4: ( 0xB6,0xC0,0x09,0xE0,0x3A,0x14,0xBE,0x7E ))// 667E4071-ADDD-5DED-B6C0-09E03A14BE7E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionVirtualDrawingSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0xD741B99D, Data2: 0xE248, Data3: 0x5BA7, Data4: ( 0xB7,0x28,0x8B,0xEE,0xA5,0x3F,0xE2,0x8E ))// D741B99D-E248-5BA7-B728-8BEEA53FE28E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionVirtualDrawingSurfaceFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x85895891, Data2: 0x3F06, Data3: 0x52E2, Data4: ( 0xB5,0xEA,0xD1,0xFB,0x59,0x5F,0x65,0x74 ))// 85895891-3F06-52E2-B5EA-D1FB595F6574
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionVisualSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0x49E3624B, Data2: 0x4D2E, Data3: 0x53E7, Data4: ( 0x9E,0x02,0xF6,0x48,0x31,0x68,0x11,0x34 ))// 49E3624B-4D2E-53E7-9E02-F64831681134
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor: WindowsFoundation.IID {
|
|
.init(Data1: 0x95213C13, Data2: 0xC4CB, Data3: 0x57DE, Data4: ( 0xB2,0x67,0xD2,0x1A,0xB9,0x01,0xAE,0x38 ))// 95213C13-C4CB-57DE-B267-D21AB901AE38
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor2: WindowsFoundation.IID {
|
|
.init(Data1: 0xA9FFEDAD, Data2: 0x3982, Data3: 0x576D, Data4: ( 0xA3,0x8A,0xC8,0x88,0xFF,0x60,0x58,0x19 ))// A9FFEDAD-3982-576D-A38A-C888FF605819
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor4: WindowsFoundation.IID {
|
|
.init(Data1: 0xEE444BCA, Data2: 0x735C, Data3: 0x5CF2, Data4: ( 0xB7,0x9D,0xA6,0xDD,0x46,0xC1,0x61,0x60 ))// EE444BCA-735C-5CF2-B79D-A6DD46C16160
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor5: WindowsFoundation.IID {
|
|
.init(Data1: 0xBB52D644, Data2: 0xA030, Data3: 0x5C19, Data4: ( 0xB8,0x83,0x57,0x7D,0xED,0x73,0x9A,0xE7 ))// BB52D644-A030-5C19-B883-577DED739AE7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor6: WindowsFoundation.IID {
|
|
.init(Data1: 0x5FD20200, Data2: 0xC188, Data3: 0x5737, Data4: ( 0xB5,0x67,0x5E,0x61,0x74,0x1A,0xF1,0x9C ))// 5FD20200-C188-5737-B567-5E61741AF19C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor7: WindowsFoundation.IID {
|
|
.init(Data1: 0x5358B81B, Data2: 0x4799, Data3: 0x5E7C, Data4: ( 0x90,0x6C,0xE3,0xDF,0x3B,0x2E,0x95,0xEB ))// 5358B81B-4799-5E7C-906C-E3DF3B2E95EB
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor8: WindowsFoundation.IID {
|
|
.init(Data1: 0x02F5C9EE, Data2: 0xA3C0, Data3: 0x577A, Data4: ( 0x9D,0x23,0x44,0x02,0x4C,0x8E,0xAC,0xDA ))// 02F5C9EE-A3C0-577A-9D23-44024C8EACDA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositorStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x6BAA947A, Data2: 0xF103, Data3: 0x55C6, Data4: ( 0x91,0xAD,0x3D,0x27,0x5B,0xEA,0x65,0xC4 ))// 6BAA947A-F103-55C6-91AD-3D275BEA65C4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositorWithProjectedShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0x60AB2BF2, Data2: 0xB95C, Data3: 0x5944, Data4: ( 0x8B,0x36,0xC9,0x77,0x3B,0x9F,0x52,0x56 ))// 60AB2BF2-B95C-5944-8B36-C9773B9F5256
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositorWithRadialGradient: WindowsFoundation.IID {
|
|
.init(Data1: 0xFA4F8F7D, Data2: 0x5CC7, Data3: 0x5C9C, Data4: ( 0x88,0x3B,0xFE,0x87,0x8A,0x2F,0x3E,0x30 ))// FA4F8F7D-5CC7-5C9C-883B-FE878A2F3E30
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositorWithVisualSurface: WindowsFoundation.IID {
|
|
.init(Data1: 0x5FCFE24A, Data2: 0x690A, Data3: 0x5378, Data4: ( 0xAC,0xEE,0x56,0x1E,0x84,0xBF,0xB9,0x82 ))// 5FCFE24A-690A-5378-ACEE-561E84BFB982
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIContainerVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0xC70DBCE1, Data2: 0x2C2F, Data3: 0x5D8E, Data4: ( 0x91,0xA4,0xAA,0xE1,0x12,0x1E,0x61,0x86 ))// C70DBCE1-2C2F-5D8E-91A4-AAE1121E6186
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIContainerVisualFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x3FA45EEB, Data2: 0xC6DD, Data3: 0x5AFD, Data4: ( 0x97,0x1D,0xEA,0xAF,0x62,0x45,0xE7,0x16 ))// 3FA45EEB-C6DD-5AFD-971D-EAAF6245E716
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CICubicBezierEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x35E7FCDE, Data2: 0xF9CE, Data3: 0x590A, Data4: ( 0x8B,0x88,0x64,0xA8,0x2A,0x6B,0x4B,0x48 ))// 35E7FCDE-F9CE-590A-8B88-64A82A6B4B48
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIDistantLight: WindowsFoundation.IID {
|
|
.init(Data1: 0x125EF556, Data2: 0x56EE, Data3: 0x5C60, Data4: ( 0xB9,0x44,0x57,0x19,0x28,0xCA,0x03,0xF5 ))// 125EF556-56EE-5C60-B944-571928CA03F5
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIDistantLight2: WindowsFoundation.IID {
|
|
.init(Data1: 0x9F97BFEC, Data2: 0xB6B9, Data3: 0x51EE, Data4: ( 0x84,0x80,0xB5,0x46,0x46,0x8C,0x74,0x8F ))// 9F97BFEC-B6B9-51EE-8480-B546468C748F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIDropShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0x977095D2, Data2: 0x265F, Data3: 0x5F58, Data4: ( 0x97,0x89,0xCB,0x7F,0x85,0xE9,0x8C,0x9E ))// 977095D2-265F-5F58-9789-CB7F85E98C9E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIDropShadow2: WindowsFoundation.IID {
|
|
.init(Data1: 0xCBC7C266, Data2: 0x2D33, Data3: 0x5711, Data4: ( 0xB3,0xB4,0x56,0x99,0x41,0x0B,0xEF,0x56 ))// CBC7C266-2D33-5711-B3B4-5699410BEF56
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIElasticEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0xB952E12F, Data2: 0x4A50, Data3: 0x51A9, Data4: ( 0xA1,0x1A,0x23,0x85,0x5F,0x4A,0xAE,0x07 ))// B952E12F-4A50-51A9-A11A-23855F4AAE07
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIExponentialEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0xDF29ECC1, Data2: 0x3FFC, Data3: 0x565F, Data4: ( 0x9D,0x6C,0x53,0x35,0x86,0x90,0x81,0x06 ))// DF29ECC1-3FFC-565F-9D6C-533586908106
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIExpressionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x7FFF5826, Data2: 0x1992, Data3: 0x56C0, Data4: ( 0x90,0x60,0x5A,0xDE,0x56,0x1A,0x4F,0x2D ))// 7FFF5826-1992-56C0-9060-5ADE561A4F2D
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIImplicitAnimationCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0xC5C0689E, Data2: 0xF5AE, Data3: 0x5BED, Data4: ( 0x82,0x9B,0xC5,0x22,0xCD,0xA3,0x97,0x17 ))// C5C0689E-F5AE-5BED-829B-C522CDA39717
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIInsetClip: WindowsFoundation.IID {
|
|
.init(Data1: 0xF9D99475, Data2: 0x7B59, Data3: 0x5B28, Data4: ( 0xA1,0xD2,0xB8,0x32,0xDA,0x69,0x88,0xC9 ))// F9D99475-7B59-5B28-A1D2-B832DA6988C9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x5A8F57F0, Data2: 0xF059, Data3: 0x5B47, Data4: ( 0xB3,0x08,0xC4,0xC8,0x0F,0xC7,0x12,0x48 ))// 5A8F57F0-F059-5B47-B308-C4C80FC71248
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation2: WindowsFoundation.IID {
|
|
.init(Data1: 0x414692E5, Data2: 0x8A7E, Data3: 0x58EA, Data4: ( 0x83,0xE1,0x25,0xCE,0x47,0x5D,0x93,0x00 ))// 414692E5-8A7E-58EA-83E1-25CE475D9300
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation3: WindowsFoundation.IID {
|
|
.init(Data1: 0x4F97E180, Data2: 0x9BCB, Data3: 0x5FC4, Data4: ( 0xAB,0xBE,0x43,0xAA,0x3B,0xE3,0x27,0xE7 ))// 4F97E180-9BCB-5FC4-ABBE-43AA3BE327E7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x7CCCFC87, Data2: 0x3BAF, Data3: 0x5100, Data4: ( 0xB5,0xF8,0x2F,0x77,0x9F,0x95,0x4F,0x19 ))// 7CCCFC87-3BAF-5100-B5F8-2F779F954F19
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CILayerVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0x64D05CA1, Data2: 0x3BF6, Data3: 0x5D4F, Data4: ( 0x98,0xA1,0x75,0x00,0xF2,0xF2,0x3E,0xBE ))// 64D05CA1-3BF6-5D4F-98A1-7500F2F23EBE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CILayerVisual2: WindowsFoundation.IID {
|
|
.init(Data1: 0x9AB2E401, Data2: 0xAF45, Data3: 0x54DA, Data4: ( 0x99,0x91,0xDD,0x31,0x27,0x31,0x55,0xD2 ))// 9AB2E401-AF45-54DA-9991-DD31273155D2
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CILinearEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x79BFEEF6, Data2: 0x70C7, Data3: 0x50A6, Data4: ( 0xBB,0x3A,0x0E,0x96,0x36,0x14,0x86,0x95 ))// 79BFEEF6-70C7-50A6-BB3A-0E9636148695
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CINaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x2FF54EBB, Data2: 0xA035, Data3: 0x50BE, Data4: ( 0xA7,0x3C,0x20,0x01,0x49,0x75,0xEE,0x31 ))// 2FF54EBB-A035-50BE-A73C-20014975EE31
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CINaturalMotionAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x0411A259, Data2: 0x2622, Data3: 0x59E2, Data4: ( 0xA5,0x9E,0x1E,0x23,0xD8,0xF8,0x3A,0x9F ))// 0411A259-2622-59E2-A59E-1E23D8F83A9F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIPathKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x2B692808, Data2: 0x43DA, Data3: 0x5118, Data4: ( 0xB6,0x6D,0x90,0x4A,0x3E,0xC7,0x4F,0xD9 ))// 2B692808-43DA-5118-B66D-904A3EC74FD9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIPointLight: WindowsFoundation.IID {
|
|
.init(Data1: 0xED5CC102, Data2: 0xF0AC, Data3: 0x59A8, Data4: ( 0x86,0x78,0xCE,0x54,0x14,0x6E,0x7B,0xE8 ))// ED5CC102-F0AC-59A8-8678-CE54146E7BE8
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIPointLight2: WindowsFoundation.IID {
|
|
.init(Data1: 0xDE466104, Data2: 0x59D9, Data3: 0x57D2, Data4: ( 0x92,0xB5,0x55,0x4D,0x6D,0x82,0xED,0xF2 ))// DE466104-59D9-57D2-92B5-554D6D82EDF2
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIPointLight3: WindowsFoundation.IID {
|
|
.init(Data1: 0xBE30E87A, Data2: 0x8CBB, Data3: 0x5A56, Data4: ( 0x8D,0x24,0x2C,0xD8,0x65,0xF3,0x83,0xB3 ))// BE30E87A-8CBB-5A56-8D24-2CD865F383B3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIPowerEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x0268A272, Data2: 0xEA06, Data3: 0x5FB0, Data4: ( 0x8D,0xEF,0x49,0x72,0x6B,0xCE,0xE3,0x9B ))// 0268A272-EA06-5FB0-8DEF-49726BCEE39B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIQuaternionKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xE72D1026, Data2: 0xDA3B, Data3: 0x5D56, Data4: ( 0x85,0x8B,0x3A,0x9A,0xA3,0xC5,0x7D,0x70 ))// E72D1026-DA3B-5D56-858B-3A9AA3C57D70
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip: WindowsFoundation.IID {
|
|
.init(Data1: 0xBC261502, Data2: 0x2259, Data3: 0x5C01, Data4: ( 0x86,0x16,0x55,0x61,0x10,0xA0,0x96,0x57 ))// BC261502-2259-5C01-8616-556110A09657
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIRedirectVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0x6C10081A, Data2: 0xCDE1, Data3: 0x50D9, Data4: ( 0xAC,0x05,0x78,0xD6,0x84,0x5B,0x65,0x6F ))// 6C10081A-CDE1-50D9-AC05-78D6845B656F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIRenderingDeviceReplacedEventArgs: WindowsFoundation.IID {
|
|
.init(Data1: 0xFE5B97C7, Data2: 0xF656, Data3: 0x56D6, Data4: ( 0xA0,0xCD,0x3E,0x12,0x27,0xE4,0xDD,0x44 ))// FE5B97C7-F656-56D6-A0CD-3E1227E4DD44
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIScalarKeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x5A5F8ABE, Data2: 0xD129, Data3: 0x5B25, Data4: ( 0x8A,0xFF,0x81,0x80,0xFD,0x9B,0xFB,0x22 ))// 5A5F8ABE-D129-5B25-8AFF-8180FD9BFB22
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x903224B0, Data2: 0x2DBE, Data3: 0x56EB, Data4: ( 0xB9,0xEA,0x33,0xD2,0xE3,0x11,0x31,0x81 ))// 903224B0-2DBE-56EB-B9EA-33D2E3113181
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x14F8A9AB, Data2: 0x976C, Data3: 0x5E6F, Data4: ( 0x89,0x0B,0x9A,0x74,0xD0,0x7F,0xA3,0x9F ))// 14F8A9AB-976C-5E6F-890B-9A74D07FA39F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIShapeVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0xA911C80B, Data2: 0xA5A5, Data3: 0x5ACA, Data4: ( 0xB8,0xFF,0xC4,0x3F,0x08,0xF0,0x61,0x43 ))// A911C80B-A5A5-5ACA-B8FF-C43F08F06143
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISineEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0x7FCCB5F8, Data2: 0xCB0E, Data3: 0x5A01, Data4: ( 0xA2,0x6B,0x98,0x88,0x0F,0xF4,0x9D,0xC6 ))// 7FCCB5F8-CB0E-5A01-A26B-98880FF49DC6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpotLight: WindowsFoundation.IID {
|
|
.init(Data1: 0x5935496A, Data2: 0x0586, Data3: 0x5F77, Data4: ( 0xBD,0x03,0xD5,0xA6,0xBB,0x9E,0x8F,0xA0 ))// 5935496A-0586-5F77-BD03-D5A6BB9E8FA0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpotLight2: WindowsFoundation.IID {
|
|
.init(Data1: 0x49DD3B50, Data2: 0xEC5C, Data3: 0x5B6C, Data4: ( 0xBA,0xA1,0x85,0x04,0xB1,0x3E,0x3A,0x67 ))// 49DD3B50-EC5C-5B6C-BAA1-8504B13E3A67
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpotLight3: WindowsFoundation.IID {
|
|
.init(Data1: 0xC6919941, Data2: 0x0D9F, Data3: 0x58C8, Data4: ( 0x91,0xE2,0xAD,0xEF,0x6E,0x5E,0x70,0xA4 ))// C6919941-0D9F-58C8-91E2-ADEF6E5E70A4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpringScalarNaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x6F720AFD, Data2: 0xD3D0, Data3: 0x5E78, Data4: ( 0x9C,0x2E,0x83,0x09,0x2F,0x6E,0xA4,0x5E ))// 6F720AFD-D3D0-5E78-9C2E-83092F6EA45E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpringVector2NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x5B4580A4, Data2: 0x2594, Data3: 0x521E, Data4: ( 0xB2,0x88,0xEA,0xF2,0xC2,0xA1,0x6A,0x66 ))// 5B4580A4-2594-521E-B288-EAF2C2A16A66
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpringVector3NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x02D9E1C6, Data2: 0x7434, Data3: 0x5464, Data4: ( 0xA1,0xF6,0xD6,0x44,0xCE,0x1F,0xC9,0xA6 ))// 02D9E1C6-7434-5464-A1F6-D644CE1FC9A6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpriteVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0x7E964632, Data2: 0x45E4, Data3: 0x5761, Data4: ( 0x80,0x6D,0x5B,0x40,0x22,0xC1,0x4F,0x26 ))// 7E964632-45E4-5761-806D-5B4022C14F26
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CISpriteVisual2: WindowsFoundation.IID {
|
|
.init(Data1: 0x3CB43662, Data2: 0x9ECF, Data3: 0x5128, Data4: ( 0x85,0x0D,0x9E,0xB8,0x43,0x77,0x74,0xF0 ))// 3CB43662-9ECF-5128-850D-9EB8437774F0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIStepEasingFunction: WindowsFoundation.IID {
|
|
.init(Data1: 0xC7B1D4CF, Data2: 0xC562, Data3: 0x56B3, Data4: ( 0xB4,0xE6,0xB2,0x13,0x26,0x16,0x5F,0x71 ))// C7B1D4CF-C562-56B3-B4E6-B21326165F71
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector2KeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xE9C5E3FD, Data2: 0x43B7, Data3: 0x526E, Data4: ( 0x9D,0xA0,0x4C,0x3E,0xA9,0x6D,0xB2,0x7D ))// E9C5E3FD-43B7-526E-9DA0-4C3EA96DB27D
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xE00E60CE, Data2: 0xD1BE, Data3: 0x5C24, Data4: ( 0x88,0x5D,0xC1,0xD0,0xA7,0x49,0xD1,0x09 ))// E00E60CE-D1BE-5C24-885D-C1D0A749D109
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xE39AEAD8, Data2: 0x80F9, Data3: 0x5F64, Data4: ( 0x86,0x44,0xE9,0xE5,0x64,0x6B,0x79,0x6F ))// E39AEAD8-80F9-5F64-8644-E9E5646B796F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector3KeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0xD7DA980E, Data2: 0x2DDE, Data3: 0x5DD1, Data4: ( 0xA4,0x0C,0xD6,0x86,0x8D,0xD2,0x44,0x9E ))// D7DA980E-2DDE-5DD1-A40C-D6868DD2449E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x13FEEEF2, Data2: 0xD2C0, Data3: 0x5B72, Data4: ( 0xAD,0x67,0x98,0x3A,0x19,0xB9,0xB7,0x83 ))// 13FEEEF2-D2C0-5B72-AD67-983A19B9B783
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimationFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x428241CB, Data2: 0xBE9C, Data3: 0x5C2A, Data4: ( 0x93,0x9C,0xEC,0x78,0xAA,0x60,0xBB,0x8A ))// 428241CB-BE9C-5C2A-939C-EC78AA60BB8A
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector4KeyFrameAnimation: WindowsFoundation.IID {
|
|
.init(Data1: 0x16CEA3B9, Data2: 0xC5E3, Data3: 0x5F6F, Data4: ( 0xB5,0xC7,0xDA,0x29,0xA3,0x1C,0xCF,0xC7 ))// 16CEA3B9-C5E3-5F6F-B5C7-DA29A31CCFC7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual: WindowsFoundation.IID {
|
|
.init(Data1: 0xC0EEAB6C, Data2: 0xC897, Data3: 0x5AC6, Data4: ( 0xA1,0xC9,0x63,0xAB,0xD5,0x05,0x5B,0x9B ))// C0EEAB6C-C897-5AC6-A1C9-63ABD5055B9B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual2: WindowsFoundation.IID {
|
|
.init(Data1: 0x492A7995, Data2: 0x0C5C, Data3: 0x5993, Data4: ( 0xA2,0x83,0x52,0xE4,0xDA,0x30,0x50,0xEE ))// 492A7995-0C5C-5993-A283-52E4DA3050EE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual3: WindowsFoundation.IID {
|
|
.init(Data1: 0x972B70B0, Data2: 0x950D, Data3: 0x5656, Data4: ( 0xA3,0x80,0xBD,0x4A,0x70,0x77,0x58,0x68 ))// 972B70B0-950D-5656-A380-BD4A70775868
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual4: WindowsFoundation.IID {
|
|
.init(Data1: 0x27CB223F, Data2: 0xC431, Data3: 0x57AC, Data4: ( 0xB6,0x1E,0xD6,0xB7,0x51,0x5D,0x57,0x9F ))// 27CB223F-C431-57AC-B61E-D6B7515D579F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0xD002896D, Data2: 0x67D8, Data3: 0x5F69, Data4: ( 0xAB,0x70,0x58,0x1F,0xA3,0xBF,0x37,0x0F ))// D002896D-67D8-5F69-AB70-581FA3BF370F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualElement: WindowsFoundation.IID {
|
|
.init(Data1: 0x2180F1F5, Data2: 0xB5D8, Data3: 0x4BF6, Data4: ( 0x92,0x0A,0x12,0x00,0x6E,0x63,0xEF,0xEF ))// 2180F1F5-B5D8-4BF6-920A-12006E63EFEF
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualElement2: WindowsFoundation.IID {
|
|
.init(Data1: 0xBC950C8D, Data2: 0x1DB0, Data3: 0x53AA, Data4: ( 0x9D,0xEE,0x34,0x27,0x1C,0xD1,0x8C,0xE6 ))// BC950C8D-1DB0-53AA-9DEE-34271CD18CE6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x77BB4668, Data2: 0x83FA, Data3: 0x5BB5, Data4: ( 0xB7,0x8B,0x5E,0x6F,0xDC,0x3D,0x40,0x38 ))// 77BB4668-83FA-5BB5-B78B-5E6FDC3D4038
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualUnorderedCollection: WindowsFoundation.IID {
|
|
.init(Data1: 0x4A97216E, Data2: 0x793E, Data3: 0x54E3, Data4: ( 0x96,0xE8,0xF9,0xDB,0x79,0x01,0x19,0xCD ))// 4A97216E-793E-54E3-96E8-F9DB790119CD
|
|
}
|
|
|
|
public enum __ABI_Microsoft_UI_Composition {
|
|
public class IAmbientLight: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIAmbientLight }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAmbientLight2 }
|
|
|
|
internal func get_IntensityImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAnimationController }
|
|
|
|
internal func get_PlaybackRateImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAnimationController.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Progress(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_ProgressBehaviorImpl() throws -> WinAppSDK.AnimationControllerProgressBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationControllerProgressBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationController.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ProgressBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_ProgressBehaviorImpl(_ value: WinAppSDK.AnimationControllerProgressBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAnimationController.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Pause(pThis))
|
|
}
|
|
}
|
|
|
|
internal func ResumeImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAnimationControllerStatics }
|
|
|
|
internal func get_MaxPlaybackRateImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIAnimationObject }
|
|
|
|
open func PopulatePropertyInfoImpl(_ propertyName: String, _ propertyInfo: WinAppSDK.AnimationPropertyInfo?) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationObject.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.PopulatePropertyInfo(pThis, _propertyName.get(), RawPointer(propertyInfo)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
internal static var IAnimationObjectVTable: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationObjectVtbl = .init(
|
|
QueryInterface: { IAnimationObjectWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IAnimationObjectWrapper.addRef($0) },
|
|
Release: { IAnimationObjectWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.IAnimationObjectWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.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: WinAppSDK.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_Microsoft_UI_Composition.IAnimationObjectBridge>
|
|
public class IAnimationPropertyInfo: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo }
|
|
|
|
internal func get_AccessModeImpl() throws -> WinAppSDK.AnimationPropertyAccessMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationPropertyAccessMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_AccessMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_AccessModeImpl(_ value: WinAppSDK.AnimationPropertyAccessMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_AccessMode(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IAnimationPropertyInfo2: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo2 }
|
|
|
|
internal func GetResolvedCompositionObjectImpl() throws -> WinAppSDK.CompositionObject? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetResolvedCompositionObject(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func GetResolvedCompositionObjectPropertyImpl() throws -> String {
|
|
var result: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIAnimationPropertyInfo2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetResolvedCompositionObjectProperty(pThis, &result))
|
|
}
|
|
return .init(from: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IBackEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIBackEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBackEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_AmplitudeImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBackEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Amplitude(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IBooleanKeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIBooleanKeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBooleanKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IBounceEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBounceEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_BouncesImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBounceEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Bounces(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_BouncinessImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIBounceEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Bounciness(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IBounceScalarNaturalMotionAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIBounceScalarNaturalMotionAnimation }
|
|
|
|
internal func get_AccelerationImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIBounceVector2NaturalMotionAnimation }
|
|
|
|
internal func get_AccelerationImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIBounceVector3NaturalMotionAnimation }
|
|
|
|
internal func get_AccelerationImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIBounceVector3NaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Restitution(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICircleEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICircleEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICircleEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IColorKeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIColorKeyFrameAnimation }
|
|
|
|
internal func get_InterpolationColorSpaceImpl() throws -> WinAppSDK.CompositionColorSpace {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionColorSpace = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIColorKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InterpolationColorSpace(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_InterpolationColorSpaceImpl(_ value: WinAppSDK.CompositionColorSpace) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimation }
|
|
|
|
internal func ClearAllParametersImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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: WinAppSDK.CompositionObject?) throws {
|
|
let _key = try! HString(key)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimation2 }
|
|
|
|
internal func SetBooleanParameterImpl(_ key: String, _ value: Bool) throws {
|
|
let _key = try! HString(key)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimation3 }
|
|
|
|
internal func get_InitialValueExpressionsImpl() throws -> WinAppSDK.InitialValueExpressionCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimation4 }
|
|
|
|
internal func SetExpressionReferenceParameterImpl(_ parameterName: String, _ source: WinAppSDK.AnyIAnimationObject?) throws {
|
|
let _parameterName = try! HString(parameterName)
|
|
let sourceWrapper = __ABI_Microsoft_UI_Composition.IAnimationObjectWrapper(source)
|
|
let _source = try! sourceWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimationBase }
|
|
|
|
}
|
|
|
|
internal static var ICompositionAnimationBaseVTable: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationBaseVtbl = .init(
|
|
QueryInterface: { ICompositionAnimationBaseWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { ICompositionAnimationBaseWrapper.addRef($0) },
|
|
Release: { ICompositionAnimationBaseWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.ICompositionAnimationBaseWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.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_Microsoft_UI_Composition.ICompositionAnimationBaseBridge>
|
|
public class ICompositionAnimationFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionAnimationGroup: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationGroup }
|
|
|
|
internal func get_CountImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func AddImpl(_ value: WinAppSDK.CompositionAnimation?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Add(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveImpl(_ value: WinAppSDK.CompositionAnimation?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionAnimationGroup.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionApiInformationStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionApiInformationStatics }
|
|
|
|
internal func get_ApiVersionImpl() throws -> UInt64 {
|
|
var value: UINT64 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionApiInformationStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ApiVersion(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionBackdropBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBackdropBrush }
|
|
|
|
}
|
|
|
|
public class ICompositionBatchCompletedEventArgs: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBatchCompletedEventArgs }
|
|
|
|
}
|
|
|
|
public class ICompositionBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBrush }
|
|
|
|
}
|
|
|
|
public class ICompositionBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionBrushFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionCapabilities: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionCapabilities }
|
|
|
|
internal func AreEffectsSupportedImpl() throws -> Bool {
|
|
var result: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionCapabilities.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.AreEffectsSupported(pThis, &result))
|
|
}
|
|
return .init(from: result)
|
|
}
|
|
|
|
internal func AreEffectsFastImpl() throws -> Bool {
|
|
var result: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionCapabilities.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.AreEffectsFast(pThis, &result))
|
|
}
|
|
return .init(from: result)
|
|
}
|
|
|
|
internal func add_ChangedImpl(_ handler: TypedEventHandler<WinAppSDK.CompositionCapabilities?, Any?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinAppSDK.__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CUI__CComposition__CCompositionCapabilities_IInspectableWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionCapabilities.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Changed(pThis, token))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionClip: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionClip }
|
|
|
|
}
|
|
|
|
public class ICompositionClip2: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionClip2 }
|
|
|
|
internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionClipFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionColorBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionColorBrush }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionColorGradientStop }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionColorGradientStopCollection }
|
|
|
|
}
|
|
|
|
public class ICompositionCommitBatch: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionCommitBatch }
|
|
|
|
internal func get_IsActiveImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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<Any?, WinAppSDK.CompositionBatchCompletedEventArgs?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinAppSDK.__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CMicrosoft__CUI__CComposition__CCompositionBatchCompletedEventArgsWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionContainerShape }
|
|
|
|
internal func get_ShapesImpl() throws -> WinAppSDK.CompositionShapeCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionDrawingSurface }
|
|
|
|
internal func get_AlphaModeImpl() throws -> WinAppSDK.DirectXAlphaMode {
|
|
var value: __x_ABI_CMicrosoft_CGraphics_CDirectX_CDirectXAlphaMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionDrawingSurface.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlphaMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_PixelFormatImpl() throws -> WinAppSDK.DirectXPixelFormat {
|
|
var value: __x_ABI_CMicrosoft_CGraphics_CDirectX_CDirectXPixelFormat = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionDrawingSurface2 }
|
|
|
|
internal func get_SizeInt32Impl() throws -> UWP.SizeInt32 {
|
|
var value: __x_ABI_CWindows_CGraphics_CSizeInt32 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionDrawingSurfaceFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunction }
|
|
|
|
}
|
|
|
|
public class ICompositionEasingFunctionFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionEasingFunctionStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics }
|
|
|
|
internal func CreateCubicBezierEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ controlPoint1: WindowsFoundation.Vector2, _ controlPoint2: WindowsFoundation.Vector2) throws -> WinAppSDK.CubicBezierEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateCubicBezierEasingFunction(pThis, RawPointer(owner), .from(swift: controlPoint1), .from(swift: controlPoint2), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateLinearEasingFunctionImpl(_ owner: WinAppSDK.Compositor?) throws -> WinAppSDK.LinearEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLinearEasingFunction(pThis, RawPointer(owner), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateStepEasingFunctionImpl(_ owner: WinAppSDK.Compositor?) throws -> WinAppSDK.StepEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateStepEasingFunction(pThis, RawPointer(owner), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateStepEasingFunctionWithStepCountImpl(_ owner: WinAppSDK.Compositor?, _ stepCount: Int32) throws -> WinAppSDK.StepEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateStepEasingFunctionWithStepCount(pThis, RawPointer(owner), stepCount, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateBackEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode, _ amplitude: Float) throws -> WinAppSDK.BackEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBackEasingFunction(pThis, RawPointer(owner), mode, amplitude, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateBounceEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode, _ bounces: Int32, _ bounciness: Float) throws -> WinAppSDK.BounceEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceEasingFunction(pThis, RawPointer(owner), mode, bounces, bounciness, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateCircleEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode) throws -> WinAppSDK.CircleEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateCircleEasingFunction(pThis, RawPointer(owner), mode, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateElasticEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode, _ oscillations: Int32, _ springiness: Float) throws -> WinAppSDK.ElasticEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateElasticEasingFunction(pThis, RawPointer(owner), mode, oscillations, springiness, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateExponentialEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode, _ exponent: Float) throws -> WinAppSDK.ExponentialEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateExponentialEasingFunction(pThis, RawPointer(owner), mode, exponent, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreatePowerEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode, _ power: Float) throws -> WinAppSDK.PowerEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePowerEasingFunction(pThis, RawPointer(owner), mode, power, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSineEasingFunctionImpl(_ owner: WinAppSDK.Compositor?, _ mode: WinAppSDK.CompositionEasingFunctionMode) throws -> WinAppSDK.SineEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEasingFunctionStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSineEasingFunction(pThis, RawPointer(owner), mode, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionEffectBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectBrush }
|
|
|
|
internal func GetSourceParameterImpl(_ name: String) throws -> WinAppSDK.CompositionBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let _name = try! HString(name)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
let _name = try! HString(name)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionEffectFactory }
|
|
|
|
internal func CreateBrushImpl() throws -> WinAppSDK.CompositionEffectBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionEffectFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtendedError(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_LoadStatusImpl() throws -> WinAppSDK.CompositionEffectFactoryLoadStatus {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEffectFactoryLoadStatus = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionEffectSourceParameter }
|
|
|
|
internal func get_NameImpl() throws -> String {
|
|
var value: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionEffectSourceParameterFactory }
|
|
|
|
internal func CreateImpl(_ name: String) throws -> ICompositionEffectSourceParameter {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _name = try! HString(name)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionEffectSourceParameterFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Create(pThis, _name.get(), &valueAbi))
|
|
}
|
|
}
|
|
return ICompositionEffectSourceParameter(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionEllipseGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionEllipseGeometry }
|
|
|
|
internal func get_CenterImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGeometricClip }
|
|
|
|
internal func get_GeometryImpl() throws -> WinAppSDK.CompositionGeometry? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionGeometry?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGeometricClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Geometry(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_ViewBoxImpl() throws -> WinAppSDK.CompositionViewBox? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionViewBox?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGeometry }
|
|
|
|
internal func get_TrimEndImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGeometryFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionGradientBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush }
|
|
|
|
internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_ColorStopsImpl() throws -> WinAppSDK.CompositionColorGradientStopCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGradientExtendMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGradientExtendMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtendMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_ExtendModeImpl(_ value: WinAppSDK.CompositionGradientExtendMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ExtendMode(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_InterpolationSpaceImpl() throws -> WinAppSDK.CompositionColorSpace {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionColorSpace = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InterpolationSpace(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_InterpolationSpaceImpl(_ value: WinAppSDK.CompositionColorSpace) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGradientBrush2 }
|
|
|
|
internal func get_MappingModeImpl() throws -> WinAppSDK.CompositionMappingMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionMappingMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGradientBrush2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_MappingMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_MappingModeImpl(_ value: WinAppSDK.CompositionMappingMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGradientBrushFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionGraphicsDevice: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice }
|
|
|
|
internal func CreateDrawingSurfaceImpl(_ sizePixels: WindowsFoundation.Size, _ pixelFormat: WinAppSDK.DirectXPixelFormat, _ alphaMode: WinAppSDK.DirectXAlphaMode) throws -> WinAppSDK.CompositionDrawingSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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<WinAppSDK.CompositionGraphicsDevice?, WinAppSDK.RenderingDeviceReplacedEventArgs?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinAppSDK.__x_ABI_C__FITypedEventHandler_2___x_ABI_CMicrosoft__CUI__CComposition__CCompositionGraphicsDevice___x_ABI_CMicrosoft__CUI__CComposition__CRenderingDeviceReplacedEventArgsWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice2 }
|
|
|
|
internal func CreateDrawingSurface2Impl(_ sizePixels: UWP.SizeInt32, _ pixelFormat: WinAppSDK.DirectXPixelFormat, _ alphaMode: WinAppSDK.DirectXAlphaMode) throws -> WinAppSDK.CompositionDrawingSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.DirectXPixelFormat, _ alphaMode: WinAppSDK.DirectXAlphaMode) throws -> WinAppSDK.CompositionVirtualDrawingSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice3 }
|
|
|
|
internal func CreateMipmapSurfaceImpl(_ sizePixels: UWP.SizeInt32, _ pixelFormat: WinAppSDK.DirectXPixelFormat, _ alphaMode: WinAppSDK.DirectXAlphaMode) throws -> WinAppSDK.CompositionMipmapSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Trim(pThis))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionGraphicsDevice4: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice4 }
|
|
|
|
internal func CaptureAsyncImpl(_ captureVisual: WinAppSDK.Visual?, _ size: UWP.SizeInt32, _ pixelFormat: WinAppSDK.DirectXPixelFormat, _ alphaMode: WinAppSDK.DirectXAlphaMode, _ sdrBoost: Float) throws -> WindowsFoundation.AnyIAsyncOperation<WinAppSDK.AnyICompositionSurface?>? {
|
|
let (operation) = try ComPtrs.initialize { operationAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionGraphicsDevice4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CaptureAsync(pThis, RawPointer(captureVisual), .from(swift: size), pixelFormat, alphaMode, sdrBoost, &operationAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIAsyncOperation_1___x_ABI_CMicrosoft__CUI__CComposition__CICompositionSurfaceWrapper.unwrapFrom(abi: operation)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionLight: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLight }
|
|
|
|
internal func get_TargetsImpl() throws -> WinAppSDK.VisualUnorderedCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionLight2 }
|
|
|
|
internal func get_ExclusionsFromTargetsImpl() throws -> WinAppSDK.VisualUnorderedCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionLight3 }
|
|
|
|
internal func get_IsEnabledImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionLightFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionLineGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionLineGeometry }
|
|
|
|
internal func get_StartImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionLinearGradientBrush }
|
|
|
|
internal func get_EndPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionMaskBrush }
|
|
|
|
internal func get_MaskImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionMaskBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Mask(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_SourceImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionMipmapSurface }
|
|
|
|
internal func get_LevelCountImpl() throws -> UInt32 {
|
|
var value: UINT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_LevelCount(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_AlphaModeImpl() throws -> WinAppSDK.DirectXAlphaMode {
|
|
var value: __x_ABI_CMicrosoft_CGraphics_CDirectX_CDirectXAlphaMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionMipmapSurface.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlphaMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_PixelFormatImpl() throws -> WinAppSDK.DirectXPixelFormat {
|
|
var value: __x_ABI_CMicrosoft_CGraphics_CDirectX_CDirectXPixelFormat = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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 -> WinAppSDK.CompositionDrawingSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionNineGridBrush }
|
|
|
|
internal func get_BottomInsetImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionNineGridBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_RightInsetScale(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_SourceImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionObject }
|
|
|
|
internal func get_CompositorImpl() throws -> WinAppSDK.Compositor? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Compositor(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_PropertiesImpl() throws -> WinAppSDK.CompositionPropertySet? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionAnimation?) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionObject2 }
|
|
|
|
internal func get_CommentImpl() throws -> String {
|
|
var value: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionObject2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Comment(pThis, _value.get()))
|
|
}
|
|
}
|
|
|
|
internal func get_ImplicitAnimationsImpl() throws -> WinAppSDK.ImplicitAnimationCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.ImplicitAnimationCollection?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ImplicitAnimations(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func StartAnimationGroupImpl(_ value: WinAppSDK.AnyICompositionAnimationBase?) throws {
|
|
let valueWrapper = __ABI_Microsoft_UI_Composition.ICompositionAnimationBaseWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationGroup(pThis, _value))
|
|
}
|
|
}
|
|
|
|
internal func StopAnimationGroupImpl(_ value: WinAppSDK.AnyICompositionAnimationBase?) throws {
|
|
let valueWrapper = __ABI_Microsoft_UI_Composition.ICompositionAnimationBaseWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionObject3 }
|
|
|
|
internal func get_DispatcherQueueImpl() throws -> WinAppSDK.DispatcherQueue? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionObject4 }
|
|
|
|
internal func TryGetAnimationControllerImpl(_ propertyName: String) throws -> WinAppSDK.AnimationController? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetAnimationController(pThis, _propertyName.get(), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionObject5: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject5 }
|
|
|
|
internal func StartAnimationWithControllerImpl(_ propertyName: String, _ animation: WinAppSDK.CompositionAnimation?, _ animationController: WinAppSDK.AnimationController?) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObject5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationWithController(pThis, _propertyName.get(), RawPointer(animation), RawPointer(animationController)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionObjectFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObjectFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionObjectStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionObjectStatics }
|
|
|
|
internal func StartAnimationWithIAnimationObjectImpl(_ target: WinAppSDK.AnyIAnimationObject?, _ propertyName: String, _ animation: WinAppSDK.CompositionAnimation?) throws {
|
|
let targetWrapper = __ABI_Microsoft_UI_Composition.IAnimationObjectWrapper(target)
|
|
let _target = try! targetWrapper?.toABI { $0 }
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionObjectStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.StartAnimationWithIAnimationObject(pThis, _target, _propertyName.get(), RawPointer(animation)))
|
|
}
|
|
}
|
|
|
|
internal func StartAnimationGroupWithIAnimationObjectImpl(_ target: WinAppSDK.AnyIAnimationObject?, _ animation: WinAppSDK.AnyICompositionAnimationBase?) throws {
|
|
let targetWrapper = __ABI_Microsoft_UI_Composition.IAnimationObjectWrapper(target)
|
|
let _target = try! targetWrapper?.toABI { $0 }
|
|
let animationWrapper = __ABI_Microsoft_UI_Composition.ICompositionAnimationBaseWrapper(animation)
|
|
let _animation = try! animationWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionPath }
|
|
|
|
}
|
|
|
|
public class ICompositionPathFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPathFactory }
|
|
|
|
internal func CreateImpl(_ source: UWP.AnyIGeometrySource2D?) throws -> ICompositionPath {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let sourceWrapper = __ABI_Windows_Graphics.IGeometrySource2DWrapper(source)
|
|
let _source = try! sourceWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionPathFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Create(pThis, _source, &valueAbi))
|
|
}
|
|
}
|
|
return ICompositionPath(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionPathGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionPathGeometry }
|
|
|
|
internal func get_PathImpl() throws -> WinAppSDK.CompositionPath? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionPath?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadow }
|
|
|
|
internal func get_BlurRadiusMultiplierImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_BlurRadiusMultiplier(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_CastersImpl() throws -> WinAppSDK.CompositionProjectedShadowCasterCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionLight? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionLight?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_MinBlurRadius(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_ReceiversImpl() throws -> WinAppSDK.CompositionProjectedShadowReceiverUnorderedCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCaster }
|
|
|
|
internal func get_BrushImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCaster.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Brush(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_CastingVisualImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection }
|
|
|
|
internal func get_CountImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func InsertAboveImpl(_ newCaster: WinAppSDK.CompositionProjectedShadowCaster?, _ reference: WinAppSDK.CompositionProjectedShadowCaster?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAbove(pThis, RawPointer(newCaster), RawPointer(reference)))
|
|
}
|
|
}
|
|
|
|
internal func InsertAtBottomImpl(_ newCaster: WinAppSDK.CompositionProjectedShadowCaster?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtBottom(pThis, RawPointer(newCaster)))
|
|
}
|
|
}
|
|
|
|
internal func InsertAtTopImpl(_ newCaster: WinAppSDK.CompositionProjectedShadowCaster?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtTop(pThis, RawPointer(newCaster)))
|
|
}
|
|
}
|
|
|
|
internal func InsertBelowImpl(_ newCaster: WinAppSDK.CompositionProjectedShadowCaster?, _ reference: WinAppSDK.CompositionProjectedShadowCaster?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertBelow(pThis, RawPointer(newCaster), RawPointer(reference)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveImpl(_ caster: WinAppSDK.CompositionProjectedShadowCaster?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowCasterCollectionStatics }
|
|
|
|
internal func get_MaxRespectedCastersImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowReceiver }
|
|
|
|
internal func get_ReceivingVisualImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection }
|
|
|
|
internal func AddImpl(_ value: WinAppSDK.CompositionProjectedShadowReceiver?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionProjectedShadowReceiverUnorderedCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func RemoveImpl(_ value: WinAppSDK.CompositionProjectedShadowReceiver?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionPropertySet }
|
|
|
|
internal func InsertColorImpl(_ propertyName: String, _ value: UWP.Color) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector3 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: __x_ABI_CWindows_CFoundation_CNumerics_CVector4 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionPropertySet2 }
|
|
|
|
internal func InsertBooleanImpl(_ propertyName: String, _ value: Bool) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionGetValueStatus {
|
|
var result: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionGetValueStatus = .init(0)
|
|
let _propertyName = try! HString(propertyName)
|
|
var _value: boolean = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionRadialGradientBrush }
|
|
|
|
internal func get_EllipseCenterImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionRectangleGeometry }
|
|
|
|
internal func get_OffsetImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionRoundedRectangleGeometry }
|
|
|
|
internal func get_CornerRadiusImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionScopedBatch }
|
|
|
|
internal func get_IsActiveImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionScopedBatch.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.End(pThis))
|
|
}
|
|
}
|
|
|
|
internal func ResumeImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionScopedBatch.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Resume(pThis))
|
|
}
|
|
}
|
|
|
|
internal func SuspendImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionScopedBatch.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Suspend(pThis))
|
|
}
|
|
}
|
|
|
|
internal func add_CompletedImpl(_ handler: TypedEventHandler<Any?, WinAppSDK.CompositionBatchCompletedEventArgs?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinAppSDK.__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CMicrosoft__CUI__CComposition__CCompositionBatchCompletedEventArgsWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionShadow }
|
|
|
|
}
|
|
|
|
public class ICompositionShadowFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShadowFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionShape: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionShape }
|
|
|
|
internal func get_CenterPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionShapeFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionSpriteShape: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape }
|
|
|
|
internal func get_FillBrushImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_FillBrush(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_GeometryImpl() throws -> WinAppSDK.CompositionGeometry? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionGeometry?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsStrokeNonScaling(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_StrokeBrushImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeBrush(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_StrokeDashArrayImpl() throws -> WinAppSDK.CompositionStrokeDashArray? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionStrokeCap {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStrokeCap = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeDashCap(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StrokeDashCapImpl(_ value: WinAppSDK.CompositionStrokeCap) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeDashOffset(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_StrokeEndCapImpl() throws -> WinAppSDK.CompositionStrokeCap {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStrokeCap = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeEndCap(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StrokeEndCapImpl(_ value: WinAppSDK.CompositionStrokeCap) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeEndCap(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_StrokeLineJoinImpl() throws -> WinAppSDK.CompositionStrokeLineJoin {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStrokeLineJoin = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeLineJoin(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StrokeLineJoinImpl(_ value: WinAppSDK.CompositionStrokeLineJoin) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeMiterLimit(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_StrokeStartCapImpl() throws -> WinAppSDK.CompositionStrokeCap {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStrokeCap = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StrokeStartCap(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StrokeStartCapImpl(_ value: WinAppSDK.CompositionStrokeCap) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSpriteShape.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StrokeThickness(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionSupportsSystemBackdrop: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSupportsSystemBackdrop }
|
|
|
|
open func get_SystemBackdropImpl() throws -> UWP.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSupportsSystemBackdrop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SystemBackdrop(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
open func put_SystemBackdropImpl(_ value: UWP.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSupportsSystemBackdrop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SystemBackdrop(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
internal static var ICompositionSupportsSystemBackdropVTable: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSupportsSystemBackdropVtbl = .init(
|
|
QueryInterface: { ICompositionSupportsSystemBackdropWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { ICompositionSupportsSystemBackdropWrapper.addRef($0) },
|
|
Release: { ICompositionSupportsSystemBackdropWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop").detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
get_SystemBackdrop: {
|
|
guard let __unwrapped__instance = ICompositionSupportsSystemBackdropWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let value = __unwrapped__instance.systemBackdrop
|
|
value?.copyTo($1)
|
|
return S_OK
|
|
},
|
|
|
|
put_SystemBackdrop: {
|
|
guard let __unwrapped__instance = ICompositionSupportsSystemBackdropWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let value: UWP.CompositionBrush? = .from(abi: ComPtr($1))
|
|
__unwrapped__instance.systemBackdrop = value
|
|
return S_OK
|
|
}
|
|
)
|
|
|
|
public typealias ICompositionSupportsSystemBackdropWrapper = InterfaceWrapperBase<__IMPL_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropBridge>
|
|
public class ICompositionSurface: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurface }
|
|
|
|
}
|
|
|
|
internal static var ICompositionSurfaceVTable: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceVtbl = .init(
|
|
QueryInterface: { ICompositionSurfaceWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { ICompositionSurfaceWrapper.addRef($0) },
|
|
Release: { ICompositionSurfaceWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.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_Microsoft_UI_Composition.ICompositionSurfaceBridge>
|
|
public class ICompositionSurfaceBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush }
|
|
|
|
internal func get_BitmapInterpolationModeImpl() throws -> WinAppSDK.CompositionBitmapInterpolationMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionBitmapInterpolationMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_BitmapInterpolationMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_BitmapInterpolationModeImpl(_ value: WinAppSDK.CompositionBitmapInterpolationMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_HorizontalAlignmentRatio(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_StretchImpl() throws -> WinAppSDK.CompositionStretch {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStretch = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Stretch(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StretchImpl(_ value: WinAppSDK.CompositionStretch) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Stretch(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_SurfaceImpl() throws -> WinAppSDK.AnyICompositionSurface? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Surface(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_SurfaceImpl(_ value: WinAppSDK.AnyICompositionSurface?) throws {
|
|
let valueWrapper = __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush2 }
|
|
|
|
internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush3 }
|
|
|
|
internal func get_SnapToPixelsImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionSurfaceBrush3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SnapToPixels(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionSurfaceFacade: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceFacade }
|
|
|
|
open func GetRealSurfaceImpl() throws -> WinAppSDK.AnyICompositionSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceFacade.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetRealSurface(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
internal static var ICompositionSurfaceFacadeVTable: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionSurfaceFacadeVtbl = .init(
|
|
QueryInterface: { ICompositionSurfaceFacadeWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { ICompositionSurfaceFacadeWrapper.addRef($0) },
|
|
Release: { ICompositionSurfaceFacadeWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.ICompositionSurfaceFacadeWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.UI.Composition.ICompositionSurfaceFacade").detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
GetRealSurface: {
|
|
do {
|
|
guard let __unwrapped__instance = ICompositionSurfaceFacadeWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let result = try __unwrapped__instance.getRealSurface()
|
|
let resultWrapper = __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper(result)
|
|
resultWrapper?.copyTo($1)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
|
|
public typealias ICompositionSurfaceFacadeWrapper = InterfaceWrapperBase<__IMPL_Microsoft_UI_Composition.ICompositionSurfaceFacadeBridge>
|
|
public class ICompositionTransform: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionTransform }
|
|
|
|
}
|
|
|
|
public class ICompositionTransformFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionTransformFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionViewBox: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionViewBox }
|
|
|
|
internal func get_HorizontalAlignmentRatioImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionViewBox.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Size(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_StretchImpl() throws -> WinAppSDK.CompositionStretch {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionStretch = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositionViewBox.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Stretch(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StretchImpl(_ value: WinAppSDK.CompositionStretch) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositionVirtualDrawingSurface }
|
|
|
|
}
|
|
|
|
public class ICompositionVirtualDrawingSurfaceFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionVirtualDrawingSurfaceFactory }
|
|
|
|
}
|
|
|
|
public class ICompositionVisualSurface: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositionVisualSurface }
|
|
|
|
internal func get_SourceVisualImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositor }
|
|
|
|
internal func CreateColorKeyFrameAnimationImpl() throws -> WinAppSDK.ColorKeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateColorKeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateColorBrushImpl() throws -> WinAppSDK.CompositionColorBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionColorBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.ContainerVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CubicBezierEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.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_CMicrosoft_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<String>?) throws -> WinAppSDK.CompositionEffectFactory? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let graphicsEffectWrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectWrapper(graphicsEffect)
|
|
let _graphicsEffect = try! graphicsEffectWrapper?.toABI { $0 }
|
|
let animatablePropertiesWrapper = WinAppSDK.__x_ABI_C__FIIterable_1_HSTRINGWrapper(animatableProperties)
|
|
let _animatableProperties = try! animatablePropertiesWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.ExpressionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.ExpressionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let _expression = try! HString(expression)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.InsetClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.InsetClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.LinearEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLinearEasingFunction(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreatePropertySetImpl() throws -> WinAppSDK.CompositionPropertySet? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePropertySet(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateQuaternionKeyFrameAnimationImpl() throws -> WinAppSDK.QuaternionKeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateQuaternionKeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateScalarKeyFrameAnimationImpl() throws -> WinAppSDK.ScalarKeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateScalarKeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateScopedBatchImpl(_ batchType: WinAppSDK.CompositionBatchTypes) throws -> WinAppSDK.CompositionScopedBatch? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateScopedBatch(pThis, batchType, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpriteVisualImpl() throws -> WinAppSDK.SpriteVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpriteVisual(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSurfaceBrushImpl() throws -> WinAppSDK.CompositionSurfaceBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSurfaceBrush(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSurfaceBrushWithSurfaceImpl(_ surface: WinAppSDK.AnyICompositionSurface?) throws -> WinAppSDK.CompositionSurfaceBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let surfaceWrapper = __ABI_Microsoft_UI_Composition.ICompositionSurfaceWrapper(surface)
|
|
let _surface = try! surfaceWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSurfaceBrushWithSurface(pThis, _surface, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateVector2KeyFrameAnimationImpl() throws -> WinAppSDK.Vector2KeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector2KeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateVector3KeyFrameAnimationImpl() throws -> WinAppSDK.Vector3KeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector3KeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateVector4KeyFrameAnimationImpl() throws -> WinAppSDK.Vector4KeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateVector4KeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func GetCommitBatchImpl(_ batchType: WinAppSDK.CompositionBatchTypes) throws -> WinAppSDK.CompositionCommitBatch? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositor2 }
|
|
|
|
internal func CreateAmbientLightImpl() throws -> WinAppSDK.AmbientLight? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAmbientLight(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateAnimationGroupImpl() throws -> WinAppSDK.CompositionAnimationGroup? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAnimationGroup(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateBackdropBrushImpl() throws -> WinAppSDK.CompositionBackdropBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBackdropBrush(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateDistantLightImpl() throws -> WinAppSDK.DistantLight? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDistantLight(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateDropShadowImpl() throws -> WinAppSDK.DropShadow? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateDropShadow(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateImplicitAnimationCollectionImpl() throws -> WinAppSDK.ImplicitAnimationCollection? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateImplicitAnimationCollection(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateLayerVisualImpl() throws -> WinAppSDK.LayerVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLayerVisual(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateMaskBrushImpl() throws -> WinAppSDK.CompositionMaskBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateMaskBrush(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateNineGridBrushImpl() throws -> WinAppSDK.CompositionNineGridBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateNineGridBrush(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreatePointLightImpl() throws -> WinAppSDK.PointLight? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePointLight(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpotLightImpl() throws -> WinAppSDK.SpotLight? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpotLight(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateStepEasingFunctionImpl() throws -> WinAppSDK.StepEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.StepEasingFunction? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateStepEasingFunctionWithStepCount(pThis, stepCount, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositor4: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor4 }
|
|
|
|
internal func CreateColorGradientStopImpl() throws -> WinAppSDK.CompositionColorGradientStop? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionColorGradientStop? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionLinearGradientBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLinearGradientBrush(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpringScalarAnimationImpl() throws -> WinAppSDK.SpringScalarNaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpringScalarAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpringVector2AnimationImpl() throws -> WinAppSDK.SpringVector2NaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpringVector2Animation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpringVector3AnimationImpl() throws -> WinAppSDK.SpringVector3NaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositor5 }
|
|
|
|
internal func get_CommentImpl() throws -> String {
|
|
var value: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_GlobalPlaybackRate(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func CreateBounceScalarAnimationImpl() throws -> WinAppSDK.BounceScalarNaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceScalarAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateBounceVector2AnimationImpl() throws -> WinAppSDK.BounceVector2NaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceVector2Animation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateBounceVector3AnimationImpl() throws -> WinAppSDK.BounceVector3NaturalMotionAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBounceVector3Animation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateContainerShapeImpl() throws -> WinAppSDK.CompositionContainerShape? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateContainerShape(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateEllipseGeometryImpl() throws -> WinAppSDK.CompositionEllipseGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateEllipseGeometry(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateLineGeometryImpl() throws -> WinAppSDK.CompositionLineGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateLineGeometry(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreatePathGeometryImpl() throws -> WinAppSDK.CompositionPathGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePathGeometry(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreatePathGeometryWithPathImpl(_ path: WinAppSDK.CompositionPath?) throws -> WinAppSDK.CompositionPathGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.PathKeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreatePathKeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRectangleGeometryImpl() throws -> WinAppSDK.CompositionRectangleGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRectangleGeometry(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRoundedRectangleGeometryImpl() throws -> WinAppSDK.CompositionRoundedRectangleGeometry? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRoundedRectangleGeometry(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateShapeVisualImpl() throws -> WinAppSDK.ShapeVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateShapeVisual(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpriteShapeImpl() throws -> WinAppSDK.CompositionSpriteShape? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateSpriteShape(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateSpriteShapeWithGeometryImpl(_ geometry: WinAppSDK.CompositionGeometry?) throws -> WinAppSDK.CompositionSpriteShape? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionViewBox? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 (operation) = try ComPtrs.initialize { operationAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor5.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.RequestCommitAsync(pThis, &operationAbi))
|
|
}
|
|
}
|
|
return __ABI_Windows_Foundation.IAsyncActionWrapper.unwrapFrom(abi: operation)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositor6: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor6 }
|
|
|
|
internal func CreateGeometricClipImpl() throws -> WinAppSDK.CompositionGeometricClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor6.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateGeometricClip(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateGeometricClipWithGeometryImpl(_ geometry: WinAppSDK.CompositionGeometry?) throws -> WinAppSDK.CompositionGeometricClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.RedirectVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor6.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRedirectVisual(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRedirectVisualWithSourceVisualImpl(_ source: WinAppSDK.Visual?) throws -> WinAppSDK.RedirectVisual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.BooleanKeyFrameAnimation? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor6.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateBooleanKeyFrameAnimation(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositor7: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor7 }
|
|
|
|
internal func get_DispatcherQueueImpl() throws -> WinAppSDK.DispatcherQueue? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor7.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_DispatcherQueue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func CreateAnimationPropertyInfoImpl() throws -> WinAppSDK.AnimationPropertyInfo? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor7.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAnimationPropertyInfo(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRectangleClipImpl() throws -> WinAppSDK.RectangleClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor7.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRectangleClip(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRectangleClipWithSidesImpl(_ left: Float, _ top: Float, _ right: Float, _ bottom: Float) throws -> WinAppSDK.RectangleClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor7.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRectangleClipWithSides(pThis, left, top, right, bottom, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateRectangleClipWithSidesAndRadiusImpl(_ left: Float, _ top: Float, _ right: Float, _ bottom: Float, _ topLeftRadius: WindowsFoundation.Vector2, _ topRightRadius: WindowsFoundation.Vector2, _ bottomRightRadius: WindowsFoundation.Vector2, _ bottomLeftRadius: WindowsFoundation.Vector2) throws -> WinAppSDK.RectangleClip? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor7.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateRectangleClipWithSidesAndRadius(pThis, left, top, right, bottom, .from(swift: topLeftRadius), .from(swift: topRightRadius), .from(swift: bottomRightRadius), .from(swift: bottomLeftRadius), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositor8: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositor8 }
|
|
|
|
internal func CreateAnimationControllerImpl() throws -> WinAppSDK.AnimationController? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositor8.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateAnimationController(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositorStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICompositorStatics }
|
|
|
|
internal func get_MaxGlobalPlaybackRateImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositorWithProjectedShadow }
|
|
|
|
internal func CreateProjectedShadowCasterImpl() throws -> WinAppSDK.CompositionProjectedShadowCaster? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositorWithProjectedShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateProjectedShadowCaster(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateProjectedShadowImpl() throws -> WinAppSDK.CompositionProjectedShadow? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CICompositorWithProjectedShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateProjectedShadow(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func CreateProjectedShadowReceiverImpl() throws -> WinAppSDK.CompositionProjectedShadowReceiver? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositorWithRadialGradient }
|
|
|
|
internal func CreateRadialGradientBrushImpl() throws -> WinAppSDK.CompositionRadialGradientBrush? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CICompositorWithVisualSurface }
|
|
|
|
internal func CreateVisualSurfaceImpl() throws -> WinAppSDK.CompositionVisualSurface? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIContainerVisual }
|
|
|
|
internal func get_ChildrenImpl() throws -> WinAppSDK.VisualCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIContainerVisualFactory }
|
|
|
|
}
|
|
|
|
public class ICubicBezierEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CICubicBezierEasingFunction }
|
|
|
|
internal func get_ControlPoint1Impl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDistantLight }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDistantLight.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_CoordinateSpaceImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDistantLight2 }
|
|
|
|
internal func get_IntensityImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDropShadow }
|
|
|
|
internal func get_BlurRadiusImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDropShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_MaskImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIDropShadow2 }
|
|
|
|
internal func get_SourcePolicyImpl() throws -> WinAppSDK.CompositionDropShadowSourcePolicy {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionDropShadowSourcePolicy = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIDropShadow2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourcePolicy(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_SourcePolicyImpl(_ value: WinAppSDK.CompositionDropShadowSourcePolicy) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIDropShadow2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SourcePolicy(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IElasticEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIElasticEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIElasticEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_OscillationsImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIElasticEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Oscillations(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_SpringinessImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIElasticEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Springiness(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IExponentialEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIExponentialEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIExponentialEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_ExponentImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIExponentialEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Exponent(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IExpressionAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIExpressionAnimation }
|
|
|
|
internal func get_ExpressionImpl() throws -> String {
|
|
var value: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIImplicitAnimationCollection }
|
|
|
|
}
|
|
|
|
public class IInsetClip: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIInsetClip }
|
|
|
|
internal func get_BottomInsetImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation }
|
|
|
|
internal func get_DelayTimeImpl() throws -> WindowsFoundation.TimeSpan {
|
|
var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Duration(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_IterationBehaviorImpl() throws -> WinAppSDK.AnimationIterationBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationIterationBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IterationBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_IterationBehaviorImpl(_ value: WinAppSDK.AnimationIterationBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_KeyFrameCount(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_StopBehaviorImpl() throws -> WinAppSDK.AnimationStopBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationStopBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StopBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StopBehaviorImpl(_ value: WinAppSDK.AnimationStopBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
let _value = try! HString(value)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation2 }
|
|
|
|
internal func get_DirectionImpl() throws -> WinAppSDK.AnimationDirection {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationDirection = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Direction(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_DirectionImpl(_ value: WinAppSDK.AnimationDirection) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation3 }
|
|
|
|
internal func get_DelayBehaviorImpl() throws -> WinAppSDK.AnimationDelayBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationDelayBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIKeyFrameAnimation3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_DelayBehaviorImpl(_ value: WinAppSDK.AnimationDelayBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIKeyFrameAnimationFactory }
|
|
|
|
}
|
|
|
|
public class ILayerVisual: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CILayerVisual }
|
|
|
|
internal func get_EffectImpl() throws -> WinAppSDK.CompositionEffectBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionEffectBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CILayerVisual2 }
|
|
|
|
internal func get_ShadowImpl() throws -> WinAppSDK.CompositionShadow? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionShadow?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CILinearEasingFunction }
|
|
|
|
}
|
|
|
|
public class INaturalMotionAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CINaturalMotionAnimation }
|
|
|
|
internal func get_DelayBehaviorImpl() throws -> WinAppSDK.AnimationDelayBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationDelayBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_DelayBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_DelayBehaviorImpl(_ value: WinAppSDK.AnimationDelayBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_DelayTime(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_StopBehaviorImpl() throws -> WinAppSDK.AnimationStopBehavior {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CAnimationStopBehavior = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CINaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StopBehavior(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_StopBehaviorImpl(_ value: WinAppSDK.AnimationStopBehavior) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CINaturalMotionAnimationFactory }
|
|
|
|
}
|
|
|
|
public class IPathKeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIPathKeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ path: WinAppSDK.CompositionPath?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIPathKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, RawPointer(path)))
|
|
}
|
|
}
|
|
|
|
internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ path: WinAppSDK.CompositionPath?, _ easingFunction: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIPointLight }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIPointLight.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ConstantAttenuation(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_CoordinateSpaceImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIPointLight2 }
|
|
|
|
internal func get_IntensityImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIPointLight3 }
|
|
|
|
internal func get_MinAttenuationCutoffImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIPointLight3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_MaxAttenuationCutoff(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IPowerEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIPowerEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIPowerEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_PowerImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIPowerEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Power(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class IQuaternionKeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIQuaternionKeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Quaternion) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIQuaternionKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrameWithEasingFunction(pThis, normalizedProgressKey, .from(swift: value), RawPointer(easingFunction)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IRectangleClip: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip }
|
|
|
|
internal func get_BottomImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Bottom(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_BottomImpl(_ value: Float) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Bottom(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_BottomLeftRadiusImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_BottomLeftRadius(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_BottomLeftRadiusImpl(_ value: WindowsFoundation.Vector2) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_BottomLeftRadius(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_BottomRightRadiusImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_BottomRightRadius(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_BottomRightRadiusImpl(_ value: WindowsFoundation.Vector2) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_BottomRightRadius(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_LeftImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Left(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_LeftImpl(_ value: Float) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Left(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_RightImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Right(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_RightImpl(_ value: Float) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Right(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TopImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Top(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_TopImpl(_ value: Float) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Top(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TopLeftRadiusImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TopLeftRadius(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TopLeftRadiusImpl(_ value: WindowsFoundation.Vector2) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TopLeftRadius(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_TopRightRadiusImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TopRightRadius(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TopRightRadiusImpl(_ value: WindowsFoundation.Vector2) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIRectangleClip.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TopRightRadius(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IRedirectVisual: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIRedirectVisual }
|
|
|
|
internal func get_SourceImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIRenderingDeviceReplacedEventArgs }
|
|
|
|
internal func get_GraphicsDeviceImpl() throws -> WinAppSDK.CompositionGraphicsDevice? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIScalarKeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: Float) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIScalarKeyFrameAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertKeyFrame(pThis, normalizedProgressKey, value))
|
|
}
|
|
}
|
|
|
|
internal func InsertKeyFrameWithEasingFunctionImpl(_ normalizedProgressKey: Float, _ value: Float, _ easingFunction: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimation }
|
|
|
|
internal func get_FinalValueImpl() throws -> Float? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1_floatWrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_FinalValueImpl(_ value: Float?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1_floatWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1_floatWrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_InitialValueImpl(_ value: Float?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1_floatWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIScalarNaturalMotionAnimationFactory }
|
|
|
|
}
|
|
|
|
public class IShapeVisual: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIShapeVisual }
|
|
|
|
internal func get_ShapesImpl() throws -> WinAppSDK.CompositionShapeCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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 -> WinAppSDK.CompositionViewBox? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionViewBox?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIShapeVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ViewBox(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ISineEasingFunction: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CISineEasingFunction }
|
|
|
|
internal func get_ModeImpl() throws -> WinAppSDK.CompositionEasingFunctionMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionEasingFunctionMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CISineEasingFunction.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Mode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
}
|
|
|
|
public class ISpotLight: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CISpotLight }
|
|
|
|
internal func get_ConstantAttenuationImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpotLight.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ConstantAttenuation(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_CoordinateSpaceImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpotLight2 }
|
|
|
|
internal func get_InnerConeIntensityImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpotLight3 }
|
|
|
|
internal func get_MinAttenuationCutoffImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpringScalarNaturalMotionAnimation }
|
|
|
|
internal func get_DampingRatioImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpringVector2NaturalMotionAnimation }
|
|
|
|
internal func get_DampingRatioImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpringVector3NaturalMotionAnimation }
|
|
|
|
internal func get_DampingRatioImpl() throws -> Float {
|
|
var value: FLOAT = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpriteVisual }
|
|
|
|
internal func get_BrushImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CISpriteVisual2 }
|
|
|
|
internal func get_ShadowImpl() throws -> WinAppSDK.CompositionShadow? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionShadow?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIStepEasingFunction }
|
|
|
|
internal func get_FinalStepImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector2KeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector2) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimation }
|
|
|
|
internal func get_FinalValueImpl() throws -> WindowsFoundation.Vector2? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_FinalValueImpl(_ value: WindowsFoundation.Vector2?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_InitialValueImpl(_ value: WindowsFoundation.Vector2?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector2Wrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector2NaturalMotionAnimationFactory }
|
|
|
|
}
|
|
|
|
public class IVector3KeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector3KeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector3) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimation }
|
|
|
|
internal func get_FinalValueImpl() throws -> WindowsFoundation.Vector3? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FinalValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_FinalValueImpl(_ value: WindowsFoundation.Vector3?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimation.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InitialValue(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_InitialValueImpl(_ value: WindowsFoundation.Vector3?) throws {
|
|
let valueWrapper = WinAppSDK.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CVector3Wrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVector3NaturalMotionAnimationFactory }
|
|
|
|
}
|
|
|
|
public class IVector4KeyFrameAnimation: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVector4KeyFrameAnimation }
|
|
|
|
internal func InsertKeyFrameImpl(_ normalizedProgressKey: Float, _ value: WindowsFoundation.Vector4) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionEasingFunction?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual }
|
|
|
|
internal func get_AnchorPointImpl() throws -> WindowsFoundation.Vector2 {
|
|
var value: __x_ABI_CWindows_CFoundation_CNumerics_CVector2 = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_AnchorPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_BackfaceVisibilityImpl() throws -> WinAppSDK.CompositionBackfaceVisibility {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionBackfaceVisibility = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_BackfaceVisibility(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_BackfaceVisibilityImpl(_ value: WinAppSDK.CompositionBackfaceVisibility) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_BackfaceVisibility(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_BorderModeImpl() throws -> WinAppSDK.CompositionBorderMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionBorderMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_BorderMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_BorderModeImpl(_ value: WinAppSDK.CompositionBorderMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_ClipImpl() throws -> WinAppSDK.CompositionClip? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.CompositionClip?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Clip(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_CompositeModeImpl() throws -> WinAppSDK.CompositionCompositeMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CCompositionCompositeMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CompositeMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_CompositeModeImpl(_ value: WinAppSDK.CompositionCompositeMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Orientation(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_ParentImpl() throws -> WinAppSDK.ContainerVisual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual2 }
|
|
|
|
internal func get_ParentForTransformImpl() throws -> WinAppSDK.Visual? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisual2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_RelativeSizeAdjustment(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IVisual3: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual3 }
|
|
|
|
internal func get_IsHitTestVisibleImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsHitTestVisible(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
internal func put_IsHitTestVisibleImpl(_ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual3.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsHitTestVisible(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IVisual4: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisual4 }
|
|
|
|
internal func get_IsPixelSnappingEnabledImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsPixelSnappingEnabled(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
internal func put_IsPixelSnappingEnabledImpl(_ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisual4.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsPixelSnappingEnabled(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IVisualCollection: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection }
|
|
|
|
internal func get_CountImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func InsertAboveImpl(_ newChild: WinAppSDK.Visual?, _ sibling: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAbove(pThis, RawPointer(newChild), RawPointer(sibling)))
|
|
}
|
|
}
|
|
|
|
internal func InsertAtBottomImpl(_ newChild: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtBottom(pThis, RawPointer(newChild)))
|
|
}
|
|
}
|
|
|
|
internal func InsertAtTopImpl(_ newChild: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertAtTop(pThis, RawPointer(newChild)))
|
|
}
|
|
}
|
|
|
|
internal func InsertBelowImpl(_ newChild: WinAppSDK.Visual?, _ sibling: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.InsertBelow(pThis, RawPointer(newChild), RawPointer(sibling)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveImpl(_ child: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisualElement }
|
|
|
|
}
|
|
|
|
internal static var IVisualElementVTable: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualElementVtbl = .init(
|
|
QueryInterface: { IVisualElementWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IVisualElementWrapper.addRef($0) },
|
|
Release: { IVisualElementWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.IVisualElementWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.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_Microsoft_UI_Composition.IVisualElementBridge>
|
|
public class IVisualElement2: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualElement2 }
|
|
|
|
open func GetVisualInternalImpl() throws -> WinAppSDK.Visual? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualElement2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetVisualInternal(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
internal static var IVisualElement2VTable: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualElement2Vtbl = .init(
|
|
QueryInterface: { IVisualElement2Wrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IVisualElement2Wrapper.addRef($0) },
|
|
Release: { IVisualElement2Wrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 3).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Composition.IVisualElement2Wrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
_ = $0
|
|
let hstring = try! HString("Microsoft.UI.Composition.IVisualElement2").detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
GetVisualInternal: {
|
|
do {
|
|
guard let __unwrapped__instance = IVisualElement2Wrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let result = try __unwrapped__instance.getVisualInternal()
|
|
result?.copyTo($1)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
|
|
public typealias IVisualElement2Wrapper = InterfaceWrapperBase<__IMPL_Microsoft_UI_Composition.IVisualElement2Bridge>
|
|
public class IVisualFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualFactory }
|
|
|
|
}
|
|
|
|
public class IVisualUnorderedCollection: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CComposition_CIVisualUnorderedCollection }
|
|
|
|
internal func get_CountImpl() throws -> Int32 {
|
|
var value: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Count(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func AddImpl(_ newVisual: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.Add(pThis, RawPointer(newVisual)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveImpl(_ visual: WinAppSDK.Visual?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_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_CMicrosoft_CUI_CComposition_CIVisualUnorderedCollection.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveAll(pThis))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|