Skip to content
Snippets Groups Projects
Commit 647e20a9 authored by Rémi Bernon's avatar Rémi Bernon :speech_balloon: Committed by Alexandre Julliard
Browse files

win32u: Initialize IO_STATUS_BLOCK in rawinput add_device.

To avoid invalid writes on WOW64 Nt calls.
parent ec5d9f64
No related branches found
No related tags found
No related merge requests found
......@@ -218,11 +218,11 @@ static struct device *add_device( HKEY key, DWORD type )
static const RID_DEVICE_INFO_MOUSE mouse_info = {1, 5, 0, FALSE};
struct hid_preparsed_data *preparsed = NULL;
HID_COLLECTION_INFORMATION hid_info;
IO_STATUS_BLOCK io = {{0}};
OBJECT_ATTRIBUTES attr;
UNICODE_STRING string;
struct device *device;
RID_DEVICE_INFO info;
IO_STATUS_BLOCK io;
unsigned int status;
UINT32 handle;
void *buffer;
......
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