ResUtilStartResourceService
The ResUtilStartResourceService utility function starts a service.
DWORD WINAPI ResUtilStartResourceService(
  LPCTSTR ServiceName,    
  LPHANDLE ServiceHandle  
);
 
Parameters
- 
ServiceName
- 
[in] Name of the service to start.
- 
ServiceHandle
- 
[out] Optional pointer to a handle in which the handle to the started service is returned. This handle must be closed either by a call to the cluster utility function ResUtilStopService or the Win32 function CloseServiceHandle.
Return Values
- 
ERROR_SUCCESS
- 
The service was successfully started.
- 
ERROR_SERVICE_NEVER_STARTED
- 
The service was not started. 
If the operation was unsuccessful, ResUtilStartResourceService can also return a Win32® error value.
QuickInfo
  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.