Expand Minimize

KsGateAddOffInputToAnd function

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

Syntax


void __inline KsGateAddOffInputToAnd(
  _In_ PKSGATE AndGate
);

Parameters

AndGate [in]

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

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

KsGateRemoveOffInputFromAnd
KsGateAddOnInputToAnd
KsGateRemoveOnInputFromAnd
KsGateTurnInputOn
KsGateTurnInputOff

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft