The SetPixel function fails in specific x-coordinates if Windows Aero is not running on a computer that is running Windows Vista

Article translations Article translations
Article ID: 978545 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario. You use an application that calls the SetPixel function on a computer that is running Windows Vista. This function sets a pixel at specified coordinates to a specified color. In this scenario, the SetPixel function fails in specific ranges of x-coordinates. Therefore, the application experiences display issues.

When this issue occurs, the first 255 pixels (0-255) on the x-axis display correctly. However, the next 255 pixels (256-511) on the x-axis do not display. The following 255 pixels (768-1023) display correctly. This pattern repeats across x-axis of the screen.

For example, you use an application that calls the SetPixel function to draw a red horizontal line. The y-coordinate of the horizontal line is 300, and the range of the x-coordinate is from 0 to 768. In this example, the horizontal line is missing in the range of x-coordinates that is between 256 and 511. Therefore, the horizontal line is divided into two parts and is not displayed correctly.

This issue occurs under one of the following conditions:
  • The computer is running a Windows Vista operating system that does not support the Windows Aero feature. For example, the computer is running Windows Vista Home Basic.
  • The computer is running a Windows Vista operating system that supports the Windows Aero feature. However, the feature is manually turned off. This feature may be manually turned off if you select a color scheme that does not support Windows Aero. For example, you select the Windows Vista Basic color scheme.
  • The computer has a graphic adapter that does not support the Windows Aero feature.

Notes
  • Windows Aero is the desktop experience that is available to computers that use a compatible graphics adapter and are running Windows Vista Home Premium, Windows Vista Business, Windows Vista Ultimate, or Windows Vista Enterprise.
  • This issue does not occur on a Virtual PC that is running Windows Vista.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Vista Service Pack 2 (SP2) on the computer. Additionally, the update that is described in article 971512 in the Microsoft Knowledge Base must be installed on the computer. For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about article 971512 , click the following article number to view the article in the Microsoft Knowledge Base:
971512 Description of the Windows Graphics, Imaging, and XPS Library

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista file information notes
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    Collapse this tableExpand this table
    VersionProductSR_LevelService branch
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cdd.dll7.0.6002.2235137,37608-Mar-201016:00x86
Dxgkrnl.sys7.0.6002.22351631,29608-Mar-201011:36x86
For all supported x64-based versions of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cdd.dll7.0.6002.2235147,10408-Mar-201015:47x64
Dxgkrnl.sys7.0.6002.22351893,44007-Mar- 201010:54x64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

For more information about Windows Aero, visit the following Microsoft Web site:
Explore the features in Windows Aero
For more information about how to troubleshoot problems with Windows Aero, visit the following Microsoft Web site:
How to troubleshoot problems with Windows Aero.
For more information about the SetPixel function, visit the following Microsoft Developer Network (MSDN) Web site:
General information about the SetPixel function
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista

Additional files for all supported x86-based versions of Windows Vista
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot applicable
File size1,392
Date (UTC)09-Mar-2010
Time (UTC)06:34
PlatformNot applicable
File nameX86_9bb8cbc05242af9b9521f258fe2e6282_31bf3856ad364e35_7.0.6002.22357_none_4907742baa244f89.manifest
File versionNot applicable
File size696
Date (UTC)09-Mar-2010
Time (UTC)06:34
PlatformNot applicable
File nameX86_microsoft-windows-lddmcore_31bf3856ad364e35_7.0.6002.22357_none_9f7a1f7f84d99212.manifest
File versionNot applicable
File size8,431
Date (UTC)08-Mar-2010
Time (UTC)17:56
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista
Collapse this tableExpand this table
File nameAmd64_68ce016e551bf12b47dcae5c4b2ac0b1_31bf3856ad364e35_7.0.6002.22357_none_bcc46934ceb96f4c.manifest
File versionNot applicable
File size700
Date (UTC)09-Mar-2010
Time (UTC)06:34
PlatformNot applicable
File nameAmd64_microsoft-windows-lddmcore_31bf3856ad364e35_7.0.6002.22357_none_fb98bb033d370348.manifest
File versionNot applicable
File size8,693
Date (UTC)08-Mar-2010
Time (UTC)17:42
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size1,400
Date (UTC)09-Mar-2010
Time (UTC)06:34
PlatformNot applicable
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 978545 - Last Review: June 21, 2014 - Revision: 1.0
Applies to
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Home Basic
  • Windows Vista Starter
Keywords: 
kbexpertiseadvanced kbexpertiseinter kbsurveynew kbqfe kbautohotfix kbHotfixServer kbfix KB978545

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com