Previous: 4.51.2.2.9. ogLoadPal() To the Table of Contents Next: 4.51.2.2.11. ogSetActivePage()
4.51.2.2.9. ogLoadPal() Table of Contents 4.51.2.2.11. ogSetActivePage()

- 4.51.2.2.10. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.2. ogDisplay object
4.51.2.2.10. ogQueryModeSettings()


4.51.2.2.10. ogQueryModeSettings()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Queries the display adapter for mode information.

Declaration:
  function ogQueryModeSettings(modeNum:uInt32; var modeInfo:ogModeInfo);
Remarks:

Queries the display adapter and places relevant information in the modeInfo structure. The modeNum value starts and 0 and increases to the maximum mode number.

Return value:

TRUE if mode is supported. FALSE if mode is not supported.

Restrictions:

The only fields filled in for the win32:con target are:

See also:


Previous: 4.51.2.2.9. ogLoadPal() To the Table of Contents Next: 4.51.2.2.11. ogSetActivePage()
4.51.2.2.9. ogLoadPal() Table of Contents 4.51.2.2.11. ogSetActivePage()

- 4.51.2.2.10. -