KsGateAddOnInputToOr function (ks.h)

The KsGateAddOnInputToOr function adds a new input in the ON state to a given OR gate.

Syntax

void KsGateAddOnInputToOr(
  [in] PKSGATE OrGate
);

Parameters

[in] OrGate

A pointer to a KSGATE structure representing the OR gate to which to add a new ON input.

Return value

None

Remarks

Adding an ON input to an OR gate in the OFF or closed state results in the gate opening and the transition being propagated to any gates attached to OrGate. Use this function only with gates that were specifically created as OR gates. AVStream does not verify that the given gate is an OR gate.

This call is an inline function call to KsGateTurnInputOn. Minidrivers should call KsGateAddOnInputToOr rather than KsGateTurnInputOn if conceptually adding a new input to the gate.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Desktop
Header ks.h (include Ks.h)
IRQL Any level

See also

KsGateAddOffInputToOr

KsGateRemoveOffInputFromOr

KsGateRemoveOnInputFromOr

KsGateTurnInputOff

KsGateTurnInputOn