mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 08:06:02 +08:00
Update generation to 48.0.19-preview metadata.
This commit is contained in:
@@ -53,7 +53,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(0)]
|
||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Effect*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Effect*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||
@@ -62,7 +66,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint AddRef()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[1]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[1]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IUnknown.Release" />
|
||||
@@ -71,7 +79,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[return: NativeTypeName("ULONG")]
|
||||
public uint Release()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[2]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[2]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyCount" />
|
||||
@@ -79,7 +91,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(3)]
|
||||
public uint GetPropertyCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[3]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[3]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyName" />
|
||||
@@ -87,7 +103,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(4)]
|
||||
public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyNameLength" />
|
||||
@@ -95,7 +115,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(5)]
|
||||
public uint GetPropertyNameLength(uint index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, uint>)(lpVtbl[5]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, uint>)(lpVtbl[5]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetType" />
|
||||
@@ -103,7 +127,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(6)]
|
||||
public PropertyType GetType(uint index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyIndex" />
|
||||
@@ -111,7 +139,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(7)]
|
||||
public uint GetPropertyIndex(ushort* name)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, uint>)(lpVtbl[7]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, uint>)(lpVtbl[7]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.SetValueByName" />
|
||||
@@ -119,7 +151,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(8)]
|
||||
public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.SetValue" />
|
||||
@@ -127,7 +163,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(9)]
|
||||
public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetValueByName" />
|
||||
@@ -135,7 +175,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(10)]
|
||||
public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetValue" />
|
||||
@@ -143,7 +187,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(11)]
|
||||
public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetValueSize" />
|
||||
@@ -151,7 +199,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(12)]
|
||||
public uint GetValueSize(uint index)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, uint>)(lpVtbl[12]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, uint>)(lpVtbl[12]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID2D1Properties.GetSubProperties" />
|
||||
@@ -159,7 +211,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(13)]
|
||||
public HResult GetSubProperties(uint index, ID2D1Properties** subProperties)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInput"]/*' />
|
||||
@@ -167,7 +223,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(14)]
|
||||
public void SetInput(uint index, ID2D1Image* input, Bool32 invalidate)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Image*, Bool32, void>)(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Image*, Bool32, void>)(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInputCount"]/*' />
|
||||
@@ -175,7 +235,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(15)]
|
||||
public HResult SetInputCount(uint inputCount)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint, int>)(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount);
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, int>)(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInput"]/*' />
|
||||
@@ -183,7 +247,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(16)]
|
||||
public void GetInput(uint index, ID2D1Image** input)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Image**, void>)(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Image**, void>)(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInputCount"]/*' />
|
||||
@@ -191,7 +259,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(17)]
|
||||
public uint GetInputCount()
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#else
|
||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetOutput"]/*' />
|
||||
@@ -199,7 +271,11 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
||||
[VtblIndex(18)]
|
||||
public void GetOutput(ID2D1Image** outputImage)
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
((delegate* unmanaged<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
|
||||
#else
|
||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface Interface : ID2D1Properties.Interface
|
||||
|
||||
Reference in New Issue
Block a user