IMFMediaSink::GetStreamSinkCount Method

Gets the number of stream sinks on this media sink.

Syntax

public:
HRESULT GetStreamSinkCount(
         DWORD *pcStreamSinkCount
)  

Parameters

pcStreamSinkCount
Type: DWORD *

[out]

Receives the number of stream sinks.

Return value

Type: HRESULT 

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codes
Return code Description
S_OK The method succeeded.
MF_E_SHUTDOWN The media sink’s Shutdown method has been called.

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.