ChooseColor function Null safety comdlg32
- Pointer<
CHOOSECOLOR> lpcc
Creates a Color dialog box that enables the user to select a color.
BOOL WINAPI ChooseColorW(
_Inout_ LPCHOOSECOLOR lpcc
);
Implementation
int ChooseColor(Pointer<CHOOSECOLOR> lpcc) {
final _ChooseColor = _comdlg32.lookupFunction<
Int32 Function(Pointer<CHOOSECOLOR> lpcc),
int Function(Pointer<CHOOSECOLOR> lpcc)>('ChooseColorW');
return _ChooseColor(lpcc);
}