CLUS_PROVIDER_STATE_CHANGE_INFO structure

Contains data about the state of a provider resource.

Syntax


typedef struct _CLUS_PROVIDER_STATE_CHANGE_INFO {
  DWORD                  dwSize;
  CLUSTER_RESOURCE_STATE resourceState;
  WCHAR                  szProviderId[1];
} CLUS_PROVIDER_STATE_CHANGE_INFO, *PCLUS_PROVIDER_STATE_CHANGE_INFO;

Members

dwSize

The size of this structure including the provider name and the terminating null character.

resourceState

An enumerator from the CLUSTER_RESOURCE_STATE enumeration as its value. The following are the possible values for this member.

ClusterResourceInherited (0)

The resource has been inherited.

ClusterResourceOnline (2)

The resource is operational and functioning normally.

ClusterResourceOffline (3)

The resource is not operational.

ClusterResourceFailed (4)

The resource has failed.

ClusterResourceOnlinePending (129 (0x81))

The resource is in the process of coming online.

ClusterResourceOfflinePending (130 (0x82))

The resource is in the process of going offline.

szProviderId

The globally unique ID of the provider resource. This value can also be passed to the lpszResourceName parameter of the OpenClusterResource function instead of a resource's name.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ClusAPI.h

See also

Data Structures
CLUSTER_RESOURCE_STATE
OpenClusterResource

 

 

Show: