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.Direct2D;
[Guid("47dd575d-ac05-4cdd-8049-9b02cd16f44c")]
[NativeTypeName("struct ID2D1Device : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
public unsafe partial struct ID2D1Device : INativeGuid
public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
{
public static ref readonly Guid IID_ID2D1Device
{
@@ -113,5 +113,19 @@ public unsafe partial struct ID2D1Device : INativeGuid
{
((delegate* unmanaged[Stdcall]<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
}
public interface Interface : ID2D1Resource.Interface
{
[VtblIndex(4)]
HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext);
[VtblIndex(5)]
void SetMaximumTextureMemory(ulong maximumInBytes);
[VtblIndex(6)]
ulong GetMaximumTextureMemory();
[VtblIndex(7)]
void ClearResources(uint millisecondsSinceUse);
}
}