Article ID: 115825
Article Last Modified on 11/21/2006
schService = CreateService(
schSCManager,
serviceName,
serviceName,
SERVICE_ALL_ACCESS,
SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_OWN_PROCESS,
SERVICE_DEMAND_START,
SERVICE_ERROR_NORMAL,
lpszBinaryPathName,
NULL,
NULL,
NULL,
NULL,
NULL );
If you specify an account other than localsystem when using
SERVICE_INTERACTIVE_PROCESS, you will get error INVALID_PARAMETER (87).
Additional query words: 3.50
Keywords: KB115825