NAME
dacs_error_code
- Retrieve the extended error code from the specified error object.
SYNOPSIS
DACS_ERR_T
dacs_error_code ( dacs_error_t error , uint32_t *code )
Call parameter |
|
error |
An error handle. |
Return parameter |
|
*code |
A pointer to the error code. |
DESCRIPTION
The dacs_error_code service retrieves the platform-specific
extended error code from the specified error object.
RETURN VALUE
The
dacs_error_code service
returns an error indicator defined as:
- DACS_SUCCESS: normal return; error code is returned in code.
- DACS_ERR_INVALID_HANDLE: the error handle is invalid.
- DACS_ERR_INVALID_ADDR: the pointer is invalid.