Share via


IAMStreamSelect::Count

 
Microsoft DirectShow 9.0

IAMStreamSelect::Count

The Count method retrieves the number of available streams.

Syntax

  HRESULT Count(
  DWORD *pcStreams
);

Parameters

pcStreams

[out]  Receives the number of streams.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
VFW_E_NOT_CONNECTED The pins are not connected.

Requirements

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

Library: Use Strmiids.lib.

See Also