Commit dfbe81f7 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

include: Add Windows.UI.Composition.CompositionTarget definition.

Needed by Windows.UI.Composition.Compositor.
parent d3ac460c
......@@ -63,6 +63,8 @@ namespace Windows.UI.Composition {
interface ICompositionSurfaceBrush;
interface ICompositionSurfaceBrush2;
interface ICompositionSurfaceBrush3;
interface ICompositionTarget;
interface ICompositionTargetFactory;
interface IContainerVisual;
interface IContainerVisualFactory;
interface ICubicBezierEasingFunction;
......@@ -93,6 +95,7 @@ namespace Windows.UI.Composition {
runtimeclass CompositionPropertySet;
runtimeclass CompositionScopedBatch;
runtimeclass CompositionSurfaceBrush;
runtimeclass CompositionTarget;
runtimeclass ContainerVisual;
runtimeclass CubicBezierEasingFunction;
runtimeclass ExpressionAnimation;
......@@ -420,6 +423,26 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionTarget),
uuid(a1bea8ba-d726-4663-8129-6b5e7927ffa6)
]
interface ICompositionTarget : IInspectable
{
[propget] HRESULT Root([out, retval] Windows.UI.Composition.Visual **value);
[propput] HRESULT Root([in] Windows.UI.Composition.Visual *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 5.0),
exclusiveto(Windows.UI.Composition.CompositionTarget),
uuid(93cd9d2b-8516-4b14-a8ce-f49e2119ec42)
]
interface ICompositionTargetFactory : IInspectable
{
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.ContainerVisual),
uuid(02f6bc74-ed20-4773-afe6-d49b4a93db32)
]
......@@ -710,6 +733,17 @@ namespace Windows.UI.Composition {
}
[
composable(Windows.UI.Composition.ICompositionTargetFactory, public, Windows.Foundation.UniversalApiContract, 5.0),
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionTarget : Windows.UI.Composition.CompositionObject
{
[default] interface Windows.UI.Composition.ICompositionTarget;
}
[
composable(Windows.UI.Composition.IContainerVisualFactory, public, Windows.Foundation.UniversalApiContract, 2.0),
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment