Skip to content

Latest commit

 

History

History
83 lines (57 loc) · 2.85 KB

nf-ks-ksgateremoveoninputfromor.md

File metadata and controls

83 lines (57 loc) · 2.85 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.KsGateRemoveOnInputFromOr
KsGateRemoveOnInputFromOr function (ks.h)
The KsGateRemoveOnInputFromOr function removes an existing input that is in the ON state from an OR gate.
stream\ksgateremoveoninputfromor.htm
stream
04/23/2018
KsGateRemoveOnInputFromOr function
KsGateRemoveOnInputFromOr, KsGateRemoveOnInputFromOr function [Streaming Media Devices], avfunc_6f131d80-de01-44e6-a17d-eb7f9b0b968f.xml, ks/KsGateRemoveOnInputFromOr, stream.ksgateremoveoninputfromor
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
KsGateRemoveOnInputFromOr
ks/KsGateRemoveOnInputFromOr
APIRef
kbSyntax
HeaderDef
ks.h
KsGateRemoveOnInputFromOr

KsGateRemoveOnInputFromOr function

-description

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

-parameters

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