Toggle Hardware acceleration vb.net, C#
Trying to integrate a toggle for XP and 7.
"To disable hardware acceleration:
[HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphi cs] "DisableHWAcceleration"=dword:00000001 To enable hardware acceleration:
[HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphi cs] "DisableHWAcceleration"=dword:00000000"
The next step might be enumdisplaydevices, and the reset.
Reset: http://www.drunkenhyena.com/cgi-bin/...r=2;article=10
Other: http://msdn.microsoft.com/en-us/library/windows/desktop/bb147355%28v=vs.85%29.aspx
I tried converting directx (video device reset) C++ code to C# or vb.net and it blacked the
screen for a second, similar to the XP hardware acceleration window. It did not successfully toggle it, the system still recognizes that it is still in it's former acceleration setting.
Windows 7:
http://stackoverflow.com/questions/1...n-on-windows-7
Has anyone ever been able to toggle hardware acceleration in a .net language?