Changeset 36330 in vbox for trunk/src/VBox
- Timestamp:
- Mar 21, 2011 5:20:05 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70661
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r36328 r36330 740 740 && OSInfoEx.dwPlatformId == VER_PLATFORM_WIN32_NT 741 741 && OSInfoEx.dwMajorVersion >= 5 /* NT 5.0 a.k.a W2K */) 742 hMutexAppRunning = CreateMutex(NULL, FALSE, VBOXSERVICE_NAME_GLOBAL);742 hMutexAppRunning = CreateMutex(NULL, FALSE, "Global\\" VBOXSERVICE_NAME); 743 743 else 744 744 hMutexAppRunning = CreateMutex(NULL, FALSE, VBOXSERVICE_NAME); -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r36182 r36330 92 92 typedef VBOXSERVICE const *PCVBOXSERVICE; 93 93 94 /** The service name (needed for mutex creation on Windows). */ 94 /** The service name. 95 * @note Used on windows to name the service as well as the global mutex. */ 95 96 #define VBOXSERVICE_NAME "VBoxService" 96 #define VBOXSERVICE_NAME_GLOBAL "Global\\VBoxService"97 97 98 98 #ifdef RT_OS_WINDOWS
Note:
See TracChangeset
for help on using the changeset viewer.