KsGateInitializeAnd function (ks.h)

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

Syntax

void KsGateInitializeAnd(
  [in]           PKSGATE AndGate,
  [in, optional] PKSGATE NextOrGate
);

Parameters

[in] AndGate

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

[in, optional] NextOrGate

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

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Desktop
Header ks.h (include Ks.h)
IRQL Any level

See also

KSGATE

KsGateInitialize

KsGateInitializeOr

KsGateTerminateAnd

KsGateTerminateOr