KsGateAddOnInputToOr function

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

Syntax


void __inline KsGateAddOnInputToOr(
  _In_ PKSGATE OrGate
);

Parameters

OrGate [in]

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

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

IRQL

Any level

See also

KsGateRemoveOnInputFromOr
KsGateAddOffInputToOr
KsGateRemoveOffInputFromOr
KsGateTurnInputOn
KsGateTurnInputOff

 

 

Send comments about this topic to Microsoft

Show: