Standart Wert?
-
Ich will in einem Schlüssel dem Standard Wert einen Wert zufügen,dies versuche ich so:
RegCreateKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\Test",&hKey); RegSetValueEx(hKey,"(Standard)",0,REG_SZ,"Hallo",strlen("Hallo")+1); RegCloseKey(hKey);Jetzt wird aber nochma en Wert erstellt der auch Standard heißt wie kann ich also dem Standard Wert einen Wert hinzufügen?
-
Steht doch in der Doku?
MSDN schrieb:
If lpValueName is NULL or an empty string, "", the function sets the type and data for the key's unnamed or default value.