Bewerken

Delen via


KsGateAddOffInputToAnd function (ks.h)

The KsGateAddOffInputToAnd function adds a new input in the OFF state to a given AND gate.

Syntax

void KsGateAddOffInputToAnd(
  [in] PKSGATE AndGate
);

Parameters

[in] AndGate

A pointer to a KSGATE structure representing the AND gate to which to add a new OFF input.

Return value

None

Remarks

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.

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

KsGateAddOnInputToAnd

KsGateRemoveOffInputFromAnd

KsGateRemoveOnInputFromAnd

KsGateTurnInputOff

KsGateTurnInputOn