Skip to content

Commit

Permalink
UsbDkHelper: RegAccess class beautifications
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Moizik <[email protected]>
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Mar 23, 2015
1 parent 82dc647 commit 44d116f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions UsbDkHelper/RegAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ BOOL UsbDkRegAccess::ReadValueName(LPTSTR lpsValueName,
return bResult;
}

BOOL UsbDkRegAccess::ReadKeyName(LPTSTR lpsKeyName,
BOOL UsbDkRegAccess::ReadKeyName(LPTSTR lpsKeyName,
DWORD dwNumberOfElements,
DWORD dwIndex,
LPCTSTR lpzSubKey)
Expand Down Expand Up @@ -501,8 +501,9 @@ BOOL UsbDkRegAccess::DeleteKey(LPCTSTR lpzKeyName, LPCTSTR lpzSubKey)
{
if (RegDeleteKey(hkDeleteKeyHandle,
lpzKeyName) == ERROR_SUCCESS)
{
bResult = TRUE;

}
RegCloseKey(hkDeleteKeyHandle);
}

Expand Down

0 comments on commit 44d116f

Please sign in to comment.