Update bindings to use char* instead of ushort*, separated Dxc native packages to Vortice.Dxc.Native, bump version to 2.2.1

This commit is contained in:
Amer Koleci
2024-07-01 16:16:53 +02:00
parent 715ca3aa39
commit 13e7ac082e
254 changed files with 1568 additions and 1171 deletions

View File

@@ -233,9 +233,9 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
public HResult RegisterEffectFromString(Guid* classId, char* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
{
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, char*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
}
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />