Microsoft DirectX 9.0

IMediaStream::SetSameFormat

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