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

McSetParamInst

Assigns an instance variable to a MultiCam parameter. The parameter is referred to by-identifier, and is of the instance type.

[C]

MCSTATUS McSetParamInst(
  MCHANDLE Instance,
  MCPARAMID Param,
  MCHANDLE ValueInst
);

Parameters

Instance

Handle of the instance of the parameter to configure.

Param

Identifier of the parameter to configure.

ValueInst

Handle of the instance assigned to the parameter.

Example

The following code sets the channel-class select-level instance parameter Cluster to the value SurfaceHandle, a handle to a surface that has to be created beforehand.

//Setting the parameter using the by-ident method

Status = McSetParamInst(ChannelHandle, MC_Cluster, SurfaceHandle);

See Also

By-Name vs. By-Ident Access

McSetParamNmInst