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

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

Needed by Windows.UI.Composition.Compositor.
parent b9878e0c
......@@ -44,6 +44,7 @@ namespace Windows.UI.Composition {
typedef enum CompositionStretch CompositionStretch;
interface IColorKeyFrameAnimation;
interface ICompositionBatchCompletedEventArgs;
interface ICompositionBrush;
interface ICompositionBrushFactory;
interface ICompositionClip;
......@@ -57,6 +58,7 @@ namespace Windows.UI.Composition {
interface ICompositionEffectFactory;
interface ICompositionPropertySet;
interface ICompositionPropertySet2;
interface ICompositionScopedBatch;
interface ICompositionSurface;
interface ICompositionSurfaceBrush;
interface ICompositionSurfaceBrush2;
......@@ -80,6 +82,7 @@ namespace Windows.UI.Composition {
runtimeclass ColorKeyFrameAnimation;
runtimeclass CompositionAnimation;
runtimeclass CompositionBatchCompletedEventArgs;
runtimeclass CompositionBrush;
runtimeclass CompositionClip;
runtimeclass CompositionColorBrush;
......@@ -88,6 +91,7 @@ namespace Windows.UI.Composition {
runtimeclass CompositionEffectFactory;
runtimeclass CompositionObject;
runtimeclass CompositionPropertySet;
runtimeclass CompositionScopedBatch;
runtimeclass CompositionSurfaceBrush;
runtimeclass ContainerVisual;
runtimeclass CubicBezierEasingFunction;
......@@ -106,6 +110,7 @@ namespace Windows.UI.Composition {
interface Windows.Foundation.IAsyncOperation<Windows.UI.Composition.ICompositionSurface *>;
interface Windows.Foundation.Collections.IIterable<Windows.UI.Composition.Visual *>;
interface Windows.Foundation.Collections.IIterator<Windows.UI.Composition.Visual *>;
interface Windows.Foundation.TypedEventHandler<IInspectable *, Windows.UI.Composition.CompositionBatchCompletedEventArgs *>;
}
[
......@@ -229,6 +234,15 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionBatchCompletedEventArgs),
uuid(0d00dad0-9464-450a-a562-2e2698b0a812)
]
interface ICompositionBatchCompletedEventArgs : IInspectable
{
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionBrush),
uuid(ab0d7608-30c0-40e9-b568-b60a6bd1fb46)
]
......@@ -360,6 +374,25 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionScopedBatch),
uuid(0d00dad0-fb07-46fd-8c72-6280d1a3d1dd)
]
interface ICompositionScopedBatch : IInspectable
{
[propget] HRESULT IsActive([out, retval] boolean *value);
[propget] HRESULT IsEnded([out, retval] boolean *value);
HRESULT End();
HRESULT Resume();
HRESULT Suspend();
[eventadd] HRESULT Completed(
[in] Windows.Foundation.TypedEventHandler<IInspectable *, Windows.UI.Composition.CompositionBatchCompletedEventArgs *> *handler,
[out, retval] EventRegistrationToken *token
);
[eventremove] HRESULT Completed([in] EventRegistrationToken token);
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
uuid(1527540d-42c7-47a6-a408-668f79a90dfb)
]
interface ICompositionSurface : IInspectable
......@@ -569,6 +602,16 @@ namespace Windows.UI.Composition {
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionBatchCompletedEventArgs : Windows.UI.Composition.CompositionObject
{
[default] interface Windows.UI.Composition.ICompositionBatchCompletedEventArgs;
}
[
composable(Windows.UI.Composition.ICompositionBrushFactory, public, Windows.Foundation.UniversalApiContract, 2.0),
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
......@@ -649,6 +692,16 @@ namespace Windows.UI.Composition {
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionScopedBatch : Windows.UI.Composition.CompositionObject
{
[default] interface Windows.UI.Composition.ICompositionScopedBatch;
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionSurfaceBrush : Windows.UI.Composition.CompositionBrush
{
[default] interface Windows.UI.Composition.ICompositionSurfaceBrush;
......
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