RegCloseKey function advapi32

WIN32_ERROR RegCloseKey(
  1. HKEY hKey
)

Closes a handle to the specified registry key.

To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regclosekey.

Implementation

@pragma('vm:prefer-inline')
WIN32_ERROR RegCloseKey(HKEY hKey) => .new(_RegCloseKey(hKey));