IEnumOpenServiceActivityCategory::Next Method

Retrieves an array of entries from the collection.

Syntax


HRESULT Next(
    ULONG celt,
    EnumActivityType *rgelt,
    ULONG *pceltFetched
);

Parameters

celt
[in] The maximum number of entries to retrieve.
rgelt
[out] The array of retrieved entries. The array must be large enough to hold the number of entries specified by the celt parameter.
pceltFetched
[out] The number of entries actually retrieved.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The rgelt parameter is defined as a pointer to an IOpenServiceActivityCategory interface.

This method increases the reference count of each retrieved interface. To release an interface, your program must call the Release method.

See Also

Skip
Show: