How To Start a service

  • Thread starter Thread starter manoj
  • Start date Start date
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.
 
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.
 
Back
Top