Contents

ColorSyncProfileCreateDeviceProfile(_:_:_:)

Creates a profile for a device registered with ColorSync.

Declaration

func ColorSyncProfileCreateDeviceProfile(_ deviceClass: CFString!, _ deviceID: CFUUID!, _ profileID: CFTypeRef!) -> Unmanaged<ColorSyncProfile>?

Parameters

  • deviceClass:

    The ColorSync device class.

  • deviceID:

    The device ID registered with ColorSync.

  • profileID:

    The profile ID registered with ColorSync; pass Kcolorsyncdevicedefaultprofileid to get the default profile.

Return Value

A new profile, or NULL in case of failure.

Discussion

See ColorSyncDevice.h for more information on deviceClass, deviceID, and profileID.

See Also

Registering and enumerating devices