DXGI 1.2 desktop duplication APIs cannot draw the cursor to the desktop image

Applies to: Windows Server 2012 StandardWindows Server 2012 StandardWindows Server 2012 R2 Standard


Consider the following scenario:
  • You have a computer that is running Windows Server 2012, Windows 8, or a later version of Windows.
  • The system uses the Microsoft DirectX Graphics Infrastructure (DXGI) 1.2 desktop duplication APIs.
  • You are running the Desktop Duplication application.
In this scenario, the Desktop Duplication application does not draw the mouse pointer to the desktop image.


This issue occurs because the system is using a third-party Windows Display Driver Model (WDDM) graphics adapters or driver that does not support a hardware cursor. This issue does not occur if the graphics adapter uses the Microsoft Basic graphics driver.


To work around this issue, update the graphics driver to support a hardware cursor. If the graphics adapter itself cannot support a hardware cursor, set the cursor scheme to None. This setting can reduce the effect of the issue. However, mouse pointer images will still be missing if the pointer has transparency or alpha blending set.

More Information

The graphics driver developer can emulate a hardware cursor by saving the background of the pointer image and performing a bit-block transfer of the pointer shape into the frame buffer. This method is used in the Microsoft Basic Display Adapter driver but was removed from the Display Only sample driver in the Windows Driver Kit (WDK).

For more information about DXGI, go to the following MSDN website: