Re: [PATCH 1/3] user32: Implement RegisterRawInputDevices().
7 Sep
2012
7 Sep
'12
5:14 a.m.
Henri Verbeet <hverbeet(a)codeweavers.com> writes:
@@ -2931,3 +2965,14 @@ DECL_HANDLER(set_cursor) reply->new_clip = input->desktop->cursor.clip; reply->last_change = input->desktop->cursor.last_change; } + +DECL_HANDLER(update_rawinput_devices) +{ + const struct rawinput_device *devices = get_req_data(); + unsigned int i; + + for (i = 0; i < req->device_count; ++i) + { + update_rawinput_device(&devices[i]); + } +}
device_count is redundant (and unsafe), this should use the data size instead. -- Alexandre Julliard julliard(a)winehq.org
4934
Age (days ago)
4934
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard