Previous Next

KSPROPERTY_PIN_COMMUNICATION

The KSPROPERTY_PIN_COMMUNICATION property specifies the direction of IRP flow on pins instantiated by the pin factory.

Specifying this Property

KSP_PIN. The PinId member specifies the pin factory.

Property Data

The KS filter returns one of the following values, which specifies the communication direction of a pin instantiated by this pin factory:

KSPIN_COMMUNICATION_NONE
The pin factory does not instantiate any pins.
KSPIN_COMMUNICATION_SINK
The pin factory instantiates IRP sink pins. Such pins can only be connected to IRP source pins.
KSPIN_COMMUNICATION_SOURCE
The pin factory instantiates IRP source pins. Such pins can only be connected to IRP sink pins.
KSPIN_COMMUNICATION_BOTH
The pin factory instantiates pins that are both IRP sinks and IRP sources.
KSPIN_COMMUNICATION_BRIDGE
This pin cannot connect to other pins, but instances can be created on it to receive non-KS I/O requests.

Comments

KSPROPERTY_PIN_COMMUNICATION is read-only.

Source pins send IRPs to sink pins. A source pin may read or write data, and a sink pin may have data read to it or written from it. For more information, see KSPROPERTY_PIN_DATAFLOW.

Stream minidrivers do not need to handle this property directly; the stream class driver handles this property using Stream Request Blocks to query for more information where necessary.

See Also

KSPROPERTY_PIN_DATAFLOW