Skip to content

Latest commit

 

History

History
101 lines (82 loc) · 6.33 KB

ne-msclus-cluster_resource_state_change_reason.md

File metadata and controls

101 lines (82 loc) · 6.33 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:msclus.CLUSTER_RESOURCE_STATE_CHANGE_REASON
CLUSTER_RESOURCE_STATE_CHANGE_REASON (msclus.h)
CLUSTER_RESOURCE_STATE_CHANGE_REASON (msclus.h) is used by two specific control codes to describe the reason for a resource state change.
CLUSTER_RESOURCE_STATE_CHANGE_REASON
CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration [Failover Cluster]
_CLUSTER_RESOURCE_STATE_CHANGE_REASON
_CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration [Failover Cluster]
clusapi/CLUSTER_RESOURCE_STATE_CHANGE_REASON
clusapi/_CLUSTER_RESOURCE_STATE_CHANGE_REASON
clusapi/eResourceStateChangeReasonFailedMove
clusapi/eResourceStateChangeReasonFailover
clusapi/eResourceStateChangeReasonMove
clusapi/eResourceStateChangeReasonRundown
clusapi/eResourceStateChangeReasonShutdown
clusapi/eResourceStateChangeReasonUnknown
eResourceStateChangeReasonFailedMove
eResourceStateChangeReasonFailover
eResourceStateChangeReasonMove
eResourceStateChangeReasonRundown
eResourceStateChangeReasonShutdown
eResourceStateChangeReasonUnknown
msclus/CLUSTER_RESOURCE_STATE_CHANGE_REASON
msclus/_CLUSTER_RESOURCE_STATE_CHANGE_REASON
msclus/eResourceStateChangeReasonFailedMove
msclus/eResourceStateChangeReasonFailover
msclus/eResourceStateChangeReasonMove
msclus/eResourceStateChangeReasonRundown
msclus/eResourceStateChangeReasonShutdown
msclus/eResourceStateChangeReasonUnknown
mscs.cluster_resource_state_change_reason
mscs\cluster_resource_state_change_reason.htm
MsCS
f9071688-24c2-4b00-ac66-6cf0363bccf2
08/03/2022
CLUSTER_RESOURCE_STATE_CHANGE_REASON, CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration [Failover Cluster], _CLUSTER_RESOURCE_STATE_CHANGE_REASON, _CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration [Failover Cluster], clusapi/CLUSTER_RESOURCE_STATE_CHANGE_REASON, clusapi/_CLUSTER_RESOURCE_STATE_CHANGE_REASON, clusapi/eResourceStateChangeReasonFailedMove, clusapi/eResourceStateChangeReasonFailover, clusapi/eResourceStateChangeReasonMove, clusapi/eResourceStateChangeReasonRundown, clusapi/eResourceStateChangeReasonShutdown, clusapi/eResourceStateChangeReasonUnknown, eResourceStateChangeReasonFailedMove, eResourceStateChangeReasonFailover, eResourceStateChangeReasonMove, eResourceStateChangeReasonRundown, eResourceStateChangeReasonShutdown, eResourceStateChangeReasonUnknown, msclus/CLUSTER_RESOURCE_STATE_CHANGE_REASON, msclus/_CLUSTER_RESOURCE_STATE_CHANGE_REASON, msclus/eResourceStateChangeReasonFailedMove, msclus/eResourceStateChangeReasonFailover, msclus/eResourceStateChangeReasonMove, msclus/eResourceStateChangeReasonRundown, msclus/eResourceStateChangeReasonShutdown, msclus/eResourceStateChangeReasonUnknown, mscs.cluster_resource_state_change_reason
msclus.h
Windows
None supported
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Windows
CLUSTER_RESOURCE_STATE_CHANGE_REASON
19H1
CLUSTER_RESOURCE_STATE_CHANGE_REASON
msclus/CLUSTER_RESOURCE_STATE_CHANGE_REASON
c++
APIRef
kbSyntax
HeaderDef
ClusAPI.h
MsClus.h
CLUSTER_RESOURCE_STATE_CHANGE_REASON

CLUSTER_RESOURCE_STATE_CHANGE_REASON enumeration

-description

Used by the CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT and
CLUSCTL_RESOURCE_STATE_CHANGE_REASON control codes to describe the reason for a resource state change.

-enum-fields

-field eResourceStateChangeReasonUnknown:0

This reason code is never sent by the cluster. Resource DLLs should use this value to initialize a local CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT structure and to reset the eReason member of the CLUSCTL_RESOURCE_STATE_CHANGE_REASON_STRUCT structure before returning from the Offline and Terminate entry point functions. For more information, see CLUSCTL_RESOURCE_STATE_CHANGE_REASON.

-field eResourceStateChangeReasonMove

Offline is about to be called because the resource's group is being moved.

-field eResourceStateChangeReasonFailover

Terminate is about to be called because the resource's group is being failed over.

-field eResourceStateChangeReasonFailedMove

Online is about to be called because the resource's group did not successfully complete a move operation.

-field eResourceStateChangeReasonShutdown

Offline is about to be called because the Cluster service is being shut down.

-field eResourceStateChangeReasonRundown

Terminate is about to be called because the Cluster service has stopped unexpectedly.

-see-also

Failover Cluster Enumerations