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

Windows.Win32.Graphics.GdiPlus.GpBitmapExtensions

static class GpBitmapExtensions
namespace Windows.Win32.Graphics.GdiPlus { internal static class GpBitmapExtensions { public static void LockBits(this IPointer<GpBitmap> bitmap, Rectangle rect, ImageLockMode flags, PixelFormat format, ref BitmapData data); public static void UnlockBits(this IPointer<GpBitmap> bitmap, ref BitmapData data); public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap); public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap, global::System.Drawing.Color background); public static PICTDESC CreatePICTDESC(this IPointer<GpBitmap> bitmap, HPALETTE paletteHandle = default(HPALETTE)); } }