Microsoft Windows CE 3.0  

CEnumPins::Next

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Places pointers to IPininterfaces into the specified array.

HRESULT
Next(
ULONG
cPins
,
IPin
**
ppPins
,
ULONG
*
pcFetched
);

Parameters

cPins
Number of pins to place.
ppPins
Array in which to place the interface pointers.
pcFetched
Actual number of pins placed in the array.

Return Values

Returns an HRESULTvalue.

Remarks

This member function implements the IEnumPins::Nextmethod. The derived class is responsible for implementing CBaseFilter::GetPin, which this member function calls to retrieve the next pin.

Because this member function returns one or more interfaces that have had their reference counts incremented, the caller of this member function must be sure to release the interfaces by calling IUnknown::Releaseon the interfaces when done with them.