mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[REGEDIT]
Fix syntax svn path=/branches/cmake-bringup/; revision=49707
This commit is contained in:
parent
c9032b29c8
commit
b473508960
1 changed files with 3 additions and 1 deletions
|
@ -360,12 +360,14 @@ static BOOL UnloadHive(HWND hWnd)
|
|||
TCHAR Caption[128];
|
||||
LPCTSTR pszKeyPath;
|
||||
HKEY hRootKey;
|
||||
LONG regUnloadResult;
|
||||
|
||||
/* get the item key to unload */
|
||||
pszKeyPath = GetItemPath(g_pChildWnd->hTreeWnd, 0, &hRootKey);
|
||||
/* load and set the caption and flags for dialog */
|
||||
LoadString(hInst, IDS_UNLOAD_HIVE, Caption, COUNT_OF(Caption));
|
||||
/* now unload the hive */
|
||||
LONG regUnloadResult = RegUnLoadKey(hRootKey, pszKeyPath);
|
||||
regUnloadResult = RegUnLoadKey(hRootKey, pszKeyPath);
|
||||
if(regUnloadResult == ERROR_SUCCESS)
|
||||
{
|
||||
/* refresh tree and list views */
|
||||
|
|
Loading…
Reference in a new issue