RETERR NdiRegCloseKey(hkey) HKEY hkey; // registry key
The NdiRegCloseKey function closes a key opened with NdiRegOpenKey.