mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
83 lines
2.6 KiB
C#
83 lines
2.6 KiB
C#
// ------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
// ------------------------------------------------------------------------------
|
|
|
|
namespace Win32.Graphics.DirectComposition;
|
|
|
|
/// <include file='../DirectComposition.xml' path='doc/member[@name="IDCompositionTransform3D"]/*' />
|
|
/// <unmanaged>IDCompositionTransform3D</unmanaged>
|
|
[Guid("71185722-246b-41f2-aad1-0443f7f4bfc2")]
|
|
[NativeTypeName("struct IDCompositionTransform3D : IDCompositionEffect")]
|
|
[NativeInheritance("IDCompositionEffect")]
|
|
public unsafe partial struct IDCompositionTransform3D : IDCompositionTransform3D.Interface, INativeGuid
|
|
{
|
|
public static ref readonly Guid IID_IDCompositionTransform3D
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
get
|
|
{
|
|
ReadOnlySpan<byte> data = new byte[] {
|
|
0x22, 0x57, 0x18, 0x71,
|
|
0x6B, 0x24,
|
|
0xF2, 0x41,
|
|
0xAA,
|
|
0xD1,
|
|
0x04,
|
|
0x43,
|
|
0xF7,
|
|
0xF4,
|
|
0xBF,
|
|
0xC2
|
|
};
|
|
|
|
Debug.Assert(data.Length == Unsafe.SizeOf<Guid>());
|
|
return ref Unsafe.As<byte, Guid>(ref MemoryMarshal.GetReference(data));
|
|
}
|
|
}
|
|
|
|
#if NET6_0_OR_GREATER
|
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTransform3D));
|
|
#else
|
|
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTransform3D));
|
|
#endif
|
|
|
|
public void** lpVtbl;
|
|
|
|
/// <inheritdoc cref="IUnknown.QueryInterface" />
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
[VtblIndex(0)]
|
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
|
{
|
|
return ((delegate* unmanaged[Stdcall]<IDCompositionTransform3D*, Guid*, void**, int>)(lpVtbl[0]))((IDCompositionTransform3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
}
|
|
|
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
[VtblIndex(1)]
|
|
[return: NativeTypeName("ULONG")]
|
|
public uint AddRef()
|
|
{
|
|
return ((delegate* unmanaged[Stdcall]<IDCompositionTransform3D*, uint>)(lpVtbl[1]))((IDCompositionTransform3D*)Unsafe.AsPointer(ref this));
|
|
}
|
|
|
|
/// <inheritdoc cref="IUnknown.Release" />
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
[VtblIndex(2)]
|
|
[return: NativeTypeName("ULONG")]
|
|
public uint Release()
|
|
{
|
|
return ((delegate* unmanaged[Stdcall]<IDCompositionTransform3D*, uint>)(lpVtbl[2]))((IDCompositionTransform3D*)Unsafe.AsPointer(ref this));
|
|
}
|
|
|
|
|
|
public interface Interface : IDCompositionEffect.Interface
|
|
{
|
|
}
|
|
}
|
|
|