KsGateRemoveOffInputFromAnd - NtDoc

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

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

NtDoc

No description available.

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

KsGateRemoveOffInputFromAnd function

Description

The KsGateRemoveOffInputFromAnd function removes an existing input that is in the OFF state from an AND gate.

Parameters

AndGate [in]

A pointer to a KSGATE structure representing the AND gate from which to remove an OFF input.

Remarks

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.

See also

KSGATE

KsGateAddOffInputToAnd

KsGateAddOnInputToAnd

KsGateRemoveOnInputFromAnd

KsGateTurnInputOff

KsGateTurnInputOn