swift-uwp/Sources/UWP/Generated/Windows.Graphics.Effects.swift
2024-02-15 17:14:48 -08:00

44 lines
1.8 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 WindowsFoundation
import CWinRT
/// [Open Microsoft documentation](https://learn.microsoft.com/uwp/api/windows.graphics.effects.igraphicseffect)
public protocol IGraphicsEffect : IGraphicsEffectSource {
/// [Open Microsoft documentation](https://learn.microsoft.com/uwp/api/windows.graphics.effects.igraphicseffect.name)
var name: String { get set }
}
extension IGraphicsEffect {
public func queryInterface(_ iid: WindowsFoundation.IID) -> IUnknownRef? {
switch iid {
case __ABI_Windows_Graphics_Effects.IGraphicsEffectWrapper.IID:
let wrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectWrapper(self)
return wrapper!.queryInterface(iid)
case __ABI_Windows_Graphics_Effects.IGraphicsEffectSourceWrapper.IID:
let wrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectSourceWrapper(self)
return wrapper!.queryInterface(iid)
default: return nil
}
}
}
public typealias AnyIGraphicsEffect = any IGraphicsEffect
/// [Open Microsoft documentation](https://learn.microsoft.com/uwp/api/windows.graphics.effects.igraphicseffectsource)
public protocol IGraphicsEffectSource : WinRTInterface {
}
extension IGraphicsEffectSource {
public func queryInterface(_ iid: WindowsFoundation.IID) -> IUnknownRef? {
switch iid {
case __ABI_Windows_Graphics_Effects.IGraphicsEffectSourceWrapper.IID:
let wrapper = __ABI_Windows_Graphics_Effects.IGraphicsEffectSourceWrapper(self)
return wrapper!.queryInterface(iid)
default: return nil
}
}
}
public typealias AnyIGraphicsEffectSource = any IGraphicsEffectSource