VirtualBox

Changeset 59391 in vbox


Ignore:
Timestamp:
Jan 19, 2016 1:38:54 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105088
Message:

VBoxProxyStub.c: Ignore NdrDllUnregisterProxy return value REGDB_E_INVALIDVALUE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r59389 r59391  
    540540        if (pState->fSamUpdate)
    541541            rc = RegCreateKeyExW(pState->hkeyClassesRootDst, L"Interface", 0 /*Reserved*/, NULL /*pszClass*/, 0 /*fOptions*/,
    542                                  pState->fSamBoth, NULL /*pSecAttr*/, &pState->hkeyClsidRootDst, NULL /*pdwDisposition*/);
     542                                 pState->fSamBoth, NULL /*pSecAttr*/, &pState->hkeyInterfaceRootDst, NULL /*pdwDisposition*/);
    543543        else
    544544            rc = RegOpenKeyExW(pState->hkeyClassesRootDst, L"Interface", 0 /*fOptions*/, pState->fSamBoth,
     
    13131313        {
    13141314            RTUTF16 wszBuf[MAX_PATH * 2];
     1315#if 0
    13151316            size_t  off;
     1317#endif
    13161318
    13171319            /* {UUID}/Major.Minor/0. */
     
    21822184    hrc2 = NdrDllUnregisterProxy(g_hDllSelf, &g_apProxyFiles[0], &g_ProxyClsId);      /* see DLLREGISTRY_ROUTINES in RpcProxy.h */
    21832185    AssertMsgStmt(   SUCCEEDED(hrc2)
    2184                   || hrc2 == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND),
     2186                  || hrc2 == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND)
     2187                  || hrc2 == REGDB_E_INVALIDVALUE,
    21852188                  ("%Rhrc\n", hrc2), if (SUCCEEDED(hrc)) hrc = hrc2);
    21862189
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