KSTOPOLOGY_CONNECTION Structure

 
Microsoft DirectShow 9.0

KSTOPOLOGY_CONNECTION Structure

This topic applies to Windows XP Service Pack 2 or later.

The KSTOPOLOGY_CONNECTION structure describes a node connection within a kernel-streaming (KS) filter. A node can be connected to another node within the filter, or to a pin on the filter.

Syntax

typedef struct KSTOPOLOGY_CONNECTION{
  ULONG  FromNode;
  ULONG  FromNodePin;
  ULONG  ToNode;
  ULONG  ToNodePin;
};

Members

FromNode

Index of the upstream node in the connection. If the upstream connection is a pin, rather than a node, the value is KSFILTER_NODE.

FromNodePin

If the value of the FromNode field is KSFILTER_NODE, this field specifies the index of the upstream pin. Otherwise, this field is ignored.

ToNode

Index of the downstream node in the connection. If the downstream connection is a pin, rather than a node, the value is KSFILTER_NODE.

ToNodePin

If the value of the ToNode field is KSFILTER_NODE, this field specifies the index of the downstream pin. Otherwise, this field is ignored.

Requirements

Header: Dshow.h.

See Also