dinput.dllStop
Microsoft DirectX 9.0 SDK Update (October 2004)

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.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.