Function called to retrieve the current video adapter settings.
Source position: graphh.inc line 740
function queryadapterinfo: PModeInfo;