mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
parent
2c7ccf4bc9
commit
d54e50f3dc
1 changed files with 3 additions and 2 deletions
|
@ -115,17 +115,18 @@ HRESULT InitShellServices(HDPA * phdpa)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
RegCloseKey(hkey);
|
||||
|
||||
/* Initialize */
|
||||
DPA_EnumCallback(hdpa, InitializeAllCallback, &hr);
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
goto cleanup;
|
||||
|
||||
RegCloseKey(hkey);
|
||||
|
||||
*phdpa = hdpa;
|
||||
return count > 0 ? S_OK : S_FALSE;
|
||||
|
||||
cleanup:
|
||||
RegCloseKey(hkey);
|
||||
*phdpa = NULL;
|
||||
ShutdownShellServices(hdpa);
|
||||
return hr;
|
||||
|
|
Loading…
Reference in a new issue