tsfapp is supposed to implement a TSF client. However, when using Windows 11 with the Japanese IME, neither CTSFEditWnd::SetText() nor CTSFEditWnd::InsertTextAtSelection() are called when typing. Nevertheless, input works and a list of suggestions is displayed while typing.
It seems that TSF ignores CTSFEditWnd and communicates directly with the edit control of tsfapp.