<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.1.26104.118" />

Windows.Win32.Foundation.PointerExtensions

static class PointerExtensions
namespace Windows.Win32.Foundation { internal static class PointerExtensions { public unsafe static T* GetPointer<[IsUnmanaged] T>(this IPointer<T> pointer) where T : struct; } }