LDR_RegOpenKey
DWORD LDR_RegOpenKey(HKEY hKey, LPSTR lpszSubKey, LPHKEY lphKey)
Open the registry key for the given registry path.
- Returns ERROR_SUCCESS if successful; otherwise, one of the error values given in Error Values.
- 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.