Skip to content

Latest commit

 

History

History
79 lines (57 loc) · 2.66 KB

nf-ks-kspinattachandgate.md

File metadata and controls

79 lines (57 loc) · 2.66 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.KsPinAttachAndGate
KsPinAttachAndGate function (ks.h)
The KsPinAttachAndGate function connects Pin as an input to a previously initialized AND gate, and connects AndGate as an input to the relevant filter's AND gate.
stream\kspinattachandgate.htm
stream
04/23/2018
KsPinAttachAndGate function
KsPinAttachAndGate, KsPinAttachAndGate function [Streaming Media Devices], avfunc_395e0cf9-ba21-4b20-a37b-7758d1bfeca0.xml, ks/KsPinAttachAndGate, stream.kspinattachandgate
ks.h
Ks.h
Universal
Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Ks.lib
PASSIVE_LEVEL (See Remarks section)
Windows
KsPinAttachAndGate
ks/KsPinAttachAndGate
APIRef
kbSyntax
LibDef
Ks.lib
Ks.dll
KsPinAttachAndGate

KsPinAttachAndGate function

-description

The KsPinAttachAndGate function connects Pin as an input to a previously initialized AND gate, and connects AndGate as an input to the relevant filter's AND gate.

-parameters

-param Pin [in]

A pointer to the KSPIN structure to use an input to the AND gate.

-param AndGate [in, optional]

A pointer to a KSGATE structure that is the previously initialized AND gate to connect to the relevant filter's AND gate. If this optional parameter is NULL, any KSGATE currently attached to the pin is detached.

-remarks

To insert the gate, first call KsGateInitializeAnd. Then call KsPinAttachAndGate. For more information, see Flow Control Gates in AVStream.

KsPinAttachAndGate must be called at IRQL = PASSIVE_LEVEL before the pin in question leaves KSSTATE_STOP.

-see-also

KSGATE

KsGateInitializeAnd

KsPinAttachOrGate