The forth parameter to EvalContextVariablePut is DataType, not RvalType.