I am writing a graphic miniport driver for Windows NT 4.0 - 5.1. I am stuck in the situation, that HwVidStartIo of my miniport driver never gets called.
I would expect that a display driver triggers the function calls by sending requests to videoprt.sys and then videoprt.sys calls my HwVidStartIo. But somehow no display driver cares about my miniport driver.
Do I need to announce or register my miniport driver to a display driver somehow?
When the system boots the flow is like this:
Ok, I figured it out.
My .inf-file stated:
StartType = 3 ; 3 == SERVICE_DEMAND_START
Which might be fine for plug and play drivers. But mine is not plug and play compatible. So I had to change it to
StartType = 1 ; 1 == SERVICE_SYSTEM_START
Finally I can move on.