BUG: GDI Limits DirectDraw Surfaces to 2048x2048

Last reviewed: September 5, 1997
Article ID: Q171249
The information in this article applies to:
  • Microsoft Win32 Device Development Kit (DDK) for Windows NT, version 4.0

SYMPTOMS

When an application tries to open a direct draw surface greater than 2048x2048, the call fails at the GDI layer. This can happen even when the video driver supports resolutions greater than 2048x2048.

CAUSE

The Windows Graphics subsystem range tests requests for direct draw surface dimensions. These are compile time constants that dictate the minimum and maximum values. These values are set to 2048x2048.

RESOLUTION

The only workaround is to stay within the current maximum resolution of 2048 X 2048.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. A fix to this problem is in development, but has not been regression-tested and may be destabilizing in production environments. Microsoft does not recommend implementing this fix at this time. Contact Microsoft Technical Support for more information on the availability of this fix.


Additional query words: Direct Draw Limitations
Keywords : NTDDKDisplay
Technology : kbDirectXSDK
Version : 4.0
Platform : NT WINDOWS
Issue type : kbbug


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.

Last reviewed: September 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.