This function retrieves the specified information from the registry.

[C++Builder/Visual C++] BOOL PK3NETGetRegistryValue(long lRegKey, LPCSTR lpszSubKey, LPCSTR lpszName, LPTSTR lpszOut);
[Delphi] function PK3NETGetRegistryValue(lRegKey: Longint; lpszSubKey, lpszName, lpszOut: PAnsiChar): LongBool;
[Visual Basic] Function PK3NETGetRegistryValue(ByVal lRegKey As Long, ByVal lpszSubKey As String, ByVal lpszName As String, ByVal lpszOut As String) As Long

Parameters

Name Explanation
lRegKey 0: HKEY_CLASSES_ROOT
1: HKEY_LOCAL_MACHINE
2: HKEY_CURRENT_USER
lpszSubKey The registry subkey
lpszName The registry item name
lpszOut The data referred to by lpszName

Return Value

Returns the True (nonzero) if successful, otherwise returns False (0).

Explanation

The PK3NETGetRegistryValue function retrieves the specified information from the registry.