// ks.h
PKSDEVICE KsPinGetDevice(
[in] PKSPIN Pin
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsPinGetDevice function returns the AVStream device to which Pin belongs.
Pin [in]A pointer to a KSPIN structure representing the pin for which to return the owning AVStream device.
KsPinGetDevice returns a pointer to a KSDEVICE structure representing the AVStream device to which Pin belongs.
This call is an inline function call to KsGetDevice.