ntoskrnl.exe: Set reserved to 0 in pnp WM_DEVICECHANGE broadcast.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49488 Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
211d495f79
commit
ab6f8ba0d1
|
@ -784,6 +784,7 @@ NTSTATUS WINAPI IoSetDeviceInterfaceState( UNICODE_STRING *name, BOOLEAN enable
|
|||
{
|
||||
broadcast->dbcc_size = len;
|
||||
broadcast->dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
|
||||
broadcast->dbcc_reserved = 0;
|
||||
broadcast->dbcc_classguid = iface->interface_class;
|
||||
lstrcpynW( broadcast->dbcc_name, name->Buffer, namelen + 1 );
|
||||
send_devicechange( enable ? DBT_DEVICEARRIVAL : DBT_DEVICEREMOVECOMPLETE, broadcast, len );
|
||||
|
|
Loading…
Reference in New Issue