Hi,
I built a driver, name it XXX, and I want to start it dynamically (by using
“net start XXX”).
After I set the appropriate registry keys and copy the driver in
\winnt\system32\drivers
I want to start it. When I run “net start XXX” I receive the following error
message:
“The service name is invalid.
More help is available by typing NET HELPMSG 2185.”
If I reboot the machine everything is just fine and I can started
successfully.
Here are the registry keys that I used:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XXX]
“Start”=dword:00000002
“Type”=dword:00000001
“ErrorControl”=dword:00000001
What am I doing wrong? Is any way to use a device-driver without rebooting
the machine?
FYI: The driver is pretty simple, you can consider it as a “Hello World”
device-driver.
Any help will be appreciated,
Thanks,
Mircea (xxxxx@platform.com)
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com