Black lines appear in an application window that is displayed by using DirectX and GDI in Windows 7 or in Windows Server 2008 R2

Symptoms

Assume that you have an application that uses DirectX and GDI to display the application window on a computer that is running Windows 7 or Windows Server 2008 R2. In this situation, black lines may appear in the application window.

Notes

  • If you change the size of the application window, the black lines may disappear temporarily.

  • This issue occurs when the application calls certain functions, such as the DwmGetCompositionTimingInfo function.

Cause

This issue occurs because DirectX incorrectly takes Device Bitmaps mode code path when Vista Blt mode is enabled. When certain functions are called, incorrect flags are returned to the caller. Therefore, DirectX does not detect that Vista Blt mode is enabled.

Note Device Bitmaps mode is a new interoperation mode between DirectX and GDI that was introduced in Windows 7 and in Windows Server 2008 R2. Device Bitmaps mode was introduced because Vista Blt mode, which is used in Windows Vista and in Windows Server 2008, may cause high memory usage. When an application uses DirectX and GDI to display the application window in Windows 7 or in Windows Server 2008 R2, Device Bitmaps mode is enabled. However, if the application calls certain functions (such as the DwmGetCompositionTimingInfo function), the interoperation mode is changed to Vista Blt mode.

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=supportNote 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 one of the following operating systems:

  • Windows 7

  • Windows 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2

  • Windows Server 2008 R2 Service Pack 1 (SP1)

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must 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 7 and Windows Server 2008 R2 file information notes


  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    0.16xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    GDR

    6.1.760
    0.21xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    LDR

    6.1.760
    1.17xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    GDR

    6.1.760
    1.21xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • GDR service branches contain only those fixes that are widely released to address widespread, extremely important issues. LDR service branches contain hotfixes in addition to widely released fixes.

  • 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 Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. 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 7

File name

File version

File size

Date

Time

Platform

Win32k.sys

6.1.7600.16885

2,332,672

15-Sep-2011

02:41

x86

Win32k.sys

6.1.7600.21054

2,341,376

15-Sep-2011

02:30

x86

Win32k.sys

6.1.7601.17692

2,334,720

15-Sep-2011

02:29

x86

Win32k.sys

6.1.7601.21819

2,342,400

15-Sep-2011

03:53

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Win32k.sys

6.1.7600.16885

3,134,976

15-Sep-2011

03:05

x64

Win32k.sys

6.1.7600.21054

3,139,072

15-Sep-2011

03:01

x64

Win32k.sys

6.1.7601.17692

3,138,048

15-Sep-2011

03:06

x64

Win32k.sys

6.1.7601.21819

3,140,096

15-Sep-2011

03:43

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Win32k.sys

6.1.7600.16885

7,421,440

15-Sep-2011

02:13

IA-64

Win32k.sys

6.1.7600.21054

7,427,072

15-Sep-2011

02:17

IA-64

Win32k.sys

6.1.7601.17692

7,414,272

15-Sep-2011

02:08

IA-64

Win32k.sys

6.1.7601.21819

7,423,488

15-Sep-2011

02:20

IA-64

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 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 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

X86_0ad92be31ecce09e26fbd2758b56017e_31bf3856ad364e35_6.1.7601.17692_none_a03a5ab6be09c1d2.manifest

File version

Not Applicable

File size

694

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

X86_0f829ad95e95a10f454960a477a945e8_31bf3856ad364e35_6.1.7600.21054_none_1b0533fe8bec2dfb.manifest

File version

Not Applicable

File size

694

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

X86_9a8beb28a75274e4577efb75d37abf00_31bf3856ad364e35_6.1.7601.21819_none_3bd49abbda17c440.manifest

File version

Not Applicable

File size

694

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

X86_f08d96a3cbbe51d476fb77372666f59d_31bf3856ad364e35_6.1.7600.16885_none_0a97010750bbe3b1.manifest

File version

Not Applicable

File size

694

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

X86_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.16885_none_b8c9d95bfbda50f4.manifest

File version

Not Applicable

File size

42,086

Date (UTC)

15-Sep-2011

Time (UTC)

05:18

File name

X86_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.21054_none_b972bdc314e0b6d6.manifest

File version

Not Applicable

File size

42,086

Date (UTC)

15-Sep-2011

Time (UTC)

05:10

File name

X86_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.17692_none_baa26597f90b8ccc.manifest

File version

Not Applicable

File size

42,086

Date (UTC)

15-Sep-2011

Time (UTC)

04:56

File name

X86_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21819_none_bb8985af11e1fb96.manifest

File version

Not Applicable

File size

42,086

Date (UTC)

15-Sep-2011

Time (UTC)

07:14

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_063453d60f70dd4259b127152e64f7c7_31bf3856ad364e35_6.1.7600.21054_none_5033139dfde27ab9.manifest

File version

Not Applicable

File size

1,038

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_0939c82a1d1ba0f0b9b50702a0a905dd_31bf3856ad364e35_6.1.7600.21054_none_e770ad895e7aa206.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_0971789141e7547a9d95eb8353f74448_31bf3856ad364e35_6.1.7601.21819_none_96cef0de5564e41d.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_1726af076ebc6775ab610440367076a4_31bf3856ad364e35_6.1.7601.17692_none_119d87d77c38a818.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_4d061f3e8475d2b0979a718b604ee1b1_31bf3856ad364e35_6.1.7600.16885_none_c9c1491bcb214b4e.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_68b23930019eb8630daefee2956ca951_31bf3856ad364e35_6.1.7601.21819_none_5ac52d0d4d9f272d.manifest

File version

Not Applicable

File size

1,038

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_7f1401c0a04cde800cffa8c6646d3ad1_31bf3856ad364e35_6.1.7600.21054_none_72832acfe3e4aaec.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_92084c7038565bc955ae6020d66a0114_31bf3856ad364e35_6.1.7601.17692_none_1dea5733107f6954.manifest

File version

Not Applicable

File size

1,038

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_bb48cd8516e929c5df2bec7bfd9e3503_31bf3856ad364e35_6.1.7601.17692_none_e48a17af7d65de09.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_d09c7dd9b793b01dba54ed684c0f3b49_31bf3856ad364e35_6.1.7601.21819_none_f9940e30fc42c48f.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_d5e7187cd4349c3f68201906aa084879_31bf3856ad364e35_6.1.7600.16885_none_e06d387cd11e49b5.manifest

File version

Not Applicable

File size

698

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_e7082f7fe9541f74dcb21f47c0dfacb0_31bf3856ad364e35_6.1.7600.16885_none_b3e6550eca9bbc6f.manifest

File version

Not Applicable

File size

1,038

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Amd64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.16885_none_14e874dfb437c22a.manifest

File version

Not Applicable

File size

42,090

Date (UTC)

15-Sep-2011

Time (UTC)

06:06

File name

Amd64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.21054_none_15915946cd3e280c.manifest

File version

Not Applicable

File size

42,090

Date (UTC)

15-Sep-2011

Time (UTC)

05:56

File name

Amd64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.17692_none_16c1011bb168fe02.manifest

File version

Not Applicable

File size

42,090

Date (UTC)

15-Sep-2011

Time (UTC)

06:08

File name

Amd64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21819_none_17a82132ca3f6ccc.manifest

File version

Not Applicable

File size

42,090

Date (UTC)

15-Sep-2011

Time (UTC)

07:38

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.16885_none_1f3d1f31e8988425.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

05:01

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.21054_none_1fe60399019eea07.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

04:56

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.17692_none_2115ab6de5c9bffd.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

04:40

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21819_none_21fccb84fea02ec7.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

06:51

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_01aefc45a8075f490613b1af2a849c32_31bf3856ad364e35_6.1.7601.21819_none_300cd6f68596c280.manifest

File version

Not Applicable

File size

696

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_0939c82a1d1ba0f0b9b50702a0a905dd_31bf3856ad364e35_6.1.7600.21054_none_8b53b5fba61b39cc.manifest

File version

Not Applicable

File size

697

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_0971789141e7547a9d95eb8353f74448_31bf3856ad364e35_6.1.7601.21819_none_3ab1f9509d057be3.manifest

File version

Not Applicable

File size

697

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_1726af076ebc6775ab610440367076a4_31bf3856ad364e35_6.1.7601.17692_none_b5809049c3d93fde.manifest

File version

Not Applicable

File size

697

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_254a15de98a03854e9386bfe06224d34_31bf3856ad364e35_6.1.7600.16885_none_142420eb75a7cc53.manifest

File version

Not Applicable

File size

696

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_4d061f3e8475d2b0979a718b604ee1b1_31bf3856ad364e35_6.1.7600.16885_none_6da4518e12c1e314.manifest

File version

Not Applicable

File size

697

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_8be1e642676e9618739f69fbfd0059b0_31bf3856ad364e35_6.1.7600.21054_none_7732e00a8e62e18c.manifest

File version

Not Applicable

File size

696

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_ee7e7a1c5c0b59b579fbe7f7c7bbca2e_31bf3856ad364e35_6.1.7601.17692_none_e023a11b6de55f0a.manifest

File version

Not Applicable

File size

696

Date (UTC)

15-Sep-2011

Time (UTC)

21:01

File name

Ia64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.16885_none_b8cb7d51fbd859f0.manifest

File version

Not Applicable

File size

42,088

Date (UTC)

15-Sep-2011

Time (UTC)

18:45

File name

Ia64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.21054_none_b97461b914debfd2.manifest

File version

Not Applicable

File size

42,088

Date (UTC)

15-Sep-2011

Time (UTC)

05:43

File name

Ia64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.17692_none_baa4098df90995c8.manifest

File version

Not Applicable

File size

42,088

Date (UTC)

15-Sep-2011

Time (UTC)

05:46

File name

Ia64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21819_none_bb8b29a511e00492.manifest

File version

Not Applicable

File size

42,088

Date (UTC)

15-Sep-2011

Time (UTC)

07:30

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.16885_none_1f3d1f31e8988425.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

05:01

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7600.21054_none_1fe60399019eea07.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

04:56

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.17692_none_2115ab6de5c9bffd.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

04:40

File name

Wow64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21819_none_21fccb84fea02ec7.manifest

File version

Not Applicable

File size

4,178

Date (UTC)

15-Sep-2011

Time (UTC)

06:51

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×