Microsoft DirectX 8.1 (C++)

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 Value

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

See Also