CCAux  2.17.6.0
CCAux API reference
DiagnosticCodes.h
Go to the documentation of this file.
1 /************************************************
2 *
3 * CROSSCONTROL AUX API
4 *
5 * DiagnosticCodes.h
6 *
7 * Version 2.17.6.0", 2021-04-08
8 *
9 * (c) CrossControl 2010-2020
10 *
11 
12  * File description: Diagnostic code handling
13  * String access functions for codes used in the diagnostic functions
14  *
15  ************************************************/
16 
17 #ifndef CC_DIAGCODES_H_
18 #define CC_DIAGCODES_H_
19 
20 #include "CCPlatform.h"
21 #include "CCAuxTypes.h"
22 
23 #ifdef __cplusplus
24 namespace CrossControl
25 {
26 #endif
27 
30  {
40  };
41 
44  {
46  };
47 
50  {
51  errCodeNoErr = 0
52  };
53 
63  EXTERN_C
64  CCAUXDLL_API
65  char_t const*
66  CCAUXDLL_CALLING_CONV
68 
78  EXTERN_C
79  CCAUXDLL_API
80  wchar_t const*
81  CCAUXDLL_CALLING_CONV
83 
93  EXTERN_C
94  CCAUXDLL_API
95  char_t const*
96  CCAUXDLL_CALLING_CONV
98 
108  EXTERN_C
109  CCAUXDLL_API
110  wchar_t const*
111  CCAUXDLL_CALLING_CONV
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif /* CC_DIAGCODES_H_ */
119 
120 
unsigned short uint16_t
Definition: CCAuxTypes.h:48
char char_t
Definition: CCAuxTypes.h:27
Definition: About.h:30
EXTERN_C CCAUXDLL_API char_t const *CCAUXDLL_CALLING_CONV GetStartupReasonStringA(uint16_t code)
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV GetHwErrorStatusStringW(uint16_t errCode)
shutDownReasonCodes
Definition: DiagnosticCodes.h:44
@ shutdownReasonCodeNoError
Definition: DiagnosticCodes.h:45
hwErrorStatusCodes
Definition: DiagnosticCodes.h:50
@ errCodeNoErr
Definition: DiagnosticCodes.h:51
startupReasonCodes
Definition: DiagnosticCodes.h:30
@ startupReasonCodeUndefined
Definition: DiagnosticCodes.h:31
@ startupReasonCodeCIActivity
Definition: DiagnosticCodes.h:37
@ startupReasonCodeMPRestart
Definition: DiagnosticCodes.h:34
@ startupReasonCodePowerOnStartup
Definition: DiagnosticCodes.h:35
@ startupReasonAlwaysStart
Definition: DiagnosticCodes.h:38
@ startupReasonUnknownTrigger
Definition: DiagnosticCodes.h:39
@ startupReasonCodeCanActivity
Definition: DiagnosticCodes.h:36
@ startupReasonCodeButtonPress
Definition: DiagnosticCodes.h:32
@ startupReasonCodeExtCtrl
Definition: DiagnosticCodes.h:33
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV GetStartupReasonStringW(uint16_t code)
EXTERN_C CCAUXDLL_API char_t const *CCAUXDLL_CALLING_CONV GetHwErrorStatusStringA(uint16_t errCode)