Changeset 63177 in vbox for trunk/src/VBox/Main/src-all/win
- Timestamp:
- Aug 8, 2016 3:20:59 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r62811 r63177 744 744 char *pszExistingData = alloca(cbExistingData); 745 745 DWORD dwExistingType; 746 rc = RegQueryValueExA(hkey, pszValueNm, 0 /*Reserved*/, &dwExistingType, pszExistingData, &cbExistingData);746 rc = RegQueryValueExA(hkey, pszValueNm, 0 /*Reserved*/, &dwExistingType, (PBYTE)pszExistingData, &cbExistingData); 747 747 if (rc == ERROR_SUCCESS) 748 748 { … … 771 771 * Set the value. 772 772 */ 773 rc = RegSetValueExA(hkey, pszValueNm, 0 /*Reserved*/, REG_SZ, pszValue, cbValue);773 rc = RegSetValueExA(hkey, pszValueNm, 0 /*Reserved*/, REG_SZ, (PBYTE)pszValue, cbValue); 774 774 if (rc == ERROR_SUCCESS) 775 775 {
Note:
See TracChangeset
for help on using the changeset viewer.