ClusterGroupEnumEx function
Retrieves an item in the enumeration.
Syntax
DWORD WINAPI ClusterGroupEnumEx( _In_ HGROUPENUMEX hGroupEnumEx, _In_ DWORD dwIndex, _Inout_ PCLUSTER_GROUP_ENUM_ITEM pItem, _Inout_ LPDWORD cbItem );
Parameters
- hGroupEnumEx [in]
-
The handle to the enumeration from which the item will be retrieved.
- dwIndex [in]
-
The zero-based index of the item in the enumeration.
- pItem [in, out]
-
A pointer to the buffer to be filled.
- cbItem [in, out]
-
On input, the size of pItem.
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
| Return code | Description |
|---|---|
|
dwIndex is larger than the number of items in the enumeration. |
|
The buffer is too small. |
|
The buffer was filled successfully. |
Remarks
The ClusterGroupEnumEx function doesn't connect to the cluster, because the hGroupEnumEx already contains the enumeration data. The data is copied into the buffer but no data is retrieved from the cluster.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 11/28/2012
