public static extern int SpotGetValueSize(CoreParameter param);
public static extern SpotCamReturnCode SpotGetValue( CoreParameter param, IntPtr value);