getConfigurationName
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Returns the filename of the currently loaded configuration. It includes neither the filename extension nor any path information, for example CANSystemDemo. NoteDifference between StandaloneGetCurrentConfig and getConfigurationName There are two kinds of configurations in standalone mode:
- the standalone configuration (with filename extension RTCFG)
- the normal configuration (with filename extension CFG) associated to the standalone configuration.
Parameters
- buffer: Space for the returned name.
- bufferLength: Length of the buffer.
Return Values
- -1: Buffer too small.
- >= 0: Operation successful. The return value specifies the length of the configuration name.