KsPinGetParentFilter function (ks.h)

The KsPinGetParentFilter function returns the parent filter of Pin.

Syntax

KSDDKAPI PKSFILTER KsPinGetParentFilter(
  [in] PKSPIN Pin
);

Parameters

[in] Pin

A pointer to the KSPIN for which to return the parent filter.

Return value

KsPinGetParentFilter returns a pointer to a KSFILTER structure representing the parent filter of Pin.

Remarks

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.

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 Universal
Header ks.h (include Ks.h)
Library Ks.lib
IRQL PASSIVE_LEVEL

See also

KSFILTER

KSPIN

KsGetParent