KsPinGetDevice function (ks.h)

The KsPinGetDevice function returns the AVStream device to which Pin belongs.

Syntax

PKSDEVICE KsPinGetDevice(
  [in] PKSPIN Pin
);

Parameters

[in] Pin

A pointer to a KSPIN structure representing the pin for which to return the owning AVStream device.

Return value

KsPinGetDevice returns a pointer to a KSDEVICE structure representing the AVStream device to which Pin 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

KSDEVICE_DESCRIPTOR

KSPIN

KsGetDevice