CLUS_PROVIDER_STATE_CHANGE_INFO structure (clusapi.h)

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[1]

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

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

See also

CLUSTER_RESOURCE_STATE

Data Structures

OpenClusterResource