2527 lines
128 KiB
Swift
2527 lines
128 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 WinAppSDK
|
|
@_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation
|
|
import CWinRT
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x3A8C760A, Data2: 0x941F, Data3: 0x58BC, Data4: ( 0xA6,0xD4,0xAA,0x7A,0x0D,0xD1,0xD0,0x36 ))// 3A8C760A-941F-58BC-A6D4-AA7A0DD1D036
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush2: WindowsFoundation.IID {
|
|
.init(Data1: 0x23FAD570, Data2: 0x43ED, Data3: 0x5A73, Data4: ( 0x9D,0xE7,0xA3,0x03,0x55,0x3D,0x54,0x14 ))// 23FAD570-43ED-5A73-9DE7-A303553D5414
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x80173353, Data2: 0x611D, Data3: 0x5A02, Data4: ( 0x88,0x64,0x1A,0xAA,0x27,0x9D,0xFF,0x1C ))// 80173353-611D-5A02-8864-1AAA279DFF1C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x9D9D366B, Data2: 0x00A3, Data3: 0x5F3E, Data4: ( 0x98,0xB8,0x1D,0xF7,0xFE,0xC1,0x82,0x8C ))// 9D9D366B-00A3-5F3E-98B8-1DF7FEC1828C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics2: WindowsFoundation.IID {
|
|
.init(Data1: 0x6E3EB0BD, Data2: 0x20A1, Data3: 0x52EA, Data4: ( 0xAE,0xDE,0x47,0x80,0x61,0x01,0x22,0x79 ))// 6E3EB0BD-20A1-52EA-AEDE-478061012279
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x2DE3CB83, Data2: 0x1329, Data3: 0x5679, Data4: ( 0x88,0xF8,0xC8,0x22,0xBC,0x54,0x42,0xCB ))// 2DE3CB83-1329-5679-88F8-C822BC5442CB
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xB5258717, Data2: 0x6C49, Data3: 0x5BA5, Data4: ( 0x87,0xFD,0x35,0xDF,0x38,0x26,0x47,0xA5 ))// B5258717-6C49-5BA5-87FD-35DF382647A5
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushOverrides: WindowsFoundation.IID {
|
|
.init(Data1: 0xB6B08394, Data2: 0xBACF, Data3: 0x53DB, Data4: ( 0x9A,0xC7,0xBE,0x1C,0x69,0x3E,0x35,0x13 ))// B6B08394-BACF-53DB-9AC7-BE1C693E3513
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x5B854F50, Data2: 0xF818, Data3: 0x5F01, Data4: ( 0x91,0xB0,0x28,0x13,0x2D,0x3F,0x59,0x57 ))// 5B854F50-F818-5F01-91B0-28132D3F5957
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICacheMode: WindowsFoundation.IID {
|
|
.init(Data1: 0x2FF1A1CB, Data2: 0x0F48, Data3: 0x53FD, Data4: ( 0xB1,0xDE,0xE2,0x22,0x3D,0xFB,0x2F,0xF6 ))// 2FF1A1CB-0F48-53FD-B1DE-E2223DFB2FF6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICacheModeFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xE257811E, Data2: 0xDCC5, Data3: 0x51D8, Data4: ( 0x82,0x9A,0x3E,0x94,0x00,0x19,0x8A,0x41 ))// E257811E-DCC5-51D8-829A-3E9400198A41
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform: WindowsFoundation.IID {
|
|
.init(Data1: 0x55C5F8F3, Data2: 0x20E4, Data3: 0x5B80, Data4: ( 0xA0,0x46,0xCE,0x4D,0x0F,0x62,0xF2,0xFE ))// 55C5F8F3-20E4-5B80-A046-CE4D0F62F2FE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x7701385B, Data2: 0x8EAB, Data3: 0x5071, Data4: ( 0xBF,0xA5,0xB4,0x53,0xE1,0xE5,0x2B,0x43 ))// 7701385B-8EAB-5071-BFA5-B453E1E52B43
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTarget: WindowsFoundation.IID {
|
|
.init(Data1: 0x7D938324, Data2: 0xE3AD, Data3: 0x597C, Data4: ( 0x93,0xF6,0x52,0x07,0x25,0x41,0x0E,0x68 ))// 7D938324-E3AD-597C-93F6-520725410E68
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x12A4BE6F, Data2: 0x6DB1, Data3: 0x5165, Data4: ( 0xB6,0x22,0xD5,0x7A,0xB7,0x82,0x74,0x5B ))// 12A4BE6F-6DB1-5165-B622-D57AB782745B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamily: WindowsFoundation.IID {
|
|
.init(Data1: 0x18FA5BC1, Data2: 0x7294, Data3: 0x527C, Data4: ( 0xBB,0x02,0xB2,0x13,0xE0,0xB3,0xA2,0xA3 ))// 18FA5BC1-7294-527C-BB02-B213E0B3A2A3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x61B88A77, Data2: 0xD0F9, Data3: 0x5E9E, Data4: ( 0x8C,0x28,0xED,0xA0,0x1F,0xED,0xE2,0x2E ))// 61B88A77-D0F9-5E9E-8C28-EDA01FEDE22E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xB3EADCEB, Data2: 0xC471, Data3: 0x58FE, Data4: ( 0x93,0xD0,0xD7,0x1B,0x04,0xA7,0xFD,0x54 ))// B3EADCEB-C471-58FE-93D0-D71B04A7FD54
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform: WindowsFoundation.IID {
|
|
.init(Data1: 0x04EEDEEB, Data2: 0x31E5, Data3: 0x54C0, Data4: ( 0xAE,0x3F,0x8B,0xD0,0x66,0x45,0xD3,0x39 ))// 04EEDEEB-31E5-54C0-AE3F-8BD06645D339
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x2F1025A3, Data2: 0x5391, Data3: 0x5D1B, Data4: ( 0x83,0x82,0x3C,0xAA,0xA1,0xD2,0x6A,0x96 ))// 2F1025A3-5391-5D1B-8382-3CAAA1D26A96
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides: WindowsFoundation.IID {
|
|
.init(Data1: 0xCE8970F1, Data2: 0x83F8, Data3: 0x543F, Data4: ( 0x9C,0xF5,0x43,0x9C,0x46,0x16,0x01,0xF1 ))// CE8970F1-83F8-543F-9CF5-439C461601F1
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0xDC102DCC, Data2: 0x3BE2, Data3: 0x5414, Data4: ( 0x85,0x99,0x94,0xB6,0xE7,0x6E,0xF3,0x9B ))// DC102DCC-3BE2-5414-8599-94B6E76EF39B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x4EDCD536, Data2: 0x7949, Data3: 0x548A, Data4: ( 0xA9,0xB1,0x6F,0xF0,0x3B,0x95,0x1C,0xF3 ))// 4EDCD536-7949-548A-A9B1-6FF03B951CF3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x349F78D0, Data2: 0x4978, Data3: 0x5742, Data4: ( 0xB7,0xD2,0xB3,0x4E,0xA2,0xC9,0x56,0x00 ))// 349F78D0-4978-5742-B7D2-B34EA2C95600
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0x77C347FA, Data2: 0xC4C4, Data3: 0x5174, Data4: ( 0xA9,0x45,0x65,0xCA,0xB3,0xAA,0x1C,0x75 ))// 77C347FA-C4C4-5174-A945-65CAB3AA1C75
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x64FF6177, Data2: 0x1EDA, Data3: 0x565B, Data4: ( 0xB7,0xAA,0xAC,0x50,0x15,0x2E,0x31,0x36 ))// 64FF6177-1EDA-565B-B7AA-AC50152E3136
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x4D3697D7, Data2: 0xC6DB, Data3: 0x501C, Data4: ( 0x8F,0xA2,0xDA,0x30,0xB8,0xC8,0xCA,0x3B ))// 4D3697D7-C6DB-501C-8FA2-DA30B8C8CA3B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStop: WindowsFoundation.IID {
|
|
.init(Data1: 0x48BCB039, Data2: 0xE8E1, Data3: 0x5743, Data4: ( 0x94,0xC3,0xF7,0x66,0x01,0x1D,0x3B,0x5D ))// 48BCB039-E8E1-5743-94C3-F766011D3B5D
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStopStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x0B566C1B, Data2: 0x37DE, Data3: 0x5BFD, Data4: ( 0xB4,0x19,0x0F,0x7C,0x4C,0x0A,0x05,0x23 ))// 0B566C1B-37DE-5BFD-B419-0F7C4C0A0523
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIImageSource: WindowsFoundation.IID {
|
|
.init(Data1: 0x6C2038F6, Data2: 0xD6D5, Data3: 0x55E9, Data4: ( 0x9B,0x9E,0x08,0x2F,0x12,0xDB,0xFF,0x60 ))// 6C2038F6-D6D5-55E9-9B9E-082F12DBFF60
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIImageSourceFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x0B1E64A3, Data2: 0xE353, Data3: 0x5901, Data4: ( 0xB8,0x4B,0xAE,0x98,0x42,0xAE,0xA5,0xCD ))// 0B1E64A3-E353-5901-B84B-AE9842AEA5CD
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegment: WindowsFoundation.IID {
|
|
.init(Data1: 0x0C618E54, Data2: 0xD883, Data3: 0x588C, Data4: ( 0x88,0x75,0xBD,0x8D,0xFD,0x6A,0x6A,0x3E ))// 0C618E54-D883-588C-8875-BD8DFD6A6A3E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegmentStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xC3EC48A9, Data2: 0xB9C0, Data3: 0x561F, Data4: ( 0x99,0x25,0xD1,0xD1,0xB2,0xA6,0xBA,0xE6 ))// C3EC48A9-B9C0-561F-9925-D1D1B2A6BAE6
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0xC0AB9638, Data2: 0x1BD9, Data3: 0x5FA4, Data4: ( 0x96,0x49,0x48,0xCF,0xA1,0x2F,0x0D,0x1E ))// C0AB9638-1BD9-5FA4-9649-48CFA12F0D1E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xC0BA7DE3, Data2: 0xCCFD, Data3: 0x534C, Data4: ( 0x88,0x2F,0x3A,0xB3,0x9A,0xE7,0x23,0xF3 ))// C0BA7DE3-CCFD-534C-882F-3AB39AE723F3
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xDF029E84, Data2: 0xF6BE, Data3: 0x5B7E, Data4: ( 0xBA,0x22,0x3B,0x4E,0x7A,0x6B,0xCE,0xEE ))// DF029E84-F6BE-5B7E-BA22-3B4E7A6BCEEE
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMediaTransportControlsThumbnailRequestedEventArgs: WindowsFoundation.IID {
|
|
.init(Data1: 0xFE0FFB86, Data2: 0x74B0, Data3: 0x5031, Data4: ( 0xAC,0xCC,0xB3,0x4D,0x03,0x82,0xA6,0x37 ))// FE0FFB86-74B0-5031-ACCC-B34D0382A637
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdrop: WindowsFoundation.IID {
|
|
.init(Data1: 0xC156A404, Data2: 0x3DAC, Data3: 0x593A, Data4: ( 0xB1,0xF3,0x7A,0x33,0xC2,0x89,0xDC,0x83 ))// C156A404-3DAC-593A-B1F3-7A33C289DC83
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x774379CE, Data2: 0x74BD, Data3: 0x59D4, Data4: ( 0x84,0x9D,0xD9,0x9C,0x41,0x84,0xD8,0x38 ))// 774379CE-74BD-59D4-849D-D99C4184D838
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xA63ABDCE, Data2: 0xC796, Data3: 0x5509, Data4: ( 0x9F,0x4D,0x07,0x2B,0xC1,0xE5,0x99,0xF1 ))// A63ABDCE-C796-5509-9F4D-072BC1E599F1
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure: WindowsFoundation.IID {
|
|
.init(Data1: 0x0EE00712, Data2: 0xBF65, Data3: 0x5F27, Data4: ( 0x9C,0x06,0x14,0xAB,0xDF,0x66,0x56,0xD7 ))// 0EE00712-BF65-5F27-9C06-14ABDF6656D7
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x93BC33C4, Data2: 0x879A, Data3: 0x5EDB, Data4: ( 0xB8,0xD7,0x7E,0xCB,0x86,0x1A,0x73,0x14 ))// 93BC33C4-879A-5EDB-B8D7-7ECB861A7314
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0x11B9D95D, Data2: 0xD3D9, Data3: 0x5337, Data4: ( 0xA0,0x5C,0x73,0xA2,0x7A,0x2B,0x51,0x24 ))// 11B9D95D-D3D9-5337-A05C-73A27A2B5124
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometryStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xD7F408FE, Data2: 0x6C3A, Data3: 0x5CCE, Data4: ( 0x91,0xCC,0xC5,0xA9,0x5D,0x4B,0x34,0x5A ))// D7F408FE-6C3A-5CCE-91CC-C5A95D4B345A
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathSegment: WindowsFoundation.IID {
|
|
.init(Data1: 0xB922EBBE, Data2: 0x08F0, Data3: 0x57E9, Data4: ( 0x87,0x85,0x7E,0x57,0x09,0x7F,0x3B,0xD4 ))// B922EBBE-08F0-57E9-8785-7E57097F3BD4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathSegmentFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x0559A4FF, Data2: 0xAC4B, Data3: 0x5BB7, Data4: ( 0xB5,0x41,0xD3,0x73,0x96,0x0E,0x08,0x3B ))// 0559A4FF-AC4B-5BB7-B541-D373960E083B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegment: WindowsFoundation.IID {
|
|
.init(Data1: 0xD7F760A0, Data2: 0xB93A, Data3: 0x562A, Data4: ( 0x81,0x18,0x63,0x30,0xED,0x22,0xC3,0x07 ))// D7F760A0-B93A-562A-8118-6330ED22C307
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegmentStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x738EF089, Data2: 0xA80F, Data3: 0x53E0, Data4: ( 0x81,0x6F,0xF7,0x87,0xA4,0x46,0x19,0x07 ))// 738EF089-A80F-53E0-816F-F787A4461907
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIProjection: WindowsFoundation.IID {
|
|
.init(Data1: 0xC95364B3, Data2: 0x6058, Data3: 0x5EE5, Data4: ( 0x9E,0x28,0xD3,0x8B,0x76,0x79,0xFC,0xD4 ))// C95364B3-6058-5EE5-9E28-D38B7679FCD4
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIProjectionFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x870EA34F, Data2: 0xDB61, Data3: 0x5B75, Data4: ( 0x89,0xAD,0xE0,0x48,0x0C,0x80,0x29,0x37 ))// 870EA34F-DB61-5B75-89AD-E0480C802937
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometry: WindowsFoundation.IID {
|
|
.init(Data1: 0xB6143890, Data2: 0xA5F5, Data3: 0x54E0, Data4: ( 0xAB,0x42,0xD8,0x8B,0xAB,0x45,0x1F,0x04 ))// B6143890-A5F5-54E0-AB42-D88BAB451F04
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometryStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x1AE7AC26, Data2: 0x8A8B, Data3: 0x55A5, Data4: ( 0xB0,0x35,0x58,0x6E,0x2B,0x64,0x29,0x19 ))// 1AE7AC26-8A8B-55A5-B035-586E2B642919
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRenderedEventArgs: WindowsFoundation.IID {
|
|
.init(Data1: 0xB268B885, Data2: 0x118D, Data3: 0x5B66, Data4: ( 0x80,0x99,0x3B,0x6B,0xB8,0x64,0x47,0x26 ))// B268B885-118D-5B66-8099-3B6BB8644726
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0xCC12FD6A, Data2: 0x50AA, Data3: 0x5EB3, Data4: ( 0x9A,0x0E,0xB9,0x38,0xB4,0x54,0xC4,0x39 ))// CC12FD6A-50AA-5EB3-9A0E-B938B454C439
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIShadowFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xC9115FBB, Data2: 0xFCC3, Data3: 0x52BF, Data4: ( 0xB8,0xEE,0xC3,0x48,0x10,0x2A,0x46,0xE0 ))// C9115FBB-FCC3-52BF-B8EE-C348102A46E0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrush: WindowsFoundation.IID {
|
|
.init(Data1: 0xB3865C31, Data2: 0x37C8, Data3: 0x55C1, Data4: ( 0x8A,0x72,0xD4,0x1C,0x67,0x64,0x2E,0x2A ))// B3865C31-37C8-55C1-8A72-D41C67642E2A
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x7B559384, Data2: 0x4DAA, Data3: 0x54F4, Data4: ( 0x91,0xEF,0x33,0xA2,0x3F,0xD8,0x16,0xCA ))// 7B559384-4DAA-54F4-91EF-33A23FD816CA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x6BC16DA0, Data2: 0xC4E6, Data3: 0x59B8, Data4: ( 0x99,0x5B,0xB3,0x1E,0x48,0x42,0x4C,0x07 ))// 6BC16DA0-C4E6-59B8-995B-B31E48424C07
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdrop: WindowsFoundation.IID {
|
|
.init(Data1: 0x5AEED5C4, Data2: 0x37AC, Data3: 0x5852, Data4: ( 0xB7,0x3F,0x1B,0x76,0xEB,0xC3,0x20,0x5F ))// 5AEED5C4-37AC-5852-B73F-1B76EBC3205F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x1E07656B, Data2: 0xFAD2, Data3: 0x5B29, Data4: ( 0x91,0x3F,0xB6,0x74,0x8B,0xC4,0x59,0x42 ))// 1E07656B-FAD2-5B29-913F-B6748BC45942
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides: WindowsFoundation.IID {
|
|
.init(Data1: 0xEB1F5399, Data2: 0xCAD7, Data3: 0x5611, Data4: ( 0xB6,0x37,0x09,0xD7,0x6A,0x07,0xE7,0x08 ))// EB1F5399-CAD7-5611-B637-09D76A07E708
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadow: WindowsFoundation.IID {
|
|
.init(Data1: 0xC264208A, Data2: 0xD1F4, Data3: 0x58AE, Data4: ( 0x8A,0x88,0xFC,0x59,0x14,0x8B,0xEE,0x69 ))// C264208A-D1F4-58AE-8A88-FC59148BEE69
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadowFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x704A9C96, Data2: 0x76A0, Data3: 0x569E, Data4: ( 0x8C,0xEB,0x34,0xE9,0x2A,0x23,0xFE,0x11 ))// 704A9C96-76A0-569E-8CEB-34E92A23FE11
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITransform: WindowsFoundation.IID {
|
|
.init(Data1: 0x92A8DEE5, Data2: 0x1413, Data3: 0x56B9, Data4: ( 0x8C,0xCA,0x3C,0x46,0x91,0x8F,0xDE,0x1B ))// 92A8DEE5-1413-56B9-8CCA-3C46918FDE1B
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITransformFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x7DA293F9, Data2: 0xB82E, Data3: 0x5D15, Data4: ( 0xB6,0x23,0xC0,0x82,0x10,0xCB,0xB6,0x40 ))// 7DA293F9-B82E-5D15-B623-C08210CBB640
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform: WindowsFoundation.IID {
|
|
.init(Data1: 0xCFA21CA9, Data2: 0xB79F, Data3: 0x5450, Data4: ( 0xB4,0x59,0xA9,0x6C,0x48,0xCB,0x2C,0x8F ))// CFA21CA9-B79F-5450-B459-A96C48CB2C8F
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransformStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x1342EB11, Data2: 0x5A6E, Data3: 0x5263, Data4: ( 0xAB,0x3E,0x9B,0x67,0x2A,0x86,0xFC,0x0C ))// 1342EB11-5A6E-5263-AB3E-9B672A86FC0C
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelper: WindowsFoundation.IID {
|
|
.init(Data1: 0x5F69AC1E, Data2: 0x6504, Data3: 0x5E3F, Data4: ( 0xA1,0x1C,0x87,0x68,0x4C,0x1D,0xB8,0x14 ))// 5F69AC1E-6504-5E3F-A11C-87684C1DB814
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x5AECE43C, Data2: 0x7651, Data3: 0x5BB5, Data4: ( 0x85,0x5C,0x21,0x98,0x49,0x6E,0x45,0x5E ))// 5AECE43C-7651-5BB5-855C-2198496E455E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBase: WindowsFoundation.IID {
|
|
.init(Data1: 0xFEAEAD28, Data2: 0x5CD0, Data3: 0x5E58, Data4: ( 0xBC,0xEA,0x86,0x70,0xF8,0x32,0xAC,0xA9 ))// FEAEAD28-5CD0-5E58-BCEA-8670F832ACA9
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0xB1626D56, Data2: 0x0F6F, Data3: 0x5416, Data4: ( 0xAD,0xA4,0x5C,0x81,0x05,0xD3,0xF0,0x82 ))// B1626D56-0F6F-5416-ADA4-5C8105D3F082
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverrides: WindowsFoundation.IID {
|
|
.init(Data1: 0x8881B559, Data2: 0x54A0, Data3: 0x56C4, Data4: ( 0xA7,0x9A,0x13,0x51,0x52,0xFB,0x1D,0xFA ))// 8881B559-54A0-56C4-A79A-135152FB1DFA
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseProtected: WindowsFoundation.IID {
|
|
.init(Data1: 0x6617E1A5, Data2: 0xE27A, Data3: 0x5B95, Data4: ( 0xB0,0x3E,0x67,0x58,0xB5,0x8F,0x92,0xA0 ))// 6617E1A5-E27A-5B95-B03E-6758B58F92A0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0x3EED6E16, Data2: 0xC386, Data3: 0x5A1C, Data4: ( 0xB7,0x0D,0xEF,0x1C,0x00,0x15,0xE6,0x91 ))// 3EED6E16-C386-5A1C-B70D-EF1C0015E691
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLight: WindowsFoundation.IID {
|
|
.init(Data1: 0xDCD20139, Data2: 0x8CD5, Data3: 0x5DA5, Data4: ( 0xA2,0x5C,0x2B,0x7B,0x81,0x3D,0x8D,0x58 ))// DCD20139-8CD5-5DA5-A25C-2B7B813D8D58
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightFactory: WindowsFoundation.IID {
|
|
.init(Data1: 0x76DA6306, Data2: 0x96FC, Data3: 0x553E, Data4: ( 0xBB,0x39,0x9A,0x48,0x01,0xD0,0x6F,0x48 ))// 76DA6306-96FC-553E-BB39-9A4801D06F48
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides: WindowsFoundation.IID {
|
|
.init(Data1: 0x696D4F30, Data2: 0x92EE, Data3: 0x540D, Data4: ( 0xAD,0x70,0x33,0xD4,0x48,0x95,0x14,0xD0 ))// 696D4F30-92EE-540D-AD70-33D4489514D0
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightProtected: WindowsFoundation.IID {
|
|
.init(Data1: 0xC307BF12, Data2: 0xFDAF, Data3: 0x54CA, Data4: ( 0xA6,0x31,0xAD,0x0E,0x86,0x26,0x3C,0x6E ))// C307BF12-FDAF-54CA-A631-AD0E86263C6E
|
|
}
|
|
|
|
private var IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics: WindowsFoundation.IID {
|
|
.init(Data1: 0xA2D8EA26, Data2: 0x26FF, Data3: 0x5374, Data4: ( 0xB1,0xDD,0xF2,0x32,0xD5,0x60,0x4F,0x6A ))// A2D8EA26-26FF-5374-B1DD-F232D5604F6A
|
|
}
|
|
|
|
public enum __ABI_Microsoft_UI_Xaml_Media {
|
|
public class IAcrylicBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush }
|
|
|
|
internal func get_TintColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintColor(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TintColorImpl(_ value: UWP.Color) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TintColor(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_TintOpacityImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintOpacity(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_TintOpacityImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TintOpacity(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TintTransitionDurationImpl() throws -> WindowsFoundation.TimeSpan {
|
|
var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintTransitionDuration(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TintTransitionDurationImpl(_ value: WindowsFoundation.TimeSpan) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TintTransitionDuration(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_AlwaysUseFallbackImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlwaysUseFallback(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
internal func put_AlwaysUseFallbackImpl(_ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_AlwaysUseFallback(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IAcrylicBrush2: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush2 }
|
|
|
|
internal func get_TintLuminosityOpacityImpl() throws -> Double? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintLuminosityOpacity(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIReference_1_doubleWrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
internal func put_TintLuminosityOpacityImpl(_ value: Double?) throws {
|
|
let valueWrapper = WinUI.__x_ABI_C__FIReference_1_doubleWrapper(value)
|
|
let _value = try! valueWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrush2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TintLuminosityOpacity(pThis, _value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IAcrylicBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.AcrylicBrush.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IAcrylicBrush {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IAcrylicBrush(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IAcrylicBrushStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics }
|
|
|
|
internal func get_TintColorPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintColorProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_TintOpacityPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintOpacityProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_TintTransitionDurationPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintTransitionDurationProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_AlwaysUseFallbackPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_AlwaysUseFallbackProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IAcrylicBrushStatics2: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics2 }
|
|
|
|
internal func get_TintLuminosityOpacityPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIAcrylicBrushStatics2.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TintLuminosityOpacityProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush }
|
|
|
|
internal func get_OpacityImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Opacity(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_OpacityImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Opacity(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TransformImpl() throws -> WinUI.Transform? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Transform(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TransformImpl(_ value: WinUI.Transform?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Transform(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_RelativeTransformImpl() throws -> WinUI.Transform? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_RelativeTransform(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_RelativeTransformImpl(_ value: WinUI.Transform?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_RelativeTransform(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.Brush.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IBrush {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IBrush(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IBrushOverrides: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushOverrides }
|
|
|
|
internal func PopulatePropertyInfoOverrideImpl(_ propertyName: String, _ animationPropertyInfo: WinAppSDK.AnimationPropertyInfo?) throws {
|
|
let _propertyName = try! HString(propertyName)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.PopulatePropertyInfoOverride(pThis, _propertyName.get(), RawPointer(animationPropertyInfo)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IBrushStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushStatics }
|
|
|
|
internal func get_OpacityPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_OpacityProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_TransformPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_RelativeTransformPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_RelativeTransformProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICacheMode: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICacheMode }
|
|
|
|
}
|
|
|
|
public class ICacheModeFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICacheModeFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.CacheMode.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> ICacheMode {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICacheModeFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return ICacheMode(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositeTransform: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform }
|
|
|
|
internal func get_CenterXImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterX(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_CenterXImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterX(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_CenterYImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterY(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_CenterYImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CenterY(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_ScaleXImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ScaleX(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_ScaleXImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ScaleX(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_ScaleYImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ScaleY(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_ScaleYImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ScaleY(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_SkewXImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SkewX(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_SkewXImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SkewX(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_SkewYImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SkewY(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_SkewYImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SkewY(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_RotationImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Rotation(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_RotationImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Rotation(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TranslateXImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TranslateX(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_TranslateXImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TranslateX(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_TranslateYImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TranslateY(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_TranslateYImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_TranslateY(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositeTransformStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics }
|
|
|
|
internal func get_CenterXPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterXProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_CenterYPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CenterYProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_ScaleXPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ScaleXProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_ScaleYPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ScaleYProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_SkewXPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SkewXProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_SkewYPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SkewYProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_RotationPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_RotationProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_TranslateXPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TranslateXProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_TranslateYPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositeTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TranslateYProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class ICompositionTarget: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTarget }
|
|
|
|
}
|
|
|
|
public class ICompositionTargetStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics }
|
|
|
|
internal func add_RenderingImpl(_ handler: EventHandler<Any?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinUI.__x_ABI_C__FIEventHandler_1_IInspectableWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.add_Rendering(pThis, _handler, &token))
|
|
}
|
|
return token
|
|
}
|
|
|
|
internal func remove_RenderingImpl(_ token: EventRegistrationToken) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Rendering(pThis, token))
|
|
}
|
|
}
|
|
|
|
internal func add_RenderedImpl(_ handler: EventHandler<WinUI.RenderedEventArgs?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinUI.__x_ABI_C__FIEventHandler_1___x_ABI_CMicrosoft__CUI__CXaml__CMedia__CRenderedEventArgsWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.add_Rendered(pThis, _handler, &token))
|
|
}
|
|
return token
|
|
}
|
|
|
|
internal func remove_RenderedImpl(_ token: EventRegistrationToken) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.remove_Rendered(pThis, token))
|
|
}
|
|
}
|
|
|
|
internal func add_SurfaceContentsLostImpl(_ handler: EventHandler<Any?>?) throws -> EventRegistrationToken {
|
|
var token: EventRegistrationToken = .init()
|
|
let handlerWrapper = WinUI.__x_ABI_C__FIEventHandler_1_IInspectableWrapper(handler)
|
|
let _handler = try! handlerWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.add_SurfaceContentsLost(pThis, _handler, &token))
|
|
}
|
|
return token
|
|
}
|
|
|
|
internal func remove_SurfaceContentsLostImpl(_ token: EventRegistrationToken) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.remove_SurfaceContentsLost(pThis, token))
|
|
}
|
|
}
|
|
|
|
internal func GetCompositorForCurrentThreadImpl() throws -> WinAppSDK.Compositor? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CICompositionTargetStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetCompositorForCurrentThread(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IFontFamily: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamily }
|
|
|
|
internal func get_SourceImpl() throws -> String {
|
|
var value: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamily.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Source(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IFontFamilyFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyFactory }
|
|
|
|
internal func CreateInstanceWithNameImpl(_ familyName: String, _ baseInterface: UnsealedWinRTClassWrapper<WinUI.FontFamily.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IFontFamily {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _familyName = try! HString(familyName)
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstanceWithName(pThis, _familyName.get(), _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IFontFamily(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IFontFamilyStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyStatics }
|
|
|
|
internal func get_XamlAutoFontFamilyImpl() throws -> WinUI.FontFamily? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIFontFamilyStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_XamlAutoFontFamily(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGeneralTransform: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform }
|
|
|
|
internal func get_InverseImpl() throws -> WinUI.GeneralTransform? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Inverse(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func TransformPointImpl(_ point: WindowsFoundation.Point) throws -> WindowsFoundation.Point {
|
|
var result: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TransformPoint(pThis, .from(swift: point), &result))
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func TryTransformImpl(_ inPoint: WindowsFoundation.Point, _ outPoint: inout WindowsFoundation.Point) throws -> Bool {
|
|
var returnValue: boolean = 0
|
|
var _outPoint: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TryTransform(pThis, .from(swift: inPoint), &_outPoint, &returnValue))
|
|
}
|
|
outPoint = .from(abi: _outPoint)
|
|
return .init(from: returnValue)
|
|
}
|
|
|
|
internal func TransformBoundsImpl(_ rect: WindowsFoundation.Rect) throws -> WindowsFoundation.Rect {
|
|
var result: __x_ABI_CWindows_CFoundation_CRect = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TransformBounds(pThis, .from(swift: rect), &result))
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGeneralTransformFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.GeneralTransform.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IGeneralTransform {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IGeneralTransform(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGeneralTransformOverrides: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides }
|
|
|
|
internal func get_InverseCoreImpl() throws -> WinUI.GeneralTransform? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_InverseCore(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func TryTransformCoreImpl(_ inPoint: WindowsFoundation.Point, _ outPoint: inout WindowsFoundation.Point) throws -> Bool {
|
|
var returnValue: boolean = 0
|
|
var _outPoint: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TryTransformCore(pThis, .from(swift: inPoint), &_outPoint, &returnValue))
|
|
}
|
|
outPoint = .from(abi: _outPoint)
|
|
return .init(from: returnValue)
|
|
}
|
|
|
|
internal func TransformBoundsCoreImpl(_ rect: WindowsFoundation.Rect) throws -> WindowsFoundation.Rect {
|
|
var result: __x_ABI_CWindows_CFoundation_CRect = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TransformBoundsCore(pThis, .from(swift: rect), &result))
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometry }
|
|
|
|
internal func get_TransformImpl() throws -> WinUI.Transform? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Transform(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_TransformImpl(_ value: WinUI.Transform?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Transform(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_BoundsImpl() throws -> WindowsFoundation.Rect {
|
|
var value: __x_ABI_CWindows_CFoundation_CRect = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Bounds(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGeometryFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryFactory }
|
|
|
|
}
|
|
|
|
public class IGeometryStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryStatics }
|
|
|
|
internal func get_EmptyImpl() throws -> WinUI.Geometry? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Empty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_StandardFlatteningToleranceImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StandardFlatteningTolerance(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func get_TransformPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_TransformProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGradientBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush }
|
|
|
|
internal func get_SpreadMethodImpl() throws -> WinUI.GradientSpreadMethod {
|
|
var value: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CGradientSpreadMethod = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SpreadMethod(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_SpreadMethodImpl(_ value: WinUI.GradientSpreadMethod) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_SpreadMethod(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_MappingModeImpl() throws -> WinUI.BrushMappingMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CBrushMappingMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_MappingMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_MappingModeImpl(_ value: WinUI.BrushMappingMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_MappingMode(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_ColorInterpolationModeImpl() throws -> WinUI.ColorInterpolationMode {
|
|
var value: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CColorInterpolationMode = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ColorInterpolationMode(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_ColorInterpolationModeImpl(_ value: WinUI.ColorInterpolationMode) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_ColorInterpolationMode(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_GradientStopsImpl() throws -> WinUI.GradientStopCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_GradientStops(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_GradientStopsImpl(_ value: WinUI.GradientStopCollection?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_GradientStops(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IGradientBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.GradientBrush.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IGradientBrush {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IGradientBrush(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGradientBrushStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics }
|
|
|
|
internal func get_SpreadMethodPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SpreadMethodProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_MappingModePropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_MappingModeProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_ColorInterpolationModePropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ColorInterpolationModeProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_GradientStopsPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_GradientStopsProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IGradientStop: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStop }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStop.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_CXaml_CMedia_CIGradientStop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_OffsetImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Offset(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_OffsetImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Offset(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IGradientStopStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStopStatics }
|
|
|
|
internal func get_ColorPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStopStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ColorProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_OffsetPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGradientStopStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_OffsetProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IImageSource: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIImageSource }
|
|
|
|
}
|
|
|
|
public class IImageSourceFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIImageSourceFactory }
|
|
|
|
}
|
|
|
|
public class ILineSegment: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegment }
|
|
|
|
internal func get_PointImpl() throws -> WindowsFoundation.Point {
|
|
var value: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegment.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Point(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_PointImpl(_ value: WindowsFoundation.Point) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegment.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Point(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ILineSegmentStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegmentStatics }
|
|
|
|
internal func get_PointPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILineSegmentStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_PointProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class ILinearGradientBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush }
|
|
|
|
internal func get_StartPointImpl() throws -> WindowsFoundation.Point {
|
|
var value: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StartPoint(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_StartPointImpl(_ value: WindowsFoundation.Point) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StartPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_EndPointImpl() throws -> WindowsFoundation.Point {
|
|
var value: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_EndPoint(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_EndPointImpl(_ value: WindowsFoundation.Point) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_EndPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ILinearGradientBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushFactory }
|
|
|
|
internal func CreateInstanceWithGradientStopCollectionAndAngleImpl(_ gradientStopCollection: WinUI.GradientStopCollection?, _ angle: Double) throws -> ILinearGradientBrush {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstanceWithGradientStopCollectionAndAngle(pThis, RawPointer(gradientStopCollection), angle, &valueAbi))
|
|
}
|
|
}
|
|
return ILinearGradientBrush(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ILinearGradientBrushStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushStatics }
|
|
|
|
internal func get_StartPointPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StartPointProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_EndPointPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CILinearGradientBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_EndPointProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IMediaTransportControlsThumbnailRequestedEventArgs: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMediaTransportControlsThumbnailRequestedEventArgs }
|
|
|
|
internal func SetThumbnailImageImpl(_ source: UWP.AnyIInputStream?) throws {
|
|
let sourceWrapper = __ABI_Windows_Storage_Streams.IInputStreamWrapper(source)
|
|
let _source = try! sourceWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMediaTransportControlsThumbnailRequestedEventArgs.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.SetThumbnailImage(pThis, _source))
|
|
}
|
|
}
|
|
|
|
internal func GetDeferralImpl() throws -> WindowsFoundation.Deferral? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMediaTransportControlsThumbnailRequestedEventArgs.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetDeferral(pThis, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IMicaBackdrop: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdrop }
|
|
|
|
internal func get_KindImpl() throws -> WinAppSDK.MicaKind {
|
|
var value: __x_ABI_CMicrosoft_CUI_CComposition_CSystemBackdrops_CMicaKind = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdrop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Kind(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_KindImpl(_ value: WinAppSDK.MicaKind) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdrop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Kind(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IMicaBackdropFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.MicaBackdrop.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IMicaBackdrop {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IMicaBackdrop(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IMicaBackdropStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropStatics }
|
|
|
|
internal func get_KindPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIMicaBackdropStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_KindProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IPathFigure: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure }
|
|
|
|
internal func get_SegmentsImpl() throws -> WinUI.PathSegmentCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Segments(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_SegmentsImpl(_ value: WinUI.PathSegmentCollection?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Segments(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
internal func get_StartPointImpl() throws -> WindowsFoundation.Point {
|
|
var value: __x_ABI_CWindows_CFoundation_CPoint = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StartPoint(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_StartPointImpl(_ value: WindowsFoundation.Point) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_StartPoint(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_IsClosedImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsClosed(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
internal func put_IsClosedImpl(_ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsClosed(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
internal func get_IsFilledImpl() throws -> Bool {
|
|
var value: boolean = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsFilled(pThis, &value))
|
|
}
|
|
return .init(from: value)
|
|
}
|
|
|
|
internal func put_IsFilledImpl(_ value: Bool) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigure.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_IsFilled(pThis, .init(from: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IPathFigureStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics }
|
|
|
|
internal func get_SegmentsPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SegmentsProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_StartPointPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_StartPointProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_IsClosedPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsClosedProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_IsFilledPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathFigureStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_IsFilledProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IPathGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry }
|
|
|
|
internal func get_FillRuleImpl() throws -> WinUI.FillRule {
|
|
var value: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CFillRule = .init(0)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FillRule(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_FillRuleImpl(_ value: WinUI.FillRule) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_FillRule(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_FiguresImpl() throws -> WinUI.PathFigureCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Figures(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_FiguresImpl(_ value: WinUI.PathFigureCollection?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Figures(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IPathGeometryStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometryStatics }
|
|
|
|
internal func get_FillRulePropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FillRuleProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_FiguresPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FiguresProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IPathSegment: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathSegment }
|
|
|
|
}
|
|
|
|
public class IPathSegmentFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPathSegmentFactory }
|
|
|
|
}
|
|
|
|
public class IPolyBezierSegment: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegment }
|
|
|
|
internal func get_PointsImpl() throws -> WinUI.PointCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegment.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Points(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_PointsImpl(_ value: WinUI.PointCollection?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegment.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Points(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IPolyBezierSegmentStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegmentStatics }
|
|
|
|
internal func get_PointsPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIPolyBezierSegmentStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_PointsProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IProjection: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIProjection }
|
|
|
|
}
|
|
|
|
public class IProjectionFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIProjectionFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.Projection.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IProjection {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIProjectionFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IProjection(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IRectangleGeometry: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometry }
|
|
|
|
internal func get_RectImpl() throws -> WindowsFoundation.Rect {
|
|
var value: __x_ABI_CWindows_CFoundation_CRect = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Rect(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_RectImpl(_ value: WindowsFoundation.Rect) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometry.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Rect(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IRectangleGeometryStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometryStatics }
|
|
|
|
internal func get_RectPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRectangleGeometryStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_RectProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IRenderedEventArgs: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRenderedEventArgs }
|
|
|
|
internal func get_FrameDurationImpl() throws -> WindowsFoundation.TimeSpan {
|
|
var value: __x_ABI_CWindows_CFoundation_CTimeSpan = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIRenderedEventArgs.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FrameDuration(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IShadow: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIShadow }
|
|
|
|
}
|
|
|
|
public class IShadowFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIShadowFactory }
|
|
|
|
}
|
|
|
|
public class ISolidColorBrush: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrush }
|
|
|
|
internal func get_ColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrush.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_CXaml_CMedia_CISolidColorBrush.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Color(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ISolidColorBrushFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushFactory }
|
|
|
|
internal func CreateInstanceWithColorImpl(_ color: UWP.Color) throws -> ISolidColorBrush {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstanceWithColor(pThis, .from(swift: color), &valueAbi))
|
|
}
|
|
}
|
|
return ISolidColorBrush(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ISolidColorBrushStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushStatics }
|
|
|
|
internal func get_ColorPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISolidColorBrushStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ColorProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class ISystemBackdrop: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdrop }
|
|
|
|
internal func GetDefaultSystemBackdropConfigurationImpl(_ target: WinAppSDK.AnyICompositionSupportsSystemBackdrop?, _ xamlRoot: WinUI.XamlRoot?) throws -> WinAppSDK.SystemBackdropConfiguration? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
let targetWrapper = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper(target)
|
|
let _target = try! targetWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdrop.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetDefaultSystemBackdropConfiguration(pThis, _target, RawPointer(xamlRoot), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class ISystemBackdropFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.SystemBackdrop.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> ISystemBackdrop {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return ISystemBackdrop(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ISystemBackdropOverrides: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides }
|
|
|
|
internal func OnTargetConnectedImpl(_ connectedTarget: WinAppSDK.AnyICompositionSupportsSystemBackdrop?, _ xamlRoot: WinUI.XamlRoot?) throws {
|
|
let connectedTargetWrapper = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper(connectedTarget)
|
|
let _connectedTarget = try! connectedTargetWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnTargetConnected(pThis, _connectedTarget, RawPointer(xamlRoot)))
|
|
}
|
|
}
|
|
|
|
internal func OnTargetDisconnectedImpl(_ disconnectedTarget: WinAppSDK.AnyICompositionSupportsSystemBackdrop?) throws {
|
|
let disconnectedTargetWrapper = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper(disconnectedTarget)
|
|
let _disconnectedTarget = try! disconnectedTargetWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnTargetDisconnected(pThis, _disconnectedTarget))
|
|
}
|
|
}
|
|
|
|
internal func OnDefaultSystemBackdropConfigurationChangedImpl(_ target: WinAppSDK.AnyICompositionSupportsSystemBackdrop?, _ xamlRoot: WinUI.XamlRoot?) throws {
|
|
let targetWrapper = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper(target)
|
|
let _target = try! targetWrapper?.toABI { $0 }
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnDefaultSystemBackdropConfigurationChanged(pThis, _target, RawPointer(xamlRoot)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IThemeShadow: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadow }
|
|
|
|
internal func get_ReceiversImpl() throws -> WinUI.UIElementWeakCollection? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadow.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Receivers(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IThemeShadowFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadowFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.ThemeShadow.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IThemeShadow {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIThemeShadowFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IThemeShadow(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class ITransform: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITransform }
|
|
|
|
}
|
|
|
|
public class ITransformFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITransformFactory }
|
|
|
|
}
|
|
|
|
public class ITranslateTransform: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform }
|
|
|
|
internal func get_XImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_X(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_XImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_X(pThis, value))
|
|
}
|
|
}
|
|
|
|
internal func get_YImpl() throws -> Double {
|
|
var value: DOUBLE = 0.0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Y(pThis, &value))
|
|
}
|
|
return value
|
|
}
|
|
|
|
internal func put_YImpl(_ value: Double) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransform.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_Y(pThis, value))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class ITranslateTransformStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransformStatics }
|
|
|
|
internal func get_XPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_XProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func get_YPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CITranslateTransformStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_YProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IVisualTreeHelper: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelper }
|
|
|
|
}
|
|
|
|
public class IVisualTreeHelperStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics }
|
|
|
|
internal func FindElementsInHostCoordinatesPointImpl(_ intersectingPoint: WindowsFoundation.Point, _ subtree: WinUI.UIElement?) throws -> WindowsFoundation.AnyIIterable<WinUI.UIElement?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.FindElementsInHostCoordinatesPoint(pThis, .from(swift: intersectingPoint), RawPointer(subtree), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIIterable_1___x_ABI_CMicrosoft__CUI__CXaml__CUIElementWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
internal func FindElementsInHostCoordinatesRectImpl(_ intersectingRect: WindowsFoundation.Rect, _ subtree: WinUI.UIElement?) throws -> WindowsFoundation.AnyIIterable<WinUI.UIElement?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.FindElementsInHostCoordinatesRect(pThis, .from(swift: intersectingRect), RawPointer(subtree), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIIterable_1___x_ABI_CMicrosoft__CUI__CXaml__CUIElementWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
internal func FindAllElementsInHostCoordinatesPointImpl(_ intersectingPoint: WindowsFoundation.Point, _ subtree: WinUI.UIElement?, _ includeAllElements: Bool) throws -> WindowsFoundation.AnyIIterable<WinUI.UIElement?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.FindAllElementsInHostCoordinatesPoint(pThis, .from(swift: intersectingPoint), RawPointer(subtree), .init(from: includeAllElements), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIIterable_1___x_ABI_CMicrosoft__CUI__CXaml__CUIElementWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
internal func FindAllElementsInHostCoordinatesRectImpl(_ intersectingRect: WindowsFoundation.Rect, _ subtree: WinUI.UIElement?, _ includeAllElements: Bool) throws -> WindowsFoundation.AnyIIterable<WinUI.UIElement?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.FindAllElementsInHostCoordinatesRect(pThis, .from(swift: intersectingRect), RawPointer(subtree), .init(from: includeAllElements), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIIterable_1___x_ABI_CMicrosoft__CUI__CXaml__CUIElementWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
internal func GetChildImpl(_ reference: WinUI.DependencyObject?, _ childIndex: Int32) throws -> WinUI.DependencyObject? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetChild(pThis, RawPointer(reference), childIndex, &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func GetChildrenCountImpl(_ reference: WinUI.DependencyObject?) throws -> Int32 {
|
|
var result: INT32 = 0
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetChildrenCount(pThis, RawPointer(reference), &result))
|
|
}
|
|
return result
|
|
}
|
|
|
|
internal func GetParentImpl(_ reference: WinUI.DependencyObject?) throws -> WinUI.DependencyObject? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetParent(pThis, RawPointer(reference), &resultAbi))
|
|
}
|
|
}
|
|
return .from(abi: result)
|
|
}
|
|
|
|
internal func DisconnectChildrenRecursiveImpl(_ element: WinUI.UIElement?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.DisconnectChildrenRecursive(pThis, RawPointer(element)))
|
|
}
|
|
}
|
|
|
|
internal func GetOpenPopupsImpl(_ window: WinUI.Window?) throws -> WindowsFoundation.AnyIVectorView<WinUI.Popup?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetOpenPopups(pThis, RawPointer(window), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIVectorView_1___x_ABI_CMicrosoft__CUI__CXaml__CControls__CPrimitives__CPopupWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
internal func GetOpenPopupsForXamlRootImpl(_ xamlRoot: WinUI.XamlRoot?) throws -> WindowsFoundation.AnyIVectorView<WinUI.Popup?>? {
|
|
let (result) = try ComPtrs.initialize { resultAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIVisualTreeHelperStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetOpenPopupsForXamlRoot(pThis, RawPointer(xamlRoot), &resultAbi))
|
|
}
|
|
}
|
|
return WinUI.__x_ABI_C__FIVectorView_1___x_ABI_CMicrosoft__CUI__CXaml__CControls__CPrimitives__CPopupWrapper.unwrapFrom(abi: result)
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlCompositionBrushBase: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBase }
|
|
|
|
internal func get_FallbackColorImpl() throws -> UWP.Color {
|
|
var value: __x_ABI_CWindows_CUI_CColor = .init()
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBase.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FallbackColor(pThis, &value))
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_FallbackColorImpl(_ value: UWP.Color) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBase.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_FallbackColor(pThis, .from(swift: value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlCompositionBrushBaseFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.XamlCompositionBrushBase.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IXamlCompositionBrushBase {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IXamlCompositionBrushBase(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlCompositionBrushBaseOverrides: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverrides }
|
|
|
|
internal func OnConnectedImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnConnected(pThis))
|
|
}
|
|
}
|
|
|
|
internal func OnDisconnectedImpl() throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnDisconnected(pThis))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlCompositionBrushBaseProtected: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseProtected }
|
|
|
|
internal func get_CompositionBrushImpl() throws -> WinAppSDK.CompositionBrush? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseProtected.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CompositionBrush(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_CompositionBrushImpl(_ value: WinAppSDK.CompositionBrush?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseProtected.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CompositionBrush(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlCompositionBrushBaseStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseStatics }
|
|
|
|
internal func get_FallbackColorPropertyImpl() throws -> WinUI.DependencyProperty? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_FallbackColorProperty(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlLight: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLight }
|
|
|
|
}
|
|
|
|
public class IXamlLightFactory: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightFactory }
|
|
|
|
internal func CreateInstanceImpl(_ baseInterface: UnsealedWinRTClassWrapper<WinUI.XamlLight.Composable>?, _ innerInterface: inout WindowsFoundation.IInspectable?) throws -> IXamlLight {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
let _baseInterface = baseInterface?.toIInspectableABI { $0 }
|
|
let (_innerInterface) = try ComPtrs.initialize { _innerInterfaceAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightFactory.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.CreateInstance(pThis, _baseInterface, &_innerInterfaceAbi, &valueAbi))
|
|
}
|
|
}
|
|
innerInterface = WindowsFoundation.IInspectable(_innerInterface!)
|
|
}
|
|
return IXamlLight(value!)
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlLightOverrides: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides }
|
|
|
|
internal func GetIdImpl() throws -> String {
|
|
var result: HSTRING?
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.GetId(pThis, &result))
|
|
}
|
|
return .init(from: result)
|
|
}
|
|
|
|
internal func OnConnectedImpl(_ newElement: WinUI.UIElement?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnConnected(pThis, RawPointer(newElement)))
|
|
}
|
|
}
|
|
|
|
internal func OnDisconnectedImpl(_ oldElement: WinUI.UIElement?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.OnDisconnected(pThis, RawPointer(oldElement)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlLightProtected: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightProtected }
|
|
|
|
internal func get_CompositionLightImpl() throws -> WinAppSDK.CompositionLight? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightProtected.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.get_CompositionLight(pThis, &valueAbi))
|
|
}
|
|
}
|
|
return .from(abi: value)
|
|
}
|
|
|
|
internal func put_CompositionLightImpl(_ value: WinAppSDK.CompositionLight?) throws {
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightProtected.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.put_CompositionLight(pThis, RawPointer(value)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public class IXamlLightStatics: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics }
|
|
|
|
internal func AddTargetElementImpl(_ lightId: String, _ element: WinUI.UIElement?) throws {
|
|
let _lightId = try! HString(lightId)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.AddTargetElement(pThis, _lightId.get(), RawPointer(element)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveTargetElementImpl(_ lightId: String, _ element: WinUI.UIElement?) throws {
|
|
let _lightId = try! HString(lightId)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveTargetElement(pThis, _lightId.get(), RawPointer(element)))
|
|
}
|
|
}
|
|
|
|
internal func AddTargetBrushImpl(_ lightId: String, _ brush: WinUI.Brush?) throws {
|
|
let _lightId = try! HString(lightId)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.AddTargetBrush(pThis, _lightId.get(), RawPointer(brush)))
|
|
}
|
|
}
|
|
|
|
internal func RemoveTargetBrushImpl(_ lightId: String, _ brush: WinUI.Brush?) throws {
|
|
let _lightId = try! HString(lightId)
|
|
_ = try perform(as: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightStatics.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.RemoveTargetBrush(pThis, _lightId.get(), RawPointer(brush)))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
internal typealias IBrushOverridesWrapper = UnsealedWinRTClassWrapper<WinUI.Brush.IBrushOverrides>
|
|
internal static var IBrushOverridesVTable: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushOverridesVtbl = .init(
|
|
QueryInterface: { IBrushOverridesWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IBrushOverridesWrapper.addRef($0) },
|
|
Release: { IBrushOverridesWrapper.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_Xaml_Media.IBrushOverridesWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
guard let instance = IBrushOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let hstring = instance.GetRuntimeClassName().detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
PopulatePropertyInfoOverride: {
|
|
do {
|
|
guard let __unwrapped__instance = IBrushOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let propertyName: String = .init(from: $1)
|
|
let animationPropertyInfo: WinAppSDK.AnimationPropertyInfo? = .from(abi: ComPtr($2))
|
|
try __unwrapped__instance.populatePropertyInfoOverride(propertyName, animationPropertyInfo)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
internal typealias IGeneralTransformOverridesWrapper = UnsealedWinRTClassWrapper<WinUI.GeneralTransform.IGeneralTransformOverrides>
|
|
internal static var IGeneralTransformOverridesVTable: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverridesVtbl = .init(
|
|
QueryInterface: { IGeneralTransformOverridesWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IGeneralTransformOverridesWrapper.addRef($0) },
|
|
Release: { IGeneralTransformOverridesWrapper.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_Xaml_Media.IGeneralTransformOverridesWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
guard let instance = IGeneralTransformOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let hstring = instance.GetRuntimeClassName().detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
get_InverseCore: {
|
|
guard let __unwrapped__instance = IGeneralTransformOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let value = __unwrapped__instance.inverseCore
|
|
value?.copyTo($1)
|
|
return S_OK
|
|
},
|
|
|
|
TryTransformCore: {
|
|
do {
|
|
guard let __unwrapped__instance = IGeneralTransformOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let inPoint: WindowsFoundation.Point = .from(abi: $1)
|
|
var outPoint: WindowsFoundation.Point = .init()
|
|
let returnValue = try __unwrapped__instance.tryTransformCore(inPoint, &outPoint)
|
|
$2?.initialize(to: .from(swift: outPoint))
|
|
$3?.initialize(to: .init(from: returnValue))
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
TransformBoundsCore: {
|
|
do {
|
|
guard let __unwrapped__instance = IGeneralTransformOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let rect: WindowsFoundation.Rect = .from(abi: $1)
|
|
let result = try __unwrapped__instance.transformBoundsCore(rect)
|
|
$2?.initialize(to: .from(swift: result))
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
internal typealias ISystemBackdropOverridesWrapper = UnsealedWinRTClassWrapper<WinUI.SystemBackdrop.ISystemBackdropOverrides>
|
|
internal static var ISystemBackdropOverridesVTable: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverridesVtbl = .init(
|
|
QueryInterface: { ISystemBackdropOverridesWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { ISystemBackdropOverridesWrapper.addRef($0) },
|
|
Release: { ISystemBackdropOverridesWrapper.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_Xaml_Media.ISystemBackdropOverridesWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
guard let instance = ISystemBackdropOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let hstring = instance.GetRuntimeClassName().detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
OnTargetConnected: {
|
|
do {
|
|
guard let __unwrapped__instance = ISystemBackdropOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let connectedTarget: WinAppSDK.AnyICompositionSupportsSystemBackdrop? = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper.unwrapFrom(abi: ComPtr($1))
|
|
let xamlRoot: WinUI.XamlRoot? = .from(abi: ComPtr($2))
|
|
try __unwrapped__instance.onTargetConnected(connectedTarget, xamlRoot)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
OnTargetDisconnected: {
|
|
do {
|
|
guard let __unwrapped__instance = ISystemBackdropOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let disconnectedTarget: WinAppSDK.AnyICompositionSupportsSystemBackdrop? = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper.unwrapFrom(abi: ComPtr($1))
|
|
try __unwrapped__instance.onTargetDisconnected(disconnectedTarget)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
OnDefaultSystemBackdropConfigurationChanged: {
|
|
do {
|
|
guard let __unwrapped__instance = ISystemBackdropOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let target: WinAppSDK.AnyICompositionSupportsSystemBackdrop? = __ABI_Microsoft_UI_Composition.ICompositionSupportsSystemBackdropWrapper.unwrapFrom(abi: ComPtr($1))
|
|
let xamlRoot: WinUI.XamlRoot? = .from(abi: ComPtr($2))
|
|
try __unwrapped__instance.onDefaultSystemBackdropConfigurationChanged(target, xamlRoot)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
internal typealias IXamlCompositionBrushBaseOverridesWrapper = UnsealedWinRTClassWrapper<WinUI.XamlCompositionBrushBase.IXamlCompositionBrushBaseOverrides>
|
|
internal static var IXamlCompositionBrushBaseOverridesVTable: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverridesVtbl = .init(
|
|
QueryInterface: { IXamlCompositionBrushBaseOverridesWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IXamlCompositionBrushBaseOverridesWrapper.addRef($0) },
|
|
Release: { IXamlCompositionBrushBaseOverridesWrapper.release($0) },
|
|
GetIids: {
|
|
let size = MemoryLayout<WindowsFoundation.IID>.size
|
|
let iids = CoTaskMemAlloc(UInt64(size) * 4).assumingMemoryBound(to: WindowsFoundation.IID.self)
|
|
iids[0] = IUnknown.IID
|
|
iids[1] = IInspectable.IID
|
|
iids[2] = __ABI_Microsoft_UI_Xaml_Media.IXamlCompositionBrushBaseOverridesWrapper.IID
|
|
iids[3] = __ABI_Microsoft_UI_Xaml_Media.IBrushOverridesWrapper.IID
|
|
$1!.pointee = 4
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
guard let instance = IXamlCompositionBrushBaseOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let hstring = instance.GetRuntimeClassName().detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
OnConnected: {
|
|
do {
|
|
guard let __unwrapped__instance = IXamlCompositionBrushBaseOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
try __unwrapped__instance.onConnected()
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
OnDisconnected: {
|
|
do {
|
|
guard let __unwrapped__instance = IXamlCompositionBrushBaseOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
try __unwrapped__instance.onDisconnected()
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
internal typealias IXamlLightOverridesWrapper = UnsealedWinRTClassWrapper<WinUI.XamlLight.IXamlLightOverrides>
|
|
internal static var IXamlLightOverridesVTable: __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverridesVtbl = .init(
|
|
QueryInterface: { IXamlLightOverridesWrapper.queryInterface($0, $1, $2) },
|
|
AddRef: { IXamlLightOverridesWrapper.addRef($0) },
|
|
Release: { IXamlLightOverridesWrapper.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_Xaml_Media.IXamlLightOverridesWrapper.IID
|
|
$1!.pointee = 3
|
|
$2!.pointee = iids
|
|
return S_OK
|
|
},
|
|
|
|
GetRuntimeClassName: {
|
|
guard let instance = IXamlLightOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let hstring = instance.GetRuntimeClassName().detach()
|
|
$1!.pointee = hstring
|
|
return S_OK
|
|
},
|
|
|
|
GetTrustLevel: {
|
|
_ = $0
|
|
$1!.pointee = TrustLevel(rawValue: 0)
|
|
return S_OK
|
|
},
|
|
|
|
GetId: {
|
|
do {
|
|
guard let __unwrapped__instance = IXamlLightOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let result = try __unwrapped__instance.getId()
|
|
$1?.initialize(to: try! HString(result).detach())
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
OnConnected: {
|
|
do {
|
|
guard let __unwrapped__instance = IXamlLightOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let newElement: WinUI.UIElement? = .from(abi: ComPtr($1))
|
|
try __unwrapped__instance.onConnected(newElement)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
},
|
|
|
|
OnDisconnected: {
|
|
do {
|
|
guard let __unwrapped__instance = IXamlLightOverridesWrapper.tryUnwrapFrom(raw: $0) else { return E_INVALIDARG }
|
|
let oldElement: WinUI.UIElement? = .from(abi: ComPtr($1))
|
|
try __unwrapped__instance.onDisconnected(oldElement)
|
|
return S_OK
|
|
} catch { return failWith(err: E_FAIL) }
|
|
}
|
|
)
|
|
}
|
|
extension ComposableImpl where CABI == __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIBrushOverrides {
|
|
public static func makeAbi() -> CABI {
|
|
let vtblPtr = withUnsafeMutablePointer(to: &__ABI_Microsoft_UI_Xaml_Media.IBrushOverridesVTable) { $0 }
|
|
return .init(lpVtbl: vtblPtr)
|
|
}
|
|
}
|
|
extension ComposableImpl where CABI == __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIGeneralTransformOverrides {
|
|
public static func makeAbi() -> CABI {
|
|
let vtblPtr = withUnsafeMutablePointer(to: &__ABI_Microsoft_UI_Xaml_Media.IGeneralTransformOverridesVTable) { $0 }
|
|
return .init(lpVtbl: vtblPtr)
|
|
}
|
|
}
|
|
extension ComposableImpl where CABI == __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CISystemBackdropOverrides {
|
|
public static func makeAbi() -> CABI {
|
|
let vtblPtr = withUnsafeMutablePointer(to: &__ABI_Microsoft_UI_Xaml_Media.ISystemBackdropOverridesVTable) { $0 }
|
|
return .init(lpVtbl: vtblPtr)
|
|
}
|
|
}
|
|
extension ComposableImpl where CABI == __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlCompositionBrushBaseOverrides {
|
|
public static func makeAbi() -> CABI {
|
|
let vtblPtr = withUnsafeMutablePointer(to: &__ABI_Microsoft_UI_Xaml_Media.IXamlCompositionBrushBaseOverridesVTable) { $0 }
|
|
return .init(lpVtbl: vtblPtr)
|
|
}
|
|
}
|
|
extension ComposableImpl where CABI == __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CIXamlLightOverrides {
|
|
public static func makeAbi() -> CABI {
|
|
let vtblPtr = withUnsafeMutablePointer(to: &__ABI_Microsoft_UI_Xaml_Media.IXamlLightOverridesVTable) { $0 }
|
|
return .init(lpVtbl: vtblPtr)
|
|
}
|
|
}
|