---
title: CMGetDefaultProfileByUse
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804948-cmgetdefaultprofilebyuse
---

# CMGetDefaultProfileByUse

Obtains the users’ preferred device profile setting.

## Declaration

```occ
CMError CMGetDefaultProfileByUse (
   OSType use,
   CMProfileRef *prof
);
```

## Parameters

- `use`: A value that specifies the device type for which to obtain 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)
- [CMSetDefaultProfileByUse](1804951-cmsetdefaultprofilebyuse.md)
- [CMGetProfileByAVID](1804955-cmgetprofilebyavid.md)
- [CMSetProfileByAVID](1804959-cmsetprofilebyavid.md)
