mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-15 00:26:03 +08:00
Update generation to 48.0.19-preview metadata.
This commit is contained in:
@@ -53,7 +53,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, Guid*, void**, int>)(lpVtbl[0]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, Guid*, void**, int>)(lpVtbl[0]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, uint>)(lpVtbl[1]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, uint>)(lpVtbl[1]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, uint>)(lpVtbl[2]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, uint>)(lpVtbl[2]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteFontList.GetFontCollection" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public HResult GetFontCollection(IDWriteFontCollection** fontCollection)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, IDWriteFontCollection**, int>)(lpVtbl[3]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), fontCollection);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, IDWriteFontCollection**, int>)(lpVtbl[3]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), fontCollection);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteFontList.GetFontCount" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public uint GetFontCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, uint>)(lpVtbl[4]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, uint>)(lpVtbl[4]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteFontList.GetFont" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult GetFont(uint index, IDWriteFont** font)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, uint, IDWriteFont**, int>)(lpVtbl[5]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), index, font);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, uint, IDWriteFont**, int>)(lpVtbl[5]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), index, font);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteFontFamily::GetFamilyNames"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult GetFamilyNames(IDWriteLocalizedStrings** names)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, IDWriteLocalizedStrings**, int>)(lpVtbl[6]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), names);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, IDWriteLocalizedStrings**, int>)(lpVtbl[6]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), names);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteFontFamily::GetFirstMatchingFont"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public HResult GetFirstMatchingFont(FontWeight weight, FontStretch stretch, FontStyle style, IDWriteFont** matchingFont)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, FontWeight, FontStretch, FontStyle, IDWriteFont**, int>)(lpVtbl[7]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFont);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, FontWeight, FontStretch, FontStyle, IDWriteFont**, int>)(lpVtbl[7]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFont);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteFontFamily::GetMatchingFonts"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, IN
|
||||
[VtblIndex(8)]
|
||||
public HResult GetMatchingFonts(FontWeight weight, FontStretch stretch, FontStyle style, IDWriteFontList** matchingFonts)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteFontFamily*, FontWeight, FontStretch, FontStyle, IDWriteFontList**, int>)(lpVtbl[8]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFonts);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteFontFamily*, FontWeight, FontStretch, FontStyle, IDWriteFontList**, int>)(lpVtbl[8]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFonts);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IDWriteFontList.Interface
|
||||
|
||||
Reference in New Issue
Block a user