RESOURCE_EXIT_STATE enumeration

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

Syntax


typedef enum _RESOURCE_EXIT_STATE { 
  ResourceExitStateContinue   = 0,
  ResourceExitStateTerminate  = 1,
  ResourceExitStateMax        = 2
} 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

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

 

 

Show: