Returns the value of the registry if successful, void if unsuccessful.
説明
Reads the Windows registry specified by key.
Registry keys can begin with the following root key names: HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_PERFORMANCE_DATA
HKEY_DYN_DATA For example, the following string can be specified as key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\hoeg\installdir
Only numbers and single strings can be read. A numeric value returns an integer type, and a character string returns a string type result.