pub unsafe extern "C-unwind" fn SCDynamicStoreKeyCreateComputerName(
allocator: Option<&CFAllocator>,
) -> CFRetained<CFString>Available on crate feature
SCDynamicStoreKey only.Expand description
Creates a key that can be used in conjuntion with SCDynamicStoreSetNotificationKeys function to receive notifications when the current computer name changes.
Parameter allocator: The CFAllocator that should be used to allocate
memory for this key.
This parameter may be NULL in which case the current
default CFAllocator is used. If this reference is not
a valid CFAllocator, the behavior is undefined.
Returns: Returns a notification string for the current computer or host name.