Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 163 of file hardprof.c.
Referenced by GetProfiles().
{ HKEY hProfileKey; DWORD dwSize; LONG lError; lError = RegOpenKeyExW(hKey, lpName, 0, KEY_READ, &hProfileKey); if (lError != ERROR_SUCCESS) return; dwSize = 256 * sizeof(WCHAR); lError = RegQueryValueExW(hProfileKey, L"FriendlyName", NULL, NULL, (LPBYTE)pProfile->szFriendlyName, &dwSize); if (lError == ERROR_SUCCESS) { DPRINT1("Profile: %S\n", pProfile->szFriendlyName); SendDlgItemMessageW(hwndDlg, IDC_HRDPROFLSTBOX, LB_ADDSTRING, 0, (LPARAM)pProfile->szFriendlyName); } RegCloseKey(hProfileKey); }