IAMFilterMiscFlags Interface

The IAMFilterMiscFlags interface specifies whether a filter's data stream is source data or data being rendered.

IAMFilterMiscFlags is implemented by Microsoft® DirectShow®.

You can use IAMFilterMiscFlags as a definitive way to determine which filters are being used as renderer filters and, thus, how many EC_COMPLETE notifications to expect before a movie is done.

Methods in Vtable Order

IUnknown methodsDescription
QueryInterface Retrieves pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
IAMFilterMiscFlags methodDescription
GetMiscFlags Retrieves the filter status flag.

IAMFilterMiscFlags::GetMiscFlags

IAMFilterMiscFlags Interface

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.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.