PM_startService

Starts a Windows NT/2000/XP service.

Declaration

ulong PMAPI PM_startService(
const char *szServiceName)

Prototype In

pmapi.h

Parameters

szServiceName | Name of the service to start

Return Value

ERROR_SUCCESS on success, error code on failure.

Description

This function is used to start the specified service and make it active.

Note: This function is Windows specific! It is quite useful so it is documented here.

See Also

PM_installServiceExt, PM_stopService, PM_removeService

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com