ramjohnny
2006-08-14 20:27:01 UTC
Hi folks,
I am trying to install a WDF driver (software only driver) from within an
application program.
The challenge is that my driver is a software only driver (no hardware
device associated with it). Does any one know any setting while calling
CreateService or the StartService routine in order to tell the manager that
this particular driver is software only. Currently after successful calls to
"WdfPreDeviceInstall", createService and "WdfPostDeviceInstall", when
'StartService' is called an error with system error code '1058' is returned.
This error corresponds to "The service cannot be started, either because it
is disabled or because it has no enabled devices associated with it". Because
this is a software only driver, I do not expect there to be any enabled
devices associated to it. In the 'inf' equivalent of installing driver we
would instruct the inf to install the device at the 'root' and hence not have
this particular issue of identifying an associated enabled device.
Thanks!
I am trying to install a WDF driver (software only driver) from within an
application program.
The challenge is that my driver is a software only driver (no hardware
device associated with it). Does any one know any setting while calling
CreateService or the StartService routine in order to tell the manager that
this particular driver is software only. Currently after successful calls to
"WdfPreDeviceInstall", createService and "WdfPostDeviceInstall", when
'StartService' is called an error with system error code '1058' is returned.
This error corresponds to "The service cannot be started, either because it
is disabled or because it has no enabled devices associated with it". Because
this is a software only driver, I do not expect there to be any enabled
devices associated to it. In the 'inf' equivalent of installing driver we
would instruct the inf to install the device at the 'root' and hence not have
this particular issue of identifying an associated enabled device.
Thanks!
--
Ram
Driver Developer
Ram
Driver Developer