ChooseFont function Null safety comdlg32
- Pointer<
CHOOSEFONT> param0
Creates a Font dialog box that enables the user to choose attributes for a logical font. These attributes include a font family and associated font style, a point size, effects (underline, strikeout, and text color), and a script (or character set).
BOOL WINAPI ChooseFontW(
_Inout_ LPCHOOSEFONT lpcf
);
Implementation
int ChooseFont(Pointer<CHOOSEFONT> param0) {
final _ChooseFont = _comdlg32.lookupFunction<
Int32 Function(Pointer<CHOOSEFONT> param0),
int Function(Pointer<CHOOSEFONT> param0)>('ChooseFontW');
return _ChooseFont(param0);
}