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.
A version of this page is also available for
4/8/2010

This method retrieves the number of input and output streams.

Syntax

HRESULT GetStreamCount(
  DWORD* 
pcInputStreams,
  DWORD* 
pcOutputStreams
);

Parameters

pcInputStreams

[out] Pointer to a variable that receives the number of input streams. The pcInputStreamsparameter cannot be NULL.

pcOutputStreams

[out] Pointer to a variable that receives the number of output streams. The pcOutputStreamsparameter cannot be NULL.

Return Value

Returns an HRESULTvalue. Possible values include the following.

Value Description

S_OK

Retrieved the requested number of items

E_POINTER

NULL pointer argument

Remarks

The DMO might have zero input streams or zero output streams. The number of streams does not change, and a DMO cannot dynamically add or remove streams.

Requirements

Header dmo.h
Library Dmoguid.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IMediaObject