Contents

IOConnectSetCFProperties(_:_:)

Set CF container based properties on a connection.

Declaration

func IOConnectSetCFProperties(_ connect: io_connect_t, _ properties: CFTypeRef!) -> kern_return_t

Parameters

  • connect:

    The connect handle created by IOServiceOpen.

  • properties:

    A CF container - commonly a CFDictionary but this is not enforced. The 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.

Return Value

A kern_return_t error code returned by the family.

Discussion

This is a generic method to pass a CF container of properties to the connection. The properties are interpreted by the family and commonly represent configuration settings, but may be interpreted as anything.

See Also

Miscellaneous