Application that uses the DirectComposition API does not work correctly in Windows RT, Windows 8, or Windows Server 2012

Symptoms

Assume that you run an application that uses the DirectComposition API on a computer that is running Windows RT, Windows 8, or Windows Server 2012. In this situation, when a DirectComposition device object is lost, the following issues occur:
  • The application cannot obtain a new working DirectComposition device object, and can only obtain the old cached device object. 
  • The application continuously loses and rebuilds the DirectComposition resources. This eventually causes a stack overflow. 

Cause

This issue occurs because of an infinite loop together with the internal state of the DirectComposition API having multiple references to the underlying physical Direct3D device object.

Resolution

Cumulative Update information

To resolve this issue, install the Windows 8 and Windows Server 2012 cumulative update 2811660. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2811660 Windows 8 and Windows Server 2012 cumulative update: March 2013

Status

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

More Information

Microsoft DirectComposition is a Windows component that enables high-performance bitmap composition with transforms, effects, and animations. Software developers can use the DirectComposition API to create visually engaging user interfaces that feature rich and fluid animated transitions from one visual to another. For more information about the DirectComposition API, go to the following Microsoft website: 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
Properties

Article ID: 2796620 - Last Review: Mar 12, 2013 - Revision: 1

Windows 8, Windows 8 Enterprise, Windows 8 Pro, Windows RT, Windows Server 2012 Datacenter, Windows Server 2012 Datacenter, Windows Server 2012 Datacenter, Windows Server 2012 Datacenter, Windows Server 2012 Essentials, Windows Server 2012 Foundation, Windows Server 2012 Foundation, Windows Server 2012 Foundation, Windows Server 2012 Foundation, Windows Server 2012 Standard, Windows Server 2012 Standard, Windows Server 2012 Standard, Windows Server 2012 Standard

Feedback