What does HRESULT 0x00042700 (VDS_S_NAME_TRUNCATED) mean?

 
Previous Next
VDS_S_WINPE_BOOTENTRY VDS_S_STATUSES_INCOMPLETELY_SET

VDS_S_NAME_TRUNCATED

VDS_S_NAME_TRUNCATED is a success status indicating that a provider accepted a supplied name after truncating it to the supported length. The object may have been created or updated successfully, but later lookup or display must use the actual name returned by VDS rather than assuming the full requested string was preserved.

Read back the provider-assigned name

  • Query object properties after the operation and store the returned name or identifier.
  • Do not use the original overlength string as the sole key for later enumeration or comparison.
  • Check provider-specific length limits before generating names automatically.

This is not the same as VDS_E_VOLUME_INVALID_NAME, where the name is rejected. Treat truncation as a potentially important interoperability condition: two requested names may collapse to the same stored prefix, scripts may fail to match the object, and UI text may conceal the provider limit. Prefer stable VDS object IDs for automation.

Virtual Disk Service · VDS service interface · VDS replacement notice


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