KsFilterGetParentFilterFactory function (ks.h)

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

Syntax

PKSFILTERFACTORY KsFilterGetParentFilterFactory(
  [in] PKSFILTER Filter
);

Parameters

[in] 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

Requirement Value
Minimum supported client 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