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

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

Needed by Windows.UI.Composition.Compositor.
parent 0b5bc1ff
......@@ -39,6 +39,7 @@ namespace Windows.UI.Composition {
typedef enum CompositionBorderMode CompositionBorderMode;
typedef enum CompositionColorSpace CompositionColorSpace;
typedef enum CompositionCompositeMode CompositionCompositeMode;
typedef enum CompositionEffectFactoryLoadStatus CompositionEffectFactoryLoadStatus;
typedef enum CompositionStretch CompositionStretch;
interface IColorKeyFrameAnimation;
......@@ -52,6 +53,7 @@ namespace Windows.UI.Composition {
interface ICompositionEasingFunctionFactory;
interface ICompositionEasingFunctionStatics;
interface ICompositionEffectBrush;
interface ICompositionEffectFactory;
interface ICompositionSurface;
interface ICompositionSurfaceBrush;
interface ICompositionSurfaceBrush2;
......@@ -74,6 +76,7 @@ namespace Windows.UI.Composition {
runtimeclass CompositionColorBrush;
runtimeclass CompositionEasingFunction;
runtimeclass CompositionEffectBrush;
runtimeclass CompositionEffectFactory;
runtimeclass CompositionObject;
runtimeclass CompositionSurfaceBrush;
runtimeclass ContainerVisual;
......@@ -164,6 +167,17 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0)
]
enum CompositionEffectFactoryLoadStatus
{
Success = 0,
EffectTooComplex = 1,
Pending = 2,
Other = -1,
};
[
contract(Windows.Foundation.UniversalApiContract, 2.0)
]
enum CompositionStretch
{
None = 0,
......@@ -266,6 +280,18 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.CompositionEffectFactory),
uuid(be5624af-ba7e-4510-9850-41c0b4ff74df)
]
interface ICompositionEffectFactory : IInspectable
{
HRESULT CreateBrush([out, retval] Windows.UI.Composition.CompositionEffectBrush **result);
[propget] HRESULT ExtendedError([out, retval] HRESULT *value);
[propget] HRESULT LoadStatus([out, retval] Windows.UI.Composition.CompositionEffectFactoryLoadStatus *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
uuid(1527540d-42c7-47a6-a408-668f79a90dfb)
]
interface ICompositionSurface : IInspectable
......@@ -469,6 +495,16 @@ namespace Windows.UI.Composition {
marshaling_behavior(agile),
threading(both)
]
runtimeclass CompositionEffectFactory : Windows.UI.Composition.CompositionObject
{
[default] interface Windows.UI.Composition.ICompositionEffectFactory;
}
[
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