// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace Win32.Graphics.Direct2D; /// /// ID2D1BoundsAdjustmentTransform [Guid("90f732e2-5092-4606-a819-8651970baccd")] [NativeTypeName("struct ID2D1BoundsAdjustmentTransform : ID2D1TransformNode")] [NativeInheritance("ID2D1TransformNode")] public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustmentTransform.Interface, INativeGuid { public static ref readonly Guid IID_ID2D1BoundsAdjustmentTransform { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { ReadOnlySpan data = new byte[] { 0xE2, 0x32, 0xF7, 0x90, 0x92, 0x50, 0x06, 0x46, 0xA8, 0x19, 0x86, 0x51, 0x97, 0x0B, 0xAC, 0xCD }; Debug.Assert(data.Length == Unsafe.SizeOf()); return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); } } static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform)); public void** lpVtbl; /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) { return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), riid, ppvObject); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] [return: NativeTypeName("ULONG")] public uint AddRef() { return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] [return: NativeTypeName("ULONG")] public uint Release() { return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetInputCount() { return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetOutputBounds(Rect* outputBounds) { ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetOutputBounds(Rect* outputBounds) { ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); } public interface Interface : ID2D1TransformNode.Interface { [VtblIndex(4)] void SetOutputBounds(Rect* outputBounds); [VtblIndex(5)] void GetOutputBounds(Rect* outputBounds); } }