---
title: CMSetDefaultProfileByUse
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804951-cmsetdefaultprofilebyuse
---

# CMSetDefaultProfileByUse

Sets values for device profile settings.

## Declaration

```occ
CMError CMSetDefaultProfileByUse (
   OSType use,
   CMProfileRef prof
);
```

## Parameters

- `use`: A value that specifies the device type for which to set the profile.
- `prof`: 

## Return Value

A `CMError` value. See [Result Codes](../colorsync_manager.md).

## See Also

### Accessing Special Profiles

- [CMGetSystemProfile](1804926-cmgetsystemprofile.md)
- [CMSetSystemProfile](1804932-cmsetsystemprofile.md)
- [NCMSetSystemProfile](1804936-ncmsetsystemprofile.md)
- [CMGetDefaultProfileBySpace](1804940-cmgetdefaultprofilebyspace.md)
- [CMSetDefaultProfileBySpace](1804944-cmsetdefaultprofilebyspace.md)
- [CMGetDefaultProfileByUse](1804948-cmgetdefaultprofilebyuse.md)
- [CMGetProfileByAVID](1804955-cmgetprofilebyavid.md)
- [CMSetProfileByAVID](1804959-cmsetprofilebyavid.md)
