update group format variable names

This commit is contained in:
freedom7341
2023-09-27 13:58:44 -06:00
parent 58e6635bae
commit cbb7373cc1
4 changed files with 15 additions and 14 deletions

View File

@@ -127,8 +127,9 @@ DWORD SaveGroupToRegistry(_In_ PGROUP pg)
return RCE_FAILURE;
// Save group
// TODO: save items properly
if (!RegSetValueEx(hKeyProgramGroups, pg->szName, 0, REG_BINARY,
(const BYTE*)pg, (sizeof(*pg) + sizeof(ITEM) * pg->cItems)) == ERROR_SUCCESS)
(const BYTE*)pg, (sizeof(*pg) + sizeof(ITEM) * pg->cItemArray)) == ERROR_SUCCESS)
dwConfigStatus = dwConfigStatus && RCE_GROUPS;
return dwConfigStatus;