Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClusterNodeEnumEx function

Retrieves the specified cluster node from a CLUSTER_ENUM_ITEM enumeration.

Syntax


DWORD WINAPI ClusterNodeEnumEx(
  _In_    HNODEENUMEX        hNodeEnum,
  _In_    DWORD              dwIndex,
  _Inout_ PCLUSTER_ENUM_ITEM pItem,
  _Inout_ LPDWORD            cbItem
);

typedef DWORD (WINAPI *PCLUSAPI_CLUSTER_NODE_ENUM_EX)(
    _In_    HNODEENUMEX        hNodeEnum,
    _In_    DWORD              dwIndex,
    _Inout_ PCLUSTER_ENUM_ITEM pItem,
    _Inout_ LPDWORD            cbItem
);

Parameters

hNodeEnum [in]

A handle to the CLUSTER_ENUM_ITEM enumeration that contains the cluster node to retrieve.

dwIndex [in]

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

pItem [in, out]

A pointer that receives the returned cluster node.

cbItem [in, out]

On input, the size of the pItem parameter.

On output, either the required size in bytes of the buffer if the buffer is too small, or the number of bytes written into the buffer.

Return value

ERROR_NO_MORE_ITEMS

dwIndex is larger than the number of items in the enumeration.

ERROR_MORE_DATA

The buffer is too small.

ERROR_SUCCESS

The buffer was filled successfully.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

Node Management Functions
CLUSTER_ENUM_ITEM

 

 

Show: