Windows.Win32.Graphics.Gdi.SelectPaletteScope
struct SelectPaletteScope
Helper to scope palette selection.
namespace Windows.Win32.Graphics.Gdi
{
internal readonly ref struct SelectPaletteScope
{
public HDC HDC { get; }
public HPALETTE HPALETTE { get; }
public SelectPaletteScope(HDC hdc, HPALETTE hpalette, bool forceBackground, bool realizePalette);
public static implicit operator HPALETTE(ref SelectPaletteScope paletteScope);
public void Dispose();
}
}