The KsGateRemoveOffInputFromAnd function removes an existing input that is in the OFF state from an AND gate.
- AndGate [in]
A pointer to a KSGATE structure representing the AND gate from which to remove an OFF input.
Removing the last OFF input from the gate results in the gate opening and the transition being propagated to any gates connected to AndGate. For more information, see Flow Control Gates in AVStream.
KsGateRemoveOffInputFromAnd should only be used on gates that were specifically created as AND gates; AVStream does not verify that the given gate is an AND gate.
KsGateRemoveOffInputFromAnd is an inline function call to KsGateTurnInputOn. If conceptually removing an existing input to the gate rather than turning it off, a minidriver should call KsGateRemoveOffInputFromAnd instead of KsGateTurnInputOn.
|Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.|