Microsoft KB Archive/171249
BUG: GDI Limits DirectDraw Surfaces to 2048x2048
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 4.0
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.
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.
The only workaround is to stay within the current maximum resolution of 2048 X 2048.
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