DirectDraw is a basic part of DirectX's video input and output, and using DirectDraw can easily produce efficient video handlers, so long as the user's hardware supports DirectDraw, your code can handle them. So if the DirectDraw in Windows7 can't be disabled, how do you solve it?
In XP era, many users have been the video screenshots after the "full black picture" obsession, in this respect, in the resolution of the local playback screen black problem, there are generally two methods can be used to solve, one method is to use two different players, while opening the same file; Another way is to disable DirectDraw. Users who are familiar with Windows XP and Windows7 should know (by default) that DirectDraw is enabled under Windows XP and Windows7. The difference is that the user can disable it under Windows XP, and Windows7 it cannot be disabled, which means that Windows7 users cannot solve the problem of screenshot black by "Disable DirectDraw" method. By default, the DirectDraw in Windows7 cannot be disabled, but we can disable it in other ways:
Method One: Modify the registration Form
Under Windows7, run Registry Editor, navigate to Hkey_local_machinesystemcurrentcontrolsetcontrolgraphicsdriversdci in turn, and then locate and double-click in the right window Timeout ", then, in the pop-up window, change the default value" 7 "to" 0 ".
After the modification, save the settings to exit, and then the next time the launch can take effect.
Method Two: Install WINDWOS7 special Drive
Some Windows7 users may find that, after modifying the registry and restarting the computer, DirectDraw is still enabled under Windows7, which means that the purpose of disabling DirectDraw is not achieved by modifying the registry method.
This situation is due to Windows7 in the graphics driver and Windows XP is different, and some graphics users, under the Win7 need to download and install a dedicated driver, some of the public version of the driver, as well as some of the driver under Windows, They cannot modify the state of the DirectDraw under Windwos7.
As with other components of DirectX, DirectDraw will use the hardware to perform a particular function to the maximum extent possible, and features that are not supported by the hardware can be implemented in software emulation.