Microsoft KB Archive/884865

= A rectangle that you draw by using the ExtTexOut function is not displayed after you copy it to a program that uses the Windows metafile format in Windows Server 2003, in Windows XP, and in Windows 2000 =

Article ID: 884865

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-





SYMPTOMS
When you try to copy an enhanced metafile (EMF) image into a document in a program that uses the Windows metafile (WMF) format, the image may not be copied into the document. You experience this symptom if the following conditions are true:
 * You run a custom program that uses the ExtTextOut function on a Microsoft Windows Server 2003-based, Windows XP-based, or Windows 2000-based computer.
 * You use the ExtTextOut function to draw a rectangle.
 * You copy the EMF image from the custom program and paste it into a document in a program that uses the WMF format, such as Microsoft Word 2000 or Microsoft Paint.



CAUSE
This problem occurs if the following conditions are true:  The security update that is described in Microsoft Security Bulletin MS04-011 is installed on your computer. For more information about this security update, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/bulletin/ms04-011.mspx

 You use the ExtTextOut function with an empty string to draw the rectangle.

The security update that is described in Microsoft Security Bulletin MS04-011 enforces more stringent checks on the validation of metafiles and of the records that they contain.



Hotfix information
A supported hotfix is now 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 this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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 tool in Control Panel.

Windows Server 2003, 32-bit editions Date        Time   Version       Size    File name

05-Oct-2004 21:14  5.2.3790.220  38,400  Mf3216.dll Windows Server 2003, 64-bit editions Date        Time   Version       Size     File name    Platform

05-Oct-2004 22:09  5.2.3790.220  121,344  Mf3216.dll   IA-64 05-Oct-2004 22:14  5.2.3790.220   38,400  Wmf3216.dll  x86

Service Pack information
To resolve this problem, install the latest Windows XP service pack. For additional information about how to obtain the latest service pack for Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Hotfix information
A supported hotfix is now 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 this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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) 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 tool in Control Panel.

Windows XP, 32-bit editions Date        Time   Version        Size     File name - 07-Oct-2004 01:44  5.1.2600.1592  267,776  Gdi32.dll 07-Oct-2004 01:44  5.1.2600.1596   36,864  Mf3216.dll Windows XP, 64-bit edition Date        Time   Version        Size     File name    Platform - 07-Oct-2004 02:40  5.1.2600.1592  885,248  Gdi32.dll    IA-64 07-Oct-2004 02:40  5.1.2600.1596  128,512  Mf3216.dll   IA-64 07-Oct-2004 02:44  5.1.2600.1592  237,568  Wgdi32.dll     x86 07-Oct-2004 02:44  5.1.2600.1596   36,864  Wmf3216.dll    x86

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it 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 2000 service pack that contains this hotfix.

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

http://support.microsoft.com/contactus/?ws=support

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
This hotfix requires Windows 2000 Service Pack 4 (SP4).

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 tool in Control Panel. Date        Time   Version        Size     File name -- 29-Aug-2004 05:49  5.0.2195.6972  231,696  Gdi32.dll 29-Aug-2004 05:49  5.0.2195.6972   37,136  Mf3216.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about the MS04-011: Security Update for Microsoft Windows, click the following article number to view the article in the Microsoft Knowledge Base:

835732 MS04-011: Security Update for Microsoft Windows

For additional information about the ExtTextOut function, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms533949.aspx

For additional information, 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 query words: w2k w2k3 winxp gdi

Keywords: kbqfe kbhotfixserver kbwin2000presp5fix kbwinxppresp2fix kbbug kbfix kbwinserv2003presp1fix KB884865

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.