In a Web browser, click the Error Codes link in the upper left frame, and click any link in the lower left frame. The right-hand frame displays an alphabetized list of error codes, with explanations.
The Virtual Disk API shares many errors with the VIX API, which explains the VIX prefix. The error codes for the VIX API are likely to be the same, or almost the same as, a comparable release of the VDDK.
A VIX error is a 64-bit value. A value of VIX_OK indicates success, but otherwise (if there is an error), several bit regions in the 64-bit value might be set. The least significant 16 bits are set to the error code described for VIX errors. More significant bit fields might be set to other values.
As for the VIX API, use the macro VIX_ERROR_CODE(err) to mask off bit fields not used by the VDDK.