mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[SYSDM] Rename some functions. #179
This commit is contained in:
parent
d9a18277b8
commit
eff73544ec
4 changed files with 14 additions and 14 deletions
|
@ -270,7 +270,7 @@ GetEnvironmentVariables(HWND hwndListView,
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
SetListViewColumns(HWND hwndListView)
|
SetEnvironmentDialogListViewColumns(HWND hwndListView)
|
||||||
{
|
{
|
||||||
RECT rect;
|
RECT rect;
|
||||||
LV_COLUMN column;
|
LV_COLUMN column;
|
||||||
|
@ -296,7 +296,7 @@ SetListViewColumns(HWND hwndListView)
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
OnInitDialog(HWND hwndDlg)
|
OnInitEnvironmentDialog(HWND hwndDlg)
|
||||||
{
|
{
|
||||||
HWND hwndListView;
|
HWND hwndListView;
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ OnInitDialog(HWND hwndDlg)
|
||||||
|
|
||||||
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
|
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
|
||||||
|
|
||||||
SetListViewColumns(hwndListView);
|
SetEnvironmentDialogListViewColumns(hwndListView);
|
||||||
|
|
||||||
GetEnvironmentVariables(hwndListView,
|
GetEnvironmentVariables(hwndListView,
|
||||||
HKEY_CURRENT_USER,
|
HKEY_CURRENT_USER,
|
||||||
|
@ -324,7 +324,7 @@ OnInitDialog(HWND hwndDlg)
|
||||||
|
|
||||||
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
|
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
|
||||||
|
|
||||||
SetListViewColumns(hwndListView);
|
SetEnvironmentDialogListViewColumns(hwndListView);
|
||||||
|
|
||||||
GetEnvironmentVariables(hwndListView,
|
GetEnvironmentVariables(hwndListView,
|
||||||
HKEY_LOCAL_MACHINE,
|
HKEY_LOCAL_MACHINE,
|
||||||
|
@ -690,7 +690,7 @@ EnvironmentDlgProc(HWND hwndDlg,
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
OnInitDialog(hwndDlg);
|
OnInitEnvironmentDialog(hwndDlg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
|
|
@ -659,11 +659,11 @@ GetProfiles(HWND hwndDlg)
|
||||||
|
|
||||||
static
|
static
|
||||||
BOOL
|
BOOL
|
||||||
OnInitDialog(HWND hwndDlg)
|
OnInitHardProfDialog(HWND hwndDlg)
|
||||||
{
|
{
|
||||||
DWORD dwWaitInterval;
|
DWORD dwWaitInterval;
|
||||||
|
|
||||||
DPRINT("OnInitDialog()\n");
|
DPRINT("OnInitHardProfDialog()\n");
|
||||||
|
|
||||||
SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFUP),
|
SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFUP),
|
||||||
BM_SETIMAGE,(WPARAM)IMAGE_ICON,
|
BM_SETIMAGE,(WPARAM)IMAGE_ICON,
|
||||||
|
@ -732,7 +732,7 @@ HardProfDlgProc(HWND hwndDlg,
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
return OnInitDialog(hwndDlg);
|
return OnInitHardProfDialog(hwndDlg);
|
||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
if (pProfileData != NULL)
|
if (pProfileData != NULL)
|
||||||
|
|
|
@ -111,7 +111,7 @@ AddUserProfiles(HWND hwndListView)
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
OnInitDialog(HWND hwndDlg)
|
OnInitUserProfileDialog(HWND hwndDlg)
|
||||||
{
|
{
|
||||||
/* Initialize the list view control */
|
/* Initialize the list view control */
|
||||||
SetListViewColumns(GetDlgItem(hwndDlg, IDC_USERPROFILE_LIST));
|
SetListViewColumns(GetDlgItem(hwndDlg, IDC_USERPROFILE_LIST));
|
||||||
|
@ -137,7 +137,7 @@ UserProfileDlgProc(HWND hwndDlg,
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
OnInitDialog(hwndDlg);
|
OnInitUserProfileDialog(hwndDlg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
|
|
@ -597,7 +597,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
OnOk(PVIRTMEM pVirtMem)
|
OnVirtMemDialogOk(PVIRTMEM pVirtMem)
|
||||||
{
|
{
|
||||||
if (pVirtMem->bModified != FALSE)
|
if (pVirtMem->bModified != FALSE)
|
||||||
{
|
{
|
||||||
|
@ -613,7 +613,7 @@ OnOk(PVIRTMEM pVirtMem)
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
OnInitDialog(HWND hwnd, PVIRTMEM pVirtMem)
|
OnInitVirtMemDialog(HWND hwnd, PVIRTMEM pVirtMem)
|
||||||
{
|
{
|
||||||
INT i;
|
INT i;
|
||||||
|
|
||||||
|
@ -684,7 +684,7 @@ VirtMemDlgProc(HWND hwndDlg,
|
||||||
|
|
||||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pVirtMem);
|
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pVirtMem);
|
||||||
|
|
||||||
OnInitDialog(hwndDlg, pVirtMem);
|
OnInitVirtMemDialog(hwndDlg, pVirtMem);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
|
@ -699,7 +699,7 @@ VirtMemDlgProc(HWND hwndDlg,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case IDOK:
|
case IDOK:
|
||||||
OnOk(pVirtMem);
|
OnVirtMemDialogOk(pVirtMem);
|
||||||
EndDialog(hwndDlg, pVirtMem->bModified);
|
EndDialog(hwndDlg, pVirtMem->bModified);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue