include vmm.h LONG _RegCloseKey(HKEY hkey)
Closes a previously opened key. See the documentation for the Win32 function of the same name for additional information.
ERROR_BADKEY | |
ERROR_REGISTRY_CORRUPT |
hkey
Handle of the key to close.
The handle for the given key should not be used after it has been closed, because it will no longer be valid. Key handles should not be left open any longer than necessary.
See also _RegOpenKey