Microsoft KB Archive/919332

From BetaArchive Wiki

Article ID: 919332

Article Last Modified on 10/11/2007



APPLIES TO

  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Professional 64-Bit Edition (Itanium)




SYMPTOMS

A 32-bit program may not print colors correctly when you print a file on a computer that is running a 64-bit version of Microsoft Windows Server 2003 or a 64-bit version of Microsoft Windows XP.

CAUSE

This problem occurs because one of the internal structures of the Graphics Device Interface (GDI) is incompatible with 32-bit programs that run on 64-bit versions of Windows.

The printer driver's DrvQueryColorProfile function receives invalid parameters. Therefore, the printer driver cannot select an ICC profile.

RESOLUTION

Windows Server 2003

Service pack information

To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003


Hotfix information

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Server 2003, x64-based versions

File name File version File size Date Time Platform SP requirement Service branch
Gdi32.dll 5.2.3790.2703 610,304 16-May-2006 03:03 x64 SP1 SP1QFE
Wgdi32.dll 5.2.3790.2703 285,184 16-May-2006 03:03 x86 SP1 WOW

Windows Server 2003, Itanium-based versions

File name File version File size Date Time Platform SP requirement Service branch
Gdi32.dll 5.2.3790.2703 907,776 16-May-2006 03:05 IA-64 SP1 SP1QFE
Wgdi32.dll 5.2.3790.2703 285,184 16-May-2006 03:05 x86 SP1 WOW

Windows XP

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows XP Professional x64 Edition

File name File version File size Date Time Platform SP requirement Service branch
Gdi32.dll 5.2.3790.2703 610,304 16-May-2006 03:03 x64 SP1 SP1QFE
Wgdi32.dll 5.2.3790.2703 285,184 16-May-2006 03:03 x86 SP1 WOW

Windows XP Professional 64-Bit Edition (Itanium)

File name File version File size Date Time Platform SP requirement Service branch
Gdi32.dll 5.2.3790.2703 907,776 16-May-2006 03:05 IA-64 SP1 SP1QFE
Wgdi32.dll 5.2.3790.2703 285,184 16-May-2006 03:05 x86 SP1 WOW


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Server 2003 Service Pack 2.

MORE INFORMATION

To confirm that you are experiencing this problem, follow these steps.

Note The following steps are for experienced users and for printer driver developers.

  1. Click Start, click Control Panel, and then double-click Printers and Faxes.
  2. Right-click the printer, and then click Properties.
  3. On the Color Management tab, click Automatic.
  4. On the General tab, click Printing Preferences, and then click Advanced.
  5. Expand Color Control.
  6. In the Color Matching list, click ICM on System, and then click OK.
  7. Click OK two times.
  8. Start Internet Explorer.
  9. Start the WinDbg.exe tool.
  10. Click File, click Attach to a Process, and then click Iexplorer.exe.
  11. Click File, click Attach to a Process, and then click Slpwow64.exe.
  12. In the bottom pane, type dt GDI32!QUERYCOLORPROFILEINPUT.
  13. Type bp unidrvui!DrvQueryColorProfile to set a breakpoint at unidrvui!DrvQueryColorProfile.
  14. In Internet Explorer, click File, and then click Print Preview.


The debugger tool will break at unidrvui!DrvQueryColorProfile.

  1. Verify the parameters of unidrvui!DrvQueryColorProfile.

You may find the parameters are incorrect. For example, the pvProfileData parameter may be NULL.

For more information about the WinDbg.exe tool, visit the following Microsoft Web site:

For more information about the terms that are used in this article, 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


Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver kbwinserv2003sp2fix KB919332