VirtualBox

Changeset 23836 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Oct 16, 2009 10:36:52 PM (15 years ago)
Author:
vboxsync
Message:

VBoxClient/VBoxTray/VBgl: Windows build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp

    r23835 r23836  
    2626#include <iprt/mem.h>
    2727#include <VBox/log.h>
    28 #ifdef RT_OS_WINDOWS
    29  #define WIN32_LEAN_AND_MEAN
    30  #include <windows.h>
    31 #endif
    32 
    3328#include "VBGLR3Internal.h"
    3429
     
    233228    {
    234229        /* Version. */
    235         dwSize = 32;
    236         pszVer = (char*)RTMemAlloc(dwSize);
     230        DWORD dwType;
     231        DWORD dwSize = 32;
     232        ppszVer = (char*)RTMemAlloc(dwSize);
    237233        rc = RegQueryValueEx(hKey, "Version", NULL, &dwType, (BYTE*)(LPCTSTR)*ppszVer, &dwSize);
    238234        /* Revision. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette