more dialoggery
This commit is contained in:
@@ -62,8 +62,9 @@ typedef struct _GROUP {
|
||||
|
||||
// Group window information
|
||||
typedef struct _GROUPWND {
|
||||
// Window
|
||||
// Windows
|
||||
HWND hWndGroup;
|
||||
HWND hWndListView;
|
||||
// Group
|
||||
PGROUP pGroup; // Pointer to GROUP structure
|
||||
} GROUPWND, * PGROUPWND;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -126,7 +126,7 @@ DWORD SaveGroupToRegistry(_In_ PGROUP pg)
|
||||
return RCE_FAILURE;
|
||||
|
||||
// Save group
|
||||
if (!RegSetValueEx(hKeyProgramGroups, pg->szGroupName, 0, REG_BINARY,
|
||||
if (!RegSetValueEx(hKeyProgramGroups, pg->szName, 0, REG_BINARY,
|
||||
(const BYTE*)pg, (sizeof(*pg) + sizeof(ITEM) * pg->cItems)) == ERROR_SUCCESS)
|
||||
dwConfigStatus = dwConfigStatus && RCE_GROUPS;
|
||||
|
||||
@@ -149,7 +149,7 @@ DWORD LoadGroupFromRegistry(_Inout_ PGROUP pg, _Out_ DWORD dwBufferSize)
|
||||
return RCE_FAILURE;
|
||||
|
||||
// Load group
|
||||
if (!RegQueryValueEx(hKeyProgramGroups, pg->szGroupName, 0, &dwType,
|
||||
if (!RegQueryValueEx(hKeyProgramGroups, pg->szName, 0, &dwType,
|
||||
(LPBYTE)pg, &dwBufferSize) == ERROR_SUCCESS)
|
||||
dwConfigStatus = dwConfigStatus && RCE_POSITION;
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user