Changeset 57753 in vbox
- Timestamp:
- Sep 15, 2015 11:15:21 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r56291 r57753 143 143 #define EXECUTEPROCESSFLAG_IGNORE_ORPHANED RT_BIT(1) 144 144 #define EXECUTEPROCESSFLAG_HIDDEN RT_BIT(2) 145 #define EXECUTEPROCESSFLAG_NO_PROFILE RT_BIT(3) 145 #define EXECUTEPROCESSFLAG_NO_PROFILE RT_BIT(3) /** @todo Rename to EXECUTEPROCESSFLAG_PROFILE in next API change. */ 146 146 #define EXECUTEPROCESSFLAG_WAIT_STDOUT RT_BIT(4) 147 147 #define EXECUTEPROCESSFLAG_WAIT_STDERR RT_BIT(5) -
trunk/include/iprt/process.h
r56291 r57753 187 187 #define RTPROC_FLAGS_DETACHED RT_BIT(0) 188 188 /** Don't show the started process. 189 * This is a window(and maybe OS/2) concept, do not use on other platforms. */189 * This is a Windows (and maybe OS/2) concept, do not use on other platforms. */ 190 190 #define RTPROC_FLAGS_HIDDEN RT_BIT(1) 191 191 /** Use special code path for starting child processes from a service (daemon). … … 198 198 * the more frequently used case. */ 199 199 #define RTPROC_FLAGS_SAME_CONTRACT RT_BIT(3) 200 /** Do not load user profile data when executing a process.200 /** Load user profile data when executing a process. 201 201 * This bit at the moment only is valid on Windows. */ 202 #define RTPROC_FLAGS_ NO_PROFILERT_BIT(4)202 #define RTPROC_FLAGS_PROFILE RT_BIT(4) 203 203 /** Create process without a console window. 204 204 * This is a Windows (and OS/2) concept, do not use on other platforms. */ -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r57659 r57753 1372 1372 if (fFlags & EXECUTEPROCESSFLAG_HIDDEN) 1373 1373 uProcFlags |= RTPROC_FLAGS_HIDDEN; 1374 if (fFlags & EXECUTEPROCESSFLAG_NO_PROFILE) 1375 uProcFlags |= RTPROC_FLAGS_NO_PROFILE; 1374 /** @todo Rename to EXECUTEPROCESSFLAG_PROFILE in next API change. */ 1375 if (!(fFlags & EXECUTEPROCESSFLAG_NO_PROFILE)) 1376 uProcFlags |= RTPROC_FLAGS_PROFILE; 1376 1377 if (fFlags & EXECUTEPROCESSFLAG_UNQUOTED_ARGS) 1377 1378 uProcFlags |= RTPROC_FLAGS_UNQUOTED_ARGS; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r57721 r57753 1954 1954 1955 1955 uint32_t uProcFlags = RTPROC_FLAGS_SERVICE 1956 #ifdef RT_OS_WINDOWS 1957 /* Make sure to also load the profile data on a Windows guest. */ 1958 | RTPROC_FLAGS_PROFILE /** @todo Not implemented for non-Windows yet. */ 1959 #endif 1956 1960 | RTPROC_FLAGS_HIDDEN; /** @todo More flags from startup info? */ 1957 1958 1961 /* 1959 1962 * Create the session process' environment block. -
trunk/src/VBox/HostServices/DragAndDrop/service.cpp
r57372 r57753 279 279 /* Note: New since protocol version 2. */ 280 280 case DragAndDropSvc::GUEST_DND_CONNECT: 281 { 282 /* 283 * Never block the initial connect call, as the clients do this when 284 * initializing and might get stuck if drag and drop is set to "disabled" at 285 * that time. 286 */ 287 rc = VINF_SUCCESS; 288 break; 289 } 290 case DragAndDropSvc::GUEST_DND_HG_ACK_OP: 281 291 /* Fall through is intentional. */ 282 case DragAndDropSvc::GUEST_DND_HG_ACK_OP:283 292 case DragAndDropSvc::GUEST_DND_HG_REQ_DATA: 293 /* Fall through is intentional. */ 284 294 case DragAndDropSvc::GUEST_DND_HG_EVT_PROGRESS: 285 295 { … … 681 691 } 682 692 693 #undef DO_HOST_CALLBACK 694 683 695 /* 684 696 * If async execution is requested, we didn't notify the guest yet about -
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r57656 r57753 868 868 static const char * const s_papszProcNames[] = 869 869 { 870 #ifdef VBOX 870 #ifdef VBOX /* The explorer entry is a fallback in case GA aren't installed. */ 871 871 { "VBoxTray.exe" }, 872 872 #endif … … 913 913 { 914 914 PROFILEINFOW profileInfo; 915 if ( !(fFlags & RTPROC_FLAGS_NO_PROFILE))915 if (fFlags & RTPROC_FLAGS_PROFILE) 916 916 { 917 917 RT_ZERO(profileInfo); 918 profileInfo.dwSize = sizeof(profileInfo);918 profileInfo.dwSize = sizeof(profileInfo); 919 919 profileInfo.lpUserName = pwszUser; 920 profileInfo.dwFlags = PI_NOUI; /* Prevents the display of profile error messages. */920 profileInfo.dwFlags = PI_NOUI; /* Prevents the display of profile error messages. */ 921 921 922 922 if (!pfnLoadUserProfileW(*phToken, &profileInfo)) … … 956 956 } 957 957 958 if ( !(fFlags & RTPROC_FLAGS_NO_PROFILE))958 if (fFlags & RTPROC_FLAGS_PROFILE) 959 959 { 960 960 fRc = pfnUnloadUserProfile(*phToken, profileInfo.hProfile);
Note:
See TracChangeset
for help on using the changeset viewer.