DWORD LDR_RegOpenKey(HKEY hKey, LPSTR lpszSubKey, LPHKEY lphKey)
Open the registry key for the given registry path.
hKey
Handle of a previously opened key or is the HKEY_LOCAL_MACHINE key.
lpszSubKey
Address of a null-terminated string specifying the subkey to open. May be NULL or point a Null-string.
lphKey
Address of a variable that receives the handle to the open key.