IEnumClusCfgManagedResources::Next method
[This method is available for use only in Windows Server 2003.]
The Next method retrieves the next cNumberRequestedIn items in the IEnumClusCfgManagedResources enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements. The number of elements actually retrieved is returned through the pcNumberFetchedOut parameter (unless the caller passed in NULL for that parameter).
HRESULT Next(
[in] ULONG cNumberRequestedIn,
[out] IClusCfgManagedResourceInfo **rgpManagedResourceInfoOut,
[out] ULONG *pcNumberFetchedOut
);
cNumberRequestedIn [in]
Number of elements being requested.rgpManagedResourceInfoOut [out]
Array of size cNumberRequestedIn (or larger) of the elements of interest. The type of this parameter depends on the item being enumerated.pcNumberFetchedOut [out]
Pointer to the number of elements actually supplied in the rgpManagedResourceInfoOut parameter. Caller can pass in NULL if cNumberRequestedIn is one.
The Next method returns one of the following values.
S_OK.
The method successfully retrieved the items, and the number of items supplied is cNumberRequestedIn.S_FALSE
The number of items supplied is not cNumberRequestedIn.
Any other HRESULT value indicates that the call failed.
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 |
End of server support |
Windows Server 2003 |
IDL |
ClusCfgServer.idl |
IID |
IID_IEnumClusCfgManagedResources is defined as 7DBE11EB-A5DF-4534-ABF6-8BAC7B53FC95 |