Bisher hab ich Jetzt
HKEY hRefSoft;
HKEY hRefSoftMicro;
HKEY hRefSoftMicroWin;
HKEY hRefSoftMicroWinCV;
HKEY hRefSoftMicroWinCVEx;
HKEY hRefSoftMicroWinCVExShell;
LONG errorCODE;
errorCODE = RegOpenKeyEx(HKEY\_CURRENT\_USER, "Software",0, KEY\_SET\_VALUE, &hRefSoft);
errorCODE = RegOpenKeyEx(hRefSoft, "Microsoft",0, KEY\_SET\_VALUE, &hRefSoftMicro);
errorCODE = RegOpenKeyEx(hRefSoftMicro, "Windows",0, KEY\_SET\_VALUE, &hRefSoftMicroWin);
errorCODE = RegOpenKeyEx(hRefSoftMicroWin, "CurrentVersion",0, KEY\_SET\_VALUE, &hRefSoftMicroWinCV);
errorCODE = RegOpenKeyEx(hRefSoftMicroWinCV, "Explorer",0, KEY\_SET\_VALUE, &hRefSoftMicroWinCVEx);
errorCODE = RegOpenKeyEx(hRefSoftMicroWinCVEx, "Shell Folders",0, KEY\_SET\_VALUE, &hRefSoftMicroWinCVExShell);
LPDWORD lpType=NULL;
LPBYTE lpData=NULL;
LPDWORD lpcbData=NULL;
errorCODE = RegQueryValueEx(hRefSoftMicroWinCVExShell,"Personal",NULL,lpType,lpData,lpcbData);
// AUSGABE , aber WIE ???
//
RegCloseKey(hRefSoftMicroWinCVExShell);
RegCloseKey(hRefSoftMicroWinCVEx);
RegCloseKey(hRefSoftMicroWinCV);
RegCloseKey(hRefSoftMicroWin);
RegCloseKey(hRefSoftMicro);
RegCloseKey(hRefSoft);
Wie lese ich nun Mein Wert da aus ??
[Bei dieser Antwort wurde das Vollzitat nachträglich automatisiert entfernt]