KsPinGetParentFilter function

The KsPinGetParentFilter function returns the parent filter of Pin.

Syntax


PKSFILTER KsPinGetParentFilter(
  _In_ PKSPIN Pin
);

Parameters

Pin [in]

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

Target platform

Universal

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

PASSIVE_LEVEL

See also

KSFILTER
KSPIN
KsGetParent

 

 

Send comments about this topic to Microsoft

Show: