SelectPalette method

Pointer<HPALETTE__> SelectPalette(
  1. Pointer<HDC__> hdc,
  2. Pointer<HPALETTE__> hPal,
  3. int bForceBkgd
)

Implementation

ffi.Pointer<HPALETTE__> SelectPalette(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<HPALETTE__> hPal,
  int bForceBkgd,
) {
  return (_SelectPalette ??=
      _dylib.lookupFunction<_c_SelectPalette, _dart_SelectPalette>(
          'SelectPalette'))(
    hdc,
    hPal,
    bForceBkgd,
  );
}