Function SCDynamicStoreCopyLocation

Source
pub unsafe extern "C-unwind" fn SCDynamicStoreCopyLocation(
    store: Option<&SCDynamicStore>,
) -> Option<CFRetained<CFString>>
Available on crate features SCDynamicStore and SCDynamicStoreCopySpecific only.
Expand description

Gets the current location identifier.

Parameter store: An SCDynamicStoreRef representing the dynamic store session that should be used for communication with the server. If NULL, a temporary session will be used.

Returns: Returns a string representing the current location identifier; NULL if no location identifier has been defined or if an error was encountered. You must release the returned value.