CreateService( schSchSCManager,
lpszDriverName,// name of service
lpszDriverName,// name to display
SERVICE_ALL_ACCESS,
SERVICE_KERNEL_DRIVER,
SERVICE_AUTO_START,
SERVICE_ERROR_NORMAL,
lpszServiceExe,// service's binary
NULL,
NULL,// no tag identifier
NULL,// no dependencies
NULL,// LocalSystem
NULL // no password
);
Now the problem I have is that ISWI is limited to 2 options in the service type as opposed to 4 in the MSDN , the Service type I require is not listed SERVICE_KERNEL_DRIVER.
The strange thing is that ISWI does allow the startup types "By Operating System Loader" and "System" that MSDN says are restricted to drivers.
Is it possible to install a driver in this way? Or what is the correct way to install a driver of this type.
Thanks in Advance.