SetDlgItemText function Null safety user32

int SetDlgItemText(
  1. int hDlg,
  2. int nIDDlgItem,
  3. Pointer<Utf16> lpString
)

Sets the title or text of a control in a dialog box.

BOOL SetDlgItemTextW(
  HWND    hDlg,
  int     nIDDlgItem,
  LPCWSTR lpString
);

Implementation

int SetDlgItemText(int hDlg, int nIDDlgItem, Pointer<Utf16> lpString) =>
    _SetDlgItemText(hDlg, nIDDlgItem, lpString);