mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update metadata to 39.0.18-preview
Generator: Add initial Interface generation.
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("0b74b9e8-cdd6-492f-bbbc-5ed32157026d")]
|
||||
[NativeTypeName("struct IDCompositionAffineTransform2DEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionAffineTransform2DEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionAffineTransform2DEffect : IDCompositionAffineTransform2DEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionAffineTransform2DEffect
|
||||
{
|
||||
@@ -137,5 +137,28 @@ public unsafe partial struct IDCompositionAffineTransform2DEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionAffineTransform2DEffect*, float, int>)(lpVtbl[10]))((IDCompositionAffineTransform2DEffect*)Unsafe.AsPointer(ref this), sharpness);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetInterpolationMode(Graphics.Direct2D.Common.AffineTransform2DInterpolationMode interpolationMode);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetBorderMode(Graphics.Direct2D.Common.BorderMode borderMode);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetTransformMatrix(Matrix3x2* transformMatrix);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetTransformMatrixElement(int row, int column, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetTransformMatrixElement(int row, int column, float value);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetSharpness(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetSharpness(float sharpness);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("cbfd91d9-51b2-45e4-b3de-d19ccfb863c5")]
|
||||
[NativeTypeName("struct IDCompositionAnimation : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionAnimation : INativeGuid
|
||||
public unsafe partial struct IDCompositionAnimation : IDCompositionAnimation.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionAnimation
|
||||
{
|
||||
@@ -121,5 +121,25 @@ public unsafe partial struct IDCompositionAnimation : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionAnimation*, double, float, int>)(lpVtbl[8]))((IDCompositionAnimation*)Unsafe.AsPointer(ref this), endOffset, endValue);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Reset();
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetAbsoluteBeginTime(LargeInteger beginTime);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult AddCubic(double beginOffset, float constantCoefficient, float linearCoefficient, float quadraticCoefficient, float cubicCoefficient);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult AddSinusoidal(double beginOffset, float bias, float amplitude, float frequency, float phase);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult AddRepeat(double beginOffset, double durationToRepeat);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult End(double endOffset, float endValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("3b67dfa8-e3dd-4e61-b640-46c2f3d739dc")]
|
||||
[NativeTypeName("struct IDCompositionArithmeticCompositeEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionArithmeticCompositeEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionArithmeticCompositeEffect : IDCompositionArithmeticCompositeEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionArithmeticCompositeEffect
|
||||
{
|
||||
@@ -161,5 +161,37 @@ public unsafe partial struct IDCompositionArithmeticCompositeEffect : INativeGui
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionArithmeticCompositeEffect*, float, int>)(lpVtbl[13]))((IDCompositionArithmeticCompositeEffect*)Unsafe.AsPointer(ref this), Coefficient4);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetCoefficients(Vector4* coefficients);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetClampOutput(Bool32 clampoutput);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetCoefficient1(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetCoefficient1(float Coeffcient1);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetCoefficient2(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetCoefficient2(float Coefficient2);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetCoefficient3(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetCoefficient3(float Coefficient3);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetCoefficient4(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetCoefficient4(float Coefficient4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("33ecdc0a-578a-4a11-9c14-0cb90517f9c5")]
|
||||
[NativeTypeName("struct IDCompositionBlendEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionBlendEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionBlendEffect : IDCompositionBlendEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionBlendEffect
|
||||
{
|
||||
@@ -89,5 +89,10 @@ public unsafe partial struct IDCompositionBlendEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionBlendEffect*, Graphics.Direct2D.Common.BlendMode, int>)(lpVtbl[4]))((IDCompositionBlendEffect*)Unsafe.AsPointer(ref this), mode);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetMode(Graphics.Direct2D.Common.BlendMode mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("6027496e-cb3a-49ab-934f-d798da4f7da6")]
|
||||
[NativeTypeName("struct IDCompositionBrightnessEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionBrightnessEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionBrightnessEffect : IDCompositionBrightnessEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionBrightnessEffect
|
||||
{
|
||||
@@ -161,5 +161,37 @@ public unsafe partial struct IDCompositionBrightnessEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionBrightnessEffect*, float, int>)(lpVtbl[13]))((IDCompositionBrightnessEffect*)Unsafe.AsPointer(ref this), blackPointY);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetWhitePoint(Vector2* whitePoint);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetBlackPoint(Vector2* blackPoint);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetWhitePointX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetWhitePointX(float whitePointX);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetWhitePointY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetWhitePointY(float whitePointY);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetBlackPointX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetBlackPointX(float blackPointX);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetBlackPointY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetBlackPointY(float blackPointY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("64ac3703-9d3f-45ec-a109-7cac0e7a13a7")]
|
||||
[NativeTypeName("struct IDCompositionClip : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionClip : INativeGuid
|
||||
public unsafe partial struct IDCompositionClip : IDCompositionClip.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionClip
|
||||
{
|
||||
@@ -74,5 +74,8 @@ public unsafe partial struct IDCompositionClip : INativeGuid
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionClip*, uint>)(lpVtbl[2]))((IDCompositionClip*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("c1170a22-3ce2-4966-90d4-55408bfc84c4")]
|
||||
[NativeTypeName("struct IDCompositionColorMatrixEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionColorMatrixEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionColorMatrixEffect : IDCompositionColorMatrixEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionColorMatrixEffect
|
||||
{
|
||||
@@ -121,5 +121,22 @@ public unsafe partial struct IDCompositionColorMatrixEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionColorMatrixEffect*, Bool32, int>)(lpVtbl[8]))((IDCompositionColorMatrixEffect*)Unsafe.AsPointer(ref this), clamp);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetMatrix(Matrix5x4* matrix);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetMatrixElement(int row, int column, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetMatrixElement(int row, int column, float value);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetAlphaMode(Graphics.Direct2D.Common.ColorMatrixAlphaMode mode);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetClampOutput(Bool32 clamp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("576616c0-a231-494d-a38d-00fd5ec4db46")]
|
||||
[NativeTypeName("struct IDCompositionCompositeEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionCompositeEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionCompositeEffect : IDCompositionCompositeEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionCompositeEffect
|
||||
{
|
||||
@@ -89,5 +89,10 @@ public unsafe partial struct IDCompositionCompositeEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionCompositeEffect*, Graphics.Direct2D.Common.CompositeMode, int>)(lpVtbl[4]))((IDCompositionCompositeEffect*)Unsafe.AsPointer(ref this), mode);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetMode(Graphics.Direct2D.Common.CompositeMode mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("c2448e9b-547d-4057-8cf5-8144ede1c2da")]
|
||||
[NativeTypeName("struct IDCompositionDelegatedInkTrail : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionDelegatedInkTrail : INativeGuid
|
||||
public unsafe partial struct IDCompositionDelegatedInkTrail : IDCompositionDelegatedInkTrail.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDelegatedInkTrail
|
||||
{
|
||||
@@ -105,5 +105,19 @@ public unsafe partial struct IDCompositionDelegatedInkTrail : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDelegatedInkTrail*, Color4*, int>)(lpVtbl[6]))((IDCompositionDelegatedInkTrail*)Unsafe.AsPointer(ref this), color);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult AddTrailPoints(InkTrailPoint* inkPoints, uint inkPointsCount, uint* generationId);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult AddTrailPointsWithPrediction(InkTrailPoint* inkPoints, uint inkPointsCount, InkTrailPoint* predictedInkPoints, uint predictedInkPointsCount, uint* generationId);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult RemoveTrailPoints(uint generationId);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult StartNewTrail(Color4* color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("5f4633fe-1e08-4cb8-8c75-ce24333f5602")]
|
||||
[NativeTypeName("struct IDCompositionDesktopDevice : IDCompositionDevice2")]
|
||||
[NativeInheritance("IDCompositionDevice2")]
|
||||
public unsafe partial struct IDCompositionDesktopDevice : INativeGuid
|
||||
public unsafe partial struct IDCompositionDesktopDevice : IDCompositionDesktopDevice.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDesktopDevice
|
||||
{
|
||||
@@ -265,5 +265,16 @@ public unsafe partial struct IDCompositionDesktopDevice : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDesktopDevice*, IntPtr, IUnknown**, int>)(lpVtbl[26]))((IDCompositionDesktopDevice*)Unsafe.AsPointer(ref this), hwnd, surface);
|
||||
}
|
||||
public interface Interface : IDCompositionDevice2.Interface
|
||||
{
|
||||
[VtblIndex(24)]
|
||||
HResult CreateTargetForHwnd(IntPtr hwnd, Bool32 topmost, IDCompositionTarget** target);
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult CreateSurfaceFromHandle(Handle handle, IUnknown** surface);
|
||||
|
||||
[VtblIndex(26)]
|
||||
HResult CreateSurfaceFromHwnd(IntPtr hwnd, IUnknown** surface);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("c37ea93a-e7aa-450d-b16f-9746cb0407f3")]
|
||||
[NativeTypeName("struct IDCompositionDevice : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionDevice : INativeGuid
|
||||
public unsafe partial struct IDCompositionDevice : IDCompositionDevice.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDevice
|
||||
{
|
||||
@@ -265,5 +265,79 @@ public unsafe partial struct IDCompositionDevice : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDevice*, Bool32*, int>)(lpVtbl[26]))((IDCompositionDevice*)Unsafe.AsPointer(ref this), pfValid);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Commit();
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult WaitForCommitCompletion();
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetFrameStatistics(FrameStatistics* statistics);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult CreateTargetForHwnd(IntPtr hwnd, Bool32 topmost, IDCompositionTarget** target);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult CreateVisual(IDCompositionVisual** visual);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult CreateSurface(uint width, uint height, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionSurface** surface);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult CreateVirtualSurface(uint initialWidth, uint initialHeight, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionVirtualSurface** virtualSurface);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult CreateSurfaceFromHandle(Handle handle, IUnknown** surface);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult CreateSurfaceFromHwnd(IntPtr hwnd, IUnknown** surface);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult CreateTranslateTransform(IDCompositionTranslateTransform** translateTransform);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult CreateScaleTransform(IDCompositionScaleTransform** scaleTransform);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult CreateRotateTransform(IDCompositionRotateTransform** rotateTransform);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult CreateSkewTransform(IDCompositionSkewTransform** skewTransform);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult CreateMatrixTransform(IDCompositionMatrixTransform** matrixTransform);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult CreateTransformGroup(IDCompositionTransform** transforms, uint elements, IDCompositionTransform** transformGroup);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult CreateTranslateTransform3D(IDCompositionTranslateTransform3D** translateTransform3D);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult CreateScaleTransform3D(IDCompositionScaleTransform3D** scaleTransform3D);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult CreateRotateTransform3D(IDCompositionRotateTransform3D** rotateTransform3D);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult CreateMatrixTransform3D(IDCompositionMatrixTransform3D** matrixTransform3D);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult CreateTransform3DGroup(IDCompositionTransform3D** transforms3D, uint elements, IDCompositionTransform3D** transform3DGroup);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult CreateEffectGroup(IDCompositionEffectGroup** effectGroup);
|
||||
|
||||
[VtblIndex(24)]
|
||||
HResult CreateRectangleClip(IDCompositionRectangleClip** clip);
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult CreateAnimation(IDCompositionAnimation** animation);
|
||||
|
||||
[VtblIndex(26)]
|
||||
HResult CheckDeviceState(Bool32* pfValid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("75f6468d-1b8e-447c-9bc6-75fea80b5b25")]
|
||||
[NativeTypeName("struct IDCompositionDevice2 : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionDevice2 : INativeGuid
|
||||
public unsafe partial struct IDCompositionDevice2 : IDCompositionDevice2.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDevice2
|
||||
{
|
||||
@@ -241,5 +241,70 @@ public unsafe partial struct IDCompositionDevice2 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDevice2*, IDCompositionAnimation**, int>)(lpVtbl[23]))((IDCompositionDevice2*)Unsafe.AsPointer(ref this), animation);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Commit();
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult WaitForCommitCompletion();
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetFrameStatistics(FrameStatistics* statistics);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult CreateVisual(IDCompositionVisual2** visual);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult CreateSurfaceFactory(IUnknown* renderingDevice, IDCompositionSurfaceFactory** surfaceFactory);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult CreateSurface(uint width, uint height, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionSurface** surface);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult CreateVirtualSurface(uint initialWidth, uint initialHeight, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionVirtualSurface** virtualSurface);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult CreateTranslateTransform(IDCompositionTranslateTransform** translateTransform);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult CreateScaleTransform(IDCompositionScaleTransform** scaleTransform);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult CreateRotateTransform(IDCompositionRotateTransform** rotateTransform);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult CreateSkewTransform(IDCompositionSkewTransform** skewTransform);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult CreateMatrixTransform(IDCompositionMatrixTransform** matrixTransform);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult CreateTransformGroup(IDCompositionTransform** transforms, uint elements, IDCompositionTransform** transformGroup);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult CreateTranslateTransform3D(IDCompositionTranslateTransform3D** translateTransform3D);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult CreateScaleTransform3D(IDCompositionScaleTransform3D** scaleTransform3D);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult CreateRotateTransform3D(IDCompositionRotateTransform3D** rotateTransform3D);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult CreateMatrixTransform3D(IDCompositionMatrixTransform3D** matrixTransform3D);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult CreateTransform3DGroup(IDCompositionTransform3D** transforms3D, uint elements, IDCompositionTransform3D** transform3DGroup);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult CreateEffectGroup(IDCompositionEffectGroup** effectGroup);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult CreateRectangleClip(IDCompositionRectangleClip** clip);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult CreateAnimation(IDCompositionAnimation** animation);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("0987cb06-f916-48bf-8d35-ce7641781bd9")]
|
||||
[NativeTypeName("struct IDCompositionDevice3 : IDCompositionDevice2")]
|
||||
[NativeInheritance("IDCompositionDevice2")]
|
||||
public unsafe partial struct IDCompositionDevice3 : INativeGuid
|
||||
public unsafe partial struct IDCompositionDevice3 : IDCompositionDevice3.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDevice3
|
||||
{
|
||||
@@ -345,5 +345,46 @@ public unsafe partial struct IDCompositionDevice3 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDevice3*, IDCompositionAffineTransform2DEffect**, int>)(lpVtbl[36]))((IDCompositionDevice3*)Unsafe.AsPointer(ref this), affineTransform2dEffect);
|
||||
}
|
||||
public interface Interface : IDCompositionDevice2.Interface
|
||||
{
|
||||
[VtblIndex(24)]
|
||||
HResult CreateGaussianBlurEffect(IDCompositionGaussianBlurEffect** gaussianBlurEffect);
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult CreateBrightnessEffect(IDCompositionBrightnessEffect** brightnessEffect);
|
||||
|
||||
[VtblIndex(26)]
|
||||
HResult CreateColorMatrixEffect(IDCompositionColorMatrixEffect** colorMatrixEffect);
|
||||
|
||||
[VtblIndex(27)]
|
||||
HResult CreateShadowEffect(IDCompositionShadowEffect** shadowEffect);
|
||||
|
||||
[VtblIndex(28)]
|
||||
HResult CreateHueRotationEffect(IDCompositionHueRotationEffect** hueRotationEffect);
|
||||
|
||||
[VtblIndex(29)]
|
||||
HResult CreateSaturationEffect(IDCompositionSaturationEffect** saturationEffect);
|
||||
|
||||
[VtblIndex(30)]
|
||||
HResult CreateTurbulenceEffect(IDCompositionTurbulenceEffect** turbulenceEffect);
|
||||
|
||||
[VtblIndex(31)]
|
||||
HResult CreateLinearTransferEffect(IDCompositionLinearTransferEffect** linearTransferEffect);
|
||||
|
||||
[VtblIndex(32)]
|
||||
HResult CreateTableTransferEffect(IDCompositionTableTransferEffect** tableTransferEffect);
|
||||
|
||||
[VtblIndex(33)]
|
||||
HResult CreateCompositeEffect(IDCompositionCompositeEffect** compositeEffect);
|
||||
|
||||
[VtblIndex(34)]
|
||||
HResult CreateBlendEffect(IDCompositionBlendEffect** blendEffect);
|
||||
|
||||
[VtblIndex(35)]
|
||||
HResult CreateArithmeticCompositeEffect(IDCompositionArithmeticCompositeEffect** arithmeticCompositeEffect);
|
||||
|
||||
[VtblIndex(36)]
|
||||
HResult CreateAffineTransform2DEffect(IDCompositionAffineTransform2DEffect** affineTransform2dEffect);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("a1a3c64a-224f-4a81-9773-4f03a89d3c6c")]
|
||||
[NativeTypeName("struct IDCompositionDeviceDebug : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionDeviceDebug : INativeGuid
|
||||
public unsafe partial struct IDCompositionDeviceDebug : IDCompositionDeviceDebug.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionDeviceDebug
|
||||
{
|
||||
@@ -89,5 +89,13 @@ public unsafe partial struct IDCompositionDeviceDebug : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionDeviceDebug*, int>)(lpVtbl[4]))((IDCompositionDeviceDebug*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult EnableDebugCounters();
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult DisableDebugCounters();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("ec81b08f-bfcb-4e8d-b193-a915587999e8")]
|
||||
[NativeTypeName("struct IDCompositionEffect : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionEffect : IDCompositionEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionEffect
|
||||
{
|
||||
@@ -74,5 +74,8 @@ public unsafe partial struct IDCompositionEffect : INativeGuid
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionEffect*, uint>)(lpVtbl[2]))((IDCompositionEffect*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("a7929a74-e6b2-4bd6-8b95-4040119ca34d")]
|
||||
[NativeTypeName("struct IDCompositionEffectGroup : IDCompositionEffect")]
|
||||
[NativeInheritance("IDCompositionEffect")]
|
||||
public unsafe partial struct IDCompositionEffectGroup : INativeGuid
|
||||
public unsafe partial struct IDCompositionEffectGroup : IDCompositionEffectGroup.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionEffectGroup
|
||||
{
|
||||
@@ -97,5 +97,16 @@ public unsafe partial struct IDCompositionEffectGroup : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionEffectGroup*, IDCompositionTransform3D*, int>)(lpVtbl[5]))((IDCompositionEffectGroup*)Unsafe.AsPointer(ref this), transform3D);
|
||||
}
|
||||
public interface Interface : IDCompositionEffect.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetOpacity(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetOpacity(float opacity);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetTransform3D(IDCompositionTransform3D* transform3D);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("30c421d5-8cb2-4e9f-b133-37be270d4ac2")]
|
||||
[NativeTypeName("struct IDCompositionFilterEffect : IDCompositionEffect")]
|
||||
[NativeInheritance("IDCompositionEffect")]
|
||||
public unsafe partial struct IDCompositionFilterEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionFilterEffect : IDCompositionFilterEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionFilterEffect
|
||||
{
|
||||
@@ -81,5 +81,10 @@ public unsafe partial struct IDCompositionFilterEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionFilterEffect*, uint, IUnknown*, uint, int>)(lpVtbl[3]))((IDCompositionFilterEffect*)Unsafe.AsPointer(ref this), index, input, flags);
|
||||
}
|
||||
public interface Interface : IDCompositionEffect.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetInput(uint index, IUnknown* input, uint flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("45d4d0b7-1bd4-454e-8894-2bfa68443033")]
|
||||
[NativeTypeName("struct IDCompositionGaussianBlurEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionGaussianBlurEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionGaussianBlurEffect : IDCompositionGaussianBlurEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionGaussianBlurEffect
|
||||
{
|
||||
@@ -105,5 +105,16 @@ public unsafe partial struct IDCompositionGaussianBlurEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionGaussianBlurEffect*, Graphics.Direct2D.Common.BorderMode, int>)(lpVtbl[6]))((IDCompositionGaussianBlurEffect*)Unsafe.AsPointer(ref this), mode);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetStandardDeviation(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetStandardDeviation(float amount);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetBorderMode(Graphics.Direct2D.Common.BorderMode mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("6db9f920-0770-4781-b0c6-381912f9d167")]
|
||||
[NativeTypeName("struct IDCompositionHueRotationEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionHueRotationEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionHueRotationEffect : IDCompositionHueRotationEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionHueRotationEffect
|
||||
{
|
||||
@@ -97,5 +97,13 @@ public unsafe partial struct IDCompositionHueRotationEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionHueRotationEffect*, float, int>)(lpVtbl[5]))((IDCompositionHueRotationEffect*)Unsafe.AsPointer(ref this), amountDegrees);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetAngle(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetAngle(float amountDegrees);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("df0c7cec-cdeb-4d4a-b91c-721bf22f4e6c")]
|
||||
[NativeTypeName("struct IDCompositionInkTrailDevice : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionInkTrailDevice : INativeGuid
|
||||
public unsafe partial struct IDCompositionInkTrailDevice : IDCompositionInkTrailDevice.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionInkTrailDevice
|
||||
{
|
||||
@@ -89,5 +89,13 @@ public unsafe partial struct IDCompositionInkTrailDevice : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionInkTrailDevice*, IUnknown*, IDCompositionDelegatedInkTrail**, int>)(lpVtbl[4]))((IDCompositionInkTrailDevice*)Unsafe.AsPointer(ref this), swapChain, inkTrail);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult CreateDelegatedInkTrail(IDCompositionDelegatedInkTrail** inkTrail);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult CreateDelegatedInkTrailForSwapChain(IUnknown* swapChain, IDCompositionDelegatedInkTrail** inkTrail);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("4305ee5b-c4a0-4c88-9385-67124e017683")]
|
||||
[NativeTypeName("struct IDCompositionLinearTransferEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionLinearTransferEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionLinearTransferEffect : IDCompositionLinearTransferEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionLinearTransferEffect
|
||||
{
|
||||
@@ -249,5 +249,70 @@ public unsafe partial struct IDCompositionLinearTransferEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionLinearTransferEffect*, Bool32, int>)(lpVtbl[24]))((IDCompositionLinearTransferEffect*)Unsafe.AsPointer(ref this), clampOutput);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetRedYIntercept(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetRedYIntercept(float redYIntercept);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetRedSlope(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetRedSlope(float redSlope);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetRedDisable(Bool32 redDisable);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetGreenYIntercept(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetGreenYIntercept(float greenYIntercept);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetGreenSlope(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetGreenSlope(float greenSlope);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetGreenDisable(Bool32 greenDisable);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetBlueYIntercept(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult SetBlueYIntercept(float blueYIntercept);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult SetBlueSlope(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult SetBlueSlope(float blueSlope);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult SetBlueDisable(Bool32 blueDisable);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult SetAlphaYIntercept(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult SetAlphaYIntercept(float alphaYIntercept);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult SetAlphaSlope(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult SetAlphaSlope(float alphaSlope);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult SetAlphaDisable(Bool32 alphaDisable);
|
||||
|
||||
[VtblIndex(24)]
|
||||
HResult SetClampOutput(Bool32 clampOutput);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("16cdff07-c503-419c-83f2-0965c7af1fa6")]
|
||||
[NativeTypeName("struct IDCompositionMatrixTransform : IDCompositionTransform")]
|
||||
[NativeInheritance("IDCompositionTransform")]
|
||||
public unsafe partial struct IDCompositionMatrixTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionMatrixTransform : IDCompositionMatrixTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionMatrixTransform
|
||||
{
|
||||
@@ -97,5 +97,16 @@ public unsafe partial struct IDCompositionMatrixTransform : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionMatrixTransform*, int, int, float, int>)(lpVtbl[5]))((IDCompositionMatrixTransform*)Unsafe.AsPointer(ref this), row, column, value);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetMatrix(Matrix3x2* matrix);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetMatrixElement(int row, int column, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetMatrixElement(int row, int column, float value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("4b3363f0-643b-41b7-b6e0-ccf22d34467c")]
|
||||
[NativeTypeName("struct IDCompositionMatrixTransform3D : IDCompositionTransform3D")]
|
||||
[NativeInheritance("IDCompositionTransform3D")]
|
||||
public unsafe partial struct IDCompositionMatrixTransform3D : INativeGuid
|
||||
public unsafe partial struct IDCompositionMatrixTransform3D : IDCompositionMatrixTransform3D.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionMatrixTransform3D
|
||||
{
|
||||
@@ -97,5 +97,16 @@ public unsafe partial struct IDCompositionMatrixTransform3D : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionMatrixTransform3D*, int, int, float, int>)(lpVtbl[5]))((IDCompositionMatrixTransform3D*)Unsafe.AsPointer(ref this), row, column, value);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform3D.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetMatrix(Matrix4x4* matrix);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetMatrixElement(int row, int column, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetMatrixElement(int row, int column, float value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("9842ad7d-d9cf-4908-aed7-48b51da5e7c2")]
|
||||
[NativeTypeName("struct IDCompositionRectangleClip : IDCompositionClip")]
|
||||
[NativeInheritance("IDCompositionClip")]
|
||||
public unsafe partial struct IDCompositionRectangleClip : INativeGuid
|
||||
public unsafe partial struct IDCompositionRectangleClip : IDCompositionRectangleClip.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionRectangleClip
|
||||
{
|
||||
@@ -265,5 +265,79 @@ public unsafe partial struct IDCompositionRectangleClip : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionRectangleClip*, float, int>)(lpVtbl[26]))((IDCompositionRectangleClip*)Unsafe.AsPointer(ref this), radius);
|
||||
}
|
||||
public interface Interface : IDCompositionClip.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetLeft(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetLeft(float left);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetTop(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetTop(float top);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetRight(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetRight(float right);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetBottom(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetBottom(float bottom);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetTopLeftRadiusX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetTopLeftRadiusX(float radius);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetTopLeftRadiusY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetTopLeftRadiusY(float radius);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult SetTopRightRadiusX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult SetTopRightRadiusX(float radius);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult SetTopRightRadiusY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult SetTopRightRadiusY(float radius);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult SetBottomLeftRadiusX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult SetBottomLeftRadiusX(float radius);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult SetBottomLeftRadiusY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult SetBottomLeftRadiusY(float radius);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult SetBottomRightRadiusX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(24)]
|
||||
HResult SetBottomRightRadiusX(float radius);
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult SetBottomRightRadiusY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(26)]
|
||||
HResult SetBottomRightRadiusY(float radius);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("641ed83c-ae96-46c5-90dc-32774cc5c6d5")]
|
||||
[NativeTypeName("struct IDCompositionRotateTransform : IDCompositionTransform")]
|
||||
[NativeInheritance("IDCompositionTransform")]
|
||||
public unsafe partial struct IDCompositionRotateTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionRotateTransform : IDCompositionRotateTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionRotateTransform
|
||||
{
|
||||
@@ -121,5 +121,25 @@ public unsafe partial struct IDCompositionRotateTransform : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionRotateTransform*, float, int>)(lpVtbl[8]))((IDCompositionRotateTransform*)Unsafe.AsPointer(ref this), centerY);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetAngle(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetAngle(float angle);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetCenterX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetCenterX(float centerX);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetCenterY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetCenterY(float centerY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("d8f5b23f-d429-4a91-b55a-d2f45fd75b18")]
|
||||
[NativeTypeName("struct IDCompositionRotateTransform3D : IDCompositionTransform3D")]
|
||||
[NativeInheritance("IDCompositionTransform3D")]
|
||||
public unsafe partial struct IDCompositionRotateTransform3D : INativeGuid
|
||||
public unsafe partial struct IDCompositionRotateTransform3D : IDCompositionRotateTransform3D.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionRotateTransform3D
|
||||
{
|
||||
@@ -185,5 +185,49 @@ public unsafe partial struct IDCompositionRotateTransform3D : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionRotateTransform3D*, float, int>)(lpVtbl[16]))((IDCompositionRotateTransform3D*)Unsafe.AsPointer(ref this), centerZ);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform3D.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetAngle(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetAngle(float angle);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetAxisX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetAxisX(float axisX);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetAxisY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetAxisY(float axisY);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetAxisZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetAxisZ(float axisZ);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetCenterX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetCenterX(float centerX);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetCenterY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetCenterY(float centerY);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult SetCenterZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult SetCenterZ(float centerZ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("a08debda-3258-4fa4-9f16-9174d3fe93b1")]
|
||||
[NativeTypeName("struct IDCompositionSaturationEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionSaturationEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionSaturationEffect : IDCompositionSaturationEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionSaturationEffect
|
||||
{
|
||||
@@ -97,5 +97,13 @@ public unsafe partial struct IDCompositionSaturationEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionSaturationEffect*, float, int>)(lpVtbl[5]))((IDCompositionSaturationEffect*)Unsafe.AsPointer(ref this), ratio);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetSaturation(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetSaturation(float ratio);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("71fde914-40ef-45ef-bd51-68b037c339f9")]
|
||||
[NativeTypeName("struct IDCompositionScaleTransform : IDCompositionTransform")]
|
||||
[NativeInheritance("IDCompositionTransform")]
|
||||
public unsafe partial struct IDCompositionScaleTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionScaleTransform : IDCompositionScaleTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionScaleTransform
|
||||
{
|
||||
@@ -137,5 +137,31 @@ public unsafe partial struct IDCompositionScaleTransform : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionScaleTransform*, float, int>)(lpVtbl[10]))((IDCompositionScaleTransform*)Unsafe.AsPointer(ref this), centerY);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetScaleX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetScaleX(float scaleX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetScaleY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetScaleY(float scaleY);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetCenterX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetCenterX(float centerX);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetCenterY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetCenterY(float centerY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("2a9e9ead-364b-4b15-a7c4-a1997f78b389")]
|
||||
[NativeTypeName("struct IDCompositionScaleTransform3D : IDCompositionTransform3D")]
|
||||
[NativeInheritance("IDCompositionTransform3D")]
|
||||
public unsafe partial struct IDCompositionScaleTransform3D : INativeGuid
|
||||
public unsafe partial struct IDCompositionScaleTransform3D : IDCompositionScaleTransform3D.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionScaleTransform3D
|
||||
{
|
||||
@@ -169,5 +169,43 @@ public unsafe partial struct IDCompositionScaleTransform3D : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionScaleTransform3D*, float, int>)(lpVtbl[14]))((IDCompositionScaleTransform3D*)Unsafe.AsPointer(ref this), centerZ);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform3D.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetScaleX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetScaleX(float scaleX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetScaleY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetScaleY(float scaleY);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetScaleZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetScaleZ(float scaleZ);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetCenterX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetCenterX(float centerX);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetCenterY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetCenterY(float centerY);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetCenterZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetCenterZ(float centerZ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("4ad18ac0-cfd2-4c2f-bb62-96e54fdb6879")]
|
||||
[NativeTypeName("struct IDCompositionShadowEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionShadowEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionShadowEffect : IDCompositionShadowEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionShadowEffect
|
||||
{
|
||||
@@ -169,5 +169,40 @@ public unsafe partial struct IDCompositionShadowEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionShadowEffect*, float, int>)(lpVtbl[14]))((IDCompositionShadowEffect*)Unsafe.AsPointer(ref this), amount);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetStandardDeviation(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetStandardDeviation(float amount);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetColor(Vector4* color);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetRed(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetRed(float amount);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetGreen(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetGreen(float amount);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetBlue(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetBlue(float amount);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetAlpha(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetAlpha(float amount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("e57aa735-dcdb-4c72-9c61-0591f58889ee")]
|
||||
[NativeTypeName("struct IDCompositionSkewTransform : IDCompositionTransform")]
|
||||
[NativeInheritance("IDCompositionTransform")]
|
||||
public unsafe partial struct IDCompositionSkewTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionSkewTransform : IDCompositionSkewTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionSkewTransform
|
||||
{
|
||||
@@ -137,5 +137,31 @@ public unsafe partial struct IDCompositionSkewTransform : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionSkewTransform*, float, int>)(lpVtbl[10]))((IDCompositionSkewTransform*)Unsafe.AsPointer(ref this), centerY);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetAngleX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetAngleX(float angleX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetAngleY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetAngleY(float angleY);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetCenterX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetCenterX(float centerX);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetCenterY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetCenterY(float centerY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("bb8a4953-2c99-4f5a-96f5-4819027fa3ac")]
|
||||
[NativeTypeName("struct IDCompositionSurface : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionSurface : INativeGuid
|
||||
public unsafe partial struct IDCompositionSurface : IDCompositionSurface.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionSurface
|
||||
{
|
||||
@@ -113,5 +113,22 @@ public unsafe partial struct IDCompositionSurface : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionSurface*, RawRect*, RawRect*, int, int, int>)(lpVtbl[7]))((IDCompositionSurface*)Unsafe.AsPointer(ref this), scrollRect, clipRect, offsetX, offsetY);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult BeginDraw(RawRect* updateRect, Guid* iid, void** updateObject, System.Drawing.Point* updateOffset);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult EndDraw();
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SuspendDraw();
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult ResumeDraw();
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult Scroll(RawRect* scrollRect, RawRect* clipRect, int offsetX, int offsetY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("e334bc12-3937-4e02-85eb-fcf4eb30d2c8")]
|
||||
[NativeTypeName("struct IDCompositionSurfaceFactory : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionSurfaceFactory : INativeGuid
|
||||
public unsafe partial struct IDCompositionSurfaceFactory : IDCompositionSurfaceFactory.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionSurfaceFactory
|
||||
{
|
||||
@@ -89,5 +89,13 @@ public unsafe partial struct IDCompositionSurfaceFactory : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionSurfaceFactory*, uint, uint, Graphics.Dxgi.Common.Format, Graphics.Dxgi.Common.AlphaMode, IDCompositionVirtualSurface**, int>)(lpVtbl[4]))((IDCompositionSurfaceFactory*)Unsafe.AsPointer(ref this), initialWidth, initialHeight, pixelFormat, alphaMode, virtualSurface);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult CreateSurface(uint width, uint height, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionSurface** surface);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult CreateVirtualSurface(uint initialWidth, uint initialHeight, Graphics.Dxgi.Common.Format pixelFormat, Graphics.Dxgi.Common.AlphaMode alphaMode, IDCompositionVirtualSurface** virtualSurface);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("9b7e82e2-69c5-4eb4-a5f5-a7033f5132cd")]
|
||||
[NativeTypeName("struct IDCompositionTableTransferEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionTableTransferEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionTableTransferEffect : IDCompositionTableTransferEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTableTransferEffect
|
||||
{
|
||||
@@ -217,5 +217,58 @@ public unsafe partial struct IDCompositionTableTransferEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTableTransferEffect*, uint, float, int>)(lpVtbl[20]))((IDCompositionTableTransferEffect*)Unsafe.AsPointer(ref this), index, value);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetRedTable(float* tableValues, uint count);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetGreenTable(float* tableValues, uint count);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetBlueTable(float* tableValues, uint count);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetAlphaTable(float* tableValues, uint count);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetRedDisable(Bool32 redDisable);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetGreenDisable(Bool32 greenDisable);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetBlueDisable(Bool32 blueDisable);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetAlphaDisable(Bool32 alphaDisable);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetClampOutput(Bool32 clampOutput);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetRedTableValue(uint index, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetRedTableValue(uint index, float value);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult SetGreenTableValue(uint index, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult SetGreenTableValue(uint index, float value);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult SetBlueTableValue(uint index, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult SetBlueTableValue(uint index, float value);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult SetAlphaTableValue(uint index, IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(20)]
|
||||
HResult SetAlphaTableValue(uint index, float value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("eacdd04c-117e-4e17-88f4-d1b12b0e3d89")]
|
||||
[NativeTypeName("struct IDCompositionTarget : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionTarget : INativeGuid
|
||||
public unsafe partial struct IDCompositionTarget : IDCompositionTarget.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTarget
|
||||
{
|
||||
@@ -81,5 +81,10 @@ public unsafe partial struct IDCompositionTarget : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTarget*, IDCompositionVisual*, int>)(lpVtbl[3]))((IDCompositionTarget*)Unsafe.AsPointer(ref this), visual);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetRoot(IDCompositionVisual* visual);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("fd55faa7-37e0-4c20-95d2-9be45bc33f55")]
|
||||
[NativeTypeName("struct IDCompositionTransform : IDCompositionTransform3D")]
|
||||
[NativeInheritance("IDCompositionTransform3D")]
|
||||
public unsafe partial struct IDCompositionTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionTransform : IDCompositionTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTransform
|
||||
{
|
||||
@@ -74,5 +74,8 @@ public unsafe partial struct IDCompositionTransform : INativeGuid
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTransform*, uint>)(lpVtbl[2]))((IDCompositionTransform*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
|
||||
public interface Interface : IDCompositionTransform3D.Interface
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("71185722-246b-41f2-aad1-0443f7f4bfc2")]
|
||||
[NativeTypeName("struct IDCompositionTransform3D : IDCompositionEffect")]
|
||||
[NativeInheritance("IDCompositionEffect")]
|
||||
public unsafe partial struct IDCompositionTransform3D : INativeGuid
|
||||
public unsafe partial struct IDCompositionTransform3D : IDCompositionTransform3D.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTransform3D
|
||||
{
|
||||
@@ -74,5 +74,8 @@ public unsafe partial struct IDCompositionTransform3D : INativeGuid
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTransform3D*, uint>)(lpVtbl[2]))((IDCompositionTransform3D*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
|
||||
public interface Interface : IDCompositionEffect.Interface
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("06791122-c6f0-417d-8323-269e987f5954")]
|
||||
[NativeTypeName("struct IDCompositionTranslateTransform : IDCompositionTransform")]
|
||||
[NativeInheritance("IDCompositionTransform")]
|
||||
public unsafe partial struct IDCompositionTranslateTransform : INativeGuid
|
||||
public unsafe partial struct IDCompositionTranslateTransform : IDCompositionTranslateTransform.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTranslateTransform
|
||||
{
|
||||
@@ -105,5 +105,19 @@ public unsafe partial struct IDCompositionTranslateTransform : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTranslateTransform*, float, int>)(lpVtbl[6]))((IDCompositionTranslateTransform*)Unsafe.AsPointer(ref this), offsetY);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetOffsetX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetOffsetX(float offsetX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetOffsetY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetOffsetY(float offsetY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("91636d4b-9ba1-4532-aaf7-e3344994d788")]
|
||||
[NativeTypeName("struct IDCompositionTranslateTransform3D : IDCompositionTransform3D")]
|
||||
[NativeInheritance("IDCompositionTransform3D")]
|
||||
public unsafe partial struct IDCompositionTranslateTransform3D : INativeGuid
|
||||
public unsafe partial struct IDCompositionTranslateTransform3D : IDCompositionTranslateTransform3D.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTranslateTransform3D
|
||||
{
|
||||
@@ -121,5 +121,25 @@ public unsafe partial struct IDCompositionTranslateTransform3D : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTranslateTransform3D*, float, int>)(lpVtbl[8]))((IDCompositionTranslateTransform3D*)Unsafe.AsPointer(ref this), offsetZ);
|
||||
}
|
||||
public interface Interface : IDCompositionTransform3D.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetOffsetX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetOffsetX(float offsetX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetOffsetY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetOffsetY(float offsetY);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetOffsetZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetOffsetZ(float offsetZ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("a6a55bda-c09c-49f3-9193-a41922c89715")]
|
||||
[NativeTypeName("struct IDCompositionTurbulenceEffect : IDCompositionFilterEffect")]
|
||||
[NativeInheritance("IDCompositionFilterEffect")]
|
||||
public unsafe partial struct IDCompositionTurbulenceEffect : INativeGuid
|
||||
public unsafe partial struct IDCompositionTurbulenceEffect : IDCompositionTurbulenceEffect.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionTurbulenceEffect
|
||||
{
|
||||
@@ -137,5 +137,28 @@ public unsafe partial struct IDCompositionTurbulenceEffect : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionTurbulenceEffect*, Bool32, int>)(lpVtbl[10]))((IDCompositionTurbulenceEffect*)Unsafe.AsPointer(ref this), stitchable);
|
||||
}
|
||||
public interface Interface : IDCompositionFilterEffect.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult SetOffset(Vector2* offset);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetBaseFrequency(Vector2* frequency);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetSize(Vector2* size);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetNumOctaves(uint numOctaves);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetSeed(uint seed);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetNoise(Graphics.Direct2D.Common.TurbulenceNoise noise);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetStitchable(Bool32 stitchable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("ae471c51-5f53-4a24-8d3e-d0c39c30b3f0")]
|
||||
[NativeTypeName("struct IDCompositionVirtualSurface : IDCompositionSurface")]
|
||||
[NativeInheritance("IDCompositionSurface")]
|
||||
public unsafe partial struct IDCompositionVirtualSurface : INativeGuid
|
||||
public unsafe partial struct IDCompositionVirtualSurface : IDCompositionVirtualSurface.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionVirtualSurface
|
||||
{
|
||||
@@ -129,5 +129,13 @@ public unsafe partial struct IDCompositionVirtualSurface : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionVirtualSurface*, RawRect*, uint, int>)(lpVtbl[9]))((IDCompositionVirtualSurface*)Unsafe.AsPointer(ref this), rectangles, count);
|
||||
}
|
||||
public interface Interface : IDCompositionSurface.Interface
|
||||
{
|
||||
[VtblIndex(8)]
|
||||
HResult Resize(uint width, uint height);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult Trim(RawRect* rectangles, uint count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("4d93059d-097b-4651-9a60-f0f25116e2f3")]
|
||||
[NativeTypeName("struct IDCompositionVisual : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDCompositionVisual : INativeGuid
|
||||
public unsafe partial struct IDCompositionVisual : IDCompositionVisual.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionVisual
|
||||
{
|
||||
@@ -209,5 +209,58 @@ public unsafe partial struct IDCompositionVisual : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionVisual*, CompositeMode, int>)(lpVtbl[19]))((IDCompositionVisual*)Unsafe.AsPointer(ref this), compositeMode);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetOffsetX(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult SetOffsetX(float offsetX);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult SetOffsetY(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SetOffsetY(float offsetY);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult SetTransform(IDCompositionTransform* transform);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult SetTransform(Matrix3x2* matrix);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult SetTransformParent(IDCompositionVisual* visual);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult SetEffect(IDCompositionEffect* effect);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult SetBitmapInterpolationMode(BitmapInterpolationMode interpolationMode);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult SetBorderMode(BorderMode borderMode);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult SetClip(IDCompositionClip* clip);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult SetClip(Graphics.Direct2D.Common.RectF* rect);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult SetContent(IUnknown* content);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult AddVisual(IDCompositionVisual* visual, Bool32 insertAbove, IDCompositionVisual* referenceVisual);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult RemoveVisual(IDCompositionVisual* visual);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult RemoveAllVisuals();
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult SetCompositeMode(CompositeMode compositeMode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("e8de1639-4331-4b26-bc5f-6a321d347a85")]
|
||||
[NativeTypeName("struct IDCompositionVisual2 : IDCompositionVisual")]
|
||||
[NativeInheritance("IDCompositionVisual")]
|
||||
public unsafe partial struct IDCompositionVisual2 : INativeGuid
|
||||
public unsafe partial struct IDCompositionVisual2 : IDCompositionVisual2.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionVisual2
|
||||
{
|
||||
@@ -225,5 +225,13 @@ public unsafe partial struct IDCompositionVisual2 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionVisual2*, BackfaceVisibility, int>)(lpVtbl[21]))((IDCompositionVisual2*)Unsafe.AsPointer(ref this), visibility);
|
||||
}
|
||||
public interface Interface : IDCompositionVisual.Interface
|
||||
{
|
||||
[VtblIndex(20)]
|
||||
HResult SetOpacityMode(OpacityMode mode);
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult SetBackFaceVisibility(BackfaceVisibility visibility);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("2775f462-b6c1-4015-b0be-b3e7d6a4976d")]
|
||||
[NativeTypeName("struct IDCompositionVisual3 : IDCompositionVisualDebug")]
|
||||
[NativeInheritance("IDCompositionVisualDebug")]
|
||||
public unsafe partial struct IDCompositionVisual3 : INativeGuid
|
||||
public unsafe partial struct IDCompositionVisual3 : IDCompositionVisual3.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionVisual3
|
||||
{
|
||||
@@ -321,5 +321,31 @@ public unsafe partial struct IDCompositionVisual3 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionVisual3*, Bool32, int>)(lpVtbl[33]))((IDCompositionVisual3*)Unsafe.AsPointer(ref this), visible);
|
||||
}
|
||||
public interface Interface : IDCompositionVisualDebug.Interface
|
||||
{
|
||||
[VtblIndex(26)]
|
||||
HResult SetDepthMode(DepthMode mode);
|
||||
|
||||
[VtblIndex(27)]
|
||||
HResult SetOffsetZ(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(28)]
|
||||
HResult SetOffsetZ(float offsetZ);
|
||||
|
||||
[VtblIndex(29)]
|
||||
HResult SetOpacity(IDCompositionAnimation* animation);
|
||||
|
||||
[VtblIndex(30)]
|
||||
HResult SetOpacity(float opacity);
|
||||
|
||||
[VtblIndex(31)]
|
||||
HResult SetTransform(IDCompositionTransform3D* transform);
|
||||
|
||||
[VtblIndex(32)]
|
||||
HResult SetTransform(Matrix4x4* matrix);
|
||||
|
||||
[VtblIndex(33)]
|
||||
HResult SetVisible(Bool32 visible);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectComposition;
|
||||
[Guid("fed2b808-5eb4-43a0-aea3-35f65280f91b")]
|
||||
[NativeTypeName("struct IDCompositionVisualDebug : IDCompositionVisual2")]
|
||||
[NativeInheritance("IDCompositionVisual2")]
|
||||
public unsafe partial struct IDCompositionVisualDebug : INativeGuid
|
||||
public unsafe partial struct IDCompositionVisualDebug : IDCompositionVisualDebug.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDCompositionVisualDebug
|
||||
{
|
||||
@@ -257,5 +257,19 @@ public unsafe partial struct IDCompositionVisualDebug : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDCompositionVisualDebug*, int>)(lpVtbl[25]))((IDCompositionVisualDebug*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IDCompositionVisual2.Interface
|
||||
{
|
||||
[VtblIndex(22)]
|
||||
HResult EnableHeatMap(Color4* color);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult DisableHeatMap();
|
||||
|
||||
[VtblIndex(24)]
|
||||
HResult EnableRedrawRegions();
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult DisableRedrawRegions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user