// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1 // swiftlint:disable all import Foundation @_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation import CWinRT private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIDepthMediaFrameFormat: WindowsFoundation.IID { .init(Data1: 0xC312CF40, Data2: 0xD729, Data3: 0x453E, Data4: ( 0x87,0x80,0x2E,0x04,0xF1,0x40,0xD2,0x8E ))// C312CF40-D729-453E-8780-2E04F140D28E } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat: WindowsFoundation.IID { .init(Data1: 0x71902B4E, Data2: 0xB279, Data3: 0x4A97, Data4: ( 0xA9,0xDB,0xBD,0x5A,0x2F,0xB7,0x8F,0x39 ))// 71902B4E-B279-4A97-A9DB-BD5A2FB78F39 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat2: WindowsFoundation.IID { .init(Data1: 0x63856340, Data2: 0x5E87, Data3: 0x4C10, Data4: ( 0x86,0xD1,0x6D,0xF0,0x97,0xA6,0xC6,0xA8 ))// 63856340-5E87-4C10-86D1-6DF097A6C6A8 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource: WindowsFoundation.IID { .init(Data1: 0xD6782953, Data2: 0x90DB, Data3: 0x46A8, Data4: ( 0x8A,0xDD,0x2A,0xA8,0x84,0xA8,0xD2,0x53 ))// D6782953-90DB-46A8-8ADD-2AA884A8D253 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController: WindowsFoundation.IID { .init(Data1: 0x6D076635, Data2: 0x316D, Data3: 0x4B8F, Data4: ( 0xB7,0xB6,0xEE,0xB0,0x4A,0x8C,0x65,0x25 ))// 6D076635-316D-4B8F-B7B6-EEB04A8C6525 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController2: WindowsFoundation.IID { .init(Data1: 0xEFC49FD4, Data2: 0xFCF2, Data3: 0x4A03, Data4: ( 0xB4,0xE4,0xAC,0x96,0x28,0x73,0x9B,0xEE ))// EFC49FD4-FCF2-4A03-B4E4-AC9628739BEE } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController3: WindowsFoundation.IID { .init(Data1: 0x1F0CF815, Data2: 0x2464, Data3: 0x4651, Data4: ( 0xB1,0xE8,0x4A,0x82,0xDB,0xDB,0x54,0xDE ))// 1F0CF815-2464-4651-B1E8-4A82DBDB54DE } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGetPropertyResult: WindowsFoundation.IID { .init(Data1: 0x088616C2, Data2: 0x3A64, Data3: 0x4BD5, Data4: ( 0xBD,0x2B,0xE7,0xC8,0x98,0xD2,0xF3,0x7A ))// 088616C2-3A64-4BD5-BD2B-E7C898D2F37A } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroup: WindowsFoundation.IID { .init(Data1: 0x7F605B87, Data2: 0x4832, Data3: 0x4B5F, Data4: ( 0xAE,0x3D,0x41,0x2F,0xAA,0xB3,0x7D,0x34 ))// 7F605B87-4832-4B5F-AE3D-412FAAB37D34 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroupStatics: WindowsFoundation.IID { .init(Data1: 0x1C48BFC5, Data2: 0x436F, Data3: 0x4508, Data4: ( 0x94,0xCF,0xD5,0xD8,0xB7,0x32,0x64,0x45 ))// 1C48BFC5-436F-4508-94CF-D5D8B7326445 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo: WindowsFoundation.IID { .init(Data1: 0x87BDC9CD, Data2: 0x4601, Data3: 0x408F, Data4: ( 0x91,0xCF,0x03,0x83,0x18,0xCD,0x0A,0xF3 ))// 87BDC9CD-4601-408F-91CF-038318CD0AF3 } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo2: WindowsFoundation.IID { .init(Data1: 0x195A7855, Data2: 0x6457, Data3: 0x42C6, Data4: ( 0xA7,0x69,0x19,0xB6,0x5B,0xD3,0x2E,0x6E ))// 195A7855-6457-42C6-A769-19B65BD32E6E } private var IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat: WindowsFoundation.IID { .init(Data1: 0x46027FC0, Data2: 0xD71B, Data3: 0x45C7, Data4: ( 0x8F,0x14,0x6D,0x9A,0x0A,0xE6,0x04,0xE4 ))// 46027FC0-D71B-45C7-8F14-6D9A0AE604E4 } public enum __ABI_Windows_Media_Capture_Frames { public class IDepthMediaFrameFormat: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIDepthMediaFrameFormat } internal func get_VideoFormatImpl() throws -> UWP.VideoMediaFrameFormat? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIDepthMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VideoFormat(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_DepthScaleInMetersImpl() throws -> Double { var value: DOUBLE = 0.0 _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIDepthMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DepthScaleInMeters(pThis, &value)) } return value } } public class IMediaFrameFormat: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat } internal func get_MajorTypeImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MajorType(pThis, &value)) } return .init(from: value) } internal func get_SubtypeImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Subtype(pThis, &value)) } return .init(from: value) } internal func get_FrameRateImpl() throws -> UWP.MediaRatio? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_FrameRate(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_PropertiesImpl() throws -> WindowsFoundation.AnyIMapView? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Properties(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIMapView_2_GUID_IInspectableWrapper.unwrapFrom(abi: value) } internal func get_VideoFormatImpl() throws -> UWP.VideoMediaFrameFormat? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VideoFormat(pThis, &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameFormat2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat2 } internal func get_AudioEncodingPropertiesImpl() throws -> UWP.AudioEncodingProperties? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameFormat2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AudioEncodingProperties(pThis, &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameSource: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource } internal func get_InfoImpl() throws -> UWP.MediaFrameSourceInfo? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Info(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_ControllerImpl() throws -> UWP.MediaFrameSourceController? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Controller(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_SupportedFormatsImpl() throws -> WindowsFoundation.AnyIVectorView? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SupportedFormats(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIVectorView_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameFormatWrapper.unwrapFrom(abi: value) } internal func get_CurrentFormatImpl() throws -> UWP.MediaFrameFormat? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CurrentFormat(pThis, &valueAbi)) } } return .from(abi: value) } internal func SetFormatAsyncImpl(_ format: UWP.MediaFrameFormat?) throws -> WindowsFoundation.AnyIAsyncAction? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetFormatAsync(pThis, RawPointer(format), &valueAbi)) } } return __ABI_Windows_Foundation.IAsyncActionWrapper.unwrapFrom(abi: value) } internal func add_FormatChangedImpl(_ handler: TypedEventHandler?) throws -> EventRegistrationToken { var token: EventRegistrationToken = .init() let handlerWrapper = UWP.__x_ABI_C__FITypedEventHandler_2___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectableWrapper(handler) let _handler = try! handlerWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.add_FormatChanged(pThis, _handler, &token)) } return token } internal func remove_FormatChangedImpl(_ token: EventRegistrationToken) throws { _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.remove_FormatChanged(pThis, token)) } } internal func TryGetCameraIntrinsicsImpl(_ format: UWP.MediaFrameFormat?) throws -> UWP.CameraIntrinsics? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSource.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetCameraIntrinsics(pThis, RawPointer(format), &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameSourceController: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController } internal func GetPropertyAsyncImpl(_ propertyId: String) throws -> WindowsFoundation.AnyIAsyncOperation? { let (value) = try ComPtrs.initialize { valueAbi in let _propertyId = try! HString(propertyId) _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetPropertyAsync(pThis, _propertyId.get(), &valueAbi)) } } return UWP.__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResultWrapper.unwrapFrom(abi: value) } internal func SetPropertyAsyncImpl(_ propertyId: String, _ propertyValue: Any?) throws -> WindowsFoundation.AnyIAsyncOperation? { let (value) = try ComPtrs.initialize { valueAbi in let _propertyId = try! HString(propertyId) let propertyValueWrapper = __ABI_.AnyWrapper(propertyValue) let _propertyValue = try! propertyValueWrapper?.toABI { $0 } _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.SetPropertyAsync(pThis, _propertyId.get(), _propertyValue, &valueAbi)) } } return UWP.__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSourceSetPropertyStatusWrapper.unwrapFrom(abi: value) } internal func get_VideoDeviceControllerImpl() throws -> UWP.VideoDeviceController? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VideoDeviceController(pThis, &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameSourceController2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController2 } } public class IMediaFrameSourceController3: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController3 } internal func get_AudioDeviceControllerImpl() throws -> UWP.AudioDeviceController? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceController3.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_AudioDeviceController(pThis, &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameSourceGetPropertyResult: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGetPropertyResult } internal func get_StatusImpl() throws -> UWP.MediaFrameSourceGetPropertyStatus { var value: __x_ABI_CWindows_CMedia_CCapture_CFrames_CMediaFrameSourceGetPropertyStatus = .init(0) _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGetPropertyResult.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Status(pThis, &value)) } return value } internal func get_ValueImpl() throws -> Any? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGetPropertyResult.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Value(pThis, &valueAbi)) } } return __ABI_.AnyWrapper.unwrapFrom(abi: value) } } public class IMediaFrameSourceGroup: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroup } internal func get_IdImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Id(pThis, &value)) } return .init(from: value) } internal func get_DisplayNameImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DisplayName(pThis, &value)) } return .init(from: value) } internal func get_SourceInfosImpl() throws -> WindowsFoundation.AnyIVectorView? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroup.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceInfos(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIVectorView_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSourceInfoWrapper.unwrapFrom(abi: value) } } public class IMediaFrameSourceGroupStatics: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroupStatics } internal func FindAllAsyncImpl() throws -> WindowsFoundation.AnyIAsyncOperation?>? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroupStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.FindAllAsync(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIAsyncOperation_1___x_ABI_C__FIVectorView_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSourceGroupWrapper.unwrapFrom(abi: value) } internal func FromIdAsyncImpl(_ id: String) throws -> WindowsFoundation.AnyIAsyncOperation? { let (value) = try ComPtrs.initialize { valueAbi in let _id = try! HString(id) _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroupStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.FromIdAsync(pThis, _id.get(), &valueAbi)) } } return UWP.__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CMedia__CCapture__CFrames__CMediaFrameSourceGroupWrapper.unwrapFrom(abi: value) } internal func GetDeviceSelectorImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceGroupStatics.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.GetDeviceSelector(pThis, &value)) } return .init(from: value) } } public class IMediaFrameSourceInfo: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo } internal func get_IdImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Id(pThis, &value)) } return .init(from: value) } internal func get_MediaStreamTypeImpl() throws -> UWP.MediaStreamType { var value: __x_ABI_CWindows_CMedia_CCapture_CMediaStreamType = .init(0) _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MediaStreamType(pThis, &value)) } return value } internal func get_SourceKindImpl() throws -> UWP.MediaFrameSourceKind { var value: __x_ABI_CWindows_CMedia_CCapture_CFrames_CMediaFrameSourceKind = .init(0) _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceKind(pThis, &value)) } return value } internal func get_SourceGroupImpl() throws -> UWP.MediaFrameSourceGroup? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_SourceGroup(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_DeviceInformationImpl() throws -> UWP.DeviceInformation? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DeviceInformation(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_PropertiesImpl() throws -> WindowsFoundation.AnyIMapView? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Properties(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIMapView_2_GUID_IInspectableWrapper.unwrapFrom(abi: value) } internal func get_CoordinateSystemImpl() throws -> UWP.SpatialCoordinateSystem? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_CoordinateSystem(pThis, &valueAbi)) } } return .from(abi: value) } } public class IMediaFrameSourceInfo2: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo2 } internal func get_ProfileIdImpl() throws -> String { var value: HSTRING? _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_ProfileId(pThis, &value)) } return .init(from: value) } internal func get_VideoProfileMediaDescriptionImpl() throws -> WindowsFoundation.AnyIVectorView? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIMediaFrameSourceInfo2.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_VideoProfileMediaDescription(pThis, &valueAbi)) } } return UWP.__x_ABI_C__FIVectorView_1___x_ABI_CWindows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescriptionWrapper.unwrapFrom(abi: value) } } public class IVideoMediaFrameFormat: WindowsFoundation.IInspectable { override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat } internal func get_MediaFrameFormatImpl() throws -> UWP.MediaFrameFormat? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_MediaFrameFormat(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_DepthFormatImpl() throws -> UWP.DepthMediaFrameFormat? { let (value) = try ComPtrs.initialize { valueAbi in _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_DepthFormat(pThis, &valueAbi)) } } return .from(abi: value) } internal func get_WidthImpl() throws -> UInt32 { var value: UINT32 = 0 _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Width(pThis, &value)) } return value } internal func get_HeightImpl() throws -> UInt32 { var value: UINT32 = 0 _ = try perform(as: __x_ABI_CWindows_CMedia_CCapture_CFrames_CIVideoMediaFrameFormat.self) { pThis in try CHECKED(pThis.pointee.lpVtbl.pointee.get_Height(pThis, &value)) } return value } } }