Gets the name of the last restored layer state and the ID of the corresponding LayerState object.
eOk if operation succeeded; error code otherwise.