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