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.DirectComposition;
[Guid("5f4633fe-1e08-4cb8-8c75-ce24333f5602")]
[NativeTypeName("struct IDCompositionDesktopDevice : IDCompositionDevice2")]
[NativeInheritance("IDCompositionDevice2")]
public unsafe partial struct IDCompositionDesktopDevice : INativeGuid
public unsafe partial struct IDCompositionDesktopDevice : IDCompositionDesktopDevice.Interface, INativeGuid
{
public static ref readonly Guid IID_IDCompositionDesktopDevice
{
@@ -265,5 +265,16 @@ public unsafe partial struct IDCompositionDesktopDevice : INativeGuid
{
return ((delegate* unmanaged[Stdcall]<IDCompositionDesktopDevice*, IntPtr, IUnknown**, int>)(lpVtbl[26]))((IDCompositionDesktopDevice*)Unsafe.AsPointer(ref this), hwnd, surface);
}
public interface Interface : IDCompositionDevice2.Interface
{
[VtblIndex(24)]
HResult CreateTargetForHwnd(IntPtr hwnd, Bool32 topmost, IDCompositionTarget** target);
[VtblIndex(25)]
HResult CreateSurfaceFromHandle(Handle handle, IUnknown** surface);
[VtblIndex(26)]
HResult CreateSurfaceFromHwnd(IntPtr hwnd, IUnknown** surface);
}
}