Skip to content

Latest commit

 

History

History
103 lines (85 loc) · 3.03 KB

nf-strmif-iamstreamselect-count.md

File metadata and controls

103 lines (85 loc) · 3.03 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IAMStreamSelect.Count
IAMStreamSelect::Count (strmif.h)
The Count method retrieves the number of available streams.
Count
Count method [DirectShow]
Count method [DirectShow]
IAMStreamSelect interface
IAMStreamSelect interface [DirectShow]
Count method
IAMStreamSelect.Count
IAMStreamSelect::Count
IAMStreamSelectCount
dshow.iamstreamselect_count
strmif/IAMStreamSelect::Count
dshow\iamstreamselect_count.htm
dshow
5104ce98-5b13-409a-9226-0c089ee8bb1e
4/26/2023
Count, Count method [DirectShow], Count method [DirectShow],IAMStreamSelect interface, IAMStreamSelect interface [DirectShow],Count method, IAMStreamSelect.Count, IAMStreamSelect::Count, IAMStreamSelectCount, dshow.iamstreamselect_count, strmif/IAMStreamSelect::Count
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IAMStreamSelect::Count
strmif/IAMStreamSelect::Count
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IAMStreamSelect.Count

IAMStreamSelect::Count

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Count method retrieves the number of available streams.

-parameters

-param pcStreams [out]

Receives the number of streams.

-returns

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
VFW_E_NOT_CONNECTED
The pins are not connected.

-see-also

Error and Success Codes

IAMStreamSelect Interface