Changeset 71139 in vbox for trunk/src/VBox/Main/src-global/win
- Timestamp:
- Feb 27, 2018 5:48:13 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121027
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-global/win/VBoxSDS.cpp
r70684 r71139 87 87 88 88 #include "VirtualBoxSDSImpl.h" 89 #include "VirtualBoxClientListImpl.h" 89 90 #include "Logging.h" 90 91 … … 694 695 695 696 697 int SetServiceEnvFlag() 698 { 699 int rc = VINF_SUCCESS; 700 if (!SetEnvironmentVariable(L"VBOX_SERVICE_PROCESS", L"")) 701 { 702 rc = RTErrConvertFromWin32(GetLastError()); 703 LogRel(("Error: cannot set service environment flag: %Rrs\n", rc)); 704 } 705 return rc; 706 } 707 708 696 709 /** 697 710 * Main function for the VBoxSDS process. … … 715 728 */ 716 729 RTR3InitExe(argc, &argv, 0); 730 731 SetServiceEnvFlag(); 717 732 718 733 static const RTGETOPTDEF s_aOptions[] = … … 922 937 BEGIN_OBJECT_MAP(s_aObjectMap) 923 938 OBJECT_ENTRY(CLSID_VirtualBoxSDS, VirtualBoxSDS) 939 OBJECT_ENTRY(CLSID_VirtualBoxClientList, VirtualBoxClientList) 924 940 END_OBJECT_MAP() 925 941 hrcExit = pServiceModule->init(s_aObjectMap, hInstance, &LIBID_VirtualBox,
Note:
See TracChangeset
for help on using the changeset viewer.