Function SCDynamicStoreSetValue

Source
pub unsafe extern "C-unwind" fn SCDynamicStoreSetValue(
    store: Option<&SCDynamicStore>,
    key: &CFString,
    value: &CFPropertyList,
) -> bool
Available on crate feature SCDynamicStore only.
Expand description

Adds or replaces a value in the dynamic store for the specified key.

Parameter store: The dynamic store session.

Parameter key: The key you want to set.

Parameter value: The value to add to or replace in the dynamic store.

Returns: Returns TRUE if the key was updated; FALSE if an error was encountered.