> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionMOSTMsgGetSymbols

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/MOST/Functions/CAPLfunctionMOSTMsgGetSymbols.md)

[CAPL Functions](../../CAPLfunctions.md) » [MOST](../CAPLfunctionsMOSTOverview.md) » mostMsgGetSymbols

# mostMsgGetSymbols

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE

## Function Syntax

* `long mostMsgGetSymbols(mostAmsMessage * msg, char[] fblock, char[] function, char[] optype, long bufferSize); // form 1`
* `long mostMsgGetSymbols(mostMessage * msg, char[] fblock, char[] function, char[] optype, long bufferSize); // form 2`

## Description

Determining the symbolic Names of the function block, the function and the Optype from an AMS or control message using the XML function catalog.

## Parameters

* **msg**: Message from which the symbolic names are determined.
* **fblock**: Destination buffer for the function block name.
* **function**: Destination buffer for the function name.
* **optype**: Destination buffer for the optype name.
* **bufferSize**: Destination buffer size. Valid for **fblock**, **function** and **optype**!

## Return Values

* **0**: None of the three symbolic names could be determined.
* **1**: Function block name determined.
* **2**: Function block and function name determined.
* **3**: Function block, function and optye name determined.
* **\<0**: See [error codes](../CAPLfunctionsMOSTErrorCodes.md)

## Example

—

[General Tips on XML Function Catalog Support in CAPL](../CAPLfunctionsMOSTXMLSupport.md) • [Symbolic Identification of Parameters](../CAPLfunctionsMOSTSymIDParam.md)
