ClusterResourceOpenEnumEx function (clusapi.h)

Opens a handle to a resource enumeration that enables iteration through a resource's dependencies and nodes.

Syntax

HRESENUMEX ClusterResourceOpenEnumEx(
  [in]           HCLUSTER hCluster,
  [in, optional] LPCWSTR  lpszProperties,
  [in]           DWORD    cbProperties,
  [in, optional] LPCWSTR  lpszRoProperties,
  [in]           DWORD    cbRoProperties,
  [in]           DWORD    dwFlags
);

Parameters

[in] hCluster

A handle to the resource to iterate through.

[in, optional] lpszProperties

A pointer to a list of names of common properties.

[in] cbProperties

The size, in bytes, of the lpszProperties parameter.

[in, optional] lpszRoProperties

A pointer to a list of names of read-only common properties.

[in] cbRoProperties

The size, in bytes, of the lpszRoProperties parameter.

[in] dwFlags

The index that identifies the next object to enumerate. This parameter should be zero for the first call to ClusterResourceOpenEnumEx and then be incremented for subsequent calls.

Return value

If the operation succeeds, the function returns an enumeration handle.

If the operation fails, the function returns NULL. For more information about the error, call the GetLastError function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See also

Failover Cluster Resource Management Functions