// ks.h
KSDDKAPI PKSFILTER KsPinGetParentFilter(
[in] PKSPIN Pin
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsPinGetParentFilter function returns the parent filter of Pin.
Pin [in]A pointer to the KSPIN for which to return the parent filter.
KsPinGetParentFilter returns a pointer to a KSFILTER structure representing the parent filter of Pin.
KsPinGetParentFilter returns the filter to which Pin belongs. The call is an inline function call to KsGetParent. Note that the object hierarchy is only stable while the appropriate mutex is held, in this case the filter control mutex. See AVStream Overview For more information about the object hierarchy in AVStream and Mutexes in AVStream For more information about mutexes in the AVStream environment.