KsGateAddOffInputToAnd - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

void KsGateAddOffInputToAnd(
  [in] PKSGATE AndGate
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksgateaddoffinputtoand)

KsGateAddOffInputToAnd function

Description

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

Parameters

AndGate [in]

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

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.

See also

KsGateAddOnInputToAnd

KsGateRemoveOffInputFromAnd

KsGateRemoveOnInputFromAnd

KsGateTurnInputOff

KsGateTurnInputOn