VirtualBox

Changeset 66279 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Mar 28, 2017 7:23:33 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114203
Message:

Main/Frontends/Installer: bugref:3300: tabs, spaces, doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp

    r66274 r66279  
    7070
    7171    HRESULT rc = CoCreateInstance(CLSID_VirtualBoxSDS, /* the VirtualBoxSDS object */
    72         NULL,                   /* no aggregation */
    73         CLSCTX_LOCAL_SERVER,  /* the object lives in the current process */
    74         IID_IVirtualBoxSDS,  /* IID of the interface */
    75         (void **)aVirtualBoxSDS.asOutParam());
     72                                  NULL,                /* no aggregation */
     73                                  CLSCTX_LOCAL_SERVER, /* the object lives in the current process */
     74                                  IID_IVirtualBoxSDS,  /* IID of the interface */
     75                                  (void **)aVirtualBoxSDS.asOutParam());
    7676    if (FAILED(rc))
    7777    {
     
    9797
    9898    HRESULT rc = CoCreateInstance(CLSID_VirtualBoxSDS, /* the VirtualBoxSDS object */
    99         NULL,                   /* no aggregation */
    100         CLSCTX_LOCAL_SERVER,  /* the object lives in the current process */
    101         IID_IVirtualBoxSDS,  /* IID of the interface */
    102         (void **)aVirtualBoxSDS.asOutParam());
     99                                  NULL,                /* no aggregation */
     100                                  CLSCTX_LOCAL_SERVER, /* the object lives in the current process */
     101                                  IID_IVirtualBoxSDS,  /* IID of the interface */
     102                                  (void **)aVirtualBoxSDS.asOutParam());
    103103    if (FAILED(rc))
    104104    {
     
    132132    // TODO: AM rework for final version
    133133    // setup COM Security to enable impersonation
    134     // This works for console Virtual Box clients, GUI has own security settings 
     134    // This works for console Virtual Box clients, GUI has own security settings
    135135    //  For GUI Virtual Box it will be second call so can return TOO_LATE error
    136136    HRESULT hrGUICoInitializeSecurity = CoInitializeSecurity(NULL,
    137         -1,
    138         NULL,
    139         NULL,
    140         RPC_C_AUTHN_LEVEL_DEFAULT,
    141         RPC_C_IMP_LEVEL_IMPERSONATE, //RPC_C_IMP_LEVEL_DELEGATE,//RPC_C_IMP_LEVEL_IMPERSONATE,
    142         NULL,
    143         EOAC_NONE,//EOAC_NONE,//EOAC_DYNAMIC_CLOAKING,//EOAC_STATIC_CLOAKING, 
    144         NULL);
     137                                                             -1,
     138                                                             NULL,
     139                                                             NULL,
     140                                                             RPC_C_AUTHN_LEVEL_DEFAULT,
     141                                                             RPC_C_IMP_LEVEL_IMPERSONATE,
     142                                                             NULL,
     143                                                             EOAC_NONE,
     144                                                             NULL);
    145145    //Assert(RPC_E_TOO_LATE != hrGUICoInitializeSecurity);
    146146    Assert(SUCCEEDED(hrGUICoInitializeSecurity) || hrGUICoInitializeSecurity == RPC_E_TOO_LATE);
     
    170170        mData.m_ThreadWatcher = NIL_RTTHREAD;
    171171        mData.m_SemEvWatcher = NIL_RTSEMEVENT;
    172        
     172
    173173#ifdef VBOX_WITH_SDS
    174         // TODO: AM create virtual box through SDS 
     174        // TODO: AM create virtual box through SDS
    175175        rc = CreateVirtualBoxThroughSDS(mData.m_pVirtualBox);
    176176#else
Note: See TracChangeset for help on using the changeset viewer.

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