Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171249

From BetaArchive Wiki

BUG: GDI Limits DirectDraw Surfaces to 2048x2048

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 : kbOSWinNT400 kbSDKWin32
Issue type : kbbug
Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT400 kbWin32DDKNTSearch


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