KsGateAddOnInputToOr - NtDoc

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

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

NtDoc

No description available.

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

KsGateAddOnInputToOr function

Description

The KsGateAddOnInputToOr function adds a new input in the ON state to a given OR gate.

Parameters

OrGate [in]

A pointer to a KSGATE structure representing the OR gate to which to add a new ON input.

Remarks

Adding an ON input to an OR gate in the OFF or closed state results in the gate opening and the transition being propagated to any gates attached to OrGate. Use this function only with gates that were specifically created as OR gates. AVStream does not verify that the given gate is an OR gate.

This call is an inline function call to KsGateTurnInputOn. Minidrivers should call KsGateAddOnInputToOr rather than KsGateTurnInputOn if conceptually adding a new input to the gate.

See also

KsGateAddOffInputToOr

KsGateRemoveOffInputFromOr

KsGateRemoveOnInputFromOr

KsGateTurnInputOff

KsGateTurnInputOn