Changeset 63639 in vbox for trunk/src/VBox/Main/src-client/win/dllmain.cpp
- Timestamp:
- Aug 25, 2016 2:31:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/win/dllmain.cpp
r60865 r63639 75 75 { 76 76 AssertReturn(g_pAtlComModule, S_OK); 77 return g_pAtlComModule->GetLockCount() == 0 ? S_OK : S_FALSE; 77 LONG const cLocks = g_pAtlComModule->GetLockCount(); 78 Assert(cLocks >= VirtualBoxClient::s_cUnnecessaryAtlModuleLocks); 79 return cLocks <= VirtualBoxClient::s_cUnnecessaryAtlModuleLocks ? S_OK : S_FALSE; 78 80 } 79 81 … … 83 85 STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) 84 86 { 87 HRESULT hrc; 85 88 AssertReturn(g_pAtlComModule, E_UNEXPECTED); 86 89 return g_pAtlComModule->GetClassObject(rclsid, riid, ppv);
Note:
See TracChangeset
for help on using the changeset viewer.