Share via


IAMWMBufferPassCallback Interface

 
Microsoft DirectShow 9.0

IAMWMBufferPassCallback Interface

The IAMWMBufferPassCallback interface is a callback interface used with the WM ASF Reader and WM ASF Writer filters. Applications can use this interface to get or set properties on individual samples, before the samples are passed downstream for further processing.

Applications can use this interface to retrieve data unit extensions such as the SMPTE time code for each sample. Another common use for this interface is to force key-frame insertion in a variable bit rate video stream during file writing.

To use this interface, query the filter's pin for the IAMWMBufferPass interface and call IAMWMBufferPass::SetNotify with a pointer to your implementation of the callback interface.

In addition to the methods inherited from IUnknown, the IAMWMBufferPassCallback interface exposes the following method.

Method Description
Notify Called by the filter for each buffer that is delivered during streaming.

Requirements

Header: Include Dshowasf.h. Requires Windows Media Format 9 Series or later.

Library: None.

See Also