<PackageReference Include="System.Drawing.Common" Version="10.0.4" />

Windows.Win32.ComHelpers

static class ComHelpers
namespace Windows.Win32 { internal static class ComHelpers { public unsafe static bool TryUnwrapComWrapperCCW<[Nullable(1)] TWrapper>(IUnknown* unknown, out TWrapper interface) where TWrapper : class; public static ComScope<ITypeInfo> GetRegisteredTypeInfo(Guid typeLibrary, ushort majorVersion, ushort minorVersion, Guid interfaceId); } }