Defines version information and query methods.
Unless explicitly specified, all errors returned by DriveWorks APIs are non recoverable and the user application should transition to fail safe mode. In addition, any error code not described in this documentation should be consider as fatal and the user application should also transition to fail safe mode.
◆ dwVersion
Data Fields |
char |
extra[16] |
|
char |
hash[41] |
|
int32_t |
major |
|
int32_t |
minor |
|
int32_t |
patch |
|
◆ dwGetVersion()
Query the current DriveWorks library version.
- Parameters
-
[out] | version | A pointer to a dwVersion struct to be filled with the current DriveWorks library version. |
- Returns
- DW_INVALID_ARGUMENT if version pointer is null. Provide a valid version pointer.
DW_SUCCESS