Hello Romenas,
Thanks for visiting Microsoft Community.
I wish I could handle your problem, however, the issues on Windows API is out of reach of the response support community. It is more suitable for publishing on Microsoft Learn (English only), you can click on "Ask a question", there are experts who can provide more professional solutions in that place.Here is aLINK to the forum where you can raise specific scenarios and share your idea to help solve the problem.Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding!
Best wishes
Lyla Liu - MSFT |Microsoft Community Support Specialist