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

McGetParamNmInst

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

[C]

MCSTATUS McGetParamNmInst(
  MCHANDLE Instance,
  PCHAR ParamName,
  PMCHANDLE ValueInst
);

Parameters

Instance

Handle of the instance of the parameter to read.

ParamName

Pointer to a string containing the name 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-name method

Status = McGetParamNmInst(ObjectHandle, "Cluster", &MySurface);

See Also

By-Name vs. By-Ident Access

McGetParamInst