This article has been archived. It is offered "as is" and will no longer be updated.
This article describes how to force Windows Photo Gallery to display images by using graphics device interface (GDI) on a Windows Vista-based computer.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Windows Photo Gallery displays an image by writing to a Microsoft DirectX surface. However, you may want to force Windows Photo Gallery to display an image by using GDI for the following reasons:
You may encounter issues with video card drivers that are incompatible with how Windows Photo Gallery displays an image to a DirectX surface.
You may use a utility that must force Windows Photo Gallery to write by using GDI to gain access to screen bits.
Note The performance of Windows Photo Gallery decreases significantly when you force the program to display images by using GDI. Therefore, use this registry entry only when it is necessary. Then, reset the value of the registry entry to zero as soon as possible.
To make Window Photo Gallery display images by using GDI, you must create a registry key. To do this, follow these steps:
Click Start , type regedit in the Start Search box, and then click regedit.exe in the Programs list.
If you are prompted for an administrator password or confirmation, type your password, or click Continue.