Declare Function RegCloseKey Lib "advapi32" (ByVal hKey As Long) As Long
Declare Function RegCreateKey Lib "advapi32" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal subKey As String, newKey As Long) As Long
Declare Function RegDeleteKey Lib "advapi32" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal subKey As String) As Long
Declare Function RegDeleteValue Lib "advapi32" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal value As String) As Long
Declare Function RegEnumKey Lib "advapi32" Alias "RegEnumKeyA" (ByVal hKey As Long, ByVal subKey As Long, ByVal name As String, namsiz As Long) As Long
Declare Function RegEnumValue Lib "advapi32" Alias "RegEnumValueA" (ByVal hKey As Long, ByVal iValue As Long, ByVal lpszValueName As Long, dwValueNameSize As Long, ByVal dwReserved As Long, dwType As Long, ByVal lpbDataBuf As Long, dwDataBufSize As Long) As Long
Declare Function RegOpenKey Lib "advapi32" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal subKey As String, returnKey As Long) As Long
Declare Function RegQueryInfoKey Lib "advapi32" Alias "RegQueryInfoKeyA" (ByVal hKey As Long, ByVal lpszClassBuf As Long, dwClassBufSize As Long, ByVal dwReserved As Long, cSubKeys, cchMaxSubKey, cchMaxClass, cValues, cchMaxValueName, cbMaxValueData, cbSecurityDescriptor As Long, ByVal lpftLastWriteTime As Long) As Long
Declare Function RegQueryValue Lib "advapi32" Alias "RegQueryValueA" (ByVal hKey As Long, ByVal subKey As String, ByVal value As String, valsiz As Long) As Long
Declare Function RegQueryValueEx Lib "advapi32" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpszValueName As String, ByVal lpdwReserved As Long, dwType As Long, ByVal lpDataBuf As Long, dwDataBufSize) As Long
Declare Function RegSetValue Lib "advapi32" Alias "RegSetValueA" (ByVal hKey As Long, ByVal subKey As String, ByVal vtype As Long, ByVal value As String, ByVal valsiz As Long) As Long