ResUtilGetCoreClusterResources function (resapi.h)

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

DWORD ResUtilGetCoreClusterResources(
  [in]  HCLUSTER  hCluster,
  [out] HRESOURCE *phClusterNameResource,
  [out] HRESOURCE *phClusterIPAddressResource,
  [out] HRESOURCE *phClusterQuorumResource
);

Parameters

[in] hCluster

Cluster handle (see OpenCluster).

[out] phClusterNameResource

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

[out] phClusterIPAddressResource

Not used.

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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header resapi.h
Library ResUtils.lib
DLL ResUtils.Dll

See also

OpenCluster