private static extern void getVar(int var, out VariableData data);
private static extern void getProcVar(int proc, int var, out VariableData data);