---
title: "ColorSyncProfileCreateDeviceProfile(_:_:_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.0+, macOS 10.13+]
path: "colorsync/colorsyncprofilecreatedeviceprofile(_:_:_:)"
---

# ColorSyncProfileCreateDeviceProfile(_:_:_:)

Creates a profile for a device registered with ColorSync.

## Declaration

```swift
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 doc://com.apple.colorsync/documentation/ColorSync/kColorSyncDeviceDefaultProfileID to get the default profile.

## Return Value

Return Value A new profile, or NULL in case of failure.

## Discussion

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

## See Also

### Registering and enumerating devices

- [ColorSyncDeviceCopyDeviceInfo(_:_:)](colorsync/colorsyncdevicecopydeviceinfo(_:_:).md)
- [ColorSyncDeviceProfileIterateCallback](colorsync/colorsyncdeviceprofileiteratecallback.md)
- [ColorSyncDeviceSetCustomProfiles(_:_:_:)](colorsync/colorsyncdevicesetcustomprofiles(_:_:_:).md)
- [ColorSyncIterateDeviceProfiles(_:_:)](colorsync/colorsynciteratedeviceprofiles(_:_:).md)
- [ColorSyncRegisterDevice(_:_:_:)](colorsync/colorsyncregisterdevice(_:_:_:).md)
- [ColorSyncUnregisterDevice(_:_:)](colorsync/colorsyncunregisterdevice(_:_:).md)
