SetDlgItemText

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern bool SetDlgItemText(
   IntPtr hDlg,
   int nIDDlgItem,
   string lpString
);

Microsoft documentation: Link

Last updated