IFileSinkFilter interface

The IFileSinkFilter interface is implemented on filters that write media streams to a file. A file sink filter in a video capture filter graph, for instance, writes the output of the video compression filter to a file. Typically, the application running this filter graph should enable the user to enter the name of the file to be written to. This interface enables the communication of this information.

If a filter needs the name of an output file, it should expose this interface to allow an application to set the file name. Note that there is currently no base class implementation of this interface.

Any application that must set the name of the file into which the file sink filter will write should use this interface to get and set the file name.

Members

The IFileSinkFilter interface inherits from the IUnknown interface. IFileSinkFilter also has these types of members:

Methods

The IFileSinkFilter interface has these methods.

MethodDescription
GetCurFile

Retrieves the name of the current file into which media samples will be written.

SetFileName

Sets the name of the file into which media samples will be written.

 

Remarks

The IFileSinkFilter2 interface extends IFileSinkFilter.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft