KsFilterGetDevice function (ks.h)

The KsFilterGetDevice function returns the AVStream device to which Filter belongs.

Syntax

PKSDEVICE KsFilterGetDevice(
  [in] PKSFILTER Filter
);

Parameters

[in] Filter

A pointer to the KSFILTER structure for which to find the owning AVStream device.

Return value

KsFilterGetDevice returns a pointer to the AVStream KSDEVICE structure to which Filter belongs.

Remarks

This call is an inline function call to KsGetDevice.

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

See also

KSDEVICE

KSFILTER

KsGetDevice