ResUtilVerifyResourceService

The ResUtilVerifyResourceService utility function verifies that a named service is starting or currently running.

DWORD WINAPI ResUtilVerifyResourceService(
  LPCTSTR ServiceName  
);
 

Parameters

ServiceName
[in] Name 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 ResUtilVerifyResourceService 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.