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

@@ -2,7 +2,7 @@
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.Drawing;
using System.Runtime.CompilerServices;
using static Win32.Apis;
using Win32.Graphics.Direct2D.Common;
using Win32.Graphics.Imaging;
using Win32.Numerics;
@@ -108,7 +108,7 @@ public unsafe partial struct ID2D1DeviceContext
public ComPtr<ID2D1Effect> CreateEffect(in Guid effectId)
{
using ComPtr<ID2D1Effect> effect = default;
CreateEffect((Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in effectId)), effect.GetAddressOf()).ThrowIfFailed();
ThrowIfFailed(CreateEffect((Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in effectId)), effect.GetAddressOf()));
return effect.Move();
}