BUG: GDI Limits DirectDraw Surfaces to 2048x2048

ID: Q171249


The information in this article applies to:
  • Microsoft Win32 Device Driver 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. Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: Direct Draw Limitations

Keywords : kbNTOS400 kbSDKWin32
Version : winnt:4.0
Platform : winnt
Issue type : kbbug


Last Reviewed: June 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.