Update generation to 48.0.19-preview metadata.

This commit is contained in:
Amer Koleci
2023-04-06 11:44:43 +02:00
parent 00aa6e29c8
commit 84ace9b66b
625 changed files with 52418 additions and 2421 deletions

View File

@@ -53,7 +53,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
[VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<IDXGIDebug*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug*)Unsafe.AsPointer(ref this), riid, ppvObject);
#else
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, Guid*, void**, int>)(lpVtbl[0]))((IDXGIDebug*)Unsafe.AsPointer(ref this), riid, ppvObject);
#endif
}
/// <inheritdoc cref="IUnknown.AddRef" />
@@ -62,7 +66,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<IDXGIDebug*, uint>)(lpVtbl[1]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, uint>)(lpVtbl[1]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
#endif
}
/// <inheritdoc cref="IUnknown.Release" />
@@ -71,7 +79,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
[return: NativeTypeName("ULONG")]
public uint Release()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<IDXGIDebug*, uint>)(lpVtbl[2]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, uint>)(lpVtbl[2]))((IDXGIDebug*)Unsafe.AsPointer(ref this));
#endif
}
/// <include file='../Dxgi.xml' path='doc/member[@name="IDXGIDebug::ReportLiveObjects"]/*' />
@@ -79,7 +91,11 @@ public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
[VtblIndex(3)]
public HResult ReportLiveObjects(Guid apiid, ReportLiveObjectFlags flags)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<IDXGIDebug*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags);
#else
return ((delegate* unmanaged[Stdcall]<IDXGIDebug*, Guid, ReportLiveObjectFlags, int>)(lpVtbl[3]))((IDXGIDebug*)Unsafe.AsPointer(ref this), apiid, flags);
#endif
}
public interface Interface : IUnknown.Interface