IMiniportStreamAudioEngineNode::SetStreamLoopbackProtection method (portcls.h)

Sets the loopback protection status of the audio engine node.

Syntax

NTSTATUS SetStreamLoopbackProtection(
  [in] CONSTRICTOR_OPTION ProtectionOption
);

Parameters

[in] ProtectionOption

A CONSTRICTOR_OPTION enumeration value that indicates status of the loopback protection option.

Return value

SetStreamLoopbackProtection returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error code.

Remarks

For more information about audio stream loopback protection, see KSPROPERTY_AUDIOENGINE_LOOPBACK_PROTECTION.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

CONSTRICTOR_OPTION

IMiniportStreamAudioEngineNode

KSPROPERTY_AUDIOENGINE_LOOPBACK_PROTECTION