Status XkbGetNameChanges (Display *dpy, XkbDescPtr xkb, XkbNameChangesPtr changes);
connection to the X server
keyboard description to which names are copied
names components to be obtained from the server
XkbGetNameChanges examines the changes parameter, retrieves the necessary information from the server, and places the results into the xkb keyboard description.
XkbGetNamesChanges can generate BadAlloc, BadImplementation, and BadMatch errors.
Unable to allocate storage
Invalid reply from server
A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid