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 IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, Guid*, void**, int>)(lpVtbl[0]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, Guid*, void**, int>)(lpVtbl[0]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, uint>)(lpVtbl[1]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, uint>)(lpVtbl[1]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, uint>)(lpVtbl[2]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, uint>)(lpVtbl[2]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetTextAlignment"]/*' />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(3)]
|
||||
public HResult SetTextAlignment(TextAlignment textAlignment)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, TextAlignment, int>)(lpVtbl[3]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), textAlignment);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, TextAlignment, int>)(lpVtbl[3]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), textAlignment);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetParagraphAlignment"]/*' />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(4)]
|
||||
public HResult SetParagraphAlignment(ParagraphAlignment paragraphAlignment)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ParagraphAlignment, int>)(lpVtbl[4]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), paragraphAlignment);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ParagraphAlignment, int>)(lpVtbl[4]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), paragraphAlignment);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetWordWrapping"]/*' />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(5)]
|
||||
public HResult SetWordWrapping(WordWrapping wordWrapping)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, WordWrapping, int>)(lpVtbl[5]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), wordWrapping);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, WordWrapping, int>)(lpVtbl[5]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), wordWrapping);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetReadingDirection"]/*' />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(6)]
|
||||
public HResult SetReadingDirection(ReadingDirection readingDirection)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ReadingDirection, int>)(lpVtbl[6]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), readingDirection);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ReadingDirection, int>)(lpVtbl[6]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), readingDirection);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetFlowDirection"]/*' />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(7)]
|
||||
public HResult SetFlowDirection(FlowDirection flowDirection)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, FlowDirection, int>)(lpVtbl[7]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), flowDirection);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, FlowDirection, int>)(lpVtbl[7]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), flowDirection);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetIncrementalTabStop"]/*' />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(8)]
|
||||
public HResult SetIncrementalTabStop(float incrementalTabStop)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, float, int>)(lpVtbl[8]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), incrementalTabStop);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, float, int>)(lpVtbl[8]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), incrementalTabStop);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetTrimming"]/*' />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(9)]
|
||||
public HResult SetTrimming(Trimming* trimmingOptions, IDWriteInlineObject* trimmingSign)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, Trimming*, IDWriteInlineObject*, int>)(lpVtbl[9]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, Trimming*, IDWriteInlineObject*, int>)(lpVtbl[9]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::SetLineSpacing"]/*' />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(10)]
|
||||
public HResult SetLineSpacing(LineSpacingMethod lineSpacingMethod, float lineSpacing, float baseline)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, LineSpacingMethod, float, float, int>)(lpVtbl[10]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, LineSpacingMethod, float, float, int>)(lpVtbl[10]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetTextAlignment"]/*' />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(11)]
|
||||
public TextAlignment GetTextAlignment()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, TextAlignment>)(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, TextAlignment>)(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetParagraphAlignment"]/*' />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(12)]
|
||||
public ParagraphAlignment GetParagraphAlignment()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ParagraphAlignment>)(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ParagraphAlignment>)(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetWordWrapping"]/*' />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(13)]
|
||||
public WordWrapping GetWordWrapping()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, WordWrapping>)(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, WordWrapping>)(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetReadingDirection"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(14)]
|
||||
public ReadingDirection GetReadingDirection()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ReadingDirection>)(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ReadingDirection>)(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFlowDirection"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(15)]
|
||||
public FlowDirection GetFlowDirection()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, FlowDirection>)(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, FlowDirection>)(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetIncrementalTabStop"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(16)]
|
||||
public float GetIncrementalTabStop()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, float>)(lpVtbl[16]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, float>)(lpVtbl[16]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetTrimming"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(17)]
|
||||
public HResult GetTrimming(Trimming* trimmingOptions, IDWriteInlineObject** trimmingSign)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, Trimming*, IDWriteInlineObject**, int>)(lpVtbl[17]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, Trimming*, IDWriteInlineObject**, int>)(lpVtbl[17]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetLineSpacing"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(18)]
|
||||
public HResult GetLineSpacing(LineSpacingMethod* lineSpacingMethod, float* lineSpacing, float* baseline)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, LineSpacingMethod*, float*, float*, int>)(lpVtbl[18]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, LineSpacingMethod*, float*, float*, int>)(lpVtbl[18]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontCollection"]/*' />
|
||||
@@ -207,7 +283,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(19)]
|
||||
public HResult GetFontCollection(IDWriteFontCollection** fontCollection)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, IDWriteFontCollection**, int>)(lpVtbl[19]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontCollection);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, IDWriteFontCollection**, int>)(lpVtbl[19]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontCollection);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontFamilyNameLength"]/*' />
|
||||
@@ -215,7 +295,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(20)]
|
||||
public uint GetFontFamilyNameLength()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, uint>)(lpVtbl[20]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, uint>)(lpVtbl[20]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontFamilyName"]/*' />
|
||||
@@ -223,7 +307,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(21)]
|
||||
public HResult GetFontFamilyName(ushort* fontFamilyName, uint nameSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ushort*, uint, int>)(lpVtbl[21]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontFamilyName, nameSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ushort*, uint, int>)(lpVtbl[21]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontFamilyName, nameSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontWeight"]/*' />
|
||||
@@ -231,7 +319,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(22)]
|
||||
public FontWeight GetFontWeight()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, FontWeight>)(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, FontWeight>)(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontStyle"]/*' />
|
||||
@@ -239,7 +331,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(23)]
|
||||
public FontStyle GetFontStyle()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, FontStyle>)(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, FontStyle>)(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontStretch"]/*' />
|
||||
@@ -247,7 +343,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(24)]
|
||||
public FontStretch GetFontStretch()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, FontStretch>)(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, FontStretch>)(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetFontSize"]/*' />
|
||||
@@ -255,7 +355,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(25)]
|
||||
public float GetFontSize()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, float>)(lpVtbl[25]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, float>)(lpVtbl[25]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetLocaleNameLength"]/*' />
|
||||
@@ -263,7 +367,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(26)]
|
||||
public uint GetLocaleNameLength()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, uint>)(lpVtbl[26]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, uint>)(lpVtbl[26]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextFormat::GetLocaleName"]/*' />
|
||||
@@ -271,7 +379,11 @@ public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, IN
|
||||
[VtblIndex(27)]
|
||||
public HResult GetLocaleName(ushort* localeName, uint nameSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<IDWriteTextFormat*, ushort*, uint, int>)(lpVtbl[27]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), localeName, nameSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextFormat*, ushort*, uint, int>)(lpVtbl[27]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), localeName, nameSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : IUnknown.Interface
|
||||
|
||||
Reference in New Issue
Block a user