Compartir a través de


IMediaStream::SetSameFormat

 
Microsoft DirectShow 9.0

IMediaStream::SetSameFormat

  • Note   This interface is deprecated. New applications should not use it.

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 Values

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

See Also