// ks.h
void KsGateAddOffInputToAnd(
[in] PKSGATE AndGate
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsGateAddOffInputToAnd function adds a new input in the OFF state to a given AND gate.
AndGate [in]A pointer to a KSGATE structure representing the AND gate to which to add a new OFF input.
Adding an OFF input to an open AND gate closes the gate and propagates the close down to any attached gates.
This function 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.
KsGateAddOffInputToAnd is an inline function call to KsGateTurnInputOff. If conceptually adding a new input to a gate, the minidriver should call KsGateAddOffInputToAnd rather than KsGateTurnInputOff.