KsGateInitializeAnd function

The KsGateInitializeAnd function initializes a KSGATE structure as an AND gate and attaches it to the OR gate specified by NextOrGate.

Syntax


void __inline KsGateInitializeAnd(
  _In_     PKSGATE AndGate,
  _In_opt_ PKSGATE NextOrGate
);

Parameters

AndGate [in]

A pointer to the KSGATE structure to initialize as a new AND gate.

NextOrGate [in, optional]

A pointer to an existing KSGATE structure to which AndGate attaches. This parameter should be an OR gate and is optional.

Return value

None

Remarks

The next gate (following AndGate) must be an OR gate, whether it is specified in this call or later. For more information, see Flow Control Gates in AVStream.

KsGateInitializeAnd is an inline call to KsGateInitialize.

Requirements

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

IRQL

Any level

See also

KsGateInitialize
KsGateInitializeOr
KsGateTerminateAnd
KsGateTerminateOr
KSGATE

 

 

Send comments about this topic to Microsoft

Show: