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

McGetParamInst

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

[C]

MCSTATUS McGetParamInst(
  MCHANDLE Instance,
  MCPARAMID Param,
  PMCHANDLE ValueInst
);

Parameters

Instance

Handle of the instance of the parameter to read.

Param

Identifier of the parameter to read.

ValueInst

Pointer to the instance variable that receives the parameter value.

Example

The following code gets the channel-class select-level instance parameter Cluster.

//Declaring a MCHANDLE variable

MCHANDLE MySurface;

//Getting the parameter using the by-ident method

Status = McGetParamInst(ObjectHandle, MC_Cluster, &MySurface);

See Also

By-Name vs. By-Ident Access

McGetParamNmInst