Retrieves a specified number of items in the enumeration sequence.
Syntax
HRESULT Next(
ULONG celt,
SUBSCRIPTIONCOOKIE *rgelt,
ULONG *pceltFetched
);
Parameters
- celt
- [in] Unsigned long integer value that contains the number of SUBSCRIPTIONITEMINFO structures being requested.
- rgelt
- [out] Address of an array of SUBSCRIPTIONCOOKIE values.
- pceltFetched
- [out] Unsigned long integer value that indicates the actual number of structures received.
Return Value
Returns S_OK if successful, or an error code otherwise.