ResUtilGetCoreClusterResources 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


DWORD WINAPI ResUtilGetCoreClusterResources(
  _In_  HCLUSTER  hCluster,
  _Out_ HRESOURCE *phClusterNameResource,
  _Out_ HRESOURCE *phClusterIPAddressResource,
  _Out_ HRESOURCE *phClusterQuorumResource
);

typedef DWORD (WINAPI *PRESUTIL_GET_CORE_CLUSTER_RESOURCES)(
    _In_  HCLUSTER  hCluster,
    _Out_ HRESOURCE *phClusterNameResource,
    _Out_ HRESOURCE *phClusterIPAddressResource,
    _Out_ HRESOURCE *phClusterQuorumResource
);

Parameters

hCluster [in]

Cluster handle (see OpenCluster).

phClusterNameResource [out]

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

phClusterIPAddressResource [out]

Not used.

phClusterQuorumResource [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ResApi.h

Library

ResUtils.lib

DLL

ResUtils.Dll

See also

OpenCluster

 

 

Show: