pub unsafe extern "C-unwind" fn SCNetworkSetAddService(
set: &SCNetworkSet,
service: &SCNetworkService,
) -> boolAvailable on crate feature
SCNetworkConfiguration only.Expand description
Adds the network service to the set.
Parameter set: The network set.
Parameter service: The service to be added.
Returns: TRUE if the service was added to the set; FALSE if the service was already present or an error was encountered.
Note: prior to Mac OS X 10.5, the Network Preferences UI did not support having a single service being a member of more than one set. An error will be returned if you attempt to add a service to more than one set on a pre-10.5 system.