|
|
|
|
PM_installServiceExt
Installs a Windows NT/2000/XP service.
Declaration
ulong PMAPI PM_installServiceExt(
const char *szDriverName,
const char *szServiceName,
const char *szLoadGroup,
ulong dwServiceType,
ulong dwStartType)
Prototype In
pmapi.h
Parameters
szDriverName |
Actual name of the driver to install in the system |
szServiceName |
Name of the service to create |
szLoadGroup |
Load group for the driver (NULL for normal drivers) |
dwServiceType |
Service type to create |
dwStartType |
Service start type to create |
Return Value
ERROR_SUCCESS on success, error code on failure.
Description
This function does all the work to install the system service into the system (ie: a Windows NT style device driver). The driver is not however activated; for that you must use the PM_startService function. This version also allows you to specify the service start type.
Note: This function is Windows specific! It is quite useful so it is documented here.
See Also
PM_installService, PM_startService, PM_stopService, PM_removeService
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com