Skip to content

Latest commit

 

History

History
101 lines (61 loc) · 3.33 KB

nf-ks-ksgateturninputoff.md

File metadata and controls

101 lines (61 loc) · 3.33 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.KsGateTurnInputOff
KsGateTurnInputOff function (ks.h)
The KsGateTurnInputOff function turns off an existing input to Gate.
stream\ksgateturninputoff.htm
stream
04/23/2018
KsGateTurnInputOff function
KsGateTurnInputOff, KsGateTurnInputOff function [Streaming Media Devices], avfunc_ba116904-80e2-4288-a8d1-d03c0194ef51.xml, ks/KsGateTurnInputOff, stream.ksgateturninputoff
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
KsGateTurnInputOff
ks/KsGateTurnInputOff
APIRef
kbSyntax
HeaderDef
ks.h
KsGateTurnInputOff

KsGateTurnInputOff function

-description

The KsGateTurnInputOff function turns off an existing input to Gate.

-parameters

-param Gate [in, optional]

A pointer to a KSGATE structure that is the gate to transition to the OFF state. Must currently have an input in the ON state. May be an AND gate or an OR gate.

-remarks

It is the minidriver's responsibility to verify that the gate that the minidriver passes to KsGateTurnInputOff has at least one ON input. If you call this function with an OR gate that has no inputs currently in the ON state, the call sets the OR gate into an invalid state. If you call this function with an AND gate that has no inputs currently in the ON state, the result is equivalent to adding another input in the OFF state to Gate.

Furthermore, if turning an input off would cause Gate to transition from the open state to the closed state, this call instead turns off an input to whatever gate is attached to Gate. For more information, see Flow Control Gates in AVStream.

-see-also

KSGATE

KsGateAddOffInputToAnd

KsGateAddOffInputToOr

KsGateAddOnInputToAnd

KsGateAddOnInputToOr

KsGateRemoveOffInputFromAnd

KsGateRemoveOffInputFromOr

KsGateRemoveOnInputFromAnd

KsGateRemoveOnInputFromOr

KsGateTurnInputOn