https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eff73544ec3a67b90b683…
commit eff73544ec3a67b90b683a7bfe35d58db965a7a9
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Dec 23 14:05:07 2017 +0100
[SYSDM] Rename some functions. #179
---
dll/cpl/sysdm/environment.c | 10 +++++-----
dll/cpl/sysdm/hardprof.c | 6 +++---
dll/cpl/sysdm/userprofile.c | 4 ++--
dll/cpl/sysdm/virtmem.c | 8 ++++----
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dll/cpl/sysdm/environment.c b/dll/cpl/sysdm/environment.c
index 9d80c8f26b..e6d9fe39ae 100644
--- a/dll/cpl/sysdm/environment.c
+++ b/dll/cpl/sysdm/environment.c
@@ -270,7 +270,7 @@ GetEnvironmentVariables(HWND hwndListView,
static VOID
-SetListViewColumns(HWND hwndListView)
+SetEnvironmentDialogListViewColumns(HWND hwndListView)
{
RECT rect;
LV_COLUMN column;
@@ -296,7 +296,7 @@ SetListViewColumns(HWND hwndListView)
static VOID
-OnInitDialog(HWND hwndDlg)
+OnInitEnvironmentDialog(HWND hwndDlg)
{
HWND hwndListView;
@@ -305,7 +305,7 @@ OnInitDialog(HWND hwndDlg)
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
- SetListViewColumns(hwndListView);
+ SetEnvironmentDialogListViewColumns(hwndListView);
GetEnvironmentVariables(hwndListView,
HKEY_CURRENT_USER,
@@ -324,7 +324,7 @@ OnInitDialog(HWND hwndDlg)
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
- SetListViewColumns(hwndListView);
+ SetEnvironmentDialogListViewColumns(hwndListView);
GetEnvironmentVariables(hwndListView,
HKEY_LOCAL_MACHINE,
@@ -690,7 +690,7 @@ EnvironmentDlgProc(HWND hwndDlg,
switch (uMsg)
{
case WM_INITDIALOG:
- OnInitDialog(hwndDlg);
+ OnInitEnvironmentDialog(hwndDlg);
break;
case WM_COMMAND:
diff --git a/dll/cpl/sysdm/hardprof.c b/dll/cpl/sysdm/hardprof.c
index 7d8c6335f1..328e320b2c 100644
--- a/dll/cpl/sysdm/hardprof.c
+++ b/dll/cpl/sysdm/hardprof.c
@@ -659,11 +659,11 @@ GetProfiles(HWND hwndDlg)
static
BOOL
-OnInitDialog(HWND hwndDlg)
+OnInitHardProfDialog(HWND hwndDlg)
{
DWORD dwWaitInterval;
- DPRINT("OnInitDialog()\n");
+ DPRINT("OnInitHardProfDialog()\n");
SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFUP),
BM_SETIMAGE,(WPARAM)IMAGE_ICON,
@@ -732,7 +732,7 @@ HardProfDlgProc(HWND hwndDlg,
switch (uMsg)
{
case WM_INITDIALOG:
- return OnInitDialog(hwndDlg);
+ return OnInitHardProfDialog(hwndDlg);
case WM_DESTROY:
if (pProfileData != NULL)
diff --git a/dll/cpl/sysdm/userprofile.c b/dll/cpl/sysdm/userprofile.c
index dce308f4e4..d0608389dd 100644
--- a/dll/cpl/sysdm/userprofile.c
+++ b/dll/cpl/sysdm/userprofile.c
@@ -111,7 +111,7 @@ AddUserProfiles(HWND hwndListView)
static VOID
-OnInitDialog(HWND hwndDlg)
+OnInitUserProfileDialog(HWND hwndDlg)
{
/* Initialize the list view control */
SetListViewColumns(GetDlgItem(hwndDlg, IDC_USERPROFILE_LIST));
@@ -137,7 +137,7 @@ UserProfileDlgProc(HWND hwndDlg,
switch (uMsg)
{
case WM_INITDIALOG:
- OnInitDialog(hwndDlg);
+ OnInitUserProfileDialog(hwndDlg);
break;
case WM_COMMAND:
diff --git a/dll/cpl/sysdm/virtmem.c b/dll/cpl/sysdm/virtmem.c
index 2e6117475d..e80b33ce98 100644
--- a/dll/cpl/sysdm/virtmem.c
+++ b/dll/cpl/sysdm/virtmem.c
@@ -597,7 +597,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
static VOID
-OnOk(PVIRTMEM pVirtMem)
+OnVirtMemDialogOk(PVIRTMEM pVirtMem)
{
if (pVirtMem->bModified != FALSE)
{
@@ -613,7 +613,7 @@ OnOk(PVIRTMEM pVirtMem)
static VOID
-OnInitDialog(HWND hwnd, PVIRTMEM pVirtMem)
+OnInitVirtMemDialog(HWND hwnd, PVIRTMEM pVirtMem)
{
INT i;
@@ -684,7 +684,7 @@ VirtMemDlgProc(HWND hwndDlg,
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pVirtMem);
- OnInitDialog(hwndDlg, pVirtMem);
+ OnInitVirtMemDialog(hwndDlg, pVirtMem);
break;
case WM_DESTROY:
@@ -699,7 +699,7 @@ VirtMemDlgProc(HWND hwndDlg,
return TRUE;
case IDOK:
- OnOk(pVirtMem);
+ OnVirtMemDialogOk(pVirtMem);
EndDialog(hwndDlg, pVirtMem->bModified);
return TRUE;