次の方法で共有


IMSVidFilePlayback::get_FileName

 
Microsoft DirectShow 9.0

IMSVidFilePlayback::get_FileName

This topic applies to Windows XP or later.

The get_FileName method retrieves the name of the file to play.

Syntax

  HRESULT get_FileName(
  BSTR*  FileName
);

Parameters

FileName

[out]  Pointer to a variable that receives the file name.

Return Values

The method returns an HRESULT. Possible values include the following.

Value Description
S_OK The method succeeded.

Remarks

The caller must release the returned string, using the CoTaskMemFree function.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also