Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 2.59 KB

nf-ks-ksgateaddoninputtoor.md

File metadata and controls

81 lines (56 loc) · 2.59 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ks.KsGateAddOnInputToOr
KsGateAddOnInputToOr function (ks.h)
The KsGateAddOnInputToOr function adds a new input in the ON state to a given OR gate.
stream\ksgateaddoninputtoor.htm
stream
04/23/2018
KsGateAddOnInputToOr function
KsGateAddOnInputToOr, KsGateAddOnInputToOr function [Streaming Media Devices], avfunc_f19411cd-eca5-4acb-b0ca-f470a72a4afd.xml, ks/KsGateAddOnInputToOr, stream.ksgateaddoninputtoor
ks.h
Ks.h
Desktop
Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Any level
Windows
KsGateAddOnInputToOr
ks/KsGateAddOnInputToOr
APIRef
kbSyntax
HeaderDef
ks.h
KsGateAddOnInputToOr

KsGateAddOnInputToOr function

-description

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

-parameters

-param 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