| Previous | Next |
| STATUS_DEVICE_DATA_ERROR | STATUS_DEVICE_POWER_FAILURE |
STATUS_DEVICE_NOT_CONNECTED
The device connection has been lost
A device object can remain referenced after a cable, radio link, virtual back end or removable unit disconnects. This status tells the caller that the active connection needed for the request is absent. It differs from an unsupported command and from a clean end-of-file condition.
Check PnP arrival and removal events and the bus-specific link state. Retrying against the same stale handle may never work because a reconnected device can receive a new instance and new file object. Applications should close invalid handles and reopen the newly arrived interface when appropriate.
What to inspect
- Correlate the failure with device-interface removal and arrival notifications.
- Inspect bus, cable, radio or virtual-backend link state and reset history.
- Determine whether reconnection created a new device instance or invalidated existing handles.
References
- Microsoft: Handling surprise removal
- Microsoft: Removing a device
- Microsoft: PnP device states
- Microsoft Open Specifications: NTSTATUS values
- ReactOS source: IRP allocation and completion
Looking for a different code? Search another status or error code.