EffectsReturnValue Enumeration (Microsoft.DirectX.DirectSound)

Contains constants that describe the status of an effect object returned from a SecondaryBuffer object.


Visual Basic Public Enum EffectsReturnValue
C# public enum EffectsReturnValue
C++ public enum class EffectsReturnValue
JScript public enum EffectsReturnValue


Member Value Description
Failed 4 No effect was created because resources weren't available.
LocatedInHardware 1 Effect is instantiated in hardware.
LocatedInSoftware 2 Effect is instantiated in software.
Present 0 Effect is available but was not created because one of the other effects requested could not be created. If any of the effects requested cannot be created, none of them are, and the call fails.
SendLoop 6 A circular loop of send effects was detected.
Unallocated 3 Effect has not yet been assigned to hardware or software. This value is returned if the buffer was created with the BufferDescription.DeferLocation flag set to true.
Unknown 5 Effect is not registered on the system, and the method failed as a result.

Enumeration Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also