<!--
{
  "availability" : [
    "macOS: 10.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCDynamicStoreCopyMultiple(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCDynamicStoreCopyMultiple"
  },
  "title" : "SCDynamicStoreCopyMultiple(_:_:_:)"
}
-->

# SCDynamicStoreCopyMultiple(_:_:_:)

Returns the key-value pairs that match the specified keys and key patterns.

```
func SCDynamicStoreCopyMultiple(_ store: SCDynamicStore?, _ keys: CFArray?, _ patterns: CFArray?) -> CFDictionary?
```

## Parameters

`store`

The dynamic store session.

`keys`

The keys associated with the desired values or `NULL` if no specific keys are requested.

`patterns`

An array of regex(3) pattern strings used to match the keys, or `NULL` if no key patterns are requested.

## Return Value

A dictionary of key-value pairs that match the specified keys and key patterns, or `NULL` if an error occurred. You must release the returned value.

## Discussion

---

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)