// ks.h
KSDDKAPI PKSPIN KsPinGetNextSiblingPin(
[in] PKSPIN Pin
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsPinGetNextSiblingPin function returns the next instantiated pin of the same type and on the same filter as Pin.
Pin [in]A pointer to the KSPIN structure for which to find the next instantiated sibling pin.
KsPinGetNextSiblingPin returns a pointer to a KSPIN structure representing the next instantiated sibling pin of Pin. If no such pin exists, returns NULL.
KsPinGetNextSiblingPin is an inline function call to KsGetNextSibling. Note that the object hierarchy is only stable while the appropriate mutex is held, in this case the filter control mutex. For more information, see Mutexes in AVStream.