Answer the question
In order to leave comments, you need to log in
How to create a key in the registry using C++?
LONG openRes = RegOpenKeyA(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\Directory\\background\\shell", &hKey);
LONG openResa = RegCreateKeyExA(hKey, "Qa", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS,
NULL, &hKey, NULL);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question