VirtualBox

Changeset 30225 in vbox


Ignore:
Timestamp:
Jun 16, 2010 1:56:56 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62711
Message:

VBoxServiceVMInfo-win.cpp: bump _WIN32_WINNT to 0x0502 to get the CachedRemoteInteractive constant with newer SDKs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp

    r30049 r30225  
    2020*   Header Files                                                               *
    2121*******************************************************************************/
    22 #include <windows.h>
     22#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0502
     23# undef  _WIN32_WINNT
     24# define _WIN32_WINNT 0x0502 /* CachedRemoteInteractive in recent SDKs. */
     25#endif
     26#include <Windows.h>
    2327#include <wtsapi32.h>       /* For WTS* calls. */
    2428#include <psapi.h>          /* EnumProcesses. */
Note: See TracChangeset for help on using the changeset viewer.

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