static VOID
-SetListViewColumns(HWND hwndListView)
+SetEnvironmentDialogListViewColumns(HWND hwndListView)
{
RECT rect;
LV_COLUMN column;
static VOID
-OnInitDialog(HWND hwndDlg)
+OnInitEnvironmentDialog(HWND hwndDlg)
{
HWND hwndListView;
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
- SetListViewColumns(hwndListView);
+ SetEnvironmentDialogListViewColumns(hwndListView);
GetEnvironmentVariables(hwndListView,
HKEY_CURRENT_USER,
(void)ListView_SetExtendedListViewStyle(hwndListView, LVS_EX_FULLROWSELECT);
- SetListViewColumns(hwndListView);
+ SetEnvironmentDialogListViewColumns(hwndListView);
GetEnvironmentVariables(hwndListView,
HKEY_LOCAL_MACHINE,
switch (uMsg)
{
case WM_INITDIALOG:
- OnInitDialog(hwndDlg);
+ OnInitEnvironmentDialog(hwndDlg);
break;
case WM_COMMAND:
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,
switch (uMsg)
{
case WM_INITDIALOG:
- return OnInitDialog(hwndDlg);
+ return OnInitHardProfDialog(hwndDlg);
case WM_DESTROY:
if (pProfileData != NULL)
static VOID
-OnInitDialog(HWND hwndDlg)
+OnInitUserProfileDialog(HWND hwndDlg)
{
/* Initialize the list view control */
SetListViewColumns(GetDlgItem(hwndDlg, IDC_USERPROFILE_LIST));
switch (uMsg)
{
case WM_INITDIALOG:
- OnInitDialog(hwndDlg);
+ OnInitUserProfileDialog(hwndDlg);
break;
case WM_COMMAND:
static VOID
-OnOk(PVIRTMEM pVirtMem)
+OnVirtMemDialogOk(PVIRTMEM pVirtMem)
{
if (pVirtMem->bModified != FALSE)
{
static VOID
-OnInitDialog(HWND hwnd, PVIRTMEM pVirtMem)
+OnInitVirtMemDialog(HWND hwnd, PVIRTMEM pVirtMem)
{
INT i;
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pVirtMem);
- OnInitDialog(hwndDlg, pVirtMem);
+ OnInitVirtMemDialog(hwndDlg, pVirtMem);
break;
case WM_DESTROY:
return TRUE;
case IDOK:
- OnOk(pVirtMem);
+ OnVirtMemDialogOk(pVirtMem);
EndDialog(hwndDlg, pVirtMem->bModified);
return TRUE;