Compartilhar via


IAMTimelineSrc::SetMediaName

 
Microsoft DirectShow 9.0

IAMTimelineSrc::SetMediaName

The SetMediaName method specifies the name of the source file represented by this source object.

Syntax

  HRESULT SetMediaName(
    BSTR newVal
);

Parameters

newVal

String that specifies the name of the media file.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also