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

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

Needed by Windows.UI.Composition.Compositor.
parent 62ac0262
......@@ -51,6 +51,7 @@ namespace Windows.UI.Composition {
interface ICompositionClip2;
interface ICompositionClipFactory;
interface ICompositionColorBrush;
interface ICompositionCommitBatch;
interface ICompositionEasingFunction;
interface ICompositionEasingFunctionFactory;
interface ICompositionEasingFunctionStatics;
......@@ -91,6 +92,7 @@ namespace Windows.UI.Composition {
runtimeclass CompositionBrush;
runtimeclass CompositionClip;
runtimeclass CompositionColorBrush;
runtimeclass CompositionCommitBatch;
runtimeclass CompositionEasingFunction;
runtimeclass CompositionEffectBrush;
runtimeclass CompositionEffectFactory;
......@@ -299,6 +301,22 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionCommitBatch),
uuid(0d00dad0-ca07-4400-8c8e-cb5db08559cc)
]
interface ICompositionCommitBatch : IInspectable
{
[propget] HRESULT IsActive([out, retval] boolean *value);
[propget] HRESULT IsEnded([out, retval] boolean *value);
[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),
exclusiveto(Windows.UI.Composition.CompositionEasingFunction),
uuid(5145e356-bf79-4ea8-8cc2-6b5b472e6c9a)
]
......@@ -716,6 +734,16 @@ namespace Windows.UI.Composition {
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionCommitBatch : Windows.UI.Composition.CompositionObject
{
[default] interface Windows.UI.Composition.ICompositionCommitBatch;
}
[
composable(Windows.UI.Composition.ICompositionEasingFunctionFactory, 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