Create thread in the context of user-mode

I searched - and found just this function PsCreateSystemThread witch is just for kernel mode
I will be happy to get a example

Thanks in advance

Why do you want a thread in the UM process? Do you want to send events to the app? If so, there are better ways of doing that.


I want to call a normal API function… For the GUI (I now so the best is to interact with IOCTL)

needless to say, you can’t do this. just use the well known methods and you will be happier in the end