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