KsFilterFactoryGetParentDevice function

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

Syntax


PKSDEVICE __inline KsFilterFactoryGetParentDevice(
  _In_ PKSFILTERFACTORY FilterFactory
);

Parameters

FilterFactory [in]

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

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

KSDEVICE
KSFILTERFACTORY
KsGetParent

 

 

Send comments about this topic to Microsoft

Show: