mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- changed registry branch to hkey local machine for packet throttle
This commit is contained in:
parent
02cb5c235d
commit
7643c2b591
@ -94,7 +94,7 @@ void DisablePacketThrottling() {
|
||||
wstring subKey = L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile";
|
||||
HKEY keyHandle;
|
||||
DWORD dwDisposition;
|
||||
RegCreateKeyEx(HKEY_CURRENT_USER,subKey.c_str(),0, NULL, 0, KEY_ALL_ACCESS, NULL, &keyHandle, &dwDisposition);
|
||||
RegCreateKeyEx(HKEY_LOCAL_MACHINE,subKey.c_str(),0, NULL, 0, KEY_ALL_ACCESS, NULL, &keyHandle, &dwDisposition);
|
||||
//Set the value.
|
||||
|
||||
DWORD disableThrottle = 0xffffffff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user