Microsoft DirectX 8.0 |
The IAMFilterMiscFlags interface provides a way for the Filter Graph Manager to determine whether a filter's data stream is source data or data being rendered and thus how many EC_COMPLETE notifications to expect before a movie is done. This interface is implemented on the VFW Capture Filter, the File Writer, and the Audio Capture filter.
Applications don't use this interface.
Methods in Vtable Order
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IAMFilterMiscFlags method Description GetMiscFlags Retrieves the filter status flag.
Retrieves the filter status flag.
Syntax
ULONG GetMiscFlags(void);
Return Value
Returns AM_FILTER_MISC_FLAGS_IS_RENDERED if the stream is being rendered. Returns AM_FILTER_MISC_FLAGS_IS_SOURCE if the stream is the source data. Both flags are defined in the AM_FILTER_MISC_FLAGS enumeration. If the filter supports IMediaSeeking and renders some streams, then AM_FILTER_MISC_FLAGS_IS_RENDERER should be returned.