SetWindowText function user32
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application.
BOOL SetWindowTextW(
HWND hWnd,
LPCWSTR lpString
);
Implementation
int SetWindowText(int hWnd, Pointer<Utf16> lpString) =>
_SetWindowText(hWnd, lpString);