// ------------------------------------------------------------------------------ // // 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; /// /// ID2D1GeometryRealization [Guid("a16907d7-bc02-4801-99e8-8cf7f485f774")] [NativeTypeName("struct ID2D1GeometryRealization : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization.Interface, INativeGuid { public static ref readonly Guid IID_ID2D1GeometryRealization { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { ReadOnlySpan data = new byte[] { 0xD7, 0x07, 0x69, 0xA1, 0x02, 0xBC, 0x01, 0x48, 0x99, 0xE8, 0x8C, 0xF7, 0xF4, 0x85, 0xF7, 0x74 }; 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_ID2D1GeometryRealization)); public void** lpVtbl; /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) { return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), riid, ppvObject); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] [return: NativeTypeName("ULONG")] public uint AddRef() { return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] [return: NativeTypeName("ULONG")] public uint Release() { return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void GetFactory(ID2D1Factory** factory) { ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory); } public interface Interface : ID2D1Resource.Interface { } }