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

Applies to: Windows 8Windows 8 EnterpriseWindows 8 Pro More

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