[UMPNPMGR][USETUP] Use PlugPlayControlStartDevice in usetup and umpnpmgr 3481/head
authorVictor Perevertkin <victor.perevertkin@reactos.org>
Mon, 15 Mar 2021 23:25:09 +0000 (02:25 +0300)
committerVictor Perevertkin <victor.perevertkin@reactos.org>
Tue, 16 Mar 2021 00:17:58 +0000 (03:17 +0300)
commitabbc5ba45a2072e4e3e56fd6596955be1c579fdb
tree524270a433ca24a095d8fc5919b19ed5c5e09535
parent59a5dba443eaafd7b34d7a7920912b3e18b1b2eb
[UMPNPMGR][USETUP] Use PlugPlayControlStartDevice in usetup and umpnpmgr

Instead of PlugPlayControlResetDevice, PlugPlayControlStartDevice should
be used for a newly installed device.
For usetup, add a device status check before starting attempt, so we're
not touching devices which are already started.

CORE-17463 CORE-17490
base/services/umpnpmgr/rpcserver.c
base/setup/usetup/devinst.c