IMediaStream::SetSameFormat (Windows CE 5.0)

Send Feedback

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

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.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMediaStream Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.