This function takes the following parameter:
Pointer to the key to which the value will be set.
Pointer to a string representing the values to be set.
Pointer to a pointer to agent defined parameters.