AnimatePalette function Null safety gdi32
- int hPal,
- int iStartIndex,
- int cEntries,
- Pointer<
PALETTEENTRY> ppe
The AnimatePalette function replaces entries in the specified logical palette.
BOOL AnimatePalette(
HPALETTE hPal,
UINT iStartIndex,
UINT cEntries,
const PALETTEENTRY *ppe
);
Implementation
int AnimatePalette(
int hPal, int iStartIndex, int cEntries, Pointer<PALETTEENTRY> ppe) {
final _AnimatePalette = _gdi32.lookupFunction<
Int32 Function(IntPtr hPal, Uint32 iStartIndex, Uint32 cEntries,
Pointer<PALETTEENTRY> ppe),
int Function(int hPal, int iStartIndex, int cEntries,
Pointer<PALETTEENTRY> ppe)>('AnimatePalette');
return _AnimatePalette(hPal, iStartIndex, cEntries, ppe);
}