User guide
August 2001 9
Reviewing the Key System Components
Parameters
The API includes both global and device-specific parameters
that determine the behavior of the driver functions. Each time
you load the device drivers, these parameters are automatically
set to the values specified through the Configuration Wizard.
You can set any parameter value for your application by calling
the RHT_SET_GLOB or RHT_SET_PARAM function tags. The
application uses the new values unless an overriding value for
RHT_SET_GLOB or RHT_SET_PARAM is passed in a data
structure. Data structure parameter values override set
parameter values for the duration of the function call. The set
parameter values remain in effect for as long as the device
driver is loaded or until they are reset through another call.
Errors
The device drivers set an error code when errors occur. Use
BrktGetLastError () to get the error value for the last system
call or the driver function that returned a value of
FALSE.
The application uses the standard operating system error
return codes to report the status of the API call to the
application.