KsGateInitializeOr function (ks.h)
The KsGateInitializeOr function initializes a KSGATE structure as an OR gate and attaches it to the AND gate specified by NextAndGate.
Syntax
void KsGateInitializeOr(
[in] PKSGATE OrGate,
[in, optional] PKSGATE NextAndGate
);
Parameters
[in] OrGate
A pointer to the KSGATE structure to initialize as a new OR gate.
[in, optional] NextAndGate
A pointer to an existing KSGATE structure to which OrGate attaches. Optional.
Return value
None
Remarks
The next gate (following OrGate) must be an AND gate, whether it is specified in this call or later. If you need to connect an OR gate to another OR gate, use KsGateInitialize. For more information, see Flow Control Gates in AVStream.
This function 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 |