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