IsEffect()
Syntax
Result = IsEffect(#Effect)Description
Tests if the given effect number is a valid and correctly initialized effect.
Parameters
#Effect The effect to use.
Return value
Returns nonzero if #Effect is a valid effect, zero otherwise.
Remarks
This function is bulletproof and may be used with any value. This is the correct way to ensure a effect is ready to use.
See Also
CreateRibbonEffect(), CreateCompositorEffect()
Supported OS
All