Hardware Dev Center

Expand Minimize

KsFilterGetParentFilterFactory function

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

Syntax


PKSFILTERFACTORY __inline KsFilterGetParentFilterFactory(
  _In_ PKSFILTER Filter
);

Parameters

Filter [in]

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

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

IRQL

PASSIVE_LEVEL

See also

KSFILTER
KSFILTERFACTORY
KsGetParent

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft