Site icon EfmSoft

What does HRESULT 0x80042590 (VDS_E_ALIGN_IS_ZERO) mean?

 
Previous Next
VDS_E_ALIGN_NOT_A_POWER_OF_TWO VDS_E_SHRINK_IN_PROGRESS

VDS_E_ALIGN_IS_ZERO

This HRESULT must be interpreted at the method boundary because VDS APIs do not all treat zero alignment identically. IVdsPack2::CreateVolume2 describes zero as optional and allows the server to determine alignment, yet its documented return-code set also includes VDS_E_ALIGN_IS_ZERO for provider/operation validation. Other creation paths have their own rules for omitted offset and alignment.

Why this state matters

Preserve the exact interface and provider that returned the code. Do not apply a global rule that “zero always means default” across all VDS calls. Check whether the selected provider, volume type, or lower-level validation requires an explicit value, then derive alignment from documented geometry rather than inserting an arbitrary constant.

Diagnostic focus

Technical references

IVdsPack2::CreateVolume2 · IVdsCreatePartitionEx::CreatePartitionEx · IVdsAdvancedDisk::CreatePartition · VDS_DISK_PROP · MS-VDS error codes


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

Exit mobile version