Dear all
I have written the smallest KMDF driver that prints the good old hello world using DbgPrint. Two questions.
- I would like to install/run this driver without using an inf file.
- Under the older driver model the CreateService API was used to run a driver. Under KMDF the same program fails. Does anyone have any code that would install/run a KMDF program in user mode. OsrLoader from osronline successfully registers the service but fails to start it.
Thank you for the help.
Vijay Mukhi
Helios
Hi,
Because you’re not a PnP driver you’ll need to manually call the KMDF
coinstaller before and after you create your service. See the nonpnp sample
in the KMDF kit and also this article:
http://www.osronline.com/article.cfm?article=446
Regards,
-scott
–
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
wrote in message news:xxxxx@ntdev…
> Dear all
>
> I have written the smallest KMDF driver that prints the good old hello
> world using DbgPrint. Two questions.
>
> 1) I would like to install/run this driver without using an inf file.
> 2) Under the older driver model the CreateService API was used to run a
> driver. Under KMDF the same program fails. Does anyone have any code that
> would install/run a KMDF program in user mode. OsrLoader from osronline
> successfully registers the service but fails to start it.
>
> Thank you for the help.
>
> Vijay Mukhi
> Helios
>