The ResUtilVerifyService utility function checks if a service identified by a handle is starting or currently running.
DWORD WINAPI ResUtilVerifyService(
  HANDLE ServiceHandle  
);
 If ResUtilVerifyService cannot determine whether or not the service is starting or currently running, it returns a Win32® error value.
  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.