_RegCloseKey
DWORD _RegCloseKey(HKEY hKey)
Closes a previously opened key.
Returns ERROR_SUCCESS if successful; otherwise, ERROR_BADKEY, ERROR_KEY_DELETED, or other errors indicating the given
hKey
is invalid.
hKey
Handle of a previously opened key.