PRESUTIL_GET_CORE_CLUSTER_RESOURCES callback function

Returns handles to the core Network Name, IP Address and quorum resources. The PRESUTIL_GET_CORE_CLUSTER_RESOURCES type defines a pointer to this function.

Syntax

PRESUTIL_GET_CORE_CLUSTER_RESOURCES PresutilGetCoreClusterResources;

DWORD PresutilGetCoreClusterResources(
  HCLUSTER hCluster,
  HRESOURCE *phClusterNameResource,
  HRESOURCE *phClusterIPAddressResource,
  HRESOURCE *phClusterQuorumResource
)
{...}

Parameters

hCluster

Cluster handle (see OpenCluster).

*phClusterNameResource

Pointer to a resource handle to the core Network Name resource for the cluster, which stores the cluster name.

*phClusterIPAddressResource

Not used.

*phClusterQuorumResource

Pointer to a resource handle to the cluster's quorum resource.

Return Value

If the operations succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

Requirements

   
Windows version None supported Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header resapi.h

See Also

OpenCluster