Function SCDynamicStoreCopyValue

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

Gets the value of the specified key from the dynamic store.

Parameter store: The dynamic store session.

Parameter key: The key associated with the value you want to get.

Returns: Returns the value from the dynamic store that is associated with the given key; NULL if no value was located or an error was encountered. You must release the returned value.