How To Start a service

M

manoj

Hi experts
I want to know about windows service.
Windows .sys files are driver file. To handle any device, sys file
is used. Let i have a .sys file of any device. i want to start its
service.i.e. i want to handle that particular device. I copy this sys file
in //system32//drivers// directory. I used a function OpenService() and
StartService(). But they fail. Please tell me how can i start these
services.
 
P

Paul Forgey

See CreateService () and read the rest of the documentation under "Service
Routines". If you are doing that, be sure dwServiceType =
SERVICE_KERNEL_DRIVER.

If you are just playing around with your own device drivers, they don't
necessarily need to be copied into %WINDIR%\system32\drivers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top