CEnumPins::Next (Compact 2013)

3/26/2014

Places pointers to IPin interfaces into the specified array.

Syntax

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 Value

Returns an HRESULT value.

Remarks

This member function implements the IEnumPins::Next method.

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::Release on the interfaces when done with them.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CEnumPins Class