Cartesius00
Cartesius00

Reputation: 24414

Passing data between driver and Windows service

What is the cleanest way to pass data from device driver to windows service and back?

Upvotes: 2

Views: 469

Answers (1)

David Heffernan
David Heffernan

Reputation: 613442

This is normally achieved using Device Input and Output Control (IOCTL).

You can define your own private control code and then send information in both directions. The function is called from user mode, i.e. the service in your case.

Upvotes: 4

Related Questions