KsPinGetConnectedPinFileObject - NtDoc

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

KSDDKAPI PFILE_OBJECT KsPinGetConnectedPinFileObject(
  [in] PKSPIN Pin
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KsPinGetConnectedPinFileObject function

Description

The KsPinGetConnectedPinFileObject function returns the file object for the pin to which Pin is connected. Works only for source pins.

Parameters

Pin [in]

A pointer to a KSPIN structure that is the AVStream pin object for which to acquire the file object for the connected pin.

Return value

If Pin is a source pin, KsPinGetConnectedPinFileObject returns a pointer to the FILE_OBJECT structure for the pin to which Pin is connected. If Pin is not a source pin, it returns NULL.

See also

KsPinGetConnectedFilterInterface

KsPinGetConnectedPinInterface