ChooseColor function Null safety comdlg32

int ChooseColor(
  1. Pointer<CHOOSECOLOR> param0
)

Creates a Color dialog box that enables the user to select a color.

BOOL WINAPI ChooseColorW(
  _Inout_ LPCHOOSECOLOR lpcc
);

Implementation

int ChooseColor(Pointer<CHOOSECOLOR> param0) {
  final _ChooseColor = _comdlg32.lookupFunction<
      Int32 Function(Pointer<CHOOSECOLOR> param0),
      int Function(Pointer<CHOOSECOLOR> param0)>('ChooseColorW');
  return _ChooseColor(param0);
}