KsFilterGetParentFilterFactory function

The KsFilterGetParentFilterFactory function returns the parent filter factory of the given filter.

Syntax

PKSFILTERFACTORY KsFilterGetParentFilterFactory(
  PKSFILTER Filter
);

Parameters

Filter

A pointer to the KSFILTER structure for which to return the parent filter factory.

Return Value

KsFilterGetParentFilterFactory returns a pointer to the parent KSFILTERFACTORY structure of Filter. This is the AVStream filter factory from which Filter was created.

Remarks

This call is an inline function call to KsGetParent. Note that the object hierarchy is only guaranteed stable while the appropriate mutex is held, in this case the device mutex. For more information about mutexes, see Mutexes in AVStream.

Requirements

   
Windows version Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Desktop
Header ks.h (include Ks.h)
IRQL PASSIVE_LEVEL

See Also

KSFILTER

KSFILTERFACTORY

KsGetParent