Changeset 23836 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Oct 16, 2009 10:36:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
r23835 r23836 26 26 #include <iprt/mem.h> 27 27 #include <VBox/log.h> 28 #ifdef RT_OS_WINDOWS29 #define WIN32_LEAN_AND_MEAN30 #include <windows.h>31 #endif32 33 28 #include "VBGLR3Internal.h" 34 29 … … 233 228 { 234 229 /* Version. */ 235 dwSize = 32; 236 pszVer = (char*)RTMemAlloc(dwSize); 230 DWORD dwType; 231 DWORD dwSize = 32; 232 ppszVer = (char*)RTMemAlloc(dwSize); 237 233 rc = RegQueryValueEx(hKey, "Version", NULL, &dwType, (BYTE*)(LPCTSTR)*ppszVer, &dwSize); 238 234 /* Revision. */
Note:
See TracChangeset
for help on using the changeset viewer.