SetDlgItemInt function Null safety user32

int SetDlgItemInt(
  1. int hDlg,
  2. int nIDDlgItem,
  3. int uValue,
  4. int bSigned

Sets the text of a control in a dialog box to the string representation of a specified integer value.

BOOL SetDlgItemInt(
  HWND hDlg,
  int  nIDDlgItem,
  UINT uValue,
  BOOL bSigned


int SetDlgItemInt(int hDlg, int nIDDlgItem, int uValue, int bSigned) {
  final _SetDlgItemInt = _user32.lookupFunction<
      Int32 Function(
          IntPtr hDlg, Int32 nIDDlgItem, Uint32 uValue, Int32 bSigned),
      int Function(
          int hDlg, int nIDDlgItem, int uValue, int bSigned)>('SetDlgItemInt');
  return _SetDlgItemInt(hDlg, nIDDlgItem, uValue, bSigned);