KsGetNextSibling - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

KSDDKAPI PVOID KsGetNextSibling(
  [in] PVOID Object
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksgetnextsibling)

KsGetNextSibling function

Description

The KsGetNextSibling function returns the next sibling of a given object.

Parameters

Object [in]

The object for which to find the next sibling.

Return value

KsGetNextSibling returns the next sibling object of Object. If no such sibling object exists, it returns NULL.

Remarks

If Object is a filter factory, KsGetNextSibling returns the next filter factory belonging to the parent device, and so on. Callers must perform appropriate typecasting to and from PVOID.

The object hierarchy is guaranteed stable only while the appropriate mutex is held, in this case the device mutex. For more information, see AVStream Overview and Mutexes in AVStream.

Minidrivers rarely call KsGetNextSibling directly. There are a number of functions that are inline calls to KsGetNextSibling and that perform the typecasting for you: KsFilterFactoryGetNextSiblingFilterFactory, KsFilterGetNextSiblingFilter, and KsPinGetNextSiblingPin.

See also

KSFILTER

KSFILTERFACTORY

KSPIN

KsFilterFactoryGetNextSiblingFilterFactory

KsFilterGetNextSiblingFilter

KsPinGetNextSiblingPin