Specifications
Version 2.0
181
reconnect
Summary
Reconnects drivers to the specific device.
Usage
reconnect DeviceHandle [DriverHandle [ChildHandle]]
reconnect -r
Options
DeviceHandle
Device handle (a hexadecimal number)
DriverHandle
Driver handle (a hexadecimal number). If not specified, all drivers on the
specified device will be reconnected.
ChildHandle
Child handle of device (a hexadecimal number). If not specified, then all child
handles of the specified device will be reconnected.
-r
Reconnect drivers to all devices.
Description
This command reconnects drivers to the specific device. It will first disconnect the
specified driver from the specified device and then connect the driver to the device
recursively.
If the -r option is used, then all drivers will be reconnected to all devices. Any drivers
that are bound to any devices will be disconnected first and then connected
recursively. See the connect and disconnect commands for more details.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
Examples
To reconnect all drivers to all devices:










