static HRESULT vboxExtTerm() { HRESULT hr = vboxExtWndCleanup(); if (!SUCCEEDED(hr)) { ERR("vboxExtWndCleanup failed, hr %d", hr); return hr; } hr = VBoxExtWorkerDestroy(&g_VBoxExtGlobal.Worker); if (!SUCCEEDED(hr)) { ERR("VBoxExtWorkerDestroy failed, hr %d", hr); return hr; } #ifdef VBOX_WITH_WDDM VBoxCrHgsmiTerm(); #endif return S_OK; }
static HRESULT vboxExtTerm() { HRESULT hr = VBoxExtWorkerDestroy(&g_VBoxExtGlobal.Worker); return hr; }