Update metadata to 39.0.18-preview

Generator: Add initial Interface generation.
This commit is contained in:
Amer Koleci
2022-12-01 16:26:51 +01:00
parent b04caed143
commit 61295b00a2
572 changed files with 48214 additions and 887 deletions

View File

@@ -14,7 +14,7 @@ namespace Win32.Graphics.DirectWrite;
[Guid("cfee3140-1157-47ca-8b85-31bfcf3f2d0e")]
[NativeTypeName("struct IDWriteStringList : IUnknown")]
[NativeInheritance("IUnknown")]
public unsafe partial struct IDWriteStringList : INativeGuid
public unsafe partial struct IDWriteStringList : IDWriteStringList.Interface, INativeGuid
{
public static ref readonly Guid IID_IDWriteStringList
{
@@ -113,5 +113,22 @@ public unsafe partial struct IDWriteStringList : INativeGuid
{
return ((delegate* unmanaged[Stdcall]<IDWriteStringList*, uint, ushort*, uint, int>)(lpVtbl[7]))((IDWriteStringList*)Unsafe.AsPointer(ref this), listIndex, stringBuffer, stringBufferSize);
}
public interface Interface : IUnknown.Interface
{
[VtblIndex(3)]
uint GetCount();
[VtblIndex(4)]
HResult GetLocaleNameLength(uint listIndex, uint* length);
[VtblIndex(5)]
HResult GetLocaleName(uint listIndex, ushort* localeName, uint size);
[VtblIndex(6)]
HResult GetStringLength(uint listIndex, uint* length);
[VtblIndex(7)]
HResult GetString(uint listIndex, ushort* stringBuffer, uint stringBufferSize);
}
}