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