_RegOpenKey


DWORD _RegOpenKey(HKEY hKey, LPSTR lpszSubKey, LPHKEY lphKey)

Opens the registry key for the given registry path.

hKey

Handle of a previously opened key or one of the predefined root keys given in Predefined Keys.

lpszSubKey

Address of a null-terminated string specifying the subkey to be open. May also be NULL or NULL-string.

lphKey

Address of the variable that receives the handle of the opened key.