MultiCam Boards Documentation > MultiCam Documentation > MultiCam User Guide > MultiCam Basics > Parameters > Accessing a Parameter > Native C API

Native C API

The native way for the application to interact with the MultiCam system is the API in C language.

All parameters are consistently accessed by a unique set of C functions. According to the type of the parameter value, several versions of these set and get functions are available.

Parameter type

Access

Recommended function

By-identifier
parameter access

By-name
parameter access

Integer

Set

McSetParamInt

McSetParamNmInt

Get

McGetParamInt

McGetParamNmInt

64-bit Integer

Set

McSetParamInt64

McSetParamNmInt64

Get

McGetParamInt64

McGetParamNmInt64

Floating point

Set

McSetParamFloat

McSetParamNmFloat

Get

McGetParamFloat

McGetParamNmFloat

String

Set

McSetParamStr

McSetParamNmStr

Get

McGetParamStr

McGetParamNmStr

Instance

Set

McSetParamInst

McSetParamNmInst

Get

McGetParamInst

McGetParamNmInst

Pointer

Set

McSetParamPtr

McSetParamNmPtr

Get

McGetParamPtr

McGetParamNmPtr

Enumerated

Set

By-identifier enumerated access

McSetParamInt

McSetParamNmInt

By-name enumerated access

McSetParamStr

McSetParamNmStr

Get

By-identifier enumerated access

McGetParamInt

McGetParamNmInt

By-name enumerated access

McGetParamStr

McGetParamNmStr

The by-identifier parameter access method uses the parameter identifier to establish the reference to the targeted parameter.

The by-name parameter access method uses the parameter name to establish the reference to the targeted parameter.

The by-identifier enumerated access method uses the enumerated identifier to establish the reference to the targeted enumerated item.

The by-name enumerated access method uses the enumerated name to establish the reference to the targeted enumerated item.