dinput: COM cleanup - return interface instead of typecasting This.
This commit is contained in:
parent
15216098e0
commit
b66e00cb09
@ -844,7 +844,7 @@ HRESULT linuxinput_create_effect(
|
|||||||
|
|
||||||
newEffect->entry = parent_list_entry;
|
newEffect->entry = parent_list_entry;
|
||||||
|
|
||||||
*peff = (LPDIRECTINPUTEFFECT)newEffect;
|
*peff = &newEffect->IDirectInputEffect_iface;
|
||||||
|
|
||||||
TRACE("Creating linux input system effect (%p) with guid %s\n",
|
TRACE("Creating linux input system effect (%p) with guid %s\n",
|
||||||
*peff, _dump_dinput_GUID(rguid));
|
*peff, _dump_dinput_GUID(rguid));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user