<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

IID

static class IID
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Windows.Win32.Foundation { internal static class IID { [IsReadOnly] private unsafe static ref Guid IID_NULL { [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: IsReadOnly] get { return ref Unsafe.As<byte, Guid>(ref MemoryMarshal.GetReference(new ReadOnlySpan<byte>(&global::<PrivateImplementationDetails>.374708FFF7719DD5979EC875D56CD2286F6D3CF7EC317A3B25632AAB28EC37BB, 16))); } } [MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe static Guid* Get<[IsUnmanaged] T>() where T : struct, IComIID { return (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(ref ((IComIID)).Guid)); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ref Guid GetRef<[IsUnmanaged] T>() where T : struct, IComIID { return ref Unsafe.AsRef(ref ((IComIID)).Guid); } public unsafe static Guid* NULL() { return (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(ref IID_NULL)); } } }