Microsoft DirectX 8.1 (Visual Basic)

DirectInputEffect.Stop

Stops an effect that is playing.

object.Stop()

Parts

object
Resolves to a DirectInputEffect object.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following:

DIERR_NOTEXCLUSIVEACQUIRED
DIERR_NOTINITIALIZED

Remarks

The device must be acquired at the exclusive cooperative level for this method to succeed.