KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q41373: _Setvideomode _ERESCOLOR Only Supports 16 Colors

Article: Q41373
Product(s): See article
Version(s): 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | s_quickc docerr langdoc | mspl13_c
Last Modified: 16-MAY-1989

The manifest constant _ERESCOLOR is incorrectly shown as providing 64
colors on Page 539 of the "Microsoft C Optimizing Compiler Version
5.10 Run-Time Library Reference" manual, Page 539 of the "Microsoft
QuickC Run-time Library Reference" manual, and Page 197 of the
"Microsoft QuickC Version 2.00 Graphics Library Reference" manual.
According to the "Programmer's Guide to PC & PS/2 Video Systems," Page
448, and the "MS-DOS Encyclopedia," Page 1513, the correct number of
colors in 640 x 350 EGA is 16 colors. The include file graph.h
correctly shows 16 colors.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.