NetServiceStatus or Net32ServiceStatus

The NetServiceStatus API sets status and code information for a network service.