ResUtilVerifyService

The ResUtilVerifyService utility function checks if a service identified by a handle is starting or currently running.

DWORD WINAPI ResUtilVerifyService(
  HANDLE ServiceHandle  
);
 

Parameters

ServiceHandle
[in] Handle of the service to verify.

Return Values

ERROR_SUCCESS
The service is operational; it is either starting or currently running.
ERROR_SERVICE_NOT_ACTIVE
The service is not operational.

If ResUtilVerifyService cannot determine whether or not the service is starting or currently running, it returns a Win32® error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.