public static extern int xiSetParam( IntPtr deviceHandle, string parameter, ref float value, int size, ParameterType type ); [DllImport( "m3api.dll" )]