GetDialogBaseUnits function Null safety user32

int GetDialogBaseUnits ()

Retrieves the system's dialog base units, which are the average width and height of characters in the system font. For dialog boxes that use the system font, you can use these values to convert between dialog template units, as specified in dialog box templates, and pixels. For dialog boxes that do not use the system font, the conversion from dialog template units to pixels depends on the font used by the dialog box.

long GetDialogBaseUnits();


int GetDialogBaseUnits() {
  final _GetDialogBaseUnits = _user32
      .lookupFunction<Int32 Function(), int Function()>('GetDialogBaseUnits');
  return _GetDialogBaseUnits();