Contents

SCDynamicStoreCopyMultiple(_:_:_:)

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

Declaration

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.

See Also

Getting Keys and Values