dinput: Handle username in EnumDevicesBySemantics.
commit41b126b5fcf2a8c7b4c36afda3fb15f549d42bad
authorJetro Jormalainen <jje-wine@jv.jetro.fi>
Thu, 2 Mar 2017 18:51:41 +0000 (2 20:51 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 3 Mar 2017 19:43:39 +0000 (3 20:43 +0100)
treefcfcb50f1899e31044f55425f831ebd74dc4aacf
parent967399eba07c33548c7bb941371d03c18547517c
dinput: Handle username in EnumDevicesBySemantics.

EnumDevicesBySemantics enums only devices with given username when
DIEDBSFL_THISUSER is set and only unowned devices when
DIEDBSFL_AVAILABLEDEVICES is set.

Signed-off-by: Jetro Jormalainen <jje-wine@jv.jetro.fi>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/dinput/dinput_main.c
dlls/dinput8/tests/dinput.c