22 references to PALETTEENTRY
System.Drawing.Common (2)
System\Drawing\BufferedGraphicsContext.cs (2)
268
PALETTEENTRY
* paletteEntries = stackalloc
PALETTEENTRY
[colorCount];
System.Private.Windows.Core (7)
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (4)
503
/// <inheritdoc cref="GetPaletteEntries(winmdroot.Graphics.Gdi.HPALETTE, uint, uint, winmdroot.Graphics.Gdi.
PALETTEENTRY
*)"/>
505
internal static unsafe uint GetPaletteEntries(winmdroot.Graphics.Gdi.HPALETTE hpal, uint iStart, Span<winmdroot.Graphics.Gdi.
PALETTEENTRY
> pPalEntries)
507
fixed (winmdroot.Graphics.Gdi.
PALETTEENTRY
* pPalEntriesLocal = pPalEntries)
528
internal static extern unsafe uint GetPaletteEntries(winmdroot.Graphics.Gdi.HPALETTE hpal, uint iStart, uint cEntries, [Optional] winmdroot.Graphics.Gdi.
PALETTEENTRY
* pPalEntries);
Windows\Win32\PInvokeCore.GetPaletteEntries.cs (3)
8
/// <inheritdoc cref="GetPaletteEntries(HPALETTE, uint, uint,
PALETTEENTRY
*)"/>
9
public static unsafe uint GetPaletteEntries(HPALETTE hpal, Span<
PALETTEENTRY
> entries)
11
fixed (
PALETTEENTRY
* entry = entries)
System.Windows.Forms (7)
System\Windows\Forms\Control.MetafileDCWrapper.cs (4)
139
using BufferScope<byte> aj = new((int)(sizeof(
PALETTEENTRY
) * colorEntryCount));
143
PInvoke.GetSystemPaletteEntries(hdcSrc, 0, (uint)colorEntryCount, (
PALETTEENTRY
*)ppal);
146
PALETTEENTRY
* lppe = (
PALETTEENTRY
*)ppal;
System\Windows\Forms\Rendering\ControlPaint.cs (3)
204
Span<
PALETTEENTRY
> entries = stackalloc
PALETTEENTRY
[(int)entryCount];
210
PALETTEENTRY
entry = entries[i];
System.Windows.Forms.Primitives (6)
Windows.Win32.LOGPALETTE.g.cs (2)
34
internal global::Windows.Win32.VariableLengthInlineArray<winmdroot.Graphics.Gdi.
PALETTEENTRY
> palPalEntry;
41
v +=checked((count - 1) * sizeof(winmdroot.Graphics.Gdi.
PALETTEENTRY
));
Windows.Win32.PInvoke.GDI32.dll.g.cs (4)
353
/// <inheritdoc cref="GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC, uint, uint, winmdroot.Graphics.Gdi.
PALETTEENTRY
*)"/>
355
internal static unsafe uint GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC hdc, uint iStart, Span<winmdroot.Graphics.Gdi.
PALETTEENTRY
> pPalEntries)
357
fixed (winmdroot.Graphics.Gdi.
PALETTEENTRY
* pPalEntriesLocal = pPalEntries)
375
internal static extern unsafe uint GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC hdc, uint iStart, uint cEntries, [Optional] winmdroot.Graphics.Gdi.
PALETTEENTRY
* pPalEntries);