Changeset 85489 in vbox for trunk/src/VBox/Main/glue/initterm.cpp
- Timestamp:
- Jul 28, 2020 2:51:29 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139545
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/initterm.cpp
r85121 r85489 457 457 AssertMsg(rc == S_OK || rc == S_FALSE, ("rc=%08X\n", rc)); 458 458 459 #if defined(VBOX_WITH_SDS) 460 // Setup COM Security to enable impersonation 461 HRESULT hrGUICoInitializeSecurity = CoInitializeSecurity(NULL, 462 -1, 463 NULL, 464 NULL, 465 RPC_C_AUTHN_LEVEL_DEFAULT, 466 RPC_C_IMP_LEVEL_IMPERSONATE, 467 NULL, 468 EOAC_NONE, 469 NULL); 470 NOREF(hrGUICoInitializeSecurity); 471 Assert(SUCCEEDED(hrGUICoInitializeSecurity) || hrGUICoInitializeSecurity == RPC_E_TOO_LATE); 472 #endif 473 459 474 /* 460 475 * IRundown has unsafe two methods we need to patch to prevent remote access.
Note:
See TracChangeset
for help on using the changeset viewer.