mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
fix RegSetValueEx() call
svn path=/trunk/; revision=10865
This commit is contained in:
parent
650bd77805
commit
57dbd89701
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ BOOL RegSetDWORDValue(HKEY root, LPCTSTR path, LPCTSTR valueName, DWORD value)
|
|||
BOOL ret = FALSE;
|
||||
|
||||
if (!RegOpenKey(root, path, &hkey)) {
|
||||
ret = RegSetValueEx(hkey, valueName, 0, NULL, (LPBYTE)&value, sizeof(value));
|
||||
ret = RegSetValueEx(hkey, valueName, 0, REG_DWORD, (LPBYTE)&value, sizeof(value));
|
||||
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue