Skip to content
Snippets Groups Projects
Commit 5ce61fc0 authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard
Browse files

dinput: Check cbTypeSpecificParams before lpvTypeSpecificParams.


And return DIERR_MOREDATA the provided buffer is too short.

Fixes the WheelCheck application not showing type specific params
for Constant and Periodic effects.

Signed-off-by: default avatarRémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 812a9751
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment