What does Windows error code 171 (ERROR_DEVICE_SUPPORT_IN_PROGRESS) mean?

 
Could be also:
ConstantTypeOS
SESSION_HAS_VALID_POOL_ON_EXITBugCheck CodeWindows
Previous Next
ERROR_BUSY ERROR_CANCEL_VIOLATION

ERROR_DEVICE_SUPPORT_IN_PROGRESS

Device capability detection is still running

ERROR_DEVICE_SUPPORT_IN_PROGRESS is a Win32 result associated with device capability discovery or command-support probing., diagnosis should begin with the exact API, target object, and operation that produced it rather than with the message text alone.

What the result means

Windows is still detecting whether the device supports the requested command. The practical meaning depends on the caller and on whether the affected object is local, remote, removable, policy-managed, or handled asynchronously. Diagnostics for it should retain its symbolic name, numeric value, and the operation name together.

What to check

  • Wait for the capability query to finish before issuing the dependent request.
  • Keep the device handle and device instance identity stable while detection is in progress.
  • Check for repeated device arrival/removal events or driver restarts that continually reset detection.
  • Record the command, device interface path, driver version, and elapsed detection time.

Recommended handling

Treat this as a transient state only when the driver documents that capability detection completes asynchronously. Use a bounded retry with cancellation support; do not spin continuously or assume support before detection finishes.

Developer notes

Code handling this result should capture the failing API, resolved path or device identity, requested access, process identity, and the first observed error. After a call that reports it, read GetLastError() immediately because later cleanup or logging can overwrite the value. Retry it only when the specific condition is documented as transient, using a bounded delay and cancellation support.

References


Looking for a different code? Search another status or error code.