- 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";
|
wstring subKey = L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile";
|
||||||
HKEY keyHandle;
|
HKEY keyHandle;
|
||||||
DWORD dwDisposition;
|
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.
|
//Set the value.
|
||||||
|
|
||||||
DWORD disableThrottle = 0xffffffff;
|
DWORD disableThrottle = 0xffffffff;
|
||||||
|
|
Loading…
Reference in New Issue