mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[SYSDM] Rename some functions. #179
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user