VirtualBox

Changeset 12533 in vbox for trunk/src/VBox/Main/win


Ignore:
Timestamp:
Sep 17, 2008 9:55:03 AM (16 years ago)
Author:
vboxsync
Message:

No need to initialize security anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/svcmain.cpp

    r11822 r12533  
    173173#endif
    174174    _ASSERTE(SUCCEEDED(hRes));
    175     /*
    176      * Need to initialize security to access performance enumerators.
    177      */
    178     hRes = CoInitializeSecurity(
    179         NULL,
    180         -1,
    181         NULL,
    182         NULL,
    183         RPC_C_AUTHN_LEVEL_NONE,
    184         RPC_C_IMP_LEVEL_IMPERSONATE,
    185         NULL, EOAC_NONE, 0);
    186     _ASSERTE(SUCCEEDED(hRes));
    187175    _Module.Init(ObjectMap, hInstance, &LIBID_VirtualBox);
    188176    _Module.dwThreadID = GetCurrentThreadId();
Note: See TracChangeset for help on using the changeset viewer.

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