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 ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), riid, ppvObject);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), riid, ppvObject);
#endif
}
/// <inheritdoc cref="IUnknown.AddRef" />
@@ -62,7 +66,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, uint>)(lpVtbl[1]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, uint>)(lpVtbl[1]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this));
#endif
}
/// <inheritdoc cref="IUnknown.Release" />
@@ -71,7 +79,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[return: NativeTypeName("ULONG")]
public uint Release()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, uint>)(lpVtbl[2]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, uint>)(lpVtbl[2]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this));
#endif
}
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
@@ -79,7 +91,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(3)]
public void GetFactory(ID2D1Factory** factory)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged<ID2D1SvgDocument*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), factory);
#else
((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), factory);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::SetViewportSize"]/*' />
@@ -87,7 +103,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(4)]
public HResult SetViewportSize(System.Drawing.SizeF viewportSize)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, System.Drawing.SizeF, int>)(lpVtbl[4]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), viewportSize);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, System.Drawing.SizeF, int>)(lpVtbl[4]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), viewportSize);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::GetViewportSize"]/*' />
@@ -96,7 +116,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
public System.Drawing.SizeF GetViewportSize()
{
System.Drawing.SizeF result;
#if NET6_0_OR_GREATER
return *((delegate* unmanaged<ID2D1SvgDocument*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[5]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), &result);
#else
return *((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[5]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), &result);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::SetRoot"]/*' />
@@ -104,7 +128,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(6)]
public HResult SetRoot(ID2D1SvgElement* root)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, ID2D1SvgElement*, int>)(lpVtbl[6]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, ID2D1SvgElement*, int>)(lpVtbl[6]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::GetRoot"]/*' />
@@ -112,7 +140,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(7)]
public void GetRoot(ID2D1SvgElement** root)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged<ID2D1SvgDocument*, ID2D1SvgElement**, void>)(lpVtbl[7]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root);
#else
((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, ID2D1SvgElement**, void>)(lpVtbl[7]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::FindElementById"]/*' />
@@ -120,7 +152,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(8)]
public HResult FindElementById(ushort* id, ID2D1SvgElement** svgElement)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, ushort*, ID2D1SvgElement**, int>)(lpVtbl[8]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), id, svgElement);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, ushort*, ID2D1SvgElement**, int>)(lpVtbl[8]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), id, svgElement);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::Serialize"]/*' />
@@ -128,7 +164,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(9)]
public HResult Serialize(Com.IStream* outputXmlStream, ID2D1SvgElement* subtree)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, Com.IStream*, ID2D1SvgElement*, int>)(lpVtbl[9]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), outputXmlStream, subtree);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, Com.IStream*, ID2D1SvgElement*, int>)(lpVtbl[9]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), outputXmlStream, subtree);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::Deserialize"]/*' />
@@ -136,7 +176,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(10)]
public HResult Deserialize(Com.IStream* inputXmlStream, ID2D1SvgElement** subtree)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, Com.IStream*, ID2D1SvgElement**, int>)(lpVtbl[10]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), inputXmlStream, subtree);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, Com.IStream*, ID2D1SvgElement**, int>)(lpVtbl[10]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), inputXmlStream, subtree);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePaint"]/*' />
@@ -144,7 +188,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(11)]
public HResult CreatePaint(SvgPaintType paintType, Color4* color, ushort* id, ID2D1SvgPaint** paint)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, SvgPaintType, Color4*, ushort*, ID2D1SvgPaint**, int>)(lpVtbl[11]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), paintType, color, id, paint);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, SvgPaintType, Color4*, ushort*, ID2D1SvgPaint**, int>)(lpVtbl[11]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), paintType, color, id, paint);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreateStrokeDashArray"]/*' />
@@ -152,7 +200,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(12)]
public HResult CreateStrokeDashArray(SvgLength* dashes, uint dashesCount, ID2D1SvgStrokeDashArray** strokeDashArray)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, SvgLength*, uint, ID2D1SvgStrokeDashArray**, int>)(lpVtbl[12]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), dashes, dashesCount, strokeDashArray);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, SvgLength*, uint, ID2D1SvgStrokeDashArray**, int>)(lpVtbl[12]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), dashes, dashesCount, strokeDashArray);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePointCollection"]/*' />
@@ -160,7 +212,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(13)]
public HResult CreatePointCollection(Vector2* points, uint pointsCount, ID2D1SvgPointCollection** pointCollection)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, Vector2*, uint, ID2D1SvgPointCollection**, int>)(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, Vector2*, uint, ID2D1SvgPointCollection**, int>)(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection);
#endif
}
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePathData"]/*' />
@@ -168,7 +224,11 @@ public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INat
[VtblIndex(14)]
public HResult CreatePathData(float* segmentData, uint segmentDataCount, SvgPathCommand* commands, uint commandsCount, ID2D1SvgPathData** pathData)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged<ID2D1SvgDocument*, float*, uint, SvgPathCommand*, uint, ID2D1SvgPathData**, int>)(lpVtbl[14]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), segmentData, segmentDataCount, commands, commandsCount, pathData);
#else
return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, float*, uint, SvgPathCommand*, uint, ID2D1SvgPathData**, int>)(lpVtbl[14]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), segmentData, segmentDataCount, commands, commandsCount, pathData);
#endif
}
public interface Interface : ID2D1Resource.Interface