Поделиться через


IEnumStreamIdMap::Next

 
Microsoft DirectShow 9.0

IEnumStreamIdMap::Next

The Next method retrieves the next n elements in the collection.

Syntax

  HRESULT Next(
  ULONG cRequest,
  STREAM_ID_MAP* pStreamIdMap,
  ULONG* pcReceived
);

Parameters

cRequest

[in] The number of elements to retrieve.

pStreamIdMap

[in, out, size_is (cRequest)] Address of a user-allocated array containing cRequest elements that will receive the retrieved STREAM_ID_MAP structures.

pcReceived

[out] Pointer to a variable of type ULONG that receives the number of elements actually retrieved.

Return Values

Returns S_OK if successful. If the method fails,an HRESULT error code is returned.

Remarks

If cRequest> = 0 and pcReceived is not NULL, upon return pcReceived contains the number of stream ID maps remaining in the collection.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also