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.Dxgi;
[Guid("191cfac3-a341-470d-b26e-a864f428319c")]
[NativeTypeName("struct IDXGIOutputDuplication : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
public unsafe partial struct IDXGIOutputDuplication : INativeGuid
public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Interface, INativeGuid
{
public static ref readonly Guid IID_IDXGIOutputDuplication
{
@@ -169,5 +169,31 @@ public unsafe partial struct IDXGIOutputDuplication : INativeGuid
{
return ((delegate* unmanaged[Stdcall]<IDXGIOutputDuplication*, int>)(lpVtbl[14]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this));
}
public interface Interface : IDXGIObject.Interface
{
[VtblIndex(7)]
void GetDesc(OutduplDescription* pDesc);
[VtblIndex(8)]
HResult AcquireNextFrame(uint TimeoutInMilliseconds, OutduplFrameInfo* pFrameInfo, IDXGIResource** ppDesktopResource);
[VtblIndex(9)]
HResult GetFrameDirtyRects(uint DirtyRectsBufferSize, RawRect* pDirtyRectsBuffer, uint* pDirtyRectsBufferSizeRequired);
[VtblIndex(10)]
HResult GetFrameMoveRects(uint MoveRectsBufferSize, OutduplMoveRect* pMoveRectBuffer, uint* pMoveRectsBufferSizeRequired);
[VtblIndex(11)]
HResult GetFramePointerShape(uint PointerShapeBufferSize, void* pPointerShapeBuffer, uint* pPointerShapeBufferSizeRequired, OutduplPointerShapeInfo* pPointerShapeInfo);
[VtblIndex(12)]
HResult MapDesktopSurface(MappedRect* pLockedRect);
[VtblIndex(13)]
HResult UnMapDesktopSurface();
[VtblIndex(14)]
HResult ReleaseFrame();
}
}