mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 05:14:46 +00:00
win32u: Initialize IO_STATUS_BLOCK in rawinput add_device.
To avoid invalid writes on WOW64 Nt calls.
This commit is contained in:
parent
ec5d9f6413
commit
647e20a9ff
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue