RESOURCE_EXIT_STATE enumeration (resapi.h)

Enumerates the possible exit states of a resource. These values are returned by the SetResourceStatus callback function.

Syntax

typedef enum _RESOURCE_EXIT_STATE {
  ResourceExitStateContinue,
  ResourceExitStateTerminate,
  ResourceExitStateMax
} RESOURCE_EXIT_STATE;

Constants

 
ResourceExitStateContinue
The resource has not been terminated. Worker threads may continue
Online and
Offline operations for the resource.
ResourceExitStateTerminate
The resource has been terminated. Callers should end
Online or
Offline operations and immediately terminate all worker
threads assigned to the resource.
ResourceExitStateMax
This value is only used for comparisons. All supported values are less than
ResourceExitStateMax.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header resapi.h

See also

Failover Cluster Enumerations

SetResourceStatus