Compartir a través de


IMediaDet::put_Filename

 
Microsoft DirectShow 9.0

IMediaDet::put_Filename

The put_Filename method specifies the name of the source file for the media detector to use.

Do not call this method twice on the same MediaDet object. To use this interface with more than one source file, create separate instances of the MediaDet object.

Syntax

  HRESULT put_Filename(
    BSTR newVal
);

Parameters

newVal

[in] File name of the source.

Return Value

Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.

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