<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ColorSync",
  "identifier" : "/documentation/ColorSync/ColorSyncDeviceCopyDeviceInfo(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@F@ColorSyncDeviceCopyDeviceInfo"
  },
  "title" : "ColorSyncDeviceCopyDeviceInfo(_:_:)"
}
-->

# ColorSyncDeviceCopyDeviceInfo(_:_:)

Copies information about a device, resolved for the current host and current user.

```
func ColorSyncDeviceCopyDeviceInfo(_ deviceClass: CFString!, _ devID: CFUUID!) -> Unmanaged<CFDictionary>?
```

## Parameters

`deviceClass`

The class of the device.

`devID`

The identifier of the device.

## Return Value

A dictionary describing the device, or `NULL` if no matching device is registered.

## Discussion

Returns a dictionary with the following keys and values resolved for the current host and
current user:

```
<<
    kColorSyncDeviceClass                   {camera, display, printer, scanner}
    kColorSyncDeviceID                      {CFUUIDRef registered with ColorSync}
    kColorSyncDeviceDescription             {localized device description}
    kColorSyncFactoryProfiles  (dictionary) <<
                                                {ProfileID}    (dictionary) <<
                                                                                kColorSyncDeviceProfileURL      {CFURLRef or kCFNull}
                                                                                kColorSyncDeviceModeDescription {localized mode description}
                                                                            >>
                                                 ...
                                                kColorSyncDeviceDefaultProfileID {ProfileID}
                                            >>
    kColorSyncCustomProfiles  (dictionary) <<
                                                {ProfileID}    {CFURLRef or kCFNull}
                                                ...
                                           <<
    kColorSyncDeviceUserScope              {kCFPreferencesAnyUser or kCFPreferencesCurrentUser}
    kColorSyncDeviceHostScope              {kCFPreferencesAnyHost or kCFPreferencesCurrentHost}
>>
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)