// ks.h
PKSDEVICE KsFilterFactoryGetParentDevice(
[in] PKSFILTERFACTORY FilterFactory
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsFilterFactoryGetParentDevice function returns the parent device of the given filter factory.
FilterFactory [in]A pointer to a KSFILTERFACTORY structure for which to return the parent device.
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.
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.