KsGateRemoveOnInputFromOr - NtDoc

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

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

NtDoc

No description available.

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

KsGateRemoveOnInputFromOr function

Description

The KsGateRemoveOnInputFromOr function removes an existing input that is in the ON state from an OR gate.

Parameters

OrGate [in]

A pointer to a KSGATE structure representing the OR gate from which to remove an ON input.

Remarks

Removing the last ON input from a given OR gate results in the gate closing and the transition being propagated to any gates connected to OrGate. For more information, see Flow Control Gates in AVStream.

KsGateRemoveOnInputFromOr 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.

This call is an inline function call to KsGateTurnInputOff. If conceptually removing an existing input to a gate, a minidriver should call KsGateRemoveOnInputFromOr rather than KsGateTurnInputOff.

See also

KsGateAddOffInputToOr

KsGateAddOnInputToOr

KsGateRemoveOffInputFromOr

KsGateTurnInputOff

KsGateTurnInputOn