KsFilterFactoryGetParentDevice function (ks.h)

The KsFilterFactoryGetParentDevice function returns the parent device of the given filter factory.

Syntax

PKSDEVICE KsFilterFactoryGetParentDevice(
  [in] PKSFILTERFACTORY FilterFactory
);

Parameters

[in] FilterFactory

A pointer to a KSFILTERFACTORY structure for which to return the parent device.

Return value

KsFilterFactoryGetParentDevice returns a pointer to a KSDEVICE structure representing the parent device of the filter factory. This is the AVStream device to which the filter factory belongs.

Remarks

This call is an inline function call to KsGetParent. Note that the object hierarchy is guaranteed to be stable only while the appropriate mutex is held, in this case the device mutex. For more information, 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

KSDEVICE

KSFILTERFACTORY

KsGetParent