?/TD>
Microsoft DirectX 9.0

IDirectInputEffect::Stop Method


Stops playing an effect.

Syntax

HRESULT Stop(VOID);

Return Value

If the method succeeds, the return value is DI_OK.

If the method fails, the return value can be one of the following error values:

DIERR_NOTEXCLUSIVEACQUIREDThe operation cannot be performed unless the device is acquired in DISCL_EXCLUSIVE mode.
DIERR_NOTINITIALIZEDThe object has not been initialized.


Remarks

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



© 2002 Microsoft Corporation. All rights reserved.