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( |
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