The Automotive Diagnostic Command Set Toolkit Programming Reference Manual provides information about the ADCS C APIs and error codes.