#include "precomp.h"
-
static VOID
SetListViewColumns(HWND hwndListView)
{
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:
if (nmhdr->idFrom == IDC_USERACCOUNT_LINK && nmhdr->code == NM_CLICK)
{
- ShellExecute(hwndDlg,
- TEXT("open"),
- TEXT("rundll32.exe"),
- TEXT("shell32.dll, Control_RunDLL nusrmgr.cpl"),
- NULL,
- SW_SHOWNORMAL);
+ ShellExecuteW(hwndDlg, NULL, L"usrmgr.cpl", NULL, NULL, 0);
}
break;
}