en:docs:win16:api:shell:regcreatekey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:docs:win16:api:shell:regcreatekey [2023/10/14 02:38] – created prokusheven:docs:win16:api:shell:regcreatekey [2023/10/25 15:13] (current) prokushev
Line 5: Line 5:
 ===== Brief ===== ===== Brief =====
  
-===== Syntax =====+The RegCreateKey() function either creates a Registration Database key or opens the specified key if it already exists. The szSubKey parameter points to the string that specifies the name of the key to open or create. The lpResult parameter is the address of the handle of the key created or opened. The hkey parameter is the handle of the parent key which can be HKEY_CLASSES_ROOT. 0 or 1 is a same as HKEY_CLASSES_ROOT.
  
 +===== Syntax =====
  
 +LONG RegCreateKey(HKEY hkey, LPCSTR szSubKey, HKEY *lpResult);
  
 ===== Parameters ===== ===== Parameters =====