Compartir a través de


IMediaStream::SetSameFormat (Compact 2013)

3/26/2014

This method sets the media stream to the same format as a previous stream.

Syntax

HRESULT SetSameFormat(
  IMediaStream* pStreamThatHasDesiredFormat,
  DWORD dwFlags
);

Parameters

  • pStreamThatHasDesiredFormat
    [in] Pointer to a media stream object that has the same format.
  • dwFlags
    [in] Reserved for flag data. Must be zero.

Return Value

Returns S_OK if successful or E_POINTER if one of the parameters is invalid.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaStream Interface