pub unsafe extern "C-unwind" fn IORegistryEntrySetCFProperty(
entry: io_registry_entry_t,
property_name: Option<&CFString>,
property: Option<&CFType>,
) -> kern_return_tlibc only.Expand description
Set a CF container based property in a registry entry.
This is a generic method to pass a CF container as a property to an object in the registry. Setting properties in a registry entry is not generally supported, it is more common to support IOConnectSetCFProperty for connection based property setting. The property is interpreted by the object.
Parameter entry: The registry entry whose property to set.
Parameter propertyName: The name of the property as a CFString.
Parameter property: A CF container - should consist of objects which are understood by IOKit - these are currently : CFDictionary, CFArray, CFSet, CFString, CFData, CFNumber, CFBoolean, and are passed in the kernel as the corresponding OSDictionary etc. objects.
Returns: A kern_return_t error code returned by the object.