MultiCam Boards Documentation > MultiCam Documentation > MultiCam C Reference > Functions > Parameters Management > McGetParamInt

McGetParamInt

Returns the current value of a MultiCam parameter as an integer variable. The parameter is referred to by-identifier, and is preferably of the integer or enumerated type.

[C]

MCSTATUS McGetParamInt(
  MCHANDLE Instance,
  MCPARAMID Param,
  PINT32 ValueInt
);

Parameters

Instance

Handle of the instance of the parameter to read.

Param

Identifier of the parameter to read.

ValueInt

Pointer to the integer variable that receives the parameter value.

Remarks

If the MultiCam parameter is not of the integer type, a type conversion is performed.

Example

The following code gets the channel-class expert-level integer parameter Elapsed_Fr.

//Declaring an integer variable

INT32 MyCount;

//Getting the parameter using the by-ident method

Status = McGetParamInt(ObjectHandle, MC_Elapsed_Fr, &MyCount);

See Also

By-Name vs. By-Ident Access

McGetParamNmInt