Download User Manual Advantech APAX series

Transcript
For backup system, users can use this function to get the application A status.
Syntax
SYS_GetAppAStatus(
LONG handle,
BOOL* o_bAlive
)
Parameters
Name
Direction
Description
handle
Input
[in] The driver handler.
o_bAlive
Output
[out] The variable to hold the application A status.
Return Value
If the function succeeds, the return value is 0 (ERR_SUCCESS). If the function fails,
the return value is 325 (ERR_INTERNAL_FAILED). To get extended error information,
call GetLastError function.
3.3.
SYS_GetAppBStatus
For backup system, users can use this function to the application B status.
Syntax
SYS_GetAppAStatus(
LONG handle,
BOOL* o_bAlive
)
Parameters
Name
Direction
Description
handle
Input
[in] The driver handler.
o_bAlive
Output
[out] The variable to hold the application B status.
Return Value
If the function succeeds, the return value is 0 (ERR_SUCCESS). If the function fails,
the return value is 325 (ERR_INTERNAL_FAILED). To get extended error information,
call GetLastError function.