DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

Core Version

Detailed Description

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.

Data Structures

struct  dwVersion
 

Functions

DW_API_PUBLIC dwStatus dwGetVersion (dwVersion *version)
 Query the current DriveWorks library version. More...
 

Data Structure Documentation

◆ dwVersion

struct dwVersion
Data Fields
char extra[32]
char hash[41]
int32_t major
int32_t minor
int32_t patch

Function Documentation

◆ dwGetVersion()

DW_API_PUBLIC dwStatus dwGetVersion ( dwVersion version)

Query the current DriveWorks library version.

Parameters
[out]versionA 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