SetDlgItemInt function Null safety user32
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
);
Implementation
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);
}