PM_stopService

Stops a Windows NT/2000/XP service.

Declaration

ulong PMAPI PM_stopService(
    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 stop the specified service and disable it.

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

See Also

PM_installServiceExt, PM_startService, PM_removeService

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