Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The IDirectInputEffectDriver::DestroyEffect method removes an effect from the device. If the effect is playing, the driver should stop it before unloading it.
Syntax
HRESULT DestroyEffect(
DWORD unnamedParam1,
DWORD unnamedParam2
);
Parameters
unnamedParam1
Specifies the external joystick number being addressed.
unnamedParam2
Specifies the effect to be destroyed.
Return value
Returns S_OK if successful; otherwise, returns an error code.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | dinputd.h (include Dinputd.h) |