Result Codes
[Constants and Definitions]


Defines

#define ADL_OK_WAIT   4
 All OK, but need to wait.
#define ADL_OK_RESTART   3
 All OK, but need restart.
#define ADL_OK_MODE_CHANGE   2
 All OK but need mode change.
#define ADL_OK_WARNING   1
 All OK, but with warning.
#define ADL_OK   0
 ADL function completed successfully.
#define ADL_ERR   -1
 Generic Error. Most likely one or more of the Escape calls to the driver failed!
#define ADL_ERR_NOT_INIT   -2
 ADL not initialized.
#define ADL_ERR_INVALID_PARAM   -3
 One of the parameter passed is invalid.
#define ADL_ERR_INVALID_PARAM_SIZE   -4
 One of the parameter size is invalid.
#define ADL_ERR_INVALID_ADL_IDX   -5
 Invalid ADL index passed.
#define ADL_ERR_INVALID_CONTROLLER_IDX   -6
 Invalid controller index passed.
#define ADL_ERR_INVALID_DIPLAY_IDX   -7
 Invalid display index passed.
#define ADL_ERR_NOT_SUPPORTED   -8
 Function not supported by the driver.
#define ADL_ERR_NULL_POINTER   -9
 Null Pointer error.
#define ADL_ERR_DISABLED_ADAPTER   -10
 Call can't be made due to disabled adapter.
#define ADL_ERR_INVALID_CALLBACK   -11
 Invalid Callback.
#define ADL_ERR_RESOURCE_CONFLICT   -12
 Display Resource conflict.
#define ADL_ERR_SET_INCOMPLETE   -20

Detailed Description

This group of definitions are the various results returned by all ADL functions

Define Documentation

#define ADL_OK_WAIT   4

All OK, but need to wait.

#define ADL_OK_RESTART   3

All OK, but need restart.

#define ADL_OK_MODE_CHANGE   2

All OK but need mode change.

#define ADL_OK_WARNING   1

All OK, but with warning.

#define ADL_OK   0

ADL function completed successfully.

Examples:
Sample/main.c.

#define ADL_ERR   -1

Generic Error. Most likely one or more of the Escape calls to the driver failed!

#define ADL_ERR_NOT_INIT   -2

ADL not initialized.

#define ADL_ERR_INVALID_PARAM   -3

One of the parameter passed is invalid.

#define ADL_ERR_INVALID_PARAM_SIZE   -4

One of the parameter size is invalid.

#define ADL_ERR_INVALID_ADL_IDX   -5

Invalid ADL index passed.

#define ADL_ERR_INVALID_CONTROLLER_IDX   -6

Invalid controller index passed.

#define ADL_ERR_INVALID_DIPLAY_IDX   -7

Invalid display index passed.

#define ADL_ERR_NOT_SUPPORTED   -8

Function not supported by the driver.

#define ADL_ERR_NULL_POINTER   -9

Null Pointer error.

#define ADL_ERR_DISABLED_ADAPTER   -10

Call can't be made due to disabled adapter.

#define ADL_ERR_INVALID_CALLBACK   -11

Invalid Callback.

#define ADL_ERR_RESOURCE_CONFLICT   -12

Display Resource conflict.

#define ADL_ERR_SET_INCOMPLETE   -20


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer