Remove IUnknown.Interface from TerraFX fork

このコミットが含まれているのは:
Sergio Pedri committed 2023-07-05 01:03:34 +02:00
1 親 316d6f1d5d
コミット 665972c47b
4ファイル変更
+12 -17

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -15,7 +15,10 @@ namespace ComputeSharp.Interop.Allocation;
/// An allocation wrapper for a native <see cref="ID3D12Resource"/> object.
/// </summary>
[Guid("D42D5782-2DE7-4539-A817-482E3AA01E2E")]
internal unsafe struct ID3D12Allocation : IUnknown.Interface
internal unsafe struct ID3D12Allocation
#if NET6_0_OR_GREATER
: IUnknown.Interface
#endif
{
/// <summary>
/// Gets the <see cref="System.Guid"/> for <see cref="ID3D12Allocation"/> (<c>D42D5782-2DE7-4539-A817-482E3AA01E2E</c>).
+4 -1
ファイルの表示
@@ -15,7 +15,10 @@ namespace ComputeSharp.Interop.Allocation;
/// An object that can allocate resources for a given <see cref="ID3D12Device"/> instance.
/// </summary>
[Guid("2D5E55D2-9244-431F-868E-0D90AAB6E575")]
internal unsafe struct ID3D12MemoryAllocator : IUnknown.Interface
internal unsafe struct ID3D12MemoryAllocator
#if NET6_0_OR_GREATER
: IUnknown.Interface
#endif
{
/// <summary>
/// Gets the <see cref="System.Guid"/> for <see cref="ID3D12MemoryAllocator"/> (<c>2D5E55D2-9244-431F-868E-0D90AAB6E575</c>).
+4 -1
ファイルの表示
@@ -15,7 +15,10 @@ namespace ComputeSharp.Interop.Allocation;
/// A factory type for <see cref="ID3D12MemoryAllocator"/> objects.
/// </summary>
[Guid("CC1E74A7-786D-40F4-8AE2-F8B7A255587E")]
internal unsafe struct ID3D12MemoryAllocatorFactory : IUnknown.Interface
internal unsafe struct ID3D12MemoryAllocatorFactory
#if NET6_0_OR_GREATER
: IUnknown.Interface
#endif
{
/// <summary>
/// Gets the <see cref="System.Guid"/> for <see cref="ID3D12MemoryAllocatorFactory"/> (<c>CC1E74A7-786D-40F4-8AE2-F8B7A255587E</c>).
-14
ファイルの表示
@@ -38,18 +38,4 @@ internal unsafe partial struct IUnknown
{
return ((delegate* unmanaged[Stdcall]<IUnknown*, uint>)(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this));
}
public interface Interface
{
[VtblIndex(0)]
HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject);
[VtblIndex(1)]
[return: NativeTypeName("ULONG")]
uint AddRef();
[VtblIndex(2)]
[return: NativeTypeName("ULONG")]
uint Release();
}
}