Redigera

Dela via


KSPROPSETID_Topology

Clients use requests in the KSPROPSETID_Topology property set to examine a KS filter's internal topology.

Each node in the topology has a zero-based node ID: KS filters with n nodes number them from 0 to n-1. The whole KS filter itself may be treated as a node and has the special node ID number KSFILTER_NODE.

Stream minidrivers do not need to handle the properties in this property set. The stream class driver handles them on behalf of the minidriver.

Microsoft defines a standard set of node types of the form KSNODETYPE_XXX in the ksmedia.h header file. When using the properties in this set, clients refer to a node by its zero-based index in this sequence.

The KSPROPSETID_Topology property set includes:

KSPROPERTY_TOPOLOGY_CATEGORIES

KSPROPERTY_TOPOLOGY_CONNECTIONS

KSPROPERTY_TOPOLOGY_NAME

KSPROPERTY_TOPOLOGY_NODES