Enumerates keyboard layout/variants that match the pattern.
The layout/variant is considered as matching if one of the following is true: 1. Country description (from the country list or name) contains pattern as substring 2. Language description (from the language list or name) contains pattern as substring
| this |
the config registry |
| pattern |
pattern to search for (NULL means "all") |
| func |
callback to call for every matching layout/variant |
| data |
anything which can be stored into the pointer |