HKEY hKey, // handle of open key
LPCTSTR lpSubKey, // address of name of subkey to open
PHKEY phkResult // address of handle of open key
);
LONG RegQueryValue(
HKEY hKey, // handle of key to query
LPCTSTR lpSubKey, // address of name of subkey to query
LPTSTR lpValue, // address of buffer for returned string
PLONG lpcbValue // address of buffer for size of returned string
);
LONG RegSetValue(
HKEY hKey, // handle of key to set value for
LPCTSTR lpSubKey, // address of subkey name
DWORD dwType, // type of value
LPCTSTR lpData, // address of value data
DWORD cbData // size of value data
);
LONG RegCreateKey(
HKEY hKey, // handle of an open key
LPCTSTR lpSubKey, // address of name of subkey to open
PHKEY phkResult // address of buffer for opened handle
);