Create a CF representation of a registry entry's property.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
The registry entry handle whose property to copy.
A CFString specifying the property name.
The CF allocator to use when creating the CF container.
No options are currently defined.
A CF container is created and returned the caller on success. The caller should release with CFRelease.
This function creates an instantaneous snapshot of a registry entry property, creating a CF container analogue in the caller's task. Not every object available in the kernel is represented as a CF container; currently OSDictionary, OSArray, OSSet, OSSymbol, OSString, OSData, OSNumber, OSBoolean are created as their CF counterparts.