22 references to PALETTEENTRY
System.Drawing.Common (2)
System\Drawing\BufferedGraphicsContext.cs (2)
268PALETTEENTRY* paletteEntries = stackalloc PALETTEENTRY[colorCount];
System.Private.Windows.Core (7)
_generated\195\Windows.Win32.PInvokeCore.GDI32.dll.g.cs (4)
520 /// <inheritdoc cref="GetPaletteEntries(winmdroot.Graphics.Gdi.HPALETTE, uint, uint, winmdroot.Graphics.Gdi.PALETTEENTRY*)"/> 522 internal static unsafe uint GetPaletteEntries(winmdroot.Graphics.Gdi.HPALETTE hpal, uint iStart, [Optional] Span<winmdroot.Graphics.Gdi.PALETTEENTRY> pPalEntries) 524 fixed (winmdroot.Graphics.Gdi.PALETTEENTRY* pPalEntriesLocal = pPalEntries) 545 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*)"/> 9public static unsafe uint GetPaletteEntries(HPALETTE hpal, Span<PALETTEENTRY> entries) 11fixed (PALETTEENTRY* entry = entries)
System.Windows.Forms (7)
System\Windows\Forms\Control.MetafileDCWrapper.cs (4)
139using BufferScope<byte> aj = new((int)(sizeof(PALETTEENTRY) * colorEntryCount)); 143PInvoke.GetSystemPaletteEntries(hdcSrc, 0, (uint)colorEntryCount, (PALETTEENTRY*)ppal); 146PALETTEENTRY* lppe = (PALETTEENTRY*)ppal;
System\Windows\Forms\Rendering\ControlPaint.cs (3)
204Span<PALETTEENTRY> entries = stackalloc PALETTEENTRY[(int)entryCount]; 210PALETTEENTRY entry = entries[i];
System.Windows.Forms.Primitives (6)
_generated\299\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));
_generated\414\Windows.Win32.PInvoke.GDI32.dll.g.cs (4)
376 /// <inheritdoc cref="GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC, uint, uint, winmdroot.Graphics.Gdi.PALETTEENTRY*)"/> 378 internal static unsafe uint GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC hdc, uint iStart, [Optional] Span<winmdroot.Graphics.Gdi.PALETTEENTRY> pPalEntries) 380 fixed (winmdroot.Graphics.Gdi.PALETTEENTRY* pPalEntriesLocal = pPalEntries) 398 internal static extern unsafe uint GetSystemPaletteEntries(winmdroot.Graphics.Gdi.HDC hdc, uint iStart, uint cEntries, [Optional] winmdroot.Graphics.Gdi.PALETTEENTRY* pPalEntries);