pub unsafe extern "C-unwind" fn SCNetworkConnectionCopyUserPreferences(
selection_options: Option<&CFDictionary>,
service_id: NonNull<*const CFString>,
user_options: NonNull<*const CFDictionary>,
) -> boolAvailable on crate feature
SCNetworkConnection only.Expand description
Provides the default service ID and a dictionary of user options for the connection. Applications can use the returned serviceID and userOptions values to open a connection on the fly.
Parameter selectionOptions: Currently unimplemented. Pass NULL for this
version.
Parameter serviceID: Reference to the default serviceID for starting
connections, this value will be returned by the function.
Parameter userOptions: Reference to default userOptions for starting
connections, this will be returned by the function.
Returns: Returns TRUE if there is a valid service to dial; FALSE if the function was unable to retrieve a service to dial.