How to call application from windows kernel?

I want to call a application from kernel space.

how to do this ?

You do not do so. That’s simply not how the system works. You can have a user-mode helper service that communicates with your driver, and exchanges commands, but the service will do the app stuff.

On 2022-05-09 11:13 p.m., killbug wrote:

I want to call a application from kernel space.

how to do this ?

Maybe you’re looking for this: https://github.com/OSRDrivers/Inverted

Hmm, now I’m embarrassed that I interpreted his question as “I want to LAUNCH an application”, and did not even consider the more likely interpretation “I want to COMMUNICATE with an application”. Take 10 points from Gryffindor.

What’s really funny is that I didn’t remember that this code is on GitHub. And I wrote it.

Peter