Simple example of using TSF

Muhammad Mominul Huque 41 Reputation points
2023-02-14T08:13:20.69+00:00

Hi!

I want to develop an IME using the TSF API in Rust. I haven't done any COM programming in C++ or in Rust so I am really a novice in this perspective. The TSF sample is really complex to learn from and map back the concepts in Rust. And doing COM proggramming is really challenging in it's own right. So I need a simple sample usage of TSF API (Just key press would suffice) so I can start doing it in Rust while learning COM and TSF API.

Can any one suggest what interfaces I would need to use for a simple prototype (key press events)? Hints or code in Rust (or in C++) would be really appreciated and helpful for me!

Thanks in advance!

Windows development Windows API - Win32
Developer technologies C++
0 comments No comments
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2023-02-15T02:34:17.31+00:00

    Hello,

    Welcome to Microsoft Q&A!

    There is a simpler imeapps sample in the same repository.

    Update:

    tsf sample here in the same Windows-classic-samples/Samples/Win7Samples/winui/input.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.