Purpose

This function fills in a data structure indicating the capabilities of the client currently loaded.